Archive for the ‘iPhone’

iOS development locally05.09.11

When I test my iOS apps on my local network to debug issues I setup a host on my router to point my mac on the network. On my development machine I port forward all requests from port 80 to port 3000 because I’m using Rails and want to view the request log.

This is what I used to forward port 80 to 3000.

Posted in iPhone, Mac, Ruby On Railswith Comments Off on iOS development locally

NSConference 2010 (USA)11.26.09

NSConference 2010 (USA) just opened up for registration and I just completed registering for the iPhone Developer Sessions and Mac Developer Sessions which makes that a 3 day conference for me. It will held in Atlanta, Georgia at Georgia Tech Research Institute from Sunday, February 21 through Tuesday, February 23, 2010.

This will be my very first Mac Developer conference and I’m really not sure what to expect but the quotes from last years conference sound great. One thing I do expect is for Wifi not to work and to not expect any meat for food which happened at other conferences I’ve been to. Considering I have only been to two other ones. Hopefully that will not be the case and they will have meat! I guess I will find out when I get there…

Register to NSConference 2010 only 200 spots will be available so do it early.

Posted in Conference, iPhone, Mac, Me, Programmingwith Comments Off on NSConference 2010 (USA)

iPhone SDK 3.0 GM06.09.09

While looking into my app for deprecated methods I have found one that did not have much documentation to it. It was a delegate method from UIImagePickerControllerDelegate and this is the way I use it for when an image is ready to be posted.

- (void)imagePickerController: (UIImagePickerController *)picker didFinishPickingImage: (UIImage *)img editingInfo: (NSDictionary *)editInfo {
  [[picker parentViewController] dismissModalViewControllerAnimated:YES];
  [image setImage:img];
  [self confirmPhotoUpload];
}

Now the only problem with that method above is that it is now deprecated in the iPhone OS 3.0 SDK and you must now use a method called imagePickerController:didFinishPickingMediaWithInfo:
and the way I use that method is like this:

- (void)imagePickerController: (UIImagePickerController *)picker didFinishPickingMediaWithInfo: (NSDictionary *)info
{
  [[picker parentViewController] dismissModalViewControllerAnimated:YES];
  UIImage * img = [info objectForKey:@"UIImagePickerControllerEditedImage"];
  [image setImage:img];
  [self confirmPhotoUpload];
}

So if your stuck trying to figure out what method to now use, use imagePickerController:didFinishPickingMediaWithInfo: and what will have a NSDictionary with all the needed information about the image.

Posted in iPhone, Me, Objective-C, Programming, Projectswith Comments Off on iPhone SDK 3.0 GM

iPhone SDK 3.0 beta 505.16.09

Today, I was working on Skatr getting it ready for the iPhone OS 3.0 and taking advantage of some of the new features and while I succeeded testing it on my device using the beta 4 version, I had trouble with beta 5. I searched around and found the following post to be very helpful to solving whatever problem was going on with the sdk.

http://www.iphonedevsdk.com/forum/iphone-sdk-development-iphone-os-3-0/17999-profile-doesn-t-match-application-identifier.html

Posted in iPhone, Me, Objective-C, Projects, Skateboarding, skatr, xcodewith Comments Off on iPhone SDK 3.0 beta 5

Skatr for iPhone04.15.09

skatr for iphone

It’s been a little over 4 months of development for my iPhone app. This does not mean just coding for the iPhone app but also working on the back-end server side, creating an API for Skatr to use, and later  become a public API for others to consume.

Things I did for the 4 months of development.

First month, Start from scratch to rewrite www.skatr.us from PHP over to Ruby using the Merb Framework. Although that went short after the announcement of Merb & Rails merge. I figured I needed to port things over to Rails now because eventually Merb will be less supported and the other reason was I already know Rails and Merb was sometimes challenging because I did not know it.

Second Month, Write lots of code to port it form Merb over to Rails and Begin writing the API that will be consumed by Skatr. Also go shopping for a Web Host to host the Web App. I started to re-read books I had on Objective-C and Cocoa and bought a few books and screencasts on iPhone development and paid $99 to Apple to be part of the iPhone Developer program. Started writing code for Skatr.

Third Month, Write Ruby Code and Objective-C code for Skatr Web and Skatr iPhone, Also make a ton of google searches to learn how things are done in iPhone land.

Fourth Month, Complete writing Skatr for iPhone and the web API for Skatr.

