On 01/05/2011 02:01 PM, TreKing wrote:
On Wed, Jan 5, 2011 at 3:57 PM, Tobiah <[email protected]
<mailto:[email protected]>> wrote:
Do I need to tell Eclipse to do that?
You do.
I couldn't figure out how.
Like this: http://lmgtfy.com/?q=add+jar+to+eclipse&l=1
<http://lmgtfy.com/?q=add+jar+to+eclipse&l=1>
Love the sarcasm.
Ok, the .jar file was already in the lib directory at the project root.
Unzipping it, I see things like:
com/biggu/barcodescanner/client/android/CaptureActivityHandler.class
com/biggu/barcodescanner/client/android/CaptureActivity$1.class
com/biggu/barcodescanner/client/android/CaptureActivity$BeepListener.class
com/biggu/barcodescanner/client/android/CaptureActivity$Source.class
com/biggu/barcodescanner/client/android/CaptureActivity.class
etc...
I hit did a refresh on the project, but it still won't run. Under the
problems tab, I still see:
The import com.biggu cannot be resolved.
I'm guessing that this means that the .jar file is still not
being searched. The offending line looks like this:
import com.biggu.barcodescanner.client.android.Intents;
The class Intents does exist in the .jar file under that path.
Thanks!
Tobiah
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en