[android-developers] Re: Launch application or service from html link?

2010-08-04 Thread Shrenik Vikam
How To add parameters to the same URL to pass to Intent.

On Aug 3, 2:29 pm, Mark Murphy mmur...@commonsware.com wrote:
 On Tue, Aug 3, 2010 at 4:36 AM, Shrenik Vikam yoursonyt...@gmail.com wrote:
  Can I get  the detailed description of how to launch application from
  web link or
   A trusted link where I can get the steps to do the same

 Well, I have a detailed description in one of my books. Here's the
 sample code for the project:

 http://github.com/commonsguy/cw-advandroid/tree/master/Introspection/...

 It also uses this tiny Web page:

 http://commonsware.com/sample

 --
 Mark Murphy (a Commons 
 Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy

 Android Development Wiki:http://wiki.andmob.org

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: Launch application or service from html link?

2010-08-03 Thread rajesh rao
hi friends if you want earn more money? then don't waste your time just copy
and the address given below.*
http://www.AWSurveys.com/HomeMain.cfm?RefID=raothetechy*

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Launch application or service from html link?

2010-08-03 Thread Shrenik Vikam
Thanks ,
Any pointer , how can  I get your book in Pune , India ?

On Aug 3, 2:29 pm, Mark Murphy mmur...@commonsware.com wrote:
 On Tue, Aug 3, 2010 at 4:36 AM, Shrenik Vikam yoursonyt...@gmail.com wrote:
  Can I get  the detailed description of how to launch application from
  web link or
   A trusted link where I can get the steps to do the same

 Well, I have a detailed description in one of my books. Here's the
 sample code for the project:

 http://github.com/commonsguy/cw-advandroid/tree/master/Introspection/...

 It also uses this tiny Web page:

 http://commonsware.com/sample

 --
 Mark Murphy (a Commons 
 Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy

 Android Development Wiki:http://wiki.andmob.org

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: Launch application or service from html link?

2010-08-03 Thread Mark Murphy
On Tue, Aug 3, 2010 at 5:56 AM, Shrenik Vikam yoursonyt...@gmail.com wrote:
 Any pointer , how can  I get your book in Pune , India ?

http://commonsware.com/warescription

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Development Wiki: http://wiki.andmob.org

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Launch application or service from html link?

2010-08-03 Thread Matty
I would make up a scheme... and you can use an Intent-Filter to grab
any request to that scheme.

use an url like

shrenikvikam://some.data.for.your.activity

Then if your Activity listens for that scheme, a web link should start
your activity.

see
http://developer.android.com/guide/topics/intents/intents-filters.html



On Aug 3, 4:36 am, Shrenik Vikam yoursonyt...@gmail.com wrote:
 Can I get  the detailed description of how to launch application from
 web link or
  A trusted link where I can get the steps to do the same

 Thanks in Advance
 Shrenik Vikam

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Launch application or service from html link?

2010-07-30 Thread Shrenik Vikam
is it really working ?

On Jun 19, 7:24 pm, Mark Murphy mmur...@commonsware.com wrote:
 On Fri, Jun 18, 2010 at 9:18 PM, Dianne Hackborn hack...@android.com wrote:
  You can actually build a URI to launch pretty much any intent; the browser
  always adds the BROWSABLE category, though, so any activity receiving it
  must have specified that.

 To clarify: I suspect that the easiest way to determine the proper Uri
 syntax is to create your desired Intent in Java, call
 toUri(Intent.URI_INTENT_SCHEME) on it, and dump that value (e.g.,
 logcat), to get everything right, then put that in your Web page. The
 rules for encoding these Uri values are a bit cryptic, looking at the
 source code for Intent.

 --
 Mark Murphy
 CommonsWare
 mmur...@commonsware.comhttp://commonsware.com

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en