How to scale an Android UI on multiple screens
Learn how to scale an user interface to maintain the same aspect ratio, while running the same code on various Android devices.
| ||||||||||||||||||||||
Top Articles! See PocketMagic on Facebook |
Learn how to scale an user interface to maintain the same aspect ratio, while running the same code on various Android devices.
You can use your smartphone (android/iphone) to control electrical equipment inside your home. See how.
A JNI Library for Android, to inject keys and touches but also listen for incoming input events to and from all applications, available as Open Source under GPL.
Learn how to create a mouse cursor in Android OS programatically, using Overlay Views.
Find the default orientation on Android devices, and intercept orientation changes even for activities locked in portrait or landscape mode.
A digital pen solution for Android OS.
Three possible solutions for injecting events (both keys or touch events) in Android.
A quick guide on how to configure an Android 4.0 Emulator image.
Learn how to get over some limitations in Android Bluetooth SDK to read the Bluetooth COD (Major, minor classes) for a given Bluetooth device.
Avoid the NullPointerException error when using the getSharedPreferences on Android.
Learn how to make an autostartable service on Android OS, using the BOOT_COMPLETED notification.
How to fix the Unable to open sync connection, displayed in Eclipse Console by Android SDK tools.
The standard functionality on Android devices makes the software keyboard popup every time the Menu is long pressed. This may be annoying or unwanted. Here’s how to disable it.
Design custom shaped corners Edittexts or TextViews, or any other kind of Android interface controls, using 9 patch images that keep their aspect when stretched.
The Android Contacts tutorial part 5, here I show a robust solution for selecting a contact from a list. A filter/search mechanism is also implemented using the SimpleCursorAdapter.
Part 4 of Android Contacts tutorial presents an easy way to programatically search and retrieve a contact and all the fields we are interested in such as Phone, Email, Web, Company, Address, etc.
In Android Contacts tutorial part 3, I present a simple way of opening a contact in the System contact form using the ACTION_EDIT Intent .
Part 2 of the Android Contacts tutorial, showing how to add a custom column to a contact, and how to use that to identify a newly added contact and read its LOOKUPKEY.
Part 1 of a tutorial on working with Android Contacts: add a new contact programatically, including name, email, company, phone but also a thumbnail contact image .
A few easy steps for an Internet Web Browser for Android. Learn how to use a Webview, load pages, inject Javascript, read the HTML source code and more.
Create an Android GUI with Header, middle scrollable content, and a footer.
Learn how to Invoke the Android Gallery Intent to pick a photo and get the path in your application. This photo picker returns the image path directly in your application.
Create a dynamic (no XML) listview with header with all the bells and whistles. Learn how to use the item position to change its background and content for a complex result.
Learn to read an unique device ID from your Android phone or tablet. Use the ID to generate software security keys or for cryptography applications.
Get started with Android Java development – a tutorial with detailed steps and lots of pictures to help you make your first android application. Use Eclipse and the Android SDK.
Learn how to create a Custom TextView class that can draw vertical text or rotate the text to any given angle. Easy!
You can boot an Android image, from the SDCard of an Windows Mobile HTC HD2 Pocket PC, using Haret. Be careful to use a 2GB max SDCard!
Android NDK Cygwin make error 127, but only on some computers. I suspect there’s a conflict with other development tools (based on PATH, etc).
Directly interface the PCM device, using low level native C programming. Play sounds by sending data to /dev/msm_pcm_out
Learn how to do a programmatic screen capture on Android, using the framebuffer and some native C code. See how to correctly save a BMP file.
Learn how to compile your C code to native Android executables, using Windows, Cygwin and the Android NDK in just 3 easy steps.
Learn how to reinstall the Market application on your Android, using the Vending.apk installer.
Learn to connect a bluetooth module to an ATMega micro controller via the UART serial interface and even further, discover it using a bluetooth enabled Android phone. The 9600bps serial link established, can than be used to exchange data: read sensors or control the robot.
A tutorial on how to build a custom adapter for an Android Listview control, and how to catch the onClick event correctly.
Includes source code.
See how to configure Android NDK with Windows and build your JNI project in a few easy steps.
Learn to create a tab control on Android, without the XML layout. Add an image to the tab control in a few easy steps.
Atmega8 and an A1302 Hall Sensor for sensing the magnetic fields in close proximity.
Disable the “No SIM card.” annoying Android message.
See how to get more Bluetooth functionality on your Android device then the interface offers you. Discover nearby bluetooth devices, and see what interaction options you’ve got.
Hunting down some connectivity issues with the ADB command from the Android SDK.
Hot news: You can change the android partitions to Read-Write so you can upload new file versions (eg. permissions.xml) .
An useful post on how to use gcc and the android toolchain to produce native C applications for the google android.
Get started with Android Java development – a tutorial with detailed steps and lots of pictures to help you make your first android application.
A tutorial on how to unlock your Android G1, how to upgrade the ROM version and how to get Root on your embedded linux box.
Learn:
- how to connect the Android to your Windows PC
- how to take screen captures from your Android
- how to install new software on your mobile device



