LoginSignup
2
3

More than 5 years have passed since last update.

kotlinでアプリを試すお勉強1

Last updated at Posted at 2018-10-21

動かす

GASで作ったシステムのトリガーをかけたいけどブラウザでURLにアクセスするのは面倒。
勉強がてら、簡単なボタンアプリにしたら便利かも。

IntelliJ IDEAでKotlin Androidアプリ開発環境構築! 導入編 - Qiita
https://qiita.com/g0z4ru/items/24bca8e6fb691f29260f

intellij IDEAでの初期設定
Kotlinのプロジェクトじゃなく、Androidのプロジェクトなのね

IntelliJ IDEAでKotlin Androidアプリ開発環境構築! 起動編 - Qiita
https://qiita.com/g0z4ru/items/033afabd7d06087df928

デバイスを追加する事例
結果、大体はSDKに促されるままインストールをしていくのでいけた

アプリケーションのビルドと実行 - 公式ヘルプ | IntelliJ IDEA
https://pleiades.io/help/idea/building-and-running-the-application.html#AddRunConfig

物理デバイスをUSBで使う
まだ未検証

[Android & Kotlin] Buttonアプリを作ってみるとJavaよりシンプルだった
https://akira-watson.com/android/kotlin/button-sample.html

シンプルなボタンを作る事例

初めてのAndroidアプリ開発(Kotlin編)- プログラミングの基本 - Qiita
https://qiita.com/TomiGie/items/fb60a80780689b86dc59#android-studio-%E3%81%AB-kotlin%E3%83%97%E3%83%A9%E3%82%B0%E3%82%A4%E3%83%B3%E3%82%92%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB%E3%81%99%E3%82%8B

良さげだけどまだみれてない

IDEAとAndroid Studio

僕がEclipseをやめてAndroid Studioを使っている10の理由 - ナカザンドットネット
https://blog.nkzn.info/entry/2014/03/21/015914

IDEAをベースにしているのか。。

Android - intellijでandroidの環境構築|teratail
https://teratail.com/questions/141655

どちらがいいのか。。

HTTPSについての制限

KotlinでHTTP通信(FuelとHttpURLConnection) - Qiita
https://qiita.com/naoi/items/8df1409ad48ad8f3c632

fuelでもconnectでもうまくいってくれない

Android 7 以降で mitmproxy が動作しない - Qiita
https://qiita.com/notona/items/8faf62872a032b2d728d

android7かららしい

ネットワーク セキュリティ構成  |  Android Developers
https://developer.android.com/training/articles/security-config?hl=ja

App security best practices  |  Android Developers
https://developer.android.com/topic/security/best-practices

この通りにしているつもりだけど、なかなかうまくいってくれない。。

D/NetworkSecurityConfig: Using Network Security Config from resource network_security_config debugBuild: true となっていて、debugBuildが関係しているのか、他の原因な気がする

kotlin.browser - Kotlin Programming Language
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.browser/index.html

きになる

Kotlin & AndroidでIIJmioでログインする - Qiita
https://qiita.com/otsuka_kohei/items/37bb15b5667ea0aa0286

ブラウザに渡す方がいいのかなあ

HTTPのためにプロキシ設定

Android Studioを使う前に - 2018 Socio Informatics Seminar Wiki Site
http://www.wakayama-u.ac.jp/~itou/SISeminar/index.php?Android%20Studio%A4%F2%BB%C8%A4%A6%C1%B0%A4%CB

色々悩んだけど、結果的には簡単でプロキシを自動設定したらつながった

GAS

GASをkotlinで開発する方法 - なおしむ論
https://naosim.hatenablog.jp/entry/2018/08/19/100546

GASもいけるのね。。
2
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
3