RSS

Category Archives: Android

Developer Friendly Development Platform

Yesterday I was jotting my thoughts on what could be ‘Must Have’ and ‘Nice To Have’ features in a Developer Friendly Development Platform.

Quickly I could think of following:

Read the rest of this entry »

Advertisements
 

Tags: , , ,

Database@Android: Part 1


 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Introduction to Database@Android

Creating a private database in Android is made very easy by the SQLiteDatabase (android.database.sqlite.SQLiteDatabase) class and its various user-friendly APIs.

This blog article explains the important SQLiteDatabase APIs needed for building a database-dependent Android application.

Read the rest of this entry »

 
1 Comment

Posted by on February 10, 2011 in Android, SQL, Technical

 

Tags: , , , ,

Android Debugging Tidbits: #4: adb over Wi-Fi


If there is no USB cable around to connect to your Android phone device, however Wi-Fi is available then you don’t have to worry about using ‘adb’.

There are two ways to it:

  1. Use ready tools available in the market (like, this one) or
  2. Take control over the situation and be a geek to do all by yourself in the simplest manner as mentioned below.

Just follow a few commands and you should get started using ‘adb’!

Read the rest of this entry »

 
Leave a comment

Posted by on February 4, 2011 in Android, Technical

 

Tags: , , ,

Android Debugging Tidbits: #3: Using GDB

Debugging with GDB

The current version of envsetup.sh has a gdbclient command that handles much of the setup. For example, to attach the already-running globaltime application, execute the following, making sure that: 1) you do this from the same window used to build the software on the device you are debugging and 2) verify that the symbols in the object files in the build tree match up with what is installed on the device or emulator.

gdbclient app_process :5039 globaltime

Debugging

Short Instructions

Android runs gdbserver on the device and an ARM aware gdb, named arm-eabi-gdb, on the desktop machine.

Read the rest of this entry »

 
2 Comments

Posted by on February 1, 2011 in Android, Technical

 

Tags: , ,

Android Debugging Tidbits: #2: Redirect stdout, stderr

Viewing stdout and stderr

By default, the Android system sends stdout and stderr (System.out and System.err) output to /dev/null. In processes that run the Dalvik VM, you can have the system write a copy of the output to the log file. In this case, the system writes the messages to the log using the log tags stdout and stderr, both with priority I.

Read the rest of this entry »

 
1 Comment

Posted by on January 31, 2011 in Android, Technical

 

Tags: , , ,

Android Debugging Tidbits: #1: More log from ‘logcat’

Viewing Alternative Log Buffers

The Android logging system keeps multiple circular buffers for log messages, and not all of the log messages are sent to the default circular buffer. To see additional log messages, you can start logcat with the -b option, to request viewing of an alternate circular buffer. You can view any of these alternate buffers:

Read the rest of this entry »

 
Leave a comment

Posted by on January 31, 2011 in Android, Technical

 

Tags: , ,

Benchmarking Android/Linux Device Driver

Recently, I did benchmarking for an Android and Linux device driver.

While benchmarking it is important to give consideration to:

Read the rest of this entry »

 
7 Comments

Posted by on January 11, 2011 in Android, Linux, Technical

 

Tags: , , , , , , , , ,