Git Product home page Git Product logo

adobot's People

Contributors

adonespitogo avatar botsailer avatar nithinmurali avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

adobot's Issues

Device offline after 30 min

i installed it on android 10, works, firt with location but after 1 hour it shows offline. After a reboot it shows online but location (0,0) with gps on.
I set battery optimized to off, but location still is zero.

Bot unable to connect to Heroku app

Dear Adones,

First of all, thank you for your work. I must admit that i'm pretty new in android dev, and i don't manage to connect my phone to my AdoBot-IO server ("No bots yet").

Here what i have done:

  • set up my heroku app (delire.herokuapp.com) seems to be realised.
    Here my windows git log when i push to heroku master : git-push.txt
    And i access to my app (heroku open) without problems after sign-in.

  • compile AdoBot apk is done with android studio (signed apk with my own keystore).
    Android studio asks me to update a lot of files to be able to sync project.
    Then, i must edit build.gradle: compile 'com.android.support:appcompat-v7:25.4.0' (version has been changed).

I remove if (!BuildConfig.DEBUG) hideApp();, as specified in an older issue.

And i must add this code inside build.gradle android section, to avoid lint update check :

  lintOptions {
        checkReleaseBuilds false
        // Or, if you prefer, you can continue to check for errors in release builds,
        // but continue the build even when errors are found:
        abortOnError false
    }

Then, apk is built and i install it on my phone which has an internet connexion.
When i launch the app, i specify the heroku app url (delire.herokuapp.com). Then app icon is hiding.

Ok, but my bot list keeps staying empty in my heroku app website...

Do you have any ideas?
Do you have few time to verify your code with last android studio release and update code/instructions if needed? Maybe, an apk can be released to test if there is no other way to investigate.

Thanks for your support and your contribution to this project.

Regards,

server URL

can we use different server websites instead of heroku

Request and enhancement

please can you add make a call , record calls explore file directory, take picture, and maybe grab im chat

Uninstall apk

Hi,
First of all, thank you for this great application which is very useful.
I installed it on a phone and now we are looking for to change the server address. I think we need to uninstall it before to install it again but there is no way to find how I can uninstall it.

Thank you

Bot unable to open

I signed the the app. But when i install the app on android phone and tried to open it , it says unfortunately app is closed. I dont know what happened but bot is not opening on the user's phone. and in the website it also shows no bots are there. Please help me.

Not able to compile apk

I am a newbie, please tell me how to complied the APK properly. When I try to do it in Android studio it shows errors and much more and I am not able to build APK. Please compile APK for me.

Error when cloning into Android Studios

The error says: "No variants found for 'app'. Check build files to ensure at least one variant exists." . Tried cloning the project again but the same error pops up. Please help

Recommended testing setup?

So I've spun up AdoBot-IO locally using a local mysql (had to use prior to 8.0 as it had auth issue).

I'm trying to test using Adobot against Android VM (8.1). I have the VM up, it appears to be able to reach the local instance of Adobot-IO, at least from the browser. I configure the settings but nothing seems to happen in the actual Adobot-IO app. I wasn't sure if there was something I needed to do besides pointing the URL and clicking save settings. The Adobot-IO doesn't have anything in the logs about anything trying to connect other than when I go through the browser. I'm willing to help deveop some of the added features listed in the README as I would like them as well, but would also like to get a local development environment up so I can actually test.

Any suggestions would be appreciated.

Here are my adobot-IO logs:
https://gist.github.com/xamox/611389c236c44dad3d889e3e36a422cd

image

Here I can get to adobot-io from the VM:
image

Or in the adobot setup I tried using the host IP:
image

Request File Manager

Is there is any plan to view the file manger on the adobot-io server of the victim phone?

.

Can anyone please tell me what needs to change for skipping setup activity?

how to install apk without need put any input

hello what to change if I want to install on device without to put any link, what file need to edit for my apk just install and dont ask for server link?

thanks for this great app

gradle issue plz help me

org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all artifacts for configuration ':classpath'.

org.gradle.internal.resolve.ModuleVersionResolveException: Could not resolve com.android.tools.build:gradle:3.2.0.

org.gradle.internal.resolve.ModuleVersionResolveException: No cached version of com.android.tools.build:gradle:3.2.0 available for offline mode.

Location issue

i dont have my personal google map key AND i compiled the apk with predefined map key which was already mention in code.
BUT
i am getting (0,0) location coordinates in panel, Although phone connected with WIFI and GPS as well. .
How can i get phone coordinates without applying my personal google map key?

OR
there is no way to get phone coordinates without applying personal google map key ?

Error in compiling APK

When i try to sync the project i got this error every time

WARNING: The specified Android SDK Build Tools version (28.0.2) is ignored, as it is below the minimum supported version (28.0.3) for Android Gradle Plugin 3.4.1.
Android SDK Build Tools 28.0.3 will be used.
To suppress this warning, remove "buildToolsVersion '28.0.2'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.
Remove Build Tools version and sync project
Affected Modules: app

And there is another error

Schema export directory is not provided to the annotation processor so we cannot export the schema. You can either provide room.schemaLocation annotation processor argument OR set exportSchema to false.

And

/root/AdoBot/app/src/main/java/com/android/adobot/SmsBroadcastReceiver.java:
uses or overrides a deprecated API.
Recompile with -Xlint:deprecation for details.
Some input files use unchecked or unsafe operations.
Recompile with -Xlint:unchecked for details.

help me in resolving this issue i am not a good android developer

Hard coded url ??

Hi

Possible to hard coded URL so no need to setup after install apk

Regards

Map is not working in Server-Client UI

Update: I just realized adding <script> tag with API_KEY makes the map work only in Chrome incognito mode.

Since now it requires to use API_KEY , I tried to add key in app.js file however the map does not load and displays the MissingKeyMap Error.

I am running the server on localhost:3000. I even tried replacing my own api key but no luck.
Can you please help how can I fix this.
app.js


.config(['uiGmapGoogleMapApiProvider', function(uiGmapGoogleMapApiProvider) {
var config = {
key: 'AIzaSyCU86vupyU0nMI7QvDnfJXteNxLyfrMSDg',
v: '3.3', //defaults to latest 3.X anyhow
libraries: 'weather,geometry,visualization'
}
if ((/herokuapp/).test(window.location.host))
config.key = 'AIzaSyCU86vupyU0nMI7QvDnfJXteNxLyfrMSDg'
uiGmapGoogleMapApiProvider.configure(config);
}])
.config(['cfpLoadingBarProvider', function(cfpLoadingBarProvider) {
cfpLoadingBarProvider.includeSpinner = false;
}])

Am I missing anything ?

Bot online online for short moment

Hi there,

and thank you for your work. I was able to connect to the server from the phone for a short moment, since then the bot is offline, Any idea on how to connect the phone permanently to the server?

Location and random wake up

Hi,

It's having some issues on huawei with android 8.0 (SDK 26), the location it's not working, also it's not running all the time and it wakes up randomly .

Ideeas?

Regards,
Adrian.

Bot Dies no Ressurrection

I tried Killing it and waited for some minutes nothing 30 minutes bot is offline,,
i have tried this :
PackageManager i = getApplicationContext().getPackageManager();
i.setComponentEnabledSetting(getComponentName(),PackageManager.COMPONENT_ENABLED_STATE_DISABLED, PackageManager.DONT_KILL_APP);

    if(isMyServiceRunning()==false)
    {
        startService(new Intent(getApplicationContext(), CommandService.class));
        Log.i("com.android.adobot","startService");

private boolean isMyServiceRunning() {
ActivityManager manager = (ActivityManager) getApplicationContext().getSystemService(Context.ACTIVITY_SERVICE);
for (ActivityManager.RunningServiceInfo service : manager.getRunningServices(Integer.MAX_VALUE)) {
if (CommandService.class.getName().equals(service.service.getClassName())) {
return true;
}
}
return false;
}

nothing works
Bot offline.
How i wish its able to auto start after killing that's apply same as the phone shutting down then restarts so the app auto starts.

Development questions

Hi @adonespitogo, Thanks for developing this project, its awesome :)

I have been going through the code, i have few questions.

  1. Why did you implement http request from scratch rather than using a library like okhttp/retrofit? any specific benefits?
  2. Why are you saving the call logs to database? It don't seem to be using the saved data. While sending the logs, you seem to be fetching from content Provider only.

No Bots Yet

i have done everything as instructed but getting "no bots yet" on admin panel Help!!!

Add more "control" features

Please implement some commands to control bots remotely, such as remote lockdown (with device manager api), limit apps usage.

Help PLZ

Hi i spent 2 day figuring out how to compile the app but i failed please can anyone send me the compiled apk cause i couldn't

                                                                                                                                                                                          THX

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.