• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Novice question re: SDKs and APIs

swankgd

Lurker
Okay, I've got Ecliipse, the Android SDK, and ADT installed and working. I've even managed to bang out a serviceable first app and am getting the hang of basic Android development.

Now I'd like to create an app that uses a web game's API that is described as "JSON(P) over HTTP in RPC style".

I've downloaded their provided SDK...and that's where I'm stuck scratching my head. I'm really quite new to development, so I know this is a bone headed question...but what the hell do I do with this SDK? Do I somehow add it as a resource to an Android project? Do I import it into Eclipse itself somehow?

Once I get past that hurdle, there's enough documentation of the SDK itself for me to get started on my own, I just don't really know how to use the tools to get started.

Thanks for any assistance.
 
You should get the compiled .jar file of the SDK and then you can import it to your project:
1. Right click you project and choose Properties
2. Then choose Java Build Path
3. Click on Libraries tab and click on Add External JARs... button
4. Add the compiled .jar file and click ok.
 
You should get the compiled .jar file of the SDK and then you can import it to your project:
1. Right click you project and choose Properties
2. Then choose Java Build Path
3. Click on Libraries tab and click on Add External JARs... button
4. Add the compiled .jar file and click ok.

I agree that it is odd to find an SDK that does not come pre-compiled.

If you truly cannot find a pre-compiled version, you basically have two options:

1) Compile the source yourself, creating a non-executable JAR file.

2) add the source files directly to your project and utilize the proper import statements.

#1 is the better approach and the one that I recommend.

With that said, I would look for a pre-compiled version before trying to work with the source directly.
 
Wow yes there right it would be better to do that but hey that is how I learned so far from what you have said it sounds like your digging those heals in which is good to see. Hope you can get it all figured out.
 
I searched the site, definitely no complied jar.

What I've done is created an Android project in eclipse, and added the source files to the project and package. So far so good.
 
Back
Top Bottom