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

Testing Push in the Web Console


The RhoSync Web Console includes a utility for testing push to make sure everything is wired up correctly.

  1. Make sure you've logged in and performed a sync on the device/simulator you are going to test.

  2. Open the RhoSync console by:

    http://localhost:9292/console
    
  3. Log in to the console.

  4. Navigate to the user's page you used to log into the Rhodes application. For example in our case it is John and admin:

  5. For example, if you logged in as user admin, the URL would be:

    
    http://localhost:9292/console/user?user_id=admin
  6. You should see a registered device for this user, for example: "8f12f940767e4c22bd98d333faeb3702". Click on the link for this device and you will see the device attributes:

    device_type: APPLE
    device_pin: 10fd92abfa8ee48155d9af6e7329086322b323fd0d18fdbd19e92d03c0fef7c8
    device_port: 100
    user_id: t
    app_id: application
    

    If you don't see all of these attributes, then something is incorrect in your Rhodes application settings. Please verify that you've followed the...