[android-developers] Re: How to select/install a locale other than English ?

2009-12-12 Thread Syl
. Seems others are also experiencing problems since the new SDK. Note sure how to fix it yet (so I'd suggest compiling against Android 1.6, if possible) S. On Dec 11, 4:27 am, Syl sylvain.guyoma...@altran.com wrote: My application has resources files in English and French and works

[android-developers] [Android Dev Phone 1] How to select/install a locale other than English ?

2009-12-11 Thread Syl
My application has resources files in English and French and works on Android 1.5 and . Inside the emulator, in Settings Locale Text Select Locale, I can choose English or French. This updates the language of my application. However, when I use the Android Dev Phone 1, only English is

[android-developers] [Android Manifest] How to set same XML attributes to all activities ?

2009-12-07 Thread Syl
In my application, I don't want the activity to restart when user changes his mobile's orientation or when he opens his physical keyboard. So, I have to assign the following XML attribute to all my activities in the manifest file : android:configChanges=keyboard|keyboardHidden|orientation I

[android-developers] Re: How to release Drawable object from memory ?

2009-11-28 Thread Syl
-developers.blogspot.com/2009/01/avoiding-memory-leaks Hope this helps, Daniel On Nov 26, 3:42 pm, Syl sylvain.guyoma...@altran.com wrote: In my application, user can click on a button and then he can select a picture from his gallery. This image is then displayed. However, when

[android-developers] [OutOfMemoryError] How to release Drawable object from memory ?

2009-11-26 Thread Syl
In my application, user can click on a button and then he can select a picture from his gallery. This image is then displayed. However, when the user performs 3 or 4 times this operation, the following exception is thrown, due to memory allocation problem : 11-26 18:31:34.119:

[android-developers] Re: How to remove sms notifications in status bar

2009-11-24 Thread Syl
I have the same problem problem of you Muhammad. I manage to detect SMS receive using a BroadcastReceiver and then delete the specified SMS in inbox. However, status bar notification always remains. I think it is not possible to remove this notification because it's sent by the Messaging

[android-developers] [Form] Does it exist an Android view equivalent to a select HTML input element ?

2009-11-24 Thread Syl
Does it exist an Android view equivalent to a select HTML input element ? In my application, user should fill a form. I know that ListView can display a list of elements but I think it's not relevant for a form. Thanks. -- You received this message because you are subscribed to the Google

[android-developers] Re: Installing APK from Internet?

2009-11-19 Thread Syl
I have tested installation from Internet but only with the Emulator. Inside a web page, I set a link toward a APK file (for example : a href=/myApplication.apkClick here to install/a). From the web browser in the emulator, when I click on the link, the file is downloaded. Then, when I click on

[android-developers] Re: [Quit application correctly] How to execute code before exiting application ?

2009-11-19 Thread Syl
is a fairly nebulous concept on Android.  You should do this kind of stuff in Activity -- for example, as long as you have an activity in the start state, then continue running your work thread. On Wed, Nov 18, 2009 at 2:02 AM, Syl sylvain.guyoma...@altran.com wrote: I would like to know how

[android-developers] [Quit application correctly] How to execute code before exiting application ?

2009-11-18 Thread Syl
I would like to know how to execute code before exiting application. My application is composed of several activities. When the user starts the application (from the launcher menu or from a notification in the status bar), he goes in an InitActivity where I process some initializations. From user

[android-developers] MapActivity - Couldn't get connection factory client error in LogCat

2009-11-04 Thread Syl
I met an issue to use the Google Maps API, even using the sample code available in Android SDK dir/add-ons/google_apis-4/samples/ MapsDemo directory and modifing the android:api-key attribute value with my own Maps API key in the MapView element. The MapView always stays grey. I create a project

[android-developers] TDD

2009-09-07 Thread syl
I've been looking at various tools and reading various articles around TDD on the Android platform. A common thread seems to be that the testing framework is very poorly documented - and indeed that seems to be the case. From what I can see, standard JUNIT testing (not using activities) is very