File tree Expand file tree Collapse file tree
internal_filesystem/apps/com.micropythonos.helloworld Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ {
2+ "name" : " HelloWorld" ,
3+ "publisher" : " MicroPythonOS" ,
4+ "short_description" : " Minimal app" ,
5+ "long_description" : " Demonstrates the simplest app." ,
6+ "icon_url" : " https://apps.micropythonos.com/apps/com.micropythonos.helloworld/icons/com.micropythonos.helloworld_0.0.2_64x64.png" ,
7+ "download_url" : " https://apps.micropythonos.com/apps/com.micropythonos.helloworld/mpks/com.micropythonos.helloworld_0.0.2.mpk" ,
8+ "fullname" : " com.micropythonos.helloworld" ,
9+ "version" : " 0.0.2" ,
10+ "entrypoint" : " assets/hello.py" ,
11+ "category" : " development" ,
12+ "activities" : [
13+ {
14+ "entrypoint" : " assets/hello.py" ,
15+ "classname" : " Hello" ,
16+ "intent_filters" : [
17+ {
18+ "action" : " main" ,
19+ "category" : " launcher"
20+ }
21+ ]
22+ }
23+ ]
24+ }
25+
Original file line number Diff line number Diff line change 1+ from mpos .apps import Activity
2+
3+ class Hello (Activity ):
4+
5+ def onCreate (self ):
6+ screen = lv .obj ()
7+ label = lv .label (screen )
8+ label .set_text ('Hello World!' )
9+ label .center ()
10+ self .setContentView (screen )
You can’t perform that action at this time.
0 commit comments