Tag Archive for iPad

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” 😀
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.

Localizable.strings – How to load translation files dynamically from a web server and use them it inside your iPhone App

We all know we can use “Localizable.strings” to translate our Apps into different languages like this in our code:

NSLocalizedString(@"myKey", @"");

… if we have created our “Localizable.strings” file first and put in some keys and values… but what if I want my translation to be dynamic, that is, download it from a webserver and use the key value pairs of that file instead of our “locked” app resources like Localizable.strings after deployment?

Fortunately there is a solution to this problem! I’m also going to show you how to download the file from a webserver using ASIHTTPRequest, a wrapper around the CFNetwork API that makes it very easy for us to communicate with our webserver even through https!

Localizable Strings

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 2/3

Step 2: Do some stuff on your terminal

We now have to generate some files that are needed to communicate with Apple’s pushnotification servers:

  1. Generate cert & key files used by your php script to comm. with APNS

Remember the “aps_production.cer” file we downloaded? Now we need that one to make all the files we need for our php script to be able to create some nice messages and send them to all the devices that installed your awesome app…

 

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!

How to make a music player inside an app featuring: Bora Bora App – Tahiti and her islands

Wondering how to implement a music player inside an app? The interesting part of this short tutorial is the fact that our player also reacts and syncs when the user presses the volume control of his device. That is, we take the current “hardware volume” of his device and enable the user to manipulate the same volume inside the app, too, compatible for iPhone and iPad. Sounds easy, right?

Here’s a screenshot showing what we’re going to do:

iOSappLove* gabe = [[iOSappLove alloc] init];

Welcome to iOSAppLove!
We’ll post here tutorials about how to code/design/develop iOS Apps. With our years of experience in developing Apps for iPhone and iPad, we decided to start this amazing blog to share (and gain!) some knowledge with the beloved iOS dev community 🙂

Feel free to write us and request tutorials about anything concerning iOS development!

All the best

[gabe release];
gabe = nil;