Mobile capabilities from AJAX

by Jose Mar铆a Gonz谩lez » Wed, 25 Jun 2008 23:51:22 GMT


Sponsored Links
 Hello,
I am interested in develop web pages specials for Android.
I know that the web browser is based on WebKit:
Does this means that the webpages are seen in Safari in the same way
they are seen in Android?

I would like to make a webpage which allows a user to click in some
button or link and launch a call.
Is it possible to access to some mobile expecific capabilities (such
call dialing, messaging, battery status...)  from a web?

Thanks.
--~--~---------~--~----~------------~-------~--~----~



Mobile capabilities from AJAX

by Hong » Thu, 26 Jun 2008 02:20:57 GMT


 the webkit supporst full ajax.

as for dialing call, sms, and battery status, it's not supported out of the
box, but u can have an application running with a bridge to the webkit that
provides the system information.

to natively support from ajax, they need to provide something like the
intel's javascript web 2.0 kit, which has battery info. support.

On Wed, Jun 25, 2008 at 11:51 AM, Jose Mara Gonzlez <[EMAIL PROTECTED]>




--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Mobile capabilities from AJAX

by Jose Mar铆a Gonz谩lez » Thu, 26 Jun 2008 20:51:01 GMT


 Thanks Hong, that sounds great.
Could you please provide me with more info. I have no idea hoy to
implement the bridge between my application and the webkit.
Some links will be very helpfull.






--~--~---------~--~----~------------~-------~--~----~



Mobile capabilities from AJAX

by Gene Vayngrib » Fri, 27 Jun 2008 13:06:10 GMT


 Jose,

Take a look at  http://bhoost.com  which aims to provide exactly what
you are looking for.
Bhoost is an open source wrapper around Android's WebKit browser. It
offers JavaScript API to native Android capabilities.
To launch native dialer it follows a common technique used on iPhone
and s60 phones - all you need is to have an href starting with tel:
and Bhoost will launch the native dialer.
It also can launch camera to shoot and upload photos, has GPS api,
sensors api and more.
At this moment it does not have battery power and network status APIs,
but you can easily add them yourself.
If you have a problem with this - let me know and we will put this in
our Bhoost project plan.

Gene





--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Where are all the apps

I want to find out if an application I want to develop has already
been developed for the Android project. Where can I get that
information?

--~--~---------~--~----~------------~-------~--~----~

2. Motorola Q skin now available for Android Emulator!

Motorola Q skin now available for Android Emulator!
http://teavuihuang.com/android

To install, download and unzip "QVGA-L-MOTQ.zip" to the Android skin
directory, e.g. "C:\android-sdk-windows-1.0_r1\tools\lib\images
\skins". To run the Android emulator with this Motorola Q skin, enter
this on the command line: "emulator -skin QVGA-L-MOTQ".

--~--~---------~--~----~------------~-------~--~----~

3. Apps for Democracy Contest $20,000 in Prizes

4. How to measure time interval for certain process?

5. Disappearing Zoom Controls

6. Can I load an xml file layout received from a server?

7. Screen orientation from code / Permissions to use Surface.SetOrientation