Launch activity from Web Browser

by Mattaku Betsujin » Thu, 05 Mar 2009 04:08:56 GMT


Sponsored Links
 Hello,


Is there a way to launch an activity from the web page? Like <a
href="dialer:123456">Call me </a>?

Thanks

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



Launch activity from Web Browser

by Mattaku Betsujin » Thu, 05 Mar 2009 04:59:50 GMT


 Is there a spec for how this should be done inside HTML? Is there any
security/permission mechanism?

Thanks






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


Sponsored Links


Launch activity from Web Browser

by Avraham Serour » Thu, 05 Mar 2009 05:57:13 GMT


 when the browser sees something that looks like a telefone number you can
click it, if it doesn't detect you can select it

please note that I didn't explore the browser yet, all I now is from
presentetion videos from the android channel from youtube and the like,
anyway try out, doesn't this work in the simulator?

On Wed, Mar 4, 2009 at 10:59 PM, Mattaku Betsujin <






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



Other Threads

1. Arti symbol 1x "D" di Samsung Moment & Sync di CDMA lambat

Heloo all, mau nanya nich masih berhubungan dengan post saya yang sebelumnya
setelah sukses inject flexi dan nyeting username untuk koneksi
unlimited keluar keanehan
sering kali symbol 1x yang ada panah atas bawah itu berubah menjadi  "1xD"
saya iseng2 mengartikan *Disconnect* apa betul ya ?
karena saya coba send ke gtalk juga ga masuk nunggu sampe jadi panah lagi....
dan itu cukup lama juga kecuali di pancing dengan mengakses browser
atau masuk ke setting dan manual sync

nasib serupa kualami di gmail... yang ini lebih parah saat kondisi 1x
dengan panah di Moment (1x)
dibanding dengan yang di spica (GPRS) selisih isa 1 menit (cepat di spica)

yang di Droid apa juga ngalami hal yang sama ?
atau mungkin ada setting saya yang masih salah ya ?

thx sebelumnya

-- 
"Indonesian Android Community [id-android]" 

2. detecting home screen, idle of device

I want to start my activity when the device is in idle(home screen).
I found a solution like below.

=================================================
ActivityManager actvityManager =
    (ActivityManager)getSystemService( ACTIVITY_SERVICE );
List<ActivityManager.RunningTaskInfo> task =
    actvityManager.getRunningTasks(1);
ComponentName topActivity = task.get(0).topActivity;
String strPackage = topActivity.getPackageName();

PackageManager pm = getPackageManager();
Intent mainIntent = new Intent(Intent.ACTION_MAIN, null);
mainIntent.addCategory(Intent.CATEGORY_HOME);
List<ResolveInfo> mApps;
mApps = pm.queryIntentActivities(mainIntent, 0);

int count = mApps.size();

for(int i=0; i<count; i++){
    ResolveInfo info = mApps.get(i);
    ActivityInfo activity = info.activityInfo;
    if(activity.packageName.equals(strPackage))
    {
        return true;
    }
}
return false;
===============================================

Is that reasonable?? I'm not sure there is more good solution.
please give me any opinion.
thank you.

-- 

3. bindService() does not create local service, but returns true

4. licensing service on android

5. Android based application for healthcare

6. Big Issue with running and testing app on phone while still being connected to PC

7. Official T-Shirt Ready