I'm about to start a new app project for iPhone/iPad and I'm checking if there's any relevant issue between iphone and Phonegap compatibility?
The project most possible trouble will be the audio and video streaming.
A look through the PhoneGap documentation should tell you if the features you want are supported or not.
Related
My requirement is to play local (bundled with the app) audio and video files in all iPhone and iPad versions from within in the PhoneGap application.
I have tried using HTML5 audio and video tags to play local audio and video files respectively. I am able to play them in the iPhone and iPad 5.0 and 4.2.x simulators.
I am not sure if HTML5 video and audio tags are supported on which versions of iPad and iPhone iOS.
Cam you please let me know which versions support HTML5?
If only new versions support them how can i play audio and video files on all versions from within PhoneGap application?
Thanks,
Prasanth
Take a look at this list:
http://www.expertisemobile.com/2011/10/28/html5-video-and-audio-tags-support-on-mobile-device-real-world-feedback/
In my opinion today's apps don't have to work in very old version of iOS so supporting iOS 4 and newer would be ok.
Go ahead, even if the tag is not fully supported by older version, it still works!
I am new to the iPhone development, I need to develop application in which I can load SWF files (shock wave file). I have done lots of research but I couldn't get it to work. How do I load it on the iPhone ? if it's not possible, what alternatives do I have ?
There is no Flash player on iOS and no other solution to play Flash in your app. However, you might want to look into Adobe AIR for iOS which is able to produce iOS apps.
The iPhone doesn't support flash.
iOS Doesn't support Flash so you won't be able to launch a swf. If you have the source for the SWF you could consider building an ios app through Flash CS5+. Also, you could try porting it to haxe, which is very similar to actionscript and should allow you to build for both Android and iOS at once.
As I know there is no such application (expect Frash, which is only available on jailbroken iPhones) which can load SWF Files on an iPhone.
The only way you can go is to convert that file in an iPhone readable format, which I can't recommend as the results are normally horrible.
Otherwise I suggest to recode the behaviour of that SWF File in Objective C or something similar to that.
There is no Flash player in iOS. Even more – it is forbidden by Apple iOS Developer Agreement to deploy them (and other technologies where you may use an app to execute another executable code of any kind (SWF, Java, AIR, etc.) on iOS devices.
You can also make your own flash player.
Is it possible to view video stream (H.264 live feed) over RTP/RTSP in iPhone natively? If not, is it possible to write an application for this purpose?
Sure it is possible, in fact others have done it already, see e.g. IPVision from TTrix.
Seems that the Live555 libraries can be compiled for iOS. See this SO question:
How to configure live555 framework for iphone app devleopment?
Sure it is possible now.
Previously, RTSP is not allowed in AppStore, though someone migrated VLC to iPhone, but that app is removed from AppStore, you can only install it via jailbreak.
Now Apple doesn't insist this rule any more, so you can write RTSP player on iPhone as you will.
In face, I've done this a few months ago, migrating ffmpeg & live555 to iOS and make an app, absolutely feasible!
iOS 4.3 no longer supports playing AMR Audio Files which is horrible and completely kills my app. Some people have suggested using Opencore-amr but I'm at a loss in terms of how to compile the library and integrate it into my iPhone application.
I'm looking for any tips or help I can get in terms of how to compile the library, include/link the library in my app, and sample source code for using this library to play AMR files in an iPhone app.
I would like to have a feature in my iphone application that would start playing a file in my ipod section of the iphone. Does the SDK allow calls to this? Is there a simple way to start a song from my application other than using the iphones native interface?
No, I think the official iPhone OS 2.0 SDK does not allow this.
You cannot launch the iPod app from your application. But you can easily play a song.
Use the AVAudioPlayer from the AVFoundation Framework.
Ars Technica has a nice article on it, here.
This is now possible with 3.0 but I will not go further into it due to NDA issues. The information is available on the Developer Site.
Now that it's public, you're looking for MPMediaPickerController and MPMediaPickerControllerDelegate
http://developer.apple.com/iphone/library/documentation/MediaPlayer/Reference/MPMediaPickerController_ClassReference/Reference/Reference.html
Nope you cannot fire off a song from your media library but you can play a song you have embedded in you app or you download from the web here are some examples
Apple - Example
AppsAmuck - Example