-
大小: 23.16MB文件類型: .rar金幣: 1下載: 0 次發(fā)布日期: 2023-06-28
- 語(yǔ)言: Java
- 標(biāo)簽:
資源簡(jiǎn)介
Android第二行代碼(郭霖全書(shū)源代碼)
代碼片段和文件信息
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());
????}
}
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
????.......????????97??2016-11-17?06:10??Android第二行代碼(全書(shū)源代碼)\booksource\chapter1\HelloWorld\.gitignore
????.......?????????7??2016-11-17?06:10??Android第二行代碼(全書(shū)源代碼)\booksource\chapter1\HelloWorld\app\.gitignore
????.......???????622??2016-11-17?06:10??Android第二行代碼(全書(shū)源代碼)\booksource\chapter1\HelloWorld\app\build.gradle
????.......???????679??2016-11-17?06:10??Android第二行代碼(全書(shū)源代碼)\booksource\chapter1\HelloWorld\app\proguard-rules.pro
????.......???????748??2016-11-17?06:10??Android第二行代碼(全書(shū)源代碼)\booksource\chapter1\HelloWorld\app\src\androidTest\java\com\example\helloworld\ExampleInstrumentedTest.java
????.......???????667??2016-11-17?06:10??Android第二行代碼(全書(shū)源代碼)\booksource\chapter1\HelloWorld\app\src\main\AndroidManifest.xm
????.......???????473??2016-11-17?06:10??Android第二行代碼(全書(shū)源代碼)\booksource\chapter1\HelloWorld\app\src\main\java\com\example\helloworld\HelloWorldActivity.java
????.......???????749??2016-11-17?06:10??Android第二行代碼(全書(shū)源代碼)\booksource\chapter1\HelloWorld\app\src\main\res\layout\hello_world_layout.xm
????.......??????3418??2016-11-17?06:10??Android第二行代碼(全書(shū)源代碼)\booksource\chapter1\HelloWorld\app\src\main\res\mipmap-hdpi\ic_launcher.png
????.......??????2206??2016-11-17?06:10??Android第二行代碼(全書(shū)源代碼)\booksource\chapter1\HelloWorld\app\src\main\res\mipmap-mdpi\ic_launcher.png
????.......??????4842??2016-11-17?06:10??Android第二行代碼(全書(shū)源代碼)\booksource\chapter1\HelloWorld\app\src\main\res\mipmap-xhdpi\ic_launcher.png
????.......??????7718??2016-11-17?06:10??Android第二行代碼(全書(shū)源代碼)\booksource\chapter1\HelloWorld\app\src\main\res\mipmap-xxhdpi\ic_launcher.png
????.......?????10486??2016-11-17?06:10??Android第二行代碼(全書(shū)源代碼)\booksource\chapter1\HelloWorld\app\src\main\res\mipmap-xxxhdpi\ic_launcher.png
????.......???????208??2016-11-17?06:10??Android第二行代碼(全書(shū)源代碼)\booksource\chapter1\HelloWorld\app\src\main\res\values\colors.xm
????.......???????211??2016-11-17?06:10??Android第二行代碼(全書(shū)源代碼)\booksource\chapter1\HelloWorld\app\src\main\res\values\dimens.xm
????.......????????73??2016-11-17?06:10??Android第二行代碼(全書(shū)源代碼)\booksource\chapter1\HelloWorld\app\src\main\res\values\strings.xm
????.......???????383??2016-11-17?06:10??Android第二行代碼(全書(shū)源代碼)\booksource\chapter1\HelloWorld\app\src\main\res\values\st
????.......???????358??2016-11-17?06:10??Android第二行代碼(全書(shū)源代碼)\booksource\chapter1\HelloWorld\app\src\main\res\values-w820dp\dimens.xm
????.......???????400??2016-11-17?06:10??Android第二行代碼(全書(shū)源代碼)\booksource\chapter1\HelloWorld\app\src\test\java\com\example\helloworld\ExampleUnitTest.java
????.......???????498??2016-11-17?06:10??Android第二行代碼(全書(shū)源代碼)\booksource\chapter1\HelloWorld\build.gradle
????.......?????53636??2016-11-17?06:10??Android第二行代碼(全書(shū)源代碼)\booksource\chapter1\HelloWorld\gradle\wrapper\gradle-wrapper.jar
????.......???????233??2016-11-17?06:10??Android第二行代碼(全書(shū)源代碼)\booksource\chapter1\HelloWorld\gradle\wrapper\gradle-wrapper.properties
????.......???????730??2016-11-17?06:10??Android第二行代碼(全書(shū)源代碼)\booksource\chapter1\HelloWorld\gradle.properties
????.......??????4971??2016-11-17?06:10??Android第二行代碼(全書(shū)源代碼)\booksource\chapter1\HelloWorld\gradlew
????.......??????2314??2016-11-17?06:10??Android第二行代碼(全書(shū)源代碼)\booksource\chapter1\HelloWorld\gradlew.bat
????.......????????15??2016-11-17?06:10??Android第二行代碼(全書(shū)源代碼)\booksource\chapter1\HelloWorld\settings.gradle
????.......????????97??2016-11-17?06:10??Android第二行代碼(全書(shū)源代碼)\booksource\chapter10\AndroidThreadTest\.gitignore
????.......?????????7??2016-11-17?06:10??Android第二行代碼(全書(shū)源代碼)\booksource\chapter10\AndroidThreadTest\app\.gitignore
????.......???????630??2016-11-17?06:10??Android第二行代碼(全書(shū)源代碼)\booksource\chapter10\AndroidThreadTest\app\build.gradle
????.......???????679??2016-11-17?06:10??Android第二行代碼(全書(shū)源代碼)\booksource\chapter10\AndroidThreadTest\app\proguard-rules.pro
............此處省略2106個(gè)文件信息
- 上一篇:100多個(gè)Android 集合
- 下一篇:餐宴網(wǎng)配送
評(píng)論
共有 條評(píng)論