B4A Library PuzzleTak_AudioWaveSeekBar

Hi guys

I came to share one of my works with you friends :)

photo_2022-08-19_16-01-31.jpg


lib PuzzleTak_AudioWaveSeekBar for b4a

Get the real waves of the audio => (local , url ) and Random Wave

Screenshot 2022-08-26 220653.png


PuzzleTak_AudioWaveSeekBar:
Dim p As Phone
    If p.SdkVersion >= 24 Then
        pt.TreadGetByteUUIDFromBytes(File.DirAssets,"la_la_la.mp3") ' use android 6 up
'        pt.TreadDownloadFileUUIDFromBytes("url music") ' use android 6 up
        Else
            pt.RandomUUID ' support wave rndom ☺♥ support all version android
    End If


(simple + lib) => url : PuzzleTak_AudioWaveSeekBar

Thank you for your support❤️
 

PuzzleTak

Member
سلام بچه ها

اومدم یکی از کارهایم رو با شما دوستان به اشتراک بگذارم :)

View attachment 133066

lib PuzzleTak_AudioWaveSeekBar برای b4a

امواج واقعی صدا => (محلی، آدرس اینترنتی) و موج تصادفی را دریافت کنید

View attachment 133071


PuzzleTak_AudioWaveSeekBar:
کم کردن صفحه به عنوان تلفن
    اگر p.SdkVersion >= 24 سپس
        pt.TreadGetByteUUIDFromBytes(File.DirAssets,"la_la_la.mp3") ' از اندروید 6 به بالا استفاده کنید
' pt.TreadDownloadFileUUIDFromBytes ("url music") ' از اندروید 6 به بالا استفاده کنید
        دیگر
            pt.RandomUUID ' support wave rndom ☺♥ از تمامی نسخه های اندروید پشتیبانی می کند
    پایان اگر


(ساده + lib) => آدرس اینترنتی: PuzzleTak_AudioWaveSeekBar
Address Edited

https://github.com/PuzzleTakX/PuzzleTak_AudioWaveSeekBar

از حمایت شما سپاسگزاریم❤️
 

Almora

Active Member
Licensed User
Longtime User
hi..
I could not run the sample application. It wants a different library. When I uninstalled the library, I couldn't run it again. Can you add a simple example?
thanks..
 

PuzzleTak

Member
hi..
I could not run the sample application. It wants a different library. When I uninstalled the library, I couldn't run it again. Can you add a simple example?
thanks..
Add the simple audio file in the assets directory
 

Attachments

  • Puzzletak_AudioWaveSeekBar(normal simple).zip
    43.7 KB · Views: 160

Almora

Active Member
Licensed User
Longtime User
hi.

I am getting this error in the last example..

java.lang.RuntimeException: An error occurred while executing doInBackground()
at android.os.AsyncTask$3.done(AsyncTask.java:325)
at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:354)
at java.util.concurrent.FutureTask.setException(FutureTask.java:223)
at java.util.concurrent.FutureTask.run(FutureTask.java:242)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:243)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at java.lang.Thread.run(Thread.java:761)
Caused by: android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.
at android.view.ViewRootImpl.checkThread(ViewRootImpl.java:6892)
at android.view.ViewRootImpl.invalidateChildInParent(ViewRootImpl.java:1083)
at android.view.ViewGroup.invalidateChild(ViewGroup.java:5232)
at android.view.View.invalidateInternal(View.java:13656)
 
Top