Posts Tagged ‘mobile’

Using the Android Daydream API

Tuesday, January 22nd, 2013

Daydream is the new interactive screensaver mode that was added in the Android 4.2 / Jelly Beans release. Such “dreams” may be activated when the device is in idle mode or inserted into a dock.

In the following tutorial we’re going to create a simple daydream that starts a simple animation and in addition we’ll be adding a configuration screen to alter the behaviour of this daydream.

(more…)

Using the Android Fragment API in a Tablet App

Sunday, March 18th, 2012

Since I got a new tablet running Android 4.0 aka ice cream sandwich I wanted to play around a bit with the fragments API and creating an application for a tablet.

In the following tutorial, we’re going to build an application that renders several articles from a popular tech blog (just kidding) in a web view.

(more…)

Create Mobile Websites using Java Server Faces and PrimeFaces Mobile

Sunday, January 8th, 2012

The more smartphones and tablets are sold the bigger the need for a mobile version of a modern website. PrimeFaces Mobile helps us developers hereĀ  and allows us to quickly create mobile websites that display well on an iPhone, Android, Palm, Blackberry, Windows Mobile and others.

In the following tutorial we’re going to create a web application that is using Java Server Faces 2.1, PrimeFaces 3.1 and PrimeFaces Mobile 1.0 and runs on a simple web container like Tomcat or Jetty.

(more…)

Android Widget Tutorial: Creating a screen-lock Widget in a few steps

Thursday, October 6th, 2011

hasCode Android Widget Tutorial Logo In today’s Android tutorial we’re going to take a look at Android’s Widget API and how to make a widget interact with a service using intents.

We’re going to create a fully functional application that allows us to enable or disable our smartphone’s screen lock settings using a widget that can be placed on ourĀ  home screen.

Finally I am going to show how to use a smartphone to test and debug our application and connect it to the IDE.

(more…)

Sensor Fun: Location Based Services and GPS for Android

Sunday, May 30th, 2010

The Android SDK offers a nice API to receive information about available providers for location based services and get the current location and coordinates.

In this short tutorial we’re going to build a small activity that displays a list of available location providers and shows the current position using GPS services.

(more…)

First steps on Android: Creating a simple Todo App

Monday, April 26th, 2010

In this tutorial we are going to build a simple todo app that is able to store simple todos in a database. The user is able to add new todos or delete old ones by clicking on a todo. For this tutorial we won’t use maven to keep it simple – if maven integration is desired – take a look at this tutorial. (more…)

Search
Categories