开发者

using dojo with phonegap application in android

I created an application using phonegap for android.I want开发者_开发问答 to use dojo with phonegap application to make interface effective and userfriendly.I am new to dojo.I am not understanding where to start.Please can any one guide me how to start with dojo and create applications in android.

Thanks in advance, K.Himabindu


There are only few resources about Dojo Mobile.

There's a good tutorial thats walks through the complete development of an app: http://dojotoolkit.org/documentation/tutorials/1.6/mobile/tweetview/getting_started/

The best way to learn is probably to take some time and play with the tests/demos.

If you're completely new to dojo you might want to look at a more basic tutorial. Can't really recommend something here. Maybe this?: http://docs.dojocampus.org/quickstart/dojo-basics


I had a similar problem. It turns out that when the APK gets created any files that start with underscores don't get copied and dojo has many files that start with an underscore. Until this is fixed I am doing the following

  1. During development use externally referenced dojo

    <script src="http://ajax.googleapis.com/ajax/libs/dojo/1.6.1/dojo/dojo.xd.js" djConfig="parseOnLoad:true"></script>
    
  2. For the production application I will create a dojo layer file that contains all the objects I use so there will be no need for dojo to require any additional files.


Eclipse Method

Maqetta Method


Refer to the Mobile tutorial at Dojo documentation site: http://dojotoolkit.org/documentation/tutorials/1.9/mobile/tweetview/getting_started/

Next, get a copy of the Dojo boilerplate so you have the project structure pre-configured. https://github.com/csnover/dojo-boilerplate

Finally, go to the Dojo Mobile demo site to see what is possible with Dojo Mobile and then pick and choose the controls you want to use from there. http://demos.dojotoolkit.org/demos/mobileGallery/demo.html


If you are a beginner, you can learn dojo from

http://www.roseindia.net/dojo/

if you start learning from roseindia you feel like dojo is very simple.

but once after you get confidence, you can try example code from other tutorial site bcz some example from roseindia wont execute successfully

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