Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8436545
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T07:12:23+00:00 2026-06-10T07:12:23+00:00

I want to emulate the native contact manager behaviour in android, how can I

  • 0

I want to emulate the native contact manager behaviour in android, how can I do this? Is there an example or some code? I know how to retrieve the contacts and display them, what I need to be able to do is click on a contact name, which take me to the contact’s details.

The part I’m stuck at is how to perform actions with the contact’s details, i.e call a number or email an email address.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T07:12:24+00:00Added an answer on June 10, 2026 at 7:12 am

    If you can retrieve the contacts, make your own activity which displays all the details. Then you can send an e-mail using e-mail composer like this:

    Intent email = new Intent(Intent.ACTION_SEND);
    email.putExtra(Intent.EXTRA_EMAIL,new String[] { "yourid@gmail.com"});
    email.putExtra(Intent.EXTRA_SUBJECT,"Contact Us");
    email.putExtra(Intent.EXTRA_TEXT, text field here);
    
    email.setType("message/rfc822");
    
    startActivity(Intent.createChooser(email, "Choose an Email client :"));
    

    And call using this:

    Intent callIntent = new Intent(Intent.ACTION_CALL);
    callIntent.setData(Uri.parse("tel:123456789"));
    startActivity(callIntent);
    

    Similarly, you can send SMS too.

    Hope this helps!

    EDIT:
    For ListView try this code to implement onClickListener:

    ListView lv;
    String listview_array[] = { "ONE", "TWO", "THREE", "FOUR", "FIVE", "SIX", "SEVEN", "EIGHT", "NINE", "TEN" };
    
    lv = (ListView) findViewById(R.id.listview);
    lv.setAdapter(new ArrayAdapter<String>(this, android.R.layout.simple_list_item_1, listview_array));
    lv.setTextFilterEnabled(true);
    lv.setOnItemClickListener(new OnItemClickListener()
    {
       public void onItemClick(AdapterView<?> arg0, View v, int position, long id)
       {
           AlertDialog.Builder adb = new AlertDialog.Builder(ListviewOnclickExample.this);
           adb.setTitle("ListView OnClick");
           adb.setMessage("Selected Item is = " + lv.getItemAtPosition(position));
           adb.setPositiveButton("Ok", null);
           adb.show();                     
       }
    });
    

    Whenever an item from your ListView will be selected, you can access it using the position variable.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to emulate a long a press button, how can I do this?
I want mobile emulators to emulate Android, iPhone and Windows phones. Can`t find emulators
I want to know if it is possible to emulate work: Mobile Phone (sms,
I want to emulate some human(not for spam use) for some my daily works.
how can I emulate bad connection in nginx server? I want to test client
I want to emulate the functionality of gzcat | tail -n. This would be
I want to emulate an unmanaged dll in c++. Is there a good tool
I want to emulate a network-type stream on a single PC. I've done this
I want to emulate the Nexus 7, but I can't figure out what values
I want to create a deployment script, somehow emulate Oracle deployment scripts, where with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.