Wednesday, December 11, 2013

CS Unveiled Event and Testing on Android tablet

Monday was our department's event called CS Unveiled, where they explained to guests about the programs and facilities at our department.
My team and I were also there to present what our project was so far.
Here's a picture of us :)

As you can see, I am holding a tablet device..... with our app on it!!!!

Our professor gave each team an android tablet to carry our testing on different devices and so I used Phonegap, a great tool for porting web-based applications into different platforms including iOS, Android, Windows, Blackberry...

Phonegap Build is very efficient and easy to use. I just had to zip the folder containing all our html/javascript/css/image files and upload it onto Phonegap Build and it builds your app for different platforms xD

Here are some tips for the minor problems I encountered:
- don't use hydration for simple testing purposes (our app wouldn't load properly with hydration)
- make sure your index.html is in the main folder that you zip and not in a folder within that folder e.g. we had our index.html in a folder called html with all the other html files. It's better to have an index.html that links to a main.html in the html folder. (http://community.phonegap.com/nitobi/topics/app_dies_on_startup_connection_to_the_server_was_unsuccessful)

Now I'm working on creating a local storage database on html5 but it's really difficult... I don't know why but I keep getting an error that the database doesn't exist even though I have "CREATE TABLE IF NOT EXISTS" in my code! :(

Anyway, here are the more close up pictures of our app on the tablet :)



Hehe, it feels so precious when you've put in so much effort! My babyyyyyy haha Can't wait to see it completed :)


No comments:

Post a Comment