Dianne,
Firstly, many thanks for your reply!
> (1) This is a debugging feature, not something to turn on for normal
> production.
I understand this.
> (2) It doesn't finish the activity; it destroys the current instance, which
> will thus needed to be re-instantiated the next time the user navig
My opinion was based on this:
http://code.google.com/p/android/issues/detail?id=133
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, se
I think, one of the problems could be with the use of localhost in
your server URL:
"http://localhost:8080/J2ME/servlet/HelloServlet";
Try specifying the IP address of your machine instead and see if it
helps.
--
You received this message because you are subscribed to the Google
Groups "Android
> I found that when I used SoftReferences, they started getting cleared
> very quickly indeed, after my cache of thumbnails was up to maybe 20
> or so.
>
> When I use normal references, the cache grows happily to a couple of
> hundred thumbnails without OOMs being thrown.
>
> Being a java newbie, I
I thought "finishing the activity when it becomes invisible" was a
taboo (i.e. against the activity and Task design guidelines); however,
I can imagine cases where not maintaining a History would help keep
the memory footprint of the app low.
> Dianne Hackborn wrote:
> Another thing you can do is
1. you can look at the video from Google IO conference 2009, called
Turbo charging your UI's by Romain Guy; he discussed some of the
optimizations you can do when working with ListViews.
2. You can read Mark Murphy's series of ListView tutorials at android
guys titled Fancy ListViews:
http://www.go
On Dec 9, 1:07 pm, Romain Guy wrote:
> You can check out the example I wrote at code.google.com/p/shelves. It
> does lazy loading of images from the sdcard.
Thanks Romain for your time; I will surely check the implementation
out.
Cheers!
--
You received this message because you are subscribed
skyhigh: thanks for your reply!
> > I haven't tried to do a lazy background image load like you are doing,
> > but have done some code that uses a holder/wrapper to store the layout
> > findViewById which is a nice optimization so that it doesn't have to
> > call inflate and findViewById again whe
I trying a hand at ListViews and my current experiment is aimed at
displaying some data in a ListView. The data to be displayed in each
row is simple: an image and some text. The images come from a remote
server and the textual data is hardcoded.
I have a class that downloads images using AsyncTas
Many thanks Matt and sbruno.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.
thanks again for your reply Bibek!
> True, May be you could use only one WebView, get all the 20 strings,
> add some html formatting yourself, and display. But, if really really
> want to display it on a ListView, then, it's difficult. You have to
> change/replace those HTML tags manually to somet
> The best way I can think of getting around this problem
> would be showing your HTML content inside a WebView. :)
Thanks for your reply Bibek. That is exactly what I am currently
doing.
However, I think a WebView would definitely be heavier than a
TextView. Assuming, I receive say 20 items in t
Hi,
I am working on a module that fetches RSS feed, parses it and then
displays selective data in a ListView. The problem is some of the data
received, contain HTML tags and HTML escape sequences which means I
can't display what I get as is. I need to sanitize the string of any
HTML that it might
In my application, the user selects an image from the sdcard. I
launch Intent.ACTION_GET_CONTENT action for "image/*" type. This
displays the com.android.camera/.ImageGallery2 activity. When the user
makes a selection, I create a Bitmap Object using Media.createBitmap
(..).
However, when the us
Thank you very much! :)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
I am trying to take a screen shot of whatever is drawn on my custom
view's canvas. I use the following lines for the same:
//enable drawing cache
this.setDrawingCacheEnabled(true);
// use the drawing on the cache to create a Bitmap Object
Bitmap screenshot = Bitmap.createBitmap(this.getDrawingCac
101 - 116 of 116 matches
Mail list logo