Android language support: English only - android

I published an application in English.
I do not have a plan for multi-language support yet, so the first version supports default language only.
I added ads(admob) for the second version, and localizations suddenly changed to default + 56 languages.
How can I change it back to default language only? Or is it okay to leave like that?

As stated by Andrew T. in the comment, it is quite possible that the admob library you have added is including the support for all languages, therefore you app is inheriting them.
I had the same problem, but thanks to this answer:
https://stackoverflow.com/a/15013558/2177061
I managed to solve it (I deleted the inappropriate res/- directories and the apk was not detected as multi-language anymore)
Hope this helps

Related

Can 4.0+ RTL library for WebView be packaged with apk for 2.2~2.3?

We wanted to develop a web search app for Android 2.2+, and the language we're dealing with is Arabic script (RTL) based. We are using WebView as the rendering view.
So far only devices with Android 4.0+ (and some Sony phones whith 2.3) displayed the text correctly. But Android 2.x devices still consists a large part of our web users, we needed the same Arabic RTL support in Android 4.0 be availabe with our app.
To be clear, the mentioned Arabic support is not only the direction:rtl (which can be achieved with CSS), but more importantly a letter joining problem: most letters automatically change accroting to the previous and next letter when displayed.
On Windows, since 2000 version, there is a system shared library USP10.dll to handle the process. And applications have the file in their folder, would have the same support even on older Windows 98 systems.
Based on my research on the web, on android there are libicuuc.so and framework.jar to do the similar job.
My question is:
Since Android 4.0+ has the ability to hanlde the letter joining, is it possible to package the corresponding library with the apk to support Arabic in WebView?
If so, how (e.g where to put the file, and any code to add to activity)?
Many thanks in advance.
You can't add newer library for old sdk's. Old sdk's depend upon old java libraries.

Android - Use language not available in documentation

I am currently developing an app which I want to support both danish and english. I know how things works with resource etc.
My app is currently running Android 2.1 (since most people in Denmark use this), but as far as I know Locale for Denmark is first avaiable in Android 2.3 (documentaion).
What wonders me, is that i got a couple of apps, which support danish language and runs on my phone (2.2). How is that possible?
Do they trick the system in some way, or do they just develop their application in Android 2.3 and make it runnable in lower version devices? Or is it possible to manipulate the native language with another app to make it "default".
I've searched around everywhere, but the danish Android community is very little.
It is actually possible to make a values-da with danish language even though it's not supported in Android 2.2 according to the documentation and it's working fine.
Don't know why it did not work earlier today.
ADB will compile your resources into apk no matter what suffix the folder values has (tested on values-qq). So I assume you can just add the proper suffix for your language, and these resources will be just ignored on pre-Android-2.3.

Android localization and SDK support differences

The localization language support in Android 1.6 is a lot less than the languages that are supported in more recent versions. And I know that Google is making a concerted effort to expand their reach in more languages and countries.
I've looked high and low for an answer to this question, and perhaps it is answered on the developer site, or perhaps answered in a different context.. but I couldn't find it.
The question is, if I were to create the relative folders and assets for every language possible (using the some-odd 90+ locale codes), will later versions of Android automatically pick those up when they're eventually supported?
Short answer - yes. All files are loaded at runtime using the API level available on the device.

How to use Android in hungarian?

I have checked the regional settings in my emulator and I can't yet choose Hungarian.
I am wondering how can I make my application to work in hungarian? How do I set what language to use?
Updated answer:
Android supports Hungarian out of the box, took me some time to figure out it's called "Magyar" in the Languages list, and it properly uses all values contained in values-hu
Android does not officially support Hungarian at this time, so the emulator does not have Hungarian strings. You can see the list of supported languages on each SDK's release notes page.

JRE on Android

This might sound like a stupid question, but google didn't help me.
Is there a JRE available for Android? If so which version is it? Are there any major features missing?
If not does that mean all java apps need to be recompiled for Dalvik to work on the Android?
Update; Will there ever be JRE available for the Android?
No, there is not. Google did create a completely different runtime for Android, where the base classes are completely different ( albeit compatible )
It uses Java as the language ( syntax ) but not the Java platform.
You can learn about the Android platform here.
From that page:
Android includes a set of core libraries that provides most of the functionality available in the core libraries of the Java programming language.
Read in bold "most".
So, although they look similar, they are not the same.
The closest I've found is http://www.apogee.com/products/cjre-a
Unfortunately as stated on that page:
Note that Apogee temporarily suspended further development of CJREs+A
in June, 2012, because of insufficient demand for them. Please,
contact Apogee if you are interested in a CJRE+A targeted at a an
Android-running device of your choice for "volume" distribution to
your customers and/or other third parties.
...and a download/demo is nowhere to be found.
Taken from their products page http://www.apogee.com/products it does sound like it would have been a great thing to have:
CJRE+A - The “CJRE for Android” is suitable for devices running
Android v4.x or higher, which need to execute the Java SE 5 and SE 6
applications in addition to executing the Android applications.
We can still dream. I have not contacted them. I am aware of many companies that are looking for this functionality. I can't imagine it will dwindle all too fast (or let's say slower than flash)?
I have not reached out to Apogee, might be worth a try...If anyone ever finds a solution, please keep us updated! Thanks.

Categories

Resources