Trackball doesn't give me click events, but touch screen does

by Romain Guy » Thu, 12 Mar 2009 09:05:10 GMT


Sponsored Links
 gt; I'm trying to get the same behavior as Alarm Clock, where tapping on a

Indeed it does. ListView is not ready to do things like this really
but a way to do it (much better than how it was done in AlarmClock) is
to use a TouchDelegate for the checkbox.




--
Romain Guy
Android framework engineer
romain...@android.com

Note: please don't send private questions to me, as I don't have time
to provide private support. All such questions should be posted on
public forums, where I and others can see and answer them

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



Trackball doesn't give me click events, but touch screen does

by Romain Guy » Thu, 12 Mar 2009 10:03:42 GMT


 BTW did you call setItemsCanFocus(true) on your ListView?









-- 
Romain Guy
Android framework engineer
romain...@android.com

Note: please don't send private questions to me, as I don't have time
to provide private support.  All such questions should be posted on
public forums, where I and others can see and answer them

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


Sponsored Links


Other Threads

1. India Girls pictures,korea girls pictures,Indonesia Girls pictures,Thailand Girls pictures

India Girls pictures,korea girls pictures,Indonesia Girls
pictures,Thailand Girls pictures

India Girls pictures
http://www.india.1dis.cn/

korea girls pictures
http://www.korea.1dis.cn/

Thailand Girls pictures
http://www.thailand.1dis.cn/


Indonesia Girls pictures
http://www.indonesia.1dis.cn/
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

2. Breakpoint not getting hit in Interface function implemented in Service

Hi,

I'm trying to connect to a service from an Activity. I wrote an AIDL
file with functions that will be implemented in the Service. The
function onServiceConnected() is getting called.


private ServiceConnection mConnection = new ServiceConnection()
    {
               public void onServiceConnected(ComponentName className,
IBinder service) {
                        mpInterface = 
MytestInterface.Stub.asInterface((IBinder)service);
                        mpInterface.clearPlaylist(); ---> its breaks here (1)
                                                ........
               }
    }

Now when I try to step through the function clearPlayList(), it first
goes to the MytestInterface.java file which was auto-generated by
eclipse

public void clearPlaylist() throws android.os.RemoteException
{
android.os.Parcel _data = android.os.Parcel.obtain();
android.os.Parcel _reply = android.os.Parcel.obtain();
try {
_data.writeInterfaceToken(DESCRIPTOR);
mRemote.transact(Stub.TRANSACTION_clearPlaylist, _data, _reply, 0); ---
_reply.readException();
}
finally {
_reply.recycle();
_data.recycle();
}

Now the actual implementation of this function is in Service class.
But the breakpoint never comes to this function.
Instead the control goes back to onServiceConnected() function.

Service class
=========
private final MytestInterface.Stub mBinder = new MytestInterface.Stub
() {

public void clearPlaylist() {
                        songs.clear();
                }
}

What could be the issue. Is there any error happening in
mRemote.transact() function.
--~--~---------~--~----~------------~-------~--~----~

3. Using Homemade TrueType Fonts In Android

4. Is there really no possibility to detect incoming calls with a receiver?

5. error on my Mac 10.4 Power book: cannot execute binary file

6. why does the same code NOT work same in different scenarios? JNI issue, please help.

7. Anyone get a tracking number for the dev phone?