I am creating an application on 6 languages. I have first activity, where You can choose Your language. My question is, when I go in application second time, I want to app directly go to language which I selected first time?
Simple, on first activity there is 6 buttons (flags). When I choose one of them, I go to second activity with chosen language. When i go second time in application, i want to go directly to second activity.
I would suggest you something else:
Use the AHLocale library from corwin42 and get the devices' default language and use this one the first time. Define a setup activity where you can select any other or 'automatic' (default device language). Save a Setup file in Activity_Pause.
Read the Setup file in Activity_Resume and set the different parameters, language included.
You can have a look at the Simple NotePad project.
I would suggest you something else:
Use the AHLocale library from corwin42 and get the devices' default language and use this one the first time. Define a setup activity where you can select any other or 'automatic' (default device language). Save a Setup file in Activity_Pause.
Read the Setup file in Activity_Resume and set the different parameters, language included.
You can have a look at the Simple NotePad project.