I’d like to show a google map in my appwidget, but don’t know how to do this. Is there anyone that knows how one can proceed with this?
Do I have to convert a view to a bitmap or does anyone have a better solution?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you’re talking about a live Google map, you cannot. In http://developer.android.com/guide/topics/appwidgets/index.html#CreatingLayout you can find the list of supported views in appwidgets. MapView is not there unfortunately. If your map can be just an static image, you could convert it to a bitmap and include it in an ImageView.