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 848389
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T06:56:06+00:00 2026-05-15T06:56:06+00:00

I am creating a widget that you can assign a contact to onClick. I

  • 0

I am creating a widget that you can assign a contact to onClick. I used the method that is described here. This works great on standard Android phones such as the Motorola Droid, HTC Nexus One and HTC G1. The problem is for users who are using devices such as the HTC Incredible or HTC Droid Eris (Both running Sense UI) and I imagine on other phones who’s OS deviates from the vanilla flavor of Android.

Using my current method I thought that the device’s OS would hook into whatever that manufacture chose to use for their Contact system however users are being sent to a random list of numbers, not their Contact list. Does anyone have a suggestion on how to get those Contacts or is this just another example of the Android fragmentation issue? Any help or insight is greatly appreciated.

  • 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-05-15T06:56:07+00:00Added an answer on May 15, 2026 at 6:56 am

    Does anyone have a suggestion on how
    to get those Contacts or is this just
    another example of the Android
    fragmentation issue?

    ACTION_PICK works just fine on all Android devices. However, bear in mind that the contacts API changed with Android 2.x, and the StackOverflow entry you linked to was from 13 months ago, back before Android 1.5 even existed (if I remember the timeline properly).

    Your best approach will be to create a common Java interface that handles your contact-related logic, with two implementations (one for the old API, one for the new). You can load up a static instance of the proper implementation for any given device and use it. You can see an example of that technique here.

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

Sidebar

Related Questions

Here is my situation: Im creating a widget that site admins can embed in
I'm creating a chat widget that will be dropped into CommunityServer. The widget works
Cocoa newbie here. I am working on an iPhone UITableViewController-based widget that can be
I am looking at creating a page that the user can move around as
I am new to QT and I am creating a widget that has a
I'm creating an Android widget that I want to update every night at midnight.
I am creating a WordPress widget plugin that displays different types of social media
I went about creating a custom TabControl widget so that I could accurately paint
I'm creating a Yahoo! Widget and have done this before without any problems (creating
I am creating a server built in Visual Basic 2010 and that program can

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.