mandazi

web development, gaming, sports, life, etc.

Archive for the ‘jquery’ tag

Phonegap error: ERROR whitelist rejection

without 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

Halal Tunes is up!

with 3 comments

I just launched another one of my sites, halaltunes.com, which happens to be my first site built from scratch using a Flash MP3 player. The Flash MP3 player uses php to search a directory for all mp3 files. It uses the mp3′s file artist name and track title as the info for it’s playlist. This is different then most of the XML Flash MP3 players making the user have to enter all that info. This makes it easy, because all I have to do is upload the directory of MP3s.

I also used jQuery JS to handle the menu. It basically does an AJAX call depending on what the user selects and tells the flash player to go to the directory the user selected. It was pretty simple to write up.

This is just the beginning. I hope to add more features in the future. Your suggestions and comments are welcome.

Written by Amir Sahib

April 9th, 2009 at 1:18 pm