ListView items in Activity Persist on G1 keyboard slideout, but not Dialog list items

by Streets Of Boston » Tue, 09 Jun 2009 22:01:00 GMT


Sponsored Links
 Romain,

There has been a bug in 1.0 and 1.1. that the onPrepareDialog is not
properly called after a configuration change happened. Has this been
fixed?




ListView items in Activity Persist on G1 keyboard slideout, but not Dialog list items

by pawpaw17 » Wed, 10 Jun 2009 01:04:25 GMT


 Guys,

That's what I'm seeing. onPrepareDialog is not called, only
onCreateDialog.
This is v 1.5.

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


Sponsored Links


ListView items in Activity Persist on G1 keyboard slideout, but not Dialog list items

by Streets Of Boston » Wed, 10 Jun 2009 01:55:31 GMT


 Ugh.. this is still the case :(

In my app, i program around it. I have some code that determines if
onPrepareDialog should have been called and, if not, that calls
onPrepareDialog explicitly.



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



ListView items in Activity Persist on G1 keyboard slideout, but not Dialog list items

by pawpaw17 » Wed, 10 Jun 2009 22:20:44 GMT


 Thanks for the pointers. I fixed my issue as well using bundles to
save state.




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



Other Threads

1. How do i save a (large) edited JPEG with full 24bit colordepth without getting OutOfMemoryErrors?

Hi everyone,

I managed to handle a full size image (2048x1536) (moving around,
zooming, some colorfilters, etc). However, i can only load these
images in memory as RGB_565, one at a time. I try to free as much
bitmap memory as possible (by recycling every possible bitmap cached/
open in my app), and then load the full-sized image in RGB_565 format.
This works well.

The user can make some modifications (color balance, brightness, etc)
and I like to save the resulting image in a JPEG file. However, on
screen, all edits are shown in RGB_565. You can see the posterization
because of the reduced pixel-depth. The quality degradation on the
screen is a minor problem. My main problem is to apply these edits to
the actual and higher quality ARGB_8888 data of the original JPEG
file.

Trying to load a ARGB_8888 JPEG file with size 2048x1536 is not
possible. I get an out-of-memory error.
Is there any way to apply color-filters to ARGB_8888 data (instead of
RGB_565) so that i won't lose a lot of image-quality when trying to
save modifications into a JPEG file?

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

2. How to send AT command to the modem ?

Hi all,

I am trying to develop an application that would need to AT commands
that are not yet defined in the RIL.
I saw from the ril.h file, that hook requests are available :

It can be invoked on the Java side from
com.android.internal.telephony.Phone.invokeOemRilRequestStrings()
com.android.internal.telephony.Phone.invokeOemRilRequestRaw()

But from the application side, this package is not visible
(com.android.internal.telephony)

Is there anyone who bypassed this issue or is there any other way to
send specific AT command to the RIL from an application ?

Thanks in advance,


regards,

Julien

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

3. OpenGL|ES: eglMakeCurrent issues

4. As application developers are we allowed to access system properties like ro.config.sync?

5. ScrollView is resized based on contents

6. ReStarting An Activity From A Service

7. Should i use master or cupcake branches