What exactly are you trying to do here?

Do you just want an activity to call a method from another class you
have written or do you want to be able to import a library contained
in a .jar file?

Dori

On Mar 1, 5:24 am, Mitch <[email protected]> wrote:
> I'm using Eclipse.  I created a new Android Project with the wizard
> and I can start the application in the emulator.  I would like to
> create a class outside of the project (like it would be in a library)
> and call it.  I created another Android Project without an Activity
> name and created a class with a "public static" method.  All compiles,
> but it won't run.  It just crashes without any helpful information.
>
> Since there is no code inside my method, something else must be
> wrong.  I assume I don't understand something about how things link in
> Java/Android (C++ programmer here).  Can anyone explain or show me a
> tutorial on how to create a class in a library so I can call it from
> my project?  Should I be creating a Android Project or something
> else?
>
> Thanks,
>
> Mitch

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to