yashsingh1/xdaforums huggingface dataset:
[Android Software Development] psperl:
I am the developer of projectM. I have been working on a projectM port for Android for over a year and have just released it to the market. This is a full OpenGL ES 2 rewrite of the renderer. I am sorry that we didn't get in touch earlier to coordinate our work.

We've got standlone mode, live wallpaper mode, a preset browser, preset ratings, auto-downloading of presets, automatic microphone and audio input detection, and more.

For some reason tegra 2 devices run a little slow, and I am in the middle of testing on a Galaxy Nexus. My SGSII, original SGS, and my co-developer's G2 all run like a dream. I am about to push an update to the Market with some minor tweaks.

https://market.android.com/details?id=com.psperl.projectM
[Android Software Development] nubecoder:
Kind of a downer.

Also, would be great if you put out a limited/trial version (even a time limited version like PowerAmp).

Just my $0.02...

=]
[Android Software Development] dLeTe:
All presets?

There were some functionality issues with a list of presets when using Androp. Is that persistent with your Official ProjectM?
[Android Software Development] psperl:
Nope, there is a preset browser and playlist support in official projectM. Works like a charm.

---------- Post added at 07:57 AM ---------- Previous post was at 07:56 AM ----------

It doesn't actually require Android 2.3.7 an up. I am not sure why the Market says that. It requires Android 2.3.3 (API Level 10). My own phone isn't at 2.3.7.
[Android Software Development] mnjm9b:
What is really a bummer is I can't purchase apps from market...

Odd that all other projectm is gpl with source available...

Maybe a free and a donate version would be better...

Along with a separate donate link for those of us with no market...

Just a thought...

I know there are many users that have the same issue with the market. It just kills me when something this cool only sells through the market.

Thanks for such an awesome port though...
[Android Software Development] psperl:
Why can't you use the Market? Can you buy from Amazon? I've heard of this stuff before, just never understood why.

About the GPL and not releasing the source: I developed projectM so I can license it to myself without having to release the source if I want to. Really, I've spent almost a decade writing projectM and am just trying to make a little cash. Carm and I reverse engineered Milkdrop years before they released the source, and did it with a different rendering API. That took a long time! Previously, there was no reasonable way to charge a small amount. The market solves that. I'm sorry if it seems greedy but $2 won't even buy me a beer.

I expect to eventually release the source, but I'm not in a rush. I am open to distributing this by other means if it helps you guys.
[Android Software Development] mnjm9b:
Don't get me wrong...I surely appreciate your work and agree you deserve to be compensated...

I don't know why I can't buy apps from the market...I tried to troubleshoot this a while back but gave up...there is no logical reason...I have tried with several different roms too...it just doesn't work.

I think it may be related to not having a data plan...I only have wifi.

Like I said...donation versions and a donation link are great ways to get revenue... also you can go the ad revenue route for a free version.

Being on Linux I was overjoyed to see projectm come to life...

Your hard work is greatly appreciated.
[Android Software Development] psperl:
I hate ads, but they might be effective for something like projectM. What could be more annoying than an ugly ad inside a music visualizer.
[Android Software Development] saramon:
Ya, could you pleassseeee put this on the amazon market, or anywhere else. I cannot download paid apps from the market, it just won't let me. I tried to buy it today, it gave me a purchase error. I tried again, and again. Now it says purchased but it won't download. New market stinks or something.
[Android Software Development] psperl:
Yeah I'll put it up on the amazon market. I'm not sure how long that takes but I'll look into it tonight.

Edit: Just submitted it to Amazon. Unlike Google's Market, it needs to be reviewed by Amazon, so I can't say how long this will take to be available.
[Android Software Development] Dj-Gutz:
Any chance of seeing ProjectM as a Widget?

I would love that on my tablet
[Android Software Development] nubecoder:
Thanks for all the responses.

And knowing 2.3.3 is the requirement is a great thing.

I also hate ads, but I think trial / limited version wouldn't be a bad way to go here. Maybe a limited version that only gives access to one (or two) preset(s)?

Either way, you just got my $2 (enjoy 1/2 a beer on me).

;]

ps- It's running pretty good on my Epic 4g (og).
[Android Software Development] ugothakd:
Its about to run good on mine too. /me goes purchases app to account

