[android-developers] Re: Clear defaults programmatically

2010-05-28 Thread Bonifaz
, Bonifaz bonifaz.kaufm...@gmail.com wrote: This clears the preferences, but not the default flag set by a user when a Intent Chooser is shown to him/her. Am I right? How can I get back the Intent Chooser Dialog when a user previously set my app as default. I know you can go to Manage Applications

[android-developers] Re: Clear defaults programmatically

2010-05-28 Thread Bonifaz
Thanks TreKing, this is exactly what I meant. And thank you for your tip. I already have a description of how to do this manually, but never thought about opening the manage application activity. If there is no other way I will head for your proposed work around. On May 28, 8:37 pm, TreKing

[android-developers] Re: API 8 (Froyo) changed lockpattern setting

2010-05-25 Thread Bonifaz
It is really a shame, two of my apps are also relying on the LOCK_PATTERN_ENABLED setting not to be a secure settings (which clearly wasn't before). How can I trust that my apps will work in future when such important details simply change. I already see customers complaining about my app not

[android-developers] Re: Clear defaults programmatically

2010-04-18 Thread Bonifaz
This clears the preferences, but not the default flag set by a user when a Intent Chooser is shown to him/her. Am I right? How can I get back the Intent Chooser Dialog when a user previously set my app as default. I know you can go to Manage Applications and click clear defaults but how do I do

[android-developers] Clear defaults programmatically

2010-04-16 Thread Bonifaz
Does anyone know how to clear defaults of my own app by code. I know that a user can always go to Manage Applications, find my app and click the button there to clear previously assigned default actions. But for most users this isn't intuitive at all. I would like to offer my customers a

[android-developers] Re: Accessing contact's phone numbers

2009-12-02 Thread Bonifaz
by Facebook. At the same time, any application can read and write data from all other types of accounts, including Google and Exchange (aka Corporate) Thanks, Dmitri On Dec 1, 2009 9:31 PM, Bonifaz bonifaz.kaufm...@gmail.com wrote: I still don't know how to query Facebook contacts

[android-developers] Re: Accessing contact's phone numbers

2009-12-01 Thread Bonifaz
I still don't know how to query Facebook contacts and their phone numbers. Could please someone give me a hint about this. If I query Contacts.CONTENT_URI, it returns all contacts but not Facebook contacts. -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: [Android 2.0] Accessing contact's phone numbers

2009-11-17 Thread Bonifaz
How do we then get all contacts/phonenumbers from all accounts? If I use the new Contacts API and send an ACTION.PICK for phone numbers like Intent i = new Intent(Intent.ACTION_PICK, android.provider.ContactsContract.CommonDataKinds.Phone.CONTENT_URI); it doesn't give me for example Facebook

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

2009-11-14 Thread Bonifaz
A Blog entry about the new Contacts API from Google covering these points would be helpful. -- 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 To unsubscribe from this

[android-developers] Re: Android 2.0 SDK is here!

2009-10-27 Thread Bonifaz
This sounds great. I was fevered waiting for Bluetooth RFCOMM. Thanks so much! Multi-touch is also awesome. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Re: (unofficial) Bluetooth API v. 0.2

2009-09-11 Thread Bonifaz
or not? If I try to write to the socket it tells me in the log that the host is down, however it does not raise an exception which I can catch. ERROR/bluetooth_RfcommSocket.cpp(15717): connect error: Host is down (112) Any ideas? Bonifaz --~--~-~--~~~---~--~~ You

[android-developers] Re: Accelerometer/Orientation sensor problem

2009-05-24 Thread Bonifaz
I have the same problem of wired accelerometer data while music is playing. Does anyone have a workaround for this. Some kind of filter mechanism perhaps. I use FloatMath.sqrt(x*x + y*y + z*z) for shake detection. But even with that formular, playing music always detects shake, just raising the

[android-developers] Re: What is the permission required to toggle the phone GPS setting?

2009-04-21 Thread Bonifaz
Use should this one. uses-permission android:name=android.permission.ACCESS_FINE_LOCATION/uses- permission --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Re: Start a service from Launcher

2009-04-17 Thread Bonifaz
I want to write an application which behavs similar to those toggleXXX (wifi, gps, etc..) already on the market. As you watch carefully, they do not start an activity. How can this be done. On 17 Apr., 16:48, Mark Murphy mmur...@commonsware.com wrote: Is it possible to start a service

[android-developers] Theme.NoDisplay raises RuntimeException

2009-04-17 Thread Bonifaz
When I apply android:theme=@android:style/Theme.NoDisplay to my application (inside manifest.xml) I get a RunTimeException saying the layout_height attribute is not specified (see below). However, is this not the reason why we have Theme.NoDisplay, not to have any layout within an app? I do

[android-developers] Re: Error eclipse open layout xml

2009-04-17 Thread Bonifaz
I had the same error once. It was the '\' char at the end of a string resource. --~--~-~--~~~---~--~~ 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] Re: Theme.NoDisplay raises RuntimeException

2009-04-17 Thread Bonifaz
Yes I do that, I call finish() within onCreate()! But it raises a java.lang.Runtime Exception! I found a workaround: Now I define an own Style with parent Theme.Dialog and override the attributes which are defined in Theme.NoDisplay. However, Theme.NoDisplay should work without Exception,

[android-developers] Re: Getting a complete list of android native drawables

2009-03-20 Thread Bonifaz
Have a look at android-sdk-windows-1.1_r1\tools\lib\res\default \drawable. I suppose these are the public drawables. On Mar 20, 3:42 pm, Mark Murphy mmur...@commonsware.com wrote: That list is...  very questionable.  It contains lots and lots of resources that are not in the public SDK,

[android-developers] size of statusbar

2009-02-26 Thread Bonifaz
()-statusbar.getHeight() would be some kind of workaround. But for that I have to know how to query the statusbar height. Does any anyone know a solution? So long Bonifaz --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android