@@ -76,11 +76,14 @@ startActivity(SettingIntents.from(this).applicationSetting().build());
76
76
```
77
77
* ### CameraIntents
78
78
``` Java
79
-
79
+ openPhotoCamera()
80
+ openVideoCamera()
81
+ capturePhoto(Uri location, String fileName)
82
+ captureVideo(Uri location, String fileName)
80
83
```
81
84
Example
82
85
``` Java
83
-
86
+ startActivityForResult( CameraIntents . from( this ) . openPhotoCamera() . build(), RequestTag . IMAGE_CAMERA );
84
87
```
85
88
* ### ContactIntents
86
89
``` Java
@@ -118,11 +121,14 @@ startActivity(SettingIntents.from(this).applicationSetting().build());
118
121
```
119
122
* ### FileIntents
120
123
``` Java
121
-
124
+ fileChooser()
125
+ pickFile()
126
+ pickImageFile()
127
+ pickImageFile(Boolean allowMultiple, Boolean localOnly)
122
128
```
123
129
Example
124
130
``` Java
125
-
131
+ startActivityForResult( FileIntents . from( this ) . fileChooser() . build(), RequestTag . FILE_CHOOSE );
126
132
```
127
133
* ### GalleryIntents
128
134
``` Java
@@ -133,37 +139,61 @@ startActivity(SettingIntents.from(this).applicationSetting().build());
133
139
``` Java
134
140
startActivityForResult(GalleryIntents . from(this ). pickImage(). build(), RequestTag . PICK_IMAGE );
135
141
```
136
- * ### GeoIntents
142
+ * ### MapIntents
137
143
``` Java
138
-
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()
139
153
```
140
154
Example
141
155
``` Java
142
-
156
+ MapIntents . from( this ) . locationOf( " Champ de Mars, Avenue Anatole France, Paris, France " , " Eiffel Tower " ) . show();
143
157
```
144
158
* ### MarketIntents
145
159
``` Java
146
-
160
+ showThisAppInMarket()
161
+ showThisAppInGooglePlay()
162
+ showThisAppInAmazon()
163
+ showInMarket(String packageName)
164
+ showInGooglePlay(String packageName)
165
+ showInAmazon(String packageName)
166
+ showGooglePlay()
167
+ searchAppInGooglePlay(String appName)
147
168
```
148
169
Example
149
170
``` Java
150
-
171
+ MarketIntents . from( this ) . showInMarket( " com.instagram.android " ) . show();
151
172
```
152
173
* ### MediaIntents
153
174
``` Java
154
-
175
+ playAudio(String url)
176
+ showImage(String url)
177
+ playVideo(String url)
178
+ playYouTubeVideo(String videoId)
155
179
```
156
180
Example
157
181
``` Java
158
-
182
+ MediaIntents . from( this ) . playYouTubeVideo( " gOzdLhJG2EQ " ) . show();
159
183
```
160
184
* ### MessagingIntents
161
185
``` Java
162
-
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)
163
193
```
164
194
Example
165
195
``` Java
166
-
196
+ MessagingIntents . from( this ) . createEmptySms() . show();
167
197
```
168
198
* ### MusicIntents
169
199
``` Java
0 commit comments