Archive for the ‘App Development’ Category
Phonegap error: ERROR whitelist rejection
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.
Google App Inventor Blocks Editor not working on Ubuntu 10.04?
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.