Người ta có thể khởi động Hoạt động khác sử dụng Intent từ một ứng dụng Flutter: https://github.com/flutter/flutter/blob/master/examples/widgets/launch_url.dartCó thể đăng ký ứng dụng Flutter dưới dạng Bộ lọc Intent của Android và xử lý Mục đích đến không?
import 'package:flutter/widgets.dart';
import 'package:flutter/services.dart';
void main() {
runApp(new GestureDetector(
onTap:() {
Intent intent = new Intent()
..action = 'android.intent.action.VIEW'
..url = 'http://flutter.io/';
activity.startActivity(intent);
},
child: new Container(
decoration: const BoxDecoration(
backgroundColor: const Color(0xFF006600)
),
child: new Center(
child: new Text('Tap to launch a URL!')
)
)
));
}
Nhưng người ta có thể làm như sau với các dịch vụ Ý định Hoạt động Flutter khi Intent được truyền cho các ứng dụng? http://developer.android.com/training/sharing/receive.html
. . .
void onCreate (Bundle savedInstanceState) {
...
// Get intent, action and MIME type
Intent intent = getIntent();
. . .