Cross platform framework for building HTML5 native app
- version 1.0 supported devices type: android 2.1 or higher
- will add iOS support in version 2.0
install and open the Application: https://github.com/ronaldtsang/Orochi-Framework/orochi_source_1.0.apk/qr_code
webapp link(open the above app first): http://orochis-den.com/orochi_jqmdemo/app.html
- To close the application: you must turn off the "Native Service" first, else the "Native Service" will keep running.
- You may type in your webapp link for testing
- You may open the "webapp link" on your desktop's(or any device within the same local network) browser with extra "GET Parameter": ?serviceIP=192.168.1.x (192.168.1.x is your mobile's IP)
install and open the Application: https://github.com/ronaldtsang/Orochi-Framework/orochi_example_1.0.apk/qr_code
webapp link(open the above app first): http://orochis-den.com/orochi_jqmdemo/app.html?serviceName=Orochi-example
- "Native Service" will be closed automatically when you close the application.
- Webapp link is hardcoded.
You may find the demo webapp source here.
- this framework is usable without jqmobile, but jquery is a must.
After you start the demo application(with "Native Service" on), your may open the "webapp link" on your mobile's browser
-
Download all javascript files
-
It is recommended to study the example webapp first.
-
Include the following lines in you webapp:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script src="js/weboo/weboo.js"></script>
<script src="js/orochi/orochi.js"></script>
<script src="js/orochi/orochi.ext.js"></script>
-
Setup your own offline.manifest if you want to have an offline accessible webapp.
-
Download the example source code and modify it to suit your needs. (or you may test it with the "Full-Function Testing Tool" first)
-
change the Hardcoded link in "orochi.example.MainActivity" line 39.
private String urlAddress = "http://orochis-den.com/orochi_jqmdemo/app.html?serviceName=Orochi-example";
-
Run and have fun...
- Take a look at the native package orochi.nativeadapter.RequestHandler
- Take a look at the javascript files(But not the "orochi.js")
- I think you should be able to make it XD.
- Please send it to me, if you think your API is useful to others.
email me: tsanghim@gmail.com