{"id":598,"date":"2010-05-22T13:09:35","date_gmt":"2010-05-22T12:09:35","guid":{"rendered":"http:\/\/www.lightsoft.se\/?p=598"},"modified":"2010-05-22T13:09:35","modified_gmt":"2010-05-22T12:09:35","slug":"android-unbound-prefix-problem","status":"publish","type":"post","link":"https:\/\/www.lightsoftai.com\/?p=598","title":{"rendered":"Android Unbound Prefix problem"},"content":{"rendered":"<p>When getting the error of &#8220;Unbound Prefix&#8221; in Eclipse when developing Android MapView as shown below in the picture. A solution is to add the namespace for the component.<\/p>\n<p>This error mostly appear when following the Google tutorial like <a href=\"http:\/\/developer.android.com\/resources\/tutorials\/views\/hello-webview.html\">this one<\/a>.<\/p>\n<p><a href=\"http:\/\/www.lightsoft.se\/_lightsoft\/wp-content\/uploads\/2010\/05\/unbound-prefix.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.lightsoft.se\/_lightsoft\/wp-content\/uploads\/2010\/05\/unbound-prefix.jpg\" alt=\"\" title=\"unbound prefix\" width=\"354\" height=\"135\" class=\"alignnone size-full wp-image-599\" srcset=\"https:\/\/www.lightsoftai.com\/_lightsoft\/wp-content\/uploads\/2010\/05\/unbound-prefix.jpg 354w, https:\/\/www.lightsoftai.com\/_lightsoft\/wp-content\/uploads\/2010\/05\/unbound-prefix-300x114.jpg 300w\" sizes=\"auto, (max-width: 354px) 100vw, 354px\" \/><\/a><\/p>\n<p>Add the namespace <strong><em>xmlns:android=&#8221;http:\/\/schemas.android.com\/apk\/res\/android&#8221;<\/em><\/strong> like example below and it will most highly disappear.<\/p>\n<p>[sourcecode language=&#8221;java&#8221;]<br \/>\n<?xml version=\"1.0\" encoding=\"utf-8\"?><br \/>\n<WebView xmlns:android=\"http:\/\/schemas.android.com\/apk\/res\/android\"\n    android:id=\"@+id\/webview\"\n    android:layout_width=\"fill_parent\"\n    android:layout_height=\"fill_parent\"\n\/><br \/>\n[\/sourcecode]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When getting the error of &#8220;Unbound Prefix&#8221; in Eclipse when developing Android MapView as shown below in the picture. A solution is to add the namespace for the component. This error mostly appear when following the Google tutorial like this one. Add the namespace xmlns:android=&#8221;http:\/\/schemas.android.com\/apk\/res\/android&#8221; like example below and it will most highly disappear. [sourcecode [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[75,45,36],"class_list":["post-598","post","type-post","status-publish","format-standard","hentry","category-coding","tag-android","tag-development","tag-tips"],"_links":{"self":[{"href":"https:\/\/www.lightsoftai.com\/index.php?rest_route=\/wp\/v2\/posts\/598","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.lightsoftai.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.lightsoftai.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.lightsoftai.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lightsoftai.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=598"}],"version-history":[{"count":8,"href":"https:\/\/www.lightsoftai.com\/index.php?rest_route=\/wp\/v2\/posts\/598\/revisions"}],"predecessor-version":[{"id":607,"href":"https:\/\/www.lightsoftai.com\/index.php?rest_route=\/wp\/v2\/posts\/598\/revisions\/607"}],"wp:attachment":[{"href":"https:\/\/www.lightsoftai.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=598"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lightsoftai.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=598"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lightsoftai.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=598"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}