[android-developers] Re: Working with the new ContactContracts API

2009-11-10 Thread Jonathan Herriott
AbstractThreadedSyncAdapter. I'm assuming there must be a service I must implement involved somewhere, but I can't seem to find anything. Would you be able to point me in the right direction? Thanks, Jonathan Herriott On Nov 2, 5:24 pm, Dmitri Plotnikov dplotni...@google.com wrote: You can

[android-developers] Re: Extending contacts

2009-11-10 Thread Jonathan Herriott
you guys about these things ;) Thanks, Jonathan Herriott On Oct 27, 5:23 pm, Jeff Sharkey jshar...@android.com wrote: If the VoIP app can complete calls to any normal phone number, it should have an intent-filter for normal tel: style Intents, which allows you to leverage any phone numbers

[android-developers] Re: Disabling Contact Sync

2009-10-07 Thread Jonathan Herriott
So, I figured out a way to do it. It's a way that things shouldn't be done since it requires using APIs that have @hide. On Oct 6, 4:18 pm, Jonathan Herriott herri...@gmail.com wrote: Hi, So, I'm trying to figure out a way to disable Auto-Sync of the Contacts database because there may

[android-developers] Disabling Contact Sync

2009-10-06 Thread Jonathan Herriott
Contact syncing. Any help would be great. Thanks, Jonathan Herriott --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com

[android-developers] Re: Determining Who Passed an Intent to You

2009-08-20 Thread Jonathan Herriott
:13 PM, Jonathan Herriott herri...@gmail.comwrote: As I said previously, I don't want another application to be able to request access to data I'm storing for another application.  Maybe I'm misunderstanding permissions, but from what I know, permissions must be declared

[android-developers] Re: Determining Who Passed an Intent to You

2009-08-19 Thread Jonathan Herriott
to check a specific permission against the current calling uid. On Tue, Aug 18, 2009 at 1:21 PM, Jonathan Herriott herri...@gmail.comwrote: Yeah, sorry, I just noticed the ability to get the Uid in IBinder.Stub.  I didn't realize this at first since my interface calls functions

[android-developers] Re: Determining Who Passed an Intent to You

2009-08-18 Thread Jonathan Herriott
. There are also issues with that approach as well that I'd have to deal with. Thanks, Jonathan Herriott On Aug 18, 11:30 am, Jiri jiriheitla...@googlemail.com wrote: COuld you maybe use intent.getComponent() and then use the packageManager its getReceiverInfo(componentName); http

[android-developers] Re: Determining Who Passed an Intent to You

2009-08-18 Thread Jonathan Herriott
, I would also like to be able to do the same thing in a ContentProvider, but again, there seems to be no function to obtain this information. Thanks, Jonathan Herriott On Aug 18, 12:16 pm, Dianne Hackborn hack...@android.com wrote: There isn't any way to do this for a service, though you can find

[android-developers] Re: Determining Who Passed an Intent to You

2009-08-18 Thread Jonathan Herriott
the provider in the manifest with different read and write permissions, and in Donut you will be able to specify other permissions in the manifest for specific paths. I don't think we need a feature request. :) On Tue, Aug 18, 2009 at 12:37 PM, Jonathan Herriott herri...@gmail.comwrote: Hi

[android-developers] Re: Determining Who Passed an Intent to You

2009-08-18 Thread Jonathan Herriott
Oh, I just realized also, in case anyone wants to know, you can directly call Binder.getCallingUid(), and you can see examples in android/packages/providers/DownloadProvider/src/com/android/providers/ downloads/DownloadProvider.java On Aug 18, 1:21 pm, Jonathan Herriott herri...@gmail.com wrote

[android-developers] Removing Missed Call Notification

2009-06-19 Thread Jonathan Herriott
Hi, So, I've been researching how to clear missed calls, and I can't find the API to do it. I've tried setting Calls.NEW in the CallLogs database to 0 for missed calls, and I've verified that the values are set in the emulator's database, but the notification never disappears. I've seen other

[android-developers] Re: Android 1.5 SDK now available

2009-05-27 Thread Jonathan Herriott
I talked to Romain Guy about a bug that is in 1.5 that is a huge bug (to me) with no good work-a-around that I am experiencing, but I don't know how many other people will run into the issue (Issue 2773 if you're interested). I was wondering if I fix the issue myself and check it in, is it

[android-developers] Re: Question on ContentProviders

2009-05-13 Thread Jonathan Herriott
, Jonathan Herriott herri...@gmail.comwrote: So, I'm guessing I need to limit the number of rows that can exist in a ContentProvider, so as to avoid memory issues if per some strange chance the provider has a ridiculous number of rows.  I'm actually going to go and test to see

[android-developers] Re: Question on ContentProviders

2009-05-12 Thread Jonathan Herriott
need to spend more time studying the code? Thanks, Jonathan Herriott On May 11, 5:50 pm, Dianne Hackborn hack...@android.com wrote: Not sure what you mean.  The content provider runs in its own process.  When you do a query, the results are windowed in shared memory for access by your process

[android-developers] Re: Question on ContentProviders

2009-05-12 Thread Jonathan Herriott
, Jonathan Herriott herri...@gmail.comwrote: Hi Dianne, That essentially answers my question.  I was curious as to what happens when you query, say, a database that contains 100K rows, how it effects memory.  From what you said, I'm assuming that it stores a subset in shared memory

[android-developers] AppWidgetHost Questions

2009-05-07 Thread Jonathan Herriott
Hi, I would like to host app widgets in my own application, and I have a few questions associated with it. 1) When creating an AppWidgetHost instance, there is a hostId that needs to be supplied, what happens if this collides with another application's hostId? 2) It seems the only way to

[android-developers] Installing Image on ADP

2009-04-28 Thread Jonathan Herriott
Hi, I'm running into an issue when I am trying to install an Android image onto the dev phone. I get to the point where it shows on the phone that it is ready for fastboot, and when I do: sudo fastboot flashall It never finishes. I've waited over an hour. It isn't waiting for the device, but

[android-developers] Re: Comunication Server-Phone: SMS directed to an application (0.9 SDK)

2008-11-17 Thread Jonathan Herriott
that android don´t support this yet... On 10 out, 18:49, Jonathan Herriott [EMAIL PROTECTED] wrote: Bump.  This needs to be addressed. On Aug 29, 10:31 am, Cristina [EMAIL PROTECTED] wrote: Hi! I am actually using the http client library in order to comunicate from my app

[android-developers] Re: Windows driver for HTC G1 phone

2008-10-23 Thread Jonathan Herriott
Hi, The Found New Hardware Wizard is unable to detect the drivers after I already specified exactly which directory to look. Has anyone else run into these issues? Thanks On Oct 22, 1:32 am, Beau Gunderson [EMAIL PROTECTED] wrote: Here's the link from the other thread on this topic: