Hello, These are two different issues.
1) While running my application CPU usage is above % so, just need a way out to solve this. As far as I have seen decodeFileDescriptor takes lot of time and CPU. 2) Want to make gallery widget circular. I am using runnable and Handler for slide show. Additionally i am using animation while displaying image. BitmapFactory.Options options = new BitmapFactory.Options(); // add re quired Changes in filedecriptor. bitmap = BitmapFactory.decodeFileDescriptor(is.getFD(), null, options); Animation in = new TranslateAnimation(Animation.RELATIVE_TO_SELF, 1.0f, Animation.RELATIVE_TO_SELF, 0.0f, Animation.RELATIVE_TO_SELF, 0.0f, in.setDuration(700); in.startNow(); mSwitcher.setAnimation(in); mSwitcher.setImageBitmap(bitmap, false); // Cicular viewing of image can be done by using an array which store location of the image you can make the image indexing circular, or shuffle as per your requirement. Thanks. Jasmine On Sep 3, 11:44 am, tstanly <[email protected]> wrote: > hi Jasmine, > > can you share how to do slide shows effect ongallery? > circulr showing just like you say, > > because I'm find for this topic... > > thanks.... > On 9月3日, 上午11時57分, Jasmine <[email protected]> wrote: > > > Hello Everyone, > > > I have just now started working on Android,,, > > Can anyone tell me how to makegallerywidgetcircular? > > > And my app takes over 70% of CPU usage can anyone suggest something. > > My application just displays images, slide shows a bit of music etc... > > thats all. > > Its gives highest CPU usage on a Activity Launch!! And says My app is > > not responding with "Force Close" and "Wait". > > > ------------------------------------- > > Thanks in advance. > > > Jasmine. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

