Flex/Flash - Include assets for iOS - ios

So, finally got the retina resolution to work with flashbuilder/flex and windows when exporting to iPad, but now I need some more help.
I want to port our old porfolio to iOS, so we can have it with us when we are meeting up with new clients.
EDIT: Ok, local storage seems like a lot of work, so I'll include it all in one huge .ipa file..
Now, our porfolio contains a lot of videos. What codec should this be to be playable in our flash application on the iPad?

Related

Convert a video into an IOS Live Photo format without an Apple device

I'm currently making live/animated wallpapers for Android phones, which is pretty easy with GIF/Mp4 files. But I would also like to make the live wallpapers compatible natively with ios/iPhones. I've seen many tutorials on how to convert a video to a Live photo but they all involve some kind of app you need to install on your IPhone. Issue is, I don't own an iPhone or any iOS device to do that and apparently iOS emulators are not a thing, so my question is :
Is it possible to convert a (mp4) video to an iOs Live photo through a 3rd party ? If so, how would you do it ?
I'm pretty inexperienced with the iOS environnement so thank you for your help !
Well, a live photo is a container that holds both a .jpeg and a H.264-encoded .mov file. More details here.
Do you have an Apple computer to do so, or do you want to create it independently from any apple hardware?
For the first case, there are a bunch of (demo) applications on github you could take a look into.
For the second case, I'm not sure if anything exists.

In SharePoint 2013, the uploaded videos are not playing on ipad and iphone

I have uploaded .mp4 videos to an Assest Library in SharePoint 2013. I can play these videos on IE and other browers but I am unable to play them on IPhone and IPAD. It is asking for Silverlight Installation. Is there any way I can play my videos on them.
Please help me.
Thanks.
I was in the same situation. You need to make an additional extra change. Initially I couldn't believe, but it is necessary to enable the blobcache for that SharePoint web application that is hosting the mp4 files in order to make them available for iPad / iPhone. When you enable the blobcache please make sure you have mp4 added as extension.
Here is an example of how the blobcache entry should look like in your web.config file. Of course please add the required adjustments based on your environment: cache location, size, extensions...
<BlobCache location="D:\SPS\BlobCache" path="\.(gif|jpg|jpeg|jpe|jfif|bmp|dib|tif|tiff|themedbmp|themedcss|themedgif|themedjpg|themedpng|ico|png|wdp|hdp|css|js|asf|avi|flv|m4v|mov|mp3|mp4|mpeg|mpg|rm|rmvb|wma|wmv|ogg|ogv|oga|webm|xap)$" maxSize="10" enabled="true" />
You are not going to be able to get Silverlight on an Iphone/Ipad.
You should be able to simply download the mp4 files and play them direct from your device.
I had a video rendition set in the asset library and this caused a different video menu, and prompted to install Silverlight. Set the video properties so it forces the main video as default and it should play on iPad.
Cheers.

Making an App with PhoneGap that operates without internet

I want to create a small App that just shows WebPage with link, video Playing and PDF Documents. The problem is that I expect the app to open Video, PDFs etc without accessing internet.
So, when I click on video, it should play even without internet.
Is it possible to do this in PhoneGap?
As long as they are in a format that the device can handle in the browser directly, you should be fine. A good way to think of PhoneGap is like an enhanced web browser.
You should be able to put the files into the resources, and PhoneGap should be able to access them completely fine. It essentially works by using the file:/// scheme, so you can probably try making something like you'd want to put on the iPad, and try it on your computer. If it doesn't work on there, it likely won't work on the iPad either.
In terms of video files, you'd probably want to use an .mp4, as these should be natively supported by the iOS WebView.
Now that being said, if you're trying to get your app in to the AppStore, you may want to look into the Apple User Interface guidelines. For example section 12.3 of the App Store Review Guidelines states that apps that are ... a collection of links, may be rejected.
You may also find the iOS Human Interface Guidelines helpful.

iOS Mobile Safari File Upload renames file

I have a web app designed for use on an iOS device. The web app includes file uploaders, which are meant to allow the user to upload an image from their iOS device or take an image from their camera.
The issue I'm running into is that I want the user to be able to upload PNG images through this interface, as well.
What is happening, though, is that it seems iOS renames the file image.jpg before it is sent to the web app, not honoring the original file extension. This is only an issue because I am trying to preserve transparency in the .png files, and this is lost in the extension renaming.
Any thoughts on how to handle this? Thanks, in advance, for any assistance on this front.
Mobile Safari only allows the uploads of jpeg's at this time. If you try to upload a png it will be (heavily) compressed into the jpeg format and then uploaded to the server.
The only way we have been about to get around this is by creating a native app for iOS and uploading the image through the Cocoa-Touch API's.
I've filed a Bug report with apple for this issue. Bug ID: 14494395

Loading iOS app resources from a website

I'm currently working on an universal iOS application which has reached more than 100mb in size due to the heavy usage of video and sound files. I've implemented a solution for loading these assets at runtime (from a website) but I'd like to know if Apple approves of such actions.
The way it works now is this:
A bundle (with all the video and sound files) is created for each iOS device type: iPhone, iPhone Retina and iPad.
Then this bundle is zipped and uploaded to the server.
Depending on what device the app is installed on, the corresponding zip file is downloaded, saved to the Documents directory and then unzipped.
Finally the bundle is loaded with [NSBundle bundleWithPath: ]
This method works fine but I couldn't figure out by reading the docs if Apple may reject the app because of it? Thanks!
As long you are just moving around audio and video files, Apple won't have a problem.
But I would suggest (for the user's sake) breaking up the package a bit further so that the user doesn't have to suffer a 100MB download.
Perhaps include a few files so that users w/o internet can do something with your app.

Resources