I am writing new feature to my small app, the ability to share items.
For that I want to implement custom scheme like myApp://share/PARENT/CHILD
.
I searched for it here and on the web, finding small pieces of info, but not usable stuff.
Once I am adding the intent-filter to my Manifest, the app can be opened by browser links like:
<a href="myApp://share/PARENT/CHILD">CLICK</a>
.
But, once I am sharing the link with sendIntent.setAction(Intent.ACTION_SEND);
and sharing with WhatsApp or Gmail for example, the link is not clickable.
After searching here i read about Linkify but I did understand that it probably will not help me here (because the regex is already fine).
So my questions is:
- Is it possible to use non-http schemes as links on Android apps?
- If (1) is false, how can I achieve this with http scheme? Can I set my app as default for scheme + host specifications?
- Can I tell the app store to open in case my App is missing? [I assume this is achievable only with http schemes, right?]
Thank you.