Hey guys I'm not entirely sure how to word this problem, I'm really sorry if I sound like a complete idiot!
I've started learning Sockets and Internet protocols for Java a few months ago. I just got back from some Military training so it's a little dusty. However, my friend enlightened me on a really cool program called CharlesProxy. It allows you to use your Mac's IP address on your iPhone as a proxy, then any game you use it catches all of the input/output traffic.
The advantage of this is that a lot of really useful information can be seen, ex: Leaderboards, Player Bases, etc.
Instead of having to do this in CharlesProxy, I'd really like to transfer this into programming so I can parse all of the responses into a list for legibility!
Here's what the request looks like:
Other info:
URL: http://gcios.gree-apps.net/hc/index.php/json_gateway?svc=BatchController.call
Content-Type: application/json; charset=utf-8;
And the response is packed with a bunch of data that includes the player names, etc. in the leader boards that I'm searching for!
This is getting to the path of something I've always wanted to learn in programming, interacting with other apps using packets/sockets/or web requests. The problem is I have a basic knowledge of the pieces to the puzzle but I don't know how to put them together. If someone can point me down the right path I'd be extremely grateful. Thank you SO much you guys!
Summary: CharlesProxy allows me to see traffic of an app on my iPhone on the same network. In a response to one of the requests it returns back the players in the leaderboard. How would I go through these steps using Java instead (Connecting, requesting, handling a response)? The pieces are all in front of me but I don't know how to put them together!
I've started learning Sockets and Internet protocols for Java a few months ago. I just got back from some Military training so it's a little dusty. However, my friend enlightened me on a really cool program called CharlesProxy. It allows you to use your Mac's IP address on your iPhone as a proxy, then any game you use it catches all of the input/output traffic.
The advantage of this is that a lot of really useful information can be seen, ex: Leaderboards, Player Bases, etc.
Instead of having to do this in CharlesProxy, I'd really like to transfer this into programming so I can parse all of the responses into a list for legibility!
Here's what the request looks like:
Other info:
URL: http://gcios.gree-apps.net/hc/index.php/json_gateway?svc=BatchController.call
Content-Type: application/json; charset=utf-8;
And the response is packed with a bunch of data that includes the player names, etc. in the leader boards that I'm searching for!
This is getting to the path of something I've always wanted to learn in programming, interacting with other apps using packets/sockets/or web requests. The problem is I have a basic knowledge of the pieces to the puzzle but I don't know how to put them together. If someone can point me down the right path I'd be extremely grateful. Thank you SO much you guys!
Summary: CharlesProxy allows me to see traffic of an app on my iPhone on the same network. In a response to one of the requests it returns back the players in the leaderboard. How would I go through these steps using Java instead (Connecting, requesting, handling a response)? The pieces are all in front of me but I don't know how to put them together!