sent from my always aosp epic
[Android Software Development] psperl:
Yeah why not. Sounds like a good idea. I might not get to it until after the holidays because we are still tidying up things. I have a Galaxy 10.1, so I can get pretty far with that.

Also, we added preset search support and a help page today. The search feature is pretty cool. Carmelo wrote that piece. I just uploaded it to the android market, it should be available shortly.

Edit: Unless I am not looking at the right docs, I don't think it is possible to render widgets 30 times a second, let alone with OpenGL. Have you seen any other widgets that work like this? Also what tablet do you have? Does projectM run well? My Galaxy 10.1 is slower than I think it should be. I am curious if all the tablets are like that. I need to spend some time working on it.
[Android Software Development] saramon:
I don't know how, but the update that was released kicked the market in the butt and now I can download it HOOORAAAYYY
[Android Software Development] psperl:
I'm not sure if you are talking about a Market update or a projectM update but I just can't figure out how the market decides who can download what. It says my phone isn't compatible, yet I developed it on this phone, WTF!
[Android Software Development] Dj-Gutz:
I haven't seen any widgets like that but I think it will be pretty awesome if it can be done ( even if its only on ICS for example.. )

Sorry , I haven't tried running it yet since I don't have my credit card details on my Google account

I actually have almost no use in ProjectM without a widget option

I own a Nook Color ( running buggy ICS atm ) which will be mounted in a car , replacing my car-pc

Can you release a one-preset or demo version so I can test the performance? the nook has SGX530 , so the frame-rate will probably be even lower than the galaxy 10.1 ( Tegra 2 right? )

I'm guessing the lower fps on tablets might be because of a bigger resolution , but if we are talking about a widget the resolution can be much lower since it's only displayed on a small part of the screen ( maybe a resizeable widget with rendering quality / resolution options will be best to suite multiple devices with different gpu's )

Of course , all of this considering it can be done :D

Thanks

Edit :

found this , a bit old and maybe outdated but a good start

http://stackoverflow.com/questions/3953604/maximum-refresh-rate-of-a-widget

https://market.android.com/details?....widget.animatedrollingclockLITE&rdot=1&pli=1

I'll keep on looking for opengl implementation on widgets
[Android Software Development] psperl:
projectM renders internally to a framebuffer object and then to the screen, so screen resolution is mostly irrelevant. My Galaxy S II (480x800 screen) runs at the same internal resolution (1024x1024 texture size) as my Galaxy 10.1 (1280x800 screen). Also, projectM is not very resource intensive, so I think the Nook might work very well. I suspect Tegra 2 doesn't like some OpenGL call I'm making. I just haven't spent much time optimizing it yet for those chips. I'll get there.

I agree I need some sort of free demo version, I'll think about how to get that done.
[Android Software Development] Dj-Gutz:
Great , subscribed & looking forward for updates :)
[Android Software Development] mnjm9b:
@psperl....

not to be a Scrooge but you kinda hijacked this thread...

maybe you should start your own thread so you can control the OP and be more relevant to the remainder of the thread that its in...

(even though the name of this thread is..."ProjectM (Milkdrop) for Android")

just a thought...

feel free to ignore...lol
[Android Software Development] nubecoder:
I kind of agree, post a link in this thread to the new one and let this one die out (it's kinda pointless now since you have officially ported the project and it's on the market).

And when you release the sources, you could drop the link in here also for good measure. ;]

ps- Special thanks to AerialX for giving us all a taste of what was to come.

=]
[Android Software Development] psperl:
You guys are right.

The new projectM thread
[Android Software Development] AerialX:
Haha, awesome. Guess I was too late :P

Thanks for all of the support in this thread, I apologize to you guys for not getting the time to finish mine. In the end it's much better this way anyway :)

nubecoder: ohai, I remember you as that guy who wrote the file combiner for superdump.

psperl, I hope you do end up releasing the source at some point. In fact I'll have a number of rhythm games that I'd love to use it in, though I'm not sure how you would license it for LGPL-incompatible platforms.

In case anyone's interested in my port, I've thrown it up over on github here. It's just a basic shaderless build of projectM 2.0.1 for OpenGL ES1, with a few random optimizations in hot spots and some framebuffer hacks for speed.
[Android Software Development] twistedvegan:
force closes every time

Not sure if it's a bug with the rom or project m but it force closes every time I try to run it on Cm9 :-(
[Nexus One Android Development] TheMasterBaron:
OK, I have written an app to attempt and stop call wonkyness on CM7 builds. Specifically the phone locking up when making and receiving calls.

It's my observation that it's the mic that causes the phone to lock up and so this app opens and closes the mic every minute to keep it "fresh". It's a long shot, but I can't seem to duplicate wonkyness with it enabled so I'm posting it for other to try.

Now after a few positive comments to help boost my confidence in the app, I've made it's own thread to make it easy to track comments.

Just install and run (or just reboot as it auto-start on boot). To disable, uninstall it.

Please post your results!

Change Log:

Version 1.4

Made service more persistent by adding notification bar. Turns out, Android was killing off the service when memory was running low causing wonk to surface.

Version 1.3

Can only be installed on internal memory. Needed to make sure the service can started up on boot. (Thanks to mjukis for pointing this out)

Version 1.2

Only dewonkificates when screen is off to avoid conflicts with any apps you may be using.

Removed debug logging
[Nexus One Android Development] pzumk:
[Post edited because the wonkyness is still there and this .apk works fine to fix it]
[Nexus One Android Development] makelegs:
Dude.... As best as I can tell in 20 minutes' time, this damn thing seems to actually work! Gotta tell ya how skeptical I was....but I'm pretty flippin' pleased right now!

Good looking out!! :D
[Nexus One Android Development] baseballfanz:
Much appreciated for this app.:D

While it's still too early to say it's 100% working, so far so good.

I have had the wonk since build 3 to 23 (except for 16).

I will keep testing and report back often.
[Nexus One Android Development] TheMasterBaron:
That's great news and I'm happy that it looks like it's working for people. I was on the edge of rolling back and this was a desperate attempt to fix it. :D
[Nexus One Android Development] pahardie:
Agree with the op. Can't say for sure its the miracle I've been waiting for... but 4 calls in (admittedly 2 from myself, :-) ) no wonks. When I'd expect all to be wonky

If this 'wonklessisity' continues you will surely become supreme ruler of xda!

Will report back soon.
[Nexus One Android Development] makelegs:
What are your thoughts and battery impact?....and would some timeframe greater or less than 1 min. factor in??
[Nexus One Android Development] shaggy-h:
Does this fix it?

http://review.cyanogenmod.com/#change,2642
[Nexus One Android Development] baseballfanz:
No, that's a different problem.
[Nexus One Android Development] TheMasterBaron:
Currently I can't see any measurable battery drain. Dewonkificator doesn't even show on the About phone->Battery use screen. Increasing the time between dewonkification might be work, but since battery doesn't seem to be a issue and we don't know what the source of the problem is I don't think its worth risking or investigating.
[Nexus One Android Development] B1ny:
I also believe it have something to do with the mic, since all apps that use it have the same freeze, and it seems to work for me. Thanks :-)
[Nexus One Android Development] makelegs:
Seems reasonable enough, to me.
[Nexus One Android Development] fidorulz:
Maybe watchdog would be a better app for checking. Would give us a better idea of CPU use. Also juice plotter may help see prior and after install battery consumption
[Nexus One Android Development] bimasakti85:
I've tested it,and havent got any wongkiness for today. I think its working...
[Nexus One Android Development] fitsnugly:
Got source?
[Nexus One Android Development] TheMasterBaron:
Added to the OP
[Nexus One Android Development] fitsnugly:
gracias! :)
[Nexus One Android Development] Dirk:
You deserve an E-Cookie for coming up with such an awesome name :)
[Nexus One Android Development] temasek:
Wonky just visited me when my wife called. Installed your dewonky app for testing.

Thanks.
[Nexus One Android Development] FunkyMcBain:
This bug is the reason I got off CM7 nightlies, so damn annoying. Maybe this is a Gingerbread thing rather than a Nexus S problem cause the Nexus S is supposed to be rebooting itself while in calls as I'm sure everyone knows.
[Nexus One Android Development] baseballfanz:
Black screen is a GB issue.
[Nexus One Android Development] Chosen_on184:
Only rears its head when i have this app installed. Like i said i went without it for a few weeks and it never showed up.

