I want to have a mini chrome browser inside my app like Twitter or Telegram does, that 'Powered by Chrome' thing, not a WebView in an Activity.
Also, if some certain users have no Chrome or Google installed, can they use this mini broswer?
Related
I want to be able to open links in my app with chrome custom tab will that still work if the user doesn't have chrome or will it crash my app.
I tried to uninstall Chrome from my phone(i use my phone for testing) but I can't unless I root my phone which I don't want to.
Is it possible for android to ship without the chrome browser.
You can disable Chrome to emulate it not being installed: https://support.google.com/android/answer/2521768?hl=en-GB. There's not need to root the phone.
Many browsers, including Edge, Firefox and Samsung Internet support the Custom Tabs protocol, so your app should still be able to use Custom Tabs, as long as one of the browsers that support it is installed.
I have written a webview app which opens a web url. However the experience is just like when I have opened it in the default web browser of my Samsung S3 phone (android ver 4.2) which is very poor (e.g. google map cannot be displayed). Is there a way to force the webview app to use other browsers that default one, for example using Chrome browser that i installed in my smartphone?
With Android 4.4, the WebView was switched to be based on the Chromium project. Prior to that it was an Android's specific implementation of WebKit. With Android 5.0 the WebView is now updatable without OS updates through the Google Play Store.
https://developer.chrome.com/multidevice/webview/overview
If you want consistent behavior in your WebView across multiple versions of Android you'll need to include your own browser engine. Once such project is Crosswalk.
What is a difference between intel xdk, appmobi, and crosswalk?
My problem is that in my mobile nexus5 with chrome browser, I can launch a native application with a schema or go to another page if failed, everything works well. But in some other mobiles still with chrome browser (in my case, there are mobiles made by manufactories from China like Huawei, they custom their android system like the way HTC and Sumsung do), the browser seems like treating the schema as a http request and open it, and then shows this page cannot be displayed. And also my Javasript code in previous page cannot work anymore.
Is this a bug with chrome or because the android system is modified manufactory so that chrome cannot handle the schema correctly.
How can I mimic the Android default browser on my Desktop with Firefox or Chrome? I've noticed that Google's search results, as well as other sites, sometimes look different on the Stock Android browser than other mobile browsers.
Can I change the userAgent to do something like this so I can view things on my desktop as on my phone?
How to launch apps (facebook/twitter/etc) from mobile browser but fall back to hyperlink if the app isn't installed
I referred the above link and it worked fine on Google Nexus 4, firefox as well as chrome browser. If the app was not installed anchor tag redirects it to the web browser otherwise it opens the application.
But when I tested it on different phones like HTC and Note II, as well as iPad, there were some issues like :-
1.) It was working fine but not always on Note II.(firefox and chrome)
2.) On HTC, it never opened the app. Always the facebook URL was opening up in browser.(firefox and chrome)
3.) On iPad if application is installed this code works fine which opens up the desired facebook page inside the application but if facebook app is not installed safari throws an error(Safari cannot open the page because the address is invalid).
Please let me know if there is any other way to do it or if it is related to device or browsers. Really appreciate that.