Forgive me for I have sinned.

by [EMAIL PROTECTED] » Tue, 13 May 2008 23:31:34 GMT


Sponsored Links
 There is something somewhere about not making an oath.

Well, as I cobbled demo code together for the ADC submission (one
trial strategy was to use the demo API look and feel by deleting all
the elements not needed), experiencing 19% errors causing reboot on
the evening of the 14th, I made an oath: "I will not touch this until
I can load a clean new SDK."  -predicting that a new one would be out
in a week or so. Time passed. The future was not as I predicted. The
lawn is mowed. The dog is in great shape again... not at all snippy...

Please, please, I have learned my lesson. Oaths imply one can predict
the future. Clearly not true for me...

New SDK please.

Ed
--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Long Click Event of Button

Hello all,

I have a problem. I use Click and Long Click Event in a button.
Everything's seems fine. However; whenever a user long click the
button, the click event also triggers. I couldn't find what I am doing
wrong. On the other hand, I noticed something might highly relevant
showDialog function returns before the user selects in the popup menu.

this is the long click function:

        @Override
        public boolean onLongClick(View view) {
                if(SMBGuesstheNumber.bDisplayFlagList)
                {
                        theActiveButton = (Button) view;
                        showDialog(R.id.display_flaglist);
                }
                return false;
        }

and this is the dialog handler:

        case R.id.display_flaglist:
                AlertDialog listdialog = new AlertDialog.Builder
(GfxGuesstheNumber.this)
                .setIcon(R.drawable.droid)
                .setTitle(R.string.dialog_flaglist)
                .setItems(R.array.entries_flaglist, new
DialogInterface.OnClickListener() {
                        public void onClick(DialogInterface dialog, int 
whichButton) {
                                switch(whichButton){
                                case 0:
                                        
theActiveButton.setTextColor(Color.BLACK);
                                        break;
                                case 1:
                                        
theActiveButton.setTextColor(Color.GREEN);
                                        break;
                                case 2:
                                        
theActiveButton.setTextColor(Color.YELLOW);
                                        break;
                                case 3:
                                        theActiveButton.setTextColor(Color.RED);
                                        break;
                                }
                        }
                })
                .create();
                return listdialog;

Any comment will be helpful.

Thank you,
Omer

--~--~---------~--~----~------------~-------~--~----~

2. How does LocationManager.requestLocationUpdates interact with power management?

I'm looking at writing an application which includes functionality
similar to Google's My Tracks (with some additional data collection
support and a specialized user interface).

If periodic location updates are requested with a minimum update delay
provided but the phone goes to sleep either by timeout or explicit
user request, will the phone wake up every minTime ms to poll? If not,
do I need to grab PARTIAL_WAKE_LOCK for my application to be able to
record the user's path, or will a more conservative approach (such as
setting an alarm to run every minTime ms, waking on the alarm, keeping
the CPU awake until a location update is received, and then going back
to sleep) work? Is there a better way to periodically poll position
without running more of the phone hardware than necessary which I
haven't thought of yet?

Do I need to be concerned about GPS reacquisition time if the CPU has
been off since the most recent query?

Thanks!

--~--~---------~--~----~------------~-------~--~----~

3. Emulator fails at boot up

4. decompilar .dex

5. returning result from webview javascript?

6. free vs. paid - what is better revenue model?

7. File Upload Question