[Q] How to include an android library in an android project with mm - Android Software/Hacking General [Developers Only]

Hi everyone,
I have an android library ("is library" checked on eclipse) that i'd like to include in my android android project.
Everything compiles fine on Eclipse, but for some reasons I have to compile it through the android.mk of my project.
I tried to include my library as a subfolder of my project, and got this in my application's makefile :
include $(call all-subdir-makefiles)
But the links are not made between the library and my project...
How can I solve that ?
Thanks in advance

Related

[HELP] Compiling Launcher2 from source?

I'm trying to learn how to modify certain android components but I'm having trouble compiling from source.
I downloaded Launcher2 from cyanogen git://github.com/cyanogen/android_frameworks_base.git but Eclipse says it can't resolved some classes.
Some of these classes belong to other repositories like android_framework_base core and graphics. Do I need to bring the sources for these too? will these get compiled into -the Launcher making it huge? What is the correct configuration for eclipse to compile individual apps?
Thank you in advance.
i have the same problems with u~
yes, you need the whole android tree.
then do:
make Launcher2
hope that helps.

[Q] porting Snort on Android

Hello all,
Is there a way to port Snort to Android OS? I have already ported
libpcap to Android and I have made some simple native sniffers which worked
perfectly.To do this, I used the NDK development kit that offers you some
tools for cross compiling C programs to ARM architecture.
Is this possible to do it for Snort. I know that Snort is a big project that
contains many source files and uses many modules such as Libpcap, PCRE,
Libdnet, Barnyard2, DAQ. I am wondering if is there a way to build
this code for Android.. E.g. by statically link all this modules.. Moreover an
other potential problem may be the fact that Android uses a subset of libc
(bionic), so maybe some basic functions are not available..
Have anyone done it before? Or, can some one give me some help on how
to start?
Thank you in advance,
Thanasis

[Q] How to build wpa_supplicant

Hello, I'm complete newbie to this android world.
I followed the instructions in AOSP
and now I have build tree and it looks like java-related source codes are compiled.
I want to compile external/wpa_supplicant.
Any comments or references would be great
JY

[Q]compiling Qt applications using prebuilt NDK toolchain

Dear all,
What would be the main problem of compiling Qt applications for android (Imagining we have root access on android) using prebuilt NDK toolchain arm-linux-androideabi-gcc, and running the executable on Android phone?
I'm awaire of Necessitas project, and how much easy the work of a developer would be using Qtcreator with Necessitas. But this would create an .apk.
What if I like to compile the code into executable and use Qt and NDK libraries?
Is it technically/practically possible?
Any hint would be appreciated.
Saeed

Compile an .apk from Cyanogen source

Hey I'm looking into compiling an apk from the app source provides in Cyanogen but I'getting errors in eclipse
Correct me if I'm wrong but do we need to sync the entire repo of cyanogen just to compile a single apk

Categories

Resources