Author Topic: WebOS App  (Read 1247 times)

0 Members and 1 Guest are viewing this topic.

akiwiguy

  • Guest
WebOS App
« on: March 14, 2012, 02:35:40 pm »
Well, I'm probably getting an HP Touchpad soon, so I'm gonna write a WebOS app.
Now I just have to look into how to store the dictionaries on the device using HTML5/JS...

Offline Seze

  • LearnNavi DevOps
  • Toruk Makto
  • Palulukan Makto
  • *****
  • *
  • *
  • Posts: 1563
  • us United States
  • Karma: 53
  • One App to rule them all...
Re: WebOS App
« Reply #1 on: March 14, 2012, 05:06:58 pm »
Well, I'm probably getting an HP Touchpad soon, so I'm gonna write a WebOS app.
Now I just have to look into how to store the dictionaries on the device using HTML5/JS...

HTML5 does support local storage.  So you might be able to just copy the SQLite database data that the current mobile apps use straight into local storage.  As for actually making the app, take a look at Sproutcore.  Its a JS / HTML5 application framework.  I'm currently using it for work.  It has a bit of a steep learning curve, but its incredibly powerful for writing web applications.


Learn Na'vi Mobile App - Now Available

akiwiguy

  • Guest
Re: WebOS App
« Reply #2 on: March 14, 2012, 06:53:01 pm »
There is a framework you can use already, named Enyo, which is quite good. There is a JS library I know of to handle HTML5 local storage. Maybe even if I write a program to convert the SQL to JSON and then use that? It'd be much easier to store everything in JSON and handle that in Javascript. Hmm...

Offline Seze

  • LearnNavi DevOps
  • Toruk Makto
  • Palulukan Makto
  • *****
  • *
  • *
  • Posts: 1563
  • us United States
  • Karma: 53
  • One App to rule them all...
Re: WebOS App
« Reply #3 on: March 14, 2012, 06:56:39 pm »
Maybe even if I write a program to convert the SQL to JSON and then use that?

That is what I do for another project I'm currently working on.  I use CodeIgniter, a PHP MVC Framework, to create a REST interface to my database.  The PHP REST backend returns JSON objects of data that is in the database.  If you'd like more info on how to set something like this up, just let me know.  I can probably give you the code I wrote for that if you're interested.


Learn Na'vi Mobile App - Now Available

Offline Tsmuktengan

  • Palulukan Makto
  • *****
  • *
  • Posts: 1482
  • Karma: 13
Re: WebOS App
« Reply #4 on: March 16, 2012, 04:57:22 pm »
What a nice idea! I also just received my Touchpad! I will be able to use it and test it.  :)


 

Become LearnNavi's friend on Facebook Follow LearnNavi on Twitter! Watch LearnNavi's videos on YouTube

SMF 2.0.15 | SMF © 2017, Simple Machines
Privacy Policy
| XHTML | RSS | WAP2 | Site Rules

LearnNavi is not affiliated with the official Avatar website,
James Cameron, LightStorm Entertainment or The Walt Disney Company.
All trademarks and servicemarks are the properties of their respective owners.
Images in the LearnNavi.org Forums and Gallery may not be used without permission.

LearnNavi Affiliates:
ToS

LearnNavi is the community to learn Na'vi, the Avatar Language
"A place where real friendships are made." -Paul Frommer

AvatarMeet | Learn Na'vi Forum | Learn Na'vi Wiki | Na'viteri

LearnNavi