Skip to content

Instantly share code, notes, and snippets.

This is in Vivo Mobile log:
android.os.DeadObjectException
at android.os.BinderProxy.transactNative(Native Method)
at android.os.BinderProxy.transact(Binder.java:774)
at android.app.IApplicationThread$Stub$Proxy.scheduleUnbindService(IApplicationThread.java:1514)
at com.android.server.am.ActiveServices.removeConnectionLocked(ActiveServices.java:2809)
at com.android.server.am.ActiveServices.unbindServiceLocked(ActiveServices.java:1616)
at com.android.server.am.ActivityManagerService.unbindService(ActivityManagerService.java:18984)
at android.app.ContextImpl.unbindService(ContextImpl.java:1651)
@aivision369
aivision369 / XMPPConnection No response received within reply timeout. Timeout was 10000ms
Last active December 18, 2018 14:04
XMPPConnection No response received within reply timeout. Timeout was 10000ms
No response received within reply timeout. Timeout was 3000ms (~100s).
Waited for response using: AndFilter: (StanzaTypeFilter: Presence, OrFilter: (AndFilter: (FromMatchesFilter (ignoreResourcepart):,
MUCUserStatusCodeFilter: status=110), AndFilter: (FromMatchesFilter (full): StanzaIdFilter: id=v4bLC-10, PresenceTypeFilter: type=error)))
public class NewActivity extends AppCompatActivity {
private static final String TAG = "[NewActivity]";
private static final int PHOTO_REQUEST_CODE = 102;
private String path;
Uri photoURI = null;
@BindView(R.id.img_output)
ImageView imgOutput;
java.lang.SecurityException: Permission Denial: writing android.support.v4.content.FileProvider uri content://com.app.h20_app.provider/external_files/Pictures/pics/JPEG_20180801_15181191686155.jpg from pid=0, uid=10033 requires the provider be exported, or grantUriPermission()
at android.content.ContentProvider.enforceWritePermissionInner(ContentProvider.java:682)
at android.content.ContentProvider$Transport.enforceWritePermission(ContentProvider.java:497)
at android.content.ContentProvider$Transport.delete(ContentProvider.java:335)
at android.content.ContentResolver.delete(ContentResolver.java:1373)
at com.app.h20_app.activity.NewActivity$2.onScanCompleted(NewActivity.java:172)
public static String getDecodedString(String string)
{
String decodeString = "";
if (string == null) {
return null;
}else{
decodeString = StringEscapeUtils.unescapeHtml4(
new String(string.getBytes(), 0, string.length()).trim());
return decodeString;
}