[android-developers] How do you start a service on installation?

2008-12-17 Thread devile...@gmail.com
I need a service to begin the moment my application is installed. Is this possible? My current approach is to create a BroadcastService which receives the PACKAGE_ADDED action. However, this only seems to work after my application is installed, not when my application is installed. receiver

[android-developers] How to remove Gallery drop shadow

2008-12-12 Thread devile...@gmail.com
The gallery view creates a shadow around all gallery items. Is there a way to remove this? Going through the source code, I can't even find where this shadow is added. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Gallery child views don't receive key events

2008-12-11 Thread devile...@gmail.com
Is there a way for a gallery child view to receive proper key events. Currently, the gallery will pass press events but not key events. The following code uses an EditView as an example. On any selected EditView you cannot change the text. Also, when I use ViewGroups as the child views the

[android-developers] Re: How can I specify message body part in SMS intent?

2008-12-09 Thread devile...@gmail.com
Intent sendIntent = new Intent(Intent.ACTION_VIEW); sendIntent.putExtra(sms_body, The SMS text); sendIntent.setType(vnd.android-dir/mms-sms); startActivity(sendIntent); Source: http://jtribe.blogspot.com/2008/12/sending-sms-using-android-intents.html On Oct 28, 12:12 am, sori [EMAIL PROTECTED]