Showing posts with label Android. Show all posts
Showing posts with label Android. Show all posts

Saturday, June 07, 2014

Annikken Andee - Arduino Bluetooth Shield, control a cell phone from Arduino.

http://www.annikken.com/

Arduino Bluetooth Shield , With a twist, it let's you control a cell phone from Arduino.

Supports both iOS and Android with what looks like good example code.

It also supports In Circuit Serial Programming and SD card making it able to store and forward, or store to deal with intermittent connections with any loss in a data collection application.

From the video is seems to have a large delay, that would be almost in the seconds and far too much latency for a driving an RC vehicle.

From what I can tell you use their special App and a library so all the the GUI cell phone user interface is programmed from the Arduino.  To do this they must turn the phone in to a slave terminal that responds to push and/or polling?
Looking at Android Library source code right now,

Lots of:
void AndeeHelper::setTitleTextColor(char* color){    textAndee("_TTC", color);}
Looks like a heavy protocol over bluetooth. 

Annikken Andee API Reference
http://resources.annikken.com/index.php?title=Annikken_Andee_API_Reference

Wow, this lets the Arduino have a lot of control over the cell phone.
You can take pictures, send text messages, of course screen and keyboard control with basic GUI elements, of buttons, sliders, and graphs. 

Amazingly there isn't any calls for sending an E-mail or communicating with a web server.

The website fails to explain what this is doing or how it's working. 

http://www.annikken.com/getstarted/

Resources
http://resources.annikken.com/index.php?title=Main_Page

Here is a link to the users manual:
 http://annikken.com/wp-content/uploads/2013/09/user_manual.pdf

Some of my favorite lines:
8.3.3.4 Text-To-Speech
Enable this if you want to use Text-To-Speech capability. Arduino can instruct 
Android to speak a line of text by using library calls. Here is an example code.

Supported Arduino Boards

Annikken Andee (Android and iOS) are compatible with the following boards:
  • Arduino Uno
  • Arduino Leonardo
  • Arduino Mega
  • Arduino Due
  • Femtoduino

Thursday, February 20, 2014

Project Tango: Google's all-ringing, all-dancing 3D-sensing smartphone * The Register


Project Tango is a five-inch handset running, surprise surprise, Android. The device uses cameras and depth-perception sensors to constantly map out the holder's physical environment in 3D and match that to the phone's internal gyroscopic systems and more general location data from GPS.
This data can be used by the phone to build up an accurate picture of its surroundings so that software can combine it with on-screen graphics, or throw the information into a database for later use. Imagine walking through a room, the phone in your hand detecting the walls surrounding you, and an app displaying stuff on the screen using that proximity data, for example.
"Mobile devices today assume that the physical world ends at the boundaries of the screen," said ATAP’s technical program leader Johnny Lee. "Our goal is to give mobile devices a human-scale understanding of space and motion."

- For those of you who don't know who Johnny Lee is , he has a series of amazing you tube videos doing  3D  movement and projects. What ever he does I am sure it will be amazing. 

Thursday, September 15, 2011

Program Android apps using Assembly?

On Hack-A-Day
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.

Thursday, August 04, 2011

Life of a Patch

Android Open Source Project (AOSP)  : Life of a Patch


Well I don't know .. think I've seen better .. but don't want to spend the time to fix .. 
In general  the code standards at many places I worked demanded that the flow 
travels from  left to right and top to bottom ...  .. and feedback loops  are horizontal for 
left and right .. vertical on top to bottom ...   this works on multi page charts .. 
on a single page like the below link ..you can get away with unconventional formats
but not on a big one ... 

LP

Thursday, July 28, 2011