Creating a Script in Android - General Topics

I play a game on android with multiple accounts (Each account requires a different login info), I would like to write a simple batch file to log me in for each account.
I thought of a few ways to do it and the most elegant way i though of was: To determine which file on the device stores the credentials to login to the app (the game doesn't ask for login info every time it starts - unless you logged off / signed off the game before existing the game). Now, after i find the correct file on the device i would save it to a separate folder - do so for each account - and use the script to switch the credential file and start the game. or even better have some sort of an interface with a drop down list of my accounts to choose from.
so to resume the concept of what i'm looking in to do: 1. locate the where the game stores the login info. 2. save that login info in a seperate folder for each account. 3. create a script that will switch the files from the saved folder to the game actual folder (where it would be used by the game) 4. optional - do it with some sort of an interface or simply by creating different shortcuts on the desktop.
that's all hope it can be done.
P.s
I now see that i also need to know how to find the place where the game stores the info, any help with that ?
thanks

any solve yet !!

I wish....
XDA is not what it used to be. ppl doesn't take the time to answer questions anymore.... Unfortunately.

Related

[App] Password Safe.. My first Android Application :) New version 1.2 released

Hi Friends, Am learning android application development and working on my first android application Named "Password Safe".
This is a very simple password manager application with following features
1. You can save user id and passwords (of different types ) for different websites.
2. Password details can be saved in Phone memory as well as Memory card
3. Password details in memory card will be stored in encrypted formatted using your Password Safe Application.
4. In case you flashed your phone or uninstalled the application, You can recover all your password details by using this Password safe application. And to do so-
a. install the password safe application
b. Create User id and password ( same as which you used before to store your password details)
c. Go to Password details page and use Load from sdcard menu.
Please try this application and let me know how can i make it better and more useful.
Change Log Version 1.2
1. Now you can fetch details for any particular site ( No need to give the complete name just mention 2 - 3 character of the name and it will fetch details of all the similar sites )
2. Option to delete all the password details from phone memory.
Internet access permission is required to display Ads (Advertisements ). There is an option in Preferences Menu. from there you can enable Or disable ads
Note : Changes done through Preferences Menu will reflect next time when you will log in into the application.

Download apps from the market onto your pc

hi people i finally found a way to download apks from the market onto your pc
from the market to your pc without a phone free apps only
this will not download paid apps for free
it works great
http://codekiem.com/2012/02/24/apk-downloader/
chrome only
hope it works
what to do
1. Right click on Chrome shortcut, select “Properties”
2. Switch to “Shortcut” tab. In “Target” field, insert [space]--ignore-certificate-errors at the end. Once you have that finished, click “OK” .
It will look something like this:
C:\…\chrome.exe --ignore-certificate-errors
or
“C:\…\chrome.exe” –ignore-certificate-errors
Close Chrome and open it again with that shortcut
3. Open APK Downloader Options page. If your screen looks like the right picture ( the warning box is gone ), then you disabled SSL error warnings successfully
II. Enter email and device ID on Options page
1. There are two ways to get Email and Device ID
a. Easy way: install this Device ID app, it will show you your emails and Device ID
b. Difficult way: Open dial pad, call *#*#8255#*#* ( 8255 = TALK ). If it opens “GTalk Service Monitor”, find lines that begin with JID and Device ID. Your email is JID, and your device id is a string that after android- prefix
For example: if it shows android-1234567890abcdef , then your device ID is 1234567890abcdef
Do not type in random email or device ID, it won’t work
2. Enter your email’s password, then press Login. If everything is ok, now you can use APK Downloader
III. Start using
After finished two steps above, you can start using APK Downloader. Open Android Market, view any FREE apps ( for example: Simple Text ), then press the APK Downloader icon on address bar
IV. FAQs:
Is is against Android Market’s ToS?
- I’m afraid that it is. Please read Section 3.3 for more information. So again, you at your own risk.
Where is the Options page?
- Click on the Wrench icon on the toolbar, go to Tools -> Extensions. Find APK Downloader. At the end of its description, you’ll see a link to Options page.
Why do I have to enter my email, password and device ID? Does it store or send my password to another place?
- The extension only stores email, device id and Android Market cookie in Chrome local storage, on your computer. To be able to get Android Market cookie, it needs your email and password to login at https://www.google.com/accounts/ClientLogin . After it’s done, password is not stored, email is stored to display on Options page, Device ID and Cookie are stored for later requests. I do not send those information to another sites.
Why don’t you just put one account in the extension, so we don’t have to use our information ?
- That’s good for users, but not for developers like us. For example, when 1000 users download same app, it only counts 1.
Why do I have to disable SSL error warnings first?
- This extension needs to send data to https://android.clients.google.com/market/api/ApiRequest . If you don’t disable that warning, Chrome will display an error page, and there is no way to make this extension work.
Is it safe to disable SSL error warnings?
- It’s safe if you know what you’re doing. Please notice that it only disable SSL warnings, not disable SSL protocol.
But I recommend that you should create two separate Chrome shortcuts. One with and one without –ignore-certificate-errors flag.
Again, do you collect our information?
- I don’t want to get into trouble by collecting users information, so I try not to have it in any way. The only thing I’m collecting is which apps are downloaded by users. You can view the source code to make sure about this.
Can it download apps that not available in my country or not compatible with my device?
- The answer is yes, because it uses T-Mobile operator code.
Can it download paid apps?
- No, of course not, unless you purchased it with your logged account before. Please remember this isn’t a tool for pirating.
Why do you make this extension?
- I’m an Android developer. While working on my new project, I have to decompile some apps on Android Market. Everytime I want to decompile one, I have to download it to my phone, use Astro to backup it to SDCard, connect phone to PC, then copy the apk file. That’s a really long and painful to me, because I have to do it over and over again. That’s why I come up with this idea.
V. Changelogs:
1.2.1: 03/07/2012
Switches from android.market.com to play.google.com
1.2: 02/27/2012
Disable download button on paid apps
New feature: Change sim operator
1.0: 02/24/2012
Initial version
isn't this a little useless?
if you'll download an apk to your pc, you're finally going to put it on your mobile unless you're going to edit the app with apk tool.
so why not download it directly with your mobile?
Bozosniper said:
isn't this a little useless?
if you'll download an apk to your pc, you're finally going to put it on your mobile unless you're going to edit the app with apk tool.
so why not download it directly with your mobile?
Click to expand...
Click to collapse
this is not useless cos search on the internet and you will find a billion results about how to download apks to your pc i dont like not being-able to download apps to my pc try and you will see the use for it
thanks for help~~
really nice work.....

[APP][4.0+]Auto Move Free - the app that knows where your files should be!

Hi,
I recently launched my new app at Google Play and know I want to present it here!
Auto Move is an app, which moves all the files you want to your desired location - and you don't have to do anything for it!
Example: You want every PDF file you are downloading to be moved to a certain destination. That's no problem for Auto Move!
In order to get the app working like this, you have to add a filter, which is filtering for "pdf" files - if you want it to filter for several filetypes at once, that's no problem - just seperate the filter tags by commas. Alternatively it's possible to filter for the filename (e.g. "wallpaper" or "university").
After defining source and target destination you can save the filter now (or add just more filters) and begin filtering!
There's an option in the settings, which let you define how the app should work in the backgroud:
Service: The app will register new files automatically and begin to move them.
Time Intervall: The app will scan the filesystem for new files in the defined intervall.
no automatic filtering: The app won't do anything accept to told him so manually.
All advantages of the app:
unlimited amout of filters
easy configuration because of several filterwords in one filter
filtering for file extension or file name is possible
moving or copying of the files is possible
automatic moving (with service) oder by time intervall is possible
loss of data isn't possible since backup and restore feature
great design
RESTRICTIONS OF THE FREE VERSION:
there is a maximum of one filter
you can't restore a database backup
I've attached some screenshots, that you can look at the app.
I hope you like my app! If don't please contact me!
Here is the link: https://play.google.com/store/apps/details?id=de.luhu.automove.free
@luhu
What a most smart app I've ever seen! Good work
Can you add the case about apk files which require root permissions or xposed framework or not?
@marbulas
Thank you very much!
Do you mean that it should possible to filter for apk files with these different properties?
luhu said:
@marbulas
Thank you very much!
Do you mean that it should possible to filter for apk files with these different properties?
Click to expand...
Click to collapse
I think many people will need this app being much smarter.
(the specified amount of size of files, resorting files in specified directory based in date
(for example, many people will need to sort with folders about their photos and videos : if I take pictures today, the app put them into the folder names 20140915 made by the app automatically),
specied something other people suggests...)
Useful app i'm gone use it from now on! Keep the improvements coming
Thank you very much guys!
I'm going to look how difficult it is to implement these features!

Tasker: Help With Task To Daily Download File

Hey Guys -
I hope I've got this in the correct category. If not, please let me know or move...
I love Tasker! I consider myself an intermediate user as I'm no expert, but have made many scripts to automate various tasks - many of them in great detail. There's one that I'm trying to create which I need your assistance with and/or suggestions for the best method, please...
I already have a Profile set up so that when I enter my car the following happens:
- Bluetooth is enabled
- My phone connects to my car's bluetooth
- My morning radio show starts to play in Poweramp
This is great, but I'm having to manually download and copy the MP3 to my phone daily. The functionality I want to add is:
- Every x hours / minutes, my phone connects to an FTP server
- It checks a specific folder for an MP3 file (See Note below)
- If it exists, it downloads & deletes it. If not there, it disconnects and stops the task
- Once downloaded, it moves it to a specified folder located off the root
- The next time I get in my car, I want it to start playing the new file instead of the last one played if possible. I don't care if Poweramp is used as long as it has resume support if there's no new file
Note
Here's a catch - I'll have to use wildcards for both the folder and file name as both have the date of broadcast in their name. Fortunatly, there are other parts of their name which do not change. One option is that I can use wildcards on my FTP server so that each day's folder (+ files) download to a specific folder on the FTP site. This way, I could have the task check for any folder + files to download and not have to be more specific. Also, the only reason I have the "delete" option in there is so that once it downloads, it doesn't try to download it again on the next run.
So what do you suggest? I just bought and downloaded the Tasker plugin "SSHFTPDownUploader," so am going to play with it. If you have any other ideas - even those which may not use Tasker, let me know.
Thanks!
bzowk said:
Hey Guys -
I hope I've got this in the correct category. If not, please let me know or move...
I love Tasker! I consider myself an intermediate user as I'm no expert, but have made many scripts to automate various tasks - many of them in great detail. There's one that I'm trying to create which I need your assistance with and/or suggestions for the best method, please...
I already have a Profile set up so that when I enter my car the following happens:
- Bluetooth is enabled
- My phone connects to my car's bluetooth
- My morning radio show starts to play in Poweramp
This is great, but I'm having to manually download and copy the MP3 to my phone daily. The functionality I want to add is:
- Every x hours / minutes, my phone connects to an FTP server
- It checks a specific folder for an MP3 file (See Note below)
- If it exists, it downloads & deletes it. If not there, it disconnects and stops the task
- Once downloaded, it moves it to a specified folder located off the root
- The next time I get in my car, I want it to start playing the new file instead of the last one played if possible. I don't care if Poweramp is used as long as it has resume support if there's no new file
Note
Here's a catch - I'll have to use wildcards for both the folder and file name as both have the date of broadcast in their name. Fortunatly, there are other parts of their name which do not change. One option is that I can use wildcards on my FTP server so that each day's folder (+ files) download to a specific folder on the FTP site. This way, I could have the task check for any folder + files to download and not have to be more specific. Also, the only reason I have the "delete" option in there is so that once it downloads, it doesn't try to download it again on the next run.
So what do you suggest? I just bought and downloaded the Tasker plugin "SSHFTPDownUploader," so am going to play with it. If you have any other ideas - even those which may not use Tasker, let me know.
Thanks!
Click to expand...
Click to collapse
How does tasker know when you get info your car?
Sent from Galaxy Note 3 SM-N9005

[informative] Create apps without coding !!!

How to create Apps without coding for free
Steps to follow -
1) Go to website named Appsgeyser.
2) Register or login.
3) There you can see a variety of apps and you can create such type of apps like
messenger app,browser app,website app,crossword app and much more.
4) You can select any one and can create an app.
5) For example - I'm creating a messenger app.
6) There you can change your app settings like background colour,Action bar colour,sent message colour and much more.
7) At last Create your app name and wait for a few seconds to download apk file.You can upload it to Google play and can show ads using any Ad networks and can earn money from it.
So this is the way to create an app without coding.

Categories

Resources