Hi
I´m using the new Starter service to inicialize all common stuff including language transalator.
At the first time I ask the the language and then I call "activity.Finish" to end the program so the next time the language comes.
But when I call the program again it doesn´t execute the "Starter" again .
Bellow is the log
After "Primeira vez solicitar lingua"
Do I must call "Starter" by code ?
I´m using the new Starter service to inicialize all common stuff including language transalator.
At the first time I ask the the language and then I call "activity.Finish" to end the program so the next time the language comes.
But when I call the program again it doesn´t execute the "Starter" again .
Bellow is the log
** Service (starter) Create **
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
Primeira vez solicitar lingua
** Activity (main) Pause, UserClosed = true **
** Activity (main) Create, isFirst = false **
main_activity_create (java line: 386)
java.lang.RuntimeException: Object should first be initialized (Map).
at anywheresoftware.b4a.AbsObjectWrapper.getObject(AbsObjectWrapper.java:50)
at anywheresoftware.b4a.objects.collections.Map.ContainsKey(Map.java:120)
at de.amberhome.locale.AHTranslator.GetText(AHTranslator.java:161)
at hsp.sos.main._activity_create(main.java:386)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:187)
at hsp.sos.main.afterFirstLayout(main.java:102)
at hsp.sos.main.access$000(main.java:17)
at hsp.sos.main$WaitForLayout.run(main.java:80)
at android.os.Handler.handleCallback(Handler.java:746)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5343)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:907)
at com.android.internal.os.ZygoteInit.main
After "Primeira vez solicitar lingua"
Do I must call "Starter" by code ?