john bean

Ranch Hand
+ Follow
since Nov 12, 2016
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by john bean

Hi i have to update sdk on a project or get kicked off play store the problem is whe i try open the project i get error


and the classes just open as



anyone have any idea what the problem could be? and more importantly how to fix?

thanks
5 months ago
hi i am trying to attach effect to system sound i get no errors but the effect does not work


it gives no errors  in log cat not sure why it does not apply
5 months ago
hi i am getting strange error when running foreground service i know code works as i took it from another app i made but am getting error



no pop up appears on device and have tried it on emulater same error

main activity launching service



onstart service



manifest



not sure what is causing  and api and google cant point me in direction any help or link would be great thanks
5 months ago
          manager.createNotificationChannel(new NotificationChannel("name", "Muter", NotificationManager.IMPORTANCE_DEFAULT));
5 months ago
thanks for help odd im not using network but thanks i could not find anything about error -3
5 months ago
i i am trrying to apply audio efect virtualizer but it crashes at runtime and am finding it hard to find any doc on issue
mainnactivity


the stacktrace


i have permissions

anyhelp would be great thanks
5 months ago
hi to effect all aoudio you dont use mediaplayer and grab the session id you just set you session id to 0 which effect all audio but you cant use audio effects like reverb but i got my eq working thanks for replys hope this helps someone
6 months ago
hi i needed to remove example from my project name and to do this i copied all my classes and dependencies to a new project with a new name but am now getting this error and cant figure out why one project works and the other doesint ?? the error is



my build.gradle is


wouold one prject work while the other gives this error? thanks
6 months ago
hi to set effects you give id of 0 when your create a mediaplayer it gets an id such as 1141 and you can


but i need to set it to system sound ie. 0 not a mediaplayer is there a way to do this?

kind regards
6 months ago
thanks for reply i tried that but couldint work it out

https://coderanch.com/t/781456/mobile/play-byte-array-mediaplayer

seems you have to write it to a file not sure how that would work as im trying to effect audio on device as it plays
7 months ago
Hi i am trying to build an equilizer for my samsung i have the equilizer done but how do you capture audio from the system for nwerer sdk there is audio capture class but it was only intrduced since android 10 so how could it be done for older phones there doeint seem to be a way to use AudioRecord and feed it into mediaplyer but there must be a way as there are many equilzers on play store that work. any help would be great thanks.
7 months ago
i am trying to capture audio into array and play it through mediaplayer with audio effects but am having problems setting the mediaplayer source and was wondering if it could be done



thanks for any help provided have been reading api for an hour
8 months ago
hi i have tried a number of ways and from java setting if as drawable but they background never alters i have also tried altering color but it still remains white if anyone could point me in the right direction


 
8 months ago