eduardomanta / apdfviewer

Automatically exported from code.google.com/p/apdfviewer
GNU General Public License v2.0
0 stars 0 forks source link

How to build this project? #7

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Any help please? Tutorial maybe...

Thanks.

Original issue reported on code.google.com by vasi...@gmail.com on 20 Oct 2010 at 2:51

GoogleCodeExporter commented 8 years ago
APDFViewer depends on some internal libraries of android, so it cannot be built 
by using NDK. To build the project properly, you should get android source code 
and put APDFViewer's source into packages/apps to build it.

Original comment by liwenha...@gmail.com on 10 Jun 2011 at 4:18

GoogleCodeExporter commented 8 years ago
can you guide how to build this project step by step.

Thanks.

Original comment by Fadhlan....@gmail.com on 18 Jul 2011 at 11:20

GoogleCodeExporter commented 8 years ago
can you help me show guide how to build this project ???

Original comment by ngosylie...@gmail.com on 20 Jul 2011 at 10:27

GoogleCodeExporter commented 8 years ago
yes any one please provide tutorial or steps how to use apdfviewer in your 
application?

Original comment by mr.musku...@gmail.com on 20 Jul 2011 at 4:48

GoogleCodeExporter commented 8 years ago
I guess u need to use BDK http://developer.android.com/sdk/ndk/overview.html

Original comment by faraj...@gmail.com on 22 Jul 2011 at 8:04

GoogleCodeExporter commented 8 years ago
Here is how I compiled it:

1. Downloaded Android OS source from
http://source.android.com/source/downloading.html
I was compiling for Android Version 2.2, so I checked out froyo branch from the 
repository (NB! for froyo you need sun-java5-jdk when compiling Android OS)

2. Placed the trunk version of APDFViewer to the packages/apps directory of 
Android OS source code.

3. Compiled the whole android os code, instructions are here 
http://source.android.com/source/building.html. APDFViewer will compile 
together with Android OS if you placed it in correct dicrectory.

4. Resulting PDFViewer.apk file will be in 
out/target/product/generic/system/app/ directory.

NB! for some reason I couldn't compile Android OS on Ubuntu 11.04, compiler was 
giving bunch of errors all the time. But on on Ubuntu 10.04 it compiled 
perfectly well.

Original comment by murad...@gmail.com on 29 Jul 2011 at 8:37

GoogleCodeExporter commented 8 years ago
yeah, i builded error on ubuntu 11.04, i dont understand, message error is: 
Note: Recompile with -Xlint:deprecation for details.

Original comment by ngosylie...@gmail.com on 1 Aug 2011 at 10:19