No I didn’t bought a Windows Phone 7 but now it sure is in my wish list😀 I spent this weekend developing an app for windows phone 7 and thanks to previous knowledge of silverlight and c#, it all seemed too easy😀 A couple of weeks more and then I can add yet another platform on my Resume😀
NB: This was my first post from the WordPress iPhone App, yay :-)…
Posted: October 15, 2010 in Snippets
It was only recently that I read about this function,
Creates and returns a dictionary using the keys and values found in a file specified by a given path.
+ (id)dictionaryWithContentsOfFile:(NSString *)path
A full or relative pathname. The file identified by path must contain a string representation of a property list whose root object is a dictionary. The dictionary must contain only property list objects (instances of NSData, NSDate, NSNumber, NSString, NSArray, or NSDictionary). For more details, see Property List Programming Guide.
A new dictionary that contains the dictionary at path, or nil if there is a file error or if the contents of the file are an invalid representation of a dictionary.
- Available in iPhone OS 2.0 and later.
Hence, iPhone SDK has direct support for reading in plist files into a dictionary or an array.
NSString *propertiesPath = [[NSBundle mainBundle] pathForResource:@”properties” ofType:@”plist”];
NSDictionary *dictionary = [NSDictionary dictionaryWithContentsOfFile:propertiesPath];
<?xml version=”1.0″ encoding=”UTF-8″?>
<!DOCTYPE plist PUBLIC “-//Apple//DTD PLIST 1.0//EN” “http://www.apple.com/DTDs/PropertyList-1.0.dtd”>
That would result in a dictionary with two key-value pairs
“Array_item” = (
Name = Basit;
Posted: September 1, 2010 in Uncategorized
No wonder the most active change on my blog is its theme and I guess this is the 4th or 5th theme change since the blog was registered. Well the last post was written on 4 August 2009 :O… And as I check my last years email, it was only a couple of weeks after this post that I started working on a part time job for my teacher as a PHP and iPhone developer, and then there were our final year examinations and ofcourse the FINAL YEAR PROJECT. My whole career was defined following that part time job as I was offerred a few freelance iPhone projects and since then have been working full time on iOS and Android development. It has been a fantastic year so far and I hope for the coming years to be so too.
May Allah bless us all.
Working on Ubuntu, thinking if I could create my assignment tasks from the university without restarting the system and booting into windows, I searched Synaptic for MATLAB and found in the first few results FreeMat. From the Synaptic’s description,
FreeMat is a free environment for rapid engineering and scientific prototyping and data processing. It is similar to commercial systems such as MATLAB from Mathworks, and IDL from Research Systems, but is Open Source. FreeMat is available under the GPL license.
Tried running a couple of tasks I have previously programmed and voila all of them worked😀. It stood at only under 10mb, is fast and suited perfect for the small algorithm implementations we are working on in the university.
FreeMat on Ubuntu
Well I hadn’t heard the term “Semantic Web” until this semester when I had been asked to develop a project for, strangely, the course that was not in any way related to it :P… It was assigned as a research project to me and I feel thankful to our teacher because though it did not help in the course, it did add to my experience and knowledge as Semantic Web is said by the Internet experts to be the future of web.
Other classmates of mine had given presentations on the basics of Semantic Web, what is RDF/XML, ontologies, how we design ontologies on Protégé etc. Was also told by the teacher that would need to work on the Jena API on Java to accomplish my task of developing a sample Semantic Web Application on JSP.
Difficulties in the project:
- Not enough idea on why and what was Semantic Web.
- From where would I get an ontology and if I were to develop one, what are the things I need to keep in mind while I develop it.
- JSP :S
Areas of my interest:
Though experienced several hiccups on my way to completion but in the end the project was highly appreciated by the teacher😀. Now I can add on my CV that I have knowledge of working on JSP and Semantic Web :D…
Edit: I am not sure if anyone still needs them but here is the Report and Project Workspace for anyone that is interested. Do comment if you find them useful.
Posted: January 14, 2009 in Cloud/Web
Tags: Facebook Game, Silverlight
Welcome my latest project on Silverlight and the worst in terms of design😛. I was just focused on programming this time and, don’t know why but, just couldn’t get the graphics to look atleast nice and simple if not outstanding. It has been a couple of weeks since I have not worked on it and frankly have lost my interest working on it. May extend this project if it gets enough response.
My next target towards a Silverlight App would definitely be a data driven application not a game, though I did want to create a multiplayer sort of game but uhh lets see what happens.
Comments are welcome😀 and much needed. Ohh and yes the game can be reached here.
Posted: January 9, 2009 in Cloud/Web
In the spirit of opening up the sources of The Snake project, here are the sources of my AddressBook created in Silverlight. Hope it helps you the way it has helped me in playing with Silverlight. Well, not much to say tonight too so Good Night😀.