Android API Examples


Android API Examples and Tutorials.

Top Android API Examples

Let's look at some examples.

This is an Android tutorial to show how to programmatically publish a photo to your Facebook timeline.

In this tutorial we make use of a small beautiful library called simple-fb.

Our Android Project Summary

Here's our project summary:

No. File Major Responsibility
1. build.gradle We add our simple-fb dependency here.
2. MyConfiguration.java To contain our Facebook API authentication details.
3. LogIn.java To log us in to our Facebook account.
4. PhotoPublisher.java To publish our photo an album in our account.
5. MainActivity.java Provide UI that allows us to achieve the above
6. activity_main.xml To define our MainActivity layout
7. content_main.xml Allow us add our widgets to our MainActivity
8. AndroidManifest.xml We need to add internet permission here.

This is an android tutorial to login to your Facebook account and show a Toast message when succesfully logged in.

Obviously you can then later enhance it and do something interesting.

We use simple-fb library as a wrapper around Facebook SDK APIs.

Best Regards, Oclemy.

How do You Feel after reading this?

According to scientists, we humans have 8 primary innate emotions: joy, acceptance, fear, surprise, sadness, disgust, anger, and anticipation. Feel free to tell us how you feel about this article using these emotes or via the comment section. This feedback helps us gauge our progress.

Help me Grow.

I set myself some growth ambitions I desire to achieve by this year's end regarding this website and my youtube channel. Am halfway. Help me reach them by:




Recommendations


What do You Think


Previous Post Next Post