| This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. The article is believed to be still valid for the original topic scope. |
Contents |
First, I suggest you to read WidSets for Rookie EP 1 : First Step to WidSets SDK before continue this page.
After I succeeded on launching emulator. The next word rose in my head was... Hello World!! Sure! It's basic sense of programmer, right? huhu
I tried to find the example code by browse through the SDK folder and I found this under the examples folder.
Yeah! WidSets SDK, I love you!! Let's see how can we get these code work on emulator ;)
These are files under the hello_world folder.
There are two neccesary files, hello_world.he and widget.xml. Other files are image files using for this example.
First time, I had no idea how to compile it. So I call help usage by typing devkit.
Oh! I see compile FILE [LANG] command. It should be the command to compile code and make it work on Emulator, right? But actually NOT!
compile command is used for check script syntax only. The right command to make it work is upload [DIR] command.
Make sure that you're already logged in using your own account. And then type devkit upload .\examples\hello_world\ like this.
If everything goes fine, Upload done! will be shown.
Next, launch emulator by type devkit run. You will see "Hello World" icon appear in the last page.
Congratulation! Next let's test it on real device.
Just launch WidSets application on your device and play!
You are also able to do them all in only one command like this.
devkit run .\example\hello_world
No related wiki articles found