Broken Package links for ksoap2 .jars? - java

I'm currently trying to build a little application on android that is using a webspace but the problem ist that if I want to download a ksoap2 package (e.g. ksoap2 with all dependencies 2.5.2 from here) the filesize is 21.6KB after downloading. But the table says 141KB.
This is resulting into printing out errors when I try to import it as an external library (not compatible to Dalvik) which is un derstandable because the archive is corrupt/broke.
Can someone give me a link where can download a proper .jar-archive?
(2nd question: how do I use the javadocs? do I have to set them into the path if I click on the external libraries dialog->ksoap2...->javadoc ?)
thanks in advance

I've uploaded the latest Ksoap2 Version. It can only be downloaded 10 times.
http://rapidshare.com/files/434471358/ksoap2-android-assembly-2.5.2-jar-with-dependencies.jar
But I see, you've alredy fixed it. ;)

Related

Cannot resolve com.parse.ParseQueryAdapter

My current setup :
OS : windows 7
IDE : Android Studio (with updated SDKs)
Parse jar (v 1.10)
I am trying out an example for ParseQueryAdapter, and I run into this error on my IDE : import com.parse.ParseQueryAdapter; -> cannot resolve symbol ParseQueryAdapter
I want to try something similar to this example, and the import does not seem to go through because of the error.
If you need anymore information, please leave comments & I will respond.
PS : I am able to add com.parse.ParseObject without errors.
In your libs folder you'll find Parse-1.4.1.jar file.
Right click or control+click on it then 'Add as Library...'
Edit: Parse-1.10 does not have ParseQueryAdapter. You have to use Parse-1.4.1, which is included in that example.
ParseQueryAdapter was removed from the official Parse SDK and moved onto the Parse-UI libraries..
You can install them on via this link: https://github.com/ParsePlatform/ParseUI-Android
If we include 1.4.1, and keep 1.10.1 as well, it gives error because we cannot keep the same jar with two versions in the libs folder. And I think its not advisable to use just 1.4.1. I feel that ParseQueryAdapter is deprecated and we would just have to use the normal adapters. Any comments?

How to set up twitter4j appropriately?

I'm new using the library twitter4j and I've some doubts about it. First of all I have some doubts importing the jar from twitter4j, I've reading many websites and I think that in order to make a java application that just shows the timeline of an user on twitter, I just need to import to netbeans the jar twitter4j-core-4.0.3.jar or do I need the other lib's? If that was the case is there any way to import the full .zip that I downlaoded from twitter4j just to use all the libraries?
Secondly I've trying to configure appropriately the file twitter4j.properties with oAuth identification as I says here http://twitter4j.org/en/configuration.html
but I don't understand where I should place the file that I've created (using a .txt and renaming it as twitter4j.properties, where does means root of the classpath directory? I mean in the case of netbeans would it be name project >source packeges > application > twitter4j.properties ? . Moreover will these information will be available to read for other users?
Excuse me for my ignorance, but I'm really noob building app's.
Thank you in advance.
The twitter4j-core jar should be all you need for retrieving a timeline and interacting with most of the API.
I am not familiar with Netbeans but if you can place twitter4j.properties under the 'default package' then that may work. Twitter4j is using getResouceAsStream to load the file:
Configuration.class.getResourceAsStream("/" + "twitter4j.properties")
(See here for the full source).
Finally, if you haven't already seen them, take a look at the timeline examples provided by Twitter4J. (All the examples are executable, check out the bin directory.)
I hope that helps.

Dropbox setup/authentication issue on Android

I am following all the instructions followed on the getting started Dropbox page but, I get a red mark on AndroidAuthSession, and AppKeyPair and, when i try to import them using:
import com.dropbox.client2.android.AndroidAuthSession;
import com.dropbox.client2.session.AppKeyPair;
I get a "symbol not found" on AndroidAuthSession and Session.
I have imported all the library files: Libs/dropbox-sync-sdk-android.jar and, placed the appropriate .so files: app/src/main/jniLibs/*
which were found in the sdk file download from their site. Could someone help resolve this?
Dropbox provides two different Android SDKs with different capabilities and different classes. The code you have is for the Android Core SDK:
https://www.dropbox.com/developers/core/sdks/android
However, the files you mention, dropbox-sync-sdk-android.jar and the .so files, are from the Sync SDK:
https://www.dropbox.com/developers/sync/sdks/android
If you did mean to use the Core SDK, install that instead, from the first link above. Or, if you did mean to use the Sync SDK, the tutorial is here:
https://www.dropbox.com/developers/sync/start/android

Require jar for Oracle XML XDK

I am trying to compare two XML files in Java. I also found the code here
https://docs.oracle.com/database/121/ADXDK/adx_j_diff.htm#ADXDK198
But I could not find the jar file for oracle.xml.diff.DiffOp and oracle.xml.diff.DiffOpReceiver.
Oracle XML Developer's Kit for Java is included with Oracle database. These is no external link for these libraries to download. Look at this Installing XDK. This link will show you where is the jar for XDK located in Oracle Database see Installing Oracle XDK for Java Components.
I found Maven Dependency for Oracle-xdb& Oracle-xsql. Also these is one link which contains oracle.xml.differ.Diff - Jars. I am not sure about the jar given in oracle.xml.differ.Diff - Jars are from which version of Oracle. But, you can checkout them too.
I hope this helps you.
Maybe this is a tricky work around but if this is useful to someone, well just my two cents.
Search for oracle.xml.differ.Diff in findjar.com, then you get the
jar name: xml.jar and xmlcomp.jar
Search for "xmlcomp.jar index of" in google,
then you will get a public route in somepage with the publicated non
restricted jar ready to download.
I got this xml.jar and this xmlcomp.jar, and even this xmlcomp2.jar under oracle/product/11.2 folder. Maybe the link will die over the time, but you can always get the jar doing step 2.
Info for people like me, who are only checking for the Jar:
First of all, please tell that, this is a commercial licence product. That's the reason, we are unable to found the XML.jar in internet. Even in documentation also, they are always mentioning it is under the lib folder. But, you can't get the lib folder directly accessible on internet.

eclipse can not locate my foregroundcameraplugin.xml file

so im making this cordova / phonegap application.
I found out that The default Phonegap (Cordova) Camera Plugin calls the native camera and this makes Android Garbage Collector to kill background applications.
so I found a plugin that fixes this :
https://code.google.com/p/foreground-camera-plugin/
now I followed the steps as these guys told. and I'm having the following problems that I cant resolve and need help on.
There was a problem with the cameraActivity.java it did not recognize thegenerated file R.java
then I used an import statement to make it have access to this file
import statement : import java.android.R;
after this eclipse doesnt recognize the foregroundcameraplugin.xml.
besides this my my styles.xml files in values-v11 and values-v14 directories are giving an error
"Error retrieving parent for item; no reources found that match the given name #android: Theme.Holo.Light.DarkActionBar "
this is how my forground camera plugin looks like :
If anyone knows how too fix this please let me know
thank you
I was able to reply the error with the new Eclipse Kepler and found the solution: upgrade your ADT to version 22 and install Android SDK Build-tools by SDK manager. I have also commited a new classpath file for ForegroundCameraPlugin project with some changes (included Android Private Libraries). Thanks to your contact and the help of this link: Eclipse giving error, missing R.java file after recent update

Categories