Android :: Getting List Of Contacts On SenseUI 2.1?
May 5, 2010
This is simple enough on every other version of Android, including SenseUI 1.5.
//For Contacts
Intent pickIntent = new Intent(Intent.ACTION_PICK, People.CONTENT_URI);
this.startActivityForResult(pickIntent, RESULT);
//For Phones
Intent pickIntent = new Intent(Intent.ACTION_PICK, Phones.CONTENT_URI);
this.startActivityForResult(pickIntent, RESULT);
On SenseUI 2.1 (HTC Incredible) this shows a list of numbers (the URI number). So you get a list of 1-200 if you have 200 contacts. Selecting one of the contacts you can then gather all of the information needed. Is there any good work around known?
View 1 Replies
May 28, 2010
I'm pretty sure it's not viable to do what I'd like to based on some initial research, but I figured it couldn't hurt to ask the community of experts here in case someone knows a way.
I'd like to create a custom field for contacts that the user is able to edit from the main Contacts app; however, the user should only be allowed to select from a list of four specific values. A short list of string values would be ideal, but an int with a min/max range would suffice.
I'm interested in knowing if it's possible either way, but also wondering if it make sense to go this route performance wise. More specifically, would it be better to look up a contact (based on a phone number) each time a call or SMS message is received or better to store my own set of data (consisting of name, numbers, and the custom field) and just syncing contact info in a thread every so often? Or syncing contacts the first time the app is run and then registering for changes using ContentObserver?
View 1 Replies
View Related
Aug 19, 2009
My application wants a functionality of picking a contact from the phone contact, I have achieved this using the following intent Intent intent = new Intent(Intent.ACTION_PICK, People.CONTENT_URI); startActivity ForResult(intent, 001); I wanted few more functionalities
- An option to create a new contact from the pick list, similar to the one which is available in inbuilt Launcher appliation
- Set of contacts should be filtered from display i.e already selected contacts should not be displayed
- Filtering of contacts should be based on the phone number i.e a contact might have two phone numbers associated with and wants to filter out the phone number which is selected I guess above can be achieved by implementing my own pick list using contacts provider, is there any other way without implementing the new pick list
View 2 Replies
View Related
Jun 4, 2010
Ok, so this is my first time with Android. When I first set the phone up with Facebook, it pulled EVERY friend I have and puts them in my phones contacts. After searching, I found that I can unsync them in my 'all' contacts list etc, but they are still showing up when I push 'PHONE' at the bottom of the home screen. They are behind the dialer. Is there anyway to set that screen to show recently dialed numbers or favorites or something?
View 34 Replies
View Related
Aug 25, 2010
How can I tell if a device is using HTC's SenseUI? I thought about using android.os.Build information, but they seem inconsistent. Is there a more definitive way? I need to be able to tell if I can launch the calendar by using com.android.calendar or com.htc.calendar.
View 1 Replies
View Related
Feb 23, 2010
My HTC Hero lists my contacts alphabetically by first name. Short of inputting them last name first, can they be listed first name first and still come alphabetized by last name? i.e. Bill Smith before Ken Sorels and still be in a group with other people with "S" last names? Is this a procedure problem or is their an app for this?
View 6 Replies
View Related
Oct 29, 2010
So I've searched "Contacts list iphone" and what not but wasn't able to find anything. And I might get crucified for this but The one thing that the iphone did that I really liked was how you can easily scroll down to the contact you want by tapping the letter you want to scroll down to on the right hand side of the contact list. I have a Droid X and I LOATHE the way it works (I have to scroll first, then move the scrollbug down to where I want it). Is there an app that will show the contact list a la iOS where you have the letters on the righthand side and you just tap on the letter you want to scroll down to?
View 3 Replies
View Related
May 25, 2010
NOTE: Must work on Android 1.5 - Contacts Contract does not Simple enough question. I need to know the best way to get the same list of contacts that show up when a user presses the Contacts button. You would think something like this would work: //For Contacts Intent pickIntent = new Intent(Intent.ACTION_PICK, People.CONTENT_URI); this.startActivity ForResult(pickIntent, RESULT); //For Phones Intent pickIntent = new Intent(Intent.ACTION _PICK, Phones.CONTENT_URI); this.startActivityForResult(pickIntent, RESULT); The problem is that does not include secondary google accounts or Exchange contacts. By secondary accounts, in Android you can add additional gmail accounts to have the mail/contacts synced. The above intent will not list those additional contacts. I am also told that on the HTC Desire you can add contacts to the phone that do not get synced up to Google. These contacts also do not show up. So how do I get a real list of contacts so I can create my own list activity that works properly where the Google intent does not. NOTE: Must work on Android 1.5 - Contacts Contract does not
View 3 Replies
View Related
Sep 21, 2010
Just wondering if there are any fully ported SenseUI Roms out for the Droid on Froyo?
View 4 Replies
View Related
May 14, 2010
I am using following code to open Android Contacts
CODE:.............
Now i want to put Button at the top of this Contact activity when opened or add my own Menu in this Activity.
View 2 Replies
View Related
Jul 21, 2010
Just a small discussion. Curious as to why people prefer Sense-less ROM's. Android is the best cell phone OS I have ever used, and I think the SenseUI only improves it, aesthetically(sp?) and socially speaking. The tiny lag my Hero suffers is worth it for all of the beautiful widgets, the launcher, the Facebook and Twitter integrations and did I mention. I have never described anything electronic as beautiful before! The stock Android look captivates me until I use it. It seems so bland and *ugh* to me. And as far as speed goes, the Senseless ROM's I have tried are no faster then the Fresh ROM I am running, and if it is it's completely unnoticed by me. But anyways I am just curious what reasons you have for using the SenseUI or stock Android OS, whether it be for apps to run more efficiently, speed, whatever. Just curious, might try a couple new ROM's soon.
View 8 Replies
View Related
Aug 12, 2009
I have a bit of code that takes a list of contact ID's that have been selected and return a cursor with other data I might be interested in for those ID's.
CODE:............
View 5 Replies
View Related
Sep 25, 2010
It didn't happen right away after I updated but suddenly I started getting messages about rosi something and then HTC sense stopped suddenly force close. I used a rooted update OTA.
View 1 Replies
View Related
Sep 6, 2010
I'm trying to get an Android background service to be "notified" when the user chooses a phone number (he wishes to call) from the phone's contacts list. My goal with this is to prevent the system from placing the call and present a user with a choice dialog, then go from there.
View 1 Replies
View Related
Mar 28, 2010
I have an ex that keeps calling me. I blocked his # in my address book to go to voicemail, now he calls me from random #'s and its getting really annoying. I don't want to keep my phone shut off all the time. I called tmo and a really nice tech advised me to look for group app that will help, I am looking for an app that will let me block all calls except for my contacts or certain #'s I want the calls coming in.
View 7 Replies
View Related
Aug 10, 2010
Ive read through the docs and searched on here, but I'm not quite understanding how all the pieces fit together. Was wondering if anyone has a clear explanation of how to grab a single column of data from Contacts and have it populate an autocomplete box.
View 2 Replies
View Related
Nov 20, 2010
We are trying to create a listview exactly similar to 'call log listview' of 'contact' application (which is a default one). There is one listview item but two clickable controls.
1. Left one - for viewing call log details
2. Right one - for calling that person
View 3 Replies
View Related
Nov 17, 2010
I want to show image of contacts(form contact list) in my application. How to do it?
View 1 Replies
View Related
May 16, 2010
Wondering if it is possible to disable the SenseUI skin from the Legend? This is, I mean, able to enable it again when I feel like it. I see "HTC Sense" in Manage Applications..what would happen if I press "Force stop" under controls, or Clear Data?
View 7 Replies
View Related
Jun 4, 2010
Note for anyone attempting to do this, Apps2sd is not working with this method currently.
Flash latest OverClock kernal:-
http://forum.xda-developers.com/attachment.php?attachmentid=324420&d=1273525541
Download QuickBoot -http://www.androlib.com/android.application.com-siriusapplications-quickboot-jDpx.aspx. Download Home replacement App. Open up Command Prompt (Go to run, type in cmd, press enter). Type in:
[Code]
View 49 Replies
View Related
Jul 8, 2010
I find it amusing how many Senseless ROMS are popping up. The majority of all ROMS thus far are Senseless and I don't really get it. The main reason I sold my MotoDroid to get the HTC Incredible was for SenseUI and now everybody is wanting to ditch it. I need more Sense ROMs to play with and theres just nothing to choose from. SO I figured I would start a poll and see if I am the only one. So is it a Sense or Senseless ROM preference?
View 38 Replies
View Related
Jul 23, 2009
Currently I am working on IM, and I am facing problem during implementations. I am implementing this messenger using XMPP client and using smack API for implementing all features like contacts list, online offline status, and chat also. Prblem which I am facing:
Its my list view where I am showing contacts list
public class ContactsList extends ListActivity implements OnClickListener{
@Override protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
ContactsManager manager = new ContactsManager(this); setListAdapter(manager);
} public class ContactsManager extends BaseAdapter{
private LayoutInflater mInflater; private Bitmap mainListIcons[];
private static ContactsInfo contactsInfo; public ContactsManager(Context context) {
mInflater = LayoutInflater.from(context); mainListIcons= new Bitmap[3];
mainListIcons[0] = BitmapFactory.decodeResource (context.getResources(), R.drawable.online);
mainListIcons[1] = BitmapFactory.decodeResource (context.getResources(), R.drawable.offline);
} @Override public int getCount() { return Global.contacts.size();//
contacts is vector where I am saving my contacts
} public Object getItem(int position) { return position;
} public long getItemId(int position) { return position;
} public View getView(int position, View convertView, ViewGroup parent) {
ViewHolder holder; if (convertView == null) {
convertView = mInflater.inflate (R.layout.main_settings_lists_icon_text, null);
holder = new ViewHolder(); holder.mainListDisplayText = (TextView) convertView.findViewById(R.id.main_settings_lists_text);
holder.mainListDisplayIcon = (ImageView) convertView.findViewById(R.id.main_settings_lists_icon);
convertView.setTag(holder);}else{ holder = (ViewHolder) convertView.getTag();
} contactsInfo = (ContactsInfo)Global.contacts.elementAt (position);
String username = contactsInfo.getUsername(); String status = contactsInfo.getUserstatus();
if(status.equalsIgnoreCase("unavailable")) { older.mainListDisplayIcon.setImageBitmap(mainListIcons[1]);
}else{ holder.mainListDisplayIcon.setImageBitmap(mainListIcons[0]);
} holder.mainListDisplayText.setText(username); return convertView;
} static class ViewHolder { TextView mainListDisplayText;
ImageView mainListDisplayIcon;}
public class ContactsHandler implements RosterListener {
@Override public void entriesAdded(Collection<String> c) {
for(String s:c) { Log.i("ADDED Contacts",s);
} } @Override public void presenceChanged(Presence p) {
Log.i("PRESENCE",p.getFrom()); Log.i("IS Available",""+p.isAvailable());
Log.i("UserStatus",""+p.getStatus()); if(p.getFrom().contains("@") && p.isAvailable())
{ ChatManager chatmanager = Connection.getVopConnection getXMPPConnection().getChatManager();
Chat newChat = chatmanager.createChat("gulfam@imran-mehmood", new ChatHandler());
} } }
View 2 Replies
View Related
Jan 23, 2009
I need to load Contacts.Phones.CONTENT_URI and Contacts.ContactMethods.CONTENT_EMAIL_URI into a ListActivity.
Since these are separate Content URIs, I have two separate cursors and can't construct a SimpleCursorAdapter for use in the ListActivity.
The problem is that I have more than a thousand records for CONTENT_EMAIL_URI, which were automatically loaded by GMail. The app becomes unresponsive and Android prompts to kill the app or wait.
Is there a way to make the ListActivity content load in the background, like, by writing a custom implementation of android.widget.Adapter?
Or is it more feasible to use a single cursor, by manually running the SQL query on the contacts tables?
View 5 Replies
View Related
Aug 12, 2010
ive got a problem with my sms contacts list. it is linked somehow to facebook and each contact has been replicated like 8 times yet if i go into people on the phone section its finr it just shows my contacts on my phone not fbook ones (too many friends u see lol) there fore the list is massive and i think its growing
View 4 Replies
View Related
Oct 10, 2010
I am not a fan of the stock Android UI, and I really like HTC's SenseUI. Just thought I'd ask if there is a port of SenseUI for the Droid. By the way, I know that there is a SenseUI theme for ShadowROM. I am running that on my phone now.
View 5 Replies
View Related
Jul 13, 2010
I've flashed with the new froyo ROM with senseUI and am finding it brill. One quirk though is that when typing out a text message, there's no key in the bottom left to minimize/esc from the keyboard. If I use the Back key it exits the app (chomp). It's still beta!)
View 6 Replies
View Related
May 20, 2010
Am I the only one who thinks HTC needs to get on the ball and tweak SenseUI to work in landscape mode? I mean seriously, they built the hardware with the kickstand for it to sit in landscape mode yet the software is stuck in portrait. Does anyone know of a reference that lists the differences between stock Android and SenseUI?
View 36 Replies
View Related
Jun 26, 2010
Is it possible to sort the PEOPLE's ( contact ) list by last name Given Aria is a sense UI it still would be useful to sort by last name.
View 6 Replies
View Related
Jun 9, 2010
If i goto call the other half from my contacts list, it says that hs number is not available If I dial it manually, it connects ok. If I interrogate the contact details the number is correct except that the desire has automatically changed the number from 0781. to 44781 without a + infront of it. Could this be a the problem? If he calls me, the number displayed is the same as the contact details. I have noticed however that his facebook picture is an old one. Could it have something to do with the number that he has on his facebook profile.
View 2 Replies
View Related
May 8, 2010
I am trying to my mom to my "favorites" screen on one of my homepages. The funny thing is, she is not listed when I hit the + key. Yet if I go to people, her name is there. I also noticed that the contact list that came up on the favorites screen was much shorter than the contacts I have listed under people. Could some of them be on the SD card? How do I get them merged? Or am I off base?
View 2 Replies
View Related