Saturday, July 30, 2011

Android Push Notification Service and C2DM

Apple has support push notification since iOS 3.0
But what about Android??
Android can do this using a long-polling service or keep connected to server.
There are implementations of Android push notification.

1. Cloud to Device Messaging (C2DM) official service by Google
2. AndriodPN at http://sourceforge.net/projects/androidpn/files/
3. Urban Airship Service
4. IBM's MQTT

Thursday, July 21, 2011

_gzwrite _gzclose referenced from - symbol(s) not found

If you are suffering from this build error
just add framework "libz.dylib" to your iPhone project.

It's a "link" error.
For problems like "xxxx reference from ... symbol(s) not found", try to find the missing framework.

Search the link-error method, and "Jump to Definition", you would probably see what framework it is referencing from.

Sunday, July 10, 2011

Info.plist, Failed to launch simulated application: unknown error

I downloaded an opensource iphone project. Failed to build it.

The error message is

could not read data from '/xxxx/xxxx/xxxx/Info.plist': The file “Info.plist” couldn’t be opened because there is no such file.