vb.net, Blackberry, and x,y GPS Coordinates
来源:http://www.imcoder.org/mobile/210565.htm
I have an application that works fine on the blackberry browser. It is written in ASP.NET (vb.net) utilizing the Mobile Controls. My client now wants to capture the x,y coordinates from the blackberry (7520/8800 Series) phone. How can I integrate the Java calls into my windows mobile web application. We have researched the Java Classes but getting them to work in the mobile controls environment is proving very difficult.
Essentially, the user brings up the browser
The user clicks a button - Display x,y coordinates in two text boxes one for X and One for YThe user drives a road segment Clicks an ending button - Display x,y coordinates in two different text boxes one for X and One for YUser then clicks submit link to javascript http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/796557/800878/852943/What_Is_-_JavaScript_methods_to_use_location-based_services_(GPS).html?nodeid=1072780&vernum=0&CPID=EMC-DM2007M-74Zachary B. Wheeler
Hi,
According to this link, those Blackberry Series support JavaScript methods to use location-based services in their browsers.
Since you are using ASP.NET Mobile Web Forms to render web pages for BlackBerry browsers. You can make your ASP.NET Mobile Web Forms to render Javascript for GPS as well. Hope the examples in this thread help: