How to get notification when file is uploaded in server? - android

I am new to Android Studio and I am developing an application like College Management System.
Basically, in my app, there are two logins- one for faculty and one for students.If any faculty uploading any file to the server, then on student side on the same time they should get a notification.
Not sure where to start, so any suggestion about where to look would be really appreciated.
Thanks!

Use Firebase.
Specifically you'd need Cloud Messaging and maybe Authentication.
Both services are completely free and easy to set up (especially if you're developing using Android Studio, because it is integrated with Firebase and allows you to copy/paste code already configured for your FB account).
There's also a well made documentation.
And if your college wants something more the prices are really cheap.
P.S.
I'm no way affiliated with Firebase or Google.

Related

Using Firebase as backend

For the past few days, I've been trying to understand what exactly is Firebase. I am in need of some more 'beginner-friendly' answers on the subject. My intention is to create a backend for my Android project. For my previous project , I used a GoDaddy host , PHP, MySQL and it did work just fine.
I am in need of stuff like these :
Storing string data. Like user email , password , profile picture path , number of friends etc.. (in a single row)
Uploading and downloading files. Video , audio
Creating a real time chat messaging system inside the app.
I am currently reading Firebase guides on user authentication. For example there is a method for signing a new user with email and password , but what if I want to store more than just email and password? Is Firebase fully customizable? Is it easy to use , or is it designed for professional developers only?
Firebase is fully customisable yes.
If you want to store more than an email,password etc, you can do so my creating a well structured JSON first. You can then try and map this to firebase db.
Firebase is a good and stable backend as a service platform and it is used by plenty of professional apps. It is fairly easy to use. Follow their youtube channel for tutorials. They have very good tutorials and explanations about how things work. I am in the exact same boat as you, learning firebase.
You may also want to look at alternatives like pubnub and pusher for the requirement of yours. They work in a similar way.
Hope this clears some of your doubts

google cloud platform for saving my database of android app

I am a new Android app developer and I have a freelance android app project as task for me
the app idea is something like social networking app
I don't know from where to start .. after I did some research and found parse. com as backend server cloud but then I found that it is temporarily closed then I found google cloud platform as an alternative,
but I don't know how to start what to do
example I want first to create login screen how I can save login data to the server?
Is it right to create mysql database as usually then import them to the platform
really I need a help and don't know how to start
and this is my first freelance app project if I success in it I can be an employer to the company I
need some tutorial or reference or sample code to understand the idea.
Parse.com is going to shutdown it's services in next January, why don't you go for Backendless or App24 (Both have tutorial on their websites for android and other platforms). Both of them are free with complete backend data control without any required special server side still.

Online Storage Android App

I am to build an android app that needs a central cloud storage (along with some server coding). My app is somewhat in the footsteps of
https://play.google.com/store/apps/details?id=com.justyo
I mean i should be able to store a login and registration (possibly FB login in the future too). Then, i will also have to maintain and fetch users' 'friends' in the app along with a status (that can be changed any time by the friends).
I am not new with android dev. I also know ample amount of web development. However, i don't know the approach to this kind of an app that is to use some server side code and online db for android.
I have search a lot on the internet and have found a bunch of stuff, but i am just not getting the confidence as to which approach is what i need here.
Is there something pre-built and given by Google themselves?
Do i have to by a domain, deploy a hidden (UI-less) web service and access it through the android app?
is there a free option out there by google?
Is there a sample demonstration android app out there?
I don't need the code or anything. I am just confused; afraid of starting off in the wrong direction. Please answer so it is easy to understand.
Thank you in advance :)
There is the Google Cloud Platform, specifically App Engine. You can read the Docs here.
You dont't need to register a domain to use the platform. Yes, you will need to deploy a (not necessary UI-less) web service to the cloud, accessed from the Android client through endpoints. Additionally, the service is free up to certain limits.
Sample apps are available for deployment once you create a project from here.

What backend to use for a location based android app?

I'm planning to develop a location based Android app. The app needs to store location information such as currentLocation, location info of an address i.e latitude and longitude of each as well as other user info such as name, sex, age etc which i believe i can extract from a fb or g+ login. The app will also include a chat functionality which will allow its users to communicate.
I'm comfortable with Java, but haven't used PHP. But i don't mind spending time learning it if that is the best option in building a backend.
I was wondering if i could use the GAE for the same. I also came across parse.com which can be used as a backend. There may be other options too, which i may not have explored. I'm new to android app development. This will be my first app. Kindly suggest a backend which suits my needs the best. All kinds of inputs are welcomed!
I work at Backbeam. It is a backend-as-a-service and it has support for geolocated data and users authentication using Facebook, Google+, Twitter and more external services (additionally to email + password authentication).
Furthermore, we have plans to release an Open Source version this year.
If you need further information we will be glad to assist you :)
There isn't a right or wrong answer to this really.
For myself, I've been learning and using Python and MongoDB. There are so many web/cloud based hosting services that learning and using a free account for your development shouldn't be a problem no matter your language choice.
If you are writing the app in Java, maybe you want your cloud system to also be similar using JavaScript such as NodeJS.

Sync android database over multiple devices through Google or Facebook

i'm going to develop a sort of cloud based application. Since I develop for hobby, I don't want to pay a server.
I'm wondering if Google or Facebook allow user to sync sqlite OR json databases through their server. For example: I'd like to sync - after the Google+ app login - the data of my app, so that the same person, on his tablet, can use the data he produced on the smartphone. Can anyone point me out some documentation that explain me what services should I use and how? Thanks.
With every Google account comes Google Drive. That link leads to the documentation for their API, but you will want to use their libraries as I presume.
Basic understanding of OAuth workflow can be beneficial.

Categories

Resources