Is there a way to send -D directives to an android app? On desktop java I would just do java -Dsomeflag=value.
How would you do this on android? I am building with eclipse.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I assume you want to do this because you want to have conditional
ifblocks for debugging. You can setandroid:debuggable="true"in your manifest:and then test for it like this: