Serial Number

by New Developer » Wed, 11 May 2011 09:19:59 GMT


Sponsored Links
 When I start or connect my Xoom  I get  in Console

[2011-05-10 21:15:29 - eeds] Automatic Target Mode: Unable to detect device 
compatibility. Please select a target device.
[2011-05-10 21:16:20 - eeds] Uploading new.apk onto device '0288...b397'
[2011-05-10 21:16:22 - eeds] Installing new.apk...

I assumed 0288...b397  is the serial number yet when I execute

SERIAL_NUMBER  = Secure.getString(getBaseContext().getContentResolver() ,  
Secure.ANDROID_ID);
Log.i("Activity" , "Serial Number     =   '" + SERIAL_NUMBER               + "' 
 ");            
I get the following in LogCat

05-10 21:16:26.400: INFO/Activity(1354): Serial Number     =   '7299...b099'  

Not the same Number.
So which is the correct serial Number and how do I find the serial number on 
the Xoom itself ??

Thanks in advance

-- 



Other Threads

1. Use Camera API for normal quality pictures

I'm using the default camera API of Android 1.6 like this:

                Intent photoIntent = new 
Intent(MediaStore.ACTION_IMAGE_CAPTURE);
                photoIntent.putExtra(MediaStore.EXTRA_OUTPUT, Uri.fromFile(new 
File
                                (Environment.getExternalStorageDirectory(), 
"test.jpg")));
                startActivityForResult(photoPickerIntent, 1);


But the image is saved on very low resolution 512 x 348. I added the
QUALITY property but it doesn't make sence:

                photoPickerIntent.putExtra(MediaStore.EXTRA_VIDEO_QUALITY, 1);


There are many more posts on the internet talking about this issue but
there's no solution (jet). Is it solved on 2.0??? I realy need the
high resolution image (3MP).

Thanks in advance,

Ben

-- 

2. noHistory="true" rocks

<activity android:name=".activities.Result"
android:label="@string/arl_results"
android:screenOrientation="portrait" android:noHistory="true"></
activity>

this was invaluable in debugging Droid out of Bitmap memory issues.

-- 

3. How to select/install a locale other than English

4. DynamicLayout and StringBuilder

5. Save ListView items for next time

6. How can I call service methods from broadcastReceiver?

7. Application developed in 1.5 r 3 not working in Motorola Droid