I am trying to open hybrid app in my iphone, so the best option for me is scan in a QR code that I can save time to input long URL. But what makes me so upset is that the icon fails to open in a new pop-up window, accordingly, I can't scan it.
I am not sure if the the IE or chrome safety option causing that, or it's Dojo bug.
This is QR code icon that I can't open:
Following the below steps, I havel successfully used the QR code from the Worklight Console's MBS preview page to preview the environment's web resources in the device's mobile browser:
Pre-requisite: I have installed on my iPhone 5s the following app: QR Reader for iPhone (you can install any other QR reader app you'd like)
Created a new project and application
Added the iPhone environment
Built and deployed the app
Previewed the environment in Worklight Console
Must: Edited the IP/Hostname field of the QR code:
Scanned the QR code
Related
I'm trying to design an application using Flutter framework where i need two features using QR Code scanner. Features as follows,
If the app is installed QR code scanner (when scanning from the app it self) should open a url link in browser (within the app is self)
If the app is not installed scanning the QR code from device it self should take the user to play/app store or to a website.
how can i achieve this using flutter and dart? any sample workout will be more than helpful.
You need to use Firebase Dynamic Links or a similar service.
FDL allows you to do exactly what you want.
Basically you specify an app identifier in the console, then in your app's info.plist + manifest.xml you specify the domain you used for the link generation.
The way it works is FDL will try to open the link locally on the device, if the app is already installed then it will launch the app, otherwise you can decide to redirect to a specified URL or to the platform app store and open your app page.
In my app i have noticed that in each installation, a screen by google pops up after launch and request access to the camera to scan the QR code of the cardboard.
Is there a way to programmatically disable this wizard?
In the Cardboard.cs and BaseVRDevice scripts there are functions by the name of ShowSettingsDialog, LaunchSettingsDialog, and in the case of ios, LaunchOnBoardingDialog. These are the functions that call the opening of the scanner. I commented them out from being called in their scripts and called them on my own when the user wants to pair with cardboard.
A simple link in the simplest xdk html5 app, let's say, a link to Google for example (click me) works on app preview. But, when I build the app, download the apk and install on my tablet, the same link don't work. Here is what I have done:
Created the apk using phonegap builder and it worked. Same code.
Include all plugins on xdk, used all types of script like loadExternal. Same result. All of the methods worked on app preview but not when actually build it.
Try to use "mailto:" links to open the e-mail, same thing.
A simple ping ajax request work on app preview and not on built apk.
It looks like that the internet connection is blocked to the built app.
Again, the same simple html5 app, not the hybrid app, it works perfectly opening a simple link to external page. The same html5 simple app don't open the damn link on built apk.
So, temporarily, I'll have to compile the app with phonegap builder, but, I really liked Intel xdk. How can I make the app work with xdk?
There is an option in Intel XDK project settings to whitelist the websites you want the app to allow, set this to * to allow app to access any website
How do you make a web app start up instantly - is it possible to make as fast as a native app that is already loaded?
I have developed a HTML5 web app that runs nicely on Iphone 4 with a splashscreen. But now I'm looking into performance:
I use a manifest file to ensure that all files are loaded from the local storage. I have checked both in chrome and mobile safari, that the files are stored correctly locally. Now performance it quite different depending on how I access my web app:
~4s When I load the web app in browser (not from a home screen icon).
~6s When I load from an "add to homescreen" icon
When I load in chrome browser it takes 234ms to load and render the whole page. I seems like the lack of speed is due to the rendering being pretty slow.
Any performance suggestions are very welcome.
I know from experience that a MacOSX device the Chrome App all of its previous versions/updates leaves in its App. This maybe also apply to ios, since it's is a stripped version of the MacOSX sysem.
It might help to delete the Chrome App from your iPhone and re-install it from the App store.
This way you be sure you have a clean copy op Chrome on the iPhone whithout all the previous Chrome versions.
I hope this helps.
I need to debug and test a mobile web-application.
How to setup a working GWT development mode for mobile application development to enable a fast development environment? I would like that GWT-hosted mode could be executed on an iphone browser. Is there a suitable alternative?
GWT development mode requires a plugin in the browser to translate between Java source and JavaScript running in the browser. Since the iPhone browser doesn't support plugins at all it is not possible to use development mode on an iPhone.
You should be able to use a WebKit browser (Safari or Chrome), resized to the approximate dimensions of the iPhone, to test the layout of your application. You'll still have to perform a full compile when testing iPhone specific features (gestures, etc.).