Creating a tableLayout dynamically in Android

Leave a comment

Creating layouts using xml is easy. But creating layouts in runtime is the only option sometimes… TableLayout tableLayout = (TableLayout) findViewById(R.id.layoutTable);         LinearLayout.LayoutParams tableRowParams = new LinearLayout.LayoutParams(                 LinearLayout.LayoutParams.MATCH_PARENT,                 LinearLayout.LayoutParams.WRAP_CONTENT);         /* create a … Continued

JavaScript based Android Game Development : Trump vs Chicken

Leave a comment

Recently I have collaborated in an Android Game development with few of my friends which was named Trump vs Chicken. It was in javascript based on Phaser.js framework. Later we’ve used cocoon.io to port it to Android platform. Initially we’ve tested with cordova but it was sluggish. Maybe cordova is better for App development rather … Continued

Android wireless remote switch : control home appliances (Android + Bluetooth + Arduino)

49 Comments

In this article I will show how to control an electrical appliance remotely from your Android device using bluetooth. The hardwares used in this project are: 1. Android Mobile 2. Bluetooth Module 3. Arduino UNO R3 4. 5V Relay Module Softwares used: 1. Eclipse IDE configured for android development 2. Arduino compiler