Have You Got What It Takes To Code Android Apps Using Assembly?

Do you have a rooted Android device and a computer running Linux? If so, you’re already on your way to coding for Android in Assembly. Android devices use ARM processors, and [Vikram] makes the argument that ARM provides the least-complicated Assembly platform, making it a great choice for those new to Assembly programming. We think his eight-part tutorial does a great job of introducing the language and explaining how to get the development tools up and running. You’ll need to know some basic programming concepts, but from what we saw you don’t need any prior experience with ARM or Android.

So why learn Assembly at all? We took a stab at Assembly for AVR a few months ago and really learned a lot about the hardware that we just never needed to know writing in C. It’s a great way to optimise functions that waste too much time because of quirks with higher-level language compilers. That means you don’t need to write your entire application in Assembly. You can simply use it to streamline hairy parts of your code, then include those Assembly files at compile time.

Android Phone Serves As Arduino Terminal

Looking to use his Arduino when on-the-go, [Oleg] has been working on a way to use the Android ADK terminal emulator with the Arduino. The Android side uses ADK features along with a custom application. [Oleg] received help from his friend [Victor] when developing the program for Android (you can check out our own Android Development tutorials if you’re interested in learning how this is done). The .apk file is available for download, but they’re waiting to release the source code until they can clean it up and get some of the gnarly bugs out of the beta version.

A USB host shield for the Arduino is needed to connect to an Android hand set. You’ll be able to send and receive strings via the terminal, with support for carriage return and life feed characters. Unfortunately this doesn’t allow you to change, compile, or write sketches to the Arduino. But it might come in very handy when trouble shooting a project when a computer is not around, or just for using an Android phone as an output.

Update: Bluetooth Super Nintendo Controller For Android

[Rich’s] newest version of a Bluetooth connected Super Nintendo controller takes what was already good and makes it better. We looked at the original version back in May, which is built into a knockoff controller  — [Rich] mentions that he got a lot of flack for defacing retro equipment and wants to set the record straight. The most notable difference between the two controllers is that the batteries are now housed inside the case. He switched over to an 850 mAh Lithium Ion battery, which takes much less room than the four AA batteries did. There is an integrated charger which connects via a mini USB jack as seen in the image above. Bother versions of the controller can be used to play emulators without rooting your Android device.

Unfortunately you won’t get to look inside the case. What we can tell you is that the build no longer uses a BlueSMiRF board , opting for a less expensive Bluetooth solution. We also know that the build is still Arduino compatible, sporting an ATmega328 chip running the bootloader. The lack of detail is because [Rich] is working to market the controller with a limited-quantity preorder. Check out his video presentation of the new version after the break.

Continue reading “Update: Bluetooth Super Nintendo Controller For Android”

Robust Wireless DSLR Control Over Bluetooth

yanis_android_bluetooth_camera_controller

[Manishi] wrote in to share his latest project, a Bluetooth DSLR controller that works with Android. More than a mere Bluetooth shutter trigger, his device lets you control a wide array of other settings such as aperture, shutter speed, ISO, white balance, focus position and live view.

His “YaNis” control system was built using an Arduino Pro Mini, along with a USB host shield and a Bluetooth module he picked up from SparkFun. Obviously any other Arduino and SPP compatible Bluetooth board can be used, though component size is definitely a consideration for this project, and his selections are pretty well-suited to the job. The Arduino half of the software relies heavily on [Oleg Maruzov’s] PTP/USB libraries to get things done, but the free Android control app is all [Manishi’s] creation.

The Bluetooth dongle connects to the camera via USB, and once it’s paired with his Android phone, [Manishi] has total control at his fingertips. He has plenty of improvements planned for the near future including additional camera support, so we expect that we’ll see an even more robust control application before too long.

Continue reading to see a quick video demo of YaNis in action.

Continue reading “Robust Wireless DSLR Control Over Bluetooth”

Google ADK On An EvalBot

evalbot_google_adk

After learning that Google’s ADK relied on using an Arduino-compatible board, [Benjamin] was disappointed that other microcontroller platforms weren’t invited to the party. Rather than switch camps, he took it upon himself to get the ADK working with his EvalBot. In fact, his modifications should allow the ADK to work with nearly any Stellaris ARM kit.

The hack is composed of two parts. The first, and most important bit is the USB host driver he developed to work with the ADK. The code borrows some bits from Texas Instruments, and will be published on GitHub once he gets a chance to clean up the source a bit. To get his phone working with the EvalBot, he also had tweak the external USB power supply in order to provide the current required to operate properly with other USB-connected hardware.

It’s always nice to have more options when working with Google’s ADK, and [Benjamin’s] work is likely a welcome addition to any Stellaris developers toolkit.

Continue reading to see a quick video of his EvalBot ADK demo.

Continue reading “Google ADK On An EvalBot”

Bounty For An HP Touchpad Android Port

If you spent your weekend outside and away from the Internet, you might have missed the massive liquidation of HP TouchPads on Amazon, woot.com, WalMart, and the HP online store. Normally a $100 fully featured tablet is nothing to scoff at, but there is a catch: The HP TouchPad runs WebOS. WebOS is a fine operating system for a tablet, but it’s not Android. The folks at HacknMod.com posted a bounty for the first person to port Android to the HP TouchPad.

HacknMod is offering up $450 for a basic Android port and is looking for sponsors for the WiFi, Audio, Camera, and MultiTouch bounties. There’s a lot of discussion about the port on the XDA Developers and the RootsWiki forums if you’d like to get a bearing on how far along the project is. The TouchPad has already been rooted so there’s your starting point.

We’d like to throw our hat into the ring, but we missed out on the TouchPad fire sale. If anyone knows of an online shop where they’re still available, leave a message in the comments.

via HacknMod.com

Gyroscope-based Smartphone Keylogging Attack

smartphone_keylogging_with_gyroscopes

A pair of security researchers have recently unveiled an interesting new keylogging method (PDF Research Paper) that makes use of a very unlikely smartphone component, your gyroscope.

Most smart phones now come equipped with gyroscopes, which can be accessed by any application at any time. [Hao Chen and Lian Cai] were able to use an Android phone’s orientation data to pin down what buttons were being pressed by the user. The attack is not perfect, as the researchers were only able to discern the correct keypress about 72% of the time, but it certainly is a good start.

This side channel attack works because it turns out that each button on a smart phone has a unique “signature”, in that the phone will consistently be tilted in a certain way with each keypress. The pair does admit that the software becomes far less accurate when working with a full qwerty keyboard due to button proximity, but a 10 digit pad and keypads found on tablets can be sniffed with relatively good results.

We don’t think this is anything you should really be worried about, but it’s an interesting attack nonetheless.

[Thanks, der_picknicker]