Touch screen inactive

by Pierre Henry Perret » Wed, 18 Nov 2009 16:51:58 GMT

Sponsored Links
 In stacking tasks, at some point the touch screen dont work any more. It
works again later without reason. Is this a known problem ?


Touch screen inactive

by Pierre Henry » Wed, 16 Dec 2009 00:18:56 GMT

 Problem not known == problem


Sponsored Links

Touch screen inactive

by justinh » Wed, 16 Dec 2009 00:32:41 GMT

 Make sure you avoid doing intensive work on the UI thread. 


Other Threads

1. SimpleCursorAdapter not showing data

All --

I am using a Simple cursor adapter to show my data in my ListActivity
and the list is showing up blank.  What am I doing wrong.  When I get
the query from the database it is returning 114 rows.  When I do a
adapter.getCount() it also returns me 114 rows.  But on my app I see
114 blank rows in my list.  I checked to see if I am mapping the the
to and from arrays properly in my SimpleCursorAdapter constructor and
it seems like I am.  Any help would be appreciated :)  Here is my list
activity code:

public class HelloAndroid extends ListActivity {

        private QDbAdapter dbAdapter;
           /** Called when the activity is first created. */
           public void onCreate(Bundle savedInstanceState) {
               MetaDataHandler dh = new MetaDataHandler();
               FileInputStream fIn = null;
               dbAdapter = new QDbAdapter(this);
               if (dbAdapter.suraCount() != 114)
                   try {
                   } catch (XmlPullParserException e) {
                   } catch (IOException e) {

           protected void onListItemClick(ListView l, View v, int position,
long id) {
                super.onListItemClick(l, v, position, id);


            private void fillData() {
                Cursor c = dbAdapter.fetchAllMetadata();
                System.out.println(c.getCount());returns 114 rows

                ListAdapter adapter = new SimpleCursorAdapter(this,
R.layout.row, c, new String[]             {QDbAdapter.TNAME},new int[]
                System.out.println(adapter.getCount()); //returns 114 rows
                Object o = adapter.getItem(0);          //this returns a SQLLite
cursor object that has data

Here is my layout code for the list row:

<?xml version="1.0" encoding="utf-8"?>
<TextView id="@+id/index1" xmlns:android="
    android:layout_width="wrap_content" android:textSize="12pt"


2. screen orientation question

Hello all,
I am trying to determine exactly what happens when the screen
orientation changes.
(What I mean is, what happens to the lifecycle of an app when the user
slides the screen out.)

 I show a dialog in my app.
 If the user slides the screen out, the app crashes with
'View not attached to window manager error.'

Is onPause called or something else?

I'm thinking if I can slip a progressdialog.dismiss(); into an
override, I'll
be able to eliminate that particular element when the screen changes.

Josh Beck


3. Root Access??

4. Are there any requirements for game applications.

5. Multi-Touch question =)

6. TCP communciation between two emulators

7. Newbe question - Application folders, how to?