Saving and retrieving data in google drive from android app - java

I want to make an android app where user will record a daily life events in the form of text, audio and video. I want to save the data to google drive of a particular user and retrieve the data when needed.

All you need is Google Drive Apis

Related

Simple image and audio upload being blocked firebase

I am making a music streaming app and I am able to retrieve data from the database to play a song and display the metadata but when I try to upload a song from my emulator it says I do not have permission. My rules are defined as public and I have connected my app to firebase. I even generated a SHA-1 key for the app and synced it to firebase but am stuck with the same error. Do I need to include authentication to remotely upload? Any help is appreciated
here are the rules for my firebase storage

How to add image storing feature using Firebase Cloud store?

I am building A notes app with firebase. Where users can login and save notes. I want to add a feature where you can store multiple images and users can check it in different devices just with logging in. Like Google notes. I am pretty sure I should firebase Cloud storage for this but cannot figure out a way to do it. Can someone guide me please
Register your app with the Firebase, either from the in-built firebase assistant present in Android Studio or from the firebase website.
For uploading an image, first you have to add the dependency to your app level build.gradle
implementation 'com.google.firebase:firebase-storage:$latest-version
In the activity, add the following to get the reference of the Firebase storage:
FirebaseStorage.getInstance()
Store the reference in an object of type FirebaseStorage.
Later wards on can upload image using the reference variable.
You can read the docs
here
Edit
For uploading multiple images, one can use an Array of URI.
ArrayList<Uri> imageListURI

Is there any way to save each user app data in android without authentication

Is there any way to save user app data in android without authentication. Actually, I am working on an Android app. In this app user purchase in app coins when the app is reinstalled or app data are cleared the user data is also deleted. I am using Firebase in this app but I want to save user's data without authentication.
Is there any way to do this

Pass Data from android in home to android in office via online

I have a problem, I build an application for android that can open a single led with the use of bluetooth module and it succesfully works, now my problem is what if I want to open my led in my home while im at my office. What will I do is I will left another android that can open the led in my office and I will make another android application that will pass a data in my database and that data will retrieve by my android in my office and will trigger to open the LED.. I need tips on how I will gonna do that.. thanks
What you can do is have a realtime database like Firebase Realtime Database to store your data you need to communicate. So when a data is changed or updated your Phones will have the fresh data in sync. and then you can trigger changes accordingly
For eg, if the device in your office, clicks (Turn On LED), it will update the Firebase database with a value like (true), on the other side the device at your home would read the value, and check if the value is (true), then run the code to turn on the LED

Update datastore in Google App Engine from the iPhone

I'm working on an app that communicates with Google App Engine to update and retrieve user information, but I can't think of a way to modify elements in the datastore.
For example, every user for my app is represented by a User object in the datastore. If this user inputs things like email, phone number, etc into fields inside the iPhone application, I want to be able to update those objects in the datastore. The datastore can be in Java or Python, I'm just looking for an idea that will work.
Thanks
Why not have the iPhone application communicate this information to app engine by making a simple HTTP request?
Specifically, I would do an HTTP POST to the server and include the relevant fields. Then your app engine request handler would simply store the information in the datastore.

Categories