Skip to content

{ Category Archives } Mobile Devices

Background Applications on the BlackBerry

Useful articles about background applications on the blackberry. http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/796557/800738/800901/How_To_-_Setup_an_alternate_entry_point_for_my_application.html?nodeid=800820 http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800639/How_to_-_Make_a_running_UI_application_go_to_the_background_and_resume_in_the_foreground.html?nodeid=800545&vernum=0 http://docs.blackberry.com/en/developers/deliverables/6625/Dimensions_for_screens_images_and_icons_476251_11.jsp http://rim.lithium.com/rim/board/message?board.id=java_dev&message.id=2519 http://supportforums.blackberry.com/rim/board/message?board.id=java_dev&message.id=392

Blackberry JME has very limited threads

I had written a CRON scheduler for the blackberry for one of my clients.  This CRON scheduler was failing seemingly randomly where the thread that checks the schedules would just die.  In order to make sure a task is launched exactly when it should, I would spin off a thread and execute that code.  You [...]

iPhone web caching sqlite3

If you are using the iPhone simulator to test your web application, you can query sqlite3 cache tables by going to the following directory: ~/Library/Application Support/iPhone Simulator/User/Library/Caches/com.apple.WebAppCache Command to open the cache database: sqlite3 ApplicationCache.db Once inside, you can use the following command to view the tables: sqlite> .tables This is very helpful in troubleshooting [...]

UPDATE: Windows Mobile 6 Smart Phone Signed Cab displaying “Program is from an unknown publisher”

Previously, I wrote about signing cab files for Windows Mobile 6.  The application was initially created for Windows Mobile 5 Pocket PC devices.  We got it working on Windows Mobile 6 Pocket PC. Recently, I was tasked with creating an installer application to get around some of the browser inconsistencies they’ve been experiencing with the [...]

iPhone web apps

The iPhone has some really cool features for web apps. One feature that I particularly like is called Web Clips.  These are pages that can be installed on your home screen.  You can specify an icon for use on the home page just like you would for a native app.  If you don’t supply one, [...]

Controls for Windows Mobile Smart Phones

I ran into Smart Phone not supporting another control.  It doesn’t support button controls.  The Smart Phone has a menu at the bottom that behaves as a button. I seem to have troubles finding this article when I need it, so here is a link to help me figure out the user interface options I [...]

Windows Mobile Smartphone vs Pocket PC

I recently encountered an issue where a Windows Mobile 5 application I wrote wasn’t working on a Windows Mobile 6 smart phone.  This particular phone was in Spain so I was not able to hold it in my hands. Initially I believed it was because I didn’t have the Windows Mobile 6 SDK installed.  I [...]

Java ME Date add functionality

Programming for the blackberry can be frustrating.  It seems that they have taken every useful function I’ve used in the past and thought “is there a harder way to do this already?”  If the answer was yes, they ripped out the function.  The latest example I’ve uncovered while developing is simply adding time and dates [...]

Making an HTTP Request on BlackBerry

Seems like it is rather complex to make a simple HTTP request on BlackBerry.  The code for opening a connection is straightforward: String url = “http://10.0.0.1″; HttpConnection conn = conn = (HttpConnection)Connector.open(url); The complexity comes in because I am developing on a  BlackBerry device without service.  When I try to execute the above code, I [...]

Blackberry development environment

Blackberry applications are written in Java.  Since the java mantra is write once, test everywhere.  er.  sorry, run everywhere.  You would think that you could choose whatever OS you would like to develop for the Blackberry.  While the documentation claims you can write Blackberry code on any platform, the reality for a new developer is [...]