Unable to pass string value to my html google map
From this link http://code.google.com/intl/en/apis/maps/articles/android_v3.html#why
i have used JavaScriptInterface .In the above link the getLatitude() and getLongitude() functions are returning double value to the map but using the same concept when i try to r开发者_运维问答eturn a string value to my own map that takes string value to achieve some task, i am unable to receive string value there..
this is so weird bcz i just want to pass string value instead of double, but this is not working... her is my complete code JavaScriptInterface() is not working in android any suggestions would be very much appreciated...
thanks,
Can't you just convert the string to a double and then pass it.
String aString = "Blah";
Double aDouble = Double.parseDouble(aString);
I found the answer, actually i have converted ascii to string....
精彩评论