본문 바로가기 메뉴 바로가기

Henry Tutorial

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

Henry Tutorial

검색하기 폼
  • 분류 전체보기 (128)
    • 알고리즘 (10)
    • 안드로이드 (16)
    • 플러터 (16)
    • 책 리뷰 (1)
    • 월간공부 (4)
    • 데이터베이스 (2)
    • 웹서버&프레임워크 (12)
    • API (6)
    • 블로그 운영 (2)
    • 일상 팁 (2)
    • 디버그 노트 (29)
    • CS(Computer Science) (18)
      • 운영체제 (12)
      • 디지털 논리설계 (0)
      • 기타 (6)
    • Tutorial (6)
    • 행정학 (1)
  • 방명록

assets (1)
안드로이드) json파일 AssetsManager로 직접 파싱해서 사용하기 (코틀린)

안드로이드에서 로컬에 json 정보를 넣어놓고 파싱 할 수 있다. 우선 json 파일을 생성하는방법은 위처럼 app -> Folder -> Assets Folder로 들어가 assets 폴더를 생성하고 위와같이 assets -> new -> file을 선택해서 원하는파일명.json 파일을 만든다. 사용한 json 파일은 아래와 같다. { "friends" : [ { "friendsName" : "김영희", "friendsScript" : "김영희의 상태 메세지", "friendsProfileImage" : "dummy", "friendsEmail": "yh@naver.com" }, { "friendsName" : "최철수", "friendsScript" : "최철수의 상태 메세지", "friendsPro..

안드로이드 2019. 11. 30. 13:24
이전 1 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
  • DART
  • Git
  • Django
  • flutter
  • CHANNELS
  • socket.io
  • chatting
  • github
  • redis
  • 알고리즘
  • 코틀린
  • 해결
  • RecyclerView
  • Android
  • Kotlin
  • springboot
  • mysql
  • 에러해결
  • Tutorial
  • Hummingbird
  • password
  • node.js
  • flame
  • 안드로이드
  • django server
  • 플러터
  • Android Studio
  • 안드로이드스튜디오
  • WAS
  • 에러
more
«   2025/05   »
일 월 화 수 목 금 토
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바