Skip to content

Latest commit

 

History

History
83 lines (50 loc) · 6.58 KB

README.md

File metadata and controls

83 lines (50 loc) · 6.58 KB

Jam Android Testcases :

Screens :

UiStateManager/UiPager Jme Animaion Tween Hybrid List
Armature Example Multiple Actions/AnimComposers Linear Configuration
Menu Multiple Layers Other App(Ace.js/Ajax Embedded Code Editor)

An android application showing multiple use cases :

=> Using Fragments :

FragmentTransaction fragmentTransaction= context.getSupportFragmentManager().beginTransaction();

=> Using Js interface with a webview :

CodeEditorInterface codeEditorInterface=new CodeEditorInterface(context);

=> Using Ajax/Ace.js with the android webview :

holder.webView.loadUrl("file:///android_asset/CodeEditor.html");

=> Using jetpack compose workmanager to fire notifications events :

NotificationUtils.initializeInBackground(jmeSurfaceView.getContext());

public static PeriodicWorkRequest initializeInBackground(Context context){

public static NotificationCompat.Builder initializeNow(Context context){

=> Using alarm manager to fire events :

ResetScheduler.Builder builder = new ResetScheduler.Builder(jmeSurfaceView.getContext());

=> Recieveing events from an alarm component using BroadCasts :

public Builder setActionListener(Class<? extends BroadcastReceiver> clazz, int flags){

=> JMonkeyEngine3.4.0 game engine animation example using GlSurfaceView :

https://github.com/Google-Developers-Sohag/Jam-Android-Testcases/tree/master/app/src/main/java/com/scrappers/dbtraining/mainScreens/prefaceScreen/renderer

final JmeSurfaceView jmeSurfaceView = view.findViewById(R.id.jmeSurfaceView);

getStateManager().attach(new BasicArmature("BasicArmatureTrack", dataBaseStack));

=> JMonkeyEngine Custom use cases :

uiStateManager = new UiStateManager(((RelativeLayout)jmeSurfaceView.getParent()));

protected void updateUiPager(@Nullable String[] queryText, boolean gridOn, int searchAlgorithm) throws Exception {

=> Custom Animations on android views :

https://github.com/Google-Developers-Sohag/Jam-Android-Testcases/tree/master/app/src/main/res/anim

animatorView.startAnimation(AnimationUtils.loadAnimation(getApplicationContext(),R.anim.scale_lag));

More at :