Converting Python to Java to Run on Android/iOS

I have a Python script that I just about have perfected.

I had hoped to turn it into Java easily without having to know too much Java, my goal is to make this easily run on Android or iOS.

It is essentially a farming robot for a game I play with a bunch of friends. It is mainly working with Http requests but I know very little Java and I'm having a hard time even getting started. I see how to make a request but dont know enough about Java to decode a JSON return.

Any advice? I had thought about compiling with Jython but I'm not sure that will help me either. Im trying to keep this very simple and not use the Android python scripting which is a pain to setup. I did really want to walk every person through the setup on their phones.

6

1 Answer

Some information links

Some information about JSON in java here
Some information about http request here

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Maya Lin-Takahashi

Maya Lin-Takahashi

Consumer Tech & Gadget Reviewer

Maya is a hardware enthusiast who tests and reviews smart home devices, smartphones, wearables, and audio gear. She focuses on practical consumer value and build quality.

Share this article
Twitter Facebook Pinterest