How detect user locale to switch application into the good locale?

by croco » Wed, 23 Sep 2009 05:14:22 GMT

Sponsored Links
 Hi all,

My I18n files are ready but i can't find the way to detect the locale
of the android user to do the good switch ?

Thank you for your support.


Other Threads

1. Extending functionality of kernel/drivers/rtc/alarm.c ?


Has anybody thought of extending the functionality available in kernel/
drivers/rtc/alarm.c regarding allowing kernel drivers to use the
utility to be notified when a certain time has elapsed although the
CPU the kernel is running on is power collapsed?

One could for example have a device that uses a HW watchdog that needs
to be kicked periodically to keep certain functionality running. The
idea is to wake the CPU up periodically from RTC and then perform a
watchdog kick and then let the CPU go down again.

I am aware that the alarm.c only interfaces user-space today and that
there is an alarm manager in Java that sorts the time that should wake
up the CPU nearest in future. I was thinking to add similar to the
kernel where this new part sorts the time requested by user-space and
time requested by kernel drivers and set the time nearest in future to
expire to the RTC.

If this idea is "no way this is stupid and how could you even think
like this" can you recommend any other method that might work?



2. how to start a new activity within Tabactivity

hiii all ....

i have a four tabs. using following codes

TabHost host = getTabHost();

Intent(this, tabactivity1.class)));

Intent(this, tabactivity2.class)));

Intent(this, tabactivity3.class)));

Us",getResources().getDrawable( Intent(this,

And the Problem is If i want to start activity which is not specified
in tabhost in above Java code,it is going out of tabactivity.
ie.,It is not coming in tabactivity.

it is possible that i can start a new activity within the tabactivity3 or
replace the tabactivity3 screen.

its possible in android or not.

can anyone do this in android.
plz help me
thank you


3. Shutdown from Android Kernel

4. midi engine for music apps

5. How to use 3G Connection in Android Application instead of Wi-fi?

6. Estimated Time App Verification

7. GK : bunddle the multiple apks to one apk