Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android

Javique Ryan
PLUS
Javique Ryan
Courses Plus Student 2,405 Points

Android Development

Hello, I want to start developing android apps that use the internet, like more social apps like Snapchat and Instagram. And I would like to know how that works like the social internet part of it. Can anyone guide me or help me find the right way to learn this

4 Answers

Jonathan Grieve
MOD
Jonathan Grieve
Treehouse Moderator 91,252 Points

There's a course that was just released very recently that walks you through how to develop apps that connect to the internet. The connecting to social media side is another issue but it'll get you started!

Look for "Build a Weather App" in the library for Android Courses! :-)

Ken Alger
STAFF
Ken Alger
Treehouse Teacher

Javique;

I'm not sure I understand what you mean by how the "social internet" part of an app works. Can you elaborate on what you're trying to accomplish?

Thanks,
Ken

Javique Ryan
Javique Ryan
Courses Plus Student 2,405 Points

Ok, Like I wanted to develop a photo sharing app. I need the user to:

  1. Connect to the internet to use the app
  2. Sign up/ Log in and send their information to a database
  3. Add friends
  4. Take picture or get picture from camera roll and upload to their feed

I have been questioning myself since i started using social media, how does the developers do it? I once created a simple login screen with android studio in the past and I can login without the internet. How do i make it use the internet? do I need a Database? I really think my questions lead to, how to I display content in my app I want to create. Its been a long time question .

Ken Alger
Ken Alger
Treehouse Teacher

1) There are some permissions in the AndroidManifest.xml file that need to be set for an app to actually use the Internet. It is covered in the Build a Weather App course, and elsewhere, I believe.

2) User authentication and authorization will, to some extent, be dependent on the user information API/database you are connecting to.

3) There are several different ways this could be done, it would really depend on your app.

4) Using the camera has some special "magic" to it as well. Treehouse has a workshop on Using the Camera in Android that I would recommend having a look at.

There's a lot to think about when working with an app like this. Take it one step at a time as you're building it out. You got this!

Post back with further questions.

Javique Ryan
PLUS
Javique Ryan
Courses Plus Student 2,405 Points

I have already started the Build a Weather App course and it is very informative. But what I would like to know is, I want to create a social app; how do I get my users images to display in the app? do I create an API for doing so ?

Ken Alger
Ken Alger
Treehouse Teacher

That would be one possibility. I would look into a service like Firebase to help with some of the data storage/access possibilities.