Skip to content

Instantly share code, notes, and snippets.

Polson Keeratibumrungpong anotherdev

Block or report user

Report or block anotherdev

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View eko-login-sdk-android.readme
Eko Login SDK Android integration
Requirements:
1. Minimum Android API 21
2. Enable Java 8
Steps:
@anotherdev
anotherdev / eko-sdk-changelog
Created Oct 22, 2018
Eko Messaging SDK Changelog
View eko-sdk-changelog
# Version 1.0.0 (2018-07-10)
Eko Messaging SDK `1.0.0` is released.
### API / Behavior Changes
### Bug Fixes
### Deprecations
View Reactive Stream API.java
public interface Publisher<T> {
void subscribe(Subscriber<? super T> s);
}
public interface Subscriber<T> {
void onSubscribe(Subscription s);
void onNext(T t);
void onError(Throwable t);
void onComplete();
}
View Eko SSLException
10-05 19:20:06.856 327-1403/com.ekoapp.eko D/Retrofit: ---> HTTP POST https://scb-h1.ekoapp.com/file/upload-image
10-05 19:20:06.856 327-1403/com.ekoapp.eko D/Retrofit: Content-Type: multipart/form-data; boundary=4b3d1873-b4a9-4968-8229-12b7cf32a2dc
10-05 19:20:06.856 327-1403/com.ekoapp.eko D/Retrofit: Content-Length: 312941
10-05 19:20:06.856 327-1403/com.ekoapp.eko D/Retrofit: #0: /storage/emulated/0/Download/11.jpg (image/jpeg)
10-05 19:20:06.856 327-1403/com.ekoapp.eko D/Retrofit: ---> END HTTP (312941-byte body)
10-05 19:20:08.649 327-1403/com.ekoapp.eko D/Retrofit: ---- ERROR https://scb-h1.ekoapp.com/file/upload-image
10-05 19:20:08.651 327-1403/com.ekoapp.eko D/Retrofit: javax.net.ssl.SSLException: Read error: ssl=0x9e4d9800: I/O error during system call, Connection reset by peer
10-05 19:20:08.651 327-1403/com.ekoapp.eko D/Retrofit: at com.android.org.conscrypt.NativeCrypto.SSL_read(Native Method)
10-05 19:20:08.651 327-1403/com.ekoapp.eko D/Retrofit: at com.android.org.conscrypt.OpenSSLSock
@anotherdev
anotherdev / Linkify phones
Last active Aug 29, 2015
Works on pre-lollipop but not on lollipop. :(
View Linkify phones
TextView tv = ButterKnife.findById(layout, R.id.tv);
tv.setAutoLinkMask(Linkify.PHONE_NUMBERS);
tv.setLinksClickable(true);
Pattern pattern = Pattern.compile("(\\d[\\s-]*){4,22}\\d");
Linkify.addLinks(tv, pattern, "tel:");
You can’t perform that action at this time.