Github Link: [https://github.com/BakerJQ/Flutter-InfiniteCards](https://github.com/BakerJQ/Flutter-InfiniteCards)

Member Avatar
+0 forum 0

Here is simple example of static image to be displayed as logo on the start-up/splash screen. This can be improved by creating animation out of series of images or use of flash file through [URL="http://developer.sonyericsson.com/site/global/newsandevents/latestnews/newsapr08/p_project_capuchin_announcement.jsp"]Project Capuchin[/URL] library. As for location of image file this was placed in new folder called "res" as resources. The folder is on same level as "myProject" folder that holds Java classes. If you decide to have "res" folder placed inside "myProject" folder then image path will be [icode]/myProject/res/IMAGE_NAME[/icode] ProjectMIDlet.java [code=Java]package myProject; /** * Created by IntelliJ IDEA. * User: Peter * URL: [url]http://www.peterscorner.co.uk[/url] * Date: …

Member Avatar
+6 forum 0

This is simple example how to get data reading from mobile phone's in-built sensor with JSR-256 and Java Microedition SensorMidlet.java [code=java]/** * * @author Peter Miklosko * @homepage http://www.peterscorner.co.uk */ import javax.microedition.midlet.MIDlet; import javax.microedition.lcdui.Canvas; import javax.microedition.lcdui.Command; import javax.microedition.lcdui.CommandListener; import javax.microedition.lcdui.Display; import javax.microedition.lcdui.Displayable; public class SensorMidlet extends MIDlet implements CommandListener { private Canvas mCanvas; private Command exitCommand; private SensorData sd = new SensorData(); public void startApp() { Display display = Display.getDisplay(this); if(mCanvas == null) { mCanvas = new SensorCanvas(sd); exitCommand = new Command("Exit", Command.EXIT, 0); mCanvas.addCommand(exitCommand); mCanvas.setCommandListener(this); } display.setCurrent(mCanvas); } public void pauseApp() { } public void destroyApp(boolean unconditional) { } …

Member Avatar
+0 forum 0

The End.