Difference between revisions of "Android Orbiter"

From LinuxMCE
Jump to: navigation, search
(Configuration)
Line 5: Line 5:
 
The Android orbiter is the result of a very tricky process. We utilize the LinuxMCE libraries, qt libraries, and wrap them inside java for execution on the Android device. Besides using vanilla Qt Creator, we also utilize Neccesitas, a cross platform compiler that takes the Native c++ and wraps it for executing inside the Android JNI  
 
The Android orbiter is the result of a very tricky process. We utilize the LinuxMCE libraries, qt libraries, and wrap them inside java for execution on the Android device. Besides using vanilla Qt Creator, we also utilize Neccesitas, a cross platform compiler that takes the Native c++ and wraps it for executing inside the Android JNI  
  
==Installation==
+
=Installation=
 
Please note, you will need 50mb of storage space on the devices internal storage. NOT the sd card. You will also need to install via wifi!!
 
Please note, you will need 50mb of storage space on the devices internal storage. NOT the sd card. You will also need to install via wifi!!
 
*Download the testing apk: Http://www.lasmarthomes.com/Qorbiter-release.apk
 
*Download the testing apk: Http://www.lasmarthomes.com/Qorbiter-release.apk
Line 25: Line 25:
 
*run the following command: svn co http://svn.linuxmce.org/svn/branches/LinuxMCE-1004/src/qorbiter/qOrbiter_src/qml
 
*run the following command: svn co http://svn.linuxmce.org/svn/branches/LinuxMCE-1004/src/qorbiter/qOrbiter_src/qml
 
*this will download the skins to the proper location.
 
*this will download the skins to the proper location.
 +
 +
Tablets
 +
You will need to svn co the android tablet skin.
 +
*Navigate via command line to /var/www/lmce-admin/skins/android/phone/(if directory, does not exist, create it)
 +
*Download the skins package at http://www.lasmarthomes.com/tabletskin.zip
 +
*unzip the folder so that the path is /var/www/lmce-admin/skins/android/phone/default
 +
Now your tablet skin is installed.
 +
 +
==Running the device==
 +
*Assuming the previous steps were completed, you can now connect.
 +
*The default ip it connects to is 192.168.80.1
 +
*Enter the device number you previously made note of for the device number
 +
*If your core address is not standard, it will hang. you can kill the device and edit the config.xml at the location listed below.
 +
 +
The configuration file is located on the SDCard under /LinuxMCE

Revision as of 20:50, 10 February 2012

LinuxMCE Orbiter for Android

This wiki page serves 2 purposes: To serve as an intermediate install guide for the Android LinuxMCE Orbiter, and to serve as a point of reference for future developers.

History

The Android orbiter is the result of a very tricky process. We utilize the LinuxMCE libraries, qt libraries, and wrap them inside java for execution on the Android device. Besides using vanilla Qt Creator, we also utilize Neccesitas, a cross platform compiler that takes the Native c++ and wraps it for executing inside the Android JNI

Installation

Please note, you will need 50mb of storage space on the devices internal storage. NOT the sd card. You will also need to install via wifi!!

QOrbiter is now installed!

Configuration

You will need to prepare for the addition of the device to your system before it can be used by following these steps.

  • Create a new QOrbiter device as a child of the core. MAKE SURE to set the default user and location. Make a note of the device number
  • Quick Reload the router when asked.
  • Generate the orbiter config by visiting this page http://<you-core-address>/lmce-admin/qOrbiterGenerator.php?d=<the-device-number>

Now you will need to decide on a skin. Eventually, this will be a cleaner process. For the moment, it isnt :)

  • You will need to create a directory on the core at /var/www/lmce-admin/skins

Phones You will need to svn co the android phone skin.

Tablets You will need to svn co the android tablet skin.

  • Navigate via command line to /var/www/lmce-admin/skins/android/phone/(if directory, does not exist, create it)
  • Download the skins package at http://www.lasmarthomes.com/tabletskin.zip
  • unzip the folder so that the path is /var/www/lmce-admin/skins/android/phone/default

Now your tablet skin is installed.

Running the device

  • Assuming the previous steps were completed, you can now connect.
  • The default ip it connects to is 192.168.80.1
  • Enter the device number you previously made note of for the device number
  • If your core address is not standard, it will hang. you can kill the device and edit the config.xml at the location listed below.

The configuration file is located on the SDCard under /LinuxMCE