Skip to content

Commit

Permalink
This is client code.
Browse files Browse the repository at this point in the history
  • Loading branch information
roy9527 committed Nov 15, 2013
1 parent b72addc commit 02d69aa
Show file tree
Hide file tree
Showing 101 changed files with 8,818 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Wolf/.classpath
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>
<classpathentry kind="lib" path="libs/baidumapapi_v2_3_0.jar"/>
<classpathentry kind="lib" path="libs/locSDK_4.0.jar"/>
<classpathentry kind="lib" path="libs/GexinSdk.jar"/>
<classpathentry kind="lib" path="libs/IncrementSdk.jar"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="gen"/>
<classpathentry kind="output" path="bin/classes"/>
</classpath>
33 changes: 33 additions & 0 deletions Wolf/.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>Wolf</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.android.ide.eclipse.adt.PreCompilerBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.android.ide.eclipse.adt.ApkBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>com.android.ide.eclipse.adt.AndroidNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
4 changes: 4 additions & 0 deletions Wolf/.settings/org.eclipse.jdt.core.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
org.eclipse.jdt.core.compiler.compliance=1.6
org.eclipse.jdt.core.compiler.source=1.6
150 changes: 150 additions & 0 deletions Wolf/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,150 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.roy.wolf"
android:versionCode="1"
android:versionName="1.0" >

<supports-screens
android:anyDensity="true"
android:largeScreens="true"
android:normalScreens="true"
android:resizeable="true"
android:smallScreens="true" />

<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="18" />

<permission android:name="android.permission.BAIDU_LOCATION_SERVICE" />

<uses-permission android:name="android.permission.READ_LOGS" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.RECEIVE_USER_PRESENT" />

<!-- 使用网络功能所需权限 -->
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />

<!-- SDK离线地图和cache功能需要读写外部存储器 -->
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

<!-- 获取设置信息和详情页直接拨打电话需要以下权限 -->
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.CALL_PHONE" />

<!-- 使用定位功能所需权限,demo已集成百度定位SDK,不使用定位功能可去掉以下6项 -->
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.BAIDU_LOCATION_SERVICE" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_MOCK_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_GPS" />
<uses-permission android:name="android.permission.WRITE_SETTINGS" />

<application
android:name="com.roy.wolf.application.WolfApplication"
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name="com.roy.wolf.MainActivity"
android:label="@string/app_name"
android:launchMode="singleTop" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name="com.roy.wolf.guanzi.GuanZiActivity"
android:label="@string/app_name" />

<service
android:name="com.baidu.location.f"
android:enabled="true"
android:process=":remote" >
</service>

<!-- 配置的第三方参数属性 -->
<meta-data
android:name="appid"
android:value="EwYJzIXL9Y8nitIeSgrfJ2" />
<meta-data
android:name="appkey"
android:value="hMBkfjX7O29PGGSFIdLn42" />
<meta-data
android:name="appsecret"
android:value="CsQegQ0QrA7KpdrnI8ssb6" />

<activity
android:name="com.igexin.sdk.SdkActivity"
android:excludeFromRecents="true"
android:process="com.roy.wolf.pushservice"
android:taskAffinity="android.task.SdkActivityTask"
android:theme="@android:style/Theme.Translucent.NoTitleBar" >
<intent-filter>
<action android:name="com.igexin.action.popupact.com.roy.wolf" />

<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>

<service
android:name="com.igexin.sdk.coordinator.SdkMsgService"
android:exported="true"
android:label="NotifyCenterAIDL"
android:process="com.roy.wolf.pushservice" >
</service>

<receiver android:name="com.igexin.sdk.coordinator.NotificationCenterAIDLReceiver" >
<intent-filter>
<action android:name="com.igexin.sdk.action.refreshls" />
</intent-filter>
</receiver>

<service
android:name="com.igexin.sdk.SdkMainService"
android:exported="false"
android:label="NotifyCenter"
android:process="com.roy.wolf.pushservice" >
</service>

<receiver android:name="com.igexin.sdk.SdkReceiver" >
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
<action android:name="android.net.conn.CONNECTIVITY_CHANGE" />
<action android:name="android.intent.action.USER_PRESENT" />
</intent-filter>
</receiver>

<service
android:name="sdk.download.DownloadService"
android:process="com.roy.wolf.pushservice" />

<receiver
android:name="sdk.download.DownloadReceiver"
android:exported="false" >
<intent-filter>
<action android:name="android.net.conn.CONNECTIVITY_CHANGE" />
</intent-filter>
</receiver>

<provider
android:name="sdk.download.DownloadProvider"
android:authorities="sdk.download.com.roy.wolf"
android:process="com.roy.wolf.pushservice" />

<receiver android:name="com.roy.wolf.push.TransmissionReceiver" >

<intent-filter>
<action android:name="com.igexin.sdk.action.EwYJzIXL9Y8nitIeSgrfJ2" />
</intent-filter>
</receiver>
</application>

</manifest>
150 changes: 150 additions & 0 deletions Wolf/bin/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,150 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.roy.wolf"
android:versionCode="1"
android:versionName="1.0" >

<supports-screens
android:anyDensity="true"
android:largeScreens="true"
android:normalScreens="true"
android:resizeable="true"
android:smallScreens="true" />

<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="18" />

<permission android:name="android.permission.BAIDU_LOCATION_SERVICE" />

<uses-permission android:name="android.permission.READ_LOGS" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.RECEIVE_USER_PRESENT" />

<!-- 使用网络功能所需权限 -->
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />

