RadPHP XE2 - PhoneGap Demo for Android

crickettachyphagiaMobile - Wireless

Dec 10, 2013 (3 years and 8 months ago)

115 views

RadPHP XE2
-

Phone
Gap Demo

for Android

Using
C:
\
Users
\
Public
\
Documents
\
RadPHP
\
4.0
\
Demos
\
PhoneGap


Tools | Wizard for PhoneGap

| select Android


Click
Next.


Select
index.php

for Index page.

Click Next.


Click Next.


Select
Debug
. Destination folder =
PhoneGapExamples.

Click Next.


Click Next.


Select
"
Real Device
"

Android "
Samsung Galaxy S II
"

is
USB

co
nnected

to laptop.

Click Next


See:

Waiti
ng for device to become ready... (this may take a while)

Installing PhonegapExamples
-
debug.apk...


pkg: /data/local/tmp/PhonegapExamples
-
debug.apk

Success

3576 KB/s (329671 bytes in 0.090s)

Starting: Intent { act=android.intent.action.MAIN
cmp=com.Embarcadero.PhonegapExamples/.PhonegapExamples }

Process completed. Unlock your device.


App gets loaded onto Android and looks like this:




Click A
ccelerometer
.



Click Back



Click
Compass


Click Back


Click Geolocation



Clic
k Back.


Al
l other function
s also work correctly:
Storage, Camera, Capture, Contacts, File Browser, Files, File
Transfer, Info, Notifications, and Page Events.