Reputation: 194 Stalwart
- Active Posts:
- 1,098 (0.54 per day)
- 13-March 09
- Profile Views:
- Last Active:
- Jul 08 2014 05:48 PM
- OS Preference:
- Favorite Browser:
- Favorite Processor:
- Favorite Gaming Platform:
- Your Car:
- Dream Kudos:
- Expert In:
Posts I've Made
Posted 30 Jun 2014Yeah, i know about that. You just need to reinstall the Android ADT.
My problem, occurred on almost any Android version (from 2.3.3 and up) without even updating the app.
So, no code change, stream is still the same and from the same source. So it's really strange.
Posted 12 Mar 2014and where exactly in the code are changing recorded bytes into fft ? what should I do if I want to display the raw signal as recorded?? please help me I am very new to the canvas concept T.T
For this visualization you don't need FFT, we are working with raw data.
Hi Thank you,
but I have a comment Iam trying this on a nexus 4 but the output signal does not seem to look like a sound wave it's very different and i was wondering how can I make it a little slower or make the (duration) of the visualizer larger so the signal would be clearer
The same issue in my nexus 5..did you solve it??
I've attached the code with the fix in this post.
I can't remember what the problem where, but i think i fixed it (can't remember that either)
int BuffIndex = (mBuffer.length / 2 - paramCanvas.getWidth()) / 2; int mBuffIndex = BuffIndex;
Why do you initialize the BuffIndex this way?
Initializing this way I find an ArrayIndexOutOfBoundException in
int StartBaseY = mBuffer[(mBuffIndex-1)] / scale;
Yeah, the code is not perfect.
Wrote it in like 2 hours.
Check the attached project, there should be some fixes in there, but can't remember exactly which.
and to everyone, sorry for the late response.
Tutorial Sound Visualizer.zip (1.39MB)
Number of downloads: 207
Posted 10 Mar 2014For privacy and security reasons there is not api-call you can make what will do the hard work for you.
The code you're using only takes a screenshot of the view that you specified and only within your own activity.
What you could do is, get the framebuffer and then decode it, as it only return the data in RGBA format.
But, you'll need root or signature permissions
Quote"A permission that the system grants only if the requesting application is signed with the same certificate as the application that declared the permission"
ADB has more permission then a app, so you will be able to read fb0 in the adb shell without root but you will not read it within the app without root.
Hope this helps in some way
Posted 8 Mar 2014Okay. With a FTP server, it would work similarly, but the url would be like http://*ip*/videos/test1.mp4
I would storage the url's in a MySQL database, and use a PHP script to get the url to the desired video (like searching for a video or what ever)
But you don't need a download manager to watch the videos, you could just stream them directly from the server using a VideoView or MediaPlayer and the url.
Posted 4 Mar 2014I'll give you some help.
For the server-side. Use a FTP-server.
That way you can just use a VideoView or MediPlayer to just stream the video via an url
Hope this helps
- Member Title:
- These are the droids you're looking for
- 22 years old
- May 18, 1992
- Years Programming:
- Programming Languages:
C++, VB .net 2005/2008/2010, C#