I want to modify say MediaRecorder class for example. And I want to show at full source code of it.
Where can I get source code of standard classes?
See http://source.android.com/
Here [at the link above] you can find the information and source code you need to build an Android-compatible device.
Android is an open-source software stack for mobile devices, and a corresponding open-source project led by Google. We created Android in response to our own experiences launching mobile apps. We wanted to make sure that there was no central point of failure, so that no industry player can restrict or control the innovations of any other. That's why we created Android, and made its source code open.
Easy looking at code without downloading full Android source code
Related
I have android WebRTC Android demo app code running with https://apprtc.appspot.com/ server.
But what i want to archive is, I want to replace the server https://apprtc.appspot.com/ with my own server, i want to also modify/remove the part of the code where it communicants with the server as my server communicates differently.
I want to keep the WebRTC related API calls as it is, and only replace the part of the source code which is communicating with the https://apprtc.appspot.com/ server.
So basically i want to know, what are the WebRTC APIs that i must call for allowing AV calls using my server, I have STUN/TURN and registration servers.
I just want to reuse the core WebRTC functionality only and write app on top of it.
Can someone please guide me on this!
Thanks in advance.
you can achive android webrtc app by two ways.. both are working perfectly..
1.
Follow this example, i have tried it and work success fully.
Only need to make one change is the link provided in this example for gclient config command is older one. Follow your link gclient config http://webrtc.googlecode.com/svn/trunk
Also make sure that you have oracle jdk-6, other version creates issues while following the steps to get the native code.
2 .
You can use Frozen mountain library, which provides you variety of apis for developing webrtc app..
Hope this will help you..
check here
I have also created 1 demo project where I set my turn and stun server. There is a site http://sipml5.org which provide good detailing example.
You can download their code and set your own configuration or you can take reference in your application. Created demo project link is http://telzy.webuildapps.co, reference taken from http://sipml5.org/call.htm .
Hope this will help you.
I need to customize the android source code to add another secondary display for the device (this is the requirement). Hence i need to integrate the secondary display's drivers into the android stack and also add some libraries to the android stack using which the secondary display can be controlled. The driver code is readily available, so i only need to integrate it with the android stack. As i have never worked with android source code i hardly have any idea about how to proceed. Also there is no tutorial available for any kind of guidance for the same.
So far with the help of this site I'm able to setup the environment using the instructions given here: http://source.android.com/source/downloading.html
I should perform the integration on jelly Bean, so have downloaded JB source code.
Now proceeding towards integration of the drivers i have no idea how to proceed. Please provide some tutorials or useful links to do so.
Thanks in advance.
I am writing a custom Android application that allows the user to make VOIP calls using SIP. When the user presses a button, a voice call is initiated with another SIP user. That's it. The only other requirements are that it has to work on 2.3+ Android devices and must not be limited to wifi only.
Android already includes a SIP stack (as of 2.3) and I was able to modify the Walkie-Talkie sample project to work exactly how I wanted it to. Unfortunately I was not able to use this app with certain devices (Casio Commando being one of them), and worse, the application only works over wifi (as I mentioned, unacceptable for my project).
I started searching for another SIP stack with an easy to use API and came across CSimpleSip. I compiled it and ran their demo project (SipHome) and it worked perfectly on my unsupported phones (including the Commando) and it also worked over wifi, satisfying my requirements. I was so excited... until I looked at the source code for CSipSimple. I have no idea how to begin extracting out the actual calls to the underlying pjsip API, nor was I able to get the pjsip demo application working after 10+ hours.
Has anyone deconstructed CSipSimple and separated out the SIP parts from their incredibly complicated UI, or does anyone know of a simpler to use SIP library? With the native SIP API I was able to make a 200 line Android activity that made the call perfectly... how can I accomplish this with a third party SIP stack that supports non-wifi?
Thanks for any input, I know quite a few people have gotten stuck at this same stage.
Instead of going for the more complicated CSipSimple, you should maybe attack the most basic apjsua, which runs the same pjsip stack, so it should hopefully fit your requirements too: http://trac.pjsip.org/repos/wiki/Getting-Started/Android.
I totally agree with Balint, apjsua is the app which helps you for a better understanding, however it may be not obvious to start with it when you're not familiar with C (like I was) but it's much more efficient this way.
You can take a look to www.pjsip.org, take just care about the package you'll download because the tutorial isn't so clear: for instance they talk you a lot about apjsua (the android implementation of pjsua) and this app is not included in the download link they provide, you can see my question here about that:
where's apjsua?
And of course you'll have to watch the tutorial for android in the pjsip website.
Hope this helps.
Use csipsimple as a library project.There is a api in csipsimple project for using it as library.You can bind to csipsimple service and make calls.
Register broadcastrecievers and intent filters for get call back from csipsimple. Analyse Incall activity in csipsimple for more details.
I'm quite the beginner to programming in general (and esp. Java!), so I'm having trouble figuring out how to interact with the unofficial Android API library, shown here:
http://code.google.com/p/android-market-api/
One of the snippets of example code say "see AppsResponse class definition for more info". However, how am I supposed to do this? There are two .jars provided, one of which corresponds to the Android Market API. Upon extraction with WinRAR (I'm on Windows, by the way), I go in a few folders deep and find a bunch of .class files. How do I open this to read, and figure out how to interact with the API? Thanks!
You can just look at it from the source?
http://code.google.com/p/android-market-api/source/browse/trunk/AndroidMarketApi/src/com/gc/android/market/api/model/Market.java
alright so I've searched for quite sometime on this and I can't seem to find just the kind of answer that answers my questions...so here goes nothing! And mind you, I'm new to android dev soooo I may have stupid questions that some of you may get irritated at, but we all have to learn some how right?
I'm trying to develop an application that will allow users to scan in a QR code and then display the information that is encoded into it in a nice organized way.
It seems like ZXing doesn't like the idea of integrating their code with other applications e.g. you have to use their application from the market and point to it via intents... well if I do it this way, can I decode the contents so that I can have access to the content and do as I want with it?
What would I have to include in my project from the ZXing folder that I downloaded to make it all work? And would I have to build all of the objects with in that folder in order to use them in my project?
Any help would be greatly appreciated. Thanks!
I have decided to go other routes.
The "Android way" is to do everything via intents.. However, zxing is a special case. You can follow the intent route, or you can (as it's apache licensed), download the source code and adapt as necessary. We did that for the game Barcode Beasties ( mandatory self promoting download link here : https://market.android.com/details?id=com.fawepark.android.barcodebeasties ) and that meant we could also brand the scan page as well.
If you want use the software integrated, then just download the source and either compile it as a library or just include it in your source folder as another folder.