I am trying to add video calling functionality into my android app using the Oovoo SDK but I've never done anything related to audio or video calling. I've read the developers guide but I still have a hard time understanding how the methods all fit together.
What would be the best way to approach this? Is there another SDK that has an more in-depth explanation for a beginner?
You can contact to ooVoo SDK support , they will help you for free.
Related
I am a new programmer, and I am learning JavaFX now. But I want to make Android apps too, and I searched for it online. I saw a few people was saying that we can create Android apps with JavaFX too. But there is no course or anything on how I can use JavaFX for Android app development. How can I create Android apps with JavaFX?
Thanks in Advance.
BTW I am using VS Code and have a JavaFX sdk installed. I did not found much results on the Internet. Please help me, I am a beginner, and I don't know how to do that.
In order to build JavaFX apps for Android (and also iOS) you need to use the tooling provided by Gluon. Extensive documentation can be found here: https://docs.gluonhq.com/
There are also some tutorials, e.g., this one https://foojay.io/today/creating-mobile-apps-with-javafx---part-1/
First of all I'm a newbie in VoIP implementation. I need to implement VoIP single and group call in android application. Could you tell me, what is actually the best way to achieve this ? I'm looking for Android SIP library (probably open source) which should:
has good documentation with simple app examples
be ready to use with java
Maybe just native android SIP api will be the best ? But I heard that it doesn't support group calls.
Most of the voip libraries use C/C++ implementation for various reasons. You can use PJSip which is a C voip/sip stack. It has a good documentation but you have to build it yourself using android ndk . It has good documentation and also contains processes to build it for Android and other platforms. But there is no java/android wrapping built in so you should do that yourself. Another option is Liblinphone which is also based on C stack but provides all of the wrapping and implementations out of the box so you don't have to bother so much on native codes. It also has a sample application which you can try yourself. One downside of Liblinphone is that it lacks proper documentation and you have to dig in more.
Regarding the android SIP api, I don't think it is a good option as it has much more limitation and hardly maintained. It is based on Jainsip stack which is a 100% java stack but is too verbose. I personally would like to recomment Liblinphone as I am currently implementing it and am pretty satisfied with it. Best of luck...
Update
Here is the source code of linphone for android if you are interested in it. You can get pretty much idea of Liblinphone for android from it. You have to dig much more into the sources though.
You can have a look at Restcomm Android SDK:
It's open source, with an active community around it
It using SIP for signaling and Webrtc for media so should work nicely with NATs, etc
Comes with 2 sample applications that you can play with and alter their code to experiment
Comes with quick start guide, reference doc
You can check the Olympus sample App right away by installing the .apk from this link
Notice that the SDK doesn't support group calling out of the box, but you could combine it with Restcomm-Connect open source platform to add such functionality very easily. Restcomm-Connect also comes with docker, so you should be able to install it right away.
Please let me know if you have any questions
Best regards,
Antonis
is there a point starting with java basisc or should I go for android-based examples and tutorials?
They are basically the same. But, I recommend going with android based examples since android has unique app cycle and app format.
Android SDK is build in and using Java.
They are for all intents and purposes the same.
However Android is coded using it's own specific library methods and syntax, hence it's a better idea to skip directly to Android. Knowing Java makes it easier but is not a necessity to code in Android.
You will require the JDK since it does need Java to run.
I don't really have or want to use the Java Media Framework (JMF) on Android but I am looking for detailed information about why it's not possible to use it. (I know that it's considered as outdated anyway and I am aware that there may be better ways to achieve certain things in Android using this for example: http://developer.android.com/guide/topics/media/index.html)
Nevertheless I need more information regarding JMF on Android but all I could find is, that "JMF isn't working on Android" - but I wonder why.
So I have two questions:
Do you know any kind of "official" statement, for example from Google or Oracle, saying that JMF isn't supported on Android? I wasn't able to find something like that.
Why is JMF supposed to be not working on Android? I am interested in the technical details and would be grateful for all kind of references.
Thank you!
EDIT:
To be a bit more specific and clarify my approach: I built a tiny test-app and tried to play an audiofile the same way as I have done in a standard java desktop application (which was working as expected). I included the JMF.jar (for now without any modification) compiled, deployed and started the app - no problems so far. The (first) exception (javax.media.NoPlayerException) is thrown when calling Manager.createPlayer().
That was actually the point where I stopped and wondered if it's worth digging deeper, although the result is kind of predictable. I decided to ask about the technical background first, instead of figuring it out the hard way in hours of testing and debugging (the reason is not a lack of interest but unfortunately a matter of time at the moment).
I am looking for detailed information about why it's not possible to use it
Because it was not included in the Android SDK. Lots of things from Java SE were not included in Android.
Do you know any kind of "official" statement, for example from Google or Oracle, saying that JMF isn't supported on Android?
I am not aware of such a statement. They also have not released a statement indicating why Android does not integrate with the Hubble Space Telescope, why it does not include shoe-shining APIs, etc. There are an infinite number of things that are not in Android; it would be impossible to list them all.
More generally, Google faces pressure to keep a lid on firmware size, as the bigger the firmware, the more expensive things get (required storage, OTA update costs, etc.). Hence, they only include a subset of the Java SE SDK as one way of helping reduce firmware bloat.
Why is JMF supposed to be not working on Android?
Because it was not included in the Android SDK. I have no idea if it is possible, let alone practical, to create a fork of JMF that offers a JMF-like API but uses Android media capabilities under the covers.
I've been looking around and haven't found an answer to the above question. Many forums say it cannot be done in most phones, but most of those entries date back to 2006-2007 or more. I'm hoping J2ME's gotten better in the past few years. :)
Its not possible with pure j2me.
I think if you are comfortable with Symbian OS [and your targeted OS iw symbian]level coding then try J2ME JNI.
yes.there is a way to access call logs in J2ME using J2ME API Bridge.But this interface will work on latest nokia phones.
for further details,please refer to the following link
http://www.developer.nokia.com/Community/Wiki/J2ME_API_Bridge_Interface
there is way now using Api bridge but it is supported for s60 3rd edition fp2 and later version
check this : http://wiki.forum.nokia.com/index.php/J2ME_API_Bridge_Interface#Logging_Service
I think its what you are looking for