Updating RecyclerView by new set of data after publishing the app - java

I have a question that I would appreciate any on to answer.
my question is:
Is there any way to update some data like adding some videos, sales, values...etc in a recycle view after publishing the app in a google play without updating the app it self in the play store?
I actually don't have a clue on how to do this..
if there's any samples or websites on answering this question please share it with us.
thanks in advance

I can see a possibility but it's dirty, you can have one endpoint (/recycler), this endpoint can send you different type of data (movies, book and such), your application calls this endpoint and upon the result you parse it into one of your class that will populate your recyclerview.
I don't think you'll find any samples about it as it's not what people tends to do.

Well, if the data you want to update is writen in you code, I believe you can't update this without update the app itself.
It seems like you need a space on you app where you want to update it easily.
You should provide a backend to your app and consume the API to get all the info you need (with this, you will not need update the app itself on the store)
If you, like me, have no skills at backend development, give a chance to firebase:
https://firebase.google.com/
It will make easy to create a backend to your app. You'll need to update your app only once ( to make it work with firebase). After this, all you'll need to do is update you firebase, the app will get all new info from there

Related

Using webhook in flutter

I want to use webhooks in flutter. There is a website that I want to get live data from and listen to new events or data whenever they come, for example stocks live chart or like so. I searched almost everywhere and I looked here and also here but I did not find what I wanted. Can you provide an example (with code) of using webhook in flutter or show me how can I achieve what I want? I'm really confused about this and how can I use it for my application.
You can use github to implement web hooks...
Check this documentation for more information

How to automate login using Android Studio Java

About me
I am a quite a starter but I have worked with Android Studio before; creating simple data scraping apps and more. Bu I was bashed on here once for just asking for answers without trying, that is why I am giving much as effort to make clean as possible. I am not looking for just answers, I was hoping to learn something building this app. Sorry for my terrible English and also thanks in advance!
Infinite Campus
If you haven't heard of Infinite Campus, it is a grading website which students and teachers use. The website is generally great; it gives a lots of informations and it is clean. Besides the website, they also have an app. But the app is terrible. Reason is:
It is Slow: refreshing the data takes too much time.
Less information: for some reason it has less information; like GPA and more.
On Android it just looks terrible
And I decided to create my own app, and hoping to learn new things in the process.
My App
I want my personal App same as Infinite Campus App.
The app is fairly simple, it is only does two things:
Log in
Scrape Data and Display.
The site is: Here
Problem/Question
I do not know where to start.
Do you guys have any good tutorials?
What do I need to learn?
Is the site good for such a thing?
Yes, you can create an Application like that but first, you need to understand your requirements and what are the technologies you are going to use like.
1.) In your Campus App you want to enable the login functionality for that you must have some database where you can store the user information like email and password for this Firebase comes handy with Real-time Database.
2.) you want to store the student's score or test mark for this Again you need to design a database where you can store it so Real-time database from firebase again helps in easy to use integrate.
3.) Next process involves making the UI in android which can be referenced in java where you can implement your business logic.
Useful links you may want to get started
firebase login
realtime database
Using recyclerview for list type things
for displaying drawer menus

Implementation of a simple leaderboard for a libGDX game?

I want to create a simple leaderboard for a game I'm working on.
It should connect to a database and get the top 5 or so scores, as well as update the leaderboard when someone gets a new top 5 score. Any suggestions on the best way to implement this? I would use Google Play, but that has a registration fee and this is just for a school project. I'm thinking about using Firebase database to store the data, but I hear that libGDX and Firebase don't mix very well.
Any suggestions?
Thanks
Since it's a school project, you could just go with the Preferences and store it in there. This is local and easy to cheat but it does accomplish a "simple leaderboard" to give that finishing touch. Another way is to just write it to file and encrypt it for some added security.
Otherwise, if you have a website hosted somewhere, it will likely have a MYSQL server too. You can sent web/http requests to a php script and store and retrieve it from there in a mysql DB. I did this once and worded like a charm, without the hassle of hosting some random db somewhere.
Sugestion: Connect to Database, MAKE REST API CALLS using JSON AND USE RecyclerView use data from Database.
Cumps

How to use google cloud storage with ADT?

Total beginner here.... :(
I am using Eclipse with ADT and Google App Engine plug in.
I have built my "awesome" android app, but now I want to save some of the data the app produces onto a cloud service so I can share it between my users.
So I am trying to do this with google services. I have incorporated in my project both Cloud Storage API and Google Cloud Datastore API, both using the GDT plug in, but that's as far as I can get :((((
I know I am asking a lot, but I don't even know if it is a lot, it might be a few lines of code, at least that's what I think.
So now I need a way, through some Google API to connect to a database that "belongs" to me, and store 5 numbers there from each of my users, and share other user's numbers with each other...
Can someone take me by the hand and tell me what I need to import and what not...?
I have spend hours reading all documentation about these APIs I could find and I ended up going in circles :( either trying commands that cannot be resolved, like DataStoreService(), or simply not even finding where do I put my info to get to "my" database....
Thank you all.

Making an android app for a website

I'm trying to make an app for website that I DO NOT OWN OR HAVE ACCESS TO ITS DB.
The website is a forum community website and I wish make an app that can list the menu and the posts in a UI suited for mobile.
Also I am trying to see if I add real time notice function that will let the thread poster know when there is a new comment/post to his or her thread. (Website does not support this function)
Do you guys think I can achieve this through Jsoup or would I need other utilities too?
Also I am quite a beginner in java so the app cannot be too complicated.
Thanks.
It means that you want to write your own web browser! You need to call the Url get what it returns, parse it and show it... also you need to implement RSS to specific pages.. It means app need to call this url regularly and check if any changes or comments... Its do-able but wont really be efficient or bug-free... I wouldnt recommend it but as i sad do-able

Categories