Tag Archives: android

Ionic 3 Change App Icon and Splash Screen

The easiest way to change App Icon and Splash screen in Ionic is to let Ionic handle creation of different versions of icon and splash sizes.

When an app first created, there are 2 files in resources folder, icon.png and splash.png.
Screen Shot 2018-06-06 at 1.34.00 AM

Replace these 2 files with your desired icon and splash files.

  • File name must be the same
  • Size of icon.png must be minimum 1024×1024 and splash.png must be minimum 2732×2732

Once icon.png and splash.png files have been replaced. Follow this steps:

  1. You must have FREE Ionic account. This is because the icon and splash generation/transformation is using Ionic server.
  2. On your project folder, run following command: ionic login
  3. Then enter your email and password.
  4. On project folder, run (replace ios with android if you building Android app): ionic cordova resources ios
  5. Ionic will transform your icon and splash files into different versions that your target platform requires.
  6. In the process, config.xml, will also be updated.

Posted by on June 5, 2018 in General


Tags: , , , , , ,

Android Application Lifecycle


A simplified illustration of the Activity lifecycle, expressed as a step pyramid. This shows how, for every callback used to take the activity a step toward the Resumed state at the top, there’s a callback method that takes the activity a step down. The activity can also return to the resumed state from the Paused and Stopped state.

Source: Android Developer

Leave a comment

Posted by on October 16, 2014 in References



Android Fragment Lifecycle

The lifecycle of a fragment (while its activity is running).

The effect of the activity lifecycle on the fragment lifecycle.

Source: Android Developer

Leave a comment

Posted by on October 15, 2014 in References



Learning Paths

With so many tutorials, articles and resources available out there on the Internet, learning new programming language, framework and library become much more easier. However, as much as its advantage, readily available resources have also become its own problem: where should I start?

With so many options available, it can be confusing to even start learning. I present you my learning paths to solve this problem. Learning paths will guide you through learning programs for each subject of your interests. Think of this as a curriculum to the degree you want to get.

Most of the courses are from, but this learning paths are not limited to just I also include some free courses from other sources. While I understand that you may have to pay for some of these courses, I can assure you that paying the subscription is worth it (especially Pluralsight!).

I will update this learning paths to include more subjects and courses in the future. Stay tuned!


Level Course
0100 Get the Android SDK (
0101 Prerequisite: 0100
Getting Started (
0102 Introduction to Android Development (
0200 Prerequisite: 0101 or 0102
Android Async Programming and Services (


Level Course
0100 AngularJS Fundamentals (
0200 Prerequisite: 0100
AngularJS In-Depth (
0201 Prerequisite: 0100
Testing AngularJS From Scratch (


Level Course
0100 ASP.NET MVC Fundamentals (
0200 Prerequisite: 0100
ASP.NET MVC 5 Fundamentals (


Level Course
0100 Introduction to the ASP.NET Web API (
0200 Prerequisite: 0100
Web API v2 Security (
0201 Prerequisite: 0100
Web API Design (


Level Course
0100 C# Basic (
0101 C# From Scratch (
0102 Prerequisite: 0101
C# From Scratch – Part 2 (
0200 Prerequisite: 0100 or 0102
Object-Oriented Programming Fundamentals in C# (

Entity Framework

Level Course
0100 Getting Started with Entity Framework 5 (
0200 Prerequisite: 0100
Entity Framework Code First Migrations (

JavaScript & jQuery

Level Course
0100 W3Schools’s JavaScript Tutorial (
0101 JavaScript Fundamentals (
0120 Prerequisite: 0100 or 0101
DO Factory’s JavaScript + jQuery Design Pattern Framework – JavaScript & Pattern Essentials (
0200 Prerequisite: 0100 or 0101
JavaScript Design Patterns (
0300 Prerequisite: 0200
jQuery Fundamentals (

WIF, Claims-based Identity, OAuth2

Level Course
0100 Introduction to Identity and Access Control in .NET 4.5 (
0200 Prerequisite: 0100
Identity and Access Control in ASP.NET 4.5 (
0201 Prerequisite: 0100
Identity and Access Control in WCF 4.5 (
0202 Prerequisite: 0100
Web API v2 Security (
0300 Prerequisite: 0200 or 0201 or 0202
Introduction to OAuth2, OpenID Connect and JSON Web Tokens (JWT) (
1 Comment

Posted by on September 15, 2014 in General


Tags: , , , , , , , , , , ,

Developing Android App: Setting Up Environment

I had a chance to toy around Android Development Tools (ADT) over the weekend and this is my personal take on it: aside from setting up Eclipse IDE, everything works painfully. Although, I have to admit, setting up Eclipse IDE for me wasn’t as painful as Jamie Murai’s experience with RIM Developer Relations, not even a slight chance.

This is what you need to do:

Download Android SDK
Download Android SDK here. The download already include Eclipse IDE with ADT plugin.

Run Eclipse (Mac and Windows)
Ideally, you just click on “eclipse.exe” file and you are ready to develop app in Android. This is true when I ran Eclipse on Mac OSX environment. For Windows, it’s not the case. In Windows environment, I ran into couple issues

“Java Runtime Environment  / Java Development Kit must be available”


To solve this:

  • Right click on My Computer, Properties
  • On Advanced tab, click on Environment Variables
  • Under System Variables, add the following variable:
    key: JAVA_HOME
    value: C:\Program Files (x86)\Java\jre7
    Obviously, the value depend on where you have your JRE installed and what version (32 or 64 bit), but normally this is where it is.
  • Under System Variables, modify the Path variable:
    key: Path
    value: ;%JAVA_HOME$\bin

“Failed to load the JNI shared library.”


This caused by different system type between Java Runtime and Eclipse. In my case, I have 32-bit Java Runtime but 64-bit Eclipse. Both Java Runtime and Eclipse must match, either 32-bit or 64-bit.

Android Virtual Device (AVD)
Your journey is not yet ended after you get Eclipse to run. Before start coding your app, you will need to create what is called Android Virtual Device (AVD). Essentially, it’s a sandbox, closed, isolated environment of an Android device. So, think of it like a Android cell phone but running on your OS.
Android Developers site provide details information on this subject: Managing AVDs with AVD Manager.

I would strongly suggest you to run your app on actual device as oppose to emulator in AVD just because running emulator is extremely slower in my case.

What’s Next?
Well, create your first app and hello world fun. Head to tutorial on Android Developers website to create your first app.

Leave a comment

Posted by on February 11, 2013 in General


Tags: ,

%d bloggers like this: