Skip to Content

Android Examples

submit to reddit

These are larger examples of various tasks I have pulled together while learning how to use the various Android APIs. The repo is here:

To get the repo use the following command:

git clone

Description of projects

  • CameraTest: This is an example of using the camera. It covers:
    • Camera setup and preview.
    • Handling the rotation of the camera preview (using the sensors).
    • Handling the rotation of the output image.
  • MultiTouchTest: This is a fairly basic multitouch example.
  • OSCSensors: This is an example of using OSC to send sensor data over the network to another device. It covers:
    • Starting an OSC server.
    • Smoothing the sensor data using mean filtering.
    • Sending the sensor data from the server.
  • TestSocket: This is an example of opening a server socket on Android, the socket is used as a webserver to send images via http.

No comments yet!

You can be legendary and add one ...

All spam will be deleted - don't waste my time and yours. Fackbook profiles posted will be reported to FB as spam accounts

Allowed HTML tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>


By submitting a comment you grant Sentinel Web Technologies a perpetual license to reproduce your words and name/web site in attribution. Inappropriate and irrelevant comments will be removed at an admin’s discretion. Your email is used for verification purposes only, it will never be shared.