android: convert non-latin symbols to latin

Sometime you might need to convert non-latin symbols to latin only.
There is plenty of such symbols, like ÖÄÜ etc.

How to do it in Android.
Since SDK version 9, there is simple method:

stringLatin variable will be “Hulkenberg”.

But if you still want to support Android 2.2 and lower, then you should use the following function found here:

and our example will be following: