how to obfuscate android code . - Android Q&A, Help & Troubleshooting

hello all ,
My Issue is how to obfuscate android code which is written in java. how to highly obfuscate that code with the help of Proguard.

Related

[Q] noob: question about dalvik.system.DexClassLoader and GPL

Hello,
I would like to know if the following is possible:
1) create an Android Java app that accepts some input parameters (args[], see point 2)
-this app is derived from a c++ GPL library using NDK (it is a kind of wrapper but it is not a library itself yet)
-it just writes a file to disk according to parameters
-it is GPL licensed too and the source is available
2) make the user install it
3) call it with dalvik.system.DexClassLoader from a commercial app, that is, invoke its main with args[] and then just read the file it has produced from the filesystem.
Is GPL fulfilled? Could I do it?
Any suggestions or opinions are welcome.
Thank you in advance

[Q][ANDROID]How to android receives authToken.

Where to find the source code for getting AuthToken.
In the folder with the android source (core/java/android/accounts), I found the code only works stored in a database and extracts from it.
But I am interested in the code that makes a request to the server for AuthToken
I'm wondering which of the four methods (OAuth 1.0, AuthSub, ClientLogin and OAuth 2.0) use, because OAuth 1.0, AuthSub, and ClientLogin have been deprecated.

[Q] Binding applications to a specific IP

Hi,
These days many systems are multi-homed in the sense that they have more than one IP address bound at the same time. I.e. Wifi and VPN,
There are are at least 3 solutions to help bind an application to a specific ip.
1) Lennart Poettering has a IPv4 only version of a shim and a rather good readme available at his site.
2) Catalin M. Boie wrote another LD_PRELOAD shim, force_bind. I have not tested this one. It's capable of handling IPv6 binds.
3) Daniel Ryde has solved the problem via a LD_PRELOAD shim. With his code you can run
$ BIND_ADDR="192.0.2.100" LD_PRELOAD=/usr/lib/bind.so firefox (*)
and happily surf away.
Sorry for not providing direct links but "ALL new users prevented from posting outside links in their messages."
However a faked url with all relevant information is here:
Start by http then add daniel-lange.com/archives/53-Binding-applications-to-a-specific-IP add .html to the end of the url
Can someone provide instructions on how to build an android version of any of the given solutions (or a binary maybe) ??
Thank you

[Q] Can I Add Android Code In Java Package?

Hi,
I am trying to add some code to the File.java in java package that is located at
Code:
libcore/luni/src/main/java/java/io
in the android 4.4 stock source. For a start I would like to write some output to the LogCat via
Code:
Log.d(TAG, "File I/O happening from process " + Process.myUid());
Since File.java is in the plain java package, it does not know about Android code, so simply importing the android class in the header of the class does not work I assume.
I am pretty new to modifying the stock so I was wondering, is this even possible?
Thank you in advance.

Cross Compiling Libraries for use in Android Build

I have been struggling for the past few days to successfully cross compile the following libraries 6/6 i keep getting random and weird errors.
#openssl
#boost/1.57.0
#miniupnpc
#protobuf
#libpng
#qrencode
From c compiler cannot create executables to failure to find ifaddrs.h , none of them ended up compiled. I reasonably certain my environment is in order because some actually configure, but the build fails.
Any help would be most appreciated.

Categories

Resources