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!
Related
I am currently building an iOS application with flash CS5 and I would need some help with a couple of the features:
Is it possible to add in-app purchases? If yes, how does that work?
Is it possible to add iAd advertising to the app? If so, how? If not, is there any good alternative that works with flash?
How can I save data from within the app so it will be there eaten if the user restarts the app and even the device (like for a headboard and such)?
Any help is highly appreciated!!! :D
If it were a few months ago. Then answer would be an unequivocal no. However, presently, the answer is "perhaps" (or if you are an optimist, "probably"). With the release of Air 3.0, it now supports Native Extensions. These extensions are native code that have a wrapper API around them so that they can be compiled in with and called from an Air application.
In fact, I decided to look around real quick while researching for this answer and found a repo where it looks like somebody has implemented in-app purchases via a ANE. But I haven't tested this extension personally, but it may be a good starting point to see how it is implemented.
The reason you wont find too much information about ANE's yet is because they were only recently supported in the Air 3.0 update that happened last month. They are currently unsupported in Flash CS5 (or 5.5) or Flash Builder 4.5. They are supported in Flash Builder 4.6, which is currently in a closed beta. But you might be able to sneak in still, and it should be released soon.
The biggest "drawback" is that these extensions need to be developed in the native format for the device you are targeting. So that means, if you want to make an iOS extension, then you are writing it in Objective-C and xcode on a mac.
Pretty much the same answer as before. It should be possible with a ANE. But I haven't found any examples of anybody doing it yet.
It is very simple to save data/state to the device. You'll want to look into the SharedObject.getLocal() method if you want to the LSO. Or you can just use low-level File writing. Check out File.applicationStorageDirectory. For sensitive information that should be encrypted into into the EncryptedLocalStore class, which I believe is supported on iOS but not on Android.
All of these should provide a good way for you to persist data between application sessions.
With AIR 3 you can now use native extensions to call into the native platform code to achieve the functionality not provided by AIR Actionscript APIs. To answer your questions.
in app purchase. I have a sample at http://code.google.com/p/in-app-purchase-air-ios
iAd. I have a sample at http://code.google.com/p/iad-air-ios/
As others have already answered use local shared objects.
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.
Can anybody suggest me how to call flash file in iphone application.
Is it possible or not?
Is there any way to call flash file in iphone application?
Is it possible to call flash file in Titanium then we call titanium in iphone application.
Can any body suggest me in details?
waiting for your reply!
No it's not possible. Flash is not supported on iPhone
Edit 1 (to OP's comment)
No. The Flash player is not supported either in Safari on the iPhone or in iPhone apps.
As I understand Titanum (which I don't have much knowledge of) it is not a runtime but a compiler that compiles "web-languages" into specific files for each target platform, so there is no way to read the swf via Titanuim. In fact, I don’t think this would not be allowed on the iPhone anyway because (I think) the iPhone's sandbox doesn't allow any kind of external code to be read or JIT-compiled by an app.
Lack of Flash support is such a big deal, politically and economically, that if there was a way of reading Flash files on the iPhone you would have heard about it.
I wonder if someone managed to use Pure data sound library as an external library of the an iOS app. Pure data wiki claims it can be compiled only on jailbroken iOS device. iPD project claims to be 'Pd ported to iPhone OS to be used as an audio/control engine', but it doesn't mention anything considering wheteher it can only be deployed to jailbroken devices.
Has anyone made the pure data library to work on iOS device app, which successfully got approved by AppStore?
There are a number of apps in the Apple App Store that include Pure Data, iJam, rjdj and Inception come to mind. You want to use the 'libpd' version of Pd, its the version meant for embedding into things like iOS/Android apps, python/java/Processing/OpenFrameworks, etc.
Here's the home of libpd:
https://github.com/libpd
Is there a way for my iPhone app to add media (mp3s) not in its iPod library to iTunes once the user plugs/syncs to a desktop such that the media will get sync'd back into the iPhone's iPod library?
I know the question is rather general, but if it is indeed possible, can anyone nudge me in the right direction?
Who wants to write a sync app for mac and windows? Try serving a bonjour discoverable upload page from the iPhone. I got cocoahttpserver up and running in a few minutes.
No, it's not possible to do this using anything provided by the iPhone SDK. The only way to do something similar would be to store the media in your iPhone application's local storage, write an OS X application that discovered your iPhone via Bonjour, synced the content via WIFI, and then added it to iTunes.
Take a look at "Things" (an iPhone todo list application) if you'd like to see an example with sync-to-desktop functionality.
there is a way, i've done it through an app and it wasn't complicated. sadly I forgot and am currently looking for where I found the answer and thats how I stumbled upon this.