Skip to content

{ Category Archives } iPhone

all things iPhone

iPhone web caching sqlite3

If you are using the iPhone simulator to test your web application, you can query sqlite3 cache tables by going to the following directory: ~/Library/Application Support/iPhone Simulator/User/Library/Caches/com.apple.WebAppCache Command to open the cache database: sqlite3 ApplicationCache.db Once inside, you can use the following command to view the tables: sqlite> .tables This is very helpful in troubleshooting [...]

iPhone web apps

The iPhone has some really cool features for web apps. One feature that I particularly like is called Web Clips.  These are pages that can be installed on your home screen.  You can specify an icon for use on the home page just like you would for a native app.  If you don’t supply one, [...]

parsing xml using C++ on iPhone

I am trying to import an X3d file into my iPhone application. I could use the NSXMLParser to do this, but I want to write as much of the application logic in C++ as possible. The reason I want to do this is that I would like to be able to port this application to [...]

code sign error The identity doesn’t match any valid certificate

I am currently going through some tutorials for the SIO2 game engine I am currently evaluating.  I was able to run the code just fine on my iPhone simulator.  When I went to deploy this tutorial to my iPhone device, I got a “Code Sign error: The identity ‘iPhone Developer: Romain Marucchi-Foino (VC824XU999)’ doesn’t match [...]

Objective-C

Here are some interesting things I learned today about the differences between java/C# and Objective-C.  Also how to play a sound on your iPhone. Calling Methods This was the very first thing that jumped out at me when I started using Objective-C.  To call a method, you use the following syntax: [object message:param1 namedParam2:param2 namedParam3:param3]; [...]