Difference between revisions of "Onelab/Mobile"

From ONELAB
Jump to: navigation, search
(Compiling Onelab/Mobile)
(User's guide)
Line 4: Line 4:
 
Onelab/Mobile is available for iOS 7 (iPhone and iPad) and Android 4:
 
Onelab/Mobile is available for iOS 7 (iPhone and iPad) and Android 4:
 
* [https://itunes.apple.com/us/app/onelab/id845930897 Download Onelab/Mobile for iPhone and iPad on the App Store]
 
* [https://itunes.apple.com/us/app/onelab/id845930897 Download Onelab/Mobile for iPhone and iPad on the App Store]
* Download Onelab/Mobile for Android devices on Google Play (Available soon!)
+
* [https://play.google.com/store/apps/details?id=org.geuz.onelab Download Onelab/Mobile for Android devices on Google Play]
 
Onelab/Mobile currently contains [[Gmsh]] and [[GetDP]] and runs all computations locally on your mobile device. Future versions will add support for remote calculations in the cloud.
 
Onelab/Mobile currently contains [[Gmsh]] and [[GetDP]] and runs all computations locally on your mobile device. Future versions will add support for remote calculations in the cloud.
  

Revision as of 11:44, 14 April 2014

User's guide

Onelab/Mobile is available for iOS 7 (iPhone and iPad) and Android 4:

Onelab/Mobile currently contains Gmsh and GetDP and runs all computations locally on your mobile device. Future versions will add support for remote calculations in the cloud.

Please report bugs and suggestions for Onelab/Mobile to mobile @ onelab . info.

Running a pre-packaged model

A list of available models appears when you launch Onelab/Mobile. Selecting a model will load it. You can then select Run to launch a simulation with the default set of parameters. To change parameters, select Parameters.

Installing new models on iOS

In order to install a new model on iOS, you need to bundle it inside a directory with extension .bundle. The directory should contain a file named infos.xml with the model information (see e.g. the Inductor example). You can then use file sharing in iTunes to install the model on your device.

Installing new models on Android

On Android, you can simply open .geo or .pro files from a file explorer.

Installing unpublished/beta versions of Onelab/Mobile

Follow the instructions below if you want to install a version of Onelab/Mobile that is not published officially on the App Store (for iOS) or the Google Play store (for Android).

iOS

  1. Download the latest Onelab.ipa
  2. Send us your device ID by email at mobile @ onelab . info ; we will add your device to the list of the devices allowed for Onelab/Mobile beta development.
  3. Install the Onelab/Mobile application through iTunes by double-cliking on Onelab.ipa.

Android

  1. Allow the installation of non-Market apps on your Android device (> Settings > Security > Unknown sources)
  2. Install the application:
    • either download Onelab.apk, upload it on your SD card and use a file explorer to open it
    • or use the Android SDK tool adb and install the file:
      adb install Onelab.apk
    • or use your web browser and directly download Onelab.apk on your device and install it

Compiling Onelab/Mobile

iOS

You will need a Mac with Xcode >= 4 and the iOS SDK >= 7.0. The app depends on several external frameworks (Gmsh, GetDP, PETSc, BLAS, LAPACK) ; scripts in the Gmsh SVN repository show the steps required to build these frameworks and the app for the simulator and the actual device (login=gmsh, passwd=gmsh).

Android

You will need the Android SDK with level >= 14 and the Android NDK. The app depends on several external frameworks (Gmsh, GetDP, PETSc, BLAS, LAPACK) ; a script in the Gmsh SVN repository shows the steps requiered to build these frameworks and the app (login=gmsh, passwd=gmsh).