Select Page

Mobiledev Blog

Create a WIFI acces point on Windows

To create a WIFI access point on Windows do the following: - Run a command window as administrator (right click command window icon, run as admin) - Enter: [plain]netsh wlan set hostednetwork mode=allow "ssid=ssid" "key=key” keyUsage=persistent netsh...

iPad manuals

iPad manuals in different languages for the latest OS German http://manuals.info.apple.com/de_DE/ipad_benutzerhandbuch.pdf Spanish http://manuals.info.apple.com/es_ES/ipad_manual_del_usuario.pdf French...

WWDC2012 keynote

Live notes from the wwdc keynote,San Francisco, Moscone West, monday june 11, 2012. 10:00 session starts! A Siri intro with some jokes. 10:01 Tim Cook enters te stage 23thd wwdc, attendees from 60 countries, over a 1000 Apple engineers. 400 milion app store accounts....

OData with PHP and OSX or Linux

Microsoft introduced a new protocol for the data they put in the Azure cloud. It is called "OData". MS also published some client and server tools to consume and produce OData (see: http://odataphp.codeplex.com/ ). The PHP consumer for OData has some trouble with non...

UDID usage rejected by Apple for iOS apps

In iOS 5+ Apple deprecated usage of the device UDID. It appears Apple started rejecting apps for using the UDID. The way to get an unique device id was: NSString *UDID = [[UIDevice currentDevice] uniqueIdentifier]; It appears this might get your app rejected... (See...

SSH on your OSX machine

SSH (Secure SHell)  is a pretty good and secure way to connect from a remote machine to your OSX machine. All communication through SSH is encrypted, including the exchange of passwords! Luckily SSH is already on your machine by default, you only have to enable it. To...

Enable GIT support for an existing XCode project

XCode 4 brings us GIT support (XCode 4.1+ now also brings us GIT server support). That's great! For a new project just tick the "Create local GIT repository..." check-box in the new project dialog. But what about older projects? Enabling GIT for an older project (or a...

Apple mail with multiple identities

Apple Mail has no easy configuration for multiple identities. It is possible to use multiple identities for sending mail, but the configuration is a bit weird! (tested this with Lion...) In Apple Mail go to: Menu "Mail" "Preferences" Select "Accounts" Select your mail...

App icon without gloss

Ever noticed that on iOS devices there are icons with "gloss" and icons without? The Twitter icon below does have a gloss, the Dropbox icon does not. The default setting in an XCode project is to apply gloss to your icons. If your icon already has a gloss you...

NSLog format specifiers

Logging has a lot of possible format specifiers. The general syntax of NSLog is: NSLog(@"Text %@", object); NSLog(@"I want to log: %@", myString); int i = 1234; NSLog(@"The number is: %d", i); The possible format specifiers are: %@   Object %d, %i   Signed Integer %u...

Backup complete WordPress site with a script

Backing up a complete Wordpress site can be done with a bash script. This script has been created and described by Konstantin at http://theme.fm/2011/06/a-shell-script-for-a-complete-wordpress-backup-4/ Mobiledev.nl added some extra's to the script. Script features:...

Memory management in iOS

In iOS 5 "ARC" has been introduced. ARC stands for Automatic Reference Counting. The posting below is still valid for iOS < 5. In iOS 5 the there still is reference counting, but it is automatic. Therefore ARC is no garbage collection. ----------- Platforms like...

Popup message in iOS with delegate

If you just want to show a popup message without responding to the buttons pressed look at the snippet : "Popup message in iOS" If you want to respond to a popup message the popup message probable has more than 1 button. To figure out what button got pressed we have...

Popup message in iOS

Showing a popup message to a user in iOS is not very difficult. The code below shows a popup message with 1 button. If the user presses the button the popup message disappears. No code is executed when the uses pushes the button. (For an example with delegates look at...

Prevent an app from running in the background

There are a few reasons why you would not want your app to run in the background, for example: During development it is easier not to run in the background. The default situation is that when you quit an app in the simulator, the app continues running in the...

WordPress code highlighting

To highlight code in Wordpress posts: Install plugin "WP-Syntax" Embed code snippets in tags: <pre lang="objc" line="1"> </pre> Insert tags and code in "HTML" edit mode and not in "Visual". Example PHP code highlighting with lines: UIAlertView *message =...