I've developed an application which has a service and boot completed receiver. The boot completed receiver schedules the service to be executed after every 7 minutes. The boot completed receiver saves its context in a public static variable which is then accessed by service whenever it is scheduled by scheduler. The service first gets the IMEI number of phone and then saves it to a file if it is not already saved. Everything worked smoothly but then i logged into market place and after that the scheduled service was not able to get IMEI number directly , neither was it able to open the file which had already been created and it keeps on throwing nullpointer exception for both direct IMEI retrieval and attempt to open file.................
Recently my telephone was stolen and the police need my IMEI number. I never bothered to write it down and don't have the original box, so I wondered whether the IMEI number is stored in ADB or in some other software, since I have done some development for Android.
I have Galaxy Gio(Running on JellyBread). Is it possible to change IMEI no. Without changing hardware? If yes then how will it change my device(I mean will it cause some problems e.g network operator problems)
I have got an LG Optimus Vu from Korea through DHL but the customs have seized it saying there is no IMEI number provided for the phone.
I managed to convince them to let me play with the phone and checked in Settings, Phone Identity , About screens and all i saw was a serial number. I could not find the IMEI number. Also it is not there on the box. The phone has a sealed battery and microSIM so it is not possible to check the inside also.
I have been using Samsung Galaxy Note 1 for some time now, but couple of weeks ago my connections starts dropping and i would just take the SIM out and put it back and it would start working again.
What is is that when i enter *#06# it doesn't show any IMEI number. I have tried to restore my phone and install new software didn't work.
Some of the mobile shops said they need to buy a new IMEI number, some said they need to open it and see and some said "Basement" has gone bad. Not sure what that is though. May be he meant Baseband...
I lost my phone. I forgot to note down the IMEI number. However i took TWRP backup of EFS Partition. I can open the EFS partition file through winzip software in my computer and see various files (like nv_data.bin etc). I want to find out the IMEI number from the backup.
How to extract the IMEI number from my computer from the backup of EFS Partition files?
Understanding how incredibly dangerous this question is, I'd like to know if it is possible to programmatically issue a factory reset, as available in Droid and G1. Does anyone know how this is implemented? Is this implemented using the standard Android SDK, a Motorola-specific function, or something else?
Any way to get the version/build number programatically? I dug into Settings source code, it indicated that this info could be read from the file /proc/socinfo, but this file doesn't seem to exists on any of the devices I'm working with?! Wondering where else I might be able to get this info.
I have an XML layout which contains a TableLayout with an unknown number of TableRows... The number of Rows will be established durin runtime, what I do know though is that I want two columns... So I have a couple of questions regarding this :
- is there a way to set the whole TableLayout to have 2 columns ?
- is there a way programmatically to give an id to the (during runtime) created TableRows which will be placed within the TableLayout, so I can reference them later on from other parts of the software ?
As you may know, when you buy an app from the market, an email is sent to you with a "Google order number" (which I believe is 15 digits long), which is specific to this transaction. I was wondering if this number is stored anywhere on your device after you purchase an app, and if it is, is there anything in the API to allow an android app to retrieve this number. If this number cannot be retrieved, is there a similar market transaction code that's retrievable?
On Sun, Sep 5, 2010 at 12:55 PM, Vipul <vipulpancha...@gmail.com> wrote: > I want to get the name of device programmatically. > Suppose anyone has set the device name as "My New Phone"> I want to get that.
How do you determine (programatically) if an Android device is: rooted Running a cracked copy of your software or rom. I have some sensitive information in my database, and I would like to encrypt it when the phone is rooted aka the user has access to the database. How do I detect that?
My app seldom needs to put the device (or screen) to sleep. That is - programmatically imitate user pressing on red stop-call button. According to docs PowerManager.goToSleep() does just that, but requires android.permission.DEVICE_POWER, which is never granted to apps!
(A) What on earth should I do to get this working? (B) How can I programmatically wake up the device.
just to clarify - I'm not interested in a wake lock solution.
Is it possible to programmatically disable and enable the led indicator light on an Android device? I am not referring to just turning it on and off as in a notification. I did not see anything in the api that would do so. I am guessing this is hardware specific if it is possible at all.
I want to enter an website using the tel num as a password how do i get it using the android API is it possible? or is there another key value on the android which is unique and I can ask him from the android system , android devices and therefore security is promised?
Iam using a command: adb devices and get this: C:>adb devices List of devices attached HT9CTP820385 device My question is: where this serial number comes from? Does it burned on flash of device one time during a manufectoring or adb drivers assignees it dynamically or it comes with release that is burned on device?
I would like to be able to generate unique serial numbers for each Android device for use in unlocking an application. How could I do this? EDIT: The reason is I want to revamp a paid application and provide users who have paid for the old version, which will have a different package name, a way to obtain the full version by downloading an unlikable free version of the application. I would push an update to the old version that would generate and display the code that they could enter to turn the Free version into a fully functional version.
How to read the device serial number (not IMEI) of a Samsung Android phone (same value that you get when you call 'adb devices') but from within an app or from the device; not using PC/USB/adb.I found a solution for HTC and other devices, which is - to call. Code...
I am trying to create an app that gets the location and telephone number of the phone. This is the Code I am using to get the telephone number (I am focusing on sdk 1.5) and in the emulator this works.
I want to know how to get the ringtone,audio files in the device and I want set them as alarm. I am working in the code to set the alarm and I want to know how to retreive audio or ringtones from the device.