Category Archives: Mobile Development

All info related to mobile computing and development of mobile aplications

Beacon Harvester ver. 1.10 available on the App Store

A couple of days ago another version of my first iOS application has become available for download. This version brings a couple of improvements as well as includes a huge number of things I had to learn while writing it 😉 Except the mobile application itself I have created a simple rest service on the […]

Read More →

iOS HTTP Basic Authentication and RestKit

Today morning I was looking for some solution to use authentication with my REST calls to GeoCouch database. I set up the security on the server side but couldn’t get it to work really on the iOS. No joy on stackoverflow.com either :). Was lucky enough to google up a very small solution project created […]

Read More →

How to get geographic coordinates of the visible MKMapView area in iOS

Recently I become interested in a problem of managing a large number of annotations on a MKMapView in iOS application. The problem is twofold, first is about displaying a large number of annotations on the map view, second is managing the large number of annotations before displaying them. The commonly known solutions to the first […]

Read More →

BeaconHarvester – my first iOS application on the iTunes Store

A few weeks ago I have decided to learn some Objective-C and the reason for that was mainly to be able to play around the iBeacon technology. At the company I work for (Softwaremill) we organised a hackathon day where we tried to build a sort of game using the ibeacon technology both for iPhone […]

Read More →

Android Series: Display device CPU and Memory info

Today I will post a short snippet on how to display cpu and memory info of our andorid device. The program uses external utilities to get the device info by calling cat on ‘/proc/meminfo’ and ‘/proc/cpuinfo’. The activity displaying the data from the ‘cat’ output is displayed in a TextView contained withing ‘ScrollView’. This is […]

Read More →

Android Series: Download files with Progress Dialog

Today, I will present a short tutorial on how to download files in android displaying at the same time download progress based on the bytes downloaded. For the purpose of this tutorial we will use build in AsyncTask mechanism together with ProgressDialog class. The whole application consists of one activity displaying a ‘Start Download’ button. […]

Read More →

Android Series: Creating custom dialogs

Short tutorial on how to implement custom dialogs on the Android platform

Read More →

Android Series: Utilizing Camera ‘Share via..” option

If you have ever build an android app which required you to use a camera, you should consider a different flow in your application, starting not from your app itself but from the built in android Camera application. Let’s say you want to post a photo on twitter or facebook. In you standard flow you […]

Read More →

Android Series: Taking photos with Android built in camera

Today I will describe how to take a photo in android application using the built in camera. The way to do it is to simply start ‘activity for result’ instead of simple ‘activity’ and specify android camera application as our activity. Then, once a picture is taken with a nice built in camera application, we […]

Read More →

Android Series: GET, POST and Multipart POST requests

Today I will describe shortly how to execute http GET and POST request on Android platform. The code is very simple and straightforward, for post request with attachement, you would have to add apache-mime4j-0.6.jar and httpmime-4.0.1.jar to your build path. HTTP GET try {         HttpClient client = new DefaultHttpClient();     […]

Read More →