I connect Acer iconia a500 with ddms

by Chi Kit Leung » Fri, 20 May 2011 15:57:25 GMT


Sponsored Links
 Hi all,
I bought Acer. Iconia A500 last week.  I cannot get it work with dens. Do I
need to get a driver ?

-- 



Re: I connect Acer iconia a500 with ddms

by Zsolt Vasvari » Fri, 20 May 2011 16:28:34 GMT


 I am sure.  Even the Xoom is not suported by the Google USB driver as
I've learned today.




-- 


Sponsored Links


Other Threads

1. Proper way of handling orientation change + async thread

hi,

my app has a search function which when a button is clicked, it
creates a new dialog and then start a new background thread that
performs an asynchronous http request, when the http request is
finished, the background thread cancels the dialog and the data is
displayed on screen.

I notice however, if i change the orientation of the screen while the
background thread is running, the app will crash. The error log shows
the following:

W/dalvikvm(  292): threadid=3: thread exiting with uncaught exception
(group=0x40010e28)
E/AndroidRuntime(  292): Uncaught handler: thread main exiting due to
uncaught exception
E/AndroidRuntime(  292): java.lang.IllegalArgumentException: View not
attached to window manager
E/AndroidRuntime(  292):        at
android.view.WindowManagerImpl.findViewLocked(WindowManagerImpl.java:
331)
E/AndroidRuntime(  292):        at
android.view.WindowManagerImpl.removeView(WindowManagerImpl.java:200)
E/AndroidRuntime(  292):        at android.view.Window
$LocalWindowManager.removeView(Window.java:401)
E/AndroidRuntime(  292):        at
android.app.Dialog.dismissDialog(Dialog.java:249)
E/AndroidRuntime(  292):        at android.app.Dialog.access
$000(Dialog.java:59)
E/AndroidRuntime(  292):        at android.app.Dialog
$1.run(Dialog.java:93)
E/AndroidRuntime(  292):        at
android.app.Dialog.dismiss(Dialog.java:233)
E/AndroidRuntime(  292):        at
android.app.Dialog.cancel(Dialog.java:838)
E/AndroidRuntime(  292):        at com.yellowbook.android2.SearchHelper
$3.handleMessage(SearchHelper.java:97)
E/AndroidRuntime(  292):        at
android.os.Handler.dispatchMessage(Handler.java:88)
E/AndroidRuntime(  292):        at android.os.Looper.loop(Looper.java:
123)
E/AndroidRuntime(  292):        at
android.app.ActivityThread.main(ActivityThread.java:3742)
E/AndroidRuntime(  292):        at
java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(  292):        at
java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime(  292):        at com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:739)
E/AndroidRuntime(  292):        at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:497)
E/AndroidRuntime(  292):        at
dalvik.system.NativeStart.main(Native Method)

Does anyone knows a better way to do async processing that wont crash
on orientation change?

Thanks,
--~--~---------~--~----~------------~-------~--~----~

2. pass data between activities

Hi guys it's  me again. I would like some help whit a little problem.,
I can't recovery the value of the activity that i call. Look the
follow code.

Manifest

 <activity android:name="search" android:label="@string/app_name"
                                android:theme="@android:style/Theme.Dialog">
            <intent-filter android:label="@string/
resolve_title">
                <action android:name="android.intent.action.SEARCH" />
            </intent-filter>
        </activity>

Main class prueba how extends of mapActivity

this is the way what I call the actvity

Intent i = new Intent(prueba.this, search.class);
                startActivityForResult(i, GET_CODE);

This is the metod which is waiting for the value

 protected void onActivityResult(int requestCode, int resultCode,
                                String data, Bundle extras){
                  switch (resultCode) {
                case GET_CODE:
                    // This is the standard resultCode that is sent back if
the
                    // activity crashed or didn't doesn't supply an explicit
result.
                         if (resultCode == RESULT_CANCELED){

                     }
                     else {

                     }

                default:
              break;
            }

Search class how extend of Activity

@Override
        public void onClick(View arg0) {
                // TODO Auto-generated method stub
        Bundle stats = new Bundle();
                 stats.putString(ACTIVITY_SERVICE, mText.getText().toString());
                 Intent mIntent = new Intent();
                 mIntent.putExtras(stats);
                 setResult(RESULT_OK, mIntent);
                 finish();
        }


When you use setResult it suppose that the values are sent to the
class how call the activity.
--~--~---------~--~----~------------~-------~--~----~

3. Garbage Collection monitoring

4. Where is the android.jar source

5. TextView.SavedState example?

6. Button Resource Invalid?

7. Using an autocomplete filled with information from a database query