Discussion on:

4
Comments

Join the conversation!

Follow via:
RSS
Email Alert
0 Votes
+ -
sweet
dr_oopie 20th Apr 2012
i had no idea this was possible!
0 Votes
+ -
I am attempting to implement this rather intriguing little idea but I have a few points/questions:
Do I have to implement a permission in the manifest to initiate the email? I guess so as I am getting an error saying no activity found to handle the intent; and
If anyone is implementing this into an existing application you many want to add the following to the end of your main.java file-
public void onBackPressed() {
Intent leaveIntent = new Intent(main.this, leaveapp.class);
startActivity(leaveIntent);
finish();
}
where leaveintent.java is the equivalent of William's "Main.java" code above.
0 Votes
+ -
update
johnaashmore 18th Nov
OK, the error is only in the emulator, it works on phones, so please ignore my query about implementing a permission in the manifest, this is not required.
0 Votes
+ -
I found no or very limited responses from users when using this method. It is good in theory but for apps that are designed for occasional short use it was useless. I put it in a couple of my apps on GooglePlay for a few months. Am removing in next upgrade.
Keyboard Shortcuts:
Prev
Next
Toggle
Join the conversation
Formatting +
BB Codes - Note: HTML is not supported in forums
  • [b] Bold [/b]
  • [i] Italic [/i]
  • [u] Underline [/u]
  • [s] Strikethrough [/s]
  • [q] "Quote" [/q]
  • [ol][*] 1. Ordered List [/ol]
  • [ul][*] · Unordered List [/ul]
  • [pre] Preformat [/pre]
  • [quote] "Blockquote" [/quote]

Join the TechRepublic Community and join the conversation! Signing-up is free and quick, Do it now, we want to hear your opinion.