I've developed a couple other apps that did nothing more than preference management, some custom lists, and LAN communications but that's about it. I'm building a employee attendance app that allows the employee to register when they clock in, lunch out, lunch in, and clock out, all via the app. Once all four have been entered, I want it to send it via a Google Form to a Google spreadsheet that I can then use to calculate there hours and have a long on all of their information.
How would I go about integrating submitting a Google Form Response programmatically in Android?
Thanks in advance, -John
A Google Form is just a fancy UI for having users submit responses which get stored as a Google spreadsheet. That's it - there's nothing special about it. To accomplish this on Android you just need to setup your UI with the appropriate widgets to capture responses. Then save that data to a Google spreadsheet.
To work with the Google Spreadsheet API you can check out this guide from Google.
Related
Is it possible to use text-based queries and responses in Assistant SDK in Android/iOS app?
Could responses be parsed as a text?
Is it possible to use certain Google account/user context while using Assistant SDK? Guess it could be useful for Assistant to know who exactly asks the questions. So it going to looks like a user asks Assistant, but actually the app does it.
Thanks.
1,2. Yes part of the API includes text input and text responses
3. Users must authenticate, so you will have a refresh token
3. You can register custom device actions in order trigger custom grammars that you've set.
Good Morning
I am in the process of developing an Android application for a client, that stores his data in a Google Drive Spreadsheet.
My question is, for pulling the data from the spreadsheet to the Android application, would I need to use the Google Sheets API. I will be pulling certain column data to populate text box controls and passing them back to the spreadsheet.
What would be the most efficient way to do this and id there any tutorials that anyone can point me to, so I can get a feel for accomplishing such a task.
A couple of other things I thought of, if at all possible was storing the data in the local data storage and passing that data to the spreadsheet if that is possible.
Any help or information would be helpful.
A few options to consider:
You can publish the sheet to the web and pull the feed dynamically (https://developers.google.com/gdata/samples/spreadsheet_sample)
You can access the sheet programmatically (without an OAuth callback) if you register your app and generate client credentials in your Google console (https://developers.google.com/accounts/docs/OAuth2#serviceaccount)
We're developing an app which locates a person in our college campus via wifi localisation. However, from a privacy point of view, we want that a user can only see the locations of those who are added in their friend list. We can't use the FB friend lists the users might not want to share their location with everyone on their FB friend list.
So, we need the following functionalities:
Authenticate user
Send friend request to others using the app
Display locations and profiles of only friends on app startup
Obviously, the backend will fetch the friend lists and the supporting data and we have a backend server already setup which is collecting the WiFi data. Something like Elgg looked interesting but I don't know how to integrate it into Android. Something like what Whatsapp is using. XMPP?
If you want to integrate with Elgg, have a look at it's web services API: http://docs.elgg.org/wiki/Web_Services
You can use existing plugins to implement part of the logic on the backend side: https://github.com/Tachyon/Elgg-Web-Services
For more detailed support, seek help at Elgg community discussion forums
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.
I want users to send textual feedback to myself(the developer) directly(without involving Google Play).
Hence, I can get the suggestions to improve my app directly to myself, instead of users writing negative reviews on Google Play.
I do not own a website nor have access to any server.
I do not want to use ACTION_SEND, as that opens an email app.
I'm an android beginner and this is my first app.
Maybe that data can be stored in a database(on cloud, common to all users) that I can access at any time I want?
After researching, I think GCM is supposed to be used, but I no idea how to go about it.
Please tell me the easiest way to implement this.
Thank You.
That is not what exactly what GCM is for. GCM is primarily for sending data from the cloud to the the devices.
You are correct in thinking that one option is to store the data in a database in the cloud. You could use http://pythonanywhere.com free account and build a web app that provides you endpoints which will save and retrieve data to a SQLite db pretty easily (if you have knowledge of python and server side web concepts).
Another perhaps simpler option is to use a pre-existing cloud database solution http://www.parse.com is a cloud backend that also has a free-to-use option that you can use to store arbitrary data. It is pretty easy to get up and running if you follow their many nice Android tutorials.
One last option I will present is to use a Google Spreadsheet with a Form associated to it. Once you create a form if you know the right url and parameters you can send a post request to insert arbitrary data into your spreadsheet. I've created a library that simplifies the process of uploading. GoogleFormUploader. If you need help getting your form set up you can watch the relevant portion of my video tutorial covering this topic