Thank you for answering
I`ve checked all of given advises, but that have not solved yet.
- –> Even though the activity was just blank activity, it`s happening as same as before.
- –> the option already check off.
- –> I never used the attribute.
For more information, I want to show you AndroidManifest.xml and Activity source
@ AndroidManifest.xml
[html]
<?xml version="1.0" encoding="utf-8"?>
package="…"
android:versionCode=“1”
android:versionName=“1.0”>
android:label="@string/app_name"
android:hardwareAccelerated=“false”
android:icon="@drawable/icon"
android:debuggable=“true”>
android:screenOrientation=“landscape”
android:configChanges=“keyboardHidden|orientation|screenSize”
android:theme="@android:style/Theme.NoTitleBar.Fullscreen">
android:name=“com.uangel.corona.viewer.TestActivity”
android:configChanges=“keyboardHidden|orientation”
android:screenOrientation=“landscape”
android:theme="@android:style/Theme.NoTitleBar.Fullscreen" >
[/html]
@ Function Class (calling Activity)
[java]
private class GoActivityFunction implements com.naef.jnlua.NamedJavaFunction{
@Override
public int invoke(LuaState luaState) {
Log.info(TAG, “no Error Checking start Content”);
com.ansca.corona.CoronaEnvironment.getCoronaActivity().getHandler().post(new Runnable() {
@Override
public void run() {
Intent intent = new Intent(com.ansca.corona.CoronaEnvironment.getCoronaActivity(), TestActivity.class);
com.ansca.corona.CoronaEnvironment.getCoronaActivity().startActivityForResult(intent, 0);
}
});
return 0;
}
@Override
public String getName() {
// TODO Auto-generated method stub
return “gotoactivity”;
}
}
[/java]
@ TestActivity
[java]
public class TestActivity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
Log.w(“lifecycle”, “[TestActivity] onCreate”);
super.onCreate(savedInstanceState);
}
@Override
protected void onDestroy() {
Log.w(“lifecycle”, "[TestActivity] onDestroy & isFinishing : " + isFinishing());
super.onDestroy();
}
@Override
protected void onPause() {
Log.w(“lifecycle”, “[TestActivity] onPause”);
super.onPause();
}
@Override
protected void onRestart() {
Log.w(“lifecycle”, “[TestActivity] onRestart”);
super.onRestart();
}
@Override
protected void onResume() {
Log.w(“lifecycle”, “[TestActivity] onResume”);
super.onResume();
}
@Override
protected void onStart() {
Log.w(“lifecycle”, “[TestActivity] onStart”);
super.onStart();
}
@Override
protected void onStop() {
Log.w(“lifecycle”, “[TestActivity] onStop”);
super.onStop();
}
@Override
protected void onRestoreInstanceState(Bundle savedInstanceState) {
Log.w(“lifecycle”, “[TestActivity] onRestoreInstanceState”);
super.onRestoreInstanceState(savedInstanceState);
}
@Override
protected void onSaveInstanceState(Bundle outState) {
Log.w(“lifecycle”, “[TestActivity] onSaveInstanceState”);
super.onSaveInstanceState(outState);
}
}
[/java]
@ Log --> Getting off mode
[text]
12-28 14:38:01.823: W/lifecycle(2856): [TestActivity] onPause
12-28 14:38:01.833: W/lifecycle(2856): [TestActivity] onSaveInstanceState
12-28 14:38:01.833: W/lifecycle(2856): [TestActivity] onStop
12-28 14:38:02.348: W/lifecycle(2856): [TestActivity] onDestroy & isFinishing : false
12-28 14:38:02.433: W/lifecycle(2856): [TestActivity] onCreate
12-28 14:38:02.433: W/lifecycle(2856): [TestActivity] onStart
12-28 14:38:02.438: W/lifecycle(2856): [TestActivity] onRestoreInstanceState
12-28 14:38:02.438: W/lifecycle(2856): [TestActivity] onResume
12-28 14:38:02.453: W/lifecycle(2856): [TestActivity] onPause
[/text]
@ Log --> Getting back to Activity
[text]
12-28 14:38:45.508: W/lifecycle(2856): [TestActivity] onResume
12-28 14:38:45.813: W/lifecycle(2856): [TestActivity] onPause
12-28 14:38:45.813: W/lifecycle(2856): [TestActivity] onSaveInstanceState
12-28 14:38:45.813: W/lifecycle(2856): [TestActivity] onStop
12-28 14:38:45.813: W/lifecycle(2856): [TestActivity] onDestroy & isFinishing : false
12-28 14:38:45.818: W/lifecycle(2856): [TestActivity] onCreate
12-28 14:38:45.818: W/lifecycle(2856): [TestActivity] onStart
12-28 14:38:45.818: W/lifecycle(2856): [TestActivity] onRestoreInstanceState
12-28 14:38:45.818: W/lifecycle(2856): [TestActivity] onResume
[/text]
Please help me
Thank you [import]uid: 180717 topic_id: 34294 reply_id: 136559[/import]