Thursday, December 31, 2009

iPhone 3.0 Push notification sample code & tutorial

I found the following two links quite helpful for me when developing iPhone Application using push notifications.

http://iphonesdkdev.blogspot.com/2009/04/apns-client-development-certificate.html

and

http://blog.boxedice.com/2009/07/10/how-to-build-an-apple-push-notification-provider-server-tutorial

I also met with the following ERRORS:

Error in registration. Error: Error Domain=NSCocoaErrorDomain Code=3000 UserInfo=0x2910d0 "未找到应用程序的“aps-environment”的权利字符串"

Interestingly, I solved the problem with this post "I got the solution, when you have configured your AppID for Push notification, then recreate a new provisioning file with this AppID and install it on the Xcode Organiser, this has worked for me ." from the following link:

Sunday, December 27, 2009

Some thoughts for building my dream

I should imagine more than what I can do now. And much more.

The ultimate goal should be big enough that you will try to fulfill it with my whole life

Tuesday, November 24, 2009

Slow DNS lookup for T-Mobile and AT&T

Based on our study, iPhone/AT&T and G2/T-Mobile is really slow for DNS lookup.
But Samsung/Verizon and Palm/Sprint are better.

BbUAYORaXy892uDS11xu

Wednesday, November 11, 2009

Comparison between Admob and Adsense: which is more profitable?

Admob is a very good publisher's tool for iPhone's applications.

Based on my experience, for the same page views, such as 1000 page views,
admob can earn more than adsense.

Why?
I guess this is because the screen size of iPhone/iPod is smaller than an computer.
Also mouse allows users to click more accurately than touchpads.

iPhone APP using three20 library is rejected

I used three20 to develop an iPhone image gallary application
And here comes the nightmare:
"
Please include the line below in follow-up emails for this request.

Follow-up: xxxxx

Dear XXXXXXX,

Thank you for submitting XXXXX to the App Store. Unfortunately it cannot be added to the App Store because it is using a private API. Use of non-public APIs, which as outlined in the iPhone Developer Program License Agreement section 3.3.1 is prohibited:.

"3.3.1 Applications may only use Documented APIs in the manner prescribed by Apple and must not use or call any private APIs."

The non-public APIs that are included in your application are the following undocumented, private UITouch instance variables:

UITouch._locationInWindow
UITouch._phase
UITouch._previousLocationInWindow
UITouch._tapCount
UITouch._timestamp
UITouch._touchFlags
UITouch._view
UITouch._window

Regards,

iPhone Developer Program
****************************
"

Check the apple store safe three20 here.
Only slight modifications.
But I don't know whether it will be approved by apple or not.
I already resubmitted two days ago.
Let's see

http://github.com/uprise78/three20-P31/commits/master/