Using Imei As A Parameter For Json Service
after grasping AsyncTask, I have run into yet another road bump. Using JSON (which connects to my local SQLServer, I would like to retrieve an object using the IMEI as a string par
Solution 1:
Could be one of these 2 things:
- Add permission to manifest < uses-permission android:name="android.permission.READ_PHONE_STATE"> (remove space after '<')
- You could be declaring a Button in the layout file of the MainActivity but cast it as a Spinner while initiating the Button or vice-versa.
Solution 2:
If you didn't give permission to access read phone state then add this line to AndroidManifest.xml
(<uses-permission android:name="android.permission.READ_PHONE_STATE" />
).
Post a Comment for "Using Imei As A Parameter For Json Service"