diff --git a/internal_filesystem/apps/com.micropythonos.helloworld/META-INF/MANIFEST.JSON b/internal_filesystem/apps/com.micropythonos.helloworld/META-INF/MANIFEST.JSON new file mode 100644 index 00000000..400f37b2 --- /dev/null +++ b/internal_filesystem/apps/com.micropythonos.helloworld/META-INF/MANIFEST.JSON @@ -0,0 +1,25 @@ +{ +"name": "HelloWorld", +"publisher": "MicroPythonOS", +"short_description": "Minimal app", +"long_description": "Demonstrates the simplest app.", +"icon_url": "https://apps.micropythonos.com/apps/com.micropythonos.helloworld/icons/com.micropythonos.helloworld_0.0.2_64x64.png", +"download_url": "https://apps.micropythonos.com/apps/com.micropythonos.helloworld/mpks/com.micropythonos.helloworld_0.0.2.mpk", +"fullname": "com.micropythonos.helloworld", +"version": "0.0.2", +"entrypoint": "assets/hello.py", +"category": "development", +"activities": [ + { + "entrypoint": "assets/hello.py", + "classname": "Hello", + "intent_filters": [ + { + "action": "main", + "category": "launcher" + } + ] + } + ] +} + diff --git a/internal_filesystem/apps/com.micropythonos.helloworld/assets/hello.py b/internal_filesystem/apps/com.micropythonos.helloworld/assets/hello.py new file mode 100644 index 00000000..7682beec --- /dev/null +++ b/internal_filesystem/apps/com.micropythonos.helloworld/assets/hello.py @@ -0,0 +1,10 @@ +from mpos.apps import Activity + +class Hello(Activity): + + def onCreate(self): + screen = lv.obj() + label = lv.label(screen) + label.set_text('Hello World!') + label.center() + self.setContentView(screen) diff --git a/internal_filesystem/apps/com.micropythonos.helloworld/res/mipmap-mdpi/icon_64x64.png b/internal_filesystem/apps/com.micropythonos.helloworld/res/mipmap-mdpi/icon_64x64.png new file mode 100644 index 00000000..cac4a6f2 Binary files /dev/null and b/internal_filesystem/apps/com.micropythonos.helloworld/res/mipmap-mdpi/icon_64x64.png differ