Where's apjsua? - android

I'm'trying to use the pjsip lib for android, after reading some sites talking about the topic I still wondering how to use it.
Many examples suggest to start it building the apjsua folder in the downloaded package but I cannot find it in /pjproject-2.1.0/pjsip-apps/src/
I have all the other sources put not apjsua, does this folder have another name since the new version?
Thanks for your reply.

PJSIP has not yet released there Android version, it is only for testing purposes.
You can find the PJSIP projest for android in branches. Here is the link : ​http://svn.pjsip.org/repos/pjproject/branches/projects/android/
So I would suggest you to download the whole pjproject.
You can find the apjsua in pjproject/branches/projects/android/pjsip-apps/src/apjsua

In some versions its name is apjsua and in other versions its pjsua.
Checkout code from below link:
​
http://svn.pjsip.org/repos/pjproject/trunk
After checkout and building it with given commands on PJSIP getting started page, you will find it in following path:
PJSIP_DIR/pjsip_apps/src/pjsua/android/
For confirmation, you can check it by browsing code on following link:
http://trac.pjsip.org/repos/browser

Related

Add Google Licensing Validation (LVL) Check in an Application made with Appcelerator

I've been trying to attach the Google Licensing Validation Check (https://developer.android.com/google/play/licensing/setting-up.html) to my application made with Appcelerator. I found a GIT repository (https://github.com/eric-sofisoftwarellc/TiLicensing) that was supposed to contain a module that would do the job, but there is no .ZIP file in there, so the instructions are either incomplete or unclear.
I have tried to add the source files into the "modules" folder of my application, but it displays this error:
ti:/module.js:280: Uncaught Error: Requested module not found: com.sofisoftwarellc.licensechecker.
I also found this question (How to add Google Play license into an android application created with Appcelerator?), that redirected me to the same repository in the end.
Does someone have the .zip file that is specified in the instructions of the GIT repository or has someone ever made it work? I've tried building the module with Appcelerator Studio, but it did not work.
Could someone please help me? Thanks in advance.
If you want to use it in a Titanum SDK 6+ project you have to recompile the module because it was created 2 years ago. But that won't work that easily because it is using some legacy classes (org.apache.http) so you have to change the module in order to get it to work, sorry.

com.android.internal.telephony error

I have been learning "Sim Toolkit" in android. I had imported the sample project from this link.
But this file needs another import of "com.android.internal.telephony.cat". i couldn't find any jar files or libraries. When i tried to import code of packages from this link
Im not able to done it. Help me to fix this friends.
Thanks in advance.
You can't.
It's a hidden library and not part of Android public SDK.
In future, go to this link and search for Android Java packages, method names, etc. If the result returned is not what you searched for, then it's not part of the Android public SDK available to developers.
Or, you can just download the Android source codes via the Android SDK Manager and manually search for what you want.

How to use generateX509V3Certificate?

Currently, I have made the project about google-tv.
So, I had found the sample source in google developer web site.
I found it and then I did clone the source files with git.
The source files name were anymotelibrary, BlackjackRemoteActivity and Blackjack google TV.
but didn't work.
SSLUtil.generateX509V3Certificate in anymotelibrary had error that java.lang.NoClassDefFoundError: com.google.polo.ssl.SslUtil.
Why it didn't work? It is just reference code.
please reply my question.
Thank you.

StackView Widget Sample source code

Please provide StackView Widget example source code . http://developer.android.com/resources/samples/StackWidget/index.html redirects to samples link http://developer.android.com/tools/samples/index.html.
The Sample link suggests that the example can be found under "/samples/android-/" folder. But i didn't found any sample under these folders from api level 11 to 16 in my windows 7 PC.
In the App widget section there are frequent references to this sample project but sadly i couldn't find the source. Please help me out.
I found a compressed tgz of the whole branch here:
https://android.googlesource.com/platform/development/+/master/samples/StackWidget
7-zip should be able to unpack tgz
I was missing a few developer demos too, but I finally found them in the SDK (updated to API17) docs subfolder:
\android-sdk\docs\resources\samples\StackWidget
So, actually, you had it all along!!
Update (08/22/13):
On Januari 27tht 2013 The folder mentioned above DID exist, however, after updating to Android 4.2 and 4.3 with ADT 22.05 the folder ...\samples\... has been removed from the SDK and is no longer available.
Fortunately I still have both an untouched version and an eclipse project available. Get in touch if you would like a copy...
its over here if you are still looking for it
http://docs.huihoo.com/android/3.0/resources/samples/StackWidget/
Check Vogella's Github here:
https://github.com/vogellacompany/android-examples/tree/master/com.vogella.android.stackview.activity
You can clone or download from here:
https://github.com/vogellacompany/android-examples.git
You can find stack widget demo under "com.example.android.stackwidget" directory

How to View Android API Code

I would like to see the source code for the API in the android platform. For example see what is under android.widget.ImageView.Class. However I get source code not found in eclipse.
You can find ImageView source code here:
http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/2.2_r1.1/android/widget/ImageView.java
The project source code is not going to visible in eclipse unless you've got your self a copy of the source. It is not included in the SDK by default.
Here is link for Android source and another link for repository. You need to attach source code for your project to see the source in eclipse.
Source code for all API packages(including their classes and methods) can be found at Android API packages Source code
Main domain/website is: android.googlesource.com
In the first hyperlink, among all the packages mentioned at developer.android.com/reference/packages.html, you will only find source code for those packages that start with name android.

Categories

Resources