On 24 Lis, 12:29, NaveenShrivastva <[email protected]> wrote: > This is not solving my issue , how to calculate 90% of video is > completed or not. i will check this on button click.
why? what value do you get in "int per"? pskink > > On Thu, Nov 24, 2011 at 4:22 PM, NaveenShrivastva > > > > <[email protected]> wrote: > > OK > > > Then now i am doing > > > video.pause(); > > int current=video.getDuration(); > > int total= video.getCurrentPosition(); > > int per = (current*100)/total; > > > This is right way for calculate percentage of video? > -- 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

