android inapp purchase lib not found in eclipse - java

I am trying out to implement in-app purchase in my android app for the first time. After lots of research I found a tutorial for it.
https://developer.amazon.com/sdk/in-app-purchasing/documentation/environment-setup.html#Prerequisites
However, as mentioned in the tutorial, the in-app-purchasing lib is located in /In-App-Purchasing/lib , which I am unable to find. There is no In-app-purchasing folder in my sdk path. Do I have to download this lib file and add to my folder? Please guide. Also suggest if there is a better tutorial for in-app purchase implementation.

You can follow The Amazon Mobile App SDK Eclipse Plugin the described link. And follow steps for setting Amazon Mobile App SDK with Android SDK eclipse.

Related

How can I get the newest version of google play services on an AVD?

I'm trying to develop an Android app that has a native Google Maps control. Seems simple enough, but unfortunately I've run into a lot of trouble setting it up.
I have very carefully followed the instructions here multiple times with no success. Every time I try to load up my app, I get the message <my app> won't run without Google Play services, which are not supported by your device. I have confirmed in the settings that I do in fact have Google Play services on the device.
I have tried to uninstall and reinstall downloaded google services apk's, but abd does not allow me to uninstall it with the error DELETE_FAILED_INTERNAL_ERROR, I assume it is because I don't have root access.
You need to update your SDK and install the latest Google Play Services library under "Extras" section. The AVD can be launched using "android" binary under your SDK tools folder.
So I found the answer to my own question. I made a dumb mistake...
In my manifest, I entered my api key where it says API_KEY: android:name="com.google.android.geo.API_KEY but it should just be API_KEY. Changing this, and using Google Play services 9 instead of 10 fixed it.

How to Integrate Facebook sdk for android development on Eclipse

I am relatively new to Eclipse IDE and want to build facebook login option in my android app. I looked up developers.facebook documentation but can't find one for Eclipse IDE (they have it for Android Studio). So i want to know if it is possible? (if yes then how could it be done?)

android google play libs using too much CPU usage

I am trying to develop an apps with google maps features, so I followed a few tutorials and I realized that making this apps requires the project to use google play service libs library.
But I have problem with the CPU usage when trying to run the project on my AVD which cause the eclipse won't even run the project and keeps loading and I had to force close my Eclipse.
My task manager
So I tried to pinpoint the problem by making new blank android project and try to run the project as I follow the tutorial step by step.
And I found out that as soon as I add the google play libs to my project, I can't run the project anymore because of the CPU usage problem.
My library used
I have downloaded the latest verison of the google play service (rev 27) from my SDK manager.
Can anyone please help me? thanks a lot..
Problem solved when I stopped using Eclipse and started using Android Studio

How to target Android 4.1 Jelly Bean in Eclipse

I am new to Android development, I just got Eclipse for the first time a few days ago.
I've made a simple app in Eclipse which I've got running through the emulator, but it's pointed at Android 4.3.
In Eclipse I've gone to Window -> Android Virtual Device Manager -> Edit, but the only "Target" in the list is Android 4.3 - API Level 18. I am using Nexus 4 as the device to emulate.
I've Googled (and Stackoverflow'd!) around for this to no avail. I haven't seen any articles which clearly outline what needs to be done to get Android 4.1 to appear in that list, and if there are any steps afterwards that I need to follow.
Do I need to download anything; is it just a configuration thing?
Any advice would be much appreciated. Thanks.
You need to install the SDK packages for the versions you want to target. Open the Android SDK Manager from Window->Android SDK Manager, then check the box for the latest Android 4.1 (API level 16).
I think you have installed Android 4.3 image only.
Try to install other SDKs using android SDK Manager.
Go to ur direcotry where you have placed your android sdk and run sdk manager
You will get whole list of supported API's
Just go ahead and download the required one
Install SDK's and Plugin's if you haven't installed.. Go through the links I mentioned, you will have an actual idea.
Hope this helps.. :)
If want to configure in eclipse then you've to update the latest version in your SDK manager.You can also use android ADT-Bundle.it support all API level.You can download from the developer site.

Where is "Google APIs" for Android 1.6?

I am going through the video tutorial at O'Reilly video training course "Developing Android Applications with Java" by Tony Hillerson. He mentioned that I must build my app against the "Google APIs" rather than the standard Android 1.6 API to use the Google Maps API for my app. I need this in order to import "com.google.android.maps.MapActivity" in my application class.
Problem is: I can't find this "Google APIs" anywhere under the latest Android SDK manager.
Where can I find this "Google APIs" for Android 1.6? Please assist.
Use SDK 2.1-update minimum. Personally, I use 2.2 most of the time, but 2.1-update will support pretty much every phone out there.
You should be able to install it from the ADT plugin from inside Eclipse or externally from SDK Manager

Categories