How do I download a Google Gode Java project? - android

I see a project here at Google Open Source, but I don't see a download link. How do I download the code?
https://android.googlesource.com/platform/frameworks/testing/+/aecdc4a41f1f2f3e76e05d6549df75359f8397c3/uiautomator/utils/uiautomatorviewer/
I tried from their GitHub page, but I didn't find it there:
https://github.com/google?utf8=%E2%9C%93&q=&type=&language=

The tgz format can be extracted using WinZip for tgz. Thanks Adam and Veneet.

Related

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.

Where's apjsua?

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

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.

How can I download Android source code

I cannnot vist this site:android.git.kernel.org,where else can I get Android source code?
Thanks
There's a mirror over # github.
https://github.com/android/
If you only want the source on hand for reference there are two very useful Eclipse plugins which complement the SDK and keep Android source up-to-date and correspondent to the target version of your project:
http://adt-addons.googlecode.com/svn/trunk/source/com.android.ide.eclipse.source.update
http://adt-addons.googlecode.com/svn/trunk/binedit/com.android.ide.eclipse.binedit.update
Downloading the source code for linux/mac is easy using the Google's instructions on http://source.android.com/
But, using Windows I did this by using Ubuntu live CD, and downloading all the source code using the linux instructions.
There are some commands you need to use for the code to be downloaded to your main hardrive. I wrote a blog post about it here: http://udinic.wordpress.com/2011/11/18/the-source-for-all-goodness/
The official github mirror seems to be at aosp-mirror now
More info about structure: here

Categories

Resources