I should be nicer, modern smartphones are meant to be intuitive and user friendly, but they're more powerful than ever and with that comes complexities. As such, some people just don't know how to use an Android widget. They see them, they may have even used them before, but they don't know how to use yours.
What am I talking about? If you've written a Widget only application for Android, you may have encountered some baffling negative feedback; users complaining that the application just doesn't work. In their defense, it might not entirely work. After downloading an application from the Market, the user may encounter an installation complete screen with a button to launch the newly downloaded application. In the latest versions of Android, if there's not an Activity defined to handle the MAIN intent, the button is grayed out. But in older versions, I've confirmed 1.5, that button is not grayed out. When the user clicks the button, an error is displayed.
Another way the user may encounter the same problem is from the notifications area. A notification is made indicating that the application installed successfully. When tapping on this notification the application is launched. Again, without a main activity, on older versions of Android, this will result in an error.
It may seem obvious to you that you've developed an application, and the user should add it to their home screen by pressing 'Menu' from the home screen and following the menus to add a widget. Unfortunately, it's not obvious to everyone. So here's the easy work-around. Create a basic layout with just a TextView. Fill the TextView with some instructions as to how a user should add the widget to their home screen. Extend Activity and create a dumb Activity class that sets the content view to the instruction layout. Finally, register this new Activity in your AndroidManifest as the consumer of the MAIN intent.
Instead of encountering an error, the user is confronted with obvious, yet helpful instructions. Hopefully you'll encounter a happier commenter as the result of these simple changes.
Showing posts with label android widget. Show all posts
Showing posts with label android widget. Show all posts
Wednesday, April 7, 2010
Sunday, February 7, 2010
R-Line App
I just published an application that displays real-time status of Raleigh, NC's downtown buses. Currently, Raleigh's monitoring is limited the R-Line route.The two buses show up as black dots. Red markers are bus stops. The blue line is the primary route, and the red lines show the evening (after 6:30PM) modified routes.
The app was fun to create. It leverages web services, Google's Map APIs, and Quattro's advertisement APIs. Sorry about the ads, but I couldn't help myself to try it out. They should at least be occasionally targeted to the RDU market.
Data updates every 5 seconds, although the bus data is usually only updated from the buses every 30 seconds.
Future enhancements I hope to include click-able markers to display the stop name, bus name, etc.
Make sure you've upgraded to version 1.16 to ensure you continue to receive bus location updates.
Wednesday, December 30, 2009
Euro Millions Jackpot Widget
Mega Millions Jackpot Widget
Monday, December 28, 2009
Powerball Jackpot Widget
Our first Android application has been published, the Powerball Jackpot Widget. Check out the demo in the Android Market. I was hoping to sell a version for 49 cents, however Google sets a minimum price of 99 cents.The Powerball Jackpot Widget displays the current Powerball annuity jackpot on your home screen. Always stay updated, and know when to play.
Powerball is a trademark and under copyright of the Multi-State Lottery Association.
Subscribe to:
Posts (Atom)

