Finally i have unlocked the iPhone 4s which Tinyan got it from her uncle about half a year ago. Thanks Steve for letting me know this solution. It unlocks a jailbroken iPhone 4 or iPhone 4s using SAM(Subscriber Artificial Module) which is written by Sam Bingner and it is confirmed by the MuscleNerd of iPhone Dev Team.
You can find the unlock procedures in the following 2 posts.
This is the last iPhone application i wrote when i was working in HKU and it is the most complicated one among the 3 apps since it needs to handle different types of questions like drag n drop and multiple choice… etc
The is the my second approved iPhone application which is called Score Marker (Download). As it’s name says, it is for marking the score of every player in a game such as UNO and Mahjong. After the game is ended, you could save the result as a picture in your iPhone so you can share it with your friends about who is the winner and who is the loser. You can even upload the picture to the internet and share it in social networks. Continue reading →
But that only works in iOS SDK <= 3.2M. After i upgrade it to 4.0, that feature was broken.
It is found that the we have add the observer to the UIKeyboardDidShowNotification instead of UIKeyboardWillShowNotification. Moreover, the view prefix is changed from <UIKeyboard to <UIPeripheralHostView. Here comes the code. Continue reading →
It is very simple to implement touch events in iPhone application. The touch event is defined in the UIResponder which is the super class UIView. So for any UI controls, simply add the following piece of code to handle the touch events. Continue reading →