MediaScanner

MediaScanner for android

License

License

GroupId

GroupId

com.yanzhenjie
ArtifactId

ArtifactId

mediascanner
Last Version

Last Version

1.0.3
Release Date

Release Date

Type

Type

aar
Description

Description

MediaScanner
MediaScanner for android
Project URL

Project URL

https://github.com/yanzhenjie/MediaScanner
Source Code Management

Source Code Management

https://github.com/yanzhenjie/MediaScanner

Download mediascanner

How to add to project

<!-- https://jarcasting.com/artifacts/com.yanzhenjie/mediascanner/ -->
<dependency>
    <groupId>com.yanzhenjie</groupId>
    <artifactId>mediascanner</artifactId>
    <version>1.0.3</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/com.yanzhenjie/mediascanner/
implementation 'com.yanzhenjie:mediascanner:1.0.3'
// https://jarcasting.com/artifacts/com.yanzhenjie/mediascanner/
implementation ("com.yanzhenjie:mediascanner:1.0.3")
'com.yanzhenjie:mediascanner:aar:1.0.3'
<dependency org="com.yanzhenjie" name="mediascanner" rev="1.0.3">
  <artifact name="mediascanner" type="aar" />
</dependency>
@Grapes(
@Grab(group='com.yanzhenjie', module='mediascanner', version='1.0.3')
)
libraryDependencies += "com.yanzhenjie" % "mediascanner" % "1.0.3"
[com.yanzhenjie/mediascanner "1.0.3"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

MediaScanner

Android platform to scan media files to the system database tools.

QQ Group: 547839514
Author URL: http://www.yanzhenjie.com


Dependencies

  • Gradle
compile 'com.yanzhenjie:mediascanner:1.0.3'
  • Maven
<dependency>
  <groupId>com.yanzhenjie</groupId>
  <artifactId>mediascanner</artifactId>
  <version>1.0.3</version>
  <type>pom</type>
</dependency>

Usage

Create Scanner

MediaScanner mediaScanner = new MediaScanner(this);
...

Scan file path

String filePath = ...
mediaScanner.scan(filePath);

Scan file path array

String[] fileArray = ...
mediaScanner.scan(fileArray);

Scan file path list

String fileList = ...
mediaScanner.scan(fileList);

欢迎中国开发者关注作者微信公众号
扫码或者微信添加公众号-搜索严振杰
wechat

License

Copyright 2017 Yan Zhenjie

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Versions

Version
1.0.3
1.0.2
1.0.1