RSS

Tag Archives: android

Android Application Lifecycle

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

 

Tags:

Android Fragment Lifecycle

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

android-fragment-lifecycle-2
The effect of the activity lifecycle on the fragment lifecycle.

Source: Android Developer

 
Leave a comment

Posted by on October 15, 2014 in References

 

Tags:

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 Pluralsight.com, but this learning paths are not limited to just Pluralsight.com. 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!

Android

Level Course
0100 Get the Android SDK (http://developer.android.com/sdk/index.html)
0101 Prerequisite: 0100
Getting Started (http://developer.android.com/training/index.html)
0102 Introduction to Android Development (http://pluralsight.com/training/Courses/TableOfContents/android-intro)
0200 Prerequisite: 0101 or 0102
Android Async Programming and Services (http://pluralsight.com/training/Courses/TableOfContents/android-services)

AngularJS

Level Course
0100 AngularJS Fundamentals (http://pluralsight.com/training/Courses/TableOfContents/angularjs-fundamentals)
0200 Prerequisite: 0100
AngularJS In-Depth (http://pluralsight.com/training/Courses/TableOfContents/angularjs-in-depth)
0201 Prerequisite: 0100
Testing AngularJS From Scratch (http://pluralsight.com/training/Courses/TableOfContents/testing-angularjs-from-scratch)

ASP.NET MVC

Level Course
0100 ASP.NET MVC Fundamentals (http://pluralsight.com/training/Courses/TableOfContents/aspdotnet-mvc)
0200 Prerequisite: 0100
ASP.NET MVC 5 Fundamentals (http://pluralsight.com/training/Courses/TableOfContents/aspdotnet-mvc5-fundamentals)

ASP.NET Web API

Level Course
0100 Introduction to the ASP.NET Web API (http://pluralsight.com/training/Courses/TableOfContents/aspnetwebapi)
0200 Prerequisite: 0100
Web API v2 Security (http://pluralsight.com/training/Courses/TableOfContents/webapi-v2-security)
0201 Prerequisite: 0100
Web API Design (http://pluralsight.com/training/Courses/TableOfContents/web-api-design)

C#

Level Course
0100 C# Basic (http://csharp-station.com/Tutorial/CSharp)
0101 C# From Scratch (http://pluralsight.com/training/Courses/TableOfContents/csharp-from-scratch)
0102 Prerequisite: 0101
C# From Scratch – Part 2 (http://pluralsight.com/training/Courses/TableOfContents/csharp-from-scratch-part2)
0200 Prerequisite: 0100 or 0102
Object-Oriented Programming Fundamentals in C# (http://pluralsight.com/training/Courses/TableOfContents/object-oriented-programming-fundamentals-csharp)

Entity Framework

Level Course
0100 Getting Started with Entity Framework 5 (http://pluralsight.com/training/Courses/TableOfContents/entity-framework5-getting-started)
0200 Prerequisite: 0100
Entity Framework Code First Migrations (http://pluralsight.com/training/Courses/TableOfContents/efmigrations)

JavaScript & jQuery

Level Course
0100 W3Schools’s JavaScript Tutorial (http://www.w3schools.com/js/default.asp)
0101 JavaScript Fundamentals (http://pluralsight.com/training/Courses/TableOfContents/jscript-fundamentals)
0120 Prerequisite: 0100 or 0101
DO Factory’s JavaScript + jQuery Design Pattern Framework – JavaScript & Pattern Essentials (http://www.dofactory.com/products/javascript-jquery-design-pattern-framework)
0200 Prerequisite: 0100 or 0101
JavaScript Design Patterns (http://pluralsight.com/training/Courses/TableOfContents/javascript-design-patterns)
0300 Prerequisite: 0200
jQuery Fundamentals (http://pluralsight.com/training/Courses/TableOfContents/jquery-fundamentals)

WIF, Claims-based Identity, OAuth2

Level Course
0100 Introduction to Identity and Access Control in .NET 4.5 (http://pluralsight.com/training/Courses/TableOfContents/iac-intro)
0200 Prerequisite: 0100
Identity and Access Control in ASP.NET 4.5 (http://pluralsight.com/training/Courses/TableOfContents/iac-aspnet)
0201 Prerequisite: 0100
Identity and Access Control in WCF 4.5 (http://pluralsight.com/training/Courses/TableOfContents/iac-wcf)
0202 Prerequisite: 0100
Web API v2 Security (http://pluralsight.com/training/Courses/TableOfContents/webapi-v2-security)
0300 Prerequisite: 0200 or 0201 or 0202
Introduction to OAuth2, OpenID Connect and JSON Web Tokens (JWT) (http://pluralsight.com/training/Courses/TableOfContents/oauth2-json-web-tokens-openid-connect-introduction)
 
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”

developing-android-app-setting-up-environment-1

To solve this:

  • Right click on My Computer, Properties
  • On Advanced tab, click on Environment Variables
    developing-android-app-setting-up-environment-2
  • 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
    developing-android-app-setting-up-environment-3

“Failed to load the JNI shared library.”

developing-android-app-setting-up-environment-4

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: