Recent Articles

AppCompat v7

| November 6, 2013 | 0 Comments

I’ve been using AppCompat v7 for a few months now. I had a difficult time getting it to work… but it did. Both my Calculator & Quote apps were published using it. But today I ran the Android SDK Manager and upgraded to API 19 and I had some errors and a difficult time figuring [...]

Continue Reading

Quote This – my new App.

Quote This – my new App.

| October 23, 2013 | 0 Comments

I’ve spent some time applying what I learned with the Mobile Employee Directory and created an app with a collection of more than 5000 quotations. Its a FREE App available in the Google Play Store. Take a look here for more screen shots, a more detailed description and of course to download it and give [...]

Continue Reading

Building a Mobile Employee Directory – Step 7: Create an App Widget with it’s own ContentProvider & Service.

Building a Mobile Employee Directory – Step 7: Create an App Widget with it’s own ContentProvider & Service.

| July 23, 2013 | 18 Comments

Continuing with the mobile employee directory example, I’ve added three App Widgets to embed information on the phone’s main screen. Create EmployeeWidgetProvider (Changes every 30 minutes, with a random selection. Click to view Employee in DetailActivity.) Create EmployeeWidgetProvider2 & EmployeeWidgetService2 (Changes when clicked, with a random selection) Create EmployeeStackWidgetProvider & EmployeeStackWidgetService (Changes when scrolled. Click [...]

Continue Reading

Building a Mobile Employee Directory – Step 6: Create a Search Interface using Android’s search dialog

Building a Mobile Employee Directory – Step 6: Create a Search Interface using Android’s search dialog

| July 22, 2013 | 1 Comment

Continuing with the mobile employee directory example, I’ve added a Search Interface using Android’s search dialog. MainActivity.java package com.himebaugh.employeedirectory; import java.util.List; import android.annotation.TargetApi; import android.app.ListActivity; import android.app.SearchManager; import android.content.Context; import android.content.Intent; import android.database.Cursor; import android.net.Uri; import android.os.AsyncTask; import android.os.Build; import android.os.Bundle; import android.support.v4.widget.SimpleCursorAdapter; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.widget.ListView; import android.widget.SearchView; import android.widget.TextView; [...]

Continue Reading

Building a Mobile Employee Directory – Step 5: Create a ContentProvider to access the database.

Building a Mobile Employee Directory – Step 5: Create a ContentProvider to access the database.

| July 21, 2013 | 1 Comment

Continuing with the mobile employee directory example, I’ve added a ContentProvider to access the database. MainActivity.java package com.himebaugh.employeedirectory; import java.util.List; import android.app.ListActivity; import android.content.Intent; import android.database.Cursor; import android.net.Uri; import android.os.AsyncTask; import android.os.Bundle; import android.support.v4.widget.SimpleCursorAdapter; import android.view.Menu; import android.view.View; import android.widget.ListView; import android.widget.TextView; // GOAL: Build a native android Mobile Employee Directory // ** The result [...]

Continue Reading

Building a Mobile Employee Directory – Step 4: Pass data to DetailActivity to display more data and provide other functionality (w/ intent.putExtra)

Building a Mobile Employee Directory – Step 4: Pass data to DetailActivity to display more data and provide other functionality (w/ intent.putExtra)

| July 20, 2013 | 1 Comment

Continuing with the mobile employee directory example, I’ve added the detail activity. MainActivity.java package com.himebaugh.employeedirectory; import java.util.List; import android.app.ListActivity; import android.content.Intent; import android.database.Cursor; import android.os.AsyncTask; import android.os.Bundle; import android.support.v4.widget.SimpleCursorAdapter; import android.view.Menu; import android.view.View; import android.widget.ListView; import android.widget.TextView; // GOAL: Build a native android Mobile Employee Directory // ** The result is similar to the sample [...]

Continue Reading

Building a Mobile Employee Directory – Step 3: Save (Persist) the data into a SQLite Database & Load a ListView from a SQLite Database

Building a Mobile Employee Directory – Step 3: Save (Persist) the data into a SQLite Database & Load a ListView from a SQLite Database

| May 19, 2013 | 1 Comment

Continuing with the mobile employee directory example, I’ve added persistent storage with an SQLite database. MainActivity.java package com.himebaugh.employeedirectory; import java.util.List; import android.app.ListActivity; import android.database.Cursor; import android.os.AsyncTask; import android.os.Bundle; import android.support.v4.widget.SimpleCursorAdapter; import android.view.Menu; // GOAL: Build a native android Mobile Employee Directory // ** The result is similar to the sample with Flex and Flash Builder [...]

Continue Reading

Building a Mobile Employee Directory – Step 2: Load data into the ListActivity from an XML file via XmlParser

Building a Mobile Employee Directory – Step 2: Load data into the ListActivity from an XML file via XmlParser

| February 26, 2013 | 1 Comment

Parsing XML data with XmlPullParser into an Android ListView. After reviewing the SAX (Simple API for XML) Parser, the DOM (Document Object Model) Parser and the XmlPullParser.  I’ve decided to use the XmlPullParser because it is supposed to be the fastest.  I have not tried the JDOM Parser. employee_list.xml  (in res/xml) <?xml version="1.0" encoding="utf-8"?> <employees> <employee> [...]

Continue Reading

Building a Mobile Employee Directory – Step 1: Display a ListActivity with some data

Building a Mobile Employee Directory – Step 1: Display a ListActivity with some data

| February 18, 2013 | 1 Comment

A few years ago I came across this tutorial for Building a mobile employee directory sample with Flex and Flash Builder. The following few posts will outline what I have learned by developing  a Native Android App with similar functionality. Employee Directory App To start, create a new blank app in eclipse by selecting File, [...]

Continue Reading

Android Tutorial: Wrapping a Mobile Website with WebView

Android Tutorial: Wrapping a Mobile Website with WebView

| January 28, 2013 | 0 Comments

It may not be the most exciting App, but my first App in the Google Play store wraps a mobile real estate website.  My App is no longer in the Google Play store, but you can view a photo of the end product at the bottom of this page The following code demonstrates a simple [...]

Continue Reading