droid

Problem with AsyncTask on rooted Droid

Hi I've got a widget on the Android market called DigiClock widget, and after the last update i've been having some extremely rare and random problems on rooted Motorola Droids ( there may be other handsets with the problem, but the only responses i've had are from rooted droid users ). The problem occurs when an activity is launched th...

How do you retrieve the array adapter currently set for a spinner? Android OS, Droid

Looking to create a menu toggle that switches between two possible arrays for a spinner. For example, if the spinner is set to show array A, then when I press this menu button, I want the spinner to be set to array B. If I press it again, I want it to be set back to array A. I can handle the if/then statements and all, but how do I call...

Getting page background to continue on iPhone

I have a background image repeated from top to bottom, and on PC it looks fine, but on the iPhone or droid it does not continue. The footer is above the bottom of the page and the page background does not continue on the iPhone/Droid but it sits at the bottom on a regular computer webpage. Any tips? ...

Is Multicast broken for Android 2.0.1 (currently on the DROID) or am I missing something?

This code works perfectly in Ubuntu, in Windows and MacOSX, it also works fine with a Nexus-One currently running firmware 2.1.1. I start sending and listening multicast datagrams, and all the computers and the Nexus-One will see each other perfectly. Then I run the same code on a Droid (Firmware 2.0.1), and everybody will get the packe...

Add option to phone log context menu - Android 2.0

Hello, I would like to program an application for Android that when installed would add an item to the context menu that pops up when you long-press on a call record in the call log tab in the built-in contacts program. Is this possible? If so, any links that could point me in the right direction for the required code to add my option ...

How to set up android SDK for command line development on linux?

I'm trying to set up the android SDK to develop a simple program on the command line in linux (Ubuntun 9.10). I tried eclipse, but it has know problems running on Ubuntu, so I gave up on it. Here's what I've done so far: downloaded android-sdk_r05-linux_86.tgz from http://developer.android.com/sdk/index.html tar xvzf android-sdk_r0...

Help getting array from arrays.xml file (Android, Eclipse)

I am just trying to display a list from an array that I have in my arrays.xml. When I try to run it in the emulator, I get a force close message. If I define the array in the java file (String[] testArray = "one","two","three","etc";) it works, but when I use "String[] testArray = getResources().getStringArray(R.array.testArray); " it ...

Android Image Orientation Issue on Motorola Droid

Hi there, Our app uses the gallery pick action to grab an image from the device to upload to a new blog post. We're seeing on the Moto Droid that images taken in portrait are being sent back to the app in landscape orientation so the image is sideways. AFAIK this only occurs on the Droid. Found this via google, but we need the full si...

How to prevent Android bluetooth RFCOMM connection from dying immediately after .connect()?

This problem has been solved! Thanks a lot to Brad, Denis and junkie! You're the heroes! :) This is the working code. It connects to Zeemote and reads data from it. ===== Code ===== public class ZeeTest extends Activity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); ...

Possible to programatically access X-Mms-Content-Location?

I'm seeing a strange issue on a phone and I'm trying to come up with a way to troubleshoot it to find out more. Is it possible to access the X-Mms-Content-Location attribute of a message from a MMS message programatically, using the Android SDK? This is one example of the error that I am investigating. If I can access that attribute,...

Is it possible to modify Android internals and reinstall the operating system on a phone?

I have an android phone and am thinking of a project in which I will need to modify the operating system and reinstall it to the phone. Is this possible to do so? Can i be sure my phone is not gonna give up on me? Thanks. ...

Android 2.1 - Video issue

Why does my video playing app crash when I try to run on a Droid 2.1 device, but works fine with myTouch 1.6? Thanks Chris LogCat shows 06-07 18:13:13.444: ERROR/AndroidRuntime(4252): java.lang.IllegalStateException 06-07 18:13:13.444: ERROR/AndroidRuntime(4252): at android.media.MediaPlayer.getVideoWidth(Native Method) 06-07 18:1...

Droid Incredible Not Returning Valid DeviceID?

I have an application that utilizes the phones DeviceID in various ways. I am now getting emails from users who have the HTC Droid Incredible phone that they are getting the error message I have added to the app that is showing the DeviceID being returned is not valid - which means it is either empty/null or the default ID used in t...

GPS Location without service

I am a new developer and have a simple question that I have searched all over for, but have not found a clear answer yet... Simply put, I am developing an application that needs to be able to use GPS. The trick is however that I would like to use GPS to get a phone's location even if they have no carrier service. With that said I have...

Android Image Capture Saving Small Sizes on Milestone

I've written a simple app that opens the camera and supplies a path for saving any captured images. The code basically looks like this: File file = new File( Environment.getExternalStorage() + "myimages/", "my_image.jpg" ); Uri outputUri = Uri.fromFile( file ); Intent intent = new Intent(android.provider.MediaStore.ACTION_IMAGE_CAPTU...

Android: A Verizon Droid puzzle

I am based in Germany and publish the "Last Call Widget" on the Android Market. I have been steady improving it over time, but one group of users still complain about it not working on their devices. My widget listens for the "android.intent.action.PHONE_STATE" intent, and then sets an alarm to update the last call UI in 20 seconds, th...

Droid data push techniques

Can someone give advice about all the ways one might programatically push data to a phone that do not involve polling? I am building a phone app where a daemon process will be running to handle various background events (think 'no UI, but stuff going on behind the scenes'). In this application, data needs to be sent to a phone and receiv...

Using Android SDK

I need some help using android sdk to get my Moto Droid on BB v0.4 to go intop recovery mode ...

Adding boot sound to Froyo 2.2 Droid

I have been attempting to add sound on boot to run with the boot animation on a droid running Froyo 2.2 ROM. This is what I have tried this far: Added to init.rc ###Bootsound - Safe to Delete: Start ### service bootsound /system/bin/bootsound user media group audio disabled oneshot on property:init.sv...

I want to convert my HTML site into iPhone or Droid compatible site. How can I do that?

My website is really very simple HTML based site. My site is located here: http://www.threesite.com How can I convert this simple HTML site compatible with iPhone or Droid? Do I need to convert the same into PHP based site and then convert? Your help will be much appreciated. ...