I have the Worklight 6.1 Application Center installed on a server.
Users install from the the Application Center by visiting a url on their mobile browser. Clicking the Install button downloads the mobile app. But when the mobile user taps the Install button, the mobile browser window does not close, so the user gets no feedback that the download is occurring.
How can the behavior of the Install button be configured to make sure the browser window closes when the install begins?
The answer depends on the mobile operating system you are using when visiting the installers.html URL and clicking on the Install button.
In:
Android: a "Downloading..." toast message is displayed
iOS 7: the mobile Safari app goes to the background and you can see the application being installed
iOS 8: the mobile Safari app will not go to the background
In iOS, Apple does not expose any APIs to the developer in order to provide visual cues as an application is being downloaded.
Related
I'm developing an app that uses toast notifications to notify the user. These notifications are raised when the app is running in the background and go to the notification center.
All is well, but on desktop the app icon is missing for the notification group. When testing the app on Windows 10 Mobile the icon is there.
(Note: Shown above is the notification group for an app named "Calendar Activity", not the actual notification.)
Why is the app icon missing in the desktop's action center?
Here are some details about my assets:
I used the UWP Tile Generator to generate every asset you can configure in the app manifests 'Visual Assets' section. The files names look like this:
Toast notifications are generated using the UWP Community Toolkit classes, if that matters. So I'm not constructing the XML myself.
What am I missing? What is different between desktop and mobile regarding the notification group icons? Why is the notification icon missing on desktop?
(Win 10 Anniversary, SDK 10.0.14393.0, latest official update level for desktop and mobile (no Insider))
This is a know issue for desktop:
This is a known bug with the Anniversary Update (Version 1607). It only affects your app when deployed locally from Visual Studio. Your app will work correctly when deployed as a release package (like when installed from the Store). - Source
I've been showing a page on the console (Android environment), and testing if this external page (an html page of mine) has been opened using a mobile device or a desktop by checking the user-agent using this piece of code:
navigator.userAgent.match(/Android/i)
If I run this piece of code on the real device it shows it's an Android device, if I launch the Worklight Console it shows it's a desktop device. How can I change the user-agent in order to let Console think it's an Android device? I've installed the Chrome extension but I didn't understand how to use it.
It sounds to me like you want to debug your Android environment (which is meant for mobile devices) while using the Chrome desktop browser?
Try the following and see if this is what you want:
Preview the web resources
If all your web resources are in the common\css or common\js folder, open Worklight Console and click on "preview web resources"
If the web resources are coming from both the common\ and android\ folders, you can use this URL structure: http://replace-with-host-or-ip-address:10080/replace-with-project-name/apps/services/preview/replace-with-app-name/android/1.0,
Open the Chrome DevTools and click on the device icon:
Then, from the UI that will open up you can select from the Devices dropdown to adjust the viewport to that of the chosen Android device.
running WL Studio 6.0, on RHEL 6, with Firefox.
I am unable to enable the Cordova geolocation control in the Mobile Browser Simulator. When I expand the Geolocation section in Cordova controls, all I get is the following message within the control:
"Using the geolocation service provided with Firefox."
I have turned off Firefox's "geo.enabled" config setting in about:config, reloaded the page, restarted the browser.
I have set Firefox's Share Location permission to blocked in my page settings for the MBS page and reloaded the browser.
Is there a way to enable this MBS feature on firefox (on linux)?
There is no setting in the Mobile Browser Simulator to change that, but sounds like there should be. Or at least needs to better detect if the FireFox geo.enabled setting is turned on.
we are doing a product display iPad app and don't want customers to be able to quit the app pressing the home button. We're planning to use only UIGesture to let the admin users to quit. How to programmatically lock an iPad app into one single application without install any third party app or profile?
There is a feature for this added in iOS 6 Beta 2 called Guided Access, see http://www.idownloadblog.com/2012/06/26/ios-6-guided-access/
Install the iPhone Configuration Utility: http://support.apple.com/kb/DL1465?viewlocale=en_US&locale=en_US
Make a .mobileconfig with the SBStoreDemoAppLock property set to true
Install the mobile config on the device.
Installation of the mobile config can be done using either the iPCU app or by opening the file with Safari on the device.
Now the device is in kiosk mode and the home button is disabled.
Remove the .mobileconfig file (again using the iPCU app) and reboot the device to re-enable the home button.
I believe that the common solution to this problem is a case that covers the home and power buttons. In practice, you'll want something that is fairly robust to prevent theft of the iPad, and that neatly covers access to the dock connector whilst providing power.
A quick google search of iPad kiosk case turns up plenty of options. Use of iPads as PoS displays in stores and at trade shows is incredibly popular.
is it normal that I have to search "spotify:app:$FOLDERNAME" after each restart of spotify to get my app active again even I "added my application to the sidebar"?
Other apps installed by the App Finder are kept as expected.
Best regards
Yes. The manifest from local apps are read at start. The client removes apps from the sidebar that are not available in the finder.