Categories
DevOps

How to Fix the Vagrant Error: The guest machine entered an invalid state while waiting for it to boot.

The Vagrant Error The guest machine entered an invalid state while waiting for it to boot. Valid states are ‘starting, running’. The machine is in the ‘poweroff’ state. Please verify everything is configured properly and try again. If the provider you’re using has a GUI that comes with it, it is often helpful to open […]

Categories
PHP 5

Implement Testing on Yii Framework 1

How to Implement Testing on Yii Framework 1 So you’ve finally realised to verify the quality of the code in releases and make sure everything is working before you deploy to production you need to test. First we’ll use phpunit for unit testing. Installing PHPUnit with Composer We will only handle installing the required packages […]

Categories
Android

How to create and use Offline Maps with an Android App?

When building an app we know is going to be used in areas with no wifi or cellular networks nearby or when we want to offer an offline map option we make use of Offline maps. Otherwise it would be easier to implement the Android Google Map API. Maps are made up of a collection […]

Categories
Android

Using an Existing SQLite Database with an Android Project

This article highlights how to use an Existing SQLite database with an Android Project. Prerequisites A sqlite3 database is required as it is the only db that android supports (probably because it is a single simple file). Converting between databases can be tricky sometimes. In this case I needed to convert a MSSQL database to […]

Categories
Android

Root and Backup your Android Device on Ubuntu

How to Backup your Android Device on Linux Prerequisites: Android SDK Installed ADB is accessible in path USB cable connected to device adb backup [-f ] [-apk|-noapk] [-obb|-noobb] [-shared|-noshared] [-all] [-system|-nosystem] [] – write an archive of the device’s data to . If no -f option is supplied then the data is written to “backup.ab” […]