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.

Croco
--~--~---------~--~----~------------~-------~--~----~



Other Threads

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

Hi

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?

Br
Imre

-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: 

2. how to start a new activity within Tabactivity

hiii all ....

i have a four tabs. using following codes

TabHost host = getTabHost();

  host.addTab(host.newTabSpec("one").setIndicator("Sip
Phone",getResources().getDrawable(R.drawable.ic_launcher_phone_dialer)).setContent(new
Intent(this, tabactivity1.class)));

        host.addTab(host.newTabSpec("two").setIndicator("Call
Log",getResources().getDrawable(R.drawable.ic_contacts_edit_contacts)).setContent(new
Intent(this, tabactivity2.class)));

  host.addTab(host.newTabSpec("three").setIndicator("Phone
Book",getResources().getDrawable(R.drawable.abcd)).setContent(new
Intent(this, tabactivity3.class)));

 host.addTab(host.newTabSpec("four").setIndicator("About
Us",getResources().getDrawable(R.drawable.im)).setContent(new Intent(this,
tabactivity4.class)));



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