Skip to content

pavelsust/Feedback

Repository files navigation

Feedback

App FeedBack , User can easily gives us feedback through google form. This libray collect data from google form.Developer can download data or can give feedback answer through mail. Also can download .cvs file

Add this dependency in your build.gradle:

allprojects {
	repositories {
		maven { url 'https://jitpack.io' }
		}
	}
dependencies {
    compile 'com.github.paveltech:Feedback:1.0.1'
}

Configuration : Now have to configure java code.

You can use it as a normal activity or a Fragment

For Activity

Intent intent = new Intent(YourActivity.this , Feedback.class);
      
       startActivity(intent);

For Fragment

   FeedBackFragment feedbackFragment = new FeedBackFragment();
        

Demo Previews

How to Use

  • Download/Clone this demo app

  • Create a google form with the questions as follows

    • Feedback
    • Name
    • Email


    • Now click on the "eye" button in your Google Form


When the form preview opens, right click and select ‘view page source’. You can now see the HTML for the page. Use your browser search function (CMD+F) and search for “<form”

(1), this will get you to the html for your form. The action of the form is the url we will be posting to (2). You then need to look for the tags that have an id starting with entry. each one of these is the ID for one of your spreadsheet columns (3/4). This screenshot shows the finding of the second ID



From this we have:


  • Now Import the demo app in Android Studio
  • Head over to app/java/com/sadiqrazasyed/spreadsheetinput/"SpreadsheetWebService"
  • Paste your URL ID, and Entry ID's


  • Now run the app & write your feedback, name, email and click on send button
  • Your data will be sent to Google form's response section which can be viewed in Spreadhseet

Libraries Used In This App


  • Happy coding ;)

#Inspired By : https://github.com/sadiqrazasyed/SpreadsheetInput_Feedback_Tut