This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public enum SyncmlEngine$SyncType | |
| { | |
| private int value; | |
| static | |
| { | |
| SYNC_SLOW_SYNC = new SyncType("SYNC_SLOW_SYNC", 2, 201); | |
| SYNC_ONE_WAY_FROM_CLIENT = new SyncType("SYNC_ONE_WAY_FROM_CLIENT", 3, 202); | |
| SYNC_REFRESH_FROM_CLIENT = new SyncType("SYNC_REFRESH_FROM_CLIENT", 4, 203); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class SyncmlEngine | |
| { | |
| public static final int TCC_ERR_NONE = 0; | |
| public static final int TCC_ERR_SYNC_ALERT_FAIL = -32217; | |
| public static final int TCC_ERR_SYNC_DEVICE_FULL = -32220; | |
| public static final int TCC_ERR_SYNC_INVALID_CREDENTIALS = -32215; | |
| public static final int TCC_ERR_SYNC_LARGE_OBJECT_ERROR = -32219; | |
| public static final int TCC_ERR_SYNC_LARGE_OBJECT_SIZE_MISMATCH = -32218; | |
| public static final int TCC_ERR_SYNC_LOGIC = -32221; | |
| public static final int TCC_ERR_SYNC_TARGET_MISMATCH = -32214; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.tencent.tccsync; | |
| public enum ITccSyncDbAdapter$DbAdapterType | |
| { | |
| private int value; | |
| static | |
| { | |
| CONTACT = new DbAdapterType("CONTACT", 1, 1); | |
| EVENT = new DbAdapterType("EVENT", 2, 2); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 摘自微信代码 | |
| public static String APN_3GNET; | |
| public static String APN_3GWAP; | |
| public static String APN_777; | |
| public static String APN_CMNET; | |
| public static String APN_CMWAP; | |
| public static String APN_CTNET; | |
| public static String APN_CTWAP; | |
| public static final String APN_NET = "Net"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ConnectivityManager connectivity = (ConnectivityManager)context.getSystemService(Context.CONNECTIVITY_SERVICE); | |
| if (connectivity != null) { | |
| // 获取网络连接管理的对象 | |
| NetworkInfo info = connectivity.getActiveNetworkInfo(); | |
| if (info != null && info.isConnected()) { | |
| // 判断当前网络是否已经连接 | |
| if (info.getState() == NetworkInfo.State.CONNECTED) { | |
| if(info.getTypeName().equals("WIFI")){ | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public static Bitmap screenshot(Context paramContext) | |
| { | |
| boolean bool = sLoadSO; | |
| Bitmap localBitmap = null; | |
| if (bool); | |
| try | |
| { | |
| byte[] arrayOfByte = getFrameBuffer(); | |
| localBitmap = null; | |
| if (arrayOfByte == null) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.tencent.mm.modelstat; | |
| import android.content.BroadcastReceiver; | |
| import android.content.Context; | |
| import android.content.Intent; | |
| import com.tencent.mm.sdk.platformtools.l; | |
| import com.tencent.mm.sdk.platformtools.q; | |
| import com.tencent.mm.t.a.i; | |
| import com.tencent.mm.t.au; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package jp.naver.android.npush.register; | |
| import android.app.AlarmManager; | |
| import android.app.PendingIntent; | |
| import android.content.Context; | |
| import android.content.Intent; | |
| import jp.naver.android.npush.common.Logger; | |
| import jp.naver.android.npush.common.NPushIntent; | |
| public class NPushMessaging |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.facebook.analytics; | |
| import android.app.ActivityManager; | |
| import android.app.ActivityManager.MemoryInfo; | |
| import android.content.Context; | |
| import android.content.Intent; | |
| import android.content.IntentFilter; | |
| import android.content.SharedPreferences; | |
| import android.content.pm.PackageManager; | |
| import android.content.res.Configuration; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="utf-8"?> | |
| <manifest | |
| xmlns:android="http://schemas.android.com/apk/res/android" | |
| android:versionCode="49466" | |
| android:versionName="2.0.3-release" | |
| android:installLocation="0" | |
| package="com.facebook.orca" | |
| > | |
| <uses-sdk | |
| android:minSdkVersion="8" |
OlderNewer