목록전체 글 (1528)
오늘도 공부
출처 : http://kunny.github.io/community/2016/02/08/gdg_korea_android_weekly_02_1/MissingBackpressureExceptionMissingBackpressureException은 Observable에서 항목(item)을 보내는(emit) 속도보다 처리하는 속도가 느릴 때 발생합니다.RxJava 가이드 문서 내 Backpressure 항목에도 이와 관련된 항목이 기술되어 있는데, 문서에서 예로 든 사례(zip 연산자를 사용하는 경우)를 사용하지 않는 경우에도 상당히 높은 확률로 경험할 수 있습니다.RxAndroid를 사용하는 경우, 수신된 데이터를 UI에 표시하기 위해 observeOn(AndroidSchedulers.mainThread()..
you may use Observable for example: handling GUI eventsworking with short sequences (less than 1000 elements total) ========================================================= You may use Flowable for example: cold and non-timed sourcesgenerator like sourcesnetwork and database accessors
출처 : http://www.introtorx.com/Content/v1.0.10621.0/12_CombiningSequences.htmlCombining sequencesData sources are everywhere, and sometimes we need to consume data from more than just a single source. Common examples that have many inputs include: multi touch surfaces, news feeds, price feeds, social media aggregators, file watchers, heart-beating/polling servers, etc. The way we deal with these ..
오픈소스 라이버러리 모음 http://pluu.github.io/blog/android/oepnsource/2015/05/11/android-opensource/
Jabber/XMPP Protocol NamespacesThis is the official registry of Jabber/XMPP protocol namespaces as maintained by the XMPP Registrar. This registry contains only namespaces that are defined in the XMPP RFCs (published by the IETF) or in XMPP Extension Protocols that have advanced to a status of Active, Draft, or Final within the standards process of the XMPP Standards Foundation. Other namespaces..
ConfigureForm form = new ConfigureForm(FormType.submit); form.setPersistentItems(false); form.setDeliverPayloads(true); form.setAccessModel(AccessModel.open); PubSubManager manager = new PubSubManager(connection, "pubsub.my.openfire.server"); Node myNode = manager.createNode("TestNode", form); SimplePayload payload = new SimplePayload("book","pubsub:test:book", "Lord of the Rings"); Item item = ..
출처 : https://www.ucert.co.kr/tech/sslinstall/openfire_all.html1. 웹 콘솔 접속1) 브라우저를 기동하여 openfire 콘솔에 접속(예. http://localhost:9090)2. SSL정의 작성1) 상단 탭 메뉴의 Server를 선택2) 왼쪽 메뉴의 System Properties를 선택3. SSL 설정 추가1) JKS 파일을 ${openfire_HOME}/resources/security/에 파일을 복사하여 truststore와 keystore로 이름을 변경합니다.* ${openfire_HOME} = openfire 설치 경로 2) Add new property 항목의 property Name:와 property Value:에 아래 내용을 추가A) ..
출처 : http://forum.theorex.tech/t/xmpp-register-login-and-chat-simple-example/198 compile 'org.igniterealtime.smack:smack-android:4.2.0' compile 'org.igniterealtime.smack:smack-tcp:4.2.0' compile 'org.igniterealtime.smack:smack-im:4.2.0' compile 'org.igniterealtime.smack:smack-android-extensions:4.2.0' public void getSrvDeliveryManager(Context context){ ServiceDiscoveryManager sdm = ServiceDiscov..
I think you are missing the implementation of auto accepting Group chat joining Request in your code.Below code is working for AMACK group chat using Openfire Server1. Creating XMPP Connection XMPPTCPConnection connection = new XMPPTCPConnection(config); connection.connect(); connection.login(ID1, password1); Presence presence = new Presence(Presence.Type.available); connection.sendPacket(presen..
What protocols do they use?Application like Whats app,G-talk ,facebook etc they uses XMPP protocol for IM services.What is XMPP?The Extensible Messaging and Presence Protocol (XMPP) is an open technology for real-time communication, using the Extensible Markup Language (XML) as the base format for exchanging information. In essence, XMPP provides a way to send small pieces of XML from one entity..
