Re: [android-developers] Re: why is my app asking to access phone calls and storage?

2009-11-29 Thread Rachel Blackman
I think you didn't understand Dianne's answer. Prior to 1.6, those operations did not require a permission; all apps could get that information. In 1.6 and later, those operations require the appropriate permissions to work. An app targeting 1.6 or later will have an appropriate manifest; if

Re: [android-developers] Re: My app runs fine on ADP1, but crashes the Motorola Droid?

2009-11-23 Thread Rachel Blackman
My Droid has, sadly, spontaneously rebooted on me 4 times so far today, all while in the Gmail app. (Granted, this is the worst it has ever been.) :( I'm running Locale and Google Voice as services, so I suppose one of them might be the culprit... but I sort of doubt that. -- Sent from my Droid

Re: [android-developers] Re: How to get all contact's name phone number, email for 2.0

2009-11-23 Thread Rachel Blackman
On Nov 20, 2009, at 6:09 PM, Padma wrote: Rachel: My understanding is that the contact Id in the Phone/Email table actually refers to the _ID in the ContactsContract.RawContacts table. You might want to first get the list of all Raw Contacts associated with the particular contact id and

Re: [android-developers] Re: My app runs fine on ADP1, but crashes the Motorola Droid?

2009-11-23 Thread Rachel Blackman
On Nov 23, 2009, at 12:04 PM, Dianne Hackborn wrote: Use adb logcat right after the boot to see in the log why the system crashed. Apps of course should not be able to make this happen, but sometimes there are bugs. Unfortunately, I was out and about when the crashes happened, so had no

Re: [android-developers] Re: My app runs fine on ADP1, but crashes the Motorola Droid?

2009-11-23 Thread Rachel Blackman
On Nov 23, 2009, at 4:04 PM, Mark Murphy wrote: Bear in mind that logcat is collected even when your device is not connected to a logcat client. Of course, it may still have been too long between the occurrence and when you could get to a logcat client, since logcat uses some sort of

Re: [android-developers] How to run the email app background

2009-11-21 Thread Rachel Blackman
On Nov 21, 2009, at 12:12 AM, manoj wrote: It is working fine, I mean sending the mail to the reciever. But it is launching another Email app (android default app I guess). But I dont want it to be launched, I want directly send the mail to reciepent. Then you will need to write ESMTP

Re: [android-developers] Re: Map application and KMZ files....

2009-11-20 Thread Rachel Blackman
On Nov 20, 2009, at 7:11 AM, furby wrote: I know that isn't exactly right - I can start the map application using an intent like this : final Intent myIntent = new Intent(android.content.Intent.ACTION_VIEW, Uri.parse(geo:0,0?q=http://code.google.com/apis/kml/documentation/

Re: [android-developers] Re: How to get all contact's name phone number, email for 2.0

2009-11-20 Thread Rachel Blackman
On Nov 20, 2009, at 6:55 AM, Henry wrote: Now, it always return just one row. I tried several ways, like ContactsContract.CommonDataKinds.Email.CONTACT_ID + in ('1', '2', '3'); It always one row. If I just contact id 3, it will return contact 3. Do you know a way to get all the emails

Re: [android-developers] getting error while importing com.google.googlenav.map.MapPoint; ..........

2009-11-19 Thread Rachel Blackman
As far as I know, the com.google.googlenav package is not around anymore, or at least not user-accessible. You want the newer com.google.android.maps package. http://code.google.com/android/add-ons/google-apis/reference/index.html On Nov 19, 2009 1:05 AM, bharath gunturibharathmo...@gmail.com

Re: [android-developers] building to support both contacts 1.6 and 2.0 apis

2009-11-18 Thread Rachel Blackman
On Nov 17, 2009, at 12:24 PM, androsag wrote: As has been discussed on this list, the 2.0 Contacts API is a significant overhaul. And that the 1.6 API has been deprecated. Usually this means use of the 1.6 API is discouraged but maintained for at least a little while. I am not that this is

Re: [android-developers] Re: [Android 2.0] Contacts FAQ?

2009-11-18 Thread Rachel Blackman
On Nov 18, 2009, at 1:43 AM, GDroid wrote: I would like to add one more question to this issue: 15) What is the best way to write the code so in case the API Level is below 5, some of the contacts actions can still be done correctly. As far as I've checked when publishing an application

