text
stringlengths
3
1.18M
/* * java.util.Properties.java modified by Kevin Gaudin to allow usage of enums as keys. * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The A...
package com.apn.activity; import java.util.ArrayList; import java.util.HashMap; import net.htjs.mobile.nyoa.R; import android.app.Activity; import android.content.ContentResolver; import android.content.Intent; import android.database.Cursor; import android.net.Uri; import android.os.Bundle; import android.provider.S...
package com.apn.corner; import net.htjs.mobile.nyoa.R; import android.content.Context; import android.util.AttributeSet; import android.view.MotionEvent; import android.widget.AdapterView; import android.widget.ListView; /** * 圆角ListView * * @Description:圆角ListView * * @FileName: CornerListView.j...
package com.apn.util; import java.util.ArrayList; import java.util.HashMap; import net.htjs.mobile.nyoa.util.L; import android.content.ContentResolver; import android.content.ContentUris; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.da...
package com.apn.util; /** * APN类 * @Description: APN类 * @FileName: ApnNode.java * @Package com.apn.util * @Author Hanyonglu * @Date 2012-3-27 上午11:05:30 * @Version V1.0 */ public class ApnNode { // 名称 private String name; // apn private String apn; // 代理 private String p...
package net.htjs.mobile.nyoa; import static xink.vpn.Constants.ACTION_VPN_CONNECTIVITY; import static xink.vpn.Constants.BROADCAST_ERROR_CODE; import static xink.vpn.Constants.BROADCAST_PROFILE_NAME; import static xink.vpn.Constants.VPN_ERROR_NO_ERROR; import java.io.IOException; import java.io.UnsupportedEncodingExc...
package net.htjs.mobile.nyoa.db; import java.util.ArrayList; import java.util.List; import net.htjs.mobile.nyoa.util.L; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOp...
package net.htjs.mobile.nyoa.db; public final class ConfigInfo{ public int id; public String isRecord; public String pattern; public ConfigInfo(int b,String a,String c){ this.id=b; this.isRecord=a; this.pattern=c; } public String toString() { return "ConfigInfo:" + " id:" + id + " isRec...
package net.htjs.mobile.nyoa.db; public final class UserInfo { int _id; String _name; String _phone_number; String _password; public UserInfo() { } public UserInfo(int id, String name, String _phone_number, String password) { this._id = id; this._name = name; this._phone_number = _phon...
package net.htjs.mobile.nyoa.updateapk; import java.io.IOException; import java.util.concurrent.Callable; import org.apache.http.client.ClientProtocolException; import net.htjs.mobile.nyoa.util.L; import net.htjs.mobile.nyoa.util.Util; import org.json.JSONException; import org.json.JSONObject; public ...
package net.htjs.mobile.nyoa.apn; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.util.Log; public class NetworkChangeReceiver extends BroadcastReceiver { NetChec...
package net.htjs.mobile.nyoa.apn; public class StringUtils { public static String null2String(Object o){ return o!=null?(String)o:""; } }
package net.htjs.mobile.nyoa.apn; import android.content.ContentResolver; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.SQLException; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.net.Uri; ...
package net.htjs.mobile.nyoa; import java.io.File; import java.io.IOException; import java.io.RandomAccessFile; import java.io.UnsupportedEncodingException; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Random; import net.htjs.mobile.ny...
package net.htjs.mobile.nyoa; import static xink.vpn.Constants.ACTION_VPN_CONNECTIVITY; import static xink.vpn.Constants.BROADCAST_ERROR_CODE; import static xink.vpn.Constants.BROADCAST_PROFILE_NAME; import static xink.vpn.Constants.VPN_ERROR_NO_ERROR; import java.io.File; import java.io.IOException; import ...
package net.htjs.mobile.nyoa.gw; import java.io.File; import java.io.RandomAccessFile; import java.util.Random; import net.htjs.mobile.nyoa.BaseActivity; import net.htjs.mobile.nyoa.LoginActivity; import net.htjs.mobile.nyoa.R; import net.htjs.mobile.nyoa.util.FileService; import net.htjs.mobile.nyoa.util...
package net.htjs.mobile.nyoa.gw; import net.htjs.mobile.nyoa.util.L; import android.graphics.Bitmap; import android.os.Bundle; import android.os.Message; import android.webkit.WebView; import android.webkit.WebViewClient; public class WebView4TabMain extends ListGwWebView{ public void onCreate(Bundle ...
package net.htjs.mobile.nyoa.util; import java.io.File; import android.content.Intent; import android.net.Uri; public final class UtilIntent { // android获取一个用于打开HTML文件的intent public static Intent getHtmlFileIntent(String param) { Uri uri = Uri.parse(param).buildUpon() .encodedAuthority("com.and...
package net.htjs.mobile.nyoa.util; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.lang.reflect.Field; import java.lang.reflect.Method; import java.util.List; import net.h...
package net.htjs.mobile.nyoa.util; import java.util.HashMap; import java.util.Map; import org.apache.http.cookie.Cookie; import xink.vpn.wrapper.VpnState; public final class L { public static boolean isUseAPN = false; public static boolean isUseCA = true; public static boolean isNotUseWIFI = false...
package net.htjs.mobile.nyoa.util; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import android.content.Context; import android.os.Environment; public final class FileService { private Context context; public FileService(Cont...
package net.htjs.mobile.nyoa; import net.htjs.mobile.nyoa.util.L; import xink.vpn.Constants; import xink.vpn.Utils; import xink.vpn.wrapper.VpnState; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.ne...
package net.htjs.mobile.nyoa; import static xink.vpn.Constants.ACTION_VPN_CONNECTIVITY; import static xink.vpn.Constants.BROADCAST_ERROR_CODE; import static xink.vpn.Constants.BROADCAST_PROFILE_NAME; import static xink.vpn.Constants.VPN_ERROR_NO_ERROR; import java.io.IOException; import java.io.UnsupportedEnc...
package net.htjs.mobile.nyoa; import java.util.List; import net.htjs.mobile.nyoa.db.ConfigInfo; import net.htjs.mobile.nyoa.db.DatabaseHandler; import net.htjs.mobile.nyoa.util.L; import android.app.Activity; import android.app.ActivityManager; import android.app.ActivityManager.RunningAppProcessInfo; impor...
package net.htjs.mobile.nyoa; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.util.ArrayList; import java.util.List; import java.util.concurrent.Callable; import net.htjs.mobile....
package net.htjs.mobile.nyoa; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.util.ArrayList; import java.util.List; import java.util.concurrent.Callable; import net.htjs.mobile....
package net.htjs.mobile.nyoa; import java.io.File; import java.io.IOException; import java.io.RandomAccessFile; import java.io.UnsupportedEncodingException; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Random; import net.htjs.mobile.ny...
package net.htjs.mobile.nyoa.subview; import net.htjs.mobile.nyoa.nineActivity.ImageAdapter; import net.htjs.mobile.nyoa.util.L; import android.content.Context; import android.graphics.Bitmap; import android.graphics.PixelFormat; import android.util.AttributeSet; import android.view.Gravity; import android.vi...
package net.htjs.mobile.nyoa.subview; import android.content.Context; import android.content.res.Resources; import android.graphics.Color; import android.graphics.Typeface; import android.graphics.drawable.ShapeDrawable; import android.graphics.drawable.shapes.RoundRectShape; import android.util.AttributeSet; ...
package net.htjs.mobile.nyoa.subview; import java.io.BufferedInputStream; import java.io.File; import java.io.IOException; import java.io.RandomAccessFile; import java.net.URL; import java.net.URLConnection; import net.htjs.mobile.nyoa.R; import net.htjs.mobile.nyoa.util.L; import net.htjs.mobile.nyoa.util...
package net.htjs.mobile.nyoa.vpn; import xink.vpn.wrapper.L2tpIpsecPskProfile; import xink.vpn.wrapper.VpnProfile; import android.content.Context; /*import xink.vpn.wrapper.L2tpIpsecPskProfile; import xink.vpn.wrapper.VpnProfile; import android.content.Context; */ /** * @author Whyonly * */ publi...
package net.htjs.mobile.nyoa.vpn; import xink.vpn.wrapper.PptpProfile; import xink.vpn.wrapper.VpnProfile; import android.content.Context; /*import xink.vpn.wrapper.PptpProfile; import xink.vpn.wrapper.VpnProfile; import android.content.Context;*/ /** * @author Whyonly * */ public class OWLPptpProf...
package net.htjs.mobile.nyoa.vpn; import xink.vpn.VpnProfileRepository; import xink.vpn.wrapper.InvalidProfileException; import xink.vpn.wrapper.KeyStore; import xink.vpn.wrapper.VpnProfile; import xink.vpn.wrapper.VpnState; import android.content.Context; /*import xink.vpn.VpnProfileRepository; import xin...
/* * Copyright 2011 yingxinwu.g@gmail.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
/* * Copyright 2011 yingxinwu.g@gmail.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
/* * Copyright 2011 yingxinwu.g@gmail.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
/* * Copyright 2011 yingxinwu.g@gmail.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
/* * Copyright 2011 yingxinwu.g@gmail.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
/* * Copyright 2011 yingxinwu.g@gmail.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
/* * Copyright 2011 yingxinwu.g@gmail.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
/* * Copyright 2011 yingxinwu.g@gmail.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
/* * Copyright 2011 yingxinwu.g@gmail.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
/* * Copyright 2011 yingxinwu.g@gmail.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
/* * Copyright 2011 yingxinwu.g@gmail.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
/* * Copyright 2011 yingxinwu.g@gmail.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
/* * Copyright 2011 yingxinwu.g@gmail.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
/* * Copyright 2011 yingxinwu.g@gmail.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
/* * Copyright 2011 yingxinwu.g@gmail.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
/* * Copyright 2011 yingxinwu.g@gmail.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
/* * Copyright 2011 yingxinwu.g@gmail.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
/* * Copyright 2011 yingxinwu.g@gmail.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
/* * Copyright 2011 yingxinwu.g@gmail.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
/* * Copyright 2011 yingxinwu.g@gmail.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
/* * Copyright 2011 yingxinwu.g@gmail.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
package xink.vpn.wrapper; import net.htjs.mobile.nyoa.R; import xink.vpn.editor.L2tpIpsecPskProfileEditor; import xink.vpn.editor.L2tpProfileEditor; import xink.vpn.editor.PptpProfileEditor; import xink.vpn.editor.VpnProfileEditor; public enum VpnType { PPTP("PPTP", R.string.vpn_pptp, R.string.vpn_pptp_info, Pptp...
/* * Copyright 2011 yingxinwu.g@gmail.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
/* * Copyright 2011 yingxinwu.g@gmail.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
/* * Copyright 2011 yingxinwu.g@gmail.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
/* * Copyright 2011 yingxinwu.g@gmail.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
/* * Copyright 2011 yingxinwu.g@gmail.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
/* * Copyright 2011 yingxinwu.g@gmail.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
/* * Copyright 2011 yingxinwu.g@gmail.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
/* * Copyright 2011 yingxinwu.g@gmail.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
/* * Copyright 2011 yingxinwu.g@gmail.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
/* * Copyright 2011 yingxinwu.g@gmail.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
/* * Copyright 2011 yingxinwu.g@gmail.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
/* * Copyright 2011 yingxinwu.g@gmail.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
/* * Copyright 2011 yingxinwu.g@gmail.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
/** Automatically generated file. DO NOT MODIFY */ package net.htjs.mobile.nyoa; public final class BuildConfig { public final static boolean DEBUG = true; }
package net.htjs.mobile.qxoa; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.security.KeyStore; import java.util.List; import net.htjs.mobile.qxoa.apn.util.ApnUtility; import net.htjs.mobile.qxoa.db.DatabaseHandler; import net.htjs.mobile.qxoa.db.UserInfo; import net.htjs.mobile....
package net.htjs.mobile.qxoa.db; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sq...
package net.htjs.mobile.qxoa.db; public final class UserInfo { int _id; String _name; String _phone_number; String _password; public UserInfo() { } public UserInfo(int id, String name, String _phone_number, String password) { this._id = id; this._name = name; this._phone_number = _phone_...
package net.htjs.mobile.qxoa.apn.activity; import java.util.ArrayList; import java.util.HashMap; import net.htjs.mobile.qxoa.apn.corner.CornerListView; import net.htjs.mobile.qxoa.apn.util.ApnUtility; import android.app.Activity; import android.content.ContentResolver; import android.content.Intent; import android.da...
package net.htjs.mobile.qxoa.apn.corner; import net.htjs.mobile.qxoa.R; import android.content.Context; import android.util.AttributeSet; import android.view.MotionEvent; import android.widget.AdapterView; import android.widget.ListView; /** * 圆角ListView * * @Description:圆角ListView * * @FileName:...
package net.htjs.mobile.qxoa.apn.util; import java.util.ArrayList; import java.util.HashMap; import net.htjs.mobile.qxoa.util.L; import android.content.ContentResolver; import android.content.ContentUris; import android.content.ContentValues; import android.content.Context; import android.database.Cursor;...
package net.htjs.mobile.qxoa.apn.util; /** * APN类 * @Description: APN类 * @FileName: ApnNode.java * @Package com.apn.util * @Author Hanyonglu * @Date 2012-3-27 上午11:05:30 * @Version V1.0 */ public class ApnNode { // 名称 private String name; // apn private String apn; // 代理 ...
package net.htjs.mobile.qxoa; import java.io.File; import java.io.RandomAccessFile; import java.util.Random; import net.htjs.mobile.qxoa.apn.util.ApnUtility; import net.htjs.mobile.qxoa.gw.ListGwWebView; import net.htjs.mobile.qxoa.gw.Myinfodata; import net.htjs.mobile.qxoa.util.FileService; import net.htjs...
package net.htjs.mobile.qxoa.gw; import net.htjs.mobile.qxoa.R; import android.app.TabActivity; import android.content.Intent; import android.os.Bundle; import android.view.LayoutInflater; import android.view.Window; import android.widget.TabHost; public class GwViewActivity extends TabActivity { public v...
package net.htjs.mobile.qxoa.gw; import android.R.color; import android.app.Activity; import android.os.Bundle; import android.view.View; import android.view.Window; import android.view.View.OnClickListener; import android.view.ViewGroup; import android.widget.Button; import android.widget.LinearLayout; imp...
package net.htjs.mobile.qxoa.gw; import java.io.File; import java.io.RandomAccessFile; import java.util.Random; import net.htjs.mobile.qxoa.LoginActivity; import net.htjs.mobile.qxoa.R; import net.htjs.mobile.qxoa.util.FileDownLoadThread; import net.htjs.mobile.qxoa.util.L; import net.htjs.mobile.qxoa.uti...
package net.htjs.mobile.qxoa.gw; import net.htjs.mobile.qxoa.R; import android.app.Activity; import android.app.Notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.content.Intent; import android.content.SharedPreferences; import android.media.RingtoneManager;...
package net.htjs.mobile.qxoa.gw; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import net.htjs.mobile.qxoa.R; import net.htjs.mobile.qxoa.util.L; import org.apache.http.HttpResponse; import o...
package net.htjs.mobile.qxoa.gw; import net.htjs.mobile.qxoa.R; import android.app.Activity; import android.content.SharedPreferences; import android.media.Ringtone; import android.media.RingtoneManager; import android.net.Uri; import android.os.Bundle; import android.preference.PreferenceManager; import and...
package net.htjs.mobile.qxoa.gw; import java.io.IOException; import java.util.concurrent.Callable; import net.htjs.mobile.qxoa.util.L; import net.htjs.mobile.qxoa.util.Util; import org.apache.http.client.ClientProtocolException; import org.json.JSONException; import org.json.JSONObject; public class Myi...
package net.htjs.mobile.qxoa.util; import java.io.File; import android.content.Intent; import android.net.Uri; //自定义android Intent类, //可用于获取打开以下文件的intent //PDF,PPT,WORD,EXCEL,CHM,HTML,TEXT,AUDIO,VIDEO //这个不行,可能是因为PDF.apk程序没有权限访问其它APK里的asset资源文件,又或者是路径写错? //Intent it = getPdfFileIntent("file:///android_a...
package net.htjs.mobile.qxoa.util; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.lang.reflect.Field; import java.lang.reflect.Method; import java.util.List; import org.a...
package net.htjs.mobile.qxoa.util; import java.util.HashMap; import java.util.Map; import org.apache.http.cookie.Cookie; public final class L { public static boolean isUseAPN = false; public static boolean isUseCA = true; public static boolean isNotUseWIFI = false; public static String APN="qxoa";//...
package net.htjs.mobile.qxoa.util; import java.io.BufferedInputStream; import java.io.File; import java.io.IOException; import java.io.RandomAccessFile; import java.net.URL; import java.net.URLConnection; import android.util.Log; public class FileDownLoadThread extends Thread { private static final int ...
package net.htjs.mobile.qxoa.util; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import android.content.Context; import android.os.Environment; public final class FileService { private Context context; public FileService(Cont...
package net.htjs.mobile.qxoa; import java.util.List; import net.htjs.mobile.qxoa.apn.util.ApnUtility; import net.htjs.mobile.qxoa.util.L; import android.app.Activity; import android.app.ActivityManager; import android.app.ActivityManager.RunningAppProcessInfo; import android.content.ContentResolver; import ...
package net.htjs.mobile.qxoa; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.security.KeyStore; import java.util.ArrayList; import java.util.List; import net.htjs.mobile.qxoa.ap...
package net.htjs.mobile.qxoa; import java.io.File; import java.io.IOException; import java.io.RandomAccessFile; import java.io.UnsupportedEncodingException; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Random; import net.htjs.mobile.qx...
package net.htjs.mobile.qxoa.subview; import net.htjs.mobile.qxoa.nineActivity.ImageAdapter; import net.htjs.mobile.qxoa.util.L; import android.content.Context; import android.graphics.Bitmap; import android.graphics.PixelFormat; import android.util.AttributeSet; import android.view.Gravity; import android.vi...
package net.htjs.mobile.qxoa.subview; import android.content.Context; import android.content.res.Resources; import android.graphics.Color; import android.graphics.Typeface; import android.graphics.drawable.ShapeDrawable; import android.graphics.drawable.shapes.RoundRectShape; import android.util.AttributeSet; ...
package net.htjs.mobile.qxoa.subview; import java.io.File; import java.io.RandomAccessFile; import java.util.Random; import net.htjs.mobile.qxoa.R; import net.htjs.mobile.qxoa.util.FileDownLoadThread; import net.htjs.mobile.qxoa.util.L; import net.htjs.mobile.qxoa.util.Util; import net.htjs.mobile.qxoa.util...
package net.htjs.mobile.magicpage.tools.gif; public abstract interface GifAction { /** * gif����۲��� * @param parseStatus �����Ƿ�ɹ����ɹ���Ϊtrue * @param frameIndex ��ǰ����ĵڼ�֡����ȫ������ɹ�������Ϊ-1 */ public abstract void parseOk(boolean parseStatus,int frameIndex); }
package net.htjs.mobile.magicpage.tools.gif; import java.util.HashMap; import java.util.List; import android.content.Context; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Paint; import android.graphics.drawable.BitmapDrawable; import android.graphics.drawable.Drawa...
package net.htjs.mobile.magicpage.tools.gif; import android.graphics.Bitmap; public class GifFrame { /**ͼƬ*/ public Bitmap image; /**��ʱ*/ public int delay; /**��һ֡*/ public GifFrame nextFrame = null; public GifFrame(Bitmap im, int del) { image = im; delay = del; } }
package net.htjs.mobile.magicpage.tools.gif; import java.io.InputStream; import android.content.res.Resources; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.drawable.AnimationDrawable; import android.graphics.drawable.BitmapDrawable; public class GifDrawable exte...
package net.htjs.mobile.magicpage.tools.gif; import java.io.ByteArrayInputStream; import java.io.InputStream; import android.graphics.Bitmap; import android.graphics.Bitmap.Config; public class GifDecoder implements Runnable{ /**״̬�����ڽ�����*/ public static final int STATUS_PARSING = 0; /**״̬��ͼƬ��ʽ...