(Q) Building automated script for Android game - Java for Android App Development

Hello there,
First I will apologize if I'm in the wrong thread, but from what I read that's the place to ask the question I have
To get to the pint:
I would like to write a script for an android game, which will execute certain actions in the game. I'm talking about a strategy game so the script will make attacks in a loot, thus saving enormous amounts of time if I do it by hand.
I've seen a script like that but I can't get my hands on it, so I've decided to look into writing my own.
Here comes the fun part: I'm a total noob in writing any codes , but I'm a fast learner.
So far I've realized that because the game runs on servers, I'll need to open the source code of the game to extract the commands that the game is using for each action. Than compile a script that will execute that same action (sending it to the server) from my behalf (using my account information) and than put this action into a loop for as many times I would like to (think that would be the easiest part compared to everything else)
I would really appreciate it if someone can point me in the right direction as far as what to read and what to use to do all of that.
Thank you Much in advance!
Shlevy
Sent from my SM-N900R4 using XDA Free mobile app

Does anyone have an idea if it's possible to monitor an application in live time to see the code that is being executed when you perform certain actions?!
For example you press a button in the app and on the computer you are able to see exactly the command executed?
Sent from my SM-N900R4 using XDA Free mobile app

Bump...
Does anyone have at least a slightest idea how to do that? Or any general directions?
Thank you
Sent from my SM-N900R4 using XDA Free mobile app

Up

Bump
Come on guys anything is appreciated
Sent from my SM-N900R4 using XDA Free mobile app

Thank you for the reply!
I'm trying to put a script together that will do automated number of hits for me on certain set target. It is a strategy game (not sure if I'm allowed to post the name of the game)
So pretty much it will need to be able to set number of troops, type and how many times to hit the target. Using that info and my user name it will emulate that I'm hitting manually from the game, but it will be much faster because there is no human lag, directly talking to the server of sorts.
Sent from my SM-N900R4 using XDA Free mobile app

Would you mind to elaborate what is OOP.
I'm pretty noob in scripting
Sent from my SM-N900R4 using XDA Free mobile app

shlevy said:
Would you mind to elaborate what is OOP.
I'm pretty noob in scripting
Sent from my SM-N900R4 using XDA Free mobile app
Click to expand...
Click to collapse
OOP means Object-Orientated Programming.

if you want to see what code is being executed etc, maybe you mean debugging?
if so you can use logcat, eclipse or android studio
Here's the link for the debugging guide : forum.xda-developers.com/showthread.php?t=2325164

Related

[Q] Help With Android Software Development

Hello.
i want to start a development project for bus alert.
the idea is quite simple.
any how,i need some help with coding as there are some things i don't have the experience in.
do you have some manual on how to get the device location using the GPS, how to use information from known web pages on the internet?
thank you!
I don't remember any online resources about it, but http://lmgtfy.com/?q=android+get+gps+data. If you can't find anything you have to buy one of the books about Android programming (I learnt from Hello Android)
Sent from my GT-I5700 using XDA Premium App

Nexus 10: Control remotely over the internet?

