Posted by: admin
First step is to add the Bing Maps to your app. To sum up the stepsYou just have to download and add it to your solution then reference it from your default.html.
Here is an Android example of how to share variables through out your activities and your project. There is many ways including preferences, extending from a base activity or using a database to share variables. I like this one because it can be accessed through the whole project and it is easy to implement. The down side is that the variables are only available through a session. For example if the user restarts the application then all the variable will also be cleared. So they can be viewed as session variables.
Here is a simple example of using the Thread Class for a Multithreading application . Shows how to use the Progress Dialog, Handler, and running on the UI Thread. Also how to handle the Looper.prepare() error (“java.lang.RuntimeException: Can’t create handler inside thread that has not called Looper.prepare()”). If you are getting this error then you are trying to do work that should be done on the UI/Main thread. I have example in the code to handle this.