{"id":1724,"date":"2012-02-02T08:55:08","date_gmt":"2012-02-01T23:55:08","guid":{"rendered":"http:\/\/www.nkozawa.com\/blog\/?p=1724"},"modified":"2012-02-02T08:55:08","modified_gmt":"2012-02-01T23:55:08","slug":"nokia-3030-asha-303-midp%e7%92%b0%e5%a2%83%e3%81%ae%e3%83%90%e3%82%b0","status":"publish","type":"post","link":"https:\/\/www.nkozawa.com\/blog\/archives\/1724","title":{"rendered":"Nokia 3030 (Asha 303) MIDP\u74b0\u5883\u306e\u30d0\u30b0"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-1725\" style=\"margin-left: 4px; margin-right: 4px;\" title=\"MIDPBUG\" src=\"http:\/\/www.nkozawa.com\/blog\/wp-content\/uploads\/MIDPBUG.jpg\" alt=\"\" width=\"300\" height=\"225\" \/>KKJConv\u3067\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3059\u308b\u3068\u3044\u3046\u3053\u3068\u3067\u8abf\u3079\u3066\u307f\u305f\u3068\u3053\u308d\u3001\u3069\u3046\u3082MIDP\u5b9f\u884c\u74b0\u5883\u5074\u306e\u554f\u984c\u306e\u3088\u3046\u3067\u3059\u3002<\/p>\n<p>\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3059\u308b\u306e\u306f\u6b21\u306e\u3088\u3046\u306a\u30b3\u30fc\u30c9\u3067\u3059\u3002<\/p>\n<pre>TextBox tb;\r\ntb.delete(0, tb.size());<\/pre>\n<p>\u3053\u306e\u30b3\u30fc\u30c9\u306fTextBox\u306e\u6587\u5b57\u5217\u3092\u524a\u9664\u3059\u308b\u305f\u3081\u306e\u3082\u306e\u3067\u3059\u304c\u3001TextBox\u304c\u7a7a\u306e\u6642\u306b\u5de6\u306e\u5199\u771f\u306e\u3088\u3046\u306bString Index Out Of Bounds\u3068\u3044\u3046\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3059\u3002<\/p>\n<p>delete\u30e1\u30bd\u30c3\u30c9\u306e\u7b2c\u4e00\u30d1\u30e9\u30e1\u30fc\u30bf\u306f\u30aa\u30d5\u30bb\u30c3\u30c8\u3001\u7b2c\u4e8c\u30d1\u30e9\u30e1\u30fc\u30bf\u306f\u524a\u9664\u3059\u308b\u6587\u5b57\u5217\u306e\u9577\u3055\u3067\u3059\u3002<\/p>\n<p>tb.size() \u304c 0 \u306e\u6642\u306e\u554f\u984c\u306a\u306e\u3067 tb.delete(0, 0); \u306e\u3088\u3046\u306b\u3057\u3066\u30c6\u30b9\u30c8\u3059\u308b\u3068\u6587\u5b57\u5217\u304c\u5b58\u5728\u3059\u308b\u6642\u306b\u306f\u30a8\u30e9\u30fc\u306f\u767a\u751f\u3057\u307e\u305b\u3093\u3002\u8a00\u3044\u63db\u3048\u308b\u3068TextBox\u306b\u6587\u5b57\u5217\u304c\u5b58\u5728\u3057\u306a\u3044\u6642\u306bdelete\u3092\u547c\u3076\u3068\u30a8\u30e9\u30fc\u3059\u308b\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002\u4e00\u5fdc\u3001\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u78ba\u8a8d\u3057\u307e\u3057\u305f\u304c\u547c\u3073\u65b9\u306b\u306f\u554f\u984c\u304c\u7121\u3044\u3088\u3046\u306b\u601d\u3048\u307e\u3059\u3002\u307e\u3057\u3066\u3084KKJConv\u306e\u521d\u671f\u304b\u3089\u5b58\u5728\u3059\u308b\u30b3\u30fc\u30c9\u306a\u306e\u3067\u5b9f\u7e3e\u3082\u304a\u304a\u3044\u306b\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u56de\u907f\u7b56\u306f\u7c21\u5358\u306a\u306e\u3067\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30b3\u30fc\u30c9\u306b\u5909\u66f4\u3057\u3066KKJConv\u306e\u30a8\u30e9\u30fc\u306f\u56de\u907f\u51fa\u6765\u307e\u3057\u305f\u3002<\/p>\n<pre>if (0 &lt; tb.size()) {\r\n  tb.delete(0, tb.size());\r\n}<\/pre>\n<p>Nokia\u306b\u30d0\u30b0\u3067\u306f\u306a\u3044\u306e?\u3068\u6295\u3052\u304b\u3051\u3088\u3046\u3068\u601d\u3044\u307e\u3057\u305f\u304c\u3001\u4ee5\u524dForum Nokia\u306b\u3042\u3063\u305f\u30d0\u30b0\u30ec\u30dd\u30fc\u30c8\u306e\u30b7\u30b9\u30c6\u30e0\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3002\u3082\u3046\u4e00\u822c\u958b\u767a\u8005\u304b\u3089\u306e\u30d0\u30b0\u30ec\u30dd\u30fc\u30c8\u306f\u53d7\u3051\u4ed8\u3051\u3066\u306a\u3044\u306e\u304b\u306a?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>KKJConv\u3067\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3059\u308b\u3068\u3044\u3046\u3053\u3068\u3067\u8abf\u3079\u3066\u307f\u305f\u3068\u3053\u308d\u3001\u3069\u3046\u3082MIDP\u5b9f\u884c\u74b0\u5883\u5074\u306e\u554f\u984c\u306e\u3088\u3046\u3067\u3059\u3002 \u30a8\u30e9\u30fc\u304c\u767a\u751f\u3059\u308b\u306e\u306f\u6b21\u306e\u3088\u3046\u306a\u30b3\u30fc\u30c9\u3067\u3059\u3002 TextBox tb; tb.delete(0, tb.size()) [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[17,27],"tags":[],"class_list":["post-1724","post","type-post","status-publish","format-standard","hentry","category-nokia","category-programing"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.nkozawa.com\/blog\/wp-json\/wp\/v2\/posts\/1724","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.nkozawa.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.nkozawa.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.nkozawa.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.nkozawa.com\/blog\/wp-json\/wp\/v2\/comments?post=1724"}],"version-history":[{"count":10,"href":"https:\/\/www.nkozawa.com\/blog\/wp-json\/wp\/v2\/posts\/1724\/revisions"}],"predecessor-version":[{"id":1737,"href":"https:\/\/www.nkozawa.com\/blog\/wp-json\/wp\/v2\/posts\/1724\/revisions\/1737"}],"wp:attachment":[{"href":"https:\/\/www.nkozawa.com\/blog\/wp-json\/wp\/v2\/media?parent=1724"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.nkozawa.com\/blog\/wp-json\/wp\/v2\/categories?post=1724"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.nkozawa.com\/blog\/wp-json\/wp\/v2\/tags?post=1724"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}