@@ -38,14 +38,14 @@ startActivity(SettingIntents.from(this).applicationSetting().build());
38
38
## List of Intents
39
39
* ### AlarmIntents
40
40
``` Java
41
- showAlarms ()
41
+ openAlarms ()
42
42
createAlarm(String message, int hour, int minutes, boolean skipUi)
43
- createAlarm(String message, int hour, int minutes, boolean vibrate , boolean skipUi )
44
- createAlarm(String message, int hour, int minutes, boolean vibrate , boolean isPm , boolean skipUi )
43
+ createAlarm(String message, int hour, int minutes, boolean skipUi , boolean vibrate )
44
+ createAlarm(String message, int hour, int minutes, boolean skipUi , boolean vibrate , boolean isPm )
45
45
```
46
46
Example
47
47
``` Java
48
- AlarmIntents . from(this ). showAlarms (). show();
48
+ AlarmIntents . from(this ). openAlarms (). show();
49
49
```
50
50
* ### BrowserIntents
51
51
``` Java
@@ -69,13 +69,22 @@ startActivity(SettingIntents.from(this).applicationSetting().build());
69
69
* ### CalendarIntents
70
70
``` Java
71
71
openCalendar()
72
- createEvent(String title, String description)
73
72
```
74
73
Example
75
74
``` Java
76
75
CalendarIntents . from(this ). openCalendar(). show();
77
76
```
78
77
* ### CameraIntents
78
+ ``` Java
79
+ openPhotoCamera()
80
+ openVideoCamera()
81
+ capturePhoto(Uri location, String fileName)
82
+ captureVideo(Uri location, String fileName)
83
+ ```
84
+ Example
85
+ ``` Java
86
+ startActivityForResult(CameraIntents . from(this ). openPhotoCamera(). build(), RequestTag . IMAGE_CAMERA );
87
+ ```
79
88
* ### ContactIntents
80
89
``` Java
81
90
openContacts()
@@ -84,27 +93,219 @@ startActivity(SettingIntents.from(this).applicationSetting().build());
84
93
editContact(String name, String newEmail)
85
94
insertContact(String name, String phone, String email, String company, String job, String notes)
86
95
pickContact()
96
+ pickSpecificContactData()
87
97
```
88
98
Example
89
99
``` Java
90
100
ContactIntents . from(this ). openContacts(). show();
91
- ContactIntents . from(this ). viewContact(" Ahmad" ). show();
92
- ContactIntents . from(this ). insertContact(" Emiley" , " 0913234235" , " " , " " , " " , " " ). show();
93
- ContactIntents . from(this ). editContact(" Ahmad" ). show();
94
101
```
95
102
* ### EmailIntents
103
+ ``` Java
104
+ openEmail()
105
+ sendEmail(String to, String subject, String message)
106
+ sendEmail(String [] to, String subject, String message)
107
+ sendEmail(String [] addresses, String [] cc, String [] bcc, String subject, String message)
108
+ ```
109
+ Example
110
+ ``` Java
111
+ EmailIntents . from(this ). openEmail(). show();
112
+ ```
96
113
* ### EventIntents
114
+ ``` Java
115
+ createEvent(String title, String description)
116
+ createEvent(String title, String description, String location, long begin, long end, int color, boolean allDay)
117
+ ```
118
+ Example
119
+ ``` Java
120
+ EventIntents . from(this ). createEvent(" Birthday" , " Make a birthday cake" ). show();
121
+ ```
97
122
* ### FileIntents
123
+ ``` Java
124
+ fileChooser()
125
+ pickFile()
126
+ pickImageFile()
127
+ pickImageFile(Boolean allowMultiple, Boolean localOnly)
128
+ ```
129
+ Example
130
+ ``` Java
131
+ startActivityForResult(FileIntents . from(this ). fileChooser(). build(), RequestTag . FILE_CHOOSE );
132
+ ```
98
133
* ### GalleryIntents
99
- * ### GeoIntents
134
+ ``` Java
135
+ openGallery()
136
+ pickImage()
137
+ ```
138
+ Example
139
+ ``` Java
140
+ startActivityForResult(GalleryIntents . from(this ). pickImage(). build(), RequestTag . PICK_IMAGE );
141
+ ```
142
+ * ### MapIntents
143
+ ``` Java
144
+ locationOf(String address, String placeTitle)
145
+ locationOf(float latitude, float longitude)
146
+ locationOf(float latitude, float longitude, String placeName)
147
+ navigateTo(String address)
148
+ navigateTo(float latitude, float longitude)
149
+ streetViewOf(float latitude, float longitude)
150
+ streetViewOf(float latitude, float longitude, float zoom)
151
+ streetViewOf(float latitude, float longitude, float zoom, int mapZoom)
152
+ showLocationServices()
153
+ ```
154
+ Example
155
+ ``` Java
156
+ MapIntents . from(this ). locationOf(" Champ de Mars, Avenue Anatole France, Paris, France" , " Eiffel Tower" ). show();
157
+ ```
100
158
* ### MarketIntents
159
+ ``` Java
160
+ showThisAppInMarket()
161
+ showThisAppInGooglePlay()
162
+ showThisAppInAmazon()
163
+ showInMarket(String packageName)
164
+ showInGooglePlay(String packageName)
165
+ showInAmazon(String packageName)
166
+ showGooglePlay()
167
+ searchAppInGooglePlay(String appName)
168
+ ```
169
+ Example
170
+ ``` Java
171
+ MarketIntents . from(this ). showInMarket(" com.instagram.android" ). show();
172
+ ```
101
173
* ### MediaIntents
174
+ ``` Java
175
+ playAudio(String url)
176
+ showImage(String url)
177
+ playVideo(String url)
178
+ playYouTubeVideo(String videoId)
179
+ ```
180
+ Example
181
+ ``` Java
182
+ MediaIntents . from(this ). playYouTubeVideo(" gOzdLhJG2EQ" ). show();
183
+ ```
102
184
* ### MessagingIntents
185
+ ``` Java
186
+ openMessages()
187
+ createEmptySms()
188
+ createEmptySms(String phoneNumber)
189
+ createEmptySms(String [] phoneNumbers)
190
+ createSms(String body)
191
+ createSms(String body, String phoneNumber)
192
+ createSms(String body, String [] phoneNumbers)
193
+ ```
194
+ Example
195
+ ``` Java
196
+ MessagingIntents . from(this ). createEmptySms(). show();
197
+ ```
103
198
* ### MusicIntents
199
+ ``` Java
200
+
201
+ ```
202
+ Example
203
+ ``` Java
204
+
205
+ ```
104
206
* ### NoteIntents
207
+ ``` Java
208
+
209
+ ```
210
+ Example
211
+ ``` Java
212
+
213
+ ```
105
214
* ### PhoneIntents
215
+ ``` Java
216
+
217
+ ```
218
+ Example
219
+ ``` Java
220
+
221
+ ```
106
222
* ### SearchIntents
223
+ ``` Java
224
+
225
+ ```
226
+ Example
227
+ ``` Java
228
+
229
+ ```
107
230
* ### SettingIntents
231
+ ``` Java
232
+ setting()
233
+ apnSetting()
234
+ bluetoothSetting()
235
+ dateSetting()
236
+ displaySetting()
237
+ localeSetting()
238
+ securitySetting()
239
+ wifiSetting()
240
+ wirelessSetting()
241
+ accessibilitySetting()
242
+ applicationSetting()
243
+ captioningSetting()
244
+ castSetting()
245
+ dreamSetting()
246
+ airplaneModeSetting()
247
+ inputMethodSetting()
248
+ locationSourceSetting()
249
+ internalStorageSetting()
250
+ memoryCardSetting()
251
+ homeSetting()
252
+ nfcSetting()
253
+ nfcSharingSetting()
254
+ nfcPaymentSetting()
255
+ printSetting()
256
+ privacySetting()
257
+ searchSetting()
258
+ soundSetting()
259
+ syncSetting()
260
+ webViewSetting()
261
+ vpnSetting()
262
+ applicationDetailSetting(String packageName)
263
+ applicationDevelopmentSetting()
264
+ batterySaverSetting()
265
+ dataRoamingSetting()
266
+ deviceInfoSetting()
267
+ hardKeyboardSetting()
268
+ manageApplicationSetting()
269
+ manageWriteSetting()
270
+ networkOperatorSetting()
271
+ notificationListenerSetting()
272
+ usageAccessSetting()
273
+ userDictionarySetting()
274
+ voiceInputSetting()
275
+ vrListenerSetting()
276
+ wifiIpSetting()
277
+ ignoreBatteryOptimizationSetting()
278
+ manageAllApplicationSetting()
279
+ manageDefaultAppsSetting()
280
+ inputMethodSubtypeSetting()
281
+ notificationPolicyAccessSetting()
282
+ ignoreBackgroundDataRestrictionsSetting(String packageName)
283
+ ```
284
+ Example
285
+ ``` Java
286
+ SettingIntents . from(this ). setting(). show();
287
+ ```
108
288
* ### ShareIntents
289
+ ``` Java
290
+
291
+ ```
292
+ Example
293
+ ``` Java
294
+
295
+ ```
109
296
* ### TextIntents
297
+ ``` Java
298
+
299
+ ```
300
+ Example
301
+ ``` Java
302
+
303
+ ```
110
304
* ### TimerIntents
305
+ ``` Java
306
+ createTimer(String subject, int seconds, boolean skipUi)
307
+ ```
308
+ Example
309
+ ``` Java
310
+ TimerIntents . from(this ). createTimer(" Run" , 180 , false ). show();
311
+ ```
0 commit comments