PreferenceActivity doesn't respond to touch?

by Marc » Tue, 17 Feb 2009 08:21:12 GMT

Sponsored Links
 Hi, all.

I have a PreferenceActivity that has a java side that is simple...

        public void onCreate(Bundle savedInstanceState) {

But the activity doesn't respond to touch at all, until there is some
trackball movement (i.e. something gets highlighted), at which point
touch works fine.   Does this ring a bell for anyone?



Other Threads

1. setSelection fails on onNewIntent

I have created a singleton ListActivity which accepts a selection
index as an intent extra.  However, calling setSelection(index) works
during "onCreate" but fails during "onNewIntent".  Is there a way to
work around this?

public class PositionActivity extends ListActivity {

        public void onCreate(Bundle savedInstanceState) {
                /* ... standard initialization ... */
                setSelection(getIntent().getIntExtra("position", 0);

        protected void onNewIntent(Intent intent) {
                setSelection(intent.getIntExtra("position", 0);

2. Commercial applications policy

Is there any light on to how are commercial applications going to be

Like will they have to be fully functional and if so then are they
going to be protected by some type of DRM so that they can't be moved
from one device to another?

We have an application which takes add-ons from within the application
and charges for them.

How would such a model work under the Android's commercial
distribution model? Will we have to dispatch users to a place outside
the application to add a module? That defeats the whole "ease-of-use"

If that is not the right forum for those types of questions please
accept my apology and redirect me to a better one.


3. Restarting your own application

4. Could the G1 be used as a monitor/wired remote control for a digital camera?

5. Working with JPEG images

6. Remapping Key Functions

7. failed to load dx.jar