Skip to content

Commit 0a8fec8

Browse files
Update README.md
1 parent 354699a commit 0a8fec8

File tree

1 file changed

+43
-13
lines changed

1 file changed

+43
-13
lines changed

README.md

Lines changed: 43 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,14 @@ startActivity(SettingIntents.from(this).applicationSetting().build());
7676
```
7777
* ### CameraIntents
7878
```Java
79-
79+
openPhotoCamera()
80+
openVideoCamera()
81+
capturePhoto(Uri location, String fileName)
82+
captureVideo(Uri location, String fileName)
8083
```
8184
Example
8285
```Java
83-
86+
startActivityForResult(CameraIntents.from(this).openPhotoCamera().build(), RequestTag.IMAGE_CAMERA);
8487
```
8588
* ### ContactIntents
8689
```Java
@@ -118,11 +121,14 @@ startActivity(SettingIntents.from(this).applicationSetting().build());
118121
```
119122
* ### FileIntents
120123
```Java
121-
124+
fileChooser()
125+
pickFile()
126+
pickImageFile()
127+
pickImageFile(Boolean allowMultiple, Boolean localOnly)
122128
```
123129
Example
124130
```Java
125-
131+
startActivityForResult(FileIntents.from(this).fileChooser().build(), RequestTag.FILE_CHOOSE);
126132
```
127133
* ### GalleryIntents
128134
```Java
@@ -133,37 +139,61 @@ startActivity(SettingIntents.from(this).applicationSetting().build());
133139
```Java
134140
startActivityForResult(GalleryIntents.from(this).pickImage().build(), RequestTag.PICK_IMAGE);
135141
```
136-
* ### GeoIntents
142+
* ### MapIntents
137143
```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()
139153
```
140154
Example
141155
```Java
142-
156+
MapIntents.from(this).locationOf("Champ de Mars, Avenue Anatole France, Paris, France", "Eiffel Tower").show();
143157
```
144158
* ### MarketIntents
145159
```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)
147168
```
148169
Example
149170
```Java
150-
171+
MarketIntents.from(this).showInMarket("com.instagram.android").show();
151172
```
152173
* ### MediaIntents
153174
```Java
154-
175+
playAudio(String url)
176+
showImage(String url)
177+
playVideo(String url)
178+
playYouTubeVideo(String videoId)
155179
```
156180
Example
157181
```Java
158-
182+
MediaIntents.from(this).playYouTubeVideo("gOzdLhJG2EQ").show();
159183
```
160184
* ### MessagingIntents
161185
```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)
163193
```
164194
Example
165195
```Java
166-
196+
MessagingIntents.from(this).createEmptySms().show();
167197
```
168198
* ### MusicIntents
169199
```Java

0 commit comments

Comments
 (0)