Book Image

Rhomobile Beginner's Guide

By : Abhishek Nalwaya
Book Image

Rhomobile Beginner's Guide

By: Abhishek Nalwaya

Overview of this book

The four Rhomobile products – Rhodes, Rhosync, RhoHub, and Rhogallery – provide a complete toolkit for creating a mobile application. Rhomobile is cross-platform and so allows you to build your application for many different types of smartphone – including iPhone and Blackberry – just with a single codebase. This makes it the most preferred and quickest way of developing mobile apps. As you create a native Rhomobile application, you can use the built-in device features such as GPS, Push, and Camera, all with offline capabilities.Rhomobile Beginner's Guide is filled with practical examples to help you to create a mobile application from scratch. You can choose on which operating system to build, as well as for which smartphone to develop your application, giving you the freedom to create a customized mobile application quickly and easily.Once you have learned how to install Rhomobile on Windows, Mac, or Linux, you will create a simple application, which will be used to explore the products of Rhomobile one by one. Things really get going when you write unit test cases for your application before deploying it to the server and making builds for your chosen Smartphone. You will learn about the different aspects of Rhomobile, starting with Rhodes 3, which helps you to build a native mobile application. Rhosync 2.1 carries out the offline device capabilities and RhoHub deploys the code on the server and creates a build for the different smartphones. Rhomobile Beginner's Guide gives you the freedom to create a mobile web application on the platform of your choice, for the smartphone of your choice.
Table of Contents (17 chapters)
Rhomobile Beginner's Guide
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Where to find logs:


Logs for each device are stored at different locations:

iPhone

Logs for iPhone are stored in rholog.txt inside the application directory.

Android

Logs for Android are stored in the directory where the Rhodes gem is installed. rhobuild.txt file is also present in the same directory.

To get the application logs from the device or emulator, type the following command from your application folder or from the root folder of your Rhodes gem (the place where rhobuild.yml is located):

$ rake device:android:getlog

Or:

$ rake emulator:android:getlog

The application log will be pulled from the device/emulator and stored in your application directory with the name RhoLog.txt.

To see all emulator messages, run adb logcat and start the application on emulator.

To see all the device messages, run adb -d logcat and start the application on device.

Blackberry

You can see the logs where the Blackberry simulator is installed. Run your application and see the log file at <simulator folder>\sdcard...