Thanks for your input.

On Jan 28, 10:55 am, YuviDroid <[email protected]> wrote:
> Ok, now it's clearer :)
>
> The two links I gave you should help with auto-scroll part.
> With the time intervals you might use a Timer 
> (http://developer.android.com/reference/java/util/Timer.html), or make use
> of the AlarmManager 
> (http://developer.android.com/reference/android/app/AlarmManager.html).
> I'm not sure though if any of these will be precise enough, so that you
> remain perfectly in sync with the audio being played. Maybe there are some
> classes/methods that allow to do that better directly in the MediaPlayer
> (or SoundPool).
>
> Ciao,
> Yuvi
>
>
>
>
>
>
>
>
>
> On Sat, Jan 28, 2012 at 3:50 PM, Giants203 <[email protected]> wrote:
> > I'm trying to automatically scroll the list view based on the playing
> > of an audio file. The listview items will have English translation of
> > what is being played in the audio which will be in a foreign language.
> > So as the audi progresses, i need to keep the listview scrolling down.
> > I will maintain a mapping file with timestamps to directly the scroll.
>
> > On Jan 28, 5:01 am, YuviDroid <[email protected]> wrote:
> > > Probably you want to take a look at:
> >http://developer.android.com/reference/android/widget/ListView.html#s...)
>
> > > orhttp://
> > developer.android.com/reference/android/widget/ListView.html#s...)
>
> > > Although I'm not sure exactly what you are trying to accomplish. For
> > > example you say "I want to show the first item ..", but being a ListView
> > > you will probably see much more than one item.
>
> > > On Sat, Jan 28, 2012 at 6:32 AM, Giants203 <[email protected]> wrote:
> > > > I would like to auto scroll list view at specified time intervals
> > > > without user intervention. The time intervals will be supplied in an
> > > > array on integers  say 1000, 4000, 5000 in millisecs
>
> > > > I want to show the first list item as soon as the list launches
> > > > and then wait 10 sec to show the next list item on top of the list
> > > > (visible on the screen) and so on based on the time intervals shown
> > > > above.
>
> > > > What's the best way to accomplish this?
>
> > > > I was going through this <a href="http://groups.google.com/group/
> > > > android-beginners/browse_thread/thread/ea22a389eb900bbe?pli=1">thread</
> > > > a>  but the     getListView().setSelection() is taking directly to the
> > > > end of the list. There is no incremental update happening.
>
> > > > --
> > > > 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
>
> > > --
> > > YuviDroid
> > > Check out Launch-X <http://android.yuvalsharon.net/launchx.php> (a
> > widget
> > > to quickly access your favorite apps and contacts!)
> >http://android.yuvalsharon.net
>
> > --
> > 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
>
> --
> YuviDroid
> Check out Launch-X <http://android.yuvalsharon.net/launchx.php> (a widget
> to quickly access your favorite apps and 
> contacts!)http://android.yuvalsharon.net

-- 
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

Reply via email to