2010年6月26日星期六

First Cocos2d application run on the Device


After resetting my iPhone, and set it "use for developement",
I finally get the first cocos2d up & running in my iphone 3gs.

just upgrade to iPhone SDK 4 - Base sdk missing ...

Just download & installed the iPhone SDK 4 with XCode 3.2.3

While I have a little problem that the old project have "Base SDK missing" issues.
I solved the problem this morning.

To solve it, right on the project, and click "Get Info",
in the "Get Info" panel, there is a opiton call "Base SDK" (under the Build tag)
you have to select a available "SDK varion" in order to compile & run.

So, you can select SDK 3.2 or greater , in my case, everything go fine.

I also try to cmpile my working Cocos2d project, and it works.

:)

2010年6月22日星期二

iOS 4 – google Calendar Sync problem solved !

it’s OK now!

upgrading iOS4….. hope all Apps can keep working…

image

While at the same time, studying the iPhone SDK, writing some apps.

2010年6月8日星期二

ArgumentError: Error #2082: Connect failed

When working with flex-flash localconnection implementation, some of you may face the #2082 error,

this is a flex-flash bugs, and will happen in some crash case or multiple SWF loading (in my case).

After google search the problem, i found a working solution for this problem,…

to solve this, we need to use a unique connection string name instead of “same string” each times.

Flex ———————- Flash
1. generate unique key
2. connect with generic key —- connect with generic key
3. send unique key ———-—–> key received
4. close connection ———- close connection
5. connect with unique key —- connect with received key

above is the simple solution, and I have implemented it, and work fine.

:)