Upvotes logic model (Parse) - android

Good afternoon,
I am creating a social app with posts. I would like to add an upvotes system to filter posts and retrieve your upvoted posts.
I took a look at Parse's AnyPic tutorial but I do not quite understand its system.
What would be the best way to manage upvotes in an app with Parse (what Parse classes and relations) ?
Thank you.

Related

Store website data in android device(SQLite,Realm or else)?

I am creating an android application, which i have load URL in to webView.
What exactly i want
I want to store website data which entered by users and store it in to Database.
The answer to this is it depends on your requirements. All have their benefits and trade offs around speed of different operations and simplicity.
I suggest you do some reading before making a choice. An article like this one will be a good start.
https://notes.devlabs.bg/realm-objectbox-or-room-which-one-is-for-you-3a552234fd6e
Personally I've been using Realm for over 2 years and it is fast for stuff like querying, however there are some technical caveats so make sure you read the documentation before you commit to it. I'm saying this because I didn't read it all, and although I don't regret using Realm, there is certainly some things that would have been useful to know before committing to it.
If Realm does interest you take a look at this documentation.
https://realm.io/docs/java/latest/

Developing an Android app with monthly subscription

I want to develop an app which I stream basic text information about sports. First of all I believe I need a server which my users connect to see my stream as soon as something new is published. But I don't have an idea about how to build something like that. I did some search on web to find lessons or answers but I wasn't able to find anything useful. If it's true that I need a server, is Java language good to code server's program? Because I only know a little bit of Java.
And I want my app to have a monthly fee. I'm completely new to programming but I guess I need a database to keep track of my user information. Do I have to build my own user membership system - which people register with their e-mails etc- for all this? Is it hard to do that? And again I don't have any source of information about this one too.
I'm lost at this point. I don't know what to search to get some answers. So I'm asking you guys. What do I need to build an app with monthly fee that streams live information? I'm not expecting a full answer here but at least I believe you guys can tell me where to look for answers. Thanks.
While I agree the question is very vague and open (we could write a thesis on the topic in question and everyone will have their own way to complete) my suggestion would be to research the following:
Java - read as much as you can about the language and ensure that you are happy with (or know where you can get access to good helpers) the syntax (you mention that you know a little about Java so that is a good start).
Android programming in general. Look up the Activity lifecycle (The Android documentation is good, read as much as you can, follow the examples and try out the tutorials! https://developer.android.com/training/basics/activity-lifecycle/index.html)
Read up on Firebase; this should make the server side a little simpler (although I have only a parsing knowledge (i.e., none) of Firebase, it looks like it will be a good start). Again walk through the examples / tutorials; do the Hello World and then pull it apart to see if you can figure out how it is holding together.
Then when you have questions (which you will, we all do!) come back and I know that you will get some great help!
Once you have a few applications under your belt (personal 'play' apps) then and only then would I consider looking at the Google Play API (https://developers.google.com/android-publisher/).
Hope this gets you on the starting grid at least! Good luck!
Gav

How to make a generic AsyncTask?

I am new to Android and I am currently working on a project that requires a lot of Http requests on a web API.
I have been searching for good practices about refactoring AsyncTask subclasses, so I don't have to write a lot of similar code into each Activity class.
Do you have any tips/advices or even an example of how you proceed ?
Thank you.
I think what you are talking about is already answered here In this answer it has a same topic's discussion, Although i also know some blogs that can help you to make it more conceptually clear read them,
Links:
https://trinitytuts.com/reusable-asynctasks-class-in-android/
http://cyriltata.blogspot.in/2013/10/android-re-using-asynctask-class-across.html

Retrieving and Sending Objects using Parse Server

I am using the Parse Server back-end with android studio and have read its developer guide; however, I'm still not totally getting it, specifically with retrieving objects. If someone could help clearing or provide a link to a good tutorial it would be great.(I learn the best through examples). I have searched YouTube and most tutorials aren't very good or only cover minimal topics on using parse. Thank you.
you can find an excellent android developer guide in here:
http://parseplatform.github.io/docs/android/guide/
During the past years i read a lot of docs from other vendor and Parse have the best docs that i ever see. There docs contain explanations with a lot of code snippets .

open source Todo (list-type) app - that is synchronized across devices?

I'm attempting to find an open source list app that is synchronized across devices for android. What I mean is that if person A and person B have a shared list, that when person B ticks something off, person A's list also updates.
I am looking for an open source app so that I can learn how something like this can be done through an example. However I would also be happy with a tutorial that covers the list creation and synchronization...
I know that this question may annoy some people, but I decided to post it because a solid example/tutorial would really help me to avoid posting 50 questions a day to this forum.
Thanks
Use the meteor todo (google it)app along with cordova. It will have the same server and thus will be synchronized. I believe it is what you require, check it out
PS: Dude are you really stack agnostic? Btw meteor is awesome, so it would be a cool choice
this question is really inappropriate but I will try to help you.
First of all, look at this tutorial to learn how to use Parse.com to save and retrieve data from server.
https://guides.codepath.com/android/Building-Data-driven-Apps-with-Parse
Now, check this tutorial to learn how to list data with RecyclerView:
https://developer.android.com/training/material/lists-cards.html
Hope that helps.

Categories

Resources