Permalink
Browse files

source comments

  • Loading branch information...
1 parent 2ba4191 commit 0b9c4b7826badbded0a16d1ee192422e2d979d73 @supercurio supercurio committed Dec 4, 2011
Showing with 14 additions and 3 deletions.
  1. +14 −3 src/org/projectvoodoo/simplecarrieriqdetector/Main.java
@@ -29,9 +29,7 @@
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
- /*
- * Display version in app title.
- */
+ // Display version in app title.
try {
setTitle(getTitle() + " "
+ getPackageManager().getPackageInfo(getPackageName(), 0).versionName);
@@ -46,6 +44,10 @@ public void onCreate(Bundle savedInstanceState) {
}
+ /*
+ * Listen for send button clicks
+ */
+
android.view.View.OnClickListener sendClickListener = new android.view.View.OnClickListener() {
@Override
@@ -54,6 +56,11 @@ public void onClick(View v) {
}
};
+ /*
+ * Ask if the user wants or not to CC dev when sending a report, then
+ * trigger it!
+ */
+
private void askUserForReportCC() {
ccDev = true;
@@ -146,6 +153,10 @@ else if (detect.getFound().get(DetectTest.RUNNING_PROCESSES).size() > 0)
}
+ /*
+ * Async detection task and UI formatting
+ */
+
private class DetectorTask extends AsyncTask<Void, Integer, Integer> {
@Override

0 comments on commit 0b9c4b7

Please sign in to comment.