mzsoft
Member
hi
i write this class .
and if activity create
and manifest
but not work.
how can i start this activity.
i write this class .
B4X:
#If JAVA
import org.godotengine.godot.GodotActivity;
import android.os.Bundle;
public class GodotApp extends GodotActivity {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
}
}
#End If
and if activity create
B4X:
Private NativeMe As JavaObject
NativeMe.InitializeNewInstance(Application.PackageName & ".main$GodotApp",Array(Null))
and manifest
B4X:
AddApplicationText(
<activity
android:name="b4a.example.godot.main$GodotApp"
android:exported='true'
android:screenOrientation='fullUser'
android:configChanges='orientation|screenSize|smallestScreenSize|screenLayout'
>
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
)
but not work.
how can i start this activity.