mandazi

web development, gaming, sports, life, etc.

Archive for the ‘App Development’ Category

Phonegap error: ERROR whitelist rejection

with 3 comments

So I got this error when trying to run my PhoneGap app:

ERROR whitelist rejection

This was due to me including jQuery Mobile js and css files.  The solution was to add ‘code.jquery.com’ to the “ExternalHosts” field in the file PhoneGap.plist in the Supporting Files directory of your app directory.

Written by Amir Sahib

November 25th, 2011 at 3:56 pm

Google App Inventor Blocks Editor not working on Ubuntu 10.04?

with one comment

I was having issues with loading the Blocks Editor when using the Google App Inventor then I saw this:

Tips: If you are using GNU/Linux, then you should use Sun Java rather than OpenJDK. App Inventor does not work well with OpenJDK.

Ubuntu by default loads the Blocks Editor with OpenJDK, so the solution is to install Sun Java instead.  I installed it with the Synaptic Package Manager. Then the next time you open up the Blocks Editor, don’t use the OpenJDK.  Instead select other and locale this file: /usr/lib/jvm/java-6-sun/jre/bin/javaws and you should be good. You can use this from now on.

Written by Amir Sahib

September 11th, 2010 at 10:58 pm