I'm looking for some sample code to reference of a slideshow built in android. I was looking at these and they seem perfect but they only offer the .apk to download. I want to be able to download and see all of the file so i can learn from them. Can anyone help me find similar code or be able to read these?
http://code.google.com/p/android-slideshow/
http://code.google.com/p/android-slideshow-widget/
In the Google code link of your question: check the tab labelled 'Source' and use subversion to get code out the the repository.
Peter,
The source is provided: http://code.google.com/p/android-slideshow/source/browse/#svn%2Ftrunk
Alternatively, you can checkout a copy of the software using subversion. follow the instructions here: http://code.google.com/p/android-slideshow/source/checkout
go to checkout tag, path is given over there , copy that path and run it in your linux terminal.it will download the code for you.
Related
Background:
I have a plugin which should give out links to helpfiles of other, currently installed, eclipse plugins.
At first I thought that I include those html files in my plugin, but I couldn't open them unless I copy them into the current workspace of the user. Since this is not an option, the most elegant way would be to use the eclipse-built-in help system.
So I need to access the eclipse help system programmatically to include the files into my code.
Does anyone know a workaround for this?
Edit: I guess I missed a central point: I generate an HTML-File, in which the links to the help system should be embedded.
When I open the helpfile to a given plugin, there is a link like this at the bottom:
http://127.0.0.1:11925/help/topic/plugin/help/html/maintopic.html?cp=5_1_2
The problem is: I can't access this document but I would need to.
From the Eclipse Platform API Specification, implement the IWorkbenchHelpSystem interface and call the displayHelp() method without an argument to programmatically open the Help window, or call the displayHelp() method with the context ID string as the single argument to programmatically open context-sensitive help for a specific context ID. Read the API for further information.
I'm trying to make a control flow graph with the soot API from an Android APK. I have read a lot but i feel a little bit helpless how to start from scratch. I'm using a nighty build of soot (downloaded here: https://ssebuild.cased.de/nightly/soot/lib/) because I read that version 2.5.0 is outdated. I found a lot with google, for example:
https://mailman.cs.mcgill.ca/pipermail/soot-list/2014-September/007303.html
First I need to load the Android APK file. On the link it's done with:
SetupApplication app = new SetupApplication(...)
But thats already the first problem, there is no SetupApplication in the nightly build soot.jar.
I did it with the command line, like here:
http://www.abartel.net/dexpler/
that worked almost, but building the control flow graph is only the first step. After that I have to manipulate the graphs and use it as an input for some other framework. So command line is no option for me. I would prefer to do it with Java!
Can someone help a soot newbie?
For getting call graph through Soot, try the Soot lib located at https://github.com/secure-software-engineering/soot-infoflow-android instead.
Then import soot.jimple.infoflow.android.SetupApplication in your Java source code.
Everything should be fine.
I downloaded java docs or what i think was java docs from oracle. But i'm not really sure how to summon all that drama without going online or using eclipse.
By the way, I use jedit. (Yeah, baby. Hurts so good). I'm a student, and i need to limit my distractions and going online is my enemy right now. Any help would help. Thanks.
Use your webbrowser and open up the index.html page that's probably in the root directory of the docs.
Download Javadoc in HTML Help format for offline use. For Windows users only.
http://www.allimant.org/javadoc/
I installed JavaME and EclipseME, and I'm trying to make a Hello World to my Nokia5530. But the imports are not working.
This page says that I need a "Device" file, but I don't know where to find it.. any idea?
Since it appears no on else is helping with this, I will start an answer, and put in my last comment into here.
OK, you need to install the Nokia SDK and then import it, as explained here, though your phone may not be series 60, you will need to d/l and then import the appropriate nokia sdk version: http://wiki.forum.nokia.com/index.php/Installing_Java_ME_development_tools_for_S60#Configuring_EclipseME
I haven't tried the suggestions here as I primarily develop on Windows at the moment, but the idea of using wine to install the SDK, and then move the files to an appropriate place on Linux sounds like a reasonable suggestion. I don't know if the suggestion below of compiling it yourself would be useful, but, there were some suggestions in the link below that may help you solve this particular problem.
http://www.wirelessforums.org/alt-cellular-nokia/nokia-sdk-linux-8895.html
a friend of mine uses SCILAB for doing his mathematicall "homework" for his studies and he told me, that it should be possible to use Java source code diretly in SCILAB.
The background is that I presented my current Java project and I would like to plot this in 3D, but I haven't done graphical output so far. And he proposed to let SCILAB do the 3D plotting, because there are some ready to use plot scemes implented. But he couldn't tell me how to achive this, so that's why I'm here :).
So my first question is, if this is possible to directly use Java source code in SCILAB or at least to some kind of connection between both?
And how this is done! :)
Thank you in advance,
Andreas
in Netbeans first create a java project.
then go to properties of the project you have created and go to libraries..
in libraries "add jar"
now go to the scilab installed directory
scilab-->modules-->javasci-->jar
in that there will be jar file names javasci.jar
add this to library..
and you are done.
now go to your main file and check out import javasci.*;
and in main function
Scilab.exec("plot2d(1,3)");
you can see a scilab window
at least I found this http://www.scilab.org/product/man/compile_and_run_javasci.html
so it is possible, but I have some problems to get this to work in netbens and eclipse.
has anyone done this before?