-1

I am making an android game using Python.An i was wondering if it is possible to write closed source android program with python?

Sam
  • 11
  • 3
  • 1
    Of course it is possible. What, precisely, is your concern? – Robᵩ Apr 22 '16 at 16:08
  • Closed source stands for the idea that no one without authorization can see the code you used to create a piece of software. Once a computer program has been built what you really do is give out a copy of the binary version (only a computer can understand this). – ScarletMerlin Apr 22 '16 at 16:12
  • I want to earn money by adding advertisements and making in-game sales with the game i made. – Sam Apr 22 '16 at 16:17
  • Thank you for your answer. And I'd like to know is how can I make a binary version. And can android read binary version(I think answer is "yes" but I asked just to be sure) – Sam Apr 22 '16 at 16:19
  • You really want to do Android development. Python isn't really the solution here, unless you are unwilling to learn Java. Android doesn't have a widely installed Python interpreter, but has a pretty good ability to run Android apps. Check out Android Studio if you haven't tried any Android development before. – Sam Apr 22 '16 at 18:14

1 Answers1

1

Assuming you aren't re-using code under some sort of open-source license you don't have to post your code for anyone to see.

I believe you mean that you want to write Python code that can't be read by humans. That is pretty difficult in Python and the best you can really hope for is obfuscation.

Sam
  • 330
  • 1
  • 4
  • 11
  • Thank you for your concern. How can I obfuscate by the way? – Sam Apr 22 '16 at 16:20
  • Theres a few different ways to do it, check [this answer](http://stackoverflow.com/questions/261638/how-do-i-protect-python-code) for some better info; I've never bothered to try it myself. – Sam Apr 22 '16 at 17:36