Hello,
I got a Nexus 10 for my mom after her PC broke down. Since we are seperated by many kilometers and she has trouble to follow instruction how to fix / to do stuff on the phone I want some visual and input control.
Actually I need an app that allows me to control her tablet from long distance. I check Teamviewer Quicksupport but there you can only do screenshots, there is no full life control for the nexus 10 in Teamviewer as far as I have understood. Can anyone please recommend something? I wanted to ship the tablet on monday, so fast help is appreciated in advance.
btw. I dont care if I control the tablet from my windows pc or my nexus 4 android phone. I just need a solution. :/
Hmm, I can't seem to find an app for that either. Rare occasion I guess. What you could do is program Tasker to do a service like that for you... you'll need her tablet to be rooted. You'll need root no matter the solution.
If you don't know about Tasker it's a really nice app for developers/techy people to automate/add tweaks/features on your phone. This will be a really advanced implementation though. It's surely possible and it'd be easier for me to develop it for you than to explain it. You'll need your own web domain though. I mean one that you have for yourself, where you could place a php script.
Hopefully that helps or gives some insight at least, if you need my help I could develop that setup for you. You'll need to root her tablet yourself tho.
--
Say thanks if I was of help,
Sent from my SCH-I605 using XDA Free mobile app
aarongillion63 said:
Hmm, I can't seem to find an app for that either. Rare occasion I guess. What you could do is program Tasker to do a service like that for you... you'll need her tablet to be rooted. You'll need root no matter the solution.
If you don't know about Tasker it's a really nice app for developers/techy people to automate/add tweaks/features on your phone. This will be a really advanced implementation though. It's surely possible and it'd be easier for me to develop it for you than to explain it. You'll need your own web domain though. I mean one that you have for yourself, where you could place a php script.
Hopefully that helps or gives some insight at least, if you need my help I could develop that setup for you. You'll need to root her tablet yourself tho.
--
Say thanks if I was of help,
Sent from my SCH-I605 using XDA Free mobile app
Click to expand...
Click to collapse
So there exists really no solution for that issue?
Have not tried it on a nexus 10 but I can fully remote control my note 3 using Teamviewer.
Sent from my SM-N900V using XDA Premium 4 mobile app
Root her Nexus and install a VNC server app. VNC Server by onecent in the Play Store worked for me (sorry can't link, too new). Then just use a client on either your phone or computer to connect. You will probably need to set up port forwarding on her router to connect remotely. Hopefully you're not too far since you'll likely have to visit her to get that and rooting done. Good luck.
Sent from my SM-N900V using XDA Premium HD app

Educational app for android

hi
i have a educational app for android name "FUNeDU" in which provide excellent ideas or way to learning your child and boosting brain power.and now FUNeDU is available with math game it is a also way of learning and some other feature like word of the day for increase your vocabulary, practice test, my performance, college finder, shout on facebook , ask an expert you can directly put up your question to the exprt.
Can you me with my app
sent from my GT-I8190 using xda app-developers app

Mobile app for Marriage

Hi,
I have basic knowledge of android development. I want to create an app which will be acting as wedding info. plus invitation,for my sister's wedding..Need to start from scratch.Please advice graphics,coding,frameworks everything I should know about and please suggest how can I improve my app to make it more intresting, innovative and well containing good music and graphic embedded.. music should be running in the background kind of stuff.You got the idea right? I am very much ready for this please guide me in right direction.
Sent from my GT-I8262 using XDA Free mobile app
sNova said:
Hi,
I have basic knowledge of android development. I want to create an app which will be acting as wedding info. plus invitation,for my sister's wedding..Need to start from scratch.Please advice graphics,coding,frameworks everything I should know about and please suggest how can I improve my app to make it more intresting, innovative and well containing good music and graphic embedded.. music should be running in the background kind of stuff.You got the idea right? I am very much ready for this please guide me in right direction.
Sent from my GT-I8262 using XDA Free mobile app
Click to expand...
Click to collapse
My first advice would be look into Android L Design
secondly not exactly understanding what you mean by you want the app to act as a wedding info plus an invitation for your sisters wedding. mind elaborating a bit more?
Like are you trying to invite people from the app?
Or are you sending the app to people?
As for info on the app I am assuming your trying to make the app like an invitation I think? Not exactly sure what your asking so clear the question up a bit and ill try to help ya out.
Hi...sorry for late reply .I will send the app to people.The app will give all info regarding bride and groom.. venue..some background music.and should contain the facility as the app user can send text msg to couple and can send his wishes using pic which can be clicked by camera.and when he press the submit button the msg should deliver to google drive or something.I am not familiar here..can you please guide me???
Sent from my GT-I8262 using XDA Free mobile app

Tool to create an app that runs on Android and IOS

I am looking for something that will let me create one app that will run on IOS and Android. My app is fairly simple. The things that I believe will be the hardest to deal with is playing audio based on a timer and variables, a timer, and data storage. I have looked at some websites that says they have a way to build apps that work on both but they look like to me that they are just webpages with very little functions. Any help would be GREATLY appreciated. Thanks.
Try Intel-XDK
Sent from my XT1563 using XDA Free mobile app

Categories

Resources