How to control volume in chrome packaged app - google-chrome-app

Is it possible to control the audio of a chrome app window with say, an audio slider? Is it possible with Javascript or Jquery?

Related

What browser opens a PWA when it is launched from home screen app icon

I am examining PWA and Web Components technologies recently. As far as I have learned now Web Components is a new suit of tech,
Custom Elements, Shadow DOM, HTML Templates and HTML imports. Together with those Web Components enabling techs Web App Manifest, Service Workers, and certain performance improvement techniques used to make what is called as Progressive Web Applications.
What I wonder is when one "Adds to Home Screen" an application in a certain web browser what is the browser that opens it when it is launched from its home screen icon? Is it the browser it has been added to home screen from, or it is the default browser of the system no matter which browser it has been added to home screen from, or it is just a generic web view available on the host operating system at the moment like the one used in native web applications?
Lastly, is it possible for a developer coding her/his app to choose one?
Currently, for me, these combinations open a new "Standalone" window
I believe Android/Chrome is the only one that installs a WebApk
All the others are just shortcuts to open your website in that browser without the normal browser navigation items
I know of no options for the developer for how the shortcut opens your PWA
Android 8.10 - Chrome 67
Android 8.10 - Chrome (beta) 68
Android 8.10 - Edge 42
Android 8.10 - Opera 43
iOS 11.4 (simulator) - Safari
As test I created app shortcut of site https://pwa.rocks from browser:
Brave
Firefox
Chrome
and found that there were 3 different shortcut created for each of the browser. Launching each shortcut resulted in opening the respective browser that created it.
I believe there is no way of changing the default browser to launch the app by coding something in the app. I could not find a way of doing that, if someone knows how to do it, I will be interested to know about it
Here is similar question: What browser will PWA (Progressive Web App) use after adding to home screen?

Chrome Inspector shows Android Webview in AVD but not on actual device

I have an Android app with a WebView which shows a simple web page. If I run the app in Android Studio's AVD (virtual device), I can inspect the WebView in Chrome Inspector. However, if I run the app on my device, I can't see the WebView. I can see Facebook (com.facebook.katana) and I can see all my Chrome tabs, but the WebView is missing.
In the past, I have been able to see the WebView on my device as well but this stopped working a few weeks ago. (Developer tools are active and USB debugging is active)
Can anyone help me figure out why the WebView is not inspectable in Chrome Inspector?
Make sure you are calling WebView.setWebContentsDebuggingEnabled(true); in your application (see https://developer.chrome.com/devtools/docs/remote-debugging#configure-webview for full info). AVD runs a "debug" Android image, where debugging of WebViews is enabled by default. On regular (so called "user") images you need to have it enabled by your app.
Another point to consider is that you need to create at least one WebView instance in order to see your app listed in chrome://inspect.
For me...the DeVTools window is blank...ive tried this for both our app and viewing Chrome through the devive

google chrome browser is differed from UIWebview?

google chrome browser is availabe in App store as a native application.
1)How will it be differed from safari?
2)How can it access device memory,have its all features if they have used
UIWebview?Normal UIWebview is enough if they have used UIWebview.
Chrome on iOS differs from Safari only in UI and ability to sync with Google services, cause it is based on Apple`s WebKit (rendering/layout engine)

How to play Text Tone from HTML5 app in iPhone

How do I play a iphone Text tone from my application that's running on safari browser?
I believe Mobile Safari outputs the contents of the HTML5 <audio> tag via the separate iOS media player. If you want audio within your webpage, take a look at jPlayer, a jQuery plug-in for audio.

Flash Component in iPhone

i have few questions regarding flash components in iphone
I would like to know if a safari browser in iphone can play a flash component(swf file).
Do i need to download a plugin for safari ? If so will the plugin update the existing safari browser or will it be another standalone application which plays the swf file in the safari browser? same doubt i have with mozilla browser in iphone.
I have a swf file .Will i be able to embed that to a native application in iphone.
I saw that iphone flash application can be developed and such applications are present in app store.If so which version of adobe flash has that capability ? (cs4 or cs5)
The Flash plugin is not available on iPhone, and will certainly never be...
You might take a look at Adobe Flash CS5, which will be able to create native iPhone apps from AS code.
http://labs.adobe.com/technologies/flashcs5/appsfor_iphone/
You might be able to embed a Flash SWF into your app using Hirameki. Still not ready for market, but it plays Flash animations directly from a SWF file inside a native app.
http://flash-on-iphone.com/demo