Wei-Meng Lee

97 Added | 4 Magazines | 2 Likes | 13 Following | 333 Followers | @weimenglee2013 | Keep up with Wei-Meng Lee on Flipboard, a place to see the stories, photos, and updates that matter to you. Flipboard creates a personalized magazine full of everything, from world news to life’s great moments. Download Flipboard for free and search for “Wei-Meng Lee”

Swift - Generating a random number

If you want to generate a random number in Swift, use the <b>arc4random_uniform()</b> function. The following code snippet generates a number from 0 to 9:<p>var …

Swift - Using Selector in Swift

In Objective-C, you often encounter methods that accepts a Selector as the argument. A good example is the NSTimer's …

Swift - Checking if a method exists

A lot of changes has happened in iOS 8, and a lot of APIs require that you call certain new methods before they can work. Examples are locations, …

iOS 8 - Displaying Local Notifications

Displaying local notifications has changed a little in iOS 8. You now need to seek the user's permission in order to display notifications. You can …

Swift - Calling Objective-C code

In Xcode 6, you now have the option to create a project using either Swift or Objective-C. In addition, you can also use Objective-C code in your …

Android Tip - Detecting if your App is in the Foreground

Very often, your application will continue to work in the background. When an event occurred (such as entering an iBeacon region), you might need to …

Bluetooth Low Energy Programming - iOS and Android

For those of you who are into Bluetooth Low Energy programming, there are two courses coming up this month:<p>* 22 Jan 2014 - AND303 – Advanced Android …

IOS301 – 1-Day Advanced iOS – Programming iBeacon in iOS7 using Bluetooth Low Energy

In recent years, we have seen a proliferation of <b>Bluetooth Low Energy (Bluetooth LE)</b> devices. Bluetooth LE, as it name implies, uses low energy for …

The Pebble appstore is coming to a smartphone near you!

The Pebble appstore is coming to a smartphone near you! Arriving in early 2014, you can now download your favourite Pebble apps through the Pebble …

Xamarin Course on 8-10 Jan 2014 Confirmed!

I am happy to announce that the MOB101 - Xamarin Course on <b>8-10 Jan 2014</b> is now confirmed!<p>Using the Xamarin Studio, you can now create compelling …

Android Tip - Saving Instance State

One of the characteristics of an activity that it is automatically destroyed and recreated whenever there is a change in device orientation. As such, …

Android Course on 23-24 Dec 2013 is now confirmed!

For those of you who are considering attending the Foundation of Android Programming course on 23-24 Dec 2013, you would be delighted to know that it …

Developer Learning Solutions Fan Page

Training Calendar for Dec 2013 to Mar 2014

The training calendar for <b>Dec 2013 to Mar 2014</b> is now online. Click on the image below to download the calendar.<p>Posted by<p>Wei-Meng Lee at<p>5:11 AM<p>Labels: …

Announcing the details of the Pebble Programming course

I am super excited to announce the details of the first Pebble Programming course held in Singapore. Here is the synopsis of the course and the dates:<p>…

Get a Bluetooth Low Energy (BLE) SensorTag when you sign up for the Bluetooth Low Energy Courses

For those of you signing up for the Bluetooth Low Energy Courses (AND303 – 1-Day Advanced Android – Bluetooth Low Energy Programming and IOS301 – …

New Course - Pebble Programming! Coming soon!

I am super excited to announce of an upcoming new course on <b>Pebble</b> <b>Programming</b>! Ever wanted to create apps and watch faces for the Pebble? Now you have …

Developer Learning Solutions Fan Page

#iosdev #bluetooth #ios7<br>The Peer Connectivity Framework is one of the new frameworks in iOS 7. Using this new framework, iOS devices can communicate …

Check if your Android device supports Bluetooth Low Energy (BLE)

If you want to know if your Android device supports <b>Bluetooth Low Energy</b> (aka <b>Bluetooth LE</b>; sometimes also known as <b>Bluetooth Smart</b> or <b>Bluetooth 4.0</b>), …

CS102 – Advanced C# 5.0 - Object-Oriented Programming - 9-10 Dec 2013

Since the release of the Microsoft .NET Framework in July 2000, the C# programming language has gone through a few revisions, with the latest version …

Foundation of iPhone Programming - 31 Oct to 1 Nov 2013

This course has been fully updated to cover the latest <b>Xcode 5</b> and <b>iOS 7</b>. In Xcode 5, all projects use Storyboard by default and you no longer can use …

Developer Learning Solutions Fan Page

AND303 – 1-Day Advanced Android – Bluetooth Low Energy Programming

In recent years, we have seen a proliferation of Bluetooth Low Energy (Bluetooth LE) devices. Bluetooth LE, as its name implies, uses low energy for …

Android Tip - Checking for Bluetooth LE Support

Bluetooth Low Energy (LE) devices has been out for quite sometime. However, support for Bluetooth LE was not available until Android 4.3. Even so, …

Android Tip - Auto-launch your App on Bootup

For corporate applications, it is not uncommon for enterprises to require their specific applicatons to be automatically launched when the device …

Android Tip - Checking Availability of Google Play Services

Nowadays, most of the services in Android are encapsulated in Google Play Services. For example, the latest version of Google Maps for Android is …

Xamarin Course on 2-4 Oct 2013

In this <b>3-day</b> workshop, you will learn the fundamentals of building cross-platform mobile apps targeting iOS and Android devices using Xamarin and …

iOS Tip - Detecting Network Connectivity Type

An iOS device typically have a two ways to get connected to the Internet – Wi-Fi or 3G/4G. Typically in your application, you should refrain from …

iOS Tip - Playing Sound

A very common task in iOS is playing sound. For example, your application needs to play some background audio when the user clicks on some buttons, …