hi,
This is my first Blog To Develop Application for Palm which is Based on Garnet OS
Hope You Will enjoy it.
Let Me Start With SuperWaba Introduction,It is one type of virtual machine(99% JVM) ,Which is use to run java based application on Palm,It has own SDK to develop superwaba application
You can get it from http://www.superwaba.com.br
after download SDK you have to extract this and you find one folder named superwabaSDK
Step 1: Create New Java project in eclipse
This is my first Blog To Develop Application for Palm which is Based on Garnet OS
Hope You Will enjoy it.
Let Me Start With SuperWaba Introduction,It is one type of virtual machine(99% JVM) ,Which is use to run java based application on Palm,It has own SDK to develop superwaba application
You can get it from http://www.superwaba.com.br
after download SDK you have to extract this and you find one folder named superwabaSDK
Step 1: Create New Java project in eclipse
Step 2: superwaba VM is compitible with compilation level 1.3 ,So You have to change from
project properties->Compiler->Enable Project Specific settings->Change Compilation Level 1.3
Step 3:You have to build path for using or extending superwaba classes for application
project properties->java build path->libraries->add external jar->from superwabasdk/lib/superwaba.jar
Step 4: extract superwaba.jar(+ icon) select java doc location and give path upto
SuperWabaSDK/docs/html/
Step 5: copy SuperWabaSDK\src\java\superwaba\samples\app\helloworld to your
{Workspace}/{Proejct Name}/{Src}/
(I have done this step bcoz i want to use directly samples into my app,you can create package ,class aslo manually)
Step 6: refresh eclipse project
Step 7: YOu can run and check project using create new run configuration like TestDMS
Main class should be waba.applet.Applet
In argument tab you have to apply
/w 320 /h 320 /scale 1 /bpp16 /useSonyfonts helloworld.HelloWorld
for running helloworld app arguments /w 320 /h 320 /scale 1 /bpp16 /useSonyfonts are optional(this is for sony clie config)
Step 8: now turn comes to create pdb and prc for project
simple way i preffer to you is create jar file of your project from export menu and
put at your c:\suppose HelloWorld.jar(I have suppose your superwabaSDK folder in
C:/)
step 9 : now go to command prompt and at root c:\
step 10: apply this command for pdb
java - classpath /superwabasdk/lib/SuperWaba.jar;/superwabasdk/lib/SuperWabaTools.jar superwaba.tools.Warp c /! /C SSSS HelloWorld HelloWorld.jarafter suceesfully created pdb
step 11 you have to create prc for execution apply this command
java -classpath /superwabasdk/lib/SuperWaba.jar;/superwabasdk/lib/SuperWabaTools.jar superwaba.tools.Exegen /! /C SSSS HelloWorld hello/HelloWorld.class
step 11 you have to create prc for execution apply this command
java -classpath /superwabasdk/lib/SuperWaba.jar;/superwabasdk/lib/SuperWabaTools.jar superwaba.tools.Exegen /! /C SSSS HelloWorld hello/HelloWorld.class
No comments:
Post a Comment