Installed this app and withing 5 minutes phone became unresponsive.

Not bashing the app, it works for the majority, however it has been mentioned in a few kernel threads that this app does cause it.

I know the call wonk (delay before someone can hear you) is a GB issue. The black screen to my knowledge is not.
[Nexus One Android Development] Bay Harbor Butcher:
Hi..I love this app but I hate to have any icon in my notification bar.

I installed latest release and I have a little android in my bar.

Is it possible to delete it keeping the app working?thanks..
[Nexus One Android Development] richua:
There's a version somewhere here in this thread with a blank icon. It still occupies an icon space in the bar but you don't see it.
[Nexus One Android Development] Bay Harbor Butcher:
thanks..but I have huge problems with dewonkificator and my N1 with CM7.

Phone freezes and need to remove battery..

It is quite strange,I used this app for more than 1 month with first releases of CM7 and never had one freeze.
[Nexus One Android Development] Chosen_on184:
Yea its a side effect of running dewonkificator. I had that issue for quite some time before i narrowed it down to this app. Went without the app for a month and dealt with the call delay bug and never had a wake issue.

Soon as i installed and ran the app again wake issues started up again.
[Nexus One Android Development] new2smart:
I am using I897 with CM 10.1.3-RC2 currently but as far as i can remember have always have this issue of caller unable to hear me when I answer the phone until about 10secs (I looked at the timer on the screen) on most calls. I have no issues if I am the one calling.

I tried Dewonkifier and also call delay patch but none works. What can be done about this? Its frustrating as its as good as not having a phone since I can't answer incoming calls like how a phone should.
[Nexus One Android Development] fitsnugly:
I believe the wonk is only an N1 thing... CM7 works perfect on my wife's espresso.
[Nexus One Android Development] TheMasterBaron:
Nom Nom Nom Nom
[Nexus One Android Development] eug89:
Is the N1 the only one, among the cm7 supported devices, that has a double microphone for noise cancellation? If yes, could the wonkiness be related in someway with this?
[Nexus One Android Development] myakove:
Thanks the problem gone, till now I had the problem on every call
[Nexus One Android Development] WaPeR32:
Thanks for this temp solution for the annoying issue ;)
[Nexus One Android Development] Bay Harbor Butcher:
In order to prevent battery drops,can you update this app with open/close mic every 2 or 3 minutes?

I don't know which is the exact time this issue happens..but two minutes instead of one would halve the loss of battery caused by the application.3 minutes would third it..

what do you think?
[Nexus One Android Development] TheMasterBaron:
If I had any evidence that this actually drains the battery I might consider it. But its a temporary solution anyway and I got other stuff I can be doing.
[Nexus One Android Development] baseballfanz:
I don't see any different in battery drain. If there was any kinda drain, it's not enough to offset the good this app is doing.:D
[Nexus One Android Development] temasek:
Agreed .....
[Nexus One Android Development] B1ny:
I can't find any evidence of extra battery or CPU usage either.
[Nexus One Android Development] B1ny:
This app fixes the original wonk, but i have a new one. Don't know if its CM or Dewonkificator, on outgoing calls i have to switch over to speaker before they can hear me. Anyone else?
[Nexus One Android Development] TheMasterBaron:
Are you using Wildmonks or some other kernel? I had this problem with Wildmonks when I first wrote it.
[Nexus One Android Development] baseballfanz:
I've never experience that.

Outgoing calls would freeze the phone and you can't switch to speaker phone or do anything like hang up,ect.
[Nexus One Android Development] B1ny:
Std cm7 kernel, its been like this for the 2-3 latest nightlies.
[Nexus One Android Development] dcplaya:
Update to the newest nightly (build 28)

it should have the wonkiness killed dead... hopefully!
[Nexus One Android Development] rivera618:
I'm on nightly 28 and still get the wonk with outgoing calls. I can great people but they can't hear me. I haven't tried switching to speakerphone to see if that helps. I'll try to get a log next time it happens.
[Nexus One Android Development] Bay Harbor Butcher:
Ok..anyway..thanks very much for this patch!!

