Howto change the language settings in Android source on Mini2440

by Prakash A S » Sun, 07 Feb 2010 23:36:58 GMT


Sponsored Links
 Dear all,
        I got the android source/image from www.developmentboard.net
and ported it on Mini2440 board. Its booted properly. But the issue is
the language. By default, it has the chinees langauge. I want to
change it into english in the kernel itself. Help me, how to change
the Android language setting in the source before we create the
android kernel image?.

-Regards,
Prakash a s

-- 



Howto change the language settings in Android source on Mini2440

by Anand » Wed, 17 Feb 2010 02:11:14 GMT


 change the country/language and timezone in default.props to EN or UK
and
ASIA/India. edit this file by serial terminal by vi command




-- 


Sponsored Links


Other Threads

1. Can I use Picture.writeToStream to save picture to filesystem as png or jpeg format?

Hi folks,
I am trying to capture screen from WebView and save the picture into
either JPEG or PNG formats on android local filesystem. However,
documentation of Picture.writeToStream doesn't mention anything about
what format it stores or supports. So I am wondering is it possible to
do what I want to do in android?
--~--~---------~--~----~------------~-------~--~----~

2. Bug with EditText and Linkifycation?

Hi,

I have an EditText with linkifycation on.

But if the content contains a link and I tap on it or move the cursor
in it, I get an IndexOutOfBoundsException.

Stacktrace below.

I think the problem is the getCapsMode method of TextUtils. They don't
check if the offset is below 0. So it crashes if there is no
selection.


E/AndroidRuntime( 2853): Uncaught handler: thread main exiting due to
uncaught exception
E/AndroidRuntime( 2853): java.lang.IndexOutOfBoundsException: charAt:
-2 < 0
E/AndroidRuntime( 2853):        at
android.text.SpannableStringBuilder.charAt(SpannableStringBuilder.java:
110)
E/AndroidRuntime( 2853):        at android.text.TextUtils.getCapsMode
(TextUtils.java:1562)
E/AndroidRuntime( 2853):        at
android.view.inputmethod.BaseInputConnection.getCursorCapsMode
(BaseInputConnection.java:273)
E/AndroidRuntime( 2853):        at
android.widget.TextView.onCreateInputConnection(TextView.java:4346)
E/AndroidRuntime( 2853):        at
android.view.inputmethod.InputMethodManager.startInputInner
(InputMethodManager.java:933)
E/AndroidRuntime( 2853):        at
android.view.inputmethod.InputMethodManager.checkFocus
(InputMethodManager.java:1105)
E/AndroidRuntime( 2853):        at
android.view.inputmethod.InputMethodManager.isActive
(InputMethodManager.java:530)
E/AndroidRuntime( 2853):        at android.widget.TextView.onDraw
(TextView.java:3880)
E/AndroidRuntime( 2853):        at android.view.View.draw(View.java:
5838)
E/AndroidRuntime( 2853):        at android.view.ViewGroup.drawChild
(ViewGroup.java:1486)
E/AndroidRuntime( 2853):        at android.view.ViewGroup.dispatchDraw
(ViewGroup.java:1228)
E/AndroidRuntime( 2853):        at android.view.ViewGroup.drawChild
(ViewGroup.java:1484)
E/AndroidRuntime( 2853):        at android.view.ViewGroup.dispatchDraw
(ViewGroup.java:1228)
E/AndroidRuntime( 2853):        at android.view.View.draw(View.java:
5841)
E/AndroidRuntime( 2853):        at android.widget.FrameLayout.draw
(FrameLayout.java:352)
E/AndroidRuntime( 2853):        at android.view.ViewGroup.drawChild
(ViewGroup.java:1486)
E/AndroidRuntime( 2853):        at android.view.ViewGroup.dispatchDraw
(ViewGroup.java:1228)
E/AndroidRuntime( 2853):        at android.view.ViewGroup.drawChild
(ViewGroup.java:1484)
E/AndroidRuntime( 2853):        at android.view.ViewGroup.dispatchDraw
(ViewGroup.java:1228)
E/AndroidRuntime( 2853):        at android.view.View.draw(View.java:
5841)
E/AndroidRuntime( 2853):        at android.widget.FrameLayout.draw
(FrameLayout.java:352)
E/AndroidRuntime( 2853):        at
com.android.internal.policy.impl.PhoneWindow$DecorView.draw
(PhoneWindow.java:1847)
E/AndroidRuntime( 2853):        at android.view.ViewRoot.draw
(ViewRoot.java:1217)
E/AndroidRuntime( 2853):        at
android.view.ViewRoot.performTraversals(ViewRoot.java:1030)
E/AndroidRuntime( 2853):        at android.view.ViewRoot.handleMessage
(ViewRoot.java:1482)
E/AndroidRuntime( 2853):        at android.os.Handler.dispatchMessage
(Handler.java:99)
E/AndroidRuntime( 2853):        at android.os.Looper.loop(Looper.java:
123)
E/AndroidRuntime( 2853):        at android.app.ActivityThread.main
(ActivityThread.java:3948)
E/AndroidRuntime( 2853):        at
java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 2853):        at java.lang.reflect.Method.invoke
(Method.java:521)
E/AndroidRuntime( 2853):        at com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:782)
E/AndroidRuntime( 2853):        at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540)
E/AndroidRuntime( 2853):        at dalvik.system.NativeStart.main
(Native Method)
--~--~---------~--~----~------------~-------~--~----~

3. Country Codes for Localization

4. Detect Physical Keyboard Layout (ex: QWERTY vs QWERTZ)

5. Browser scrolling improvement in android cupcake

6. Crypto accelerators. Was: Lack of response from the android team

7. OpendGL ES porting on hardware accelerators on android