Mark Wyszomierski wrote:
> Oh I'm running 1.5 too, but I think that should be fine.

Grab this project:

http://commonsware.com/misc/WeightDemo.zip

or, here's an APK:

http://commonsware.com/misc/WeightDemo-debug.apk

Install and run it. Ignore the layout -- that's from some other scrap
test I had run before. If you get a Toast with a gibberish alphanumeric
value, that's from:

Secure.getString(getContentResolver(), Secure.ANDROID_ID)

in the activity. If you get null, or it blows up, then something may be
messed up with your device. I have run this code on a G1 (1.6), Ion
(1.5), and Hero (1.5), and they all work.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Warescription: Three Android Books, Plus Updates, $35/Year

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to