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 :
|
public class PrefaceScreen extends Fragment { |
|
FragmentTransaction fragmentTransaction= context.getSupportFragmentManager().beginTransaction(); |
=> Using Js interface with a webview :
|
public class CodeEditorInterface { |
|
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){ |
|
public ListenableFuture<Result> startWork() { |
=> Using alarm manager to fire events :
|
ResetScheduler.Builder builder = new ResetScheduler.Builder(jmeSurfaceView.getContext()); |
|
public static class ResetScheduler { |
|
public static class Builder{ |
=> 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())); |
|
UiPager uiPager = new UiPager(menu.getContext()); |
|
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)); |