Tips and Tricks for Android Users
Posts tagged download
Using Your Android Phone as a Remote Control
Feb 14th
What I initially set out to do was find a program for my G2 that would allow me to use it as a Bluetooth trackpad and keyboard with the Mac mini I have hooked up to my television. I use it as a media PC, but it’s also a general purpose system. Every now and again it’s convenient to be able to control it using a full keyboard and mouse.
I haven’t yet run across the right tool to get my phone to work as a Bluetooth HID device for my computer. But there are some decent VNC clients that do interesting things. I’ve started using AndroidVNC as my default. I wish I could turn off the screen on the device completely. As is I turn the color depth all the way down. Because I’m sitting in front of the computer I can watch the pointer onscreen, transferring the video data over my G2 just cases it to lag.
The essential part to making it work well is to go into the settings and swap the pointer mode to trackpad. That way you can use the touchscreen on the device as a trackpad instead of having to pan around and touch directly (or use the tiny directional trackpad). You still need a VNC server on your PC, but I’m running one anyway so it’s not much of an issue for me. Still, would be nice to be able to use the Bluetooth HID version for other cases. Surprised at the lack of Bluetooth based Android hackery.
Essential Android Apps for Geeks
Aug 25th
A few essential apps for those more technically minded Android users out there. If you know of others that should be in here let me know in the comments.
Terminal
This one is almost a no-brainer. Everyone who knows Android is Linux underneath (and who knows Linux) normally heads for a command line to check things out right off the bat. You can get access via ADB, but having direct access right on the device is killer. This app gives you access to the command shell built into the device.
Market link: Android Terminal Emulator
ConnectBot
ConnectBot is an SSH client application for your phone. It’s a fantastic application for quick access to remote systems. If you’re on a device without a physical keyboard it’s not quite as slick to use (I wouldn’t recommend trying to use vi on a remote system from a Samsung Galaxy for instance), but for quick tasks it can be fantastically convenient.
Market link: ConnectBot
Advanced Task Killer
This seems to be a pretty consistent tool in most advanced user’s toolboxes. Android apps can keep running in the background. Most of the ones that do give you good ways to control when they run, and the OS itself does a generally good job of managing them. But if you tend to poke around with lots of apps and try out all the different tools you hear about you’re bound to run across one or two that misbehave every once in a while. When you do, Advanced Task Killer can help you figure out what’s going on and set things right again.
Market link: Advanced Task Killer
Astro File Manager
This is the free version of a file manager application. There’s a paid version that includes a ton of additional features, but so far I’ve stuck with the free version. Nice interface for browsing around and seeing what files are on your device. Includes built in viewers that generally handle text and image files well.
Market link: Astro File Manager
Dropbox
Dropbox is a free service that lets you store files online and sync them between systems. If you don’t already have an account and want to try it out please sign up using this affiliate link (I get credit for the signup and get some free space on Dropbox if you do). They have an Android application that allows viewing, downloading, or uploading. Together with an application like Astro you can upload arbitrary files from your phone to Dropbox as well. From within Dropbox use upload from the menu, and then select any file and use Astro to complete the action.
Market link: Dropbox
Scripting Layer for Android
An app that allows for accessing native Android functions from multiple scripting languages. Once you install SL4A you can use it to pull down interpreters. A bunch are available, like Unix shell, Python, Perl, Ruby, and others. Then you can run scripts in those languages that tie into Android specific functions. SL4A is not available in the Marketplace however, so use the info on the Google Project page to download the apk directly. If you’re on an AT&T device like the Samsung Captivate and haven’t hacked it to allow direct third party installs you’ll have to load the apk files using ADB. As of right now, it seems you need to download the core SL4A app and then separate downloader shims for the different interpreters. The base sl4a seems to only have shell installed by default. But once you install something like python_for_android_r1.apk and click install within that app you’ll get Python support in sl4a.
Pirate Boot Logo
Jul 25th
Every proper hacked device needs to boot up with a pirate theme. Fortunately the boot animation is trivial to replace on a Nexus one. I’m currently running CyanogenMod6, but I believe this will work other places. I replaced the boot animation with just a single image of a skull and crossed swords:
There’s plenty of info out there about replacing the boot logo and what the files do. Here’s how to get it up and running through:
- Download the pirate boot animation zip file to your system
- Remount the system partition read-write: adb shell mount -o rw,remount /dev/block/mtdblock3 /system
- Push the file across to your device: adb push pirate_bootanimation.zip /system/media/bootanimation.zip
That’s it, reboot and enjoy! If you want to poke around and change it, it should be pretty easy. There’s a writeup of what the contents of the bootanimation.zip are, which is very useful. Supposedly, also, the zip needs to be uncompressed to work. But that just means setting compression level to 0 when you run zip. This is the command I use on my OS X machine: zip -0 pirate_bootanimation.zip desc.txt part0/boot_00003.png”. That should make it easy to swap in any other picture to customize.
Screenshot on a Rooted Device
Jul 20th
In addition to capturing a screenshot with a computer using the Android SDK there’s also a screenshot application (available on the market, called simple ‘screenshot’, I’m not sure how to find out the package name to create a market link for it. It only works on rooted devices, but all of mine are. One nice feature is the “shake to capture a screenshot” option. So that instead of having to keep hopping into the screenshot app to setup a shot, back to the app, wait, hop back to setup another time delayed shot, back to the app, etc. Just setup screenshot to capture when you shake and go through whatever set of screens you want.
Downloading Marketplace Info
Jun 2nd
One of the annoyances of the Android Marketplace (for developers at least) is that there’s no easy way to get the info to use in your own applications. Fortunately some folks have reverse engineered the protocol used by the marketplace app to create an open source project that queries the marketplace servers. I’ve been fooling around with android-market-api, great project. I actually had issues with the latest latest code from the svn repo. But if I pull from the 0_3 tag I can compile my own programs that do things like run through the categories. Nice!
Finding Great Apps
May 5th
Now that there are more than 50K apps in the market, there are a bunch of interesting services out there to help you find the best ones. Of course, some of the services are better than others. Here are a few of my favorites:
- http://www.appolicious.com/ – has an Android area
- http://appboy.com/ – includes Android apps
- http://101bestandroidapps.com/ – good listing of apps
- http://getjar.com – set your phone type to one of the Android handsets
Other great places to find apps? Leave me a comment.
