logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • Write code snippet to retrieve IMEI number of Android phone?


  • Correct Answer
  • TelephonyManager class can be used to get the IMEI number It provides access to information about the telephony services on the device Code TelephonyManager mTelephonyMgr = (TelephonyManager) getSystemService(ContextTELEPHONY_SERVICE); String imei = mTelephonyMgrgetDeviceId(); 


  • Technology problems


    Search Results


    • 1. How does an application run in isolation from other applications?
    • Discuss
    • 2. Why cannot you run standard Java bytecode on Android?
    • Discuss
    • 3. How to select more than one option from list in android xml file? Give an example.
    • Discuss
    • 4. Describe Android Application Architecture.
    • Discuss
    • 5. What is AIDL?What data types are supported by AIDL?
    • Discuss
    • 6. How can your application perform actions that are provided by other application e.g. sending email?
    • Discuss
    • 7. How will you launch an Activity within you application?
    • Discuss
    • 8. Whats a struct?
    • Discuss
    • 9. Whats the difference between a NSArray and a NSMutableArray?
    • Discuss
    • 10. If I call performSelector:withObject:afterDelay: ? is the object retained?
    • Discuss


    Comments

    There are no comments.

Enter a new Comment