Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to implement "Send Feedback" feature in Android? [closed]

Tags:

android

enter image description hereI would like this to behave just like the "Send Feedback" behaves when you click on the Menu item in the Google+ Android app.

like image 491
oracleicom Avatar asked Jul 03 '12 23:07

oracleicom


People also ask

How do you send feedback on Android?

You can look for answers to questions or send feedback from your Android device. Go to Settings > Accessibility > TalkBack, then open the More options menu and select Help & feedback. Here you'll find a list of popular help articles and a link to send feedback.

What is Android Google feedback?

So I guess com. google. android. feedback is referring to app crash info sent by users.


Video Answer


1 Answers

I'm not exactly sure how this app behaves with the "Send Feedback". Could you explain it to me, so I do not have to download the app?

As I do not know what it looks like, I am just going to take a guess and supply you with one way of letting the user send feedback:

@Override public boolean onCreateOptionsMenu(Menu menu){     super.onCreateOptionsMenu(menu);     MenuInflater hardwaremenu = getMenuInflater();     hardwaremenu.inflate(R.menu.main_menu, menu);     return true; }  @Override public boolean onOptionsItemSelected(MenuItem item){     switch (item.getItemId()){     case R.id.sendEmail:         Intent Email = new Intent(Intent.ACTION_SEND);         Email.setType("text/email");         Email.putExtra(Intent.EXTRA_EMAIL, new String[] { "[email protected]" });         Email.putExtra(Intent.EXTRA_SUBJECT, "Feedback");         Email.putExtra(Intent.EXTRA_TEXT, "Dear ...," + "");         startActivity(Intent.createChooser(Email, "Send Feedback:"));         return true;     } } 

Either incorporate this into your existing menu or simply add this onto the bottom of the Activity that you would like to display the menu.

I hope this helps!

like image 118
edwoollard Avatar answered Oct 08 '22 09:10

edwoollard