728x90 android12 Flutter 포토 스티커 포토 스티커 앱필수 플러그인image_picker Flutter 앱에서 이미지 또는 비디오를 카메라 또는 갤러리에서 선택할 수 있도록 해주는 공식 플러그인입니다. https://pub.dev/packages/image_picker image_picker | Flutter packageFlutter plugin for selecting images from the Android and iOS image library, and taking new pictures with the camera.pub.dev기능설명갤러리에서 이미지 선택사용자의 기기에서 이미지 파일을 가져옴카메라로 사진 촬영즉석에서 카메라 실행 후 촬영갤러리/카메라에서 동영상 선택 또는 촬영이미지뿐 아니라 비디오도 지원크기 제한, 압축 설정ma.. 2025. 4. 21. Android Service에서 AlertDialog 띄우기 Android Service에서 AlertDialog을 원칙적으로 띄울 수는 없다. Dialog 형태의 Activity을 만들어 띄우는 편법을 사용해야 한다. Step 1. AlertDialog Activity 정의, theme을 "Theme.Dialog”로 정의해서 PopUp 형태를 취할 수 있게 한다. <activity android:name=".AlertDialogActivity" android:theme="@android:style/Theme.Dialog"> <int.. 2018. 5. 3. Android 촬영 사진의 회전 각도 구하기 Android에서 촬영한 사진이나 앨범에서 사진을 Server Side로 전송하는 부분을 개발하다 보니 Vender 마다 차이가 있었다. 무슨 문제가 있었던 것일까? LG Phone 세로 모드로 사진 촬영: 정상 가로 모드로 사진 촬영: 정상 Sam Sung Phone 세로 모드로 사진 촬영: 90도 회전 된 이미지가 전송 가로 모드로 .. 2018. 5. 3. Android에서 Httpclient와 WebView간 HttpSession 공유 요즘은 Mobile Application를 Hybrid Type으로 개발하는 것이 대세인 것 같습니다. App과 Web의 이동을 원활하게 하기 위해서 HttpSession를 사용하는 경우가 있습니다. 이 번 글에서는 Android에서 Httpclient와 WebView간 Session(사실은 Cookie)를 공유(사실은 Copy)하는 방법을 알아보겠습니다. Example Case 기존 사.. 2018. 4. 19. Android Inter-App Communication 이번 튜토리얼에서는 두 개의 Process 사이에서 하나가 다른 Process의 Service을 호출하는 방법에 대하여 설명하고 있습니다. 본 문서에서는 다음 내용을 다룹니다. Invocation Handler을 작성하는 방법 Remote Service을 Bind 하는 방법 Invocation을 호출한 Process에게 Value Return 하는 방법 Step 1: Create the Servic.. 2018. 4. 19. Android Thread 내에서 UI 핸들링 별거 아니지만 모르고 있으면 큰 낭패를 당하는 내용입니다. 아래의 Code는 Exception이 발생합니다. public class BuggingService extends Service { private Timer timer; private int counter; private TimerTask executeAgain = new TimerTask() { @Override public void run() { Toast.makeText(getApplicationContext(), "I poop on you", Toast.LENGTH_LONG).show().. 2018. 4. 19. Android BroadcastReceiver을 이용한 전화 수신 Event Catch 이번에는 Android Phone에서 전화 수신 Event을 받아서 특정 Activity를 실행시키는 방법을 살펴보도록 하겠습니다. Step 1: Receiver Code, Callback Method onReceive Phone 전화의 상태가 변경될때 Event을 수신하게 됩니다. onReceive Method가 자동 Callback되며 전화 상태를 정확히 파악하기 위해서는 PhoneStateListener.. 2018. 4. 19. Android Notifications Introduction Notification는 사용자가 관심 있을만한 Message을 Push 해주는 기능입니다. 노티 기능을 사용하고 있는 사용자에게 새로운 이메일이 왔을 때 메세지를 Status bar에 띄어주거나 소리 또는 진동을 줄 수도 있습니다. Step 1: Notification Service 가져오기 //Get the Notification Service NotificationManager not.. 2018. 4. 19. Android Service Component(Start/Stop type) Introduction 사용자 Interface 환경 필요 없이 긴 시간 동안 작업이 Background 상태로 실행되는 Application 컴포넌트를 “Service”라 합니다. Service Component에는 2가지 Type이 있습니다. Started: 이 타입은 다른 어플리케이션 컴포넌트에 의해서 시작(Started)되는 Service입니다. 한번 시작되면 종료 시켜주기.. 2018. 4. 19. 이전 1 2 다음 728x90