<!-- SDK离线地图和cache功能需要读写外部存储器 -->
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

<!-- 获取设置信息和详情页直接拨打电话需要以下权限 -->
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.CALL_PHONE" />

<!-- 使用定位功能所需权限,demo已集成百度定位SDK,不使用定位功能可去掉以下6项 -->
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.BAIDU_LOCATION_SERVICE" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_MOCK_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_GPS" />
<uses-permission android:name="android.permission.WRITE_SETTINGS" />

<application
android:name="com.roy.wolf.application.WolfApplication"
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name="com.roy.wolf.MainActivity"
android:label="@string/app_name"
android:launchMode="singleTop" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name="com.roy.wolf.guanzi.GuanZiActivity"
android:label="@string/app_name" />

<service
android:name="com.baidu.location.f"
android:enabled="true"
android:process=":remote" >
</service>

<!-- 配置的第三方参数属性 -->
<meta-data
android:name="appid"
android:value="EwYJzIXL9Y8nitIeSgrfJ2" />
<meta-data
android:name="appkey"
android:value="hMBkfjX7O29PGGSFIdLn42" />
<meta-data
android:name="appsecret"
android:value="CsQegQ0QrA7KpdrnI8ssb6" />

<activity
android:name="com.igexin.sdk.SdkActivity"
android:excludeFromRecents="true"
android:process="com.roy.wolf.pushservice"
android:taskAffinity="android.task.SdkActivityTask"
android:theme="@android:style/Theme.Translucent.NoTitleBar" >
<intent-filter>
<action android:name="com.igexin.action.popupact.com.roy.wolf" />

<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>

<service
android:name="com.igexin.sdk.coordinator.SdkMsgService"
android:exported="true"
android:label="NotifyCenterAIDL"
android:process="com.roy.wolf.pushservice" >
</service>

<receiver android:name="com.igexin.sdk.coordinator.NotificationCenterAIDLReceiver" >
<intent-filter>
<action android:name="com.igexin.sdk.action.refreshls" />
</intent-filter>
</receiver>

<service
android:name="com.igexin.sdk.SdkMainService"
android:exported="false"
android:label="NotifyCenter"
android:process="com.roy.wolf.pushservice" >
</service>

<receiver android:name="com.igexin.sdk.SdkReceiver" >
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
<action android:name="android.net.conn.CONNECTIVITY_CHANGE" />
<action android:name="android.intent.action.USER_PRESENT" />
</intent-filter>
</receiver>

<service
android:name="sdk.download.DownloadService"
android:process="com.roy.wolf.pushservice" />

<receiver
android:name="sdk.download.DownloadReceiver"
android:exported="false" >
<intent-filter>
<action android:name="android.net.conn.CONNECTIVITY_CHANGE" />
</intent-filter>
</receiver>

<provider
android:name="sdk.download.DownloadProvider"
android:authorities="sdk.download.com.roy.wolf"
android:process="com.roy.wolf.pushservice" />

<receiver android:name="com.roy.wolf.push.TransmissionReceiver" >

<intent-filter>
<action android:name="com.igexin.sdk.action.EwYJzIXL9Y8nitIeSgrfJ2" />
</intent-filter>
</receiver>
</application>

</manifest>
Binary file added Wolf/bin/classes/com/roy/wolf/BuildConfig.class
Binary file not shown.
Binary file not shown.
Binary file added Wolf/bin/classes/com/roy/wolf/MainActivity$2.class
Binary file not shown.
Binary file not shown.
Binary file added Wolf/bin/classes/com/roy/wolf/MainActivity.class
Binary file not shown.
Binary file not shown.
Binary file added Wolf/bin/classes/com/roy/wolf/Manifest.class
Binary file not shown.
Binary file added Wolf/bin/classes/com/roy/wolf/R$attr.class
Binary file not shown.
Binary file added Wolf/bin/classes/com/roy/wolf/R$dimen.class
Binary file not shown.
Binary file added Wolf/bin/classes/com/roy/wolf/R$drawable.class
Binary file not shown.
Binary file added Wolf/bin/classes/com/roy/wolf/R$id.class
Binary file not shown.
Binary file added Wolf/bin/classes/com/roy/wolf/R$layout.class
Binary file not shown.
Binary file added Wolf/bin/classes/com/roy/wolf/R$menu.class
Binary file not shown.
Binary file added Wolf/bin/classes/com/roy/wolf/R$raw.class
Binary file not shown.
Binary file added Wolf/bin/classes/com/roy/wolf/R$string.class
Binary file not shown.
Binary file added Wolf/bin/classes/com/roy/wolf/R$style.class
Binary file not shown.
Binary file added Wolf/bin/classes/com/roy/wolf/R.class
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added Wolf/bin/classes/com/roy/wolf/util/Base64.class
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added Wolf/bin/classes/com/roy/wolf/util/SQLUtil.class
Binary file not shown.
Binary file not shown.
6 changes: 6 additions & 0 deletions Wolf/gen/com/roy/wolf/BuildConfig.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/** Automatically generated file. DO NOT MODIFY */
package com.roy.wolf;

public final class BuildConfig {
public final static boolean DEBUG = true;
}
14 changes: 14 additions & 0 deletions Wolf/gen/com/roy/wolf/Manifest.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* aapt tool from the resource data it found. It
* should not be modified by hand.
*/

package com.roy.wolf;

public final class Manifest {
public static final class permission {
public static final String BAIDU_LOCATION_SERVICE="android.permission.BAIDU_LOCATION_SERVICE";
}
}
Loading

0 comments on commit 02d69aa

Please sign in to comment.