1. 데이터 베이스의 shop table row를 모두 불러와 리스트 뷰로 옮기기
2. 커스텀 리스트 뷰를 만들어 실제 사용 가능한 UI/UX 구현을 진행 예정
3. 데이터베이스를 불러 오는 과정에서 PHP -> JSON변환이 OBJECT, ARRAY 방식의 차이로 인해 계속 오류가 발생하여 6시간을 잡아먹었음.. JSON에 대해서 조금 더 공부해봐야할듯.
JSONObject jsonObject = new JSONObject(jsonString);
JSONArray jsonArray = jsonObject.getJSONArray("webnautes");
jsonString = fromdoInBackgroundString;
shopArrayList = doParse();
Log.d(TAG, shopArrayList.get(0).getName());
textView.setText(shopArrayList.get(0).getName());
textView2.setText(shopArrayList.get(0).getDescription());
textView3.setText(shopArrayList.get(0).getField());
E/BoostFramework: BoostFramework() : Exception_1 = java.lang.ClassNotFoundException: Didn't find class "com.qualcomm.qti.Performance" on path: DexPathList[[],nativeLibraryDirectories=[/system/lib64, /vendor/lib64]]
https://github.com/Damnun/Android_SoonBapSang
GitHub - Damnun/Android_SoonBapSang: 안드로이드 프로그래밍, JAVA를 이용해 순밥상 어플을 제작
안드로이드 프로그래밍, JAVA를 이용해 순밥상 어플을 제작. Contribute to Damnun/Android_SoonBapSang development by creating an account on GitHub.
github.com
'안드로이드 프로그래밍 (Android Programming) > 순밥상 (Android Project)' 카테고리의 다른 글
220523 안드로이드-PHP-MYSQL 개발일지 (0) | 2022.05.23 |
---|