Dim ImageView1 as ImageView Dim ip as ICOSImageProcessing Example: Type = 1 --> RED Type = 2 --> GREEN Type = 3 --> BLUE ImageView1.Bitmap=ip.Boost(LoadBitmap(File.Dirassets , "SomeFile.png" , Type , Percentage) Or ImageView1.Bitmap=ip.Boost(ImageView1.Bitmap , Type , Percentage)
Dim ImageView1 as ImageView Dim ip as ICOSImageProcessing Example: ImageView1.Bitmap=ip.Emboss(LoadBitmap(File.Dirassets , "SomeFile.png") Or ImageView1.Bitmap=ip.Boost(ImageView1.Bitmap)
Dim ImageView1 as ImageView Dim ip as ICOSImageProcessing Example: ImageView1.Bitmap=ip.Engrave(LoadBitmap(File.Dirassets , "SomeFile.png") Or ImageView1.Bitmap=ip.Boost(ImageView1.Bitmap)
FastBlur (radiusAsInt) Asandroid.graphics.Bitmap
FlipBitmap (TypeAsInt) Asandroid.graphics.Bitmap
Dim ImageView1 as ImageView Dim ip as ICOSImageProcessing Type = 1 --> FLIP_VERTICAL Type = 2 --> FLIP_HORIZONTAL Example: ImageView1.Bitmap=ip.Flip(LoadBitmap(File.Dirassets , "SomeFile.png" , Type) Or ImageView1.Bitmap=ip.Boost(ImageView1.Bitmap , type)
Dim ImageView1 as ImageView Dim ip as ICOSImageProcessing Example: ImageView1.Bitmap=ip.GaussianBlur(LoadBitmap(File.Dirassets , "SomeFile.png",BlurValue) Or ImageView1.Bitmap=ip.Boost(ImageView1.Bitmap, BlurValue)
Dim ImageView1 as ImageView Dim ip as ICOSImageProcessing Example: ImageView1.Bitmap=ip.Rotate(LoadBitmap(File.Dirassets , "SomeFile.png" , RotateDegree) Or ImageView1.Bitmap=ip.Boost(ImageView1.Bitmap ,RotateDegree)
InitializeBitmap (bmpAsandroid.graphics.Bitmap)
Initialize the Object. Example: Dim ip as ICOSImageProcessing ip.Initialize("ip")
IsInitializedAsBoolean
LENGTH_LONGAsInt
LENGTH_SHORTAsInt
MirrorAsandroid.graphics.Bitmap
Dim ImageView1 as ImageView Dim ip as ICOSImageProcessing Example: ImageView1.Bitmap=ip.Mirror(LoadBitmap(File.Dirassets , "SomeFile.png")) Or ImageView1.Bitmap=ip.Boost(ImageView1.Bitmap)
Dim ip as ICOSImageProcessing Dim img As ImageView Example: Sub b1_Click ip.MyToastBitmap(LoadBitmap(LoadBitmap(File.Dirassets , "SomeFile.png") , mGravity, mDuration) End Sub
Dim ImageView1 as ImageView Dim ip as ICOSImageProcessing Example: ImageView1.Bitmap=ip.RoundCorner(LoadBitmap(File.Dirassets , "SomeFile.png" , RoundValue) Or ImageView1.Bitmap=ip.Boost(ImageView1.Bitmap , RoundValue)
Dim ImageView1 as ImageView Dim ip as ICOSImageProcessing Example: ImageView1.Bitmap=ip.SepiaEffect(LoadBitmap(File.Dirassets , "SomeFile.png" ,Depth , Red , Green , Blue) Or ImageView1.Bitmap=ip.Boost(ImageView1.Bitmap ,Depth , Red , Green , Blue)
SetWalpaper (bmpAsandroid.graphics.Bitmap)
Dim ip as ICOSImageProcessing Example: Sub b1_Click ip.setWalpaper(LoadBitmap(File.Dirassets , "SomeFile.png")) End Sub
Dim ImageView1 as ImageView Dim ip as ICOSImageProcessing Example: ImageView1.Bitmap=ip.Smooth(LoadBitmap(File.Dirassets , "SomeFile.png" , SmoothValue) Or ImageView1.Bitmap=ip.Boost(ImageView1.Bitmap ,SmoothValue)
Give you the real length in MM:SS Example: Sub Process_Globals Dim timer1 As Timer Dim mp As ICOSMusicPlayer End Sub
Sub Globals Dim label1 As Label End Sub
Sub Activity_Create(FirstTime As Boolean) timer1.Initialize("timer1",1000) timer1.Enabled=True mp.Initialize mp.PlayMusicFromFile("sdcard/media/1.mp3",0,True) End Sub
Sub Activity_Resume If mp.IsPlaying Then mp.Play timer1.Enabled = True timer1_tick End If End Sub
Sub timer1_Tick If mp.IsPlaying Then Label1.text="Position: " & mp.ConvertTimeToMinuts & " - " & ConvertTimeToSeconds ( "Position: 3:28 - 0:00" ) End If End Sub
ConvertTimeToSecondsAsString
Give you the real length in MM:SS Example: Sub Process_Globals Dim timer1 As Timer Dim mp As ICOSMusicPlayer End Sub
Sub Globals Dim label1 As Label End Sub
Sub Activity_Create(FirstTime As Boolean) timer1.Initialize("timer1",1000) timer1.Enabled=True mp.Initialize mp.PlayMusicFromFile("sdcard/media/1.mp3",0,True) End Sub
Sub Activity_Resume If mp.IsPlaying Then mp.Play timer1.Enabled = True timer1_tick End If End Sub
Sub timer1_Tick If mp.IsPlaying Then Label1.text="Position: " & mp.ConvertTimeToMinuts & " - " & ConvertTimeToSeconds ( "Position: 3:28 - 0:00" ) End If End Sub
DurationAsInt [read only]
Return the total value of the loaded media in milliSeconds
Get_Album_ArtistAsInt
Get_Album_TitleAsInt
Get_Artist_NameAsInt
Get_Author_NameAsInt
Get_BitrateAsInt
Get_Cd_Track_NumberAsInt
Get_CompilationAsInt
Get_Composer_NameAsInt
Get_DateAsInt
Get_Disc_NumberAsInt
Get_DurationAsInt
Get_GenreAsInt
Get_LocationAsInt
Get_MimetypeAsInt
Get_Number_TracksAsInt
Get_TitleAsInt
Get_WritterAsInt
Get_YearAsInt
Initialize (EventNameAsString)
Initialize the Object. You Should Initialize Before Load Any Sounds. Example: Dim mp as ICOSMusicPlayer mp.Initialize("mp")
IsPlayingAsBoolean
Return true if ICOSMusicPlayer is currently playig
Pause
Pause the current playback. You can resume it from the current position at any time by calling mp.Play
Load any media file and Play. Example: Dim Label1 as Label Label1.Text = mp.PlayMusicFromFile("sdcard/media/somefile.mp3",mp.Get_Title) or mp.PlayMusicFromFile("somefile.mp3",0,True) type is any information about any media file, type 0 = null.
Load any media file and Play. Example: Dim Label1 as Label Label1.Text = mp.PlayMusicFromFile("sdcard/media/somefile.mp3",mp.Get_Title) or mp.PlayMusicFromFile("sdcard/media/somefile.mp3",0,True) type is any information about any media file, type 0 = null.
Sub Activity_Create(FirstTime As Boolean) ics.InitializeProgressBar("ics") Activity.AddView(ics,115,500,350,35) End Sub
InitializeSeekBar (EventNameAsString)
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 (EventNameAsString)
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
IsInitializedAsBoolean
MaxAsInt
This is part of InitializeSeekBar or InitializeVolumeBar ( You'll find it in ICOSSeekBar )
return Max Value
ProgressBarMaxAsInt [write only]
This is part of InitializeProgressBar ( You'll find it in ICOSSeekBar )
Set the Max value of ProgressBarMax
ProgressBarValueAsInt [write only]
This is part of InitializeProgressBar ( You'll find it in ICOSSeekBar)