logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • What are intents, shared preference in android ?


  • Correct Answer
  • An Android Intent is an abstract description of an operation to be performed It can be used with startActivity to launch an Activity, broadcastIntent to send it to any interested BroadcastReceiver components, and startService(Intent) or bindService(Intent, ServiceConnection, int) to communicate with a background ServiceThe intent itself, an Intent object, is a passive data structure holding an abstract description of an operation to be performed Android provides many ways of storing data of an application One of this way is called Shared Preferences Shared Preferences allow you to save and retrieve data in the form of key,value pair In order to use shared preferences, you have to call a method getSharedPreferences() that returns a SharedPreference instance pointing to the file that contains the values of preferences 

  • Tags: Analyst, IT Trainer, Project Manager

    Technology problems


    Search Results


    • 1. What role does Dalvik play in Android development ?
    • Discuss
    • 2. What is ADB in Android ?
    • Discuss
    • 3. What are three ways to reduce page load time?
    • Discuss
    • 4. What is the purpose of canvas in HTML?
    • Discuss
    • 5. What are new Media Elements in HTML5?
    • Discuss
    • 6. What is passive topology?
    • Discuss
    • 7. What is 255.255.255.255 used for?
    • Discuss
    • 8. List the steps involved in creating the checksum.
    • Discuss
    • 9. What is a stub network?

    • Options
    • A. A network with only one entry and no exit point.
    • B. A network that has only one entry and exit point.
    • C. A network with more than one exit point.
    • D. A network with more than one exit and entry point.
    • Discuss
    • 10. In OSI network architecture, the routing is performed by

    • Options
    • A. transport layer
    • B. session layer
    • C. network layer
    • D. data link layer
    • Discuss


    Comments

    There are no comments.

Enter a new Comment