How to show the Custom Dialogue over the another app - android

I am developing an app which is using the share function. When someone share the link from any app need to show some alert/dialogue for better user experience without opening my app.
Example - Sharing the video from youtube it opens a small dialogue which shows that link is successfully shared with Ok button. when click on button, dialogue dismiss and i again use the youtube app.
I followed instructions from this link but not able to achieve the results
Show dialog activity over another app from background
This is what i am trying to achieve in my app

Related

Android App demo in Website?

I'm creating a app landing page for my friend.. I want to show the app demo with user interactions, just like they are using it in mobile.. I'm planning to show only few interactions.. For this i can recreate the app in HTML using material framework..
So my question is how can I show that app demo with user interactions??.. It's not going to be complex demo.. Just want to show front page of app and when user clicks on the button then user will go to next screen of the app.. that's all..
How can I do that? Is there any library to do that? Or any other ideas how can I achieve this?
You can use Android Studio to record the screen of any connected device or emulator.
Follow these instructions: https://developer.android.com/studio/debug/am-video.html

Phone gap social sharing plugin Customization?

I have implemented the social sharing plugin by the following link
its working perfect ,but i want to customize the plugin like when user clicks on the share app tab then only following option need to display email,watts-app, sms, Facebook non other option should not display to the user, but now its displaying all the social media apps to the user to share the specific link or text ,so please suggest to me how to solve this one

Adobe AIR for Android - Open native facebook app

So I've been trying to figure out a way to open the native android facebook app from my Adobe AIR game but couldn't find a solution yet.
Basically I am interesting in letting my users open my game's facebook page and be able to click the like button.
My current solution is to open a webview but that is not good enough because users will have to enter their facebook login details.
So I just need them to open my game's page directly in their facebook app without needing to enter login details in a webview.
Is there a solution for this?
I think you can use navigateToURL(new URLRequest("fb://profile/your_page_id"));
You can get your page id by going to your Facebook page and pressing the Edit Page button. It will be in the browser url bar. E.g. https://www.facebook.com/pages/edit/?id=261615207268847&tab=public
The id is 261615207268847 so navigateToURL(new URLRequest("fb://profile/261615207268847"));

WebView app opens YouTube app?

I have a Android WebView app and it has YouTube videos embedded in it. I have looked all over for the answer but could not find it. Is there a way to make the YouTube app open when they look at the videos on my site? Yes I know some people don't have the YouTube app, but this is an app for a local go kart track in a small town, so I can give instructions whenever someone has a problem. :)
this is simply because you've set this as a user .
go to Settings and Applications , then , in the settings of the browser click the clear-Defaults button and it should now ask you how to open the video link.
however , if you wish to make the app to not listen to the user's settings , you can do so as well, by using "setComponent".
you could also know how to open the main activity of the app by using:
getPackageManager().getLaunchIntentForPackage(...);

How to call android application from web browser

I want to call android application on clicking of button on some website from mobile.
Suppose I am opening one url on android browser and I want to call my application on clicking on button provided by that site. How to do that??
Suppose we are using browser other than Chrome then is it allowing??
If you link to your application as "myapp://foo/bar", can't you use some sort of intent filter to start your application.
I mean, if you press a youtube link in the browser it asks if you want to complete the action with the YouTube app or the browser.
I have seen similar examples regarding Google Maps links (which would open in either browser, google maps(?) or GeoBeagle).
Please take a look at the WebViewDemo. Javascript code in the web page can call into your Activity. As well as the other way around.
You cannot... if the site is being browsed in the default browser (Chrome).
If you already have an application that embeds the WebView, then you can do some bit of handling of - mouse clicks, window alerts, navigation etc. Otherwise, not!

Categories

Resources