So, you’ve finished the initial development of your new Android Application, resolved all of the obvious bugs, and now you are ready to get it out there for additional testing. There are numerous ways this could be done, but if your ultimate goal is to publish your app in the Google Play Store it is a natural choice to use the Play Store itself for Beta testing.
While looking for the best way to implement an input widget to retrieve the users’s Date of Birth I came across this input field while editing a contacts information in the generic People List that comes with the Android OS:
In recent years, the boom in mobile devices has caused more and more users to abandon their desktop internet browsers and opt for the ones sitting in their pocket. As a result, nearly 10% of 2011’s internet traffic was attributed to mobile device browsers. As more people are browsing the internet in this manner, it is important that currently standing websites, as well as newly developed ones, also include mobile friendly pages in their site.
Many companies have followed models put forth by sites such as www.amazon.com, with their widely known desktop interface for purchasing products. When the mobile markets started to pick up they developed a mobile site that operates in much the same way, but offers a friendlier user experience for those viewing it on a smartphone screen. This move to a mobile intuitive platform can generate an increase…
Android SDK (version r11)
Robotium (version 3.0)
Automated tests are key in maintaining high quality software. They help catch bugs immediately when introducing new code and also ensure that new features do not conflict with existing functionality. Another advantage of automated tests, specially for Android applications is that it greatly speeds up testing when you have multiple builds for different devices. In this blog post I’ll go over how we use robotium in our TASS mobile project to implement automated black box tests.
Robotium is a plugin that extends existing instrumentation tests available on Android and addresses its shortcomings. Limitations such as slow execution times and having to manually delay the application to wait for the desired screen to be ready. For example, delays caused by waiting for a network request to complete before proceeding to the next screen. Robotium works by sending…
I will assume the following has been installed and configured.
Android SDK (r07 or later)
Maven 3 (version 3.0.3)
Set environment variable ANDROID_HOME to point to the root directory of the Android SDK.
Add ANDROID_HOME/tools to your PATH environment variable.
An Android project to build
Building an Android project consists of 3 steps. The code is compiled to create an executable apk file, then the apk is signed and finally zipaligned to optimize disk space usage on the mobile device.
Executing these steps manually is prone to human error and can lead to bad builds. This can happen due to forgetting to sign the package, missing dependencies, etc. It is also time consuming especially if you have fast iteration cycles and/or multiple build configurations for different version of the Android OS. Using Maven and android-maven-plugin we can create a one step process to manage dependencies, build, sign and…
Using SQLite in a Windows Mobile Application provides a simple way to add pre-populated data for consumption by the application. There are a couple of configuration considerations when adding the database to the project.
1. Adding reference to SQLite.dll. After installing SQLite there will be a Compact Framework folder in the following path :C:\ProgramFiles\SQLite.NET\bin. This folder contains the System.Data.SQLite.dll that needs to be referenced.
2 The same path will also contain the dll which Windows Mobile will need to invoke the methods contained in the SQLite.dll. The following file needs to be added to the project which contains the main executable, SQLite.Interop.065.DLL.
Once the interop dll is in the project you can start using SQLite in the Mobile Application just as you would for any other application.
The mono project has released a new Mono edition for Apple’s iPhone and iPod Touch. This allows you to write full featured applications for the iPod touch using C#.
This is not a JIT Compiler, but is a static compiler that turns .NET executables into native applications.
For more information, check out the project at : http://www.mono-project.com/MonoTouch