Difference between revisions of "Android Orbiter"

From LinuxMCE
Jump to: navigation, search
(Installation)
(Configuration)
Line 24: Line 24:
 
*When the core is ready, it will ask you to do a quick reload. MAKE SURE to set the default user and location.  
 
*When the core is ready, it will ask you to do a quick reload. MAKE SURE to set the default user and location.  
 
*Quick Reload the router when asked.  
 
*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>'''
+
'''*Generate the orbiter config by visiting this page http://<you-core-address>/lmce-admin/qOrbiterGenerator.php?d=the-device-number'''
 +
Example : http://192.168.80.1/lmce-admin/qOrbiterGenerator.php?d=84
  
 
Now you will need to decide on a skin. Eventually, this will be a cleaner process. For the moment, it isnt :)
 
Now you will need to decide on a skin. Eventually, this will be a cleaner process. For the moment, it isnt :)

Revision as of 07:25, 1 March 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 25mb of storage space on the devices internal storage. NOT the sd card. You will also need to install via wifi!!

. Do this and let it finish. 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.

  • Navigate to the 'Orbiters' page in the LinuxMCE Admin website. Create a new QOrbiter device from the dropdown box at the bottom. Make sure you fill in all the information there like:
    • User
    • Room
    • Size - This is a remnant of the old orbiter, choose the smallest one, so that any regen it does is fast.
    • Make a note of the device number
  • When done, choose update.
  • When the core is ready, it will ask you to do a quick reload. MAKE SURE to set the default user and location.
  • 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 Example : http://192.168.80.1/lmce-admin/qOrbiterGenerator.php?d=84

Now you will need to decide on a skin. Eventually, this will be a cleaner process. For the moment, it isnt :) All skins live on the core and will be accessible from http://<your-route-ip>/lmce-admin/skins The following instructions are for the core machine.

All skins need a skins directory:

mkdir -p /var/www/lmce-admin/skins
svn co http://svn.linuxmce.org/svn/branches/LinuxMCE-1004/src/qOrbiter/qOrbiter_src/qml /var/www/lmce-admin/skins


Now your skins are 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

Remote Access

In order to use qOrbiter from outside your internal LMCE network, you need to:

  • Open ports 2757 & 3450 on your firewall via webadmin
  • Change the host line in LinuxMCE/config.xml on your Android device to your CORE's external IP address.