Tag Archive for apps

WeBe Bluetooth Mouse for iPhone, iPad & iPod touch

Download on the App Store

 

WeBe, a computer mouse app for the iPhone or the iPod touch, lets you have all the functions of a normal Bluetooth mouse and keyboard in your pocket! The screen of the iPhone or iPod touch serves as a trackpad – slide with three fingers to invoke the keyboard (or use the buttons)!

Game Center Tutorial – How to set up a Multiplayer Game like SNOWGRE

First things first: We just released an update of our MULTIPLAYER App called “SNOWGRE“, available for FREE on the App Store: https://itunes.apple.com/us/app/snowgre/id560450513?mt=8

SNOWGRE_multiplayer

SNOWGRE – Multiplayer game using Game Center

Please have a look, download it for free and consider buying some extra lives and unlock the multiplayer feature to play against people from all over the world! Play agains me => my nickname is “GABEHOE” or against my co-worker Adrian => “ADIMAN84″ :D
We’d love to hear suggestions and receive feedbacks from you… and compete with you! Hahahah…

On this blog post I am going to show you how to use Game Center (Game Kit Framework) to make an amazing Multiplayer Game like SNOWGRE… well, not the whole game, but at least I will show you how to code the multiplayer stuff! ;)

UIDevice uniqueIdentifier property is deprecated – What now?

I’m going to show you in this post how to write a workaround for this problem. Many of the existing Apps in the App Store are dependent on this property (uniqueIdentifier) for uniquely identifying a particular device… Apple stopped supporting a unique identifier for iOS (>=5.0).

Solution 1:

Instead of:

[UIDevice uniqueIdentifier];

Use:

[UIDevice uniqueDeviceIdentifier];

But wait… where does this property it come from? The following source code solves the problem. It generates a unique identifier based on the mac address of the device in combination with the bundle identifier.

Apple Push Notification Services Tutorial: Part 3/3

Step 3: Build up your database to store user information

Now we need a MySQL database to store all user information so that we know where to send the Push Notifications!

  1. Build up database to receive user information

-> Create a database and a user for that database.
-> Update the apns.php file and sendMessage.php file with the database information (username, pwd, database name, host, etc.)

We need three tables: “apns_devices”, “apns_device_history” and “apns_messages”.

We will actually need only “apns_devices” and “apns_device_history”, but since this tutorial is based on Easy APNS, we must also include everyting and consider all dependencies…!

 

Apple Push Notification Services Tutorial: Part 1/3

Step 1: Prepare the App to receive Push Notifications

In this tutorial I will explain all steps how to make an app for production that can receive Push Notifications. Basically there are 3 steps that must be explained:

  • Prepare the app to receive Push Notifications
    1. Login Developer Account & modify/enable app ID to receive PNs
    2. Use your new and PN enabled provisioning profile
    3. Modify AppDelegate to handle PNs
  • Do some sorcery on your terminal
    1. Generate cert & key files used by your php script to comm. with APNS
    2. Make some nice and easy PHP scripts to send messages right away
  • Build/modify provided Database-creation code to save device information
    1. Build up database to receive user information
    2. Take it all together – done!