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

What is parse and what is SQLite?

What is parse and what is SQLite?

When building the android apps I noticed one was built with Parse 'self destructing app' and one with SQLite, the one that teaches you how to upload images.

Does this mean that this course does not teach you how to upload images with parse and that SQLite will not work with parse? Can someone explain this to me? I am hoping to get at least one of my questions I put on this forum answered.

Also does this site teach you how to create and upload images from your phone onto your app and display it in a grid format?

5 Answers

I recommend doing the course as it will most likely answer your questions. It's on my to do list, but I'm currently busy on other projects atm :)

Here is a good read on data storage.

http://developer.android.com/guide/topics/data/data-storage.html

There are many ways to go about it. I recommend learning their method first, then move onto the stuff I mentioned to supplement what you learned from this site.

Parse Is a cloud storage platform. This will require internet connection to use since you are sending files to an external server. On the other hand, SQLite is a local storage/database system in android devices. You don't necessarily need an Internet connection to communicate to SQLite.

In simple terms, they are both databases, one located remotely parse, and one locally. SQLite. Hope this helps.

This site will teach you a good amount on the in's and out's of Android development. From there, if this course doesn't cover that, you should have the ability from what you learned to implement exactly what you want. You could go about it in a few ways

1.) Learn about it and experiment yourself through the knowledge you gained

http://developer.android.com/reference/android/widget/ImageView.html

2.) Use an external library (such as parse) that is used for images (Picasso)

http://square.github.io/picasso/

So using SQLite will not help in storing images on to parse? Is there a way to connect the two?

I should clarify. You can most likely learn how to use SQLite to store images on to parse, but that is only one way to do it. There are more effective ways of doing it, and there are ways that will take much longer to implement and most likely increase the complexity of your code. It's just about discovery of what you like and don't like. For example, I'm learning how to not use a database for storing images.

You can check out potential libraries to use at

https://android-arsenal.com/free

Though, I recommend going and learning what you can on this website before you dabble into other libraries.

OHHHH so I can learn the persistence course and learn how to upload images that way and then put that on to parse..but this is just one of MANY ways to do it?