droid

Android: Using tiwlan0 to determine wireless connected status for Droid

Hello, I want to be able to check the status of Droid's wireless and I was hoping that by reading /sys/class/net/tiwlan0/wireless/status I could find out if it was actually connected or not. I already know that I can check if my wireless is enabled/disabled but I want my app to notify the user if the wireless gets disconnected. Howeve...

Changing locale programmatically on DroidX(2.1 Update 1) does not work ?

I am trying to change the locale programmatically on Android. The code I have below works fine on the Incredible(2.2) and Droid(2.2). However, it doesn't on the DroidX(2.1 Update 1) Anyone here have encountered similar problem ?? Any insight would be helpful. public void overrideLocale(String languageToLoad) { Locale locale = new Loc...

Cropping Picture Issue on Droid X

I'm running into an issue with my program when trying to crop an image selected by the user from their gallery. The issue so far only appears when running on a Droid X, as running on the original moto Droid works fine. Basically the issue occurs as the cropping intent is being run. Once the user crops the photo and clicks the save butt...

When creating PDFlib+PDI PDF, and fwrite to a file, Droid devises see it as a blank file.

When creating a PDF file through PDFlib+PDI, and then write the file with fwrite, all desktop systems can view the contents of the file just fine, but Droid devises can't.... (they only show a blank document in PDF viewer). I'm thinking that, when performing the fwrite, since OS is responsible for determining the file type (based solely ...