Rating algorithm for android/mysql - android

Im a dummy in android development and currently creating an android application and trying to implement a rating system, allowing a user to submit a review and be rated by other users. I would like to know how the whole process is going to be like and what algorithm will be needed.
A guidance will be greatly apperciated and thanks in advance.

If you are open to other websites that creates rating systems I am sure there are tons that you can find online

This example shows a voting algorithm for Google App Engine (a possible server platform for your Android app).

Related

Will a QR-code in an Android Automotive app be approved?

We are currently developing an app for cars with Android Automotive.
There is a desire to include a QR-code in the application, so that the user can (while the car is not moving) scan the QR-code and be directed to the website to fill in a form via their phone. The developer guidelines does not say anything about QR-codes in the application. However, the section about visual design and user interaction includes guidelines regarding images, but they are somewhat difficult to interpret. Also, it is unsure whether they apply to the use of a QR-code. The question is whether a QR-code in an android app for cars will be approved.
I tried sending the question to Google support, but their answer was "Unfortunately I'm not able to comment on your planned implementation. If you think your app is in compliance, please submit your app for another review. You may want to review the Developer Program Policies for additional policy guidance", which I found quite annoying, since we want to know whether the use of a QR-code will be approved before we spend time on the implementation.
We have documentation and guidelines, but are unable to find the answer.
Thank you in advance for help :)
Spotify and ABRP already use QR codes in AAOS

How to implement recommendation system in an android application?

So, I have developed an android application based on a Youtube tutorial and now I was planning on implementing a recommendation system. It's a food delivery application that I developed and I wanted to know how can I integrate a recommendation system into the app so that people can get suggestion on food items. I used Firebase to store and retrieve data but I am not sure how I can use recommendation system so that it can retrieve data from firebase and suggest customers on what to choose? I am beginner in developing and writing algorithms. Any help would really be appreciated!
Thanks
Hy Cries,
I had implemented recommendation system in my final year project.
The thing is first of all you should go through some of the patent papers which are published on your kind of recommendation system that you want to implement(Eg.YouTube).
As in you app you should do recommendation for new user as "Popularity recommendation" (type of rec.)and for old user "User-User recommendation".
User - User is the simplest one but for other type for recommendation you have to integrate python code which will run on jdoodle server and return result in form of string and use it as your output.
Feel free to ask anything related to this!
I hope you got something from this.

Android Social Game implementation - Data storage and sharing

So, I'm reading this android game programming book, which is great, and I was wondering about how to implement the database of a social game.
Let me take a dummy example that fits the example purpose: there is a group of people playing a game, where everyday there is a question (generated by the app), and the first user to answer it wins.
So, basic questions: when someone answer the question, how the others players will know?
I imagine that when the winner answer the question, this would be stored in a database (the cloud?) and when the others users log into the game, the app would connect to the clound, synchronize all users update and display a message saying that there is a winner already for that question.
Is that in anyway correct? I have a fair/medium experience in developing in Android, but never worked much with storage/internet connection.
There is any specific API to deal with this task?
P.S. I'm aware of SharedPreferences, but I'm quite sure that's not I'm looking for. My main question is how to share data over the internet/users using and Android app.
Thanks
Android provide Game Services for this.
I this APIs https://developers.google.com/games/services/android/realtimeMultiplayer are what you are looking for
Otherwise you may think to develop your own server logic for instance via Google App Engine

Please give me a 'kick-start' to build an app to log into a web site

Never built an app before.
Downloaded & installed SDK & Eclipse.
For my 'learning experience' I would like to build an app for my Galaxy S II (4.0.4) that will take me to a web site and then log me in, eg: my Gmail Account or my Voip.ms Account
Can someone point me to a tutorial or suggest how I should start such an app?
Is this too complicated to begin with?
Personally, I think this is way too complicated to start as a learner. You may end up spending a lot more time in debugging some code which does not work because of some silly stuff rather than "learning" how to code Android.
I started with a simple app that has few screens, stores some info in local SQLite DB and sends some across to an remote SQL Server over internet. I managed to complete this in 2 weeks and got quite a good hold on Android basics. Now I am working on a much complex app and am not getting stuck in fundamental issues.
Developer.android.com offers some good app examples and tutorials and is the first go-to location when you want to see how to do something Android-related.
As for what you want to do, it will really depend on the website. Going to the website in question, searching for a developer section is the way to go.
There they will explain which API they offer to devs. OAuth + REST are widely adopted but there is no universal solution, it really depends on the website.
A final note : embedding a webpage in an Android app is a very bad idea from an user-experience perspective, Using an API to offer a native app will always result in a better experience.

Updating Android Content via web?

I'm developing an app for a company that will include profiles of some clients. The company wants the clients to be able to update information on their profile from the company's website through a secure log-in. I want to do this in a way that the content could be updated without the application users needing to update the .APK.
I'm relatively new to Android development and I'm not quite sure how to do this. Would love the simplest way of doing this. If simple isn't the best way to go about it, I'm open to other suggestions.
Thank you.
The website should have a webservice backend.
Your Android app needs to implement the protocol for that
webservice.
See for example this link http://fahmirahman.wordpress.com/2011/04/21/connection-between-php-server-and-android-client-using-http-and-json/ for a tutorial or search for others.

Categories

Resources