A question..are you creating other apps?Or are you working on battery percentage to be merge in CM7?:-)

I hope for the second question..
[Nexus One Android Development] daveid:
So, every minute this runs causing the event log to show this:

02-03 08:23:00.681: ERROR/MediaRecorder(908): stop failed: -1007
02-03 08:23:00.681: ERROR/Dewonkificator(908): recorder.stop()
02-03 08:23:00.681: ERROR/Dewonkificator(908): java.lang.RuntimeException: stop failed.
02-03 08:23:00.681: ERROR/Dewonkificator(908): at android.media.MediaRecorder.stop(Native Method)
02-03 08:23:00.681: ERROR/Dewonkificator(908): at com.mb.dewonkificator.DewonkificatorBroadcastReceiver.onReceive(DewonkificatorBroadcastReceiver.java:45)
02-03 08:23:00.681: ERROR/Dewonkificator(908): at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:709)
02-03 08:23:00.681: ERROR/Dewonkificator(908): at android.os.Handler.handleCallback(Handler.java:587)
02-03 08:23:00.681: ERROR/Dewonkificator(908): at android.os.Handler.dispatchMessage(Handler.java:92)
02-03 08:23:00.681: ERROR/Dewonkificator(908): at android.os.Looper.loop(Looper.java:123)
02-03 08:23:00.681: ERROR/Dewonkificator(908): at android.app.ActivityThread.main(ActivityThread.java:3812)
02-03 08:23:00.681: ERROR/Dewonkificator(908): at java.lang.reflect.Method.invokeNative(Native Method)
02-03 08:23:00.681: ERROR/Dewonkificator(908): at java.lang.reflect.Method.invoke(Method.java:507)
02-03 08:23:00.681: ERROR/Dewonkificator(908): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841)
02-03 08:23:00.681: ERROR/Dewonkificator(908): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599)
02-03 08:23:00.681: ERROR/Dewonkificator(908): at dalvik.system.NativeStart.main(Native Method)

this is the expected behavior? Or is this an indication that something isn't right on my end?
[Nexus One Android Development] TheMasterBaron:
If its preventing your phone from wonking, then yes, its normal
[Nexus One Android Development] EnhancerFIN:
Been using this with the latest nightly, and those blank screen -wonks are gone.

Sometimes, no matter if it is imcoming or outgoing call, I have to mute the call first, and then unmute it before others will hear my voice.
[Nexus One Android Development] daveid:
Hilarious, how do I know it's preventing my phone from wonking? How do I know it is doing what it is supposed to be doing?

Crazy thing is... I don't, so I asked. All you had to do was say that this is how it works, for all I know (usually errors mean something isn't working) it is not working properly on my phone thus the errors, and I may as well get rid of it.

Seeing as you wrote it, you should be able to give a simple answer to a simple question, instead of the usual dismissive XDA reply we have gotten so used to ditching out lately. It's not like I asked you to explain your theory of existence to me, just if the log shows that your program is running properly or if something is wrong on my end.

People need to chill the hell out around this place, we are all supposed to be here to help one another out.
[Nexus One Android Development] baseballfanz:
Do you still get call wonkiness?

If the answer is no than it's working, don't get too technical with the log and stuffs.:D
[Nexus One Android Development] daveid:
That is a really bad way to look at things.

Under your reasoning, I could tell you that I created a wonderful new product that prevents cancer. It works because I use it and I don't have cancer. If you want one I will sell you one (heck I'll give you one) but, if it ever displays an error message, just ignore it unless you end up with cancer... Then you will know it wasn't working.
[Nexus One Android Development] fitsnugly:
*dishing ;)

KIDDING
[Nexus One Android Development] daveid:
Good catch, took me a minute to figure out what you were on about, think I'll leave it the way it is...
[Nexus One Android Development] TheMasterBaron:
I suggest you don't install this app unless you are having wonk issues (i.e screen locks for 20 seconds when getting or making calls). If you are and installing this app stops it from occurring, then it works.

The thing is that I don't know how it works. The wonk is a mystery bug and this a random attempt to fix it. I spend little time understanding why it fixed it, it just did.