It was actually a lot of work doing all this considering I was working at my full-time job and not just a 8 hour job but a few days with emergency releases working over 10 hours. Also to mention it takes me almost a little under 2 hours to commute from work to home because of traffic and then I would continue with my iPhone app till usually around 12:00 AM sometimes 1:00 AM and other days when literally my eyelids where already closed and realizing I’m sleeping and I need to go to bed. It was very tiring. Then wake up early for work and continue the same pattern for about 4 months.

Now that Skatr is completed. I’ve submitted it to Apple, hoping it does not get rejected. Let’s see what happens now. Then hopefully take a vacation?

Posted in iPhone, Me, Objective-C, Projects, Ruby, Ruby On Rails, skatrwith Comments Off on Skatr for iPhone

Screencast-O-Matic01.14.09

Today, I wanted to make a screencast to serve more as a reminder to myself on remembering how to create the UINavigation inside a UITabBar for iPhone Development. So I got a little cheap and I decided to look for something online to bookmark but I found screencast-o-matic which is really cool. It let’s you create screencasts from your browser. It uses a java applet. So this is what I created.

Posted in iPhone, Mac, Me, Other, Projects, videowith Comments Off on Screencast-O-Matic

iPhone Development Craziness…12.31.08

This week I finally gave apple $99 so I can test some of these apps I’m experimenting with on my iPhone and see what I can come up with. I was having so much trouble getting it to run on my iPhone I was getting the following error:

mobile device error

So, to get this error to go away, wheather it’s the correct way to solve this problem, I’m not sure but it works and it allows you to test on your iPhone. Just do the following, Change from Debug to Release and that should be it.

picture-11

Update:
So I fell into the same trouble I could not debug under the iPhone device the key answer for me this time was to go under the Build menu and click on Clean All Targets. After that just make sure you set your Bundle Identifier in the info.plist and lastly make sure it is code signing your build under Get Info the left panel Targets > AppName right click select Get info in Code Signing Identity.

Posted in iPhone, Programmingwith Comments Off on iPhone Development Craziness…

Apple Drops iPhone Developer NDA On Released Software10.01.08

Apple announced today that it has decided to drop the controversial iPhone developer non-disclosure agreement because it ‘created too much of a burden on developers, authors and others interested in helping further the iPhone’s success.”

via Techcrunch

Posted in iPhone, Mac, Programmingwith Comments Off on Apple Drops iPhone Developer NDA On Released Software

Downtown LA07.22.08

The stuff I see in downtown los angeles and a post to test image posting

photo

Posted in iPhonewith 7 Comments →

iPhone WordPress App07.22.08

So as a owner of an iPhone, I decided to give wordpress iPhone app a try.. and so far it’s good.. I think it needs a way to upload images, that would be killer..

Posted in iPhone, Me, Otherwith Comments Off on iPhone WordPress App

iPhone firmware 2.007.20.08

Pwnage Tool 2.0

Yesterday was the release of Pwnage Tool 2.0. Immediately I downloaded the tool although I was having trouble actually trying to download it, I guess their server was being hit.. anyways, I was using wget to download it. Well after I manage to download it, of course I unlocked my iPhone first generation with firmware 2.0. What does this mean? It means, I can have my iPhone be more like a computer, now I can connect to it via ssh, and use T-Mobile if I wanted to.. Official third-party apps continue to work. It’s better than ever.

If you need to unlocked firmware for your own phone download it here..

How to use the custom firmware? simply just plug your iphone holding the power button and the home button for about 10 seconds and iTunes says you are in recovery mode. That is a good sign. After you need to option click on recover button to browse for the unlocked firmware. Then just sit back and let iTunes do whatever it does.. Enjoy.

Posted in Downloads, Hacks, iPhone, Uncategorizedwith 4 Comments →

iPhone Custom Firmware 1.1.404.05.08

Apple iPhone Unlocked 1.1.4 Custom Fimware

I have finally unlocked one of my iPhones, so now it can run on t-mobile. Luckily I have two iPhones one that I mess around with and the other which I do use on a everyday basis. If incase anyone wants to use my custom firmware I created here it is for download, I assume you can put your iPhone into recovery mode and use the custom firmware to get your phone unlocked. Always be aware of you are doing.

Posted in Downloads, iPhone, Mac, Mewith 14 Comments →

  • Recent Comments