|
@@ -5,6 +5,7 @@ import android.content.Intent;
|
|
|
import android.net.Uri;
|
|
import android.net.Uri;
|
|
|
import android.support.annotation.Nullable;
|
|
import android.support.annotation.Nullable;
|
|
|
import android.util.Base64;
|
|
import android.util.Base64;
|
|
|
|
|
+import android.util.Log;
|
|
|
import android.view.View;
|
|
import android.view.View;
|
|
|
import android.widget.TextView;
|
|
import android.widget.TextView;
|
|
|
import android.widget.Toast;
|
|
import android.widget.Toast;
|
|
@@ -49,6 +50,7 @@ public class UrlDataAdapter extends BaseQuickAdapter<UrlDataBean.DeviceBean.UrlB
|
|
|
public void onClick(View v) {
|
|
public void onClick(View v) {
|
|
|
String path = item.getPath();
|
|
String path = item.getPath();
|
|
|
String filepath = new String(Base64.decode(path.getBytes(),Base64.DEFAULT));
|
|
String filepath = new String(Base64.decode(path.getBytes(),Base64.DEFAULT));
|
|
|
|
|
+ Log.e("filepath",filepath);
|
|
|
if (!StringUtil.isEmpty(filepath)){
|
|
if (!StringUtil.isEmpty(filepath)){
|
|
|
jumpUriToBrowser(mContext,filepath);
|
|
jumpUriToBrowser(mContext,filepath);
|
|
|
}else {
|
|
}else {
|