Android Programming Press on the image to return to the main documentation page.

ICOSSeekBar

Written by Giuseppe Salvi

List of types:

ICOSSeekBar

ICOSSeekBar


This is an 'Activity Object', it cannot be declared under Sub Process_Globals.

Events:

ValueChanged(Value As Int , FromUser As Boolean)
VolumeChanged(Volume As Int , FromUser As Boolean)

Members:


  BringToFront

  CursorBitmap As android.graphics.Bitmap  [write only]

  Enable As Boolean  [write only]

  Enabled As Boolean  [read only]

  InitializeProgressBar (EventName As String)

  InitializeSeekBar (EventName As String)

  InitializeVolumeBar (EventName As String)

  IsInitialized As Boolean

  Max As Int

  ProgressBarMax As Int  [write only]

  ProgressBarValue As Int  [write only]

  ProgressBitmap As android.graphics.Bitmap  [write only]

  RemoveView

  SendToBack

  StreamVolume As Int

  Value As Int

  Version As Double  [read only]

  Visible As Boolean

Members description:

BringToFront
Send this view to front
CursorBitmap As android.graphics.Bitmap  [write only]
This is part of InitializeSeekBar or InitializeVolumeBar ( You'll find it in ICOSSeekBar )

Example:

ics.CursorBitmap=LoadBitmap(File.DirAssets,"somefile.png")
Enable As Boolean  [write only]
Enabled As Boolean  [read only]
InitializeProgressBar (EventName As String)
Example:
Dim ics As ICOSSeekBar

Sub Activity_Create(FirstTime As Boolean)
ics.InitializeProgressBar("ics")
Activity.AddView(ics,115,500,350,35)
End Sub
InitializeSeekBar (EventName As String)
Example:
Dim ics As ICOSSeekBar

Sub Activity_Create(FirstTime As Boolean)
ics.InitializeSeekBar("ics")
ics.ProgressBitmap=LoadBitmap(File.DirAssets,"somefile.png")
ics.CursorBitmap=LoadBitmap(File.DirAssets,"somefile.png")
Activity.AddView(ics,115,500,350,35)
End Sub
InitializeVolumeBar (EventName As String)
You have to use this with MediaPlayer or ICOSMusicPlayer

Example:
Dim ics As ICOSSeekBar

Sub Activity_Create(FirstTime As Boolean)
ics.InitializeVolumeBar("ics")
ics.ProgressBitmap=LoadBitmap(File.DirAssets,"somefile.png")
ics.CursorBitmap=LoadBitmap(File.DirAssets,"somefile.png")
Activity.AddView(ics,115,500,350,35)
End Sub
IsInitialized As Boolean
Max As Int
This is part of InitializeSeekBar or InitializeVolumeBar ( You'll find it in ICOSSeekBar )

return Max Value
ProgressBarMax As Int  [write only]
This is part of InitializeProgressBar ( You'll find it in ICOSSeekBar )

Set the Max value of ProgressBarMax
ProgressBarValue As Int  [write only]
This is part of InitializeProgressBar ( You'll find it in ICOSSeekBar)

Set the value of ProgressBarValue
ProgressBitmap As android.graphics.Bitmap  [write only]
This is part of InitializeSeekBar or InitializeVolumeBar ( You'll find it in ICOSSeekBar )

Example:

ics.ProgressBitmap=LoadBitmap(File.DirAssets,"somefile.png")
RemoveView
Remove this View
SendToBack
Send this view to back
StreamVolume As Int
return the value of Volume ( the value is between 0 to 15)
Value As Int
This is part of InitializeSeekBar or InitializeVolumeBar ( You'll find it in ICOSSeekBar )

return progress Value
Version As Double  [read only]
Return the version of this library
Visible As Boolean

Top