can cursor block

by manigault » Mon, 14 Dec 2009 20:59:51 GMT


Sponsored Links
 Hi all,
I have the following issue. I get a cursor in some background thread
and pass it to the gui thread. In the gui thread i use the cursor to
create cursorAdapter and fill some ListView. So far if the database
access blocked there will be no problem because it's made in other
thread. So the cursor is fetching the data rows when they are needed
which will be when i scroll the listview and in this case if the
database blocked will i get activity not responding.

--



Other Threads

1. Using fastboot

Hello,
I'm porting Android on imx51 target and I want to boot Android fron
NAND using fastboot.
Does anyone know how to use fastboot?
Thanks

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

2. Build with ALSA support. error: 'DEVICE_OUT_FM_HEADPHONE' is not a member of 'android::AudioSystem'

Hello,

I'm trying to make a build with ALSA support. My local_manifest.xml
file is:

<?xml version="1.0" encoding="UTF-8"?>
<manifest>

  <project path="external/alsa-lib" name="platform/external/alsa-lib"/
  <project path="external/alsa-utils" name="platform/external/alsa-
utils"/>
  <project path="hardware/alsa_sound" name="platform/hardware/
alsa_sound"/>

</manifest>

I've added the following options info my buildspec.mk file:

HAVE_HTC_AUDIO_DRIVER := false
BOARD_USES_ALSA_AUDIO := true
BUILD_WITH_ALSA_UTILS := true

After sync and build I have the following compilation error:

target arm C++: libaudio <= hardware/alsa_sound/ALSAMixer.cpp
hardware/alsa_sound/ALSAMixer.cpp:77: error: 'DEVICE_OUT_FM_HEADPHONE'
is not a member of 'android::AudioSystem'
hardware/alsa_sound/ALSAMixer.cpp:77: error: 'DEVICE_OUT_FM_HEADPHONE'
is not a member of 'android::AudioSystem'
make: *** [out/debug/target/product/generic/obj/SHARED_LIBRARIES/
libaudio_intermediates/ALSAMixer.o] Error 1

Do you know what's wrong? Probably, I need some special revision of
alsa_sound, but I couldn't find the correct revision.

Any help will be appreciated. Thanks,
Alex

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

3. Something wrong here... using simplest project

4. how to add progress bar with media Player??????

5. The function "getLine1Number" always return a empty. why?

6. Animating the background of a LinearLayout

7. Android on imx51