GithubHelp home page GithubHelp logo

deunlee / read-kakaotalk-message Goto Github PK

View Code? Open in Web Editor NEW
9.0 1.0 5.0 527 KB

Read the KakaoTalk message using Android System API (notification/screen)

License: MIT License

Java 100.00%
android kakaotalk read accessibilityservice notificationlistenerservice

read-kakaotalk-message's Introduction

카카오톡 대화 가져오기

Read the KakaoTalk message on Android

  • NotificationListenerService Example Code
  • AccessibilityService Example Code

안드로이드에서 카카오톡 대화 내용을 가져오는 앱입니다.

동작 원리:

카카오톡은 사용자의 대화 내용을 제공하는 API가 없으므로 안드로이드 시스템 API를 이용합니다.

알림 리스너 서비스를 이용해 카카오톡 알림창이 뜨면 해당 내용을 가져옵니다. 보낸 사람, 메시지, 방 이름을 가져올 수 있습니다. 하지만 카카오톡 채팅방이 포그라운드 상태일 경우 해당 사용자의 대화 내용은 알림에 표시되지 않으므로 가져올 수 없는 문제가 있습니다.

Android Notification Read-KakaoTalk App

카카오톡 채팅방이 포그라운드 상태일 경우 접근성 서비스를 이용해 화면 내용을 읽어옵니다. 보낸 사람, 메시지를 가져올 수 있지만, 방 이름은 가져올 수 없습니다. (TODO?) 스크롤하거나 새로운 메시지가 도착한 경우 이벤트를 받아 메시지를 읽어옵니다.

KakaoTalk Screen Read-KakaoTalk App

read-kakaotalk-message's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

read-kakaotalk-message's Issues

안녕하세요 해당내용 잘봤습니다

안녕하세요 해당내용 잘봤습니다
하지만 버그가 있는거 같아 요청드립니다.

MyAccessibilityService.java->onAccessibilityEvent부분에 계속해서 에러가 나서
if (event.getEventType() != AccessibilityEvent.TYPE_NOTIFICATION_STATE_CHANGED) return; 한줄 추가 해주었습니다.
해당 내용을 다시 제가 Git에 업로드 하였습니다
감사합니다.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.