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. voice problem in android softphone

hi
I developed a android softphone but I am facing that there is no voice
transfer between caller and callee. Please provide  some use full
guide line for my project.


thank you.

-- 

2. Live Wallpaper not Showing up on Market for Moto Droid w/ OTA 2.1

And this is the initial release and the version I wanted to use:

<?xml version="1.0" encoding="utf-8"?>
<manifest
    xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.yakloinmobile.lw.physics"
    android:versionCode="101"
    android:versionName="1.01">

    <uses-sdk android:minSdkVersion="7" />
    <uses-feature android:name="android.software.live_wallpaper" />
    <uses-permission android:name="android.permission.VIBRATE" />

    <supports-screens
        android:smallScreens="true"
        android:normalScreens="true"
        android:largeScreens="true"
        android:anyDensity="true" />

    <application
        android:icon="@drawable/icon"
        android:label="@string/app_name">

        <service
            android:label="@string/app_name"
            android:name=".WaterPhysicsToyLiveWallpaper"
            android:permission="android.permission.BIND_WALLPAPER">
            <intent-filter android:priority="1">
                <action
android:name="android.service.wallpaper.WallpaperService" />
            </intent-filter>
            <meta-data
                android:name="android.service.wallpaper"
                android:resource="@xml/main" />
        </service>

        <activity
            android:label="@string/settings"
            android:name=".WaterPhysicsToySettings"
            android:theme="@android:style/
Theme.Light.WallpaperSettings"
            android:exported="true" />

    </application>

</manifest>



> 

3. Problems with SSL Socket connection

4. Ringtone picker calls onActivityResult() too early

5. how to download file from android web view file link?

6. parallax

7. JTwitter OAuth