Android intents

Android intents

Postby Antonio Linares » Mon Mar 04, 2019 1:07 pm

"Intents" API:
https://developer.android.com/guide/components/intents-common

am (activity manager)

$ am start -n org.mozilla.firefox/.App

$ am start -a android.intent.action.VIEW -n org.mozilla.firefox/.App -d /storage/emulated/0/Documents/wp.html
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42107
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Android intents

Postby Antonio Linares » Mon Mar 04, 2019 5:27 pm

This works!!!

$ am start -a android.intent.action.VIEW -d http://www.fivetechsoft.com
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42107
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveTouch

Who is online

Users browsing this forum: No registered users and 10 guests