Using LAME MP3 library

by PAolooo » Tue, 25 Jan 2011 02:54:56 GMT

Sponsored Links
 I am planning to write an application that can encode audio in MP3. It
seems to me the only way of doing it is to port LAME library. So I saw
that I can either:

1. use Scratchbox to compile the library and write a small JNI
wrapper. Doing so I should be able to use the original
building script of the library
2. Integrate LAME C code directly into my project, and use ndk-build.
But I am slightly frighted I would struggle to make all the code
compile and work

Which would e better?



Re: Using LAME MP3 library

by R » Mon, 21 Feb 2011 06:10:59 GMT

 compiling lame for Android ARM using NDK is very easy actually
Here is the link to blog post: 


Sponsored Links

Other Threads

1. Can compass be used to separate linear acceleration from gravity with accelerometer?


I want to be able to detect vertical movement (relative to the z-axis)
on an Android phone. This can be done with just the accelerometer with
some degree of accuracy. However, I see that in Android 2.3 there are
now separate Gravity and Linear acceleration "virtual sensors", that
apparently will use the gyroscope (when available) to separate
accelerometer data into gravity (useful for detecting orientation) and
linear acceleration (useful for detecting movement).

The phone I'm using does not have a gyroscope, but only an
accelerometer and compass. Is it at all possible to use the compass to
separate linear acceleration from gravity in the accelerometer signal?

High-pass filters are a bit simplistic for my intended use, because
they don't really help detect whether movement is up or down and using
raw accelerometer data leads to orientation changes looking very
similar to linear movements.


2. Attention: Web application developers! Exciting event on Feb 26th in Pune (WebApps 2011)


SiliconIndia is organizing WebApps 2011 at Pune on Feb 26th,
2011.Drawing well-renowned thought-leaders, contributors,
influencer's, and organizations in the Web Development space, the
conference offers insight to develop industry-leading Web Development
projects. The conference brings together web developers, web designers
technology enthusiasts, innovators, vendors, and users to experience
the future of Web Applications.

Web-based applications are revolutionizing both the features that can
be delivered and the technologies for developing and deploying
applications. They also involve a diverse collection of issues and
technologies.We have lined up some of the best speakers and the
sessions & networking will be of the highest order.Get hands-on
technical training and gain new skills. WebApps 2011 guarantees
perfect networking and exciting learning success in workshops,
sessions, discussion panels & fascinating keynotes.

5 New Skills that Every Web Designer Needs to Know
Progressive CSS3 Design
How to Build a HTML5 Website - Live Demo
Accessibility in Web Design
Icon Design

Who should attend: Web Application Developers, Application Managers,
Web Architects, Web and Graphic Designers, Web Development Managers,
Web Strategists, Web Technologists, Business Strategists, E-commerce
Managers, Product Managers, Technologists and Entrepreneurs and Others

DATE: Feb 26, 2011 (Saturday)
TIME: 8.00 AM to 5.30 PM

We have limited Seats. Registration for this game-changing Symposium
is by invitation only. Attendance is limited to maintain an intimate
setting and foster dialogue among all participants.

To request an invitation, please visit:
and complete the  form .

And also you can NOMINATE your colleagues and friends who ever is
interested in attending this event.

We will review your submission and let you know. Once we qualify you,
there will be a registration fee of Rs 500 only. This is towards:
Access to Sessions, Tea/ Coffee & Refreshments and Lunch.

Here's your chance to meet tech leaders and get expert instruction and
hands-on tutorials to create the best web applications, tools, and

Thanks ,


3. Problem in Handler

4. Unable to recover key : Message when exporting android project using Eclipse for release

5. Media Controller in VideoView should never disappear

6. Receiving Exception 'java.lang.RuntimeException: setParameters failed' while using NyARToolkit in Android 2.1

7. Media metadata update