[Q] Install Java SDK tar.gz package - General Questions and Answers

I have been trying to find out how to install the SDK on linux for several hours now, and I've found no documentation on installing the tar.gz package. If somebody would be so kind as to give me instructions, or link me to a post that has instructions, I'd be happy.

Never mind, it is in the synaptic package manager.

Related

How to extract Nb files

Hi all
I'm very new to Rom development, not sure if i can call this dev even. I found a few guides like
http://wiki.xda-developers.com/index.php?pagename=Hermes_HowtoExtractImgfs
and
http://wiki.xda-developers.com/index.php?pagename=RomTools/rdmsflsh.pl
problem is these guides are too old, i installed perl but i can't get the XdaDeveloper packages to install.
Is there any other way to extract Nb files?

Droid Explorer looking for SDK

I'm following the Pimp my Captivate guide. I down loaded Droid explorer but it won't completely setup cause it's looking for Android SDK installed.
I'm using Windows7 64 and when I attempt to install Android SDK it tells me it can't find Java support. Is there a certain place that's best to install Android SDK?
What's the best way to install SDK on Win7-64 ?
2 options:
1) download the SDK from google, and and follow the directions, likely unzipping to c:\androidsdk\
2) choose the little blue hyperlink at the bottom right corner when asked for the location, where droid explorer will download and set it up for you.

Problems with root directory when installing ADT plugin in eclipse.

I'm not sure i have the right directory and i'm a newbie. sry.
But ive gotten to eclipse and preferences then android, but when i browse i dont know where my root directory is..
Once i thought i had it once but i was told that i was missing certain files..
I'd really like some help..
EDIT program Files\Sun\JavaDB\javadoc\jdbc4\org\apache\derby- the directory that i think works-)
Also when i browse for the root directory i get this message:"Error Parsing the sdk-( program Files\Sun\JavaDB\javadoc\jdbc4\org\apache\derby\platforms is missing"
Then after i exit out of the notification i get this " SDK Platform Tools is missing! Please Use the SDK Manager to install it."
And then after that one i get this: Failed to get required ADT version number from the sdk. The android developer tool may not work properly.
To install the ADT tools plugin you need the link from the android site for the repository.. then you go to preferences in eclipse and set android to the android sdk location.
not sure, but i think thats what you were talking about.

[Q] Rar on android.

Hi:
I've recently started to develop my own comic reader. The problem I've come up with is cbr files, which are esentially rar files. Now I know there are comic readers out there (all of them, I think) that support cbr files. So there is a way of doing this, I just can't find how.
In the rarlabs official page (search google rar addons and it's the first page) there are several options. I would like to know if I download the commandline arm unrar how I could install it on Android (I have a motorola Xoom, it would be for Honeycomb), assuming that is correct.
If this is not an option is there a command line unrar application that I could call from my own? and How would the code be (to call an external application, that is)?
If the above is not possible, what is the way to get to unrar something in android?
The only real option I've seen would be to use junrar (hosted on github)
But it seems complicated and I'm not sure it works very well as I've seen a lot of conflicting reports.
Thanks for any help!
Try http://www.all-freeware.com/results/rar/for/android to unpack rar on Android.
Success,
Senax
Hi:
I'm not exactly sure what you wanted me to try. There is nothing in that page that would allow me to uncompress a rar file on android. Only a bunch of unrar utitilities and some android things but they are not related, that is, there is nothing that says unrar that also works on android.
thanks anyway.
Unrar
great app available here: androidzoom (dot) com/android_applications/tools/unrar_dhpu.html
Cheers,
Romuloxiii
Hi:
It's seems that I didn't make myself clear.
I want to develop an android application that needs to unrar files. Is there a way to call the unrar application from my own code?
If so, can you tell me how?
Otherwise, I appreciate the effort, but I can't use that.
Thank you very much!
You can bring the unrar binary along in the /asset of your app,
on first launch copy it to your apps /file directory, chmod +x it, and use exec("sh") to unrar the files from shell.
oh, I see. I think I get the the idea but I don't understand all the instructions.
What did you mean by importing thebinary on my asset?
If I do the step above why do I need to copy the binary on first launch?
Don't I need root privileges too chmod it? And how do I do it from my source code?
And finally where can I find the command line use of the application? Or is it the same as the Linux version?
I know there are a lot of questions, but please keep in mind that I'm very new at doing this.
Thanks for all the help!
You need to put it as asset to bring it along.
You need to copy it because asset files are not directly accessable.
You don't need root to chmod the file in your own directory.
You do it by using a shell from your code i.e. Process.exec("sh")
And finally you want to program the app not me,
so don't be lazy and invest some time.
Google google google google...
If there are still questions left after that, you may ask again .
Ok, I'll try it and get back to you!
Thanks!
Sorry for my lazyness, but I've been Googling for a good half hour without finding a simple 'unrar' binary executable compiled to run from terminal on rooted ARMx32 device. I don't want bloated GUI APK's or libraries for development implementation, but just the plain command line interface executable. Anyone, please? It's a pity they haven't baked it into Busybox as an applet, IMO.

java8 for android? the sollution might be here!

Im what you might call a trainee android developer working with java and i might have found a sollution for java8 on android. Well, here i go:
step 1. download jdk-8u66-linux-i586.tar.gz it should be under the linux category
step 2. Extract the tar.gz with the Rar app for android. or use a computer.
step 3. locate the extracted copy of the archive
step 4. go to:
jdk-8u66-linux-i586/jdk1.8.0_66/jre/lib/
step 5. there should be a file names rt.jar
rt.jar includes the entire directory for java8 and all class files. most likely an API
THINGS TO NOTE:
1. if you are developing code on a android and not a computer(like i am) you may see some class files twice in your IDE.
2. to my knowledge, i am not quite sure everything will work the same as if on a linux computer.
thank you for taking your time to read this.
sorry if i post this under wrong category, completely new to forums!

Categories

Resources