Articles Tagged ‘Android’
Tuesday, November 17th, 2015
When it comes to the field of hybrid mobile application development, Ionic and its tool-stack is often an attractive choice.
Now there is Ionic Creator to speed up the development process offering an in-browser editor to create user interfaces via drag and drop and supporting basic templates for mobile applications like tabbed layouts etc.
In addition, a project created with this tool may be downloaded and started with easy and that’s what I’d like to show in the following short example.
(more…)
Tags: ajax, Android, angular, angularjs, controller, cordova, creator, directive, emulator, hybrid, ionapp, ionic, ionview, ios, javascript, js, mobile, npm
Posted in Android, Apps | 2 Comments »
Sunday, May 3rd, 2015
Nowadays in the realm of hybrid mobile application development there is a variety of available frameworks worth having a look at.
In the following tutorial I’d like to demonstrate the development life-cycle for a complete mobile application using Ionic, Cordova and AngularJS (and others) covering every step from the initial project setup, creating Angular Controllers, Directives, adding Cordova Plug-Ins, running and testing the application in the browser and emulator up to finally running the application on an Android device and assembling files for a release.
Finally I’d like to show some special features from the Ionic ecosystem like the Ionic Cloud and running our applications using the IonView app.
(more…)
Tags: ajax, Android, angular, angularjs, controller, cordova, cors, directive, emulator, gulp, hybrid, ionapp, ionic, ionview, ios, javascript, js, json, logcat, mobile, npm, sop
Posted in Android, Apps, Development | 7 Comments »
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…)
Tags: activity, Android, daydream, dream service, intent, jelly bean, mobile, service
Posted in Android | 4 Comments »
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…)
Tags: adb, Android, fragment, ice-cream, mobile, tutorial
Posted in Android, Apps, Java | No Comments »
Saturday, December 3rd, 2011
Using reusable styles and themes to modify an Android application’s look is really easy and helps to not violate thy DRY (don’t repeat yourself) principle by typing styles in every single UI element again and again.
In the following tutorial we’re going to write and apply some simple styles and a finally theme to a simple Android application.
(more…)
Tags: Android, style, theme, ui
Posted in Android, Java | No Comments »
Sunday, November 27th, 2011
In today’s tutorial we’re going to take a look on how to handle periodically scheduled tasks on our Android device by using BroadcastReceivers, Services and the AlarmManager.
(more…)
Tags: alarm, Android, background-task, broadcast, service
Posted in Android, Java | 17 Comments »
Thursday, October 6th, 2011
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…)
Tags: adb, Android, appwidgetprovider, intent, mobile, service, smartphone, tutorial, widget
Posted in Android, Java | 3 Comments »
Monday, September 27th, 2010
Animations add some spice to our Android applications and the offered animation framework makes it easy to create custom animations and tweens.
So lets dance around and create some animations ;) ..
(more…)
Tags: activity, Android, animation, component, example, tutorial, tween
Posted in Android | 24 Comments »
Wednesday, August 4th, 2010
Today we’re going to take a look at Google’s App Inventor feature that offers programming-novices a nice possibility to enter the fabulous world of Android App programming without deeper knowledge of the API or complex SDK installations.
So lets build some stuff ..
(more…)
Tags: accelerometer, Android, app, app inventor, example, google, gui, sensor, Snippet, tutorial
Posted in Android | 3 Comments »
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…)
Tags: activity, adt, Android, example, gps, lbs, location, mobile, sample, tutorial
Posted in Android | 2 Comments »
Friday, May 14th, 2010
The integration of gestures into your android app adds some nice functionality and is made very easy using Google’s GestureBuilder application and the integrated GestureLibrary and Gesture Overlay API – so let’s build a sample app.
If you need some basic information regarding gestures on android first – take a look at this article.
(more…)
Tags: adt, Android, capturing, emulator, example, gesture, gesture overlay, gesturebuilder, Snippet, tutorial
Posted in Android | 14 Comments »
Tuesday, May 11th, 2010
Sometimes QR codes are a nice way to distribute information like calendar events, contact information, e-mail, geo-locations or internet addresses.
In the following article we’re going to encode information to QR code images using the ZXing library and afterwards decode information from a given QR code.
Finally we’re taking a look on online QR code generators and how to integrate the ZXing library in a Maven project.
(more…)
Tags: 2d, Android, barcode, generator, qr code, scanner, Snippet, tutorial, zxing
Posted in Android, Java | 5 Comments »
Sunday, May 2nd, 2010
Sound recording and playback is really simple using the MediaRecorder and MediaPlayer classes .. see the example below ..
(more…)
Tags: Android, ddms, media, player, recorder, sensor
Posted in Android, Snippet | 2 Comments »
Tuesday, April 27th, 2010
Here is an example on how to use the accelerometer in your Android application. If you want to simulate the acceleration on the emulator I highly recommend the Sensor Simulator on the OpenIntents website.
The following example app displays the coordinates received by the sensor. (more…)
Tags: accelerometer, Android, Api, sensor
Posted in Android, Snippet | 5 Comments »
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…)
Tags: activity, adb, Android, example, htc desire, logging, mobile, sqlite, tutorial
Posted in Android | 7 Comments »
Saturday, April 17th, 2010
There is a nice Maven plugin helping you signing your Android app – the Maven Jar Signer Plugin. If you want to learn more about Maven integration in an android project take a look at this article. (more…)
Tags: Android, apk, jar, key, maven, pom.xml, sign, signing, smartphone
Posted in Android, Java | 1 Comment »
Friday, April 2nd, 2010
With the Maven Android Plugin it is possible to build and deploy/undeploy your android app and start/stop the emulator – if you’re used to maven you won’t be going without it ;)
If you’re interested in signing your apk using maven – take a look at this article. (more…)
Tags: adt, Android, eclipse, ide, m2eclipse, maven
Posted in Android, Java | No Comments »
Sunday, March 21st, 2010
Since version 1.6 Android offers a library for recognition and handling of new gestures using a touch display. With the gesture builder it is possible to capture new gestures in the emulator. Gestures can be integrated into an activity like that: (more…)
Tags: Android, Apps, gesture builder, gestures, multitouch, programming, smartphone
Posted in Android | No Comments »