I need to make an application in App inventor 2 that displays the website in the selected browser when clicked. I was able to do this for google chrome, but it doesn't work on firefox and edge. The firefox application starts up but does not enter the link. The Edge application does not turn on at all.
This is code for chrome browser:
This is edge:
This is Firefox (App starting but not search)
Unless you want your user to use a specific browser, I think a better approach would just be opening the link in the user's default browser. If they don't have a default browser, then Android should show the browser chooser.
Related
I used to be able to override a flag in Chrome to hide the default share screen, thus giving direct/one-tap access to all the apps on my phone, but the option appears to be done now with Android 10.
I guess it could be sharing from any app on my phone, not just Chrome.
Any other way to do this?
Thanks.
I have a simple app that just accesses my website. From my FB Business Page it works fine clicking/tapping the "Use App" button displayed in the cover image using both desktop and mobile. It also works fine from the "Apps" section in the left sidebar on desktop. If I search FB, I can find both my page and my app in the search results. I can see the icon for my app in the search results. From desktop I can click the app icon returned from search, and it works fine. On mobile if I tap the app icon, the error "The page you requested was not found" is displayed.
How can I get my app to work on mobile too?
Is there a basic example showing how to disable the default Android browser on a Samsung Galaxy S6, MDM or otherwise, without root permissions? I’ve already tried the basic profile example; however, it does not encompass what I need.
If you go to
settings>apps>(all tab)>Browser>Click "Disable"
you won't have to ever answer if you want a link or anything to open in Browser or Chrome. It will act like Browser isn't on your phone and default to Chrome.
With iPhone you can display different content for the same URL depending on whether the page is visited in normal Safari or via a home screen icon for that webpage. If the page is visited in Safari then you typically display the instructions for downloading the app. And if the page is visited via the home screen icon then you display the app.
I currently have all this setup for a client. When the URL is visited by a non-iOS device, then the app is always shown(i.e. instructions are never shown like with iOS if visited in Safari).
My question is, on Android is there any way I can detect if the page is launching via a home screen icon or not so that I can display instructions or the app like on iPhone? If not, what's the best alternative?
how do I disable the functionality on Android browsers where a user can press and hold and image and bring up a "save image" popup dialog.
for ios devices, -webkit-touch-callout:none; works, but this seems to have no effect on android browsers
attach an event handler for the click event which calls event.preventDefault(). At least this did work for me when using ICS´ default web browser, chrome beta and opera mobile.