iOS: Open Source VoIP/SIP Objective-C Code [closed] - iphone

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I have been tasked with investigating the feasibility of writing an iPhone App to access our internal VoIP/SIP systems.
I've never coded anything close to VoIP before. Are there any open source VoIP/SIP libraries or examples in C or Objective-C?
An iOS App that I can skin and add our required features to (mainly UI related) would be the holy grail here.

You may take a look at siphon (http://code.google.com/p/siphon/).
From their homepage:
Home of the World's first free
SIP/VoIP application for iPhone and
iPod Touch 1 and 2.
Siphon SIP/VoIP project is the first
in his category that works on iPhone
and iPod Touch 2 with headset for all
SIP providers. It is a native
application approved running on 2.X
using internal micro/speaker and
headset.
The Application supports the SIP
standard, preserving compatibility
with hundreds of SIP providers and
offers a GUI which preserves the apple
design of native iPhone applications.

PORT SIP
If you are a new comer on VOIP i would suggest using simple sdk's like PORTSIP
It is free download.you can check the app and make calls and also play around with the call.It is payable only if you want to use it for business.PORTSIP sdk is very easy compared to other sdk's or open source projects.
-ves
Not open source,offers less flexibility
LINPHONE
After you get hold of this you go for the open source projects Linphonen/PJSIP etc.
Linphone offers high quality sound but is very complicated to integrate and very less documentation is available.you will have to build the project first.http://shallwelearn.com/blog/build-linphone-for-iphone-and-ipad/ (for IOS)
-ve s
Very poor documentation
-PJSIP
Your best option is PJSIP which is very good with documentation and offers everything.Because you get code from scratch you can do anything with the code.
I highly recommend PJSIP.But it is difficult to directly go and devolep in PJSIP ,what i would recommend is do sample stuff on simple projects like portsip and go for PJSIP

Although it's rather old thread, for reference I add here also pjsip: http://www.pjsip.org that has a quite mature iOS port nevertheless it is written in C and its API is also in C.
UPDATE as of 06/2021: please note that this answer was originally written 9 years ago. I completely off from VoIP development now and can't take any responsibility wether pjsip is still working on iOS or swift.

Also there's Linphone for iPhone: http://www.linphone.org/eng/linphone/news/linphone-for-iphone.html
It supports G711, speex narrowband and wideband and iLBC codecs. Configured with your favourite SIP gateway it will allow you to run calls to PSTN numbers from your mobile using 3G or wifi

http://www.pjsip.org is not the most perfect.
Video is available on PJSIP version 2.0 and later. Only desktop platforms are supported, mobile devices such as iOS are not yet supported. This document describes how to use the video feature with PJSIP.

Follow this link it will give you perfect solution
http://www.xianwenchen.com/blog/2014/06/09/how-to-make-an-ios-voip-app-with-pjsip-part-1/

I use siphon, try this:
os-mac
ide-X

Related

What is the best way to demo a web app on my phone to a projector? (no simulator/emulator) [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
We are demoing our web app this week and will have access to a projector.
How can we connect to a projector to demo our web app?
we can't use a simulator/emulator
if the answer is adapters - are you sure adapters can output general iphone usage, and not just videos/audio
thanks
If you are using an iPhone there are libraries available that you can implement to give the effect of mirroring to allow you to use an adapter and projector.
The following library is what I plan on using, though have not implemented quite yet(If its possible, I will do so by the end of the week as this is what was recommended to me). Of course you will need to include the rest of the files, the one I have linked is merely the .m.
http://code.google.com/p/iphoneos-screen-mirroring/source/browse/trunk/UIApplication%2BScreenMirroring.m
It is worth noting that this is NOT supported by Apple as I believe it uses private Apple API's and as a result will not be approved for the app store. I would recommended branching of a version of your current project and implementing this to demo, so you still have a clean version of your app.
Edit for clarity: Only the iPad 2 supports native mirroring for what I believe is all apps through an adapter, the iPad 1, and all iPhones dont support mirroring by default through adapters for anything other than apps developed by Apple.
We do this at work to demo our apps we are working on. We have to use an iPad 2 and an Apple Digital AV Adapter
http://store.apple.com/uk/product/MC953ZM/A
Note the text on apples product page:
Mirroring supported only by iPad 2.
Video out supports up to 1080p for iPad 2 and up to 720p for iPad, iPhone 4 and iPod touch (4th generation). Movies play at up to 720p
We have a less refined approach to presenting our apps where I work. We do both Android and iOS devices, so we needed something more universal. We chose to use a digital presenter, and it seems to work well. However, I think if you can use an iPad 2 mentioned by #bandejapaisa, you will be better off.
As others have suggested, you can use an iPad 2 and mirror to your projector using a cable or if you have a developer account through wireless AirPlay mirroring, an AppleTV and iOS 5.
However, if you need to demo on a iPhone 4, you are out of luck, unless you are willing to jailbreak, there are several utilities that will allow you to do this (Ryan Petrich's DisplayOut for example)
If you are really desperate, you could create an iOS app to run your web app in that is essentially a UIWebView and then use a library like TVOutManager to mirror your app using a supported cable.

Write once deploy on Windows Mobile 6, Windows Phone 7, Android and iPhone? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Was just wondering if there were any cross platform development platforms which would run great for corporate type apps on various mobile devices.
Would be ideal if the language was C# but feel free to suggest others.
If you're happy to re-use business logic and write device specific user interfaces (more work, but better user experience on each device) you could consider the various Mono frameworks.
Writing the core business logic as a class library, then writing specific user interfaces using MonoTouch, MonoDroid and Windows using .NET Framework you'll have a cross platform application (albeit with individual UIs) in C#.
have you checked out Titanium at http://www.appcelerator.com
And then there is the PhoneGap at http://www.phonegap.com/
Worth noting that you'd be writing once for the PLATFORM, but being certain that your app works on the DEVICES is a different kettle of fish due to the variety of handset providers, their customized platform implementations and the hardware specific to the device.
Check out these related questions... otherwise know as duplicates....
Developing cross platform mobile application
Are there any huge differences between objective-c and Java, or iPhone and Android?
What work has been done on cross-platform mobile development?
Titanium Mobile is a popular choice these days.
I strongly doubt that you'll find a C# option* that's cross-platform since C# is tied to the Microsoft stack.
You could also just write a mobile-centric webapp with jQuery Mobile or similar.
*For mobile. For desktop, there's Mono (whose site appears to be down right now).
well if you've got a mac, your best bet would be to go for phonegap which supports a wide range of platforms,
if not, you could go for titanium
Although there are many platforms that provide you the facility to write once and run on multiple platform but from my point of view its not a great idea for simple reason of performance just think of below example
A C code is far faster than a java code because java provides you the virtual machine to run that code and java is far more easier to write than that of C. The idea is the more you stick close to native API the more you will get performance.
So considering the above example just think what will be the performance of such application that is supported on so many platforms
Note: I have not worked on any of such platforms so I might be wrong but this just a simple conception that fits to all
If you are used to working with Visual Studio, you can try Teleric's http://www.icenium.com/ . Icenium does not support Windows Mobile 6 though

Limitation on mobile cross platform development [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
Currently, I plan to port a Java desktop application, to the Android platform. Besides official Android SDK, I also take a look on, as it will be a plus, if it is able to run in iphone with minimal effort.
http://www.rhomobile.com/
http://www.phonegap.com/
appcelerator.com
Those cross platform frameworks seem nice. However, I was wondering, what are the limitation on those frameworks?
Will they still have the same look and feel as native Android application? (Or a native iPhone application)
Is there any difference in the speed and responsiveness of the application?
Are they able to provide same set of GUI components as in Android SDK? (Or iphone's)
Limitation access to I/O, network resource, hardware?
Ability to use threading?
From my experience (my background being native mobile app development), we get a lot more control with native apps vs framework based apps. That advantage has greatly reduced in android and iphone platforms, however there are a few other things to condsider:
If it is a one off app then you are
better off working with the
frameworks you mentioned, they
provide all the features you asked
about and for a beginner, are a bit
faster to develop.
If you are going to do multiple apps
then it makes sense to have a custom
framework for your needs. In this
case you can reuse parts of your
Java desktop app and absorb them
into your framework. You will
probably need to create iphone and
android/java versions.
If you create your own framework,
you can also incorporate other
software development best practices
like CI more easily when compared to
off the shelf frameworks.
The UI components are different for
Android and iphone and you are
better off having them different as
they have quite different
sensibilities and interaction. So it
may not be a good idea to aim for
one to one mapping.
Speed, performance etc are not an
issue, same for threads support.
Hope these points help in your decision making process.
This post will be immensely useful for you :)
Comparison between Corona, Phonegap, Titanium
As for threading - since both PhoneGap and Titanium (I cannot speak to RhoMobile) allow you to hook into native code from JavaScript (and the reverse) I see no reason why you cannot multi-thread an application using one of these technologies.

How promising is Flex/Flash as a development path for the iPhone/iPad? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 3 years ago.
Improve this question
[2015 update: I think it's safe to say that Flash is rapidly dying. Don't go there. Gotta say though, during its brief moment to shine, Flex was actually a really lovely datavis technique.]
I'm interested in developing for the iPad and iPhone, but I'd prefer not to learn Apple's whole development stack (and good golly, I sure don't want to go back to manual memory management). Oh, sure, I could learn it, but I don't have that level of commitment to the environment at this point. I've got professional experience with Flex already, so I'm intrigued by Adobe's move to make Flash/Flex compile to the iPhone and iPad. My question is: how promising of a development path will Adobe's Slider be? Are we likely to see Slider publicly available in a reasonable timeframe (Adobe: "An early mobile branch of the Flex framework is expected to be available in 2010")? Are we likely to see reasonable performance? Are there development hurdles that haven't become clear yet? Heck, is it all just vaporware? There's pretty limited information available so far, as far as I've seen, but I'm interested in people's predictions, even if they're speculative.
Hopefully you'll see some info on Slider soon that will give you a better sense of the timeframe. Flex 4 will be released soon and once that happens you should start to hear more concrete info about Slider.
One thing to keep in mind is that Slider will be based on the Flex 4 architecture. To give you an idea of how that performs you can check out James Ward's blog post - http://www.jamesward.com/2010/02/21/flex-performance-on-mobile-devices/ - he's got a couple of videos that show a Flex 4 list running on a Nexus One.
This isn't iPad/iPhone, and Flex is NOT something Adobe recommends for mobile, but this basic example works pretty well. And it should give you an idea of how Slider might look/behave.
=Ryan
ryan#adobe.com
Interestingly, Apple's new developer agreement calls into question whether apps built with Flash/Flex will be allowed:
3.3.1 — Applications may only use Documented APIs in the manner prescribed by Apple and must not use or call any private APIs. Applications must be originally written in Objective-C, C, C++, or JavaScript as executed by the iPhone OS WebKit engine, and only code written in C, C++, and Objective-C may compile and directly link against the Documented APIs (e.g., Applications that link to Documented APIs through an intermediary translation or compatibility layer or tool are prohibited).
Adobe's cross-compilation tech is not vaporware (for Flash, anyways-- haven't seen as much re: Flex). And they would be unlikely to invest so much in it if they thought it would get torpedoed on day one. That said, you must draw your own conclusions about your long-term reliance on it, and your interest in building on a non-native toolchain, both in terms of what you can get out of the environment, and the support channels you'll need to use (e.g. not Apple) when stuff doesn't work.
Some people seem to be successfully using Mono touch, which shares (some) similarities.
There are two issues with this:
Steve Jobs says he isn't going to support Flash on iPhone or iPad.
Adobe's next rev is going to allow you to develop in Flex and port to iPhone app format.
Do the math.
If you want to start iPhone, iPa or Mac OSX development, I'd suggest learning Objective-C. It'll probably take less time than waiting for (official) Flash support on those devices ...
Take it the other way around, would you use Objective-C to develop a Flash or a Flex app?
Flex can now compile iOS applications (and so run on the ipad and iphone)
http://gregsramblings.com/2011/06/20/finally-its-here-flex-on-ios-android-and-blackberry-playbook/
http://gregsramblings.com/2011/04/26/convincing-developers-that-adobe-flex-rocks-on-android-ios-and-playbook/

Access to iPhone music library [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
I'm planning to develop kind of DJ application which loads musics from music library.
And of course it'll sell in app store.
So question is, does it possible distribute in AppStore?
I found it was forbidden at least about 6 month ago...
But I hope it is possible now...
In iPhone OS 2.x you can't access the music transferred to the phone via iTunes. You only have access to the data created by your own application.
The forthcoming version 3.0 does have this capability. Release notes include this
iPod Library Access
Several new classes and protocols have
been added to the Media Player
framework (MediaPlayer.framework) to
allow access to the user’s audio
library. You can use these classes to
perform the following tasks:
Play audio items from the user’s library. This support lets you play
all audio types supported by the iPod
application.
Construct queues of audio items to play back.
Perform searches of the user’s audio library.
Access the user’s playlists (including smart, on-the-go, and
genius playlists).
For more information about the classes
of the Media Player framework, see
Media Player Framework Reference.
(sorry,links may only be working for registered Apple developers).
In version 3.0 of the iPhone SDK you now have access to the music library.
The SDK 3.0's Media Library Framework only allows you the most basic iPod controls over the music. You can't even output the .mp3 and work on it yourself (with OpenAL etc.).
So basically, its control can be only as capable as the iPod's, which is far too limited for any DJ applications.
Otherwise I would dream making the most amazing portable DJ device in the history of turntablism, ever. Hope we see that coming in SDK 3.1.
Just putting it out there:
If you want to use PrivateFrameworks and make an app for the hell of it, then there is a Private Framework called MusicLibrary.
To create a DJ application, won't you need the ability to load multiple songs at once then play over the top of each other?
As far as I know, the SDK only allows you to load 1 track at a time.