I want to build a webframe application in Java for Blackberry AppWorld. I need an app page that will show a website without leaving the application. In iOS, this would be a UIWebView or in Android, this would be a webframe.
You want to use a BrowserField.
Related
I have designed a react web app that I want my users to add to their home screen and use it like a regular ios app. Something similar to how Nvidia's GeForce now does. They force their users to add their app to their apple device's home screen and then launch the app.
The problem is I am not able to think of a way to be able to identify if my react web app has been opened in safari or it's bookmarked.
Something similar to:
https://play.geforcenow.com/mall/
Are there any ways of adding/setting an image/video/audio file from an iOS app into the tag of wkwebview's web page?
In android, this can be done by WebChromeClient.FileChooserParams class to save files picked from device into the mobile web page.
But how we can achieve this in iOS?
I'm currently developing an iOS application that needs do display Rich-Media-PDF's. We do all know that iOS has it's troubles in dealing with Multimedia PDF's especially in the standard preview.
My question is: Can I redirect the „View PDF" button of my App to an external websites that has absolutely no content but a script running in the background making the iPad launch the Acrobat Reader to display the PDF on the iPad, given the Acrobat Reader is installed on the device that opens the script page?
In theory, yes you can. For iOS apps, there are these things called URL schemes. Basically, each app can have a scheme similar to a website (i.e. myapp://do/something).
So the user in your app would click "View PDF", and it would open Safari and redirect to your web page. On this page you can have a script that calls to open the Acrobat Reader app.
The problem is that I'm not sure if Adobe has enabled this app URL in their Acrobat Reader app. I did a quick Google but couldn't find anything, but if they do have one it would be something like (adobeacrobat://). If you can confirm that the Acrobat Reader app does indeed have a url scheme set up, then yes you can definitely do this.
I am in the mist of creating a mobile web app and have both meta tags
I have an iphone 5 on 7.0.4
When I click on a regular link like the one below it, opens up a mobile safari window and leaves the webapp. I also tried setting the target to _self and same behavior.
Sign in
I then used my ipad which was on 7.0.3 and it worked as should, not opening mobile safari on links. I think proceeded to update my ipad to 7.0.4 and the same issue as I had on my ipad.
Anyone ran into this issue and or knows a fix ?
Thanks
Since iOS 7.0.4 all links in WebApps open in Safari. As a workaround you can use Javascript:
window.location.href='text.html'
But remember that these steps will not be captured in history (so there is no ability to use Javascript like history.back() ..).
Alternatively, if you are using a menu in your web app, try to combine iframe and Javascript, you can change the content of your iframe with this Javascipt:
document.getElementById("frame").src = new_content.html
This will prevent your WebApp to open up links in Safari and stay in WebApp view.
I'm trying to use Phonegap to build an iOS application through github. All I have in my directory is one html file and an image. The html basically redirects them to my website, which is optimized for mobile devices. However, instead of redirecting them in-app, it opens a safari window and tries to load my website in there. How do I get it to load the website in-app?
I think it would be useless to correct youut code, because Apple won't allow you to bring this app into the store. It is not allowed create just a browser. But this may answer your question: Stop iframe redirect/opening mobile safari in phonegap project