EndLessMind's Profile User Rating: -----

Reputation: 193 Stalwart
Group:
Expert
Active Posts:
1,098 (0.56 per day)
Joined:
13-March 09
Profile Views:
16,817
Last Active:
User is offline Jul 08 2014 05:48 PM
Currently:
Offline

Previous Fields

Country:
SE
OS Preference:
Windows
Favorite Browser:
Chrome
Favorite Processor:
AMD
Favorite Gaming Platform:
PC
Your Car:
BMW
Dream Kudos:
200
Expert In:
Android

Latest Visitors

Icon   EndLessMind Assigning myself to the Pause-method

Posts I've Made

  1. In Topic: Android MediaPlayer -1004 IO Error

    Posted 30 Jun 2014

    Yeah, 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.
  2. In Topic: Visualizing sound from the microphone

    Posted 12 Mar 2014

    View Postdinashehada, on 26 January 2014 - 10:55 AM, said:

    and 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.

    View Postalbinf, on 08 March 2014 - 11:10 AM, said:

    View PostEndLessMind, on 03 December 2013 - 05:36 AM, said:

    It is on it's way :)


    Hi EndLessMind, can you please send me the fixes too?(my mail id is ersi8906@hotmail.com) i'm running the app in my nexus 5 but it doesn't even start. when i run, it just blocks...
    thanks in advance



    View Postalbinf, on 11 March 2014 - 11:10 AM, said:

    View Postdinashehada, on 26 January 2014 - 03:46 AM, said:

    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)

    View Postalbinf, on 12 March 2014 - 04:09 PM, said:

    View PostEndLessMind, on 08 December 2012 - 03:08 PM, said:

          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;
    
    


    Any idea??


    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.

    Attached File  Tutorial Sound Visualizer.zip (1.39MB)
    Number of downloads: 163
  3. In Topic: PROBLEMS WHEN CAPTURING SCREEN

    Posted 10 Mar 2014

    For 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
  4. In Topic: How to show some videos of a remote folder (server)?

    Posted 8 Mar 2014

    Okay. 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. :)
  5. In Topic: How to show some videos of a remote folder (server)?

    Posted 4 Mar 2014

    I'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

My Information

Member Title:
These are the droids you're looking for
Age:
22 years old
Birthday:
May 18, 1992
Gender:
Years Programming:
4+
Programming Languages:
C++, VB .net 2005/2008/2010, C#
Java/Android

Contact Information

E-mail:
Click here to e-mail me
Website URL:
Website URL  http://www.lanslaget.se
Facebook:
Pontus EndLessMind Holmberg
Xfire:
pontis

Friends

Showing 50 random friends of 9

Comments

Page 1 of 1
  1. Photo

    H3R3T1C Icon

    01 Jan 2013 - 02:37
    Congrats on the promotion to expert!
  2. Photo

    EndLessMind Icon

    10 Jun 2010 - 14:37
    Don't be shy :)
Page 1 of 1