How to check programmatically if an application is installed or not in Android through asp.net MVC? - asp.net-mvc-4

I have designed a website which is responsive and it opens in Android and iOS.
I also have a supported app for the same which has a feature for sharing links. When the link is clicked it will redirect the user to the website.
Is there a way to find out if the app has been installed on the device (Android/iOS) which the website is running on through MVC?
Please help me with a few suggestions.
Thanks in advance

Related

How to convert React-Native app to web version?

I have already completed a React-Native app. (And I used Firebase in app for backend.)
And there is 2 Figma files for both app & web version. How can I build web version in same style with web Figma design? App Figma and web Figma design are almost same.
How to convert it? I heard that "react-native-web" is useful for this. But all related blogs are videos are for creating app & web from scratch. I want to know how to convert pre-made React-Native app to web version. And after convert, can I reuse Firebase integration that has already used in app?
Anyone can explain the procedure step by step or send some links? Just hint will be also great appreciate.

How to Launch/Open any other external app from hybrid app? [duplicate]

I have a requirement to open the native version of the hybrid app (.ipa/.apk/.appx) when the hybrid app is requested in a device browser.
I am able to detect the environment using WL.Client.getEnvironment(); method, if it is found to be Android/iPad, I want to launch the respective .apk/.ipa file in the device. Any help is appreciated.
Re-reading this question and the comments several times... I still do not understand the actual scenario... it'd be best to rephrase it.
Scenario: How to open an app from the web browser:
If you have added the following environments to your Worklight application:
Mobile Web
Android
iPhone
And when visiting the Mobile Web version of your app, you want to display a message like "For the full experience, open the full application by clicking here".
Then:
It is implied that the user already has the application installed.
If it is not installed, you need to take care of that somehow
The way to handle this scenario is to use URI schemas:
For Android: How to implement my very own URI scheme on Android
This means that after adding the custom URI schema to AndroidManifest.xml, you could then detect the device OS the Mobile Web app is currently running on and display a custom link: myapp://<the URI schema you've defined>. Tapping it will open the app installed on the device.
For iOS, in a similar fashion: https://coderwall.com/p/mtjaeq
Also see: http://wiki.akosma.com/IPhone_URL_Schemes
Alternate solution: If you are not sure if the app will be installed or not, then instead of using URI schemas you can always point to either Google Play or Apple App Store, to the app page; the user will then have either a "Open" or "Install" link.
Scenario: How to open an app from my own app
If you have a Worklight Hybrid application (Mobile Web is not a Hybrid application), and you want to open another application from within it, you can:
Use the same approach of URI schemas, or
Use Cordova plug-ins
I have created this Worklight 6.1.0 project to demonstrate:
Android - How to open, for example, the Android Settings app from your Worklight Hybrid app
iOS - How to check if Waze is installed and open it, and if it is not installed then to open Apple Maps instead.
See instructions.txt in the apps\test folder.
Are you asking that if the user via their device browser hits the webapp version of your app on the internet, the website will ask the user to fire up the native app on their device? kind of like what ebay does?
if that is what you want check out these pages
android:Launch custom android application from android browser
IOS:
iPhone - Open Application from Web Page

How can I share things to other apps on a Windows 10 App by JS?

I am creating a Windows 10 hosted Web App following the guideline here. I have a button on my App, which for Android, would lauch the native sharing dialogue. I guess Windows 10 should have something similar, so that users can share the page URL to other apps like Facebook and Twitter whewn they find the page interesting. I am looking at here but the links are dead. Any examples or documentations about how I can achieve this? Thanks!
On the following location you can find example code (JS, C# and C++) how to share data/content with another app in Windows 10.
https://github.com/Microsoft/Windows-universal-samples/tree/master/sharesource

Windows 8 app load web app from url

I've developed an Android app who loads a web app from an url in fullscreen and caches it with application cache. That works fine, so I would do the same for Windows 8. Is this possible? How it's done?
To load any WebSite/WebApp in your windows-8 app, you can add WebView control in your ApplicationPage.
You can find more details/Information regarding WebView control here
and find Code samples for Adding WebView in your app here
For detailed answer, you have to elaborate your question more.

Develop Mobile Web app using Dojox

I am new to Dojo. Dojo provides a way to develop Web app for mobiles.
Just I want to create Hello world app with Dojo.
Any one help me????
look at this resources, i think it will be helpful
Dojox.mobile test pages - Several samples showing how to use various features of dojox.mobile.
Dojox.mobile Documentation
API Reference for dojox.mobile
Instructions for installing and configuring the Android Device Emulator. You can use the emulator to test the application if you don't have access to an Android device.
Visit the Safari Reference Guide or tips on building web applications on the iPhone