How to Integrate Facebook sdk for android development on Eclipse - java

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?)

Related

Programming for Android under Eclipse

I am using Java Eclipse IDE for programming Android application. Recently Google changed requirements for publishing new apk's: it must have targetSdkVersion>=31.
I tried to sign apk inside Eclipse with targetSdkVersion=31 - but now Android says .apk format is corrupted.
I undestand that this way of programming for Android is obsolete, but I really don't like Android Studio.
My question is for guys who may still programming for Android under Eclipse: is there are a way to sign .APK inside Eclipse with targetSdkVersion>31?
Thanks.

Can Android Studio apk run in apple phone?

I am trying to developing a simple app using JAVA for my school project. I am using android studio to develop my application, which I learned android studio in school. But i want to run my app in both android and apple phone. So here is my question, is it possible for my android studio app to run in apple phone, and if not, what should i do so that it can run in both android and apple phone?
You cannot use android apk into iOS.
I suggest you to go with some kind of Hybrid applications, like Flutter(Google's one), ReactNative(Facebook's one). In this you can develop applications and final build can install in both Android and iOS.
If you still need any help Flutter or React Native
You can but it's not that straightforward. You can use Android studio to make a Flutter project and then deploy it to iOS. But you need to learn Dart and Flutter's conceptions and whole developing processes, maybe it's not as easy as you imagined.
Android apk cannot run on ios because of different platforms,the best option is to use cross-platforms tools in mobile application development i recommend flutter
If you want to install Flutter project on iOS Device. You need to Open the default Xcode workspace in your project by running open ios/Runner.xcworkspace in a terminal window from your Flutter project directory in macOS.

Android: Android Studio vs. Eclipse [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
I want to make my first android application and i'm new to Android world, i have seen so many tutorials and videos about android development, some say Android Studio is better and some say Eclipse is the core that all android apps is built with.
I'm confused here, which one should i work on in my android development learning and first app ?
Note I already followed a tutorial that uses Eclipse so i know something about Eclipse, and i have no idea what Android Studio is like.
Thanks in advance.
Android Studio is now the official IDE according to the docs:
https://developer.android.com/tools/help/adt.html
In the long run you will probably get better support, official and community, for it.
Nothing more , nothing less
Android Studio is the official IDE for Android application development, based on IntelliJ IDEA.
Download Android Studio and give it a try. I promise you that you will not ever be programming Android apps in Eclipse.
Eclipse vs Android Studio
Google released Android Studio for android development and stop developing android plugin for eclipse. In this document developers will put their opinion about why we should use Eclipse/Android Studio. If Android Studio provide us better support for development, then we will switch to Android Studio after 2.1 release.
Why Android Studio:
Android Studio is now the official IDE for Android. [ ref. https://developer.android.com/sdk/installing/migrate.html ]
Projects are much easier to main.
Eclipse is OK when you are developing smaller applications, but when your application has 10 projects and 20 external libraries, that's when the fun begins – refresh project, clean project, restart Eclipse, and then all over again. But, in android studio all you need is press “sync” button, you never had to worry about adding jars after jars in your libs folder.
Oh! wait did I forgot to mention how you maintain different version of those jars in eclipse ?
Android studio use Gradle based build system. [ ref. http://gradle.org/ ]
NDK Support now available, and with gradle it’s much more easier now to compile, build, link your shared object files [.so] in your project.
Android Studio comes complete with support for JUnit unit and Android tests.
All the jetbrain keyboard shortcuts are available in android studio, and you can modify them according to your need.
[ref. https://www.jetbrains.com/idea/help/keyboard-shortcuts-and-mouse-reference.html ,
What are the most useful Intellij IDEA keyboard shortcuts? ]
I used both.You had better use android studio.It is definitely better than eclipse.
I started with Eclipse and moved onto Android Studio. In my opinion Android Studio is way better than Eclipse! Also Android Studio is activly being developed and with the gradel build system its super easy to use lib from maven central. I will suggest Studio will be the way to go.
Well personally i prefer the official Android IDE which is Android Studio off-course for those reasons:
It's made by jetBrains and Google (you know, the developer of android).
It's very intelligent, it's like you're working with a bot.
Google has full documentations and examples on how to use literally anything in Android Studio.
I don't know if you're still looking for reason number 4 by far :) .
Final Words Use Android Studio
Android Studio is often preferred for a number of reasons, many of which have been given here. However, the biggest reason is this:
It's not Eclipse.

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.

android using GoogleAPI with the standard platform

I apologize for the newbie question as I am a newbie in developing for the android devices (started developing 2 days ago).
I understand though, that to make use of google map's location services, when you create a project and eclipse prompts you for a SDK target, you should target the GoogleAPI instead of the Android 4.0.3 (or whatever there is).
If such, will I be able to make use of everything there is in Android 4.0.3 when I click GoogleAPI ? Or is it possible to make use of the google api even if I target the Android 4.0.3 SDK?
The google enhanced version (with maps) of the 4.0.3 SDK in the AVD creation wizard is a superset of Android 4.0.3. The Google version just has additional google libraries included. There is no other supported way to get access to these libraries from the emulator or inside your development environment.

Categories