Re: [android-developers] ContactsContract.Data RAW_CONTACT_ID vs. CONTACT_ID

2009-11-18 Thread Rachel Blackman
On Nov 18, 2009, at 12:58 PM, jak. wrote: For example I create a brand new contact like so? : // (please pay attenion to use of Data RAW_CONTACT_ID vs. CONTACT_ID) // According to the Google folks on the list, the recommended method is not to add contacts yourself but rather to use the

Re: [android-developers] Re: [Android 2.0] Contacts FAQ?

2009-11-17 Thread Rachel Blackman
On Nov 17, 2009, at 10:21 AM, Jeff Sharkey wrote: [ ... snip ... ] Thank you! I'll try to write up an updated FAQ this evening, with some short examples written for various queries, and post a draft. :) -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] Re: Unable to determine signal strength on Droid / Android 2.0 (onSignalStrengthsChanged deprecated)

2009-11-17 Thread Rachel Blackman
On Nov 17, 2009, at 10:41 AM, nEx.Software wrote: onSignalStrengthsChanged is hidden from the SDK, unfortunately. Maybe they no longer want applications reading the signal strength, hence deprecating a public call while making the replacement private? -- You received this message because

Re: [android-developers] Does styled text support html tag: p and br ?

2009-11-16 Thread Rachel Blackman
On Nov 16, 2009, at 9:49 AM, lei wrote: Styled text supports: b,i, does it support more html tags, like p or br ? Styled Text is not HTML, rather merely styled text (i.e., bold, italic, underline) which happens to use HTML tags to handle that markup. If you just want a new line of text in

Re: [android-developers] Re: Android Market Anti-Piracy

2009-11-16 Thread Rachel Blackman
On Nov 16, 2009, at 10:34 AM, nEx.Software wrote: Not to mention that just because someone might have pirated some app at some time, doesn't mean that they pirated your app. That's why it needs to be able to check against Google Checkout or whatever payment processor is used... Also not to

Re: [android-developers] Re: Android Market Anti-Piracy

2009-11-16 Thread Rachel Blackman
Not to mention that just because someone might have pirated some app at some time, doesn't mean that they pirated your app. That's why it needs to be able to check against Google Checkout or whatever payment processor is used... Also not to mention how many people buy out-of-contract phones

Re: [android-developers] How to get all contact's name phone number, email for 2.0

2009-11-13 Thread Rachel Blackman
On Nov 13, 2009, at 3:33 AM, Jeff Sharkey wrote: Could you paste the exact query() that is returning empty for you? Since all data is now stored in a single table you should be able to query on Data.CONTENT_URI and filter by Data.MIMETYPE to match the two types you're looking for. I

[android-developers] [Android 2.0] Contacts FAQ?

2009-11-13 Thread Rachel Blackman
So, judging from list traffic, there's... confusion, let's say, surrounding the Android 2.0 ContactsContract API. Some parts of the new API are fairly straightforward, others? Not so much. Look at the threads about How do I set a contact photo? or How do I create a new contact under 2.0,

Re: [android-developers] [Android 2.0] Contacts FAQ?

2009-11-13 Thread Rachel Blackman
Bah. List got truncated. - 1) How do I just get ALL the contacts under the 2.0 API? * I already posted an example of this, and I can readily turn something like that into a simple compilable project. 2) Given a contact, how do I get all the phone numbers? * Ditto above. 3) Given a

Re: [android-developers] [Android 2.0] Contacts FAQ?

2009-11-13 Thread Rachel Blackman
On Nov 13, 2009, at 6:57 PM, Yao wrote: Another important thing is that are new contact APIs stable and public? Will they be changed in the next release? I've been seeing this is a private method many times. Contacts APIs were very stable before, but this time, new APIs is a big change