Android : Picking Up A PhoneBook Entry Under 2.0
Nov 1, 2009
The party is over and Google suddenly released the much anticipated Android 2.0 SDK.
Much improvement for sure !
That said, the party is over and I came to have to deal with the following Ghost;
I've released an app in the market (Ambu) - so far qualified under SDK 1.5 &1.6. Using the emulator for Android 2.0, things don't work anymore.
This is what I'd like to share;
- my app invokes an ACTION.PICK intent as way to extract phone contact from the phone book and populate a database.
When compiling my app using the SDK version 1.6 and a target emulator configured at 1.6 level, the following code WORKS:
CODE:.........
When running the same code (compiled with SDK 1.6) and a target emulator at 2.0 level, the above code never return the entries I have populated in my the phone book. It's as if the phonebook was always empty.
A couple of additional observations;
- When running the emulator in 2.0 mode, the default local input type is Japaneese. Any way to change this ?
- Under the 2.0 emulator, and setting a "clean" AVD image, if you launch the dial button, press menu and select account, you'll probably immediatly get a "android.process.acore" error ...
- In the most recent SDK document, I can read that "People.CONTENT_URI" was deprecated after SDK 1.6. Therefore, I've changed the above code to:
CODE:.........
Unfortunatly, with the above, I get a crash right away when invoking ACTION_PICK.
Question to the Google Folks (dear dianne and others, please !);
How to we properly pick a phonebook contact under the 2.0 OS using 1.6 or 2.0 compiled apps ?
View 16 Replies
Jan 4, 2010
when i am composing a text message, sometimes the box of the entry goes larger and goes back smaller, is there a way to increase the text entry box size, say, double tap on it to bring up a whole screen text entry area?
View 2 Replies
View Related
Sep 4, 2010
I'm writing a live wallpaper and need some help. My wallpaper will create an effect over top of another image or existing wallpaper (not another live wallpaper) that the user chooses in the "Settings".My problem is this: I can't find a way to list the static wallpapers or images on the phone. I've seen some examples of getting the camera images, but not the wallpapers.
View 1 Replies
View Related
Nov 24, 2009
I'm able to successfully use the contact picker on the Motorola Cliq using the intent:
new Intent(Intent.ACTION_PICK, People.CONTENT_URI)
It works as expected, and I'm able to get the contact data in onActivityResult()
However, every single time, I get an error dialog: "The application Contacts (process com.motorola.blur.contacts) has stopped unexpectedly. Please try again. (Force Close)"
The error in LogCat: android.app.SuperNotCalledException: Activity {com.motorola.blur.contacts/ com.motorola.blur.contacts.picker.PickPeopleActivity} did not call through to super.onDestroy()
So does this mean the contacts picker on the Cliq is just plain broken? Has anyone else seen this error, and/or been able to successfully use the contacts picker on the Cliq without getting error messages?
View 8 Replies
View Related
Sep 22, 2010
the first day I had the phone, it was picking up wi-fi networks. I got it to connect to my home network, then it disconnected. Everyone I go into settings it is "Searching" and never picks up on my network anymore.I have googled to death. Can anyone suggest what is wrong or how to set this up.
View 4 Replies
View Related
Jan 28, 2010
I wish to re-use the Contacts application in a way to enable the user to pick a contact and return it to the parent activity (my application's activity).
For achieving this, I want to inquire about the kind of Intent that will be needed to launch the contacts application.
Intent i = new Intent(Intent.ACTION_GET_CONTENT, ?); startActivityForResult(.....);
What should be the second argument here ?
In the deprecated Contacts API, I could use the following snippet, but not sure about ContactsContract:
Intent i= new Intent(Intent.ACTION_GET_CONTENT,People.CONTENT_URI); startActivityForResult(i, reqCode);
View 3 Replies
View Related
Sep 2, 2010
I have a 3D game and I am using color-picking to know which object was selected.
When the user touches the screen, I draw each object with a different color. Then I read the color where the user touched the screen to know which object was selected. After that I draw each object with their respective textures/colors. (everything done during one onDrawFrame pass)
The problem is that sometimes the colored objects appear on the screen (~5% of the times the user touches the screen) and it is even worse on slower hardwares.
This is my pseudo code:
CODE:...........................
View 9 Replies
View Related
Aug 3, 2010
I'm trying to use DDMS to track my allocations, but it only finds my activity if I run it on the emulator. If I run my app on my phone it can't find it, even though it finds the phone. Is there anything specific that I need to do that I might have missed?
View 9 Replies
View Related
Sep 7, 2010
Not sure if any of you guys have the same problem but when I leave my Wifi on all day, and return home from work, my home Wifi never picks back up. When I toggle my Wifi on and off, it picks up again. My signal is always above 1 bar when on Wifi in my house, it just does NOT automatically connect anymore.
View 4 Replies
View Related
Sep 2, 2010
One thing I've noticed though is that this thing just doesn't seem to be picking up my email very well at all...personal or work. Are any of you getting this issue? I'm used to the BB getting them almost instantly which is important to me because of my work. I'm also getting this notification saying "Network Error" from time to time. What's up with that? Overall I'm happy with this phone but I really hope that I can get my email situation solved.
View 49 Replies
View Related
Aug 27, 2010
I just got the phone this pastweek and was told that my voicemail is not picking up... it rings for ever then goes to " the wireles number is not available at this time". i try and setup my voicemail box per ATT instructions on their website, but it dont work...
View 1 Replies
View Related
Oct 18, 2010
I am having a problem with my Desire's GPS, I am running the official Orange 2.2 Update and ever since the update my Desire won't pick up my GPS location. It displays the GPS icon in the notification bar but whenever I use Maps or Navigation (Google) it constantly displays 'Searching for GPS'. This is my 2nd Desire as I lost my original, and I do not remember even trying the GPS before the update (due to it being so close to the update release), so I don't know if it is the update or a fault. I would like to know if anyone else has had an issue with this, I know Voda had a similar issue with their update, and how you fixed it. I have tried removing the battery, SIM and SD card but I haven't tried a factory reset yet. I am also wondering if there is a debranded ROM I can flash without rooting in which I could revert back to the original if I needed to send it back to HTC. I am pretty sure this device is SLCD as I can notice the difference from my original AMOLED model.
View 7 Replies
View Related
Jul 26, 2010
When phone locked and somebody calls, i drag down to pick up: in this very moment phones shows like it would follow the procedure and pick up, but it hangs like inbetween for 4-5 seconds and THEN picks up. Meanwhile i can press Menu, Home, etc, nothing happens.. Sometime don't have that luck and the call drops. Most of the time i'm lucky and can pickup.
View 3 Replies
View Related
Oct 26, 2009
I have just received my second Galaxy handset as replacement from O2 after returning the first with what appeared to be some sort of hardware fault that caused calls to be rejected before pickup quite often just at the moment of touching the phone! I was quite happy with O2 and the way they dealt with the situation and couldn't wait for the new unit but sadly it has arrived with the very same issues as the last one and O2 are again confident that its a hardware fault and now want me to choose some other phone!
View 49 Replies
View Related
Oct 7, 2010
So last night and today I have not been able to access my USB connection through Windows... I have Vista and have tried messing with settings on both my phone and laptop...
Does anyone have any idea why this has all-of-a-sudden started being a problem?
View 6 Replies
View Related
Aug 4, 2010
Is there a way to tell if u are picking up a signal?
View 5 Replies
View Related
Nov 28, 2009
Before the update, I had a screen similar to the alarm clock screen - an arc to pull down that would answer the incoming call.But after the update, I could have sworn there was a different screen. Like instead of that arc-bar, there was a green and red "answer" and "ignore" buttons. But now its the arc bar again.can someone shed some light on this?What does YOUR screen look like when receiving a call?
View 4 Replies
View Related
Nov 24, 2010
I don't get a lot of calls...but since 2.1 upgrade I've had trouble answering them when the phone is locked. It lights up and I try to swipe the unlock bar accross to the right but it just comes back to the left. I got it once but missing calls is getting annoying.Is there anything else I can do?
View 3 Replies
View Related
Sep 28, 2012
For some reason, I lost the synchronization between my Droid and my Dell Alienware computer recently, and had to re-download the Motocast software and re-synch it.
What setting did this? And how do I UNDO the setting? Windows 7, 64-bit system.
View 3 Replies
View Related
May 3, 2010
I have written a object selection algorithm which picks the objects by their color. i give every object an unique color and then i just have to use the glReadPixels method to check which object was selected
this works fine and is really fast but the problem is that the frame is displayed on the screen with all the picking-colors so the screen flashes every time you select something.
so my question is: how do i write everything in the correct display buffer but dont display it on the screen to avoid these flashes?
View 3 Replies
View Related
Mar 24, 2010
I am working on photos options in my app. I have a button and imageview on my activity. When I click the button it will redirect to gallery and I would like to select an image. The selected image will appear in my image view. How to do that?
View 4 Replies
View Related
Oct 30, 2010
Is there some possible way of picking images from picture folder?
View 1 Replies
View Related
Jan 27, 2009
I would like to insert a new event (start time, end time, and event name) in the user's calendar. How can I do that? I have the impression, that the SDK does not have the API for it (yet), but the G1 has the APIs. Would the CalendarProvider class the way to go?
See also: http://code.google.com/p/android/issues/detail?id=1389 Did anyone succeed in adding an event to the calendar?
View 5 Replies
View Related
Jul 2, 2010
I've got my X10 yesterday, and was transferring my phone book across. But i use to have one name with 2 number such as "mobile + home" but it only transfered one across, so i want to edit the contacts, but it's really slow so is there a way i can link my computer to edit my phone books like the nokia pc suit. because I've downloaded a pc ompanion which does nothing except updating and transferring files.
View 1 Replies
View Related
Jul 12, 2010
I am trying to read and write contacts on the SIM phonebook. First I tried writing a contact with GetContentResolver.insert(), passing RawContacts.CONTENT_URI as URI and ensuring the column RawContacts.ACCOUNT_NAME had the value "SIM", and adding 2 lines (1 for4 name and 1 for phone) to Data.CONTENT_URI, linked by contact ID. This seemed to work: the contacts showed in the contact list with the SIM logo next to them, but they wouldn't survive a reboot... apparently that's just a placeholder in memory, which is synced with the real SIM at startup and at every change.
View 2 Replies
View Related
Dec 24, 2009
I was tryin to find any class to define a password field? How can we do that? Do we have a class for that or some method to edittext?
View 3 Replies
View Related
Oct 20, 2010
I've just made the switch from WinMo to Android (Samsung Galaxy). I was wondering if there is a good program for repetitive text entry? I used TapText by DinarSoft on WinMo and that was great for tapping and it would enter preconfigured text - date, name, address - anything you wanted! Is there anything similar for Android? I've had a search but all I can find is stuff for texting/sms but this is for use in any program that has a text field.
View 2 Replies
View Related
Jul 19, 2010
Still grappling with the on-screen keyboard on my HTC Desire (came frmo BB).
One thing that continues to annoy me is that when I am entering longer strings of text (eg Facebook comments/status, emails) there is no way for me to go back in the text to change or correct something. I either have to backspace all the way there, or have to try and put the cursor there by touching the screen at just the right place - either my fingers are too big or the screen isn't sensitive enough as I can never get this right.
why can't there be up/down/left/right arrows to move the cursor within the text entry box?
And another thing - there are some entry fields where the keyboard pops up and actually obscures the text entry box other than the first line and you can't see what you're typing.
View 2 Replies
View Related
Jan 1, 2010
I'd like to query the contacts and create an RDF model (FOAF to be exact) from the data received. Therefore it would be necessary to know what kind of data I'm dealing with.
I'll need the following information about each contact: name, phone number(s), email address(es), IM ID(s) + corresponding IM service.
I thought that the best way to get this information was via the ContactsContract.Data table. So my query looks like this:
code:...........
Cursor contactsTable = managedQuery(contactsURI, projection, where, whereArgs, null); </code>
(I need the DATA_VERSION to know if updating the model is necessary.)
Now I'd like to go through the table and add properties to my model for each entry. Therefore I'd need to know if the row I'm currently reading contains a name, an email address, a phone number or an IM ID (it would be best if I could also get information about the IM service the ID belongs to).
Is it possible to get the CONTENT_ITEM_TYPE or anything like that? Or should I perform a single query for each type and then connect the information via the CONTACT_ID?
View 2 Replies
View Related
Aug 20, 2010
I am developing an app in which I need to listen events whenever they are created or modified in android calendar. Is it possible to listen calendar entry when the user enters events ?
View 2 Replies
View Related