프로그래밍/안드로이드

안드로이드 - URI parser에서 분석되는 방법

가카리 2014. 1. 5. 20:48
반응형
uri String 이 아래와 같을때
content://media/external/audio/playlists/8/members

분석된 결과는 아래와 같다.
authority                    =  media
uri.getPathSegments().get(0) =  external
uri.getPathSegments().get(1) =  audio
uri.getPathSegments().get(2) =  playlists
uri.getPathSegments().get(3) =  8
반응형