Hi,
I am running this piece of code

myDevice = Globals.getInstance().getDevice();
  this.deviceID = myDevice.getDeviceId() ;
with the below xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android";
  package="com.org.mcruiseon.client"
  android:versionCode="1"
  android:versionName="1.0">
  <application android:icon="@drawable/icon"
android:label="@string/app_name">
  <activity android:name=".WelcomeScreen"
  android:label="@string/app_name">
  <intent-filter>
  <action android:name="android.intent.action.MAIN" />
  <category android:name="android.intent.category.LAUNCHER" />
  </intent-filter>
  </activity>
  </application>
  <uses-sdk android:minSdkVersion="3" />
<uses-permission
android:name="android.permission.INTERNET"></uses-permission>
<uses-permission
android:name="android.permission.READ_PHONE_STATE"></uses-permission>
</manifest>
What am I doing wrong. Why is getDeviceId returning null ?
Siddharth

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

Reply via email to