You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
title=Text("How to enable developer options and OEM unlocking"),
66
+
content=Text("To do this, tap seven times on the build number in the System-Menu in Settings. Then in developer options, toggle OEM unlocking and USB-Debugging."),
get_title("Welcome to the OpenAndroidInstaller!"),
@@ -69,8 +81,9 @@ def build(self):
69
81
),
70
82
Divider(),
71
83
Text(
72
-
"Enable USB debugging on your device by enabling developer options. To do this, tap seven times on the build number in the System-Menu in Settings. Then in developer options, toggle OEM unlocking and USB-Debugging."
84
+
"Enable USB debugging and OEM unlocking on your device by enabling developer options."
73
85
),
86
+
Row([FilledButton("How do I enable developer mode?", on_click=self.open_developer_options_dlg, expand=True, tooltip="Get help to enable developer options and OEM unlocking.")]),
74
87
Divider(),
75
88
Text(
76
89
"Now connect your device to this computer via USB, then press 'Search device'."
@@ -89,6 +102,7 @@ def build(self):
89
102
on_click=self.search_devices,
90
103
icon=icons.PHONE_ANDROID,
91
104
expand=True,
105
+
tooltip="Search for a connected device."
92
106
),
93
107
self.continue_button,
94
108
],
@@ -98,6 +112,18 @@ def build(self):
98
112
)
99
113
returnself.view
100
114
115
+
defopen_developer_options_dlg(self, e):
116
+
"""Open the dialog for help to developer mode."""
117
+
self.page.dialog=self.dlg_help_developer_options
118
+
self.dlg_help_developer_options.open=True
119
+
self.page.update()
120
+
121
+
122
+
defclose_developer_options_dlg(self, e):
123
+
"""Close the dialog for help to developer mode."""
0 commit comments