https://github.com/sephiroth74/flutter_android_bridge
Flutter adb
https://github.com/sephiroth74/flutter_android_bridge
Last synced: 8 months ago
JSON representation
Flutter adb
- Host: GitHub
- URL: https://github.com/sephiroth74/flutter_android_bridge
- Owner: sephiroth74
- License: mit
- Created: 2025-02-27T10:38:30.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-04-11T10:08:54.000Z (9 months ago)
- Last Synced: 2025-05-07T19:13:55.947Z (8 months ago)
- Language: Dart
- Size: 85.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
## Flutter Android Bridge
Flutter Android Bridge is a Flutter package that provides a bridge to interact with Android's native functionalities. This package allows Flutter applications to communicate with Android's package manager, intents, and other native features through a simple and intuitive API.
### Features
- Interact with Android's package manager (`pm`) to list, install, and uninstall packages.
- Interact with Android's activity manager (`am`).
- Launch Android intents for various actions such as opening URLs, sending emails, and more.
- Access and manage Android's native functionalities seamlessly from your Flutter app.
### Installation
Execute the following command from the project's root directory:
```bash
flutter pub add flutter_android_bridge
```
### Usage
```dart
import 'package:flutter_android_bridge/flutter_android_bridge.dart';
void main() {
final adb = FlutterAndroidBridge(_kAdbPath);
final client = adb.newClient('192.168.1.1:5555');
await client.connect();
final packageManager = adb.pm();
// Example: List installed packages
packageManager.listPackages().then((packages) {
packages.forEach((package) {
print('Package: ${package.name}');
});
});
}
```
For more detailed usage and examples, please refer to the [documentation](https://github.com/sephiroth74/flutter_android_bridge).
### License
This project is licensed under the MIT License. See the LICENSE file for more details.
---
Feel free to customize this description further to better fit your project's specifics and additional features.
## Author
*Alessandro Crugnola
*