資源簡介
郭霖《第一行代碼》源碼以及資源。因為原github源碼下載速度實在慢的驚人,還屢次失敗,特在此分享源碼以及資源。無坑
代碼片段和文件信息
package?com.example.helloworld;
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.example.helloworld“?appContext.getPackageName());
????}
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
????.......????????97??2018-06-04?16:40??第一行代碼第二版源代碼\chapter1\HelloWorld\.gitignore
????.......?????????7??2018-06-04?16:40??第一行代碼第二版源代碼\chapter1\HelloWorld\app\.gitignore
????.......???????622??2018-06-04?16:40??第一行代碼第二版源代碼\chapter1\HelloWorld\app\build.gradle
????.......???????679??2018-06-04?16:40??第一行代碼第二版源代碼\chapter1\HelloWorld\app\proguard-rules.pro
????.......???????748??2018-06-04?16:40??第一行代碼第二版源代碼\chapter1\HelloWorld\app\src\androidTest\java\com\example\helloworld\ExampleInstrumentedTest.java
????.......???????667??2018-06-04?16:40??第一行代碼第二版源代碼\chapter1\HelloWorld\app\src\main\AndroidManifest.xm
????.......???????473??2018-06-04?16:40??第一行代碼第二版源代碼\chapter1\HelloWorld\app\src\main\java\com\example\helloworld\HelloWorldActivity.java
????.......???????749??2018-06-04?16:40??第一行代碼第二版源代碼\chapter1\HelloWorld\app\src\main\res\layout\hello_world_layout.xm
????.......??????3418??2018-06-04?16:40??第一行代碼第二版源代碼\chapter1\HelloWorld\app\src\main\res\mipmap-hdpi\ic_launcher.png
????.......??????2206??2018-06-04?16:40??第一行代碼第二版源代碼\chapter1\HelloWorld\app\src\main\res\mipmap-mdpi\ic_launcher.png
????.......??????4842??2018-06-04?16:40??第一行代碼第二版源代碼\chapter1\HelloWorld\app\src\main\res\mipmap-xhdpi\ic_launcher.png
????.......??????7718??2018-06-04?16:40??第一行代碼第二版源代碼\chapter1\HelloWorld\app\src\main\res\mipmap-xxhdpi\ic_launcher.png
????.......?????10486??2018-06-04?16:40??第一行代碼第二版源代碼\chapter1\HelloWorld\app\src\main\res\mipmap-xxxhdpi\ic_launcher.png
????.......???????208??2018-06-04?16:40??第一行代碼第二版源代碼\chapter1\HelloWorld\app\src\main\res\values\colors.xm
????.......???????211??2018-06-04?16:40??第一行代碼第二版源代碼\chapter1\HelloWorld\app\src\main\res\values\dimens.xm
????.......????????73??2018-06-04?16:40??第一行代碼第二版源代碼\chapter1\HelloWorld\app\src\main\res\values\strings.xm
????.......???????383??2018-06-04?16:40??第一行代碼第二版源代碼\chapter1\HelloWorld\app\src\main\res\values\st
????.......???????358??2018-06-04?16:40??第一行代碼第二版源代碼\chapter1\HelloWorld\app\src\main\res\values-w820dp\dimens.xm
????.......???????400??2018-06-04?16:40??第一行代碼第二版源代碼\chapter1\HelloWorld\app\src\test\java\com\example\helloworld\ExampleUnitTest.java
????.......???????498??2018-06-04?16:40??第一行代碼第二版源代碼\chapter1\HelloWorld\build.gradle
????.......?????53636??2018-06-04?16:40??第一行代碼第二版源代碼\chapter1\HelloWorld\gradle\wrapper\gradle-wrapper.jar
????.......???????233??2018-06-04?16:40??第一行代碼第二版源代碼\chapter1\HelloWorld\gradle\wrapper\gradle-wrapper.properties
????.......???????730??2018-06-04?16:40??第一行代碼第二版源代碼\chapter1\HelloWorld\gradle.properties
????.......??????4971??2018-06-04?16:40??第一行代碼第二版源代碼\chapter1\HelloWorld\gradlew
????.......??????2314??2018-06-04?16:40??第一行代碼第二版源代碼\chapter1\HelloWorld\gradlew.bat
????.......????????15??2018-06-04?16:40??第一行代碼第二版源代碼\chapter1\HelloWorld\settings.gradle
????.......????????97??2018-06-04?16:40??第一行代碼第二版源代碼\chapter10\AndroidThreadTest\.gitignore
????.......?????????7??2018-06-04?16:40??第一行代碼第二版源代碼\chapter10\AndroidThreadTest\app\.gitignore
????.......???????630??2018-06-04?16:40??第一行代碼第二版源代碼\chapter10\AndroidThreadTest\app\build.gradle
????.......???????679??2018-06-04?16:40??第一行代碼第二版源代碼\chapter10\AndroidThreadTest\app\proguard-rules.pro
............此處省略4241個文件信息
- 上一篇:基于OpenCV的車牌識別
- 下一篇:離散數學學習指導與習題解析 第2版_屈婉玲
評論
共有 條評論