I am developing an application using Xamarin Forms, targeting iOS, Android and Windows Phone.
Using Dependency Service, I implemented to open/preview file that can be an audio, video or text document.
On Android, I used Intent with Android.Content.Intent.ActionView.
On Windows Phone, I used Launchers.
Is there any similar simple way on iOS to view a file?
Related
I have developed a WPF application which is run on windows platform. But my client wants the same desktop application on iOS platform. How can I do that without developing a new application?
You cann't convert WPF project to iOS application. You cant try to reimplement your app on xamarin.
Is there any way through which a flash content can be run on iOS devices?
I am getting two different view.
The link below says that it is possible that we can develop some flash application and run it on iOS devices.
http://www.adobe.com/inspire/2012/12/ios-apps-flash-cs6.html
But on the Apple website link it says running flash applications is not possible on iOS devices.
Can someone clarify if it is possible to run the flash applications on iOS?
You cannot run flash natively on iOS devices. Adobe does, however, provide a tool to run software built with flash on iOS devices.
This works in a similar way to Cordova/ Phonegap in that it takes your code and crosscompiles it into iOS code using other plugins and librarys.
As shown here:
http://www.infoworld.com/article/2623251/mobile-development/escape-the-ios-sdk--building-iphone--and-android--apps-via-flash.html
Safari on Mac OS will support Flash
Safari on iOS won’t support Flash.
We will need to write a native iOS app to deliver the functionality
I am developing an image-scanning application for BlackBerry. The application takes the user to a success page if the correct image is scanned and a failure page is shown on scanning an incorrect image.
I am using the IBM Worklight framework for developing this app.
My question is: How can I open camera for scanning in BlackBerry?
I have developed the same application for iOS using Worklight. In iOS I've used this JavaScript syntax:
WL.native.show(arg1, arg2, arg3);
So I want to know what will be the syntax for opening camera/native page in the case of BlackBerry.
Just to make things clearer, you do not use WL.NativePage.show in order to use the camera in an iOS device. For that you use the Camera API provided by Apache Cordova.
WL.NativePage.show is meant to transition from a WebView to a native page.
You can, however, of course, use it to pass parameters and do whatever you want on the native side and then return to the WebView...
WL.NativePage.show is available only for iOS and Android.
Anyway,
In BlackBerry WebWorks apps (the type of BlackBerry apps supported in Worklight) you have several options:
Use the Camera API provided by BlackBerry
Use the Camera API provided by Apache Cordova
Worklight currently supports Cordova 2.3 (in Worklight 5.0.6.x) and Cordova 2.6 (in Worklight 6.0).
When developing a application for iOS that pulls in a web site, you have a very simple web app wrapper that as far as I know acts like an iframe, pulls in the web site and boom - you have an app.
My understanding is that if done this way you are using a "stripped down" Safari to view the web site in a "app" as it is a web wrapper.
When developing an app for BB OS6, is it the same concept? If I develop a wrapper that says "go fetch site x and display it in this app" is it going to use BB OS6 default browser APIs to render said site?
Also is there links to said API?
If all you want is a container to display Web content I'd highly recommend you use Webworks (or cordova for cross platform) as opposed to Java. WebWorks already creates and sets up the bf2 for you in a tested and proven way.
The equivalent of UIWebView for iOS would be the BlackBerry BrowserField.
If you want some examples of how to use it, I recommend installing the BlackBerry Eclipse plugin. That will install in Eclipse the full BlackBerry Java SDK (e.g. version 6.0, 7.0, etc.), which comes with lots of sample code. From Eclipse, you can then
Import... -> BlackBerry -> Import BlackBerry Samples -> BrowserField2Demo.
Note that you want the BrowserField2Demo, not BrowserFieldDemo!
Or, you can go directly to the github site with BlackBerry sample code.
I'm building an air application (using adt packager) for iPad. I would like tracking some informations in my app so is it possible to embed Google Analytics library for Flash (.swc) in my packaged app ?
otherwise are there alternatives ways ?
Note: Currently, Flash tracking is available for any Flash content embedded in a web page. Tracking of data sent from Adobe Air, Shockwave, or via the Flash IDE (e.g. using Test Movie) is not supported at this time.
got this from https://developers.google.com/analytics/devguides/collection/other/flashTrackingIntro
I am having better luck with this alternative native extension (ANE) for iOS and Android:
https://github.com/alebianco/ANE-Google-Analytics
GAForFlash (http://code.google.com/p/gaforflash/) v1.0.1.319 did work for me when compiling with AIR and running in ADL on Windows, but seems to work intermittently when compiling and running it on an Android or iOS device. The visual debug feedback reports it always sending correctly, but half the time GA never receives the data.
Both solutions can send both pageViews and events, but neither (currently) works with the new mobile app GA profiles so you need to use a classic web profile.
It is possible. I have it running in my pure AS3 AIR project for mobile.
See http://code.google.com/p/gaforflash/ there is a swc you can use there.