Project - Fez.Spider and Android

Fez.Spider and Android

This project is a first attempt using a Android application. So who knows if it is done correctly. Seem to work though… I am using Basic4Android. There is a free version but it does not include the libraries so I’m not sure if my application will work on the free version.

I made the application to use my 10.1 inch Samsung Galaxy Tab 2. I have only provided the Android App for portrait display. Right now I am not sure how to scale the App for using Portrait AND Landscape. nex project.

I am using a bluetooth connection to the Android. Note that the communication over bluetooth is more than a bit sluggish so do not expect instant response to the commands sent to the Spider. I consider this code an experiment. I think i’ll try WiFly and see if the response time is better.

Maybe someone can use it as a basis for their needs.

NOTE: If you receive a Choose service without it showing a device I suggest that you unplug the Spider USB and then plug it back in again (See Img3.jpg).

There are two Spider applications. One uses the T35 with messages so you can see what the code is doing. The application that does not use the T35 has a better response time as would be expected.

I believe I will have to add the code files in stages because there are 4 Zip files + several images.

Usage is the code…

Have fun!

Codeshare link is bad, should be http://www.tinyclr.com/codeshare/entry/600

@ willgeorge - looks like your android app is for driving something. what might it be?

what might it be?

I was playing around with a Rover 5 I got at Sparkfun. I have the one with 4 motors and 4 encoders but only using two motors now and the encoders are not used at the moment. I had to start somewhere.

It seems that the Motor Driver L298 is not the best to use. It works but not at low speed. Motors ‘sing’ or don’t start. I’ll have to look for a better motor driver.

Sorry, i’m not sure what you mean by the codeshare link being bad? My links to code I used/referenced in Program.cs?

The link at the top of the page (auto-created) is going to codeshare entry 599, not 600. http://www.tinyclr.com/codeshare/entry/600 works, but the one in this thread doesn’t

and further, there’s two of these project posts, the other one links to the right project. Josh, any known issues around the time this was posted?