A PC client to control mobiles by adb tools in Flutter.

Overview

mobile_controller

A new Flutter project for PC to control mobiles by adb tool.

Develop in progress, not release yet...

Features

  • Provide computer control mobile phone shortcut keys
  • Mobile device and application information extraction display
  • Support for custom commands
  • Provide a script to automate the control of Tiktok or any other apps
  • Multi-platform supported (MacOs, Windows, Linux)

Progress & Todo

  • Terminal Technology Research
  • UI framework construction on PC
  • Display connected device list
  • Query and display brief information about devices
  • Automatically control device sliding, input text, etc.
  • Construct steps of script by hand (set positions or input contents) without any code.
  • User can collect and customize any other commands.
  • Show script execution history records and quick run again.

Technology Design

  • Shield the input and output processing details of different commands through strategy mode
  • Use the Chain of Responsibility pattern to assemble different steps to generate scripting concepts

Getting Started

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

Thanks

Comments
  • flutter build macos failed

    flutter build macos failed

    ❯ flutter doctor Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel stable, 2.10.4, on macOS 12.3 21E230 darwin-x64, locale en-US) [✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0) [✓] Xcode - develop for iOS and macOS (Xcode 13.3) [✓] Chrome - develop for the web [✓] Android Studio (version 2021.1) [✓] IntelliJ IDEA Ultimate Edition (version 2021.3.3) [✓] VS Code (version 1.65.2)

    flutter build macos Running "flutter pub get" in flutter_mobile_controller... 780ms

    💪 Building with sound null safety 💪

    Running pod install... 1,171ms Building macOS application... 2022-03-31 17:04:04.188 xcodebuild[82609:5160111] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore Building macOS application... 2022-03-31 17:04:04.189 xcodebuild[82609:5160111] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore Building macOS application... --- xcodebuild: WARNING: Using the first of multiple matching destinations: Building macOS application... { platform:macOS, arch:x86_64, id:4F8DD380-23F3-5092-A7FD-00E93833831C } Building macOS application... { platform:macOS, name:Any Mac } Building macOS application... Building App.framework for x86_64... Building macOS application... Codepoint 65593 not found in font, aborting. Building macOS application...
    Building macOS application...
    Building macOS application... Command PhaseScriptExecution failed with a nonzero exit code Building macOS application... note: Using new build system Building macOS application... note: Planning Building macOS application... note: Build preparation complete Building macOS application... note: Building targets in dependency order Building macOS application... ** BUILD FAILED ** Building macOS application...
    Building macOS application...
    Build process failed

    how to fix this? shoud i need -v to give more detailed log?

    question solved 
    opened by joeycold 1
  • Solution: debug connection by wifi instead of usb interface

    Solution: debug connection by wifi instead of usb interface

    1. monitor tcp port
    => adb tcpip 5555
    
    1. scan mobile ip address
    => adb shell netcfg
    
    1. connect device by ip address
    => adb connect device_ip_address:5555
    
    
    enhancement solutions 
    opened by Moosphan 0
  • Solution: View current Activity or fragment name

    Solution: View current Activity or fragment name

    View activity:

    adb shell "dumpsys activity top | grep ACTIVITY | tail -n 1"
    

    View fragment:

    adb shell "dumpsys activity top | grep '#0: ' | tail -n 1"
    
    
    question solutions activity 
    opened by Moosphan 0
  • Solution: Collect current layout info of app

    Solution: Collect current layout info of app

    adb shell uiautomator dump /data/local/tmp/uidump.xml  && adb pull /data/local/tmp/uidump.xml uidump.xml
    

    This will output uidump.xml file into current directory.

    enhancement solutions 
    opened by indieexplore 0
  • Solution: How to implement Transparent FlutterViewController on macos

    Solution: How to implement Transparent FlutterViewController on macos

    See: https://github.com/flutter/flutter/issues/59969

    Example:

       // Transparent view
       self.isOpaque = false
       self.backgroundColor = .clear
       // Add the blur layer
        let blurView = NSVisualEffectView()
        let view = contentViewController?.view.superview;
        blurView.frame = CGRect(x: 0, y: 0, width: 2000, height: 2000)
        view?.addSubview(blurView, positioned: NSWindow.OrderingMode.below, relativeTo: nil)
    
    question solutions UI 
    opened by Moosphan 1
Owner
Flukit
Build Flutter better
Flukit
Aq flutter tools - AQ flutter tools - Responsive Images, Translations and more

