[android-developers] Display many images into the Imageview in 3-4 seconds
I have a problem with Android and the perfomance, I should display around 20-30 images, like a gif, in 3-4 seconds. I tried to make a TimerTask but it's too slowly and I can see only 3-5 images. There is a solution to play 20-30 images like a gif image? I read that I can do something with the spirte. -- 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.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Display many images into the Imageview in 3-4 seconds
Because is giong to alloc the memory and then display the image, this process looks that the application is blocked. I tried to run the TimerTask into a new thread but anything is changed. On Dec 15, 1:23 am, Miguel Morales wrote: > Why is TimerTask too slow? Just set the time lower? > This might > help:http://developingthedream.blogspot.com/2011/01/android-canvas-frame-b... > > On Wed, Dec 14, 2011 at 5:13 PM, Christian Bianchini wrote: > > > > > > > > > > > I have a problem with Android and the perfomance, I should display > > around 20-30 images, like a gif, in 3-4 seconds. > > > I tried to make a TimerTask but it's too slowly and I can see only 3-5 > > images. > > > There is a solution to play 20-30 images like a gif image? I read that > > I can do something with the spirte. > > > -- > > 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.com > > For more options, visit this group at > >http://groups.google.com/group/android-developers?hl=en > > -- > ~ Jeremiah:9:23-24 > Android 2D MMORPG:http://solrpg.com/,http://www.youtube.com/user/revoltingx -- 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.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Display many images into the Imageview in 3-4 seconds
Still give me the fatal error: excess VM On Dec 15, 8:57 am, Christian Bianchini wrote: > Because is giong to alloc the memory and then display the image, this > process looks that the application is blocked. > > I tried to run the TimerTask into a new thread but anything is > changed. > > On Dec 15, 1:23 am, Miguel Morales wrote: > > > > > > > > > Why is TimerTask too slow? Just set the time lower? > > This might > > help:http://developingthedream.blogspot.com/2011/01/android-canvas-frame-b... > > > On Wed, Dec 14, 2011 at 5:13 PM, Christian Bianchini > > wrote: > > > > I have a problem with Android and the perfomance, I should display > > > around 20-30 images, like a gif, in 3-4 seconds. > > > > I tried to make a TimerTask but it's too slowly and I can see only 3-5 > > > images. > > > > There is a solution to play 20-30 images like a gif image? I read that > > > I can do something with the spirte. > > > > -- > > > 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.com > > > For more options, visit this group at > > >http://groups.google.com/group/android-developers?hl=en > > > -- > > ~ Jeremiah:9:23-24 > > Android 2D MMORPG:http://solrpg.com/,http://www.youtube.com/user/revoltingx -- 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.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Overscroll android 2.2
Hi, I have question about enable the overscroll by code, actually I did that for Android 2.3 and it's work. I tried the application with an Android 2.2 and I can't see the overscroll and that its strange. I did an extend Class of scrollview and I have overwrite the method overscroll. What is the solution to support the overscroll in Android 2.2? Thanks -- 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.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Overscroll android 2.2
Any example how to force the overscroll for the API 8? On Dec 17, 8:48 pm, Harri Smått wrote: > Hi, > > Over scrolling methods seem to be API level 9 and higher. Maybe you didn't > use @Override notation and ended up writing a new method on older APIs which > is never called by the system? > > -- > H > > On Dec 17, 2011, at 10:37 PM, Christian Bianchini wrote: > > > > > > > > > Hi, > > I have question about enable the overscroll by code, actually I did > > that for Android 2.3 and it's work. > > I tried the application with an Android 2.2 and I can't see the > > overscroll and that its strange. > > > I did an extend Class of scrollview and I have overwrite the method > > overscroll. > > > What is the solution to support the overscroll in Android 2.2? > > > Thanks > > > -- > > 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.com > > For more options, visit this group at > >http://groups.google.com/group/android-developers?hl=en -- 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.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Overscroll android 2.2
So can I implanted it with some code? On Dec 17, 10:14 pm, Kristopher Micinski wrote: > 2011/12/17 Harri Smått : > > > Hi, > > > Over scrolling methods seem to be API level 9 and higher. Maybe you didn't > > use @Override notation and ended up writing a new method on older APIs > > which is never called by the system? > > Right. > > No overscroll in Android API in Froyo.. > > Kris -- 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.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Android Bitmap Blending
I have a PNG that I need to remove the background with Mulipily Blending, I found an example but I should to have the image in 3 colors and the alpha. My problem is that I don't have only one png but 1000 png, I should to do the Blending every image. This is the example: http://kevindion.com/2011/01/android-bitmap-blending-color-channels/ -- 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.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Webview android
I have a problem with webview, I tried to use the http://raphaeljs.com/ library but was working only on my computer. I tried to use the browser and doesn't work as well. I tried to download Firefox on my phone and it's work! Anyone can suggest me any idea? I would like to use a webview of Firefox but I haven't any idea how to do it. -- 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.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Webview android
Yes I enabled the JS, I tried to setup a webclient or a chromeclient but nothing is changed. I don't know why but the native webkit engine isn't so cool than firefox, this is a big surprising for me because Chrome is a very good Browser... There is any library ? On Fri, Sep 9, 2011 at 9:22 PM, IcedNet wrote: > You are enabling JavaScript in the WebView, yes? > > If so, and you still have problems, I would invite you to browse > around with Android's "Browser" to the various library sites' demo > pages and watch the fail unfold... > It has issues with many things, JavaScript included. It is the public > facing version, and actually functions "better" than the API's WebView > in many respects. > If you are counting on using a JavaScript Library with the internal > WebView, count on a world of hurt. > > As for using Firefox's webkit as a webview, that is a project of > enormous magnitude, as in porting yet another webkit to Android... > > And I am not snarking, tyvm ;) > > Peace, > Dan > > On Sep 9, 3:07 pm, Jeremy Dagorn wrote: > > Hi, > > > > Look at the documentation, there is a simple example about how to load > > an URL from a WebView! > http://developer.android.com/resources/tutorials/views/hello-webview > > > > Best, > > > > On Sep 9, 11:53 am, Christian Bianchini wrote: > > > > > > > > > > > > > > > > > I have a problem with webview, I tried to use thehttp://raphaeljs.com/ > > > library but was working only on my computer. I tried to use the > > > browser and doesn't work as well. > > > I tried to download Firefox on my phone and it's work! > > > > > Anyone can suggest me any idea? I would like to use a webview of > > > Firefox but I haven't any idea how to do it. > > -- > 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.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- --- Web/Mobile Developer Luiis Group christ...@bianchini.ch -- 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.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Webview android
I found that the problem is the SVG, android doesn't support it but maybe there is a library to implement it. Anyone know something about that? On Sat, Sep 10, 2011 at 2:38 AM, IcedNet wrote: > I looked at xui before giving in and writing all the javascript by > hand... > > on the other hand, the html5 and css3 are useful, though I haven't > tried the Canvas object. > if you're good with javascript and Canvas works, you might be better > off... The libraries usually do a lot of the work for you, but the > webview is not a browser, and it has some real issues that the > libraries aren't coding for. > > Peace, > Dan > > On Sep 9, 3:35 pm, Christian Bianchini > wrote: > > Yes I enabled the JS, I tried to setup a webclient or a chromeclient but > > nothing is changed. > > > > I don't know why but the native webkit engine isn't so cool than firefox, > > this is a big surprising for me because Chrome is a very good Browser... > > > > There is any library ? > > > > > > > > > > > > On Fri, Sep 9, 2011 at 9:22 PM, IcedNet wrote: > > > You are enabling JavaScript in the WebView, yes? > > > > > If so, and you still have problems, I would invite you to browse > > > around with Android's "Browser" to the various library sites' demo > > > pages and watch the fail unfold... > > > It has issues with many things, JavaScript included. It is the public > > > facing version, and actually functions "better" than the API's WebView > > > in many respects. > > > If you are counting on using a JavaScript Library with the internal > > > WebView, count on a world of hurt. > > > > > As for using Firefox's webkit as a webview, that is a project of > > > enormous magnitude, as in porting yet another webkit to Android... > > > > > And I am not snarking, tyvm ;) > > > > > Peace, > > > Dan > > > > > On Sep 9, 3:07 pm, Jeremy Dagorn wrote: > > > > Hi, > > > > > > Look at the documentation, there is a simple example about how to > load > > > > an URL from a WebView! > > >http://developer.android.com/resources/tutorials/views/hello-webview.. > .. > > > > > > Best, > > > > > > On Sep 9, 11:53 am, Christian Bianchini wrote: > > > > > > > I have a problem with webview, I tried to use thehttp:// > raphaeljs.com/ > > > > > library but was working only on my computer. I tried to use the > > > > > browser and doesn't work as well. > > > > > I tried to download Firefox on my phone and it's work! > > > > > > > Anyone can suggest me any idea? I would like to use a webview of > > > > > Firefox but I haven't any idea how to do it. > > > > > -- > > > 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.com > > > For more options, visit this group at > > >http://groups.google.com/group/android-developers?hl=en > > > > -- > > --- > > Web/Mobile Developer > > Luiis Group > > christ...@bianchini.ch > > -- > 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.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- --- Web/Mobile Developer Luiis Group christ...@bianchini.ch -- 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.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Weview support SVG?
I know that Webview dosen't support SVG but maybe someone know someplugin or library to support it. I need to show a SVG by Webview but there aren't ways to load the image. Pls tell me if there is any solution! -- 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.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en