2010년 5월 3일 월요일

4월 30일

다음번 스터디

5월 14일 강남 토즈 8시 (예정)

5장 스터디 예정

 

4장

서비스, ipc,intent 봤음

 

intent 사용방법

 

url로 해서 호출 가능

url는 mime타입/콘텐츠명or주소값/쿼리 스트링 이런 식으로 사용 가능함

 

첫번째 방식 : 그냥 intent filter에 적혀 있는 이름을 직접호출 xml [code] [/code] code : [code] Intent intent = new Intent(Constants.INTENT_ACTION_VIEW_LIST); startActivity(intent); [/code]

두번째 방식 : 그냥 intent filter에 skema로 호출 xml [code] [/code] code : [code] uri = Uri.parse("weather://com.msi.manning/위치?zip=" + this.reportZip); intent = new Intent(Intent.ACTION_VIEW, uri); startActivity(intent); [/code]

 

서비스, receivers

 

 

댓글 없음:

댓글 쓰기