Typical T-Mobile Service Interaction Needs Log Analysis

by Brian Milnes » Sun, 04 Jan 2009 07:44:27 GMT

Sponsored Links

 I have a new G1 and it's started rebooting and bombing out of Chrome.
In fact, I can't load slashdot without it rebooting. So I attempted to
jail break it so that I can read the android log, but the current
recipe no longer works.

 So I'm stuck calling T-Mobile who start with the "newbie" questions,
then on to a technical service rep. The service rep then wants me to
remove ALL applications from the phone and try again. A totally
service interaction. That tech can't read the log to see what
if I got to a store they can't read the log and I can't read the log.
does not support the applications, don't know which may cause problems
and thus will always be very paranoid about them.

 This is going to waste a LOT of time, money and customer good will.

 A great solution to this is an over the air log collector and
analyzer that
points to problems. It will need to make the standard judgment of is
the problem Hardware, OS, Android or the applications.

 Is anything like this in the works?


Other Threads

1. onKeyDown() functionality issue


I was trying to override the back button functionality where I wanted
to call the default functionality in case a boolean is set false

public boolean onKeyDown(int keyCode, KeyEvent event) {
        boolean temp = false;
        if (event.KEYCODE_BACK == keyCode) {
            System.out.println("Back pressed");
            if (isTrue) {
                //Do something
                return true;
            else return false;
        return false;

Now this doesn't exactly work how the documentation states. the //Do
Something part is executed well, but when isTrue is false i want the
default back functionality which is not happening. Im using SDK 1.5


   1.      How do I fix this?
   2.      Is this issue fixed in later SDK updates? If not can
someone raise a bug for the same?


2. Threading in activity and AsyncTask problem

i have a class derived from AsyncTask and i initialize it in my
activity. Now i m facing two problems...

1. I want to send result back to my activity and execute a chunk of
code in my activty on onPostExecute(Object result) event. (i tried
handler but its not working)
2. I want to execute asynctask multiple times.

Please suggest me some better solution or a fix to this...
thanx in advance


                         StudentTask st = new StudentTask(getThis());
                         st.execute(new Object[] {StudentTask.Task.AUTH, null, 


public class StudentTask extends AsyncTask {

        private Context context;
        private ProgressDialog pd;

public static enum Task {

public StudentTask(Context context) {
                this.context = context;

        protected void onPreExecute() {
                pd = ProgressDialog.show(context, "Please wait", "Starting");

        protected Object doInBackground(Object... params) {

                Object result = null;
                Task t = (Task) params[0];
                switch (t) {
                case AUTH:
                        if (this.authenticateStudent(params[1].toString(),
                                        params[2].toString()).IsSuccessFul()) {
                                result = true;
                        } else {
                                result = false;
                case SYNCRONIZE:
result =                        this.synchronize(null, null);
                return result;

        protected void onProgressUpdate(Object... values) {

        protected void onPostExecute(Object result) {
                // Send this result back to activity and execute some code there
e.g. launch next activity or display error


3. Android Icon Templates Pack - Menu Icons PSD Corrupted?

4. Remove/Replace Google Setup Wizard

5. OpenSSLSessionImpl.java finalize() problem - HeapWorker is wedged

6. java.io.File.DeleteOnExit holds too many strings

7. NDK Development with Objective-C 2.0