├── list_arrangement.xml ├── README.md ├── activity_main.xml ├── CloudBackup.java └── MainActivity.java /list_arrangement.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 9 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Uploading-SQLite-Database-to-Google-Drive-in-Android 2 | I made a Simple project with a MainActivity.java page using ListView which contains Image and Text Data displayed from SQLite Database. A Button to Upload the SQLite Database to Google Drive. 3 | This is a very Simple project which will help you to get knowledge about Uploading a Database file or any other file to Google Drive from your Android Application 4 | 5 | Steps to Build this Application: 6 | 1) Create a new app in android studio. 7 | 2) Register and "enable" "Google Drive Api" and Google Drive SDK. 8 | 3) Create Java files- MainActivity.java and CloudBackup.java. 9 | 4)Create xml files - activity_main.xml, list_arrangement.xml. 10 | 5) Follow Gradle Libraries or put the code from the build.gradle file. 11 | 6) put all the codes and build Gradle. 12 | 7) Install the app, it will show no data available, then close it and start again, it will show Data is available. 13 | 8) Now Press on The button below the List to create Backup. 14 | 9) Login to your Drive.google.com and check. 15 | 10) You will see your SQLite data base is stored/Uploaded to Google Drive. 16 | -------------------------------------------------------------------------------- /activity_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 17 | 27 | 35 | 36 | 42 | 43 |