Showing posts with label intent. Show all posts
Showing posts with label intent. Show all posts

Sunday, July 03, 2016

iOS and Android Boot Camps


Looking to jumpstart your iOS or Android development projects? The fastest way to be productive is to join us in the upcoming iOS and Android Boot Camps. In these boot camps, you will learn the fundamentals in 5 days, and at the end of the 5 days, you will be productive and on your way to coding your first real-life app.


AND500 - Android Programming Bootcamp
Course Fee
S$3197 (nett; no GST)
If your company is sponsoring you for the training, your company can enjoy 400% tax deductions/ allowances and/or 60% cash payout for investment in innovation and productivity improvements under the Productivity and Innovation Credit (PIC) scheme. For more details, check out the Productivity and Innovation Credit page. 
Schedules
Start DateEnd DateDetailsCategory
Mon Oct 24 2016Fri Oct 28 2016PDF

IOS500 - iPhone Programming Boot Camp
Course Fee
S$3197 (nett; no GST)
If your company is sponsoring you for the training, your company can enjoy 400% tax deductions/ allowances and/or 60% cash payout for investment in innovation and productivity improvements under the Productivity and Innovation Credit (PIC) scheme. For more details, check out the Productivity and Innovation Credit page. 
Schedules
Start DateEnd DateDetailsCategory
Mon Jul 18 2016Fri Jul 22 2016PDF
Mon Aug 29 2016Fri Sep 02 2016PDF

Tuesday, March 03, 2015

Foundation of Android Programming - 16-17 March 2015 (CONFIRMED)

With the new Android Studio, Google has now made Android development easy and at the same time powerful. Come and join us in this upcoming course and learn how to develop apps for your Android devices!

Course Fee
S$1097 (nett; no GST)
If your company is sponsoring you for the training, your company can enjoy 400% tax deductions/ allowances and/or 60% cash payout for investment in innovation and productivity improvements under the Productivity and Innovation Credit (PIC) scheme. For more details, check out the Productivity and Innovation Credit page. 
Schedules
Start DateEnd DateDetailsCategory
Mon Jan 26 2015Tue Jan 27 2015PDF
Sat Mar 07 2015 (WEEKEND CLASS)Sun Mar 08 2015PDF
Mon Mar 16 2015 CONFIRMEDTue Mar 17 2015PDF
Wed Apr 01 2015Thu Apr 02 2015PDF
Sat Apr 18 2015 (WEEKEND CLASS)Sun Apr 19 2015PDF
Mon Jun 08 2015Tue Jun 09 2015PDF
Venue
Bayview Hotel Singapore
30 Bencoolen Street
Singapore 189621  

If your company requires in-house training, you can contact us to customize the topics to meet your training requirements. We train worldwide! We have conducted customized classes in the United States, Canada, Norway, Denmark, Japan, China, Hong Kong, Taiwan, and Thailand.

Sunday, November 09, 2014

Fundamentals of Android Programming - 26-30 Jan 2015 (OSLO, NORWAY)

In collaboration with ProgramUtvikling, I will be teaching the Fundamentals of Android Programming course on the 26 - 30 Jan 2015 in Oslo, Norway. This is a 5-day course that teaches the fundamentals of Android programming, such as Activities, Intents, Broadcast and Broadcast Receivers, Networking, Notifications (local and remote), Data Storage, and more. If you and your team are interest to get into Android development, this course provides the most cost effective way to get started!


What's more, this course will be taught using Google's latest IDE - Android Studio. For this course, you will get a lab-intensive workbook that illustrates the many important concepts of building an Android app.

Monday, July 07, 2014

AND101 - Foundation of Android Programming (Android Studio)

Android is Google’s operating system for mobile devices. Using the Android SDK, developers can develop applications on the Android platform using the Java Programming language. In this 2-day course, participants will learn the various techniques to program their Android devices. This feature-packed course will show you how to get started in Android development, right from the start till deployment.

This course has been fully updated to use Android Studio, Google's official development environment for developing Android applications. 

Venue
Bayview Hotel

Fee
S$1,097 (nett; no GST)
* Includes lunch and 2 tea-breaks


Date
29-30 July 2014 (Tue-Wed)
20-21 Aug 2014 (Wed-Thu)
9-10 Sep 2014 (Tue-Wed)
Time
9am to 5pm

Prerequisites
Basic knowledge of programming

Course Outline and Application Form
Download here.

Saturday, March 29, 2014

Android Tip - Launch Application by Package Name

One common way to launch an application is through its activity. However, what happens if you do not know the name of the activity?  So how do you launch an intent to launch the application?
 
In this case, you need to launch the application directly using its package name.

The following appIsInstalled() method checks if a package is already installed on the target device:

import android.app.Activity;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.os.Bundle;
import android.view.Menu;
import android.widget.Toast;

private boolean appIsInstalled(String packageName) {
    PackageManager pm = getPackageManager();
    boolean appInstalled = false;
    try {
        pm.getPackageInfo(packageName,
            PackageManager.GET_ACTIVITIES);
        appInstalled = true;
    } catch (PackageManager.NameNotFoundException e) {
        appInstalled = false;
    }
    return appInstalled;               
}

To launch a package directly using its package name, you can use the getLaunchIntentForPackage() of the PackageManager class to create an intent for the app:

        String packageName =
            "net.learn2develop.barcodescanner";
        
        if (appIsInstalled(packageName)) {
            Intent i = getPackageManager().
                getLaunchIntentForPackage(packageName);
            startActivity(i);
        } else {
            Toast.makeText(this,
                "App not installed on the device.",
                Toast.LENGTH_LONG).show();
        }


Then, you launch the intent as usual using the startActivity() method.