|
|
1. Are there any default layouts that you are using for Swing that are specially designed? Thanks again guys. :-) |
|
|
5. Any support for on-screen keyboards. |
|
|
1. Not being a Swing developer I run a high risk of not making sense on this. The BUG runs phoneME Advanced Personal Basis that includes AWT but not Swing. So I’d imagine no Swing layouts are available. |
|
|
I asked about this in the Hardware section, so if you reply can you put it over there too? |
|
|
Hi digital1, This post has some information: The GPS module outputs NMEA 0813 v2.2 data. Since the Virtual BUG is not the actual device, we provided a way for the virtual bug to read a GPS log file specified in the Virtual BUG Launch configuration in the SDK. If you need help with this let me know. We will evolve the IPositionProvider service as times goes on, but for now, you can retrieve lat/lon from it. If there is other information that you want from NMEA 0813 v2.2 that IPositionProvider does not provide, let us know. Here are some simple apps that use the GPS service. http://www.buglabs.net/application/list?tag=gps Download them into the SDK. They are fairly small and hopefully the are easy to understand. For example, take a look at GoogleTiles. The GoogleTilesServiceTracker::doStart() method creates a GoogleTilesApp class passing in the IPositionProvider service in the constructor. If you look at GooogleTilesApp::buttonEvent(ButtonEvent event) method, you can see: LatLon latLong = position.getLattidueLongitude(); //GoogleTilesApp.java Line 85 LatLon is a simple class which stores longitude and latitude as double parameters. Let me know if you have questions. Regards, |
|
|
Thanks Angel, I will be reading that information later to help me get started. I will be adding GPS to an application I started a few months ago in college. I will let you know as time goes on if I need help. Is it ok to PM you if I need help with specific questions? Or should I just keep them on the forums? or both? Thanks again! OH my dad’s name is Angel too! Crazy! |
|
|
Angel, If I could make a quick suggestion for the GPS module’s API, it’d be to expose the timestamp information of the most recent GPS tick. I’ve already written code to determine heading from recent GPS updates, but without timestamps it’s impossible to compute speed or acceleration information. I’m fairly certain that this is part of the NMEA standard? |
|
|
Koolatron, Absolutely. Could you add this as an Enhancement under bugzilla: http://bugcommunity.com/bugzilla . Thanks, |