資源簡介
android 仿照網易云的聽歌識曲,就是個小功能,但是還是比較常用的功能,親測可用,大家可以集成在自己的項目中直接使用
代碼片段和文件信息
package?com.fdm.neteasyripple;
import?android.content.Context;
import?android.support.test.InstrumentationRegistry;
import?android.support.test.runner.AndroidJUnit4;
import?org.junit.Test;
import?org.junit.runner.RunWith;
import?static?org.junit.Assert.*;
/**
?*?Instrumentation?test?which?will?execute?on?an?Android?device.
?*
?*?@see?Testing?documentation
?*/
@RunWith(AndroidJUnit4.class)
public?class?ExampleInstrumentedTest?{
????@Test
????public?void?useAppContext()?throws?Exception?{
????????//?Context?of?the?app?under?test.
????????Context?appContext?=?InstrumentationRegistry.getTargetContext();
????????assertEquals(“com.fdm.neteasyripple“?appContext.getPackageName());
????}
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2017-07-10?13:33??NetEasyRipple-master\
?????文件?????????118??2017-07-10?13:33??NetEasyRipple-master\.gitignore
?????目錄???????????0??2017-07-10?13:33??NetEasyRipple-master\.idea\
?????文件?????????686??2017-07-10?13:33??NetEasyRipple-master\.idea\compiler.xm
?????目錄???????????0??2017-07-10?13:33??NetEasyRipple-master\.idea\copyright\
?????文件??????????74??2017-07-10?13:33??NetEasyRipple-master\.idea\copyright\profiles_settings.xm
?????文件?????????200??2017-07-10?13:33??NetEasyRipple-master\.idea\encodings.xm
?????文件?????????626??2017-07-10?13:33??NetEasyRipple-master\.idea\gradle.xm
?????文件????????2226??2017-07-10?13:33??NetEasyRipple-master\.idea\misc.xm
?????文件?????????363??2017-07-10?13:33??NetEasyRipple-master\.idea\modules.xm
?????文件?????????564??2017-07-10?13:33??NetEasyRipple-master\.idea\runConfigurations.xm
?????文件?????????180??2017-07-10?13:33??NetEasyRipple-master\.idea\vcs.xm
?????文件?????????232??2017-07-10?13:33??NetEasyRipple-master\README.md
?????目錄???????????0??2017-07-10?13:33??NetEasyRipple-master\app\
?????文件???????????7??2017-07-10?13:33??NetEasyRipple-master\app\.gitignore
?????目錄???????????0??2017-07-10?13:33??NetEasyRipple-master\app\art\
?????文件??????318758??2017-07-10?13:33??NetEasyRipple-master\app\art\ripple2.gif
?????文件?????????938??2017-07-10?13:33??NetEasyRipple-master\app\build.gradle
?????文件?????????916??2017-07-10?13:33??NetEasyRipple-master\app\proguard-rules.pro
?????目錄???????????0??2017-07-10?13:33??NetEasyRipple-master\app\src\
?????目錄???????????0??2017-07-10?13:33??NetEasyRipple-master\app\src\androidTest\
?????目錄???????????0??2017-07-10?13:33??NetEasyRipple-master\app\src\androidTest\java\
?????目錄???????????0??2017-07-10?13:33??NetEasyRipple-master\app\src\androidTest\java\com\
?????目錄???????????0??2017-07-10?13:33??NetEasyRipple-master\app\src\androidTest\java\com\fdm\
?????目錄???????????0??2017-07-10?13:33??NetEasyRipple-master\app\src\androidTest\java\com\fdm\neteasyripple\
?????文件?????????746??2017-07-10?13:33??NetEasyRipple-master\app\src\androidTest\java\com\fdm\neteasyripple\ExampleInstrumentedTest.java
?????目錄???????????0??2017-07-10?13:33??NetEasyRipple-master\app\src\main\
?????文件?????????697??2017-07-10?13:33??NetEasyRipple-master\app\src\main\AndroidManifest.xm
?????目錄???????????0??2017-07-10?13:33??NetEasyRipple-master\app\src\main\java\
?????目錄???????????0??2017-07-10?13:33??NetEasyRipple-master\app\src\main\java\com\
?????目錄???????????0??2017-07-10?13:33??NetEasyRipple-master\app\src\main\java\com\fdm\
............此處省略44個文件信息
評論
共有 條評論