GoCats:使用 Go 作为主要语言的 Android 应用示例-源码

上传者: 42170790 | 上传时间: 2021-07-03 09:10:01 | 文件大小: 2.48MB | 文件类型: ZIP
走猫 使用 Go 作为主要语言的 Android 应用示例。 从 /r/aww 抓取图像并每隔几秒钟在手机上显示一个新图像。 Go 用于网络、json 解析、缓存和计时器。 去源: : Go/Android 编译的快速设置 更新安卓工具 安装 NDK ( ) 设置安卓工具链 ./build/tools/make-standalone-toolchain.sh --arch=arm --platform=android-19 --system=darwin-x86_64 --toolchain=arm-linux-androideabi-4.8 --install-dir=$NDK_ROOT 更新转到 1.4(如果您使用 Android 5.0+,则从 master 克隆 ) go get golang.org/x/mobile/app 为android交叉编译gcc

文件下载

资源详情

[{"title":"( 51 个子文件 2.48MB ) GoCats:使用 Go 作为主要语言的 Android 应用示例-源码","children":[{"title":"GoCats-master","children":[{"title":"build.sh <span style='color:#111;'> 181B </span>","children":null,"spread":false},{"title":"main.go <span style='color:#111;'> 322B </span>","children":null,"spread":false},{"title":"gradlew <span style='color:#111;'> 4.96KB </span>","children":null,"spread":false},{"title":"settings.gradle <span style='color:#111;'> 15B </span>","children":null,"spread":false},{"title":"genbindings.sh <span style='color:#111;'> 907B </span>","children":null,"spread":false},{"title":"run.sh <span style='color:#111;'> 258B </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 11.06KB </span>","children":null,"spread":false},{"title":"assets","children":[{"title":"gocats-icon <span style='color:#111;'> 186.65KB </span>","children":null,"spread":false},{"title":"gocats-icon_512.png <span style='color:#111;'> 22.45KB </span>","children":null,"spread":false}],"spread":true},{"title":"gradle","children":[{"title":"wrapper","children":[{"title":"gradle-wrapper.properties <span style='color:#111;'> 229B </span>","children":null,"spread":false},{"title":"gradle-wrapper.jar <span style='color:#111;'> 48.73KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"README.md <span style='color:#111;'> 1.12KB </span>","children":null,"spread":false},{"title":"gradlew.bat <span style='color:#111;'> 2.35KB </span>","children":null,"spread":false},{"title":"gradle.properties <span style='color:#111;'> 853B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 100B </span>","children":null,"spread":false},{"title":"app","children":[{"title":"src","children":[{"title":"androidTest","children":[{"title":"java","children":[{"title":"org","children":[{"title":"collegelabs","children":[{"title":"gocats","children":[{"title":"app","children":[{"title":"ApplicationTest.java <span style='color:#111;'> 357B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"main","children":[{"title":"jniLibs","children":[{"title":"armeabi","children":[{"title":"libgojni.so <span style='color:#111;'> 7.06MB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'> 994B </span>","children":null,"spread":false},{"title":"res","children":[{"title":"values-v21","children":[{"title":"styles.xml <span style='color:#111;'> 166B </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 2.69KB </span>","children":null,"spread":false},{"title":"ic_action_warning.png <span style='color:#111;'> 528B </span>","children":null,"spread":false}],"spread":false},{"title":"menu","children":[{"title":"menu_main.xml <span style='color:#111;'> 330B </span>","children":null,"spread":false}],"spread":false},{"title":"layout","children":[{"title":"pager_view.xml <span style='color:#111;'> 1.18KB </span>","children":null,"spread":false},{"title":"activity_main.xml <span style='color:#111;'> 676B </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-xxhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 5.64KB </span>","children":null,"spread":false},{"title":"ic_action_warning.png <span style='color:#111;'> 899B </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 3.64KB </span>","children":null,"spread":false},{"title":"ic_action_warning.png <span style='color:#111;'> 701B </span>","children":null,"spread":false}],"spread":false},{"title":"values-w820dp","children":[{"title":"dimens.xml <span style='color:#111;'> 358B </span>","children":null,"spread":false}],"spread":false},{"title":"values","children":[{"title":"colors.xml <span style='color:#111;'> 160B </span>","children":null,"spread":false},{"title":"strings.xml <span style='color:#111;'> 216B </span>","children":null,"spread":false},{"title":"styles.xml <span style='color:#111;'> 206B </span>","children":null,"spread":false},{"title":"dimens.xml <span style='color:#111;'> 211B </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-xxxhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 7.45KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"java","children":[{"title":"go","children":[{"title":"Seq.java <span style='color:#111;'> 7.18KB </span>","children":null,"spread":false},{"title":"Go.java <span style='color:#111;'> 1.12KB </span>","children":null,"spread":false},{"title":"libcats","children":[{"title":"Libcats.java <span style='color:#111;'> 19.57KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"com","children":[{"title":"jakewharton","children":[{"title":"salvage","children":[{"title":"RecycleBin.java <span style='color:#111;'> 5.44KB </span>","children":null,"spread":false},{"title":"RecyclingPagerAdapter.java <span style='color:#111;'> 4.35KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"org","children":[{"title":"collegelabs","children":[{"title":"gocats","children":[{"title":"app","children":[{"title":"BaseApplication.java <span style='color:#111;'> 2.55KB </span>","children":null,"spread":false},{"title":"ImageInfo.java <span style='color:#111;'> 256B </span>","children":null,"spread":false},{"title":"SampleActivity.java <span style='color:#111;'> 775B </span>","children":null,"spread":false},{"title":"MainActivity.java <span style='color:#111;'> 3.28KB </span>","children":null,"spread":false},{"title":"CatView.java <span style='color:#111;'> 12.56KB </span>","children":null,"spread":false},{"title":"ImageMetaData.java <span style='color:#111;'> 443B </span>","children":null,"spread":false},{"title":"CatPagerAdapter.java <span style='color:#111;'> 3.25KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"libs","children":[{"title":"acra.jar <span style='color:#111;'> 127.94KB </span>","children":null,"spread":false}],"spread":false},{"title":".gitignore <span style='color:#111;'> 7B </span>","children":null,"spread":false},{"title":"build.gradle <span style='color:#111;'> 1.75KB </span>","children":null,"spread":false},{"title":"proguard-rules.pro <span style='color:#111;'> 776B </span>","children":null,"spread":false}],"spread":false},{"title":"build.gradle <span style='color:#111;'> 437B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明