Posts tagged client

NEED – MOBILE ANDROID Developer – Jacksonville, FL

Reply to Sureshk@BeyondTekIT.com

MOBILE ANDROID Developer – Jacksonville, FL

Use Google Maps on BlackBerry / Use Mobile GMaps / Use GMapViewer / Navigate the Map / Add a Map Pin /

Although Google provides access to maps for handhelds through Google Local, this handy program works very similarly to the full browser implementation of Google Maps.

It’s hard to overestimate the impact on the online map industry that Google Maps (http://maps.google.com) has had. The crisp, readable maps, along with the integration with Google Local, have made quite a splash in the online community. But most agree that the most innovative feature of the Google Maps interface is its clever use of JavaScript to create a user experience in a simple web browser, rivaling the most polished of desktop software without requiring browser plug-ins.


Use Mobile GMaps

You can use a program called Mobile GMaps (http://www.mgmaps.com/) to access Google Maps from your BlackBerry. It is available for free and you can download it over the air right from your device by going to their WAP interface (http://wap.mgmaps.com/).

Once installed, use the MGMaps icon on the Home screen to open the program. You’re greeted with a map of the United States , the same default view you’ll find on Google Maps (http://maps.google.com).

Use the trackwheel to access the menu and select Search to enter an address to search for. You can perform searches, such as restaurants in New York, NY, or you can search for a specific address in the Where field. You can also choose whether to view a regular street map or a satellite view. Once your search results are returned, use the trackwheel to highlight one of the results and choose Select from the trackwheel menu. This will download the appropriate images from Google Maps to your BlackBerry and display them.

Use GMapViewer

Google Maps’s sophisticated use of JavaScript (a technique known as AJAX) is not yet available in any handheld browser, but there is a free program for handhelds called GMapViewer (http://www.sreid.org/GMapViewer/) that creates a look and feel that is similar to what the Google Maps interface provides to desktop browsers. Because it is written according to the J2ME specifications, you can run it on your BlackBerry!

Go to the GMapViewer web site (http://www.sreid.org/GMapViewer/) and use the over-the-air download to install the application. After you install the program, click on its icon on the Home screen to execute it. a very simple screen that appears when you bring up GMapViewer.


View a Map

To view a map, click the trackwheel from the menu and select the Search menu option. This brings you to a screen to create searches for cities and addresses. Select New search from the menu and enter an address or city for a place for which you’d like to view a map. You’ll need to enter the address all on the same line.

Click the trackwheel and choose OK. The search you entered is sent to the service’s web interface (more on this later) and is validated. Once the search returns, use the trackwheel to choose Select from the menu, and you will be taken to the map for that location in another screen.

4.6.4. Navigate the Map

You will notice a similar look and feel to the click and drag interface you’re used to in your desktop browser. Use the trackwheel to scroll to the edges of the map, and the new sections will be filled in on the fly. program as you scroll to the map’s edge. Notice the orange and blue blocks that appear for areas on the map that have yet to be downloaded. Also, the wireless activity arrows indicate that the missing images are being retrieved onto your device.


Add a Map Pin

You can add new map pins, which will be stored in a menu for easy access. There is a crosshair in the middle of the map screen that stays centered as you scroll around the map. At any time if you would like to create a waypoint as a location bookmark, click on the trackwheel and choose New Map Pin from the menu. This brings up a text entry field in which to enter a string that identifies the location. After you’ve typed the text for your map pin, choose OK from the trackwheel menu. You’ll be returned to the map you were viewing, and you’ll see a red map pin with the text you entered on the map. The map pins you create are stored on your device. You can go to the Map pin menu to view all the pins you’ve created and go directly to that section on the map.


How Does This Work?

GMapViewer is used in conjunction with a web service. This web service acts as a gateway and runs as a PHP application that can be downloaded along with the source code for the J2ME client software. By default, the client points to a copy of the web service running at the author’s web site. Be sure and check the GMapViewer web site for updates—the author currently states that the gateway could be taken down at any time.

If the gateway was put out of service, I would anticipate another kind soul to provide a different gateway that clients could point to. Because both the client and gateway components are released under the GPL (GNU Public License), you could download the source code and run a GMapViewer gateway on your own web server!

Related Posts :



Villain ROM 12/SuperHero kitchen

http://www.villainrom.co.uk/kitchen/

Villain ROM 12/SuperHero kitchen

http://www.villainrom.co.uk/kitchen/

Villain ROM 12/SuperHero kitchen

http://www.villainrom.co.uk/kitchen/

VillainROM 12.0

VillainROM 12.0.0 based on HTC OTA update WWE 2.1 by Villain Team



Deodexed.

What works:

  • Livewallpapers (enable in Rosie config)
  • Gallery 3D (With Picasa sync)
  • Voice Search
  • Voice Dial
  • Desire lockscreen
  • Dalvik2cache by default
  • Automatic apps2sd, just

Cisco unveils Cius: an Android-based tablet for the Enterprise

It’s no iPad, and it’s not aimed at consumers, but it is the first Android tablet for Cisco. The company announced the new Cisco Cius during its annual customer conference in Las Vegas on Tuesday.

The Cisco Cius will only weigh about 1.15 pounds, and has a smaller screen than an iPad, only 7 inches. The device is definitely aimed at the Enterprise. It will be loaded with s suite of Cisco software products, including Cisco Quad, Show and Share, WebEx, Presence and Cisco TelePresence; it also supports Unified Communications Manager.

The Cius has wi-fi and 3G capability, along with Bluetooth and Micro-USB support. The battery is detachable, though Cisco says the Cius will run for eight hours “under normal usage.”

Customer trials begin in the third quarter, but the device won’t ship until early 2011. That’s probably poor timing in terms of grabbing attention, as based on Apple’s annual cycles for product refreshes the iPad might be seeing an update then.

Still, while the iPad is more consumer-focused, the Cius is definitely aimed at the Enterprise. With integration with Cisco products, it has a real chance for corporate adoption.

Here are the specs of the Cisco Cius:

  • 802.11a/b/g/n Wi-Fi, 3G/4G data and Bluetooth 3.0 help employees stay connected on and off-campus
  • HD video (720p) with Cisco TelePresence solution interoperability for lifelike video communication with the simplicity of a phone call
  • Virtual desktop client enables highly secure access to cloud-based business applications
  • Android operating system, with access Android marketplace applications
  • Collaboration applications including Cisco Quad, Cisco Show and Share, WebEx, Presence, and IM
  • 7” diagonal, high-resolution color screen with contact-based touch targets
  • HD Soundstation supports Bluetooth and USB peripherals, 10/100/1000 wired connectivity and a handset option
  • Detachable and serviceable 8-hour battery for a full day of work
  • Highly secure remote connections with Cisco AnyConnect Security VPN Client
  • HD audio with wideband support (tablet, HD Soundstation)

[android-developers] Digest for android-developers@googlegroups.com – 25 Messages in 14 Topics

[Gd] Android Cloud To Device Messaging

Android Developers Blog: Android Cloud To Device Messaging

[This post is by Wei Huang, who helped implement this feature. — Tim Bray]

In the just-launched Android 2.2, we’ve added a new service to help developers send data from servers to their applications on Android phones. Android Cloud to Device Messaging (C2DM) makes it easier for mobile applications to sync data with servers.

Most of the useful applications on your mobile phone use the Internet to keep users connected. Traditionally, many apps use polling to fetch data periodically. POP mail clients, for example, connect to the server every 15 minutes or so. Polling is fairly easy to implement, and works well in many situations. It’s tricky, though, to select the frequency: Poll too often, you may not see any new data, and create unnecessary stress on the server and network. Poll too rarely and the data on the device may become stale. Polling is especially problematic on mobile devices, because it consumes precious network bandwidth and battery life.

Having the server push messages to the client asynchronously may be a superior choice for getting the latest data to your applications, resulting in fresher data and more efficient use of the network and your battery. However, it’s also tricky to implement a good push solution, and it isn’t free as there is some overhead in maintaining the required connection. On a mobile device like an Android phone, implementing applications to receive these messages is tricky; you have to worry about patchy network coverage and zombie connections created when the wireless carrier’s routers time out connections that are idle for too long.

Many of the Google applications on Android already use push to keep their data fresh, for example Gmail, Contacts, and Calendar. Starting with Android 2.2, C2DM allows third-party developers to use the same service the Google apps do.

Here are a few basic things to know about C2DM:

  • It requires Android 2.2; C2DM uses Google services which are present on any device running the Android Market.

  • It uses existing connections for Google services. This requires the users to sign into their Google account on Android.

  • It allows 3rd party servers to send lightweight data messages to their apps. The C2DM service is not designed for pushing a lot of user content; rather it should be used like a “tickle”, to tell the app that there is new data on the server, so the app can fetch it.

  • An application doesn’t need to be running to receive data messages. The system will wake up the app via an Intent broadcast when the the data message arrives, so long as the app is set up with the proper Intent Receiver and permissions.

  • No user interface is required for receiving the data messages. The app can post a notification (or display other UI) if it desires.

It’s easy to use the C2DM API. Here is how it works:

  • To enable C2DM, an application on the device registers with Google and get a registration ID, and sends the ID to its server.

  • When the server needs to push a message to the app on the device, it posts the message via HTTP to Google’s C2DM servers.

  • The C2DM servers route the message to the device, and an Intent broadcast is sent to the app.

  • The app is woken up to process the message in its Intent Receiver.

  • The app can unregister with C2DM when the user no longer wants messages to be pushed to it.

That’s about it! All you need is a server that knows to talk HTTP, and an Android app that knows how to use the Intent APIs. Below are some code samples:

// Use the Intent API to get a registration ID// Registration ID is compartmentalized per app/deviceIntent regIntent = new Intent(        "com.google.android.c2dm.intent.REGISTER");// Identify your appregIntent.putExtra("app",        PendingIntent.getBroadcast(this /* your activity */,             0, new Intent(), 0);// Identify role account server will use to sendregIntent.putExtra("sender", emailOfSender);// Start the registration processstartService(regIntent);

The registration ID will be delivered back to your app via an intent broadcast with the Intent Action com.google.android.c2dm.intent.REGISTRATION. Here is a code sample to receive the registration ID.

// Registration ID received via an Intentpublic void onReceive(Context context, Intent intent) {  String action = intent.getAction();  if (“com.google.android.c2dm.intent.REGISTRATION”.equals(action)) {    handleRegistration(context, intent);  }}

public void handleRegistration(Context context, Intent intent) {  String id = intent.getExtra(“registration_id”);  if ((intent.getExtra(“error”) != null) {    // Registration failed.  Try again later, with backoff.  } else if (id != null) {    // Send the registration ID to the app’s server.    // Be sure to do this in a separate thread.  }}

On the server side, your server needs to get a ClientLogin Auth token in order to talk to the C2DM servers. When it wants to push a message to the device, it can send an authenticated http POST with:

  • Authorization: GoogleLogin auth=

  • URL encoded parameters including the registration id, the data key/value pairs, a “collapse key” used for overriding old messages with the same key on the Google C2DM servers, and a few other optional params.

When you use the C2DM service, you no longer need to worry about dealing with flaky mobile data connections, or when the user isn’t connected to the internet (i.e. Airplane mode). C2DM keeps the messages in the server store, and delivers them when the device comes back online. Basically, you can leave all the hard work of designing a robust push service to Google. Your application can take advantage of push infrastructure we’ve already built and tested, and stay more connected to the internet. Best of all, you won’t ruin the users’ battery life.

Information about how to build C2DM enabled applications on Android is online at the code lab, and more will be coming as we approach general release.

URL: http://android-developers.blogspot.com/2010/05/android-cloud-to-device-messaging.html

Sony Ericsson today unveils the XPERIA™ X10