Made by AQuadic Getting started Important Links AQuadic Script Requirement This

Aquadic 0 Feb 7, 2022
Dart-ci-tools - A container image with flutter and various CI tools.

dart-ci-tools Container built from the official Dart image, with various CI tools written in Dart. Project Notes There are tools available to: deploy

null 1 Jan 12, 2022
Flutter remote control - The main use of LongPressDraggable and DragTarget to achieve the universal remote control interaction effect.

Flutter remote control - The main use of LongPressDraggable and DragTarget to achieve the universal remote control interaction effect.

唯鹿 165 Jan 2, 2023
App to control your health activities like calorie, water, medicine consumption, sleeping and weight control.

Handy Configuration for yourself This project contains google-services.json file of my own. You can connect your own firebase project using the follow

KanZa Studio 104 Jan 3, 2023
[Flutter SDK V.2] - Youtube Video is a Flutter application built to demonstrate the use of Modern development tools with best practices implementation like Clean Architecture, Modularization, Dependency Injection, BLoC, etc.

[Flutter SDK V.2] - Youtube Video is a Flutter application built to demonstrate the use of Modern development tools with best practices implementation like Clean Architecture, Modularization, Dependency Injection, BLoC, etc.

R. Rifa Fauzi Komara 17 Jan 2, 2023
Redesign Unsplash Mobile Application with flutter tools.

flutter_splash Redesign Unsplash Mobile Application with flutter tools. About its open source application based Unsplash API for training Flutter , Di

pouya 1 Sep 5, 2021
Devtools - Performance tools for Flutter

Dart & Flutter DevTools What is this? Dart & Flutter DevTools is a suite of performance tools for Dart and Flutter. Getting started For documentation

Flutter 1.3k Dec 29, 2022
A set of useful sliver tools that are missing from the flutter framework

sliver_tools A set of useful sliver tools that are missing from the flutter framework. Here is a taste what you can make using this package The struct

Pieter van Loon 419 Jan 4, 2023
A container image with flutter and various CI tools.

flutter-ci-tools A Docker container built from the cirrusci/flutter image, with various CI tools. Project Notes With the available tools you can: depl

null 1 Jan 12, 2022
Provide powerfull tools to help you build your Flutter design system.

Provide powerfull tools to help you build your design system. About flutter_design contains packages to help you bootstrap your design system with a w

Min Zhao 23 Dec 3, 2022
Various eBay tools for Flutter development

Flutter Glove Box given_when_then golden_toolkit page_object Contains various testing tools that eBay Motors App team is using in their development on

eBay 275 Dec 21, 2022
Raden Saleh 20 Aug 12, 2023
Raden Saleh 53 Jul 27, 2023
PalestineDevelopers is an open-source tools code-base

PalestineDevelopers مبادرة لإحياء إسم فلسطين بتقديم أدوات برمجية تحمل إسم أرض الميعاد Flutter Packages .. will be replaced .. will be replaced .. will

Mohamed Sayed 10 Jan 4, 2022
All the tools you need to build an app in 2 minutes

All the tools you need to build an app in 2 minutes. This is the main, standard CC Core. The plan is to make this into smaller, independent modules, but for now we are making it all available.

CoCreations 0 Dec 30, 2021
Custom bottom bar - A bottom tool bar that can be swiped left or right to expose more tools.

custom_bottom_bar A bottom tool bar that can be swiped left or right to expose more tools. usage Create your custom bottom bars with up to four custom

null 4 Jan 26, 2020
A Flutter Plugin for Volume Control and Monitoring, support iOS and Android

flutter_volume A flutter plugin for volume control and monitoring, support iOS and Android 手把手带你写 Flutter 系统音量插件 https://www.yuque.com/befovy/share/fl

befovy 35 Dec 9, 2022
A new Flutter widget that add support for AndroidTV app. Using keyboard to control focus node.

flutter_tv_autofocus A new Flutter widget that add support for AndroidTV app. Using keyboard to control focus node. Getting Started Wrap your flutter

SUPERMONKEY 28 Aug 18, 2022
Flutter Control is complex library to maintain App and State management. Library merges multiple functionality under one hood. This approach helps to tidily bound separated logic into complex solution.

Flutter Control is complex library to maintain App and State management. Library merges multiple functionality under one hood. This approach helps to

Roman Hornak 23 Feb 23, 2022