왕현성
코딩발자취
왕현성
전체 방문자
오늘
어제
  • 코딩 (277)
    • Python (71)
    • Java (16)
    • MySQL (34)
    • 인공지능 (48)
      • 머신러닝 (16)
      • 딥러닝 (32)
    • 영상처리 (4)
    • Rest API (21)
    • Android Studio (25)
    • streamlit (13)
    • DevOps (22)
      • AWS (9)
      • PuTTY (5)
      • Git (4)
      • Serverless (2)
      • Docker (2)
    • IT 기술 용어 (6)
    • 디버깅 ( 오류 해결 과정 ) (17)

블로그 메뉴

  • 홈
  • 태그
  • 방명록

공지사항

인기 글

태그

  • tune()
  • 영상기술
  • numpy
  • 기상탐사
  • alibi-detection
  • pip install labelme
  • yolov8
  • ckpt_file
  • TensorFlow
  • 컴퓨터비전
  • OpenCV
  • 의료이미징
  • alibidetect
  • PYTHON
  • 영상처리
  • labelme
  • pytorch
  • maskimage
  • PIL
  • matplotlib
  • get_long_description
  • labelme UnocodeDecodeError
  • 딥러닝
  • encoding='utf-8'
  • imageprocessing
  • ComputerVision
  • unsupervised
  • UnboundLocalError
  • 비지도학습
  • 영상처리역사

최근 댓글

최근 글

티스토리

250x250
hELLO · Designed By 정상우.
왕현성

코딩발자취

Android Studio

Android - Intent 활용 - 주소록, 웹페이지, 메시지, 이메일

2023. 2. 7. 17:00
728x90
// 연락처 선택하는 액티비티 띄우기
    void selectContact(){
        Intent intent = new Intent(Intent.ACTION_PICK);
        intent.setType(ContactsContract.Contacts.CONTENT_TYPE);
        startActivity(intent);
    }
// 웹브라우저 실행시키는 인텐트
    void openWebPage(String url){
        Uri uri = Uri.parse(url);
        Intent intent = new Intent(Intent.ACTION_VIEW,uri);
        startActivity(intent);
    }
// SMS 보내기위한 액티비티 띄우기
    void composerSMS(String phone){
        Uri uri = Uri.parse("smsto:"+phone);
        Intent intent = new Intent(Intent.ACTION_VIEW,uri);
        startActivity(intent);
    }
// 이메일 작성하는 액티비티 띄우기
    void composeEmail(String[] address, String subject){
        Uri uri = Uri.parse("mailto:");
        Intent intent = new Intent(Intent.ACTION_SENDTO);
        intent.setData(uri);
        intent.putExtra(Intent.EXTRA_EMAIL, address);
        intent.putExtra(Intent.EXTRA_SUBJECT, subject);
        startActivity(intent);
    }

'Android Studio' 카테고리의 다른 글

Android - ProgressDialog  (0) 2023.02.09
Android - recyclerView 페이징 처리 (recyclerView.addOnScrollListener)  (0) 2023.02.08
Android - 이미지 처리 Library Glide  (0) 2023.02.07
Android - 액션바 타이틀, Back 버튼 설정법과 / FAB(FloatingActionButton) 사용법  (0) 2023.02.06
Android - Multi Processing, Multi Threading/ 네트워크 통신을 위한 Volley Library  (0) 2023.02.03
    'Android Studio' 카테고리의 다른 글
    • Android - ProgressDialog
    • Android - recyclerView 페이징 처리 (recyclerView.addOnScrollListener)
    • Android - 이미지 처리 Library Glide
    • Android - 액션바 타이틀, Back 버튼 설정법과 / FAB(FloatingActionButton) 사용법
    왕현성
    왕현성
    AI 머신비전 학습일지

    티스토리툴바