Showing
120 changed files
with
1117 additions
and
926 deletions
.DS_Store
deleted
100644 → 0
No preview for this file type
assets/.DS_Store
deleted
100644 → 0
No preview for this file type
... | @@ -2,8 +2,8 @@ | ... | @@ -2,8 +2,8 @@ |
2 | <config> | 2 | <config> |
3 | 3 | ||
4 | <sdkconfig | 4 | <sdkconfig |
5 | - YA_APPID="5b96123bf0d7705a6107ef47" | 5 | + YA_APPID="5a9e59a6f0d7706952ebe735" |
6 | - YA_APPKEY="c3fd1c45163b357e976d17e9c4f43aa6" | 6 | + YA_APPKEY="2cdc96b8bdc7c381174dcd46307bb0dc" |
7 | 7 | ||
8 | 8 | ||
9 | gamesimplename="testest" | 9 | gamesimplename="testest" | ... | ... |
No preview for this file type
assets/sdk/.DS_Store
deleted
100644 → 0
No preview for this file type
... | @@ -150,7 +150,7 @@ function initMatching(){ | ... | @@ -150,7 +150,7 @@ function initMatching(){ |
150 | if(Core.isIos){ | 150 | if(Core.isIos){ |
151 | Core.server = 'https://sdk.uuufish.com'; | 151 | Core.server = 'https://sdk.uuufish.com'; |
152 | }else{ | 152 | }else{ |
153 | - Core.server = 'http://sdk.uuufish.com'; | 153 | + Core.server = 'https://sdk.uuufish.com'; |
154 | } | 154 | } |
155 | 155 | ||
156 | 156 | ... | ... |
assets/supplierconfig.json
0 → 100644
demo/.DS_Store
deleted
100755 → 0
No preview for this file type
demo/.gitignore
0 → 100644
demo/.idea/codeStyles/Project.xml
0 → 100644
1 | +<component name="ProjectCodeStyleConfiguration"> | ||
2 | + <code_scheme name="Project" version="173"> | ||
3 | + <Objective-C-extensions> | ||
4 | + <file> | ||
5 | + <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Import" /> | ||
6 | + <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Macro" /> | ||
7 | + <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Typedef" /> | ||
8 | + <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Enum" /> | ||
9 | + <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Constant" /> | ||
10 | + <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Global" /> | ||
11 | + <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Struct" /> | ||
12 | + <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="FunctionPredecl" /> | ||
13 | + <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Function" /> | ||
14 | + </file> | ||
15 | + <class> | ||
16 | + <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Property" /> | ||
17 | + <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Synthesize" /> | ||
18 | + <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="InitMethod" /> | ||
19 | + <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="StaticMethod" /> | ||
20 | + <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="InstanceMethod" /> | ||
21 | + <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="DeallocMethod" /> | ||
22 | + </class> | ||
23 | + <extensions> | ||
24 | + <pair source="cpp" header="h" fileNamingConvention="NONE" /> | ||
25 | + <pair source="c" header="h" fileNamingConvention="NONE" /> | ||
26 | + </extensions> | ||
27 | + </Objective-C-extensions> | ||
28 | + </code_scheme> | ||
29 | +</component> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
demo/.idea/gradle.xml
0 → 100644
1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
2 | +<project version="4"> | ||
3 | + <component name="GradleSettings"> | ||
4 | + <option name="linkedExternalProjectsSettings"> | ||
5 | + <GradleProjectSettings> | ||
6 | + <compositeConfiguration> | ||
7 | + <compositeBuild compositeDefinitionSource="SCRIPT" /> | ||
8 | + </compositeConfiguration> | ||
9 | + <option name="distributionType" value="DEFAULT_WRAPPED" /> | ||
10 | + <option name="externalProjectPath" value="$PROJECT_DIR$" /> | ||
11 | + <option name="resolveModulePerSourceSet" value="false" /> | ||
12 | + </GradleProjectSettings> | ||
13 | + </option> | ||
14 | + </component> | ||
15 | +</project> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
demo/.idea/misc.xml
0 → 100644
1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
2 | +<project version="4"> | ||
3 | + <component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" project-jdk-name="1.8" project-jdk-type="JavaSDK"> | ||
4 | + <output url="file://$PROJECT_DIR$/build/classes" /> | ||
5 | + </component> | ||
6 | + <component name="ProjectType"> | ||
7 | + <option name="id" value="Android" /> | ||
8 | + </component> | ||
9 | +</project> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
demo/.idea/runConfigurations.xml
0 → 100644
1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
2 | +<project version="4"> | ||
3 | + <component name="RunConfigurationProducerService"> | ||
4 | + <option name="ignoredProducers"> | ||
5 | + <set> | ||
6 | + <option value="org.jetbrains.plugins.gradle.execution.test.runner.AllInPackageGradleConfigurationProducer" /> | ||
7 | + <option value="org.jetbrains.plugins.gradle.execution.test.runner.TestClassGradleConfigurationProducer" /> | ||
8 | + <option value="org.jetbrains.plugins.gradle.execution.test.runner.TestMethodGradleConfigurationProducer" /> | ||
9 | + </set> | ||
10 | + </option> | ||
11 | + </component> | ||
12 | +</project> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
demo/Demo_haibao_juhe_sdk/.DS_Store
deleted
100644 → 0
No preview for this file type
demo/Demo_haibao_juhe_sdk/.classpath
deleted
100644 → 0
1 | -<?xml version="1.0" encoding="UTF-8"?> | ||
2 | -<classpath> | ||
3 | - <classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/> | ||
4 | - <classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/> | ||
5 | - <classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/> | ||
6 | - <classpathentry kind="src" path="src"/> | ||
7 | - <classpathentry kind="src" path="gen"/> | ||
8 | - <classpathentry kind="output" path="bin/classes"/> | ||
9 | -</classpath> |
demo/Demo_haibao_juhe_sdk/.project
deleted
100644 → 0
1 | -<?xml version="1.0" encoding="UTF-8"?> | ||
2 | -<projectDescription> | ||
3 | - <name>Demo_haibao_juhe_sdk</name> | ||
4 | - <comment></comment> | ||
5 | - <projects> | ||
6 | - </projects> | ||
7 | - <buildSpec> | ||
8 | - <buildCommand> | ||
9 | - <name>org.python.pydev.PyDevBuilder</name> | ||
10 | - <arguments> | ||
11 | - </arguments> | ||
12 | - </buildCommand> | ||
13 | - <buildCommand> | ||
14 | - <name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name> | ||
15 | - <arguments> | ||
16 | - </arguments> | ||
17 | - </buildCommand> | ||
18 | - <buildCommand> | ||
19 | - <name>com.android.ide.eclipse.adt.PreCompilerBuilder</name> | ||
20 | - <arguments> | ||
21 | - </arguments> | ||
22 | - </buildCommand> | ||
23 | - <buildCommand> | ||
24 | - <name>org.eclipse.jdt.core.javabuilder</name> | ||
25 | - <arguments> | ||
26 | - </arguments> | ||
27 | - </buildCommand> | ||
28 | - <buildCommand> | ||
29 | - <name>com.android.ide.eclipse.adt.ApkBuilder</name> | ||
30 | - <arguments> | ||
31 | - </arguments> | ||
32 | - </buildCommand> | ||
33 | - <buildCommand> | ||
34 | - <name>org.eclipse.buildship.core.gradleprojectbuilder</name> | ||
35 | - <arguments> | ||
36 | - </arguments> | ||
37 | - </buildCommand> | ||
38 | - </buildSpec> | ||
39 | - <natures> | ||
40 | - <nature>com.android.ide.eclipse.adt.AndroidNature</nature> | ||
41 | - <nature>org.eclipse.jdt.core.javanature</nature> | ||
42 | - <nature>org.python.pydev.pythonNature</nature> | ||
43 | - <nature>org.eclipse.buildship.core.gradleprojectnature</nature> | ||
44 | - </natures> | ||
45 | -</projectDescription> |
1 | -<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
2 | -<?eclipse-pydev version="1.0"?><pydev_project> | ||
3 | -<pydev_property name="org.python.pydev.PYTHON_PROJECT_INTERPRETER">Default</pydev_property> | ||
4 | -<pydev_property name="org.python.pydev.PYTHON_PROJECT_VERSION">python 2.7</pydev_property> | ||
5 | -</pydev_project> |
1 | -# This file is used to override default values used by the Ant build system. | ||
2 | -# | ||
3 | -# This file must be checked into Version Control Systems, as it is | ||
4 | -# integral to the build system of your project. | ||
5 | - | ||
6 | -# This file is only used by the Ant script. | ||
7 | - | ||
8 | -# You can use this to override default values such as | ||
9 | -# 'source.dir' for the location of your java source folder and | ||
10 | -# 'out.dir' for the location of your output folder. | ||
11 | - | ||
12 | -# You can also use it define how the release builds are signed by declaring | ||
13 | -# the following properties: | ||
14 | -# 'key.store' for the location of your keystore and | ||
15 | -# 'key.alias' for the name of the key to use. | ||
16 | -# The password will be asked during the build when you use the 'release' target. | ||
17 | - |
No preview for this file type
No preview for this file type
1 | -<!DOCTYPE html> | ||
2 | -<html> | ||
3 | - | ||
4 | - <head> | ||
5 | - <meta name="viewport" content="width=device-width, user-scalable=no" /> | ||
6 | - <meta name="apple-mobile-web-app-capable" content="yes" /> | ||
7 | - <meta name="apple-mobile-web-app-status-bar-style" content="black" /> | ||
8 | - <meta http-equiv="Content-type" content="text/html; charset=utf-8" /> | ||
9 | - <meta name="format-detection" content="telephone=no"> | ||
10 | - <meta name="screen-orientation" content="portrait"> | ||
11 | - <meta name="full-screen" content="yes"> | ||
12 | - <meta http-equiv="x-ua-compatible" content="IE=edge" /> | ||
13 | - <title> | ||
14 | - 手游平台支付 | ||
15 | - </title> | ||
16 | - <style> | ||
17 | - h4,p{font-size: 24px; | ||
18 | - font-weight: normal; | ||
19 | - padding: 0 20px;font-family: "微软雅黑"; width: 100%;} | ||
20 | - p{ text-indent: 2em;} | ||
21 | - </style> | ||
22 | - </head> | ||
23 | - | ||
24 | - <body> | ||
25 | - <div class="mask"></div> | ||
26 | - <div class="horizontal" style="height: 220px;"> | ||
27 | - <h4>1. 海豹游戏服务条款的接受</h4> | ||
28 | - <p>1.1 海豹游戏由广州游爱兄弟信息技术有限公司(以下简称“游爱兄弟”)及其关联公司合法运营,海豹游戏在本用户服务协议的条款和要求下提供服务。</p> | ||
29 | - <p>1.2 当用户访问、浏览及使用海豹游戏提供的各项服务、业务时,用户便表明其接受了本服务协议的条款,并同意受本服务协议的约束,用户保证其提交的信息真实、准确、及时和完整;若用户不同意本协议条款的,请停止注册程序。</p> | ||
30 | - <p>1.3 本服务协议所称的用户是指完全同意本服务协议所有条款(以下简称“服务条款”)并访问或浏览海豹游戏相关页面的服务接受者。</p> | ||
31 | - <h4>2. 服务条款的变更和修改</h4> | ||
32 | - <p>海豹游戏保留依其自主判断在将来的任何时间变更、修改、增加或删除本服务协议条款的权利。所有修改的协议均构成本服务协议的一部分。海豹游戏有权随时对服务条款进行修改,一旦发生服务条款的变动,海豹游戏将公示修改的内容;当用户使用海豹游戏的任何服务时,应接受海豹游戏随时提供的与该服务相关的规则或说明,并且此规则或说明均构成本服务条款的一部分。用户如果不同意服务条款的修改,可以主动取消已经获得的服务;如果用户继续享用服务,则视为用户已经接受服务条款的修改。</p> | ||
33 | - <h4>3. 服务说明</h4> | ||
34 | - <p>3.1 海豹游戏运用自己的操作系统通过国际互联网向用户提供丰富的网上资源,包括网盘、书签、邮箱、皮肤、微博、空间、游戏、论坛、SNS社区和实时定位、好友识别等其它个性化服务(以下简称本服务)。除非另有明确规定,基于增强或强化目前服务目的所新增的任何新功能、服务、新产品,均无条件地适用本服务条款。</p> | ||
35 | - <p>3.2 除非本协议中另有规定,否则海豹游戏对服务不承担任何责任,即用户对服务的使用承担风险。海豹游戏不保证服务一定会满足用户的使用要求,也不保证服务不会中断,对服务的及时性、安全性、准确性也不作担保。</p> | ||
36 | - <p>3.3 为使用本服务,用户必须自行配备接入国际互联网所必需的设备,包括计算机、手机、掌上电脑及其他存取装置或接受服务所需其它设备,并自行支付与此服务有关的费用。 </p> | ||
37 | - <p>3.4 海豹游戏保留在日后对全部或部分服务项目收取费用的权利。</p> | ||
38 | - <p>3.5 用户接受本服务时,须提供完整、真实、准确、最新的个人资料并按其变更情况不断更新账号资料。</p> | ||
39 | - <p>3.6 若用户提供任何错误、不实、过时或不完整的资料,或者海豹游戏有合理理由怀疑前述资料为错误、不实、过时或不完整,海豹游戏有权暂停或终止用户的账号,并拒绝其现在或将来使用本服务的全部或一部分。</p> | ||
40 | - <p>3.7 海豹游戏有权规定并修改使用本服务的一般措施,包括但不限于决定保留电子邮件信息或其他上载内容的时间、限制本服务一个账号可接收信息的数量等措施。如海豹游戏未能储存或删除本服务的内容或其他信息,海豹游戏不负担任何责任。对于用户3个月未使用的账号,海豹游戏有权(但无义务)予以删除。</p> | ||
41 | - <p>3.8 由于用户经由本服务张贴、上传或传送内容、与本服务连线、违反本服务条款或侵害其他人的任何权利导致任何第三方提出权利主张或使海豹游戏遭受任何形式的罚款或处罚,用户同意以适当方式充分消除对海豹游戏的不利影响,赔偿海豹游戏及其分公司、关联公司、代理人或其他合作伙伴及员工的损失,并使其免受损害。</p> | ||
42 | - <h4>4. 用户应遵守以下法律及法规</h4> | ||
43 | - <p>用户同意遵守中华人民共和国相关法律、法规的规定,在使用海豹游戏时,不得侵犯任何第三方的合法权益。在任何情况下,如果海豹游戏有合理理由认为用户的行为可能违反上述法律、法规或侵犯第三方的合法权益,海豹游戏可以在任何时候,不经事先通知终止向该用户提供服务。用户应了解国际互联网的无国界性,应特别注意遵守当地所有有关的法律和法规。</p> | ||
44 | - <h4>5. 用户隐私权</h4> | ||
45 | - <p>用户在遵守上述协议要求的前提下,海豹游戏将充分保护用户享有个人隐私。除非因以下原因,未经用户授权,本网站不公开、编辑或透露其个人账号资料:</p> | ||
46 | - <p>根据有关法律法规的要求;</p> | ||
47 | - <p>按照相关政府主管部门的要求;</p> | ||
48 | - <p>维护社会个体和公众的安全;</p> | ||
49 | - <p>为维护社会公共利益的需要;</p> | ||
50 | - <p>维护本网站的合法权益;</p> | ||
51 | - <p>事先获得用户的明确授权;</p> | ||
52 | - <p>符合其他相关的要求。</p> | ||
53 | - <h4>6. 用户账号、密码和安全</h4> | ||
54 | - <p>6.1 用户一旦注册成功,便成为海豹游戏的注册用户,将得到一个密码和账号。用户有义务保证密码和账号的安全。用户对利用该密码和账号所进行的一切活动负全部责任;因此所衍生的任何损失或损害,海豹游戏无法也不会承担任何责任。</p> | ||
55 | - <p>6.2 用户的密码和账号遭到未授权的使用或发生其他任何安全问题,用户可以立即通知海豹游戏。用户在每次连线结束,应结束账号使用,否则用户可能得不到海豹游戏的安全保护。</p> | ||
56 | - <p>6.3 海豹游戏禁止用户交易海豹游戏,海豹游戏有权收回用户交易的海豹游戏。如果因用户交易海豹游戏引起的任何纠纷,海豹游戏不承担任何责任。</p> | ||
57 | - <h4>7. 对用户信息的存储和限制</h4> | ||
58 | - <p>海豹游戏不对用户在海豹游戏任何服务下发布信息的删除或储存失败负责。海豹游戏有权判断用户的行为是否符合海豹游戏服务条款的规定,如果海豹游戏认为用户违反了服务条款的规定,海豹游戏有权删除用户发布或发送的信息,直至中断或终止向其提供服务。</p> | ||
59 | - <h4>8. 禁止用户从事以下行为:</h4> | ||
60 | - <p>8.1 上载、张贴、发送或传送任何非法、淫秽、色情、低俗的,胁迫、骚扰、中伤他人的,诽谤、侵害他人隐私或诋毁他人名誉或商誉的,其他违反国家法律法规、社会主义道德规范及不适当的信息或电子邮件,包括但不限于资讯、资料、文字、软件、音乐、照片、图形、信息、视频或其他资料(以下简称内容)。</p> | ||
61 | - <p>8.2 以任何方式危害未成年人。</p> | ||
62 | - <p>8.3 冒充任何人或机构,或以虚伪不实的方式谎称或使人误认为与任何人或任何机构有关。</p> | ||
63 | - <p>8.4 伪造标题或以其他方式操控识别资料,使人误认为该内容为海豹游戏所传送。</p> | ||
64 | - <p>8.5 上载、张贴、发送电子邮件或以其他方式传送无权传送的内容。</p> | ||
65 | - <p>8.6 上载、张贴、发送电子邮件或以其他方式传送侵犯任何人的专利、商标、著作权、商业秘密或其他民事权利之内容。</p> | ||
66 | - <p>8.7 上载、张贴、发送电子邮件或以其他方式传送广告函件、促销资料、垃圾邮件等。</p> | ||
67 | - <p>8.8 干扰或破坏本服务或与本服务相连的服务器和网络,或不遵守本服务协议之规定。</p> | ||
68 | - <p>8.9 违反任何相关的中国法律、法规、规章、条例等其他具有法律约束力的规范。</p> | ||
69 | - <p>8.10 跟踪或以其他方式骚扰他人。</p> | ||
70 | - <p>8.11 窃取他人密码、账号和其它数字化信息或财产。</p> | ||
71 | - <p>8.12 其他被海豹游戏视为不适当的行为。</p> | ||
72 | - <p>8.13 海豹游戏有权对用户载、张贴、发送的内容进行审核,有任何违反法律法规或本协议之有关规定的内容,海豹游戏有权立即将其删除或屏蔽,且不需要对用户另行通知。</p> | ||
73 | - <p>8.14 海豹游戏封号规则</p> | ||
74 | - <p>1.无视国家规定,在姓名、游戏角色名等地方中使用违规词语或不文明词语、非法字符</p> | ||
75 | - <p>处罚规则:视情节轻重给予时限性冻结账号的处罚;情节严重者,给予永久冻结的处罚。</p> | ||
76 | - <p>2.涉及到侵入、拦截、破坏、复制、修改游戏程序,以及宣扬、叫卖和使用各种辅助性程序或恶性非法程序,即使用外挂程序、或在游戏中宣传外挂程序的行为。</p> | ||
77 | - <p>处罚规则:视情节轻重给予时限性冻结账号的处罚;情节严重者,给予永久冻结的处罚。</p> | ||
78 | - <p>3.以任何弄虚作假的形式来蒙蔽或者欺骗其他用户,如发布模仿官方并带有病毒的网站、非官方中奖信息、非法广告、游戏代码、木马、外挂、病毒、色情信息、垃圾广告等信息</p> | ||
79 | - <p>处罚规则:视情节轻重给予时限性冻结账号的处罚;情节严重者,给予永久冻结的处罚。</p> | ||
80 | - <p>4.通过海豹游戏发布非法网站,宣传或使用私服、游戏代码、木马、外挂、病毒、色情信息、垃圾广告、非法广告等信息</p> | ||
81 | - <p>处罚规则:视情节轻重给予时限性冻结账号的处罚;情节严重者,给予永久冻结的处罚。</p> | ||
82 | - <p>5.通过海豹游戏发布触犯政府法令的文字如:煽动、反动、猥亵、暴力、种族歧视、宗教歧视等字眼,包含这类相关字的反向书写。</p> | ||
83 | - <p>处罚规则:视情节轻重给予时限性冻结账号的处罚;情节严重者,给予永久冻结的处罚,并上报相关部门追究其法律责任。</p> | ||
84 | - <p>6.宣传或贩卖BUG、攻击服务器运行、牟取个人利益、影响游戏公平性,以及影响其他玩家正常进行游戏等行为</p> | ||
85 | - <p>处罚规则:查证核实后,将暂停账号,并清除所有非法物品;视情节轻重给予时限性冻结账号的处罚;情节严重者,给予永久冻结的处罚。</p> | ||
86 | - <p>7.盗取或参与盗取他人账号,给被盗者造成严重损失的行为</p> | ||
87 | - <p>处罚规则:查证核实后,视情节轻重给予时限性冻结账号的处罚;情节严重者,给予永久冻结的处罚,并上报相关部门追究其法律责任。</p> | ||
88 | - <p>8.侮辱、毁谤、猥亵、威胁、辱骂其他用户,扭曲事实、恶意散布不实谣言,恶意影响游戏环境等行为</p> | ||
89 | - <p>处罚规则:视情节轻重给予时限性冻结账号的处罚;情节严重者,给予永久冻结的处罚。</p> | ||
90 | - <h4>9. 内容及其披露</h4> | ||
91 | - <p>9.1 用户对经由本服务上载、张贴或传送的内容负全部责任;对于经由本服务而传送的内容,海豹游戏不保证前述内容的正确性、完整性或及时性。在任何情况下,海豹游戏均不对任何用户提供的内容负责,包括但不限于任何内容发生任何错误或纰漏以及衍生的任何损失或损害,用户负责处理与其提供的内容相关的任何及全部纠纷。海豹游戏有权(但无义务)拒绝或删除经由本服务提供的任何内容。用户使用上述内容,应自行承担风险。</p> | ||
92 | - <p>9.2 海豹游戏有权利在下述情况下,对内容进行保存或披露:</p> | ||
93 | - <p>法律程序所规定</p> | ||
94 | - <p>本服务条款规定</p> | ||
95 | - <p>被侵害的第三人提出权利主张</p> | ||
96 | - <p>为保护海豹游戏、其使用者及社会公众的权利、财产或人身安全</p> | ||
97 | - <p>其他海豹游戏认为有必要的情况。</p> | ||
98 | - <h4>10. 电子公告栏的张贴内容</h4> | ||
99 | - <p>10.1 “电子公告栏”包括空间、论坛、SNS社区和其它一般公众可以使用的区域;</p> | ||
100 | - <p>10.2 用户一旦在本服务电子公告栏上传或张贴内容,即视为用户授予海豹游戏该内容著作权之免费及非独家、永久的许可使用权,海豹游戏有权为展示、传播及推广前述内容之目的,对上述内容进行复制、修改、出版。由此展示、传播及推广行为所产生的损失或利润,均由海豹游戏承担或享受。海豹游戏有权自主决定是否给予此类用户鼓励或奖励。</p> | ||
101 | - <p>10.3 因用户进行上述张贴,而导致任何第三方提出索赔要求或衍生的任何损害或损失,用户须承担全部责任。</p> | ||
102 | - <p>10.4 非经海豹游戏事先许可,用户不得对他人上传或张贴在电子公告栏或本服务其他内容进行复制、出售或用作其他商业用途。</p> | ||
103 | - <h4>11. 海豹游戏服务使用规则</h4> | ||
104 | - <p>11.1 用户必须保证,拥有上传之照片、文字等作品之著作权或已获得合法授权,在本网站之上传行为未侵犯任何第三方之合法权益。否则,将由用户承担由此带来的一切法律责任;用户不得将任何内部资料、机密资料、涉及他人隐私资料或侵犯任何人的专利、商标、著作权、商业秘密或其他专属权利之内容加以上载、张贴、或以其他方式传送。</p> | ||
105 | - <p>11.2 用户不得利用本服务进行故意制作、传播计算机病毒等破坏性程序,不得针对本服务、与本服务连接的服务器或网络制造干扰、混乱,或违反连接本服务的网络的任何要求、程序、政策或规则,否则海豹游戏将保留追究其法律责任的权利并有权将其提交给相关部门处理。</p> | ||
106 | - <p>11.3 海豹游戏有权对用户上传的图片、添加的文字等内容进行审核,有任何违反法律法规或本协议之有关规定的图片、文字,海豹游戏有权立即将其删除或屏蔽,且不需要对用户另行通知。</p> | ||
107 | - <p>11.4 用户不得将广告函件、促销资料、垃圾邮件等,加以上载、张贴、发送电子邮件或以其他方式传送。</p> | ||
108 | - <p>11.5 海豹游戏郑重提请用户注意,任何经由本服务以上载、张贴、发送的资料、文字、照片、图形、视讯、信息、用户的登记资料或其他资料(以下简称“内容”),无论系公开还是私下传送,均由内容提供者承担责任。海豹游戏无法控制经由本服务传送之内容,也无法对用户的使用行为进行全面控制,因此不保证内容的合法性、正确性、完整性、真实性或品质;用户已预知使用本服务时,可能会接触到令人不快、不适当或令人厌恶之内容,并同意将自行加以判断并承担所有风险,而不依赖于海豹游戏。但在任何情况下,海豹游戏有权依法停止传输任何前述内容并采取相应行动,包括但不限于暂停用户使用本服务的全部或部分,保存有关记录,并向有关机关报告。但海豹游戏有权(但无义务)依其自行之考量,拒绝和删除可经由本服务提供之违反本条款的或其他引起海豹游戏或用户反感的任何内容。</p> | ||
109 | - <p>11.6 用户完全理解并同意,若第三方在用户不知情或未经用户同意的前提下,将其文字、图片作品上传于海豹游戏空间及由此所产生的任何可能侵害其权益的行为,海豹游戏均不对任何人承担任何责任。</p> | ||
110 | - <p>11.7 海豹游戏有权根据政府机关或权利人的要求删除用户上载、张贴、发送的内容,无论海豹游戏事先是否通知。</p> | ||
111 | - <p>11.8 海豹游戏有权根据服务的需要,收回用户所用的空间域名或减少用户所用空间的大小,无论海豹游戏事先是否通知。</p> | ||
112 | - <h4>12. 海豹游戏论坛规则</h4> | ||
113 | - <p>12.1 关于用户名和昵称</p> | ||
114 | - <p>不得使用党和国家领导人或其他知名人士的真实姓名、字号、艺名、笔名作为用户名和昵称;</p> | ||
115 | - <p>不得使用国家机构或其他机构的名称作为用户名和昵称;</p> | ||
116 | - <p>不得使用和其他网友之名相近、相仿的用户名和昵称;</p> | ||
117 | - <p>不得使用不文明、不健康,或带攻击性、侮辱性的用户名和昵称;</p> | ||
118 | - <p>请勿使用易产生歧义、引起他人误解的用户名和昵称;</p> | ||
119 | - <p>不得使用各种奇形怪状的符号作为用户名和昵称;</p> | ||
120 | - <p>对于违反规定或产生不良后果的用户名和昵称,本站有权删除而不必事先通知。</p> | ||
121 | - <p>12.2 关于签名</p> | ||
122 | - <p>不得出现宣扬反动、封建迷信、淫秽、色情、赌博、暴力、凶杀、恐怖、教唆犯罪等不符合国家法律规定的以及任何包含种族、性别、宗教歧视性和猥亵性的信息内容;</p> | ||
123 | - <p>不得出现有侮辱性言语、挑衅、辱骂其他人以及不健康内容;</p> | ||
124 | - <p>不得出现广告性质的内容以及本公司以外其他网站的链接;</p> | ||
125 | - <p>海豹游戏有权在不需要通知和解释的情况下除去违反以上规定的签名内容,并对情节严重者予以封号处理。</p> | ||
126 | - <p>12.3 关于发贴内容</p> | ||
127 | - <p>遵守相关法规,严禁发表违反法律法规及社会主义道德规定的内容;</p> | ||
128 | - <p>使用文明用语,不得张贴对任何人进行人身攻击、谩骂、诋毁的言论;</p> | ||
129 | - <p>不得张贴未经公开报道、未经证实的消息;</p> | ||
130 | - <p>不得张贴与所在论坛主题无关的消息、言论和图片;</p> | ||
131 | - <p>未经海豹游戏同意,不得张贴带有商业性质的内容或任何形式的广告,不得张贴海豹游戏及其关联公司以外其他网站的链接;</p> | ||
132 | - <p>不得恶意灌水,内容相同的帖子不得一文多发;</p> | ||
133 | - <p>不得在帖子中(标题和内容)加入各种奇形怪状的符号;</p> | ||
134 | - <p>转贴文章应注明原始出处和时间;</p> | ||
135 | - <p>对于违反以上规定的内容,在不需要通知和解释的情况下,海豹游戏以及版主有权予以删除,并对情节严重者予以封账号处理。</p> | ||
136 | - <p>12.4 关于贴图</p> | ||
137 | - <p>不得张贴宣扬反动、封建迷信、淫秽、色情、赌博、暴力、凶杀、恐怖、教唆犯罪等不符合国家法律规定的以及任何包含种族、性别、宗教歧视性和猥亵性的图片;</p> | ||
138 | - <p>不得出现带有侮辱性、挑衅、辱骂其他人以及不健康内容的图片;</p> | ||
139 | - <p>请勿使用易产生歧义、引起他人误解的图片;</p> | ||
140 | - <p>摘录、转贴的图片请注明出处及作者,禁止张贴侵犯他人著作权、版权等知识产权的图片;</p> | ||
141 | - <p>不得张贴与论坛主题无关的图片;</p> | ||
142 | - <p>海豹游戏有权在不需要通知和解释的情况下删除违反以上规定的图片,并对情节严重者予以封账号处理。</p> | ||
143 | - <h4>13. 海豹游戏游戏规则</h4> | ||
144 | - <p>13.1 用户应当遵守游戏公约、玩家守则及不时发布的游戏规则、公告等;</p> | ||
145 | - <p>13.2 用户不得通过不正当的手段或其他不公平的手段使用海豹游戏的游戏产品和服务或参与海豹游戏的游戏活动。用户不得干扰海豹游戏正常地提供产品和服务,包括但不限于:攻击、侵入海豹游戏的网站服务器或使网站服务器过载;制作、发布、传播、使用任何形式的妨碍游戏公平性的辅助工具或程序(外挂);利用程序的漏洞和错误(Bug)破坏游戏的正常进行或传播该漏洞或错误(Bug);不合理地干扰或阻碍他人使用海豹游戏所提供的产品和服务。</p> | ||
146 | - <p>13.3 为维护游戏的公平性,如果海豹游戏发现用户数据异常,无论用户对该异常数据产生是否负有过错,海豹游戏均有权根据本规则、游戏公约、玩家守则及后期不时发布的游戏公告等,采取相应措施:包括但不限于对该账号的冻结、终止、删除;用户在此承诺海豹游戏有权采取上述行动,并承诺不得就上述行为要求海豹游戏做任何补偿或退费。</p> | ||
147 | - <p>13.4 海豹游戏在此特别提示用户:</p> | ||
148 | - <p>海豹游戏提供的游戏将按照现状提供,用户明确知道游戏中存在已知和未知的漏洞和错误(Bug)。尽管海豹游戏将尽最大努力解决已知的漏洞和错误(Bug),但用户知道或应该知道游戏中仍可能包含未知的漏洞和错误(Bug)等。用户同意不向海豹游戏及其关联公司因任何漏洞和错误(Bug)主张任何赔偿。海豹游戏不提倡虚拟物品之间的交易,并不对该交易中产生的任何问题进行支持和保障。</p> | ||
149 | - <h4>14. 手机特色功能说明</h4> | ||
150 | - <p>14.1 用户明确知道,海豹游戏提供的实时定位服务将向用户及用户的不特定海豹游戏好友提供用户的实时空间位置信息。</p> | ||
151 | - <p>14.2 用户可选择向海豹游戏导入手机通讯簿上所对应的好友关系链,但海豹游戏确保将不导入好友关系链之外的任何信息(包括好友姓名及其他任何相关信息) </p> | ||
152 | - <p>14.3 海豹游戏将对好友关系链通过不可逆转的方式加密存储,包括海豹游戏和您的任何好友都将无法获知您的真实好友关系链和真实手机号码。</p> | ||
153 | - <h4>15. 海豹游戏的知识产权及其他权利</h4> | ||
154 | - <p>15.1 海豹游戏对本服务及本服务所使用的软件和受知识产权相关法律或其他法律保护的资料享有相应的权利。</p> | ||
155 | - <p>15.2 经由本服务传送的内容,受到著作权法、商标法、专利法或其他法律的保护;未经海豹游戏明示授权许可,用户不得进行修改、出租、散布或衍生其他作品,用户本人创作并在公开使用区域张贴的内容除外。</p> | ||
156 | - <p>15.3 用户对本服务所使用的软件有非专属性使用权,但自己不得或许可任何第三方复制、修改、出售或衍生产品。</p> | ||
157 | - <p>15.4 海豹游戏及其他海豹游戏图样、产品及服务名称,均为海豹游戏及其关联公司所享有的商标,未经海豹游戏所事先书面授权,任何人不得使用、 复制或用作其他用途。</p> | ||
158 | - <h4>16. 免责声明</h4> | ||
159 | - <p>16.1 海豹游戏对于本服务包含的或用户经由或从任何与本服务有关的途径所获得的任何内容、信息或广告,不保证其正确性或可靠性;并且对于用户经本服务上的广告、展示而购买、取得的任何产品、信息或资料,海豹游戏不负保证责任。用户自行承担担使用本服务的风险。</p> | ||
160 | - <p>16.2 海豹游戏有权但无义务,改善或更正本服务任何部分之任何疏漏、错误。</p> | ||
161 | - <p>16.3 海豹游戏不保证以下事项(包括但不限于):</p> | ||
162 | - <p>本服务适合用户的使用要求;</p> | ||
163 | - <p>本服务不受干扰,及时、安全、可靠或不出现错误;</p> | ||
164 | - <p>用户经由本服务取得的任何产品、服务或其他材料符合用户的期望;</p> | ||
165 | - <p>16.4 用户使用经由本服务下载的或取得的任何资料,其风险自行负担;因该使用而导致用户手机或其他设备系统损坏或资料流失,用户应负完全责任;</p> | ||
166 | - <p>16.5 对基于以下原因而造成的利润、商业信誉、资料的损失或其他有形或无形损失,海豹游戏不承担任何直接、间接、附带、衍生或惩罚性的赔偿:</p> | ||
167 | - <p>本服务使用或无法使用;</p> | ||
168 | - <p>经由本服务购买或取得的任何产品、资料或服务;</p> | ||
169 | - <p>用户资料遭到未授权的使用或修改;</p> | ||
170 | - <p>用户资料丢失或被删除;</p> | ||
171 | - <p>其他与本服务相关的事宜。</p> | ||
172 | - <p>16.6 用户在浏览网际网路时自行判断使用海豹游戏的检索目录。该检索目录可能会引导用户进入到被认为具有攻击性或不适当的网站,海豹游戏没有义务查看检索目录所列网站的内容,因此,对其正确性、合法性、正当性不负任何责任。</p> | ||
173 | - <h4>17. 服务的修改和终止</h4> | ||
174 | - <p>海豹游戏有权在未事前通知的情况下在任何时候,暂时或永久地修改或终止本服务或其中任何一部分。海豹游戏对本服务的修改或终止对用户和任何第三人不承担任何责任。海豹游戏有权基于任何理由,终止用户的账号、密码或拒绝其使用本服务,或删除、转移用户存储、发布在本服务的内容,海豹游戏采取上述行为均不需通知,并且对用户和任何第三人不承担任何责任。</p> | ||
175 | - <h4>18. 通知</h4> | ||
176 | - <p>海豹游戏向用户发出的通知,可以采用电子邮件、页面公告、常规信件、电话或海豹游戏认为适合的形式。服务条款的修改或其他事项变更时,海豹游戏将会以上述形式进行通知。</p> | ||
177 | - <h4>19. 全部协议</h4> | ||
178 | - <p>本服务协议和海豹游戏的其他服务条款构成完整的协议。</p> | ||
179 | - <h4>20. 法律的适用和管辖</h4> | ||
180 | - <p>本服务条款的生效、履行、解释及争议的解决均适用中华人民共和国法律,发生的争议提交广州仲裁委员会裁决。如果本服务协议中某项条款因与中华人民共和国现行法律相抵触而导致无效,将不影响其他部分的效力。</p> | ||
181 | - <h4>21. 生效条件</h4> | ||
182 | - <p>本协议自用户访问、浏览及使用海豹游戏之时开始生效。</p> | ||
183 | - </div> | ||
184 | - <!-- end --> | ||
185 | - <script type="text/javascript" src="js/fastclick.min.1.0.js?20150923001"></script> | ||
186 | - <script type="text/javascript" src="js/zepto.min.js?20150923001"></script> | ||
187 | - <script type="text/javascript"> | ||
188 | - | ||
189 | - window.isGetData = 0; | ||
190 | - $(function() { | ||
191 | - FastClick.attach(document.body); | ||
192 | - }); | ||
193 | - </script> | ||
194 | - <script type="text/javascript" src="js/core.min.js?20150923001" ></script> | ||
195 | - <script type="text/javascript" src="js/simpScroller-min.js"></script> | ||
196 | - <script> | ||
197 | - simpScroller(document.querySelector(".horizontal"), {}); | ||
198 | - </script> | ||
199 | - </body> | ||
200 | - | ||
201 | -</html> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | -20180207 | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | -<?xml version="1.0" encoding="utf-8"?> | ||
2 | -<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
3 | - package="com.yaxd.haibao.sdk.demo" | ||
4 | - android:versionCode="1" | ||
5 | - android:versionName="1.0" > | ||
6 | - | ||
7 | - <uses-sdk | ||
8 | - android:minSdkVersion="8" | ||
9 | - android:targetSdkVersion="20" /> | ||
10 | - | ||
11 | - <!-- SDK start --> | ||
12 | - <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> | ||
13 | - <uses-permission android:name="android.permission.INTERNET" /> | ||
14 | - <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> | ||
15 | - <uses-permission android:name="android.permission.READ_PHONE_STATE" /> | ||
16 | - <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> | ||
17 | - <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> | ||
18 | - <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" /> | ||
19 | - <uses-permission android:name="android.permission.READ_LOGS" /> | ||
20 | - <uses-permission android:name="android.permission.GET_TASKS" /> | ||
21 | - <uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" /> | ||
22 | - <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" /> | ||
23 | - <uses-permission android:name="android.permission.RECORD_AUDIO" /> | ||
24 | - <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" /> | ||
25 | - <uses-permission android:name="org.simalliance.openmobileapi.SMARTCARD" /> | ||
26 | - <uses-permission android:name="android.permission.NFC" /> | ||
27 | - | ||
28 | - <uses-feature android:name="android.hardware.nfc.hce" /> | ||
29 | - <!-- SDK end --> | ||
30 | - | ||
31 | - <application | ||
32 | - android:name="com.yaxd.haibao.sdk.application.PoolSDKApplication" | ||
33 | - android:allowBackup="true" | ||
34 | - android:icon="@drawable/public_sdk_self_ic_launcher" | ||
35 | - android:label="@string/app_name" > | ||
36 | - <activity | ||
37 | - android:name="com.youai.foolsdk.demo.AppActivity" | ||
38 | - android:configChanges="keyboardHidden|orientation|screenSize" | ||
39 | - android:label="@string/app_name" | ||
40 | - android:screenOrientation="landscape" | ||
41 | - android:theme="@android:style/Theme.NoTitleBar.Fullscreen" > | ||
42 | - <intent-filter> | ||
43 | - <action android:name="android.intent.action.MAIN" /> | ||
44 | - | ||
45 | - <category android:name="android.intent.category.LAUNCHER" /> | ||
46 | - </intent-filter> | ||
47 | - </activity> | ||
48 | - <!-- SDK start --> | ||
49 | - <receiver android:name="com.yaxd.haibao.sdk.framework.AppInstallReceiver" > | ||
50 | - <intent-filter> | ||
51 | - <action android:name="android.intent.action.PACKAGE_ADDED" /> | ||
52 | - <action android:name="android.intent.action.PACKAGE_REPLACED" /> | ||
53 | - <action android:name="android.intent.action.PACKAGE_REMOVED" /> | ||
54 | - | ||
55 | - <data android:scheme="package" /> | ||
56 | - </intent-filter> | ||
57 | - </receiver> | ||
58 | - | ||
59 | - <activity | ||
60 | - android:name="com.youai.sdk.YouaiSDK" | ||
61 | - android:label="youai_sdk" | ||
62 | - android:launchMode="singleTask" | ||
63 | - android:theme="@android:style/Theme.Dialog" /> | ||
64 | - | ||
65 | - <service | ||
66 | - android:name="com.youai.sdk.YouaiService" | ||
67 | - android:enabled="true" > | ||
68 | - <intent-filter> | ||
69 | - <action android:name="com.youai.sdk.YouaiService" /> | ||
70 | - </intent-filter> | ||
71 | - </service> | ||
72 | - <service | ||
73 | - android:name="com.youai.sdk.FloatViewService" | ||
74 | - android:enabled="true" | ||
75 | - android:exported="true" > | ||
76 | - <intent-filter> | ||
77 | - <action android:name="com.youai.sdk.FloatViewService" /> | ||
78 | - </intent-filter> | ||
79 | - </service> | ||
80 | - | ||
81 | - <receiver android:name="com.youai.sdk.Receiver" > | ||
82 | - <intent-filter> | ||
83 | - <action android:name="android.intent.action.BOOT_COMPLETED" /> | ||
84 | - | ||
85 | - <category android:name="android.intent.category.LAUNCHER" /> | ||
86 | - </intent-filter> | ||
87 | - </receiver> | ||
88 | - | ||
89 | - <activity | ||
90 | - android:name="com.alipay.sdk.app.H5PayActivity" | ||
91 | - android:configChanges="keyboardHidden|navigation|orientation" | ||
92 | - android:exported="false" | ||
93 | - android:screenOrientation="behind" /> | ||
94 | - <activity | ||
95 | - android:name="com.alipay.sdk.auth.AuthActivity" | ||
96 | - android:configChanges="keyboardHidden|navigation|orientation" | ||
97 | - android:exported="false" | ||
98 | - android:screenOrientation="behind" /> | ||
99 | - <activity | ||
100 | - android:name=".wxapi.WXPayEntryActivity" | ||
101 | - android:exported="true" | ||
102 | - android:launchMode="singleTop" /> | ||
103 | - <activity | ||
104 | - android:name=".wxapi.WXEntryActivity" | ||
105 | - android:exported="true" | ||
106 | - android:launchMode="singleTop" /> | ||
107 | - <!-- SDK end --> | ||
108 | - </application> | ||
109 | - | ||
110 | -</manifest> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
demo/Demo_haibao_juhe_sdk/build.xml
deleted
100644 → 0
1 | -<?xml version="1.0" encoding="UTF-8"?> | ||
2 | -<project name="PoolSdk" default="help"> | ||
3 | - | ||
4 | - <!-- The local.properties file is created and updated by the 'android' tool. | ||
5 | - It contains the path to the SDK. It should *NOT* be checked into | ||
6 | - Version Control Systems. --> | ||
7 | - <property file="local.properties" /> | ||
8 | - | ||
9 | - <!-- The ant.properties file can be created by you. It is only edited by the | ||
10 | - 'android' tool to add properties to it. | ||
11 | - This is the place to change some Ant specific build properties. | ||
12 | - Here are some properties you may want to change/update: | ||
13 | - | ||
14 | - source.dir | ||
15 | - The name of the source directory. Default is 'src'. | ||
16 | - out.dir | ||
17 | - The name of the output directory. Default is 'bin'. | ||
18 | - | ||
19 | - For other overridable properties, look at the beginning of the rules | ||
20 | - files in the SDK, at tools/ant/build.xml | ||
21 | - | ||
22 | - Properties related to the SDK location or the project target should | ||
23 | - be updated using the 'android' tool with the 'update' action. | ||
24 | - | ||
25 | - This file is an integral part of the build system for your | ||
26 | - application and should be checked into Version Control Systems. | ||
27 | - | ||
28 | - --> | ||
29 | - <property file="ant.properties" /> | ||
30 | - | ||
31 | - <!-- if sdk.dir was not set from one of the property file, then | ||
32 | - get it from the ANDROID_HOME env var. | ||
33 | - This must be done before we load project.properties since | ||
34 | - the proguard config can use sdk.dir --> | ||
35 | - <property environment="env" /> | ||
36 | - <condition property="sdk.dir" value="${env.ANDROID_HOME}"> | ||
37 | - <isset property="env.ANDROID_HOME" /> | ||
38 | - </condition> | ||
39 | - | ||
40 | - <!-- The project.properties file is created and updated by the 'android' | ||
41 | - tool, as well as ADT. | ||
42 | - | ||
43 | - This contains project specific properties such as project target, and library | ||
44 | - dependencies. Lower level build properties are stored in ant.properties | ||
45 | - (or in .classpath for Eclipse projects). | ||
46 | - | ||
47 | - This file is an integral part of the build system for your | ||
48 | - application and should be checked into Version Control Systems. --> | ||
49 | - <loadproperties srcFile="project.properties" /> | ||
50 | - | ||
51 | - <!-- quick check on sdk.dir --> | ||
52 | - <fail | ||
53 | - message="sdk.dir is missing. Make sure to generate local.properties using 'android update project' or to inject it through the ANDROID_HOME environment variable." | ||
54 | - unless="sdk.dir" | ||
55 | - /> | ||
56 | - | ||
57 | - <!-- | ||
58 | - Import per project custom build rules if present at the root of the project. | ||
59 | - This is the place to put custom intermediary targets such as: | ||
60 | - -pre-build | ||
61 | - -pre-compile | ||
62 | - -post-compile (This is typically used for code obfuscation. | ||
63 | - Compiled code location: ${out.classes.absolute.dir} | ||
64 | - If this is not done in place, override ${out.dex.input.absolute.dir}) | ||
65 | - -post-package | ||
66 | - -post-build | ||
67 | - -pre-clean | ||
68 | - --> | ||
69 | - <import file="custom_rules.xml" optional="true" /> | ||
70 | - | ||
71 | - <!-- Import the actual build file. | ||
72 | - | ||
73 | - To customize existing targets, there are two options: | ||
74 | - - Customize only one target: | ||
75 | - - copy/paste the target into this file, *before* the | ||
76 | - <import> task. | ||
77 | - - customize it to your needs. | ||
78 | - - Customize the whole content of build.xml | ||
79 | - - copy/paste the content of the rules files (minus the top node) | ||
80 | - into this file, replacing the <import> task. | ||
81 | - - customize to your needs. | ||
82 | - | ||
83 | - *********************** | ||
84 | - ****** IMPORTANT ****** | ||
85 | - *********************** | ||
86 | - In all cases you must update the value of version-tag below to read 'custom' instead of an integer, | ||
87 | - in order to avoid having your file be overridden by tools such as "android update project" | ||
88 | - --> | ||
89 | - <!-- version-tag: 1 --> | ||
90 | - <import file="${sdk.dir}/tools/ant/build.xml" /> | ||
91 | - | ||
92 | -</project> |
1 | -/* AUTO-GENERATED FILE. DO NOT MODIFY. | ||
2 | - * | ||
3 | - * This class was automatically generated by the | ||
4 | - * aapt tool from the resource data it found. It | ||
5 | - * should not be modified by hand. | ||
6 | - */ | ||
7 | - | ||
8 | -package com.yaxd.haibao.sdk.demo; | ||
9 | - | ||
10 | -public final class R { | ||
11 | - public static final class attr { | ||
12 | - } | ||
13 | - public static final class drawable { | ||
14 | - public static final int public_sdk_self_demo_btn_login_n=0x7f020000; | ||
15 | - public static final int public_sdk_self_demo_btn_login_s=0x7f020001; | ||
16 | - public static final int public_sdk_self_demo_btn_main_n=0x7f020002; | ||
17 | - public static final int public_sdk_self_demo_btn_main_s=0x7f020003; | ||
18 | - public static final int public_sdk_self_demo_main=0x7f020004; | ||
19 | - public static final int public_sdk_self_ic_launcher=0x7f020005; | ||
20 | - public static final int public_sdk_self_sdk_login_bg=0x7f020006; | ||
21 | - public static final int public_sdk_self_ya_bt_selector=0x7f020007; | ||
22 | - public static final int public_sdk_self_ya_login_bt_selector=0x7f020008; | ||
23 | - } | ||
24 | - public static final class id { | ||
25 | - public static final int forum_bt=0x7f050005; | ||
26 | - public static final int logout_bt=0x7f050004; | ||
27 | - public static final int ya_channel_center=0x7f050000; | ||
28 | - public static final int ya_enter_game_bt=0x7f050007; | ||
29 | - public static final int ya_login_bt=0x7f050006; | ||
30 | - public static final int ya_pay_bt=0x7f050001; | ||
31 | - public static final int ya_submit_role_data_bt=0x7f050003; | ||
32 | - public static final int ya_switch_account_bt=0x7f050002; | ||
33 | - } | ||
34 | - public static final class layout { | ||
35 | - public static final int public_sdk_self_game=0x7f030000; | ||
36 | - public static final int public_sdk_self_game_login=0x7f030001; | ||
37 | - } | ||
38 | - public static final class string { | ||
39 | - public static final int app_name=0x7f040000; | ||
40 | - } | ||
41 | -} |
1 | -/* AUTO-GENERATED FILE. DO NOT MODIFY. | ||
2 | - * | ||
3 | - * This class was automatically generated by the | ||
4 | - * aapt tool from the resource data it found. It | ||
5 | - * should not be modified by hand. | ||
6 | - */ | ||
7 | - | ||
8 | -package com.youai.poolsdk.demo; | ||
9 | - | ||
10 | -public final class R { | ||
11 | - public static final class attr { | ||
12 | - } | ||
13 | - public static final class drawable { | ||
14 | - public static final int public_sdk_self_demo_btn_login_n=0x7f020000; | ||
15 | - public static final int public_sdk_self_demo_btn_login_s=0x7f020001; | ||
16 | - public static final int public_sdk_self_demo_btn_main_n=0x7f020002; | ||
17 | - public static final int public_sdk_self_demo_btn_main_s=0x7f020003; | ||
18 | - public static final int public_sdk_self_demo_main=0x7f020004; | ||
19 | - public static final int public_sdk_self_ic_launcher=0x7f020005; | ||
20 | - public static final int public_sdk_self_sdk_login_bg=0x7f020006; | ||
21 | - public static final int public_sdk_self_ya_bt_selector=0x7f020007; | ||
22 | - public static final int public_sdk_self_ya_login_bt_selector=0x7f020008; | ||
23 | - } | ||
24 | - public static final class id { | ||
25 | - public static final int forum_bt=0x7f050005; | ||
26 | - public static final int logout_bt=0x7f050004; | ||
27 | - public static final int ya_channel_center=0x7f050000; | ||
28 | - public static final int ya_enter_game_bt=0x7f050007; | ||
29 | - public static final int ya_login_bt=0x7f050006; | ||
30 | - public static final int ya_pay_bt=0x7f050001; | ||
31 | - public static final int ya_submit_role_data_bt=0x7f050003; | ||
32 | - public static final int ya_switch_account_bt=0x7f050002; | ||
33 | - } | ||
34 | - public static final class layout { | ||
35 | - public static final int public_sdk_self_game=0x7f030000; | ||
36 | - public static final int public_sdk_self_game_login=0x7f030001; | ||
37 | - } | ||
38 | - public static final class string { | ||
39 | - public static final int app_name=0x7f040000; | ||
40 | - } | ||
41 | -} |

50.2 KB
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
demo/Demo_haibao_juhe_sdk/lint.xml
deleted
100644 → 0
1 | -# This file is automatically generated by Android Tools. | ||
2 | -# Do not modify this file -- YOUR CHANGES WILL BE ERASED! | ||
3 | -# | ||
4 | -# This file must *NOT* be checked into Version Control Systems, | ||
5 | -# as it contains information specific to your local configuration. | ||
6 | - | ||
7 | -# location of the SDK. This is only used by Ant | ||
8 | -# For customization when using a Version Control System, please read the | ||
9 | -# header note. | ||
10 | -sdk.dir=D:\\android\\sdk |
No preview for this file type
1 | -# This file is automatically generated by Android Tools. | ||
2 | -# Do not modify this file -- YOUR CHANGES WILL BE ERASED! | ||
3 | -# | ||
4 | -# This file must be checked in Version Control Systems. | ||
5 | -# | ||
6 | -# To customize properties used by the Ant build system edit | ||
7 | -# "ant.properties", and override values to adapt the script to your | ||
8 | -# project structure. | ||
9 | -# | ||
10 | -# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): | ||
11 | -#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt | ||
12 | - | ||
13 | -# Project target. | ||
14 | -target=android-20 |

5.71 KB

6.39 KB

5.59 KB

5.72 KB
1 | -<?xml version="1.0" encoding="utf-8"?> | ||
2 | -<selector xmlns:android="http://schemas.android.com/apk/res/android" > | ||
3 | - <item android:drawable="@drawable/public_sdk_self_demo_btn_main_s" android:state_selected="true"/> | ||
4 | - <item android:drawable="@drawable/public_sdk_self_demo_btn_main_s" android:state_pressed="true"/> | ||
5 | - <item android:drawable="@drawable/public_sdk_self_demo_btn_main_n"/> | ||
6 | -</selector> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | -<?xml version="1.0" encoding="utf-8"?> | ||
2 | -<selector xmlns:android="http://schemas.android.com/apk/res/android" > | ||
3 | - <item android:drawable="@drawable/public_sdk_self_demo_btn_login_s" android:state_selected="true"/> | ||
4 | - <item android:drawable="@drawable/public_sdk_self_demo_btn_login_s" android:state_pressed="true"/> | ||
5 | - <item android:drawable="@drawable/public_sdk_self_demo_btn_login_n"/> | ||
6 | -</selector> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | -<?xml version="1.0" encoding="utf-8"?> | ||
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
3 | - android:layout_width="match_parent" | ||
4 | - android:layout_height="match_parent" | ||
5 | - android:background="@drawable/public_sdk_self_demo_main" > | ||
6 | - | ||
7 | - <Button | ||
8 | - android:id="@+id/ya_channel_center" | ||
9 | - android:layout_width="180dp" | ||
10 | - android:layout_height="60dp" | ||
11 | - android:layout_alignParentRight="true" | ||
12 | - android:layout_alignTop="@+id/ya_pay_bt" | ||
13 | - android:background="@drawable/public_sdk_self_ya_bt_selector" | ||
14 | - android:onClick="yaOnClick"/> | ||
15 | - | ||
16 | - <Button | ||
17 | - android:id="@+id/ya_switch_account_bt" | ||
18 | - android:layout_width="180dp" | ||
19 | - android:layout_height="60dp" | ||
20 | - android:layout_alignParentRight="true" | ||
21 | - android:layout_alignTop="@+id/ya_submit_role_data_bt" | ||
22 | - android:background="@drawable/public_sdk_self_ya_bt_selector" | ||
23 | - android:onClick="yaOnClick" /> | ||
24 | - | ||
25 | - <Button | ||
26 | - android:id="@+id/ya_submit_role_data_bt" | ||
27 | - android:layout_width="180dp" | ||
28 | - android:layout_height="60dp" | ||
29 | - android:layout_alignParentBottom="true" | ||
30 | - android:layout_alignParentLeft="true" | ||
31 | - android:background="@drawable/public_sdk_self_ya_bt_selector" | ||
32 | - android:onClick="yaOnClick" /> | ||
33 | - | ||
34 | - <Button | ||
35 | - android:id="@+id/ya_pay_bt" | ||
36 | - android:layout_width="180dp" | ||
37 | - android:layout_height="60dp" | ||
38 | - android:layout_alignParentLeft="true" | ||
39 | - android:layout_alignParentTop="true" | ||
40 | - android:background="@drawable/public_sdk_self_ya_bt_selector" | ||
41 | - android:onClick="yaOnClick" /> | ||
42 | - | ||
43 | - | ||
44 | - <Button | ||
45 | - android:id="@+id/logout_bt" | ||
46 | - android:layout_width="180dp" | ||
47 | - android:layout_height="60dp" | ||
48 | - android:layout_alignParentLeft="true" | ||
49 | - android:layout_centerVertical="true" | ||
50 | - android:background="@drawable/public_sdk_self_ya_bt_selector" | ||
51 | - android:onClick="yaOnClick" | ||
52 | - android:text="注销" | ||
53 | - android:textColor="@android:color/black" | ||
54 | - /> | ||
55 | - | ||
56 | - <Button | ||
57 | - android:id="@+id/forum_bt" | ||
58 | - android:layout_width="180dp" | ||
59 | - android:layout_height="60dp" | ||
60 | - android:layout_alignParentRight="true" | ||
61 | - android:layout_centerVertical="true" | ||
62 | - android:background="@drawable/public_sdk_self_ya_bt_selector" | ||
63 | - android:onClick="yaOnClick" | ||
64 | - android:text="论坛" | ||
65 | - android:textColor="@android:color/black" | ||
66 | - /> | ||
67 | - | ||
68 | -</RelativeLayout> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | -<?xml version="1.0" encoding="utf-8"?> | ||
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
3 | - android:layout_width="match_parent" | ||
4 | - android:background="@drawable/public_sdk_self_sdk_login_bg" | ||
5 | - android:layout_height="match_parent" > | ||
6 | - | ||
7 | - <Button | ||
8 | - android:id="@+id/ya_login_bt" | ||
9 | - android:layout_width="wrap_content" | ||
10 | - android:layout_height="wrap_content" | ||
11 | - android:layout_alignParentRight="true" | ||
12 | - android:layout_alignParentTop="true" | ||
13 | - android:layout_marginRight="28dp" | ||
14 | - android:layout_marginTop="21dp" | ||
15 | - android:background="@drawable/public_sdk_self_ya_login_bt_selector" | ||
16 | - android:onClick="yaOnClick" /> | ||
17 | - | ||
18 | - <Button | ||
19 | - android:id="@+id/ya_enter_game_bt" | ||
20 | - android:layout_width="wrap_content" | ||
21 | - android:layout_height="wrap_content" | ||
22 | - android:layout_alignLeft="@+id/ya_login_bt" | ||
23 | - android:layout_below="@+id/ya_login_bt" | ||
24 | - android:layout_marginTop="28dp" | ||
25 | - android:background="@drawable/public_sdk_self_ya_login_bt_selector" | ||
26 | - android:onClick="yaOnClick"/> | ||
27 | - | ||
28 | -</RelativeLayout> |
demo/app/.gitignore
0 → 100644
1 | +/build |
demo/app/build.gradle
0 → 100644
1 | +apply plugin: 'com.android.application' | ||
2 | + | ||
3 | +android { | ||
4 | + compileSdkVersion 29 | ||
5 | + buildToolsVersion '29.0.2' | ||
6 | + defaultConfig { | ||
7 | + applicationId "com.haibaojuhe.demo" | ||
8 | + targetSdkVersion 27 | ||
9 | + versionCode 1 | ||
10 | + versionName "1.0" | ||
11 | + } | ||
12 | + buildTypes { | ||
13 | + release { | ||
14 | + minifyEnabled false | ||
15 | + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' | ||
16 | + } | ||
17 | + } | ||
18 | +} | ||
19 | + | ||
20 | +dependencies { | ||
21 | + implementation fileTree(include: ['*.jar', '*.aar'], dir: 'libs') | ||
22 | +} |
No preview for this file type
demo/app/libs/YouYuSDK_190805.jar
0 → 100644
No preview for this file type
demo/app/libs/android-support-v4.jar
0 → 100644
No preview for this file type
demo/app/libs/haibao_juhe.jar
0 → 100644
No preview for this file type
demo/app/libs/miit_mdid_1.0.10.aar
0 → 100644
No preview for this file type
No preview for this file type
1 | -# To enable ProGuard in your project, edit project.properties | ||
2 | -# to define the proguard.config property as described in that file. | ||
3 | -# | ||
4 | # Add project specific ProGuard rules here. | 1 | # Add project specific ProGuard rules here. |
5 | -# By default, the flags in this file are appended to flags specified | 2 | +# You can control the set of applied configuration files using the |
6 | -# in ${sdk.dir}/tools/proguard/proguard-android.txt | 3 | +# proguardFiles setting in build.gradle. |
7 | -# You can edit the include path and order by changing the ProGuard | ||
8 | -# include property in project.properties. | ||
9 | # | 4 | # |
10 | # For more details, see | 5 | # For more details, see |
11 | # http://developer.android.com/guide/developing/tools/proguard.html | 6 | # http://developer.android.com/guide/developing/tools/proguard.html |
12 | 7 | ||
13 | -# Add any project specific keep options here: | ||
14 | - | ||
15 | # If your project uses WebView with JS, uncomment the following | 8 | # If your project uses WebView with JS, uncomment the following |
16 | # and specify the fully qualified class name to the JavaScript interface | 9 | # and specify the fully qualified class name to the JavaScript interface |
17 | # class: | 10 | # class: |
18 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { | 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { |
19 | # public *; | 12 | # public *; |
20 | #} | 13 | #} |
14 | + | ||
15 | +# Uncomment this to preserve the line number information for | ||
16 | +# debugging stack traces. | ||
17 | +#-keepattributes SourceFile,LineNumberTable | ||
18 | + | ||
19 | +# If you keep the line number information, uncomment this to | ||
20 | +# hide the original source file name. | ||
21 | +#-renamesourcefileattribute SourceFile | ... | ... |
1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" | 2 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
3 | - package="com.yaxd.haibao.sdk.demo" | 3 | + package="com.youai.demo.poolsdk"> |
4 | - android:versionCode="1" | ||
5 | - android:versionName="1.0" > | ||
6 | - | ||
7 | - <uses-sdk | ||
8 | - android:minSdkVersion="8" | ||
9 | - android:targetSdkVersion="20" /> | ||
10 | 4 | ||
11 | <!-- SDK start --> | 5 | <!-- SDK start --> |
12 | <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> | 6 | <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> |
... | @@ -24,7 +18,6 @@ | ... | @@ -24,7 +18,6 @@ |
24 | <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" /> | 18 | <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" /> |
25 | <uses-permission android:name="org.simalliance.openmobileapi.SMARTCARD" /> | 19 | <uses-permission android:name="org.simalliance.openmobileapi.SMARTCARD" /> |
26 | <uses-permission android:name="android.permission.NFC" /> | 20 | <uses-permission android:name="android.permission.NFC" /> |
27 | - | ||
28 | <uses-feature android:name="android.hardware.nfc.hce" /> | 21 | <uses-feature android:name="android.hardware.nfc.hce" /> |
29 | <!-- SDK end --> | 22 | <!-- SDK end --> |
30 | 23 | ||
... | @@ -37,7 +30,7 @@ | ... | @@ -37,7 +30,7 @@ |
37 | android:name="com.youai.foolsdk.demo.AppActivity" | 30 | android:name="com.youai.foolsdk.demo.AppActivity" |
38 | android:configChanges="keyboardHidden|orientation|screenSize" | 31 | android:configChanges="keyboardHidden|orientation|screenSize" |
39 | android:label="@string/app_name" | 32 | android:label="@string/app_name" |
40 | - android:screenOrientation="landscape" | 33 | + android:screenOrientation="portrait" |
41 | android:theme="@android:style/Theme.NoTitleBar.Fullscreen" > | 34 | android:theme="@android:style/Theme.NoTitleBar.Fullscreen" > |
42 | <intent-filter> | 35 | <intent-filter> |
43 | <action android:name="android.intent.action.MAIN" /> | 36 | <action android:name="android.intent.action.MAIN" /> |
... | @@ -46,7 +39,9 @@ | ... | @@ -46,7 +39,9 @@ |
46 | </intent-filter> | 39 | </intent-filter> |
47 | </activity> | 40 | </activity> |
48 | <!-- SDK start --> | 41 | <!-- SDK start --> |
49 | - <receiver android:name="com.yaxd.haibao.sdk.framework.AppInstallReceiver" > | 42 | + <receiver |
43 | + android:name="com.yaxd.haibao.sdk.framework.AppInstallReceiver" | ||
44 | + android:label="@string/app_name" > | ||
50 | <intent-filter> | 45 | <intent-filter> |
51 | <action android:name="android.intent.action.PACKAGE_ADDED" /> | 46 | <action android:name="android.intent.action.PACKAGE_ADDED" /> |
52 | <action android:name="android.intent.action.PACKAGE_REPLACED" /> | 47 | <action android:name="android.intent.action.PACKAGE_REPLACED" /> |
... | @@ -69,14 +64,6 @@ | ... | @@ -69,14 +64,6 @@ |
69 | <action android:name="com.youai.sdk.YouaiService" /> | 64 | <action android:name="com.youai.sdk.YouaiService" /> |
70 | </intent-filter> | 65 | </intent-filter> |
71 | </service> | 66 | </service> |
72 | - <service | ||
73 | - android:name="com.youai.sdk.FloatViewService" | ||
74 | - android:enabled="true" | ||
75 | - android:exported="true" > | ||
76 | - <intent-filter> | ||
77 | - <action android:name="com.youai.sdk.FloatViewService" /> | ||
78 | - </intent-filter> | ||
79 | - </service> | ||
80 | 67 | ||
81 | <receiver android:name="com.youai.sdk.Receiver" > | 68 | <receiver android:name="com.youai.sdk.Receiver" > |
82 | <intent-filter> | 69 | <intent-filter> |
... | @@ -96,14 +83,6 @@ | ... | @@ -96,14 +83,6 @@ |
96 | android:configChanges="keyboardHidden|navigation|orientation" | 83 | android:configChanges="keyboardHidden|navigation|orientation" |
97 | android:exported="false" | 84 | android:exported="false" |
98 | android:screenOrientation="behind" /> | 85 | android:screenOrientation="behind" /> |
99 | - <activity | ||
100 | - android:name=".wxapi.WXPayEntryActivity" | ||
101 | - android:exported="true" | ||
102 | - android:launchMode="singleTop" /> | ||
103 | - <activity | ||
104 | - android:name=".wxapi.WXEntryActivity" | ||
105 | - android:exported="true" | ||
106 | - android:launchMode="singleTop" /> | ||
107 | <!-- SDK end --> | 86 | <!-- SDK end --> |
108 | </application> | 87 | </application> |
109 | 88 | ... | ... |
... | @@ -2,8 +2,8 @@ | ... | @@ -2,8 +2,8 @@ |
2 | <config> | 2 | <config> |
3 | 3 | ||
4 | <sdkconfig | 4 | <sdkconfig |
5 | - YA_APPID="5b96123bf0d7705a6107ef47" | 5 | + YA_APPID="5a9e59a6f0d7706952ebe735" |
6 | - YA_APPKEY="c3fd1c45163b357e976d17e9c4f43aa6" | 6 | + YA_APPKEY="2cdc96b8bdc7c381174dcd46307bb0dc" |
7 | 7 | ||
8 | 8 | ||
9 | gamesimplename="testest" | 9 | gamesimplename="testest" | ... | ... |
demo/app/src/main/assets/sdk.zip
0 → 100644
No preview for this file type
demo/app/src/main/assets/sdk/.project
0 → 100644
1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
2 | +<projectDescription> | ||
3 | + <name>sdk_3</name> | ||
4 | + <comment></comment> | ||
5 | + <projects> | ||
6 | + </projects> | ||
7 | + <buildSpec> | ||
8 | + <buildCommand> | ||
9 | + <name>com.aptana.editor.php.aptanaPhpBuilder</name> | ||
10 | + <arguments> | ||
11 | + </arguments> | ||
12 | + </buildCommand> | ||
13 | + <buildCommand> | ||
14 | + <name>com.aptana.ide.core.unifiedBuilder</name> | ||
15 | + <arguments> | ||
16 | + </arguments> | ||
17 | + </buildCommand> | ||
18 | + </buildSpec> | ||
19 | + <natures> | ||
20 | + <nature>com.aptana.projects.webnature</nature> | ||
21 | + <nature>com.aptana.editor.php.phpNature</nature> | ||
22 | + </natures> | ||
23 | + <filteredResources> | ||
24 | + <filter> | ||
25 | + <id>1489975865951</id> | ||
26 | + <name></name> | ||
27 | + <type>26</type> | ||
28 | + <matcher> | ||
29 | + <id>org.eclipse.ui.ide.multiFilter</id> | ||
30 | + <arguments>1.0-name-matches-false-false-node_modules</arguments> | ||
31 | + </matcher> | ||
32 | + </filter> | ||
33 | + </filteredResources> | ||
34 | +</projectDescription> |
demo/app/src/main/assets/sdk/agreement.html
0 → 100644
1 | +<!DOCTYPE html> | ||
2 | +<html> | ||
3 | + | ||
4 | + <head> | ||
5 | + <meta name="viewport" content="width=device-width, user-scalable=no" /> | ||
6 | + <meta name="apple-mobile-web-app-capable" content="yes" /> | ||
7 | + <meta name="apple-mobile-web-app-status-bar-style" content="black" /> | ||
8 | + <meta http-equiv="Content-type" content="text/html; charset=utf-8" /> | ||
9 | + <meta name="format-detection" content="telephone=no"> | ||
10 | + <meta name="screen-orientation" content="portrait"> | ||
11 | + <meta name="full-screen" content="yes"> | ||
12 | + <meta http-equiv="x-ua-compatible" content="IE=edge" /> | ||
13 | + <title> | ||
14 | + 手游平台支付 | ||
15 | + </title> | ||
16 | + <style> | ||
17 | + h4,p{font-size: 24px; | ||
18 | + font-weight: normal; | ||
19 | + padding: 0 20px;font-family: "微软雅黑"; width: 100%;} | ||
20 | + p{ text-indent: 2em;} | ||
21 | + </style> | ||
22 | + </head> | ||
23 | + | ||
24 | + <body> | ||
25 | + <div class="mask"></div> | ||
26 | + <div class="horizontal" style="height: 220px;"> | ||
27 | + <h4>【重要提示】</h4> | ||
28 | + <p>一、《海豹网络服务协议》(以下简称“本协议”)由您与海豹手游平台服务提供方共同缔结,本协议具有合同效力。海豹账号由广州游爱兄弟信息技术有限公司(以下简称“游爱兄弟”)及其关联公司所有并合法运营,游爱兄弟及其关联公司在本用户服务协议的条款和要求下提供服务。</p> | ||
29 | + <p>二、请用户在使用海豹手游平台服务之前必须仔细慎重阅读、充分理解各条款内容,尤其是免除或者限制游爱兄弟责任的条款(以下称“免责条款”)、对用户权利进行限制的条款(以下称“限制条款”)、约定争议解决方式和司法管辖的条款。前述免责、限制及争议解决方式和管辖条款可能以黑体加粗、颜色标记或其他合理方式提醒用户注意,请在确认同意本协议之前或在使用海豹手游平台服务之前再次阅读前述条款。双方确认前述条款并非属于《合同法》第40条规定的“免除其责任、加重对方责任、排除对方主要权利的”的条款,并同意该条款的合法性及有效性。</p> | ||
30 | + <p>三、除非您已阅读并接受本协议所有条款,否则您无权使用游爱兄弟提供的服务。您点击同意、接受或下一步,或您注册、使用海豹手游平台服务均视为您已阅读并同意签署本协议。</p> | ||
31 | + <p>四、游爱兄弟有权随时对服务条款进行修改,所有修改的协议均构成本服务协议的一部分。一旦发生服务条款的变动,游爱兄弟将公示修改的内容;当您再使用海豹账号的任何服务时,应接受海豹平台随时提供的与该服务相关的规则或说明,并且此规则或说明均构成本服务条款的一部分。如果您不同意服务条款的修改,请取消已经获得的服务;如果您继续享用服务,则视为您已经接受修改后的服务条款。</p> | ||
32 | + <p>五、如果您未满18周岁,请在法定监护人的陪同下阅读本协议,并在取得监护人对您使用海豹手游平台服务、支付费用的行为,以及对本协议全部条款的同意之后,才可使用海豹手游平台服务。</p> | ||
33 | + <p>六、 游爱兄弟运用自己的操作系统通过国际互联网向用户提供丰富的网上资源,包括网盘、书签、邮箱、皮肤、微博、空间、游戏、论坛、SNS社区和实时定位、好友识别等其它个性化服务(以下简称本服务)。除非另有明确规定,基于增强或强化目前服务目的所新增的任何新功能、服务、新产品,均无条件地适用本服务条款。</p> | ||
34 | + <h4>【释义】</h4> | ||
35 | + <p>您:又称“玩家”或“用户”,指被授权使用游爱兄弟游戏及其服务的自然人。</p> | ||
36 | + <p>游爱兄弟:指广州游爱兄弟信息技术有限公司及其关联公司。</p> | ||
37 | + <p>本服务:包括游戏服务以及游爱兄弟运用自己的操作系统通过国际互联网向用户提供丰富的网上资源,包括网盘、书签、邮箱、皮肤、微博、空间、游戏、论坛、SNS社区和实时定位、好友识别等其它个性化服务。</p> | ||
38 | + <p>游戏数据:指您在使用游爱兄弟游戏过程中产生的被服务器记录的各种数据,包括但不限于角色数据、虚拟物品数据、行为日志、购买日志等等数据。</p> | ||
39 | + <h4>1.账号注册、使用与保管</h4> | ||
40 | + <p>1.1按照文化部《网络游戏管理暂行办法》及《网络游戏服务格式化协议必备条款》的相关规定,用户接受游爱兄弟服务时,应进行实名注册。您进行实名注册时,应提供有关您本人真实、合法、准确、有效的身份信息及其他相关信息,且不得以他人身份资料进行实名注册。</p> | ||
41 | + <p>1.2游爱兄弟有权审查用户注册所提供的身份信息是否真实、有效。若用户提供任何虚假、错误、不实、过时或不完整的资料,或者游爱兄弟有合理理由怀疑前述资料为虚假、错误、不实、过时或不完整,游爱兄弟应当采取包括但不限于暂停或终止用户的账号,并拒绝其现在或将来使用全部或部分本服务等措施,因此造成的一切后果由用户自行承担。</p> | ||
42 | + <p>1.3用户以真实身份注册后,有合理、合法的理由需要修改所提供的个人身份资料信息的,游爱兄弟将在审核同意后为用户提供该项服务。</p> | ||
43 | + <p>1.4游爱兄弟应积极地采取技术与管理等合理措施保障用户账号的安全、有效;用户有义务妥善保管其账号及密码,并正确、安全地使用其账号及密码。任何一方未尽上述义务导致账号密码遗失、账号被盗等情形而给另一方和其他第三方的合法权益造成损害的,应当承担由此产生的法律责任。用户在每次连线结束,应结束账号使用,否则用户可能得不到海豹账号的安全保护。</p> | ||
44 | + <p>1.5用户对登录后所持账号产生的行为依法享有权利和承担责任。 | ||
45 | +用户发现其账号或密码被他人非法使用或有使用异常的情况的,应及时联系游爱兄弟,请求游爱兄弟采取有效措施。游爱兄弟收到您的有效请求并核实身份后,会根据您的要求或结合具体情况采取相应措施(包括但不限于暂停该账号的登录和使用等),游爱兄弟因根据您的请求采取相应措施而造成您及其他用户损失的,由您自行承担。游爱兄弟根据用户的通知采取措施暂停用户账号的登录和使用的,游爱兄弟应当要求用户提供并核实与其注册身份信息相一致的个人有效身份信息,否则不予办理。</p> | ||
46 | + <p>1.6 游爱兄弟禁止用户交易海豹账号,游爱兄弟有权收回用户交易的海豹账号。如果因用户交易海豹账号引起的任何纠纷,游爱兄弟不承担任何责任。</p> | ||
47 | + <p>1.7用户不得将游戏账号以任何方式提供给他人使用,否则,因此产生任何法律后果及责任均由您自行承担,且游爱兄弟有权对您的游戏账号采取包括但不限于警告、限制或禁止使用游戏账号全部或部分功能、删除游戏账号及游戏数据及其他相关信息、封号直至注销的处理措施。因此造成的一切后果由您自行承担。</p> | ||
48 | + <p>1.8为高效利用服务器资源,用户于一年内未登录或使用的账号,游爱兄弟有权(但无义务)对该账号及其账号下的游戏数据及相关信息采取删除等处置措施。</p> | ||
49 | + <h4>2.用户信息保护与收集</h4> | ||
50 | + <p>2.1游爱兄弟在获得用户提供与其个人身份有关的信息资料后,应当采取必要措施保护用户的个人信息资料的安全。未经用户许可游爱兄弟不得向任何第三方提供、公开或共享用户注册资料中的姓名、个人有效身份证件号码、联系方式、家庭住址等个人身份信息,但下列情况除外:</p> | ||
51 | + <p>(1)用户或用户监护人授权或要求游爱兄弟披露;</p> | ||
52 | + <p>(2)游爱兄弟应有关法律法规要求披露;</p> | ||
53 | + <p>(3)游爱兄弟应司法机关或行政机关要求,基于法定程序需要提供;</p> | ||
54 | + <p>(4)游爱兄弟为了维护自己合法权益而向用户提起诉讼或者仲裁;</p> | ||
55 | + <p>(5)维护社会个体和公众的安全和社会公共利益的需要。</p> | ||
56 | + <p>2.2除前述个人信息资料之外,您同意并授权游爱兄弟基于行政、司法机关的要求或安全、用户体验优化等考虑而收集您的其他必要信息,但游爱兄弟仅可为履行本协议之目的收集与利用该等信息。</p> | ||
57 | + <p>2.3 您应对通过游爱兄弟及相关服务了解、接收或可接触到的包括但不限于其他用户在内的任何人的个人信息予以充分尊重。您不应以搜集、复制、存储、传播或以其他任何方式使用其他用户的个人信息,否则,由此产生的后果由您自行承担。</p> | ||
58 | + <h4>3. 游爱兄弟的义务与权利</h4> | ||
59 | + <p>3.1游爱兄弟同意通过互联网络,根据本协议约定,为用户提供游戏服务及其相关辅助服务。</p> | ||
60 | + <p>3.2游爱兄弟应保存游戏虚拟货币的充值记录,保存期限为自用户充值之日起180日。</p> | ||
61 | + <p>3.3游爱兄弟有权自行决定终止运营游爱兄弟的游戏,或因其他任何原因终止运营,届时游爱兄弟将会按照文化部有关网络游戏终止运营的相关规定处理游戏终止运营相关事宜,以保障用户合法权益。</p> | ||
62 | + <p>3.4在您违反本协议约定的情况下,游爱兄弟有权采取相应的措施进行处理,该措施包括但不限于:不经通知随时对相关内容进行删除,并视行为情节对违规游戏账号处以包括但不限于警告、限制或禁止使用全部或部分功能、游戏账号封禁直至注销的处罚,并公告处理结果,要求您赔偿因您从事违约行为而给游爱兄弟造成的损失等。</p> | ||
63 | + <p>3.5为更好地向您提供服务,游爱兄弟有权对游戏中的任何内容或构成元素等作出调整、更新或优化(包括但不限于您购买或正在使用的角色、游戏装备及其他游戏道具的美术设计、性能及相关数值设置等作出调整、更新或优化等)。且如游爱兄弟做出相应调整、更新或优化的,您同意不会因此追究游爱兄弟的任何法律责任。</p> | ||
64 | + <h4>4.用户行为规则</h4> | ||
65 | + <p>4.1您在使用游爱兄弟游戏服务时须遵守法律法规和社会的公序良俗,不得利用游爱兄弟游戏服务从事违法违规行为,不得侵犯任何主体的合法权益和社会公共利益,或做出其他违背社会道德的行为。包括但不限于以下行为:</p> | ||
66 | + <p>(1)违反宪法确定的基本原则的;</p> | ||
67 | + <p>(2)危害国家统一、主权和领土完整的;</p> | ||
68 | + <p>(3)泄露国家秘密、危害国家安全或者损害国家荣誉和利益的;</p> | ||
69 | + <p>(4)煽动民族仇恨、民族歧视,破坏民族团结,或者侵害民族风俗、习惯的;</p> | ||
70 | + <p>(5)宣扬邪教、迷信的;</p> | ||
71 | + <p>(6)散布谣言,扰乱社会秩序,破坏社会稳定的;</p> | ||
72 | + <p>(7)宣扬淫秽、色情、赌博、暴力,或者教唆犯罪的;</p> | ||
73 | + <p>(8)侮辱、诽谤他人,侵害他人合法权益的;</p> | ||
74 | + <p>(9)违背社会公德的;</p> | ||
75 | + <p>(10)有法律、行政法规和国家规定禁止的其他内容的;</p> | ||
76 | + <p>(11)以任何方式危害未成年人;</p> | ||
77 | + <p>(12)跟踪或以其他方式骚扰他人;</p> | ||
78 | + <p>(13)冒充任何人或机构,或以虚伪不实的方式谎称或使人误认为与任何人或任何机构有关;</p> | ||
79 | + <p>(14)上载、张贴、发送电子邮件或以其他方式传送广告函件、促销资料、垃圾邮件等。</p> | ||
80 | + <p>(15)其他被游爱兄弟视为不适当的行为。</p> | ||
81 | + <p>4.2游爱兄弟有权对用户上载、张贴、发送的内容进行审核,有任何违反法律法规或本协议有关规定的内容,游爱兄弟有权立即将其删除或屏蔽,且不需要对用户另行通知。</p> | ||
82 | + <p>4.3 海豹账号封号规则</p> | ||
83 | + <p>(1)无视国家规定,在姓名、游戏角色名等地方中使用违规词语或不文明词语、非法字符处罚规则:视情节轻重给予时限性冻结账号的处罚;情节严重者,给予永久冻结的处罚。</p> | ||
84 | + <p>(2)涉及到侵入、拦截、破坏、复制、修改游戏程序,以及宣扬、叫卖和使用各种辅助性程序或恶性非法程序,即使用外挂程序、或在游戏中宣传外挂程序的行为。</p> | ||
85 | + <p>处罚规则:视情节轻重给予时限性冻结账号的处罚;情节严重者,给予永久冻结的处罚。</p> | ||
86 | + <p>(3)以任何弄虚作假的形式来蒙蔽或者欺骗其他用户,如发布模仿官方并带有病毒的网站、非官方中奖信息、非法广告、游戏代码、木马、外挂、病毒、色情信息、垃圾广告等信息处罚规则:视情节轻重给予时限性冻结账号的处罚;情节严重者,给予永久冻结的处罚。</p> | ||
87 | + <p>(4)通过海豹账号发布非法网站,宣传或使用私服、游戏代码、木马、外挂、病毒、色情信息、垃圾广告、非法广告等信息</p> | ||
88 | + <p>处罚规则:视情节轻重给予时限性冻结账号的处罚;情节严重者,给予永久冻结的处罚。</p> | ||
89 | + <p>(5)通过海豹账号发布触犯政府法令的文字如:煽动、反动、猥亵、暴力、种族歧视、宗教歧视等字眼,包含这类相关字的反向书写。 | ||
90 | +处罚规则:视情节轻重给予时限性冻结账号的处罚;情节严重者,给予永久冻结的处罚,并上报相关部门追究其法律责任。</p> | ||
91 | + <p>(6)宣传或贩卖BUG、攻击服务器运行、牟取个人利益、影响游戏公平性,以及影响其他玩家正常进行游戏等行为</p> | ||
92 | + <p>处罚规则:查证核实后,将暂停账号,并清除所有非法物品;视情节轻重给予时限性冻结账号的处罚;情节严重者,给予永久冻结的处罚。</p> | ||
93 | + <p>(7)盗取或参与盗取他人账号,给被盗者造成严重损失的行为</p> | ||
94 | + <p>处罚规则:查证核实后,视情节轻重给予时限性冻结账号的处罚;情节严重者,给予永久冻结的处罚,并上报相关部门追究其法律责任。</p> | ||
95 | + <p>(8)侮辱、毁谤、猥亵、威胁、辱骂其他用户,扭曲事实、恶意散布不实谣言,恶意影响游戏环境等行为</p> | ||
96 | + <p>处罚规则:视情节轻重给予时限性冻结账号的处罚;情节严重者,给予永久冻结的处罚。</p> | ||
97 | + <p>4.4电子公告栏的张贴内容</p> | ||
98 | + <p>(1) “电子公告栏”包括空间、论坛、SNS社区和其它一般公众可以使用的区域;</p> | ||
99 | + <p>(2) 用户一旦在本服务电子公告栏上传或张贴内容,即视为用户授予游爱兄弟该内容著作权之免费及非独家、永久的许可使用权,游爱兄弟有权为展示、传播及推广前述内容之目的,对上述内容进行复制、修改、出版。由此展示、传播及推广行为所产生的损失或利润,均由游爱兄弟承担或享受。游爱兄弟有权自主决定是否给予此类用户鼓励或奖励。</p> | ||
100 | + <p>(3) 因用户进行上述张贴,而导致任何第三方提出索赔要求或衍生的任何损害或损失,用户须承担全部责任。</p> | ||
101 | + <p>(4)非经游爱兄弟事先许可,用户不得对他人上传或张贴在电子公告栏或本服务其他内容进行复制、出售或用作其他商业用途。</p> | ||
102 | + <p>4.5 海豹论坛规则</p> | ||
103 | + <p>(1) 关于用户名和昵称</p> | ||
104 | + <p>不得使用党和国家领导人或其他知名人士的真实姓名、字号、艺名、笔名作为用户名和昵称;</p> | ||
105 | + <p>不得使用国家机构或其他机构的名称作为用户名和昵称;</p> | ||
106 | + <p>不得使用和其他网友之名相近、相仿的用户名和昵称;</p> | ||
107 | + <p>不得使用不文明、不健康,或带攻击性、侮辱性的用户名和昵称;</p> | ||
108 | + <p>请勿使用易产生歧义、引起他人误解的用户名和昵称;</p> | ||
109 | + <p>不得使用各种奇形怪状的符号作为用户名和昵称;</p> | ||
110 | + <p>对于违反规定或产生不良后果的用户名和昵称,本站有权删除而不必事先通知。</p> | ||
111 | + <p>(2) 关于签名</p> | ||
112 | + <p>不得出现宣扬反动、封建迷信、淫秽、色情、赌博、暴力、凶杀、恐怖、教唆犯罪等不符合国家法律规定的以及任何包含种族、性别、宗教歧视性和猥亵性的信息内容;</p> | ||
113 | + <p>不得出现有侮辱性言语、挑衅、辱骂其他人以及不健康内容;</p> | ||
114 | + <p>不得出现广告性质的内容以及本公司以外其他网站的链接;</p> | ||
115 | + <p>游爱兄弟有权在不需要通知和解释的情况下除去违反以上规定的签名内容,并对情节严重者予以封号处理。</p> | ||
116 | + <p>(3)关于发贴内容</p> | ||
117 | + <p>遵守相关法规,严禁发表违反法律法规及社会主义道德规定的内容;</p> | ||
118 | + <p>使用文明用语,不得张贴对任何人进行人身攻击、谩骂、诋毁的言论;</p> | ||
119 | + <p>不得张贴未经公开报道、未经证实的消息;</p> | ||
120 | + <p>不得张贴与所在论坛主题无关的消息、言论和图片;</p> | ||
121 | + <p>未经游爱兄弟同意,不得张贴带有商业性质的内容或任何形式的广告,不得张贴游爱兄弟及其关联公司以外其他网站的链接;</p> | ||
122 | + <p>不得恶意灌水,内容相同的帖子不得一文多发;</p> | ||
123 | + <p>不得在帖子中(标题和内容)加入各种奇形怪状的符号;</p> | ||
124 | + <p>转贴文章应注明原始出处和时间;</p> | ||
125 | + <p>对于违反以上规定的内容,在不需要通知和解释的情况下,游爱兄弟以及版主有权予以删除,并对情节严重者予以封账号处理</p> | ||
126 | + <p>(4)关于贴图</p> | ||
127 | + <p>不得张贴宣扬反动、封建迷信、淫秽、色情、赌博、暴力、凶杀、恐怖、教唆犯罪等不符合国家法律规定的以及任何包含种族、性别、宗教歧视性和猥亵性的图片;</p> | ||
128 | + <p>不得出现带有侮辱性、挑衅、辱骂其他人以及不健康内容的图片; | ||
129 | +请勿使用易产生歧义、引起他人误解的图片;</p> | ||
130 | + <p>摘录、转贴的图片请注明出处及作者,禁止张贴侵犯他人著作权、版权等知识产权的图片;不得张贴与论坛主题无关的图片;</p> | ||
131 | + <p>游爱兄弟有权在不需要通知和解释的情况下删除违反以上规定的图片,并对情节严重者予以封账号处理。</p> | ||
132 | + <p>4.6游戏规则</p> | ||
133 | + <p>(1) 用户应当遵守游戏公约、玩家守则及不时发布的游戏规则、公告等;</p> | ||
134 | + <p>(2)用户不得通过不正当的手段或其他不公平的手段使用海豹账号的游戏产品和服务或参与海豹账号的游戏活动。用户不得干扰游爱兄弟正常地提供产品和服务,包括但不限于:攻击、侵入游爱兄弟的网站服务器或使网站服务器过载;制作、发布、传播、使用任何形式的妨碍游戏公平性的辅助工具或程序(外挂);利用程序的漏洞和错误(Bug)破坏游戏的正常进行或传播该漏洞或错误(Bug);不合理地干扰或阻碍他人使用游爱兄弟所提供的产品和服务。</p> | ||
135 | + <p>(3) 可能因游戏软件BUG、版本更新缺陷、第三方病毒攻击或其他任何因素导致您的游戏角色、游戏道具、游戏装备及游戏币等账号数据发生异常。在数据异常的原因未得到查明前,游爱兄弟有权暂时冻结该游戏账号;若查明数据异常为非正常游戏行为所致,游爱兄弟有权恢复游戏账号数据至异常发生前的原始状态,且无须向您承担任何责任。</p> | ||
136 | + <h4>5.手机特色功能说明</h4> | ||
137 | + <p>5.1 用户明确知道,游爱兄弟提供的实时定位服务将向用户及用户的不特定海豹账号好友提供用户的实时空间位置信息。</p> | ||
138 | + <p>5.2 用户可选择向海豹账号导入手机通讯簿上所对应的好友关系链,但游爱兄弟确保将不导入好友关系链之外的任何信息(包括好友姓名及其他任何相关信息)</p> | ||
139 | + <p>5.3 游爱兄弟将对好友关系链通过不可逆转的方式加密存储,包括海豹账号和您的任何好友都将无法获知您的真实好友关系链和真实手机号码。</p> | ||
140 | + <h4>6.游戏道具、装备、游戏币</h4> | ||
141 | + <p>游戏道具、游戏装备、游戏币等是游爱兄弟游戏服务的一部分,游爱兄弟在此许可您依本协议而获得其使用权。您购买、使用游戏道具、游戏装备、游戏币等应遵循本协议、游戏具体规则的要求;同时,游戏道具、游戏装备、游戏币等可能受到一定有效期限的限制,即使您在规定的有效期内未使用,除可归责于游爱兄弟的原因外,一旦有效期届满,将会自动失效。</p> | ||
142 | + <h4>7.知识产权</h4> | ||
143 | + <p>7.1游爱兄弟是海豹平台上游戏的知识产权权利人。游爱兄弟游戏(包括游爱兄弟游戏整体及游爱兄弟游戏涉及的所有内容、组成部分或构成要素 )的一切著作权、商标权、专利权、商业秘密等知识产权及其他合法权益,以及与游爱兄弟游戏相关的所有信息内容(包括文字、图片、音频、视频、图表、界面设计、版面框架、有关数据或电子文档等)均受中华人民共和国法律法规和相应的国际条约保护,游爱兄弟享有上述知识产权和合法权益,但相关权利人依照法律规定应享有的权利除外。未经游爱兄弟事先书面同意,不得以任何方式将游爱兄弟游戏(包括游爱兄弟游戏整体及游爱兄弟游戏涉及的所有内容、组成部分或构成要素 )进行商业性使用。</p> | ||
144 | + <p>7.2用户在使用游爱兄弟游戏服务中产生的游戏数据的所有权和知识产权归游爱兄弟所有,游爱兄弟有权保存、处置该游戏数据。除本协议另有规定外,对其他游戏数据的保存期限由游爱兄弟自行决定,但国家法律法规另有规定的从其规定。</p> | ||
145 | + <p>7.3 游爱兄弟游戏可能涉及第三方知识产权,而该等第三方对您基于本协议在游爱兄弟游戏中使用该等知识产权有要求的,游爱兄弟将以适当方式向您告知该要求,您应当一并遵守。</p> | ||
146 | + <h4>8.本服务中包含的信息、链接与广告</h4> | ||
147 | + <p>8.1游爱兄弟郑重提请用户注意,任何经由本服务以上载、张贴、发送的资料、文字、照片、图形、视讯、信息、用户的登记资料或其他资料(以下简称“内容”),无论系公开还是私下传送,均由内容提供者承担责任。游爱兄弟无法对用户的全部行为进行全面控制,因此不保证内容的合法性、正确性、完整性、真实性或品质;</p> | ||
148 | + <p>8.2游爱兄弟在游戏官方网站、游戏官方论坛、游戏中所提供的所有链接,可能链接到其他个人、公司或组织的网站,提供该等网站的目的,是便利用户自行搜索或取得相关信息,游爱兄弟对于被链接的个人、公司或组织的网站所提供的产品、服务或信息,不担保其真实性、完整性、实时性或可信度。这些个人、公司或组织与游爱兄弟间不存在任何雇佣、委任、代理、合伙或其他类似的关系。</p> | ||
149 | + <p>8.3游爱兄弟在游戏官方网站、游戏官方论坛、游戏内可能刊登商业广告或其他推广活动信息。这些广告或推广活动信息是由广告商或商业服务提供者提供,并承担相应责任,游爱兄弟仅提供刊登内容的媒介。用户通过该等链接的网站或广告所购买的商品或服务,其交易行为仅存在于用户与该商品或服务的提供者之间,与游爱兄弟无关,游爱兄弟不就用户与该商品或服务的提供者之间所产生的交易行为承担任何法律责任,用户应予以特别留意。</p> | ||
150 | + <p>8.4用户完全理解并同意,若第三方在用户不知情或未经用户同意的前提下,将其文字、图片作品上传于海豹账号空间及由此所产生的任何可能侵害其权益的行为,游爱兄弟均不对任何人承担任何责任。</p> | ||
151 | + | ||
152 | + <h4>9 免责声明</h4> | ||
153 | + <p>9.1 用户经本服务上的广告、展示而购买、取得的任何产品、信息或资料,游爱兄弟不负保证责任。用户自行承担相关风险。</p> | ||
154 | + <p>9.2 游爱兄弟不保证以下事项(包括但不限于):</p> | ||
155 | + <p>本服务不受干扰,及时或不出现错误;</p> | ||
156 | + <p>因为用户个体差异,用户经由本服务取得的任何产品、服务或其他材料符合用户的完全期望。</p> | ||
157 | + <p>9.3用户使用经由本服务下载的或取得的任何资料,其风险自行负担;因该使用而导致用户手机或其他设备系统损坏或资料流失,用户应负完全责任;</p> | ||
158 | + <p>9.4对使用本服务,本服务不能使用或其他第三方的原因而造成用户的利润、商业信誉、资料的损失或其他有形或无形损失,游爱兄弟不承担任何直接、间接、附带、衍生的责任或惩罚性的赔偿。</p> | ||
159 | + <p>9.5游爱兄弟提供的游戏将按照现状提供,用户明确知道游戏中存在已知和未知的漏洞和错误(Bug)。尽管游爱兄弟将尽最大努力解决已知的漏洞和错误(Bug),但用户知道或应该知道游戏中仍可能包含未知的漏洞和错误(Bug)等。用户同意不向游爱兄弟及其关联公司因任何漏洞和错误(Bug)主张任何赔偿。游爱兄弟不提倡虚拟物品之间的交易,并不对该交易中产生的任何问题进行支持和保障。</p> | ||
160 | + | ||
161 | + <h4>10. 服务的中断、中止和终止</h4> | ||
162 | + <p>10.1对用户服务的中止与终止</p> | ||
163 | + <p>(1)用户有发布违法信息、严重违背社会公德、以及其他违反法律禁止性规定的行为,游爱兄弟公司应当立即终止对用户提供服务。</p> | ||
164 | + <p>(2)用户在接受游爱兄弟公司服务时实施不正当行为的,游爱兄弟公司有权终止对用户提供服务。该不正当行为的具体情形应当在本协议中有明确约定或属于游爱兄弟公司事先明确告知的应被终止服务的禁止性行为,否则,游爱兄弟公司不得终止对用户提供服务。</p> | ||
165 | + <p>(3)用户提供虚假注册身份信息,或实施违反本协议的行为,游爱兄弟有权中止对用户提供全部或部分服务;游爱兄弟采取中止措施应当通知用户并告知中止期间,中止期间应该是合理的,中止期间届满游爱兄弟公司应当及时恢复对用户的服务。</p> | ||
166 | + <p>(4)游爱兄弟根据本款(1)、(2)、(3)项的约定中止或终止对用户提供部分或全部服务的,游爱兄弟应负举证责任。</p> | ||
167 | + <p>10.2对游戏服务器运营的中断、中止与终止</p> | ||
168 | + <p>(1)为了游戏服务器的正常运行,游爱兄弟需要定期对游戏服务器进行停机维护或针对突发事件进行紧急停机维护;因上述情况而造成的正常服务中断、中止,请您予以理解,游爱兄弟有义务尽力将中断时间限制在最短时间内。</p> | ||
169 | + <p>发生下列情形之一时,游爱兄弟有权终止或中断游戏服务器所提供之全部或部分服务,对因此而产生的不便或损害,游爱兄弟对用户或第三人均不承担任何责任: ①定期检查或施工,更新软硬件等,游爱兄弟有权暂停服务,但游爱兄弟会尽快完成维护、更新工作; ②游戏服务器遭受损害,无法正常运作; ③突发性的软硬件设备与电子通信设备故障; ④网络提供商线路或其他故障; ⑤在紧急情况之下依照法律的规定或为用户及第三者之人身安全; ⑥第三方原因或其他不可抗力的情形。</p> | ||
170 | + <p>(2)游爱兄弟保留在其认为有必要的情况下,终止或部分终止提供游戏服务的权利,终止前将提前60天予以公告。</p> | ||
171 | + <p>不管由于何种原因终止游爱兄弟服务,用户应采取相应的措施自行处理游戏虚拟物品,包括但不限于注销或停止使用用户帐号、游戏虚拟物品等相关事宜。用户不得因全面终止游爱兄弟游戏服务而要求网游爱兄弟承担除用户已经购买但尚未使用的游戏虚拟货币外任何形式的赔偿或补偿责任,包括但不限于因不再能继续使用用户帐号、游戏虚拟物品等而要求的赔偿。</p> | ||
172 | + | ||
173 | + <h4>11. 通知</h4> | ||
174 | + <p>游爱兄弟向用户发出的通知,可以采用电子邮件、页面公告、常规信件、电话或游爱兄弟认为适合的形式。服务条款的修改或其他事项变更时,游爱兄弟将会以上述形式进行通知。</p> | ||
175 | + | ||
176 | + <h4>12. 全部协议</h4> | ||
177 | + <p>本服务协议和游爱兄弟的其他服务条款构成完整的协议。</p> | ||
178 | + | ||
179 | + <h4>13. 法律的适用和管辖</h4> | ||
180 | + <p>13.1本服务条款的签署地为广东省广州市天河区。</p> | ||
181 | + <p>13.2本服务条款的生效、履行、解释及争议的解决均适用中华人民共和国法律,发生的争议提交广州仲裁委员会裁决。如果本服务协议中某项条款因与中华人民共和国现行法律相抵触而导致无效,将不影响其他部分的效力。</p> | ||
182 | + | ||
183 | + <h4>14. 生效条件</h4> | ||
184 | + <p>本协议自用户注册、访问、浏览及使用海豹账号之时开始生效。</p> | ||
185 | + | ||
186 | + </div> | ||
187 | + <!-- end --> | ||
188 | + <script type="text/javascript" src="js/fastclick.min.1.0.js?20150923001"></script> | ||
189 | + <script type="text/javascript" src="js/zepto.min.js?20150923001"></script> | ||
190 | + <script type="text/javascript"> | ||
191 | + | ||
192 | + window.isGetData = 0; | ||
193 | + $(function() { | ||
194 | + FastClick.attach(document.body); | ||
195 | + }); | ||
196 | + </script> | ||
197 | + <script type="text/javascript" src="js/core.min.js?20150923001" ></script> | ||
198 | + <script type="text/javascript" src="js/simpScroller-min.js"></script> | ||
199 | + <script> | ||
200 | + simpScroller(document.querySelector(".horizontal"), {}); | ||
201 | + </script> | ||
202 | + </body> | ||
203 | + | ||
204 | +</html> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
File moved
No preview for this file type
No preview for this file type
No preview for this file type
... | @@ -150,7 +150,7 @@ function initMatching(){ | ... | @@ -150,7 +150,7 @@ function initMatching(){ |
150 | if(Core.isIos){ | 150 | if(Core.isIos){ |
151 | Core.server = 'https://sdk.uuufish.com'; | 151 | Core.server = 'https://sdk.uuufish.com'; |
152 | }else{ | 152 | }else{ |
153 | - Core.server = 'http://sdk.uuufish.com'; | 153 | + Core.server = 'https://sdk.uuufish.com'; |
154 | } | 154 | } |
155 | 155 | ||
156 | 156 | ... | ... |
File moved
... | @@ -172,6 +172,7 @@ | ... | @@ -172,6 +172,7 @@ |
172 | Core.updateMod('frame'); | 172 | Core.updateMod('frame'); |
173 | return false; | 173 | return false; |
174 | }); | 174 | }); |
175 | + | ||
175 | } | 176 | } |
176 | 177 | ||
177 | Login.prototype.cache = function(n, p) { | 178 | Login.prototype.cache = function(n, p) { |
... | @@ -385,37 +386,31 @@ | ... | @@ -385,37 +386,31 @@ |
385 | }); | 386 | }); |
386 | 387 | ||
387 | 388 | ||
388 | -// that.$c.on('click', '[type=submit],.submit', function(e) { | ||
389 | -// var passWordReg = /^[0-9a-zA-Z]+$/; | ||
390 | -// e.preventDefault(); | ||
391 | -// if(/[A-Z]/.test(that.$c.find("input[name='username']").val())){ | ||
392 | -// Core.showTips("账号不能有大写字母!"); | ||
393 | -// }else if(/[A-Z]/.test(that.$c.find("input[name='password']").val())){ | ||
394 | -// Core.showTips("密码不能有大写字母!"); | ||
395 | -// }else if(that.$c.find("input[name='password']").val().length<6 || that.$c.find("input[name='password']").val().length>16){ | ||
396 | -// Core.showTips("密码长度为6-16位字符!"); | ||
397 | -// }else if(!that.$c.find('.checkbox-2').length>0){ | ||
398 | -// Core.showTips('请同意'+Core.PLATFORM_NAME+'网络协议',1); | ||
399 | -// }else if(!passWordReg.test(that.$c.find("input[name='password']").val())){ | ||
400 | -// Core.showTips('请输入数字字母组成的密码!', true); | ||
401 | -// return false; | ||
402 | -// }else{ | ||
403 | -// //如果是游客的话则调用安卓截屏方法 | ||
404 | -// if (that.$c.find('[name="username"]').val() == that.$c.find('[name="old_usernmae"]').val() && window.android != undefined && window.android.screenShot != undefined ){ | ||
405 | -// window.android.screenShot(); | ||
406 | -// } | ||
407 | -// $(this).attr("disabled",true); | ||
408 | -// $(this).css({"background":"#999"}); | ||
409 | -// $(this).parent("li").css({"background":"#999"}); | ||
410 | -// | ||
411 | -// Core.ajax_do(that.$c.find('.ajax'), that.register_cb, that); | ||
412 | -// } | ||
413 | -// return false; | ||
414 | -// }); | ||
415 | - | ||
416 | that.$c.on('click', '[type=submit],.submit', function(e) { | 389 | that.$c.on('click', '[type=submit],.submit', function(e) { |
390 | + var passWordReg = /^[0-9a-zA-Z]+$/; | ||
417 | e.preventDefault(); | 391 | e.preventDefault(); |
392 | + if(/[A-Z]/.test(that.$c.find("input[name='username']").val())){ | ||
393 | + Core.showTips("账号不能有大写字母!"); | ||
394 | + }else if(/[A-Z]/.test(that.$c.find("input[name='password']").val())){ | ||
395 | + Core.showTips("密码不能有大写字母!"); | ||
396 | + }else if(that.$c.find("input[name='password']").val().length<6 || that.$c.find("input[name='password']").val().length>16){ | ||
397 | + Core.showTips("密码长度为6-16位字符!"); | ||
398 | + }else if(!that.$c.find('.checkbox-2').length>0){ | ||
399 | + Core.showTips('请同意'+Core.PLATFORM_NAME+'网络协议',1); | ||
400 | + }else if(!passWordReg.test(that.$c.find("input[name='password']").val())){ | ||
401 | + Core.showTips('请输入数字字母组成的密码!', true); | ||
402 | + return false; | ||
403 | + }else{ | ||
404 | + //如果是游客的话则调用安卓截屏方法 | ||
405 | + if (that.$c.find('[name="username"]').val() == that.$c.find('[name="old_usernmae"]').val() && window.android != undefined && window.android.screenShot != undefined ){ | ||
406 | + window.android.screenShot(); | ||
407 | + } | ||
408 | + $(this).attr("disabled",true); | ||
409 | + $(this).css({"background":"#999"}); | ||
410 | + $(this).parent("li").css({"background":"#999"}); | ||
411 | + | ||
418 | Core.ajax_do(that.$c.find('.ajax'), that.register_cb, that); | 412 | Core.ajax_do(that.$c.find('.ajax'), that.register_cb, that); |
413 | + } | ||
419 | return false; | 414 | return false; |
420 | }); | 415 | }); |
421 | 416 | ||
... | @@ -430,7 +425,7 @@ | ... | @@ -430,7 +425,7 @@ |
430 | } | 425 | } |
431 | Register.prototype.set_random = function(){ | 426 | Register.prototype.set_random = function(){ |
432 | var that = this; | 427 | var that = this; |
433 | - var random_name = 'yy' + Math.random().toString(36).substr(-2) + new Date().getTime().toString(36).substr(-6) | 428 | + var random_name = 'yy' + Math.random().toString(36).substr(-2) + new Date().getTime().toString(36).substr(-4) |
434 | var random_passwd = Math.random().toString(36).substr(-6) | 429 | var random_passwd = Math.random().toString(36).substr(-6) |
435 | that.$c.find('[name="username"]').val(random_name) | 430 | that.$c.find('[name="username"]').val(random_name) |
436 | that.$c.find('[name="old_usernmae"]').val(random_name) | 431 | that.$c.find('[name="old_usernmae"]').val(random_name) |
... | @@ -450,19 +445,14 @@ | ... | @@ -450,19 +445,14 @@ |
450 | // 显示一个注册成功信息,并跳转到home | 445 | // 显示一个注册成功信息,并跳转到home |
451 | this.cache(); | 446 | this.cache(); |
452 | Core.showTips('成功注册,欢迎使用' + Core.PLATFORM_NAME + '游戏平台'); | 447 | Core.showTips('成功注册,欢迎使用' + Core.PLATFORM_NAME + '游戏平台'); |
453 | - //直接进入游戏 | 448 | + Core.updateMod('home'); |
454 | - Core.finishLogin(); | 449 | + |
455 | -// Core.updateMod('home'); | 450 | + this.$c.find("input#btn-regist").attr('disabled', null); |
456 | -// | 451 | + this.$c.find('.submit').css({"background":"#00beef"}); |
457 | -// this.$c.find("input#btn-regist").attr('disabled', null); | 452 | + this.$c.find('.submit').parent("li").css({"background":"#00beef"}); |
458 | -// this.$c.find('.submit').css({"background":"#00beef"}); | ||
459 | -// this.$c.find('.submit').parent("li").css({"background":"#00beef"}); | ||
460 | } | 453 | } |
461 | Register.prototype.show_after = function() { | 454 | Register.prototype.show_after = function() { |
462 | this.set_random(); | 455 | this.set_random(); |
463 | - Core.hide(); | ||
464 | - Core.showMod("login"); | ||
465 | - this.$c.find("[type=submit],.submit").click(); | ||
466 | } | 456 | } |
467 | Core.registerMod('register', Register); | 457 | Core.registerMod('register', Register); |
468 | 458 | ... | ... |
... | @@ -948,7 +948,7 @@ | ... | @@ -948,7 +948,7 @@ |
948 | } | 948 | } |
949 | IdentityCard.prototype.show_after = function(){ | 949 | IdentityCard.prototype.show_after = function(){ |
950 | if(Core.Data.force_auth == 1){ | 950 | if(Core.Data.force_auth == 1){ |
951 | - $(".js-return-game").attr("href","javascript:Core.finishLogin()"); | 951 | + $(".js-return-game").attr("href","javascript:Core.finishPay()"); |
952 | } | 952 | } |
953 | 953 | ||
954 | } | 954 | } | ... | ... |
File moved
... | @@ -85,7 +85,6 @@ | ... | @@ -85,7 +85,6 @@ |
85 | <ul class="inline-btn login-inline-btn"> | 85 | <ul class="inline-btn login-inline-btn"> |
86 | <li> | 86 | <li> |
87 | <a method="post" class="btn btn_pri_block" href="#register">一键注册</a> | 87 | <a method="post" class="btn btn_pri_block" href="#register">一键注册</a> |
88 | - <!--<a class="btn btn_pri_block" id="fastReg">一键注册</a>--> | ||
89 | 88 | ||
90 | </li> | 89 | </li> |
91 | <li> | 90 | <li> | ... | ... |
File moved
... | @@ -816,8 +816,7 @@ FastClick.attach(document.body); | ... | @@ -816,8 +816,7 @@ FastClick.attach(document.body); |
816 | })(); | 816 | })(); |
817 | $(function(){ | 817 | $(function(){ |
818 | if (Core.isIos) { | 818 | if (Core.isIos) { |
819 | - // $('meta[name="viewport"]').attr('content','width=800,maximum-scale=1,user-scalable=no'); | 819 | + $('meta[name="viewport"]').attr('content','width=800,maximum-scale=1,user-scalable=no'); |
820 | - $('meta[name="viewport"]').attr('content','width=880,maximum-scale=0.6,user-scalable=no'); | ||
821 | } | 820 | } |
822 | }); | 821 | }); |
823 | </script> | 822 | </script> | ... | ... |
File moved
File moved
File moved
File moved
demo/app/src/main/assets/sdk/version.txt
0 → 100644
1 | +20180906 | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
demo/app/src/main/assets/sdkconf.ini
0 → 100644
demo/app/src/main/assets/supplierconfig.json
0 → 100644
1 | package com.youai.foolsdk.demo; | 1 | package com.youai.foolsdk.demo; |
2 | 2 | ||
3 | -import android.app.Activity; | 3 | +import org.json.JSONArray; |
4 | -import android.app.AlertDialog; | 4 | +import org.json.JSONException; |
5 | -import android.content.DialogInterface; | 5 | +import org.json.JSONObject; |
6 | -import android.content.Intent; | ||
7 | -import android.content.res.Configuration; | ||
8 | -import android.os.Bundle; | ||
9 | -import android.util.Log; | ||
10 | -import android.view.KeyEvent; | ||
11 | -import android.view.View; | ||
12 | -import android.view.WindowManager.LayoutParams; | ||
13 | -import android.widget.Button; | ||
14 | 6 | ||
15 | import com.yaxd.haibao.sdk.framework.PoolExitDialogListener; | 7 | import com.yaxd.haibao.sdk.framework.PoolExitDialogListener; |
16 | import com.yaxd.haibao.sdk.framework.PoolExitListener; | 8 | import com.yaxd.haibao.sdk.framework.PoolExitListener; |
9 | +import com.yaxd.haibao.sdk.framework.PoolExpansionListener; | ||
17 | import com.yaxd.haibao.sdk.framework.PoolLoginInfo; | 10 | import com.yaxd.haibao.sdk.framework.PoolLoginInfo; |
18 | import com.yaxd.haibao.sdk.framework.PoolLoginListener; | 11 | import com.yaxd.haibao.sdk.framework.PoolLoginListener; |
19 | import com.yaxd.haibao.sdk.framework.PoolLogoutListener; | 12 | import com.yaxd.haibao.sdk.framework.PoolLogoutListener; |
20 | import com.yaxd.haibao.sdk.framework.PoolPayInfo; | 13 | import com.yaxd.haibao.sdk.framework.PoolPayInfo; |
21 | import com.yaxd.haibao.sdk.framework.PoolPayListener; | 14 | import com.yaxd.haibao.sdk.framework.PoolPayListener; |
15 | +import com.yaxd.haibao.sdk.framework.PoolPayOrderConfirmHandler; | ||
16 | +import com.yaxd.haibao.sdk.framework.PoolReport; | ||
22 | import com.yaxd.haibao.sdk.framework.PoolRoleInfo; | 17 | import com.yaxd.haibao.sdk.framework.PoolRoleInfo; |
23 | import com.yaxd.haibao.sdk.framework.PoolRoleListener; | 18 | import com.yaxd.haibao.sdk.framework.PoolRoleListener; |
24 | import com.yaxd.haibao.sdk.framework.PoolSDKCallBackListener; | 19 | import com.yaxd.haibao.sdk.framework.PoolSDKCallBackListener; |
25 | import com.yaxd.haibao.sdk.framework.PoolSDKCode; | 20 | import com.yaxd.haibao.sdk.framework.PoolSDKCode; |
21 | +import com.yaxd.haibao.sdk.framework.PoolSdkConfig; | ||
26 | import com.yaxd.haibao.sdk.framework.PoolSdkHelper; | 22 | import com.yaxd.haibao.sdk.framework.PoolSdkHelper; |
27 | import com.yaxd.haibao.sdk.framework.PoolSdkLog; | 23 | import com.yaxd.haibao.sdk.framework.PoolSdkLog; |
28 | 24 | ||
29 | -public class AppActivity extends Activity { | 25 | +import android.app.Activity; |
26 | +import android.app.AlertDialog; | ||
27 | +import android.content.DialogInterface; | ||
28 | +import android.content.Intent; | ||
29 | +import android.content.res.Configuration; | ||
30 | +import android.os.Bundle; | ||
31 | +import android.os.Handler; | ||
32 | +import android.view.KeyEvent; | ||
33 | +import android.view.View; | ||
34 | +import android.view.View.OnClickListener; | ||
35 | +import android.view.WindowManager.LayoutParams; | ||
36 | +import android.widget.Button; | ||
37 | +import android.widget.TextView; | ||
38 | + | ||
39 | +public class AppActivity extends Activity implements OnClickListener { | ||
30 | 40 | ||
31 | private Button yaLoginBt; | 41 | private Button yaLoginBt; |
32 | private Button yaEnterGameBt; | 42 | private Button yaEnterGameBt; |
33 | private Button yaPayBt; | 43 | private Button yaPayBt; |
34 | private Button yaSubmitRoleDataBt; | 44 | private Button yaSubmitRoleDataBt; |
35 | private Button yaChannelCenter; | 45 | private Button yaChannelCenter; |
46 | + private Button yaSwitchAccountBt; | ||
36 | private Button yaLogoutBt; | 47 | private Button yaLogoutBt; |
37 | private Button yaForumBt; | 48 | private Button yaForumBt; |
38 | - private Button yaSwitchAccountBt; | 49 | + //新的view |
50 | + private Button btLogin; | ||
51 | + private Button btEnterGame; | ||
52 | + private Button btPay; | ||
53 | + private Button btLogout; | ||
54 | + private Button btSubRoleInfo; | ||
55 | + private Button btOpenChannel; | ||
56 | + private Button btSwitchAcc; | ||
57 | + private Button btOpenBbs; | ||
58 | + | ||
59 | + //提示LOG | ||
60 | + private TextView txMsg,txSdkMsg; | ||
61 | + private Activity mContext; | ||
62 | + private PoolPayListener mPoolPayListener = new PoolPayListener() { | ||
63 | + | ||
64 | + @Override | ||
65 | + public void onPaySuccess(String paramCustom) { | ||
66 | + // TODO Auto-generated method stub | ||
67 | + //[{"orderId":"20180116114151740535D825","state":0,"productId":"1","productName":"金币","amout":0}] | ||
68 | + if(paramCustom == null || paramCustom.length() <= 0) | ||
69 | + { | ||
70 | + PoolSdkLog.logError("paysuccess data error :" + paramCustom); | ||
71 | + return; | ||
72 | + } | ||
73 | + | ||
74 | + try { | ||
75 | + PoolSdkLog.logInfo("paySuccess:" + paramCustom); | ||
76 | + JSONArray jsonArray = new JSONArray(paramCustom); | ||
77 | + StringBuilder orderIds = new StringBuilder(); | ||
78 | + int length = jsonArray.length(); | ||
79 | + for (int i = 0; i < length; i++) { | ||
80 | + JSONObject jb = jsonArray.getJSONObject(i); | ||
81 | + String orderId = jb.getString("orderId"); | ||
82 | + orderIds.append(orderId); | ||
83 | + if(i != length -1) {//最后一项不加分割符 | ||
84 | + orderIds.append(","); | ||
85 | + } | ||
86 | + } | ||
87 | + PoolSdkHelper.paymentSuccess(AppActivity.this, orderIds.toString()); | ||
88 | + } catch (JSONException e) { | ||
89 | + // TODO Auto-generated catch block | ||
90 | + e.printStackTrace(); | ||
91 | + } | ||
92 | + upTx("支付成功回调:" + paramCustom); | ||
93 | + } | ||
94 | + | ||
95 | + @Override | ||
96 | + public void onPayFailed(String paramCustom, String errorMsg) { | ||
97 | + // TODO Auto-generated method stub | ||
98 | + System.out.println("支付失败回调:" + paramCustom + "; errorMsg:" | ||
99 | + + errorMsg); | ||
100 | + upTx("支付失败回调:" + paramCustom + "; errorMsg:" | ||
101 | + + errorMsg); | ||
102 | + } | ||
103 | + }; | ||
104 | + | ||
105 | + @Override | ||
106 | + public void onRequestPermissionsResult(int requestCode, String[] permissions, int[] grantResults) { | ||
107 | + super.onRequestPermissionsResult(requestCode, permissions, grantResults); | ||
108 | + PoolSdkHelper.onRequestPermissionsResult(requestCode, permissions, grantResults); | ||
109 | + } | ||
39 | 110 | ||
40 | @Override | 111 | @Override |
41 | protected void onCreate(Bundle savedInstanceState) { | 112 | protected void onCreate(Bundle savedInstanceState) { |
42 | super.onCreate(savedInstanceState); | 113 | super.onCreate(savedInstanceState); |
114 | +// int layoutId = getResources().getIdentifier( | ||
115 | +// "public_sdk_self_game_login", "layout", getPackageName()); | ||
43 | int layoutId = getResources().getIdentifier( | 116 | int layoutId = getResources().getIdentifier( |
44 | - "public_sdk_self_game_login", "layout", getPackageName()); | 117 | + "public_sdk_self_test", "layout", getPackageName()); |
45 | setContentView(layoutId); | 118 | setContentView(layoutId); |
46 | - initLoginView(); | 119 | + mContext = this; |
47 | - //PoolSdkHelper.isDebug = true; | 120 | +// initLoginView(); |
121 | + initView(); | ||
48 | PoolSdkLog.setIsShowLog(true); | 122 | PoolSdkLog.setIsShowLog(true); |
49 | PoolSdkHelper.init(this, new PoolSDKCallBackListener() { | 123 | PoolSdkHelper.init(this, new PoolSDKCallBackListener() { |
50 | @Override | 124 | @Override |
51 | public void poolSdkCallBack(int code, String msg) { | 125 | public void poolSdkCallBack(int code, String msg) { |
52 | - // TODO Auto-generated method stub | 126 | + PoolSdkLog.logInfo("poolSdkCallBack:code:" + code + ",msg:" + msg); |
53 | - PoolSdkLog.logInfo("callback: code:" + code + "msg:" + msg); | 127 | + upTx("poolSdkCallBack:code:" + code + ",msg:" + msg); |
54 | switch (code) { | 128 | switch (code) { |
55 | case PoolSDKCode.POOLSDK_INIT_SUCCESS:// 初始化成功 | 129 | case PoolSDKCode.POOLSDK_INIT_SUCCESS:// 初始化成功 |
56 | - PoolSdkLog.logInfo("游戏中POOLSDK_INIT_SUCCESS"); | 130 | + PoolSdkLog.logInfo("游戏中收到初始化成功回调"); |
57 | - //login(); | 131 | + new Handler().postDelayed(new Runnable() { |
132 | + | ||
133 | + @Override | ||
134 | + public void run() { | ||
135 | + login(); | ||
136 | + } | ||
137 | + }, 1000); | ||
58 | break; | 138 | break; |
59 | case PoolSDKCode.POOLSDK_INIT_FAIL: | 139 | case PoolSDKCode.POOLSDK_INIT_FAIL: |
60 | break; | 140 | break; |
... | @@ -62,16 +142,26 @@ public class AppActivity extends Activity { | ... | @@ -62,16 +142,26 @@ public class AppActivity extends Activity { |
62 | break; | 142 | break; |
63 | } | 143 | } |
64 | } | 144 | } |
65 | - });// init(this);// this为游戏的activity对象 | 145 | + }, savedInstanceState);// init(this);// this为游戏的activity对象 |
146 | + | ||
147 | + PoolSdkHelper.setPayListener(mPoolPayListener ); | ||
148 | + | ||
66 | 149 | ||
67 | PoolSdkHelper.setLogoutCallback(new PoolLogoutListener() { | 150 | PoolSdkHelper.setLogoutCallback(new PoolLogoutListener() { |
68 | @Override | 151 | @Override |
69 | public void onLogoutSuccess() { | 152 | public void onLogoutSuccess() { |
70 | // TODO: 此处处理SDK登出的逻辑 | 153 | // TODO: 此处处理SDK登出的逻辑 |
154 | + PoolSdkLog.logInfo("游戏中收到logoutSuccess回调"); | ||
71 | login(); | 155 | login(); |
72 | - PoolSdkLog.logInfo("游戏中logoutSuccess"); | ||
73 | } | 156 | } |
74 | }); | 157 | }); |
158 | + | ||
159 | + | ||
160 | + txSdkMsg.setText("sdksimplename:"+PoolSdkConfig.getConfigByKey("sdksimplename") | ||
161 | + +"\nsdkversioncode:"+PoolSdkConfig.getConfigByKey("sdkversioncode") | ||
162 | + +"\ngamesimplename:"+PoolSdkConfig.getConfigByKey("gamesimplename") | ||
163 | + +"\nlogincheckurl:"+PoolSdkConfig.getConfigByKey("logincheckurl") | ||
164 | + ); | ||
75 | } | 165 | } |
76 | 166 | ||
77 | @Override | 167 | @Override |
... | @@ -124,35 +214,30 @@ public class AppActivity extends Activity { | ... | @@ -124,35 +214,30 @@ public class AppActivity extends Activity { |
124 | 214 | ||
125 | @Override | 215 | @Override |
126 | public void onConfigurationChanged(Configuration newConfig) { | 216 | public void onConfigurationChanged(Configuration newConfig) { |
127 | - // TODO Auto-generated method stub | ||
128 | super.onConfigurationChanged(newConfig); | 217 | super.onConfigurationChanged(newConfig); |
129 | PoolSdkHelper.onConfigurationChanged(newConfig); | 218 | PoolSdkHelper.onConfigurationChanged(newConfig); |
130 | } | 219 | } |
131 | 220 | ||
132 | @Override | 221 | @Override |
133 | protected void onSaveInstanceState(Bundle outState) { | 222 | protected void onSaveInstanceState(Bundle outState) { |
134 | - // TODO Auto-generated method stub | ||
135 | super.onSaveInstanceState(outState); | 223 | super.onSaveInstanceState(outState); |
136 | PoolSdkHelper.onSaveInstanceState(outState); | 224 | PoolSdkHelper.onSaveInstanceState(outState); |
137 | } | 225 | } |
138 | 226 | ||
139 | @Override | 227 | @Override |
140 | protected void onRestoreInstanceState(Bundle savedInstanceState) { | 228 | protected void onRestoreInstanceState(Bundle savedInstanceState) { |
141 | - // TODO Auto-generated method stub | ||
142 | super.onRestoreInstanceState(savedInstanceState); | 229 | super.onRestoreInstanceState(savedInstanceState); |
143 | PoolSdkHelper.onRestoreInstanceState(savedInstanceState); | 230 | PoolSdkHelper.onRestoreInstanceState(savedInstanceState); |
144 | } | 231 | } |
145 | 232 | ||
146 | @Override | 233 | @Override |
147 | public void onWindowFocusChanged(boolean hasFocus) { | 234 | public void onWindowFocusChanged(boolean hasFocus) { |
148 | - // TODO Auto-generated method stub | ||
149 | super.onWindowFocusChanged(hasFocus); | 235 | super.onWindowFocusChanged(hasFocus); |
150 | PoolSdkHelper.onWindowFocusChanged(hasFocus); | 236 | PoolSdkHelper.onWindowFocusChanged(hasFocus); |
151 | } | 237 | } |
152 | 238 | ||
153 | @Override | 239 | @Override |
154 | public void onWindowAttributesChanged(LayoutParams params) { | 240 | public void onWindowAttributesChanged(LayoutParams params) { |
155 | - // TODO Auto-generated method stub | ||
156 | super.onWindowAttributesChanged(params); | 241 | super.onWindowAttributesChanged(params); |
157 | PoolSdkHelper.onWindowAttributesChanged(params); | 242 | PoolSdkHelper.onWindowAttributesChanged(params); |
158 | } | 243 | } |
... | @@ -165,12 +250,16 @@ public class AppActivity extends Activity { | ... | @@ -165,12 +250,16 @@ public class AppActivity extends Activity { |
165 | PoolSdkHelper.showExitDialog(new PoolExitDialogListener() { | 250 | PoolSdkHelper.showExitDialog(new PoolExitDialogListener() { |
166 | @Override | 251 | @Override |
167 | public void onDialogResult(int code, String msg) { | 252 | public void onDialogResult(int code, String msg) { |
168 | - // TODO Auto-generated method stub | ||
169 | switch (code) { | 253 | switch (code) { |
170 | - case PoolSDKCode.EXIT_SUCCESS:// 退出成功游戏处理自己退出逻辑 | 254 | + case PoolSDKCode.EXIT_SUCCESS: |
255 | + // 退出成功游戏处理自己退出逻辑 | ||
256 | + PoolSdkLog.logInfo("游戏调用自己退出逻辑"); | ||
171 | finish(); | 257 | finish(); |
258 | + System.exit(0); | ||
172 | break; | 259 | break; |
173 | - case PoolSDKCode.EXIT_CANCEL:// 取消退出 | 260 | + case PoolSDKCode.EXIT_CANCEL: |
261 | + // 取消退出 | ||
262 | + PoolSdkLog.logInfo("收到取消退出回调"); | ||
174 | break; | 263 | break; |
175 | default: | 264 | default: |
176 | break; | 265 | break; |
... | @@ -216,6 +305,30 @@ public class AppActivity extends Activity { | ... | @@ -216,6 +305,30 @@ public class AppActivity extends Activity { |
216 | return getResources().getIdentifier(resName, resType, getPackageName()); | 305 | return getResources().getIdentifier(resName, resType, getPackageName()); |
217 | } | 306 | } |
218 | 307 | ||
308 | + private void initView(){ | ||
309 | + btLogin = (Button) findViewById(getRedIdByName("pb_bt_login", "id")); | ||
310 | + btEnterGame = (Button) findViewById(getRedIdByName("pb_bt_entergame", "id")); | ||
311 | + btPay = (Button) findViewById(getRedIdByName("pb_bt_pay", "id")); | ||
312 | + btLogout = (Button) findViewById(getRedIdByName("pb_bt_logout", "id")); | ||
313 | + btSubRoleInfo = (Button) findViewById(getRedIdByName("pb_bt_subrole", "id")); | ||
314 | + btOpenChannel = (Button) findViewById(getRedIdByName("pb_bt_openchannel", "id")); | ||
315 | + btSwitchAcc = (Button) findViewById(getRedIdByName("pb_bt_switchacc", "id")); | ||
316 | + btOpenBbs = (Button) findViewById(getRedIdByName("pb_bt_openbbs", "id")); | ||
317 | + | ||
318 | + txMsg = (TextView) findViewById(getRedIdByName("tx_msg", "id")); | ||
319 | + txSdkMsg = (TextView) findViewById(getRedIdByName("tx_sdk_msg", "id")); | ||
320 | + | ||
321 | + btLogin.setOnClickListener(this); | ||
322 | + btEnterGame.setOnClickListener(this); | ||
323 | + btPay.setOnClickListener(this); | ||
324 | + btLogout.setOnClickListener(this); | ||
325 | + btSubRoleInfo.setOnClickListener(this); | ||
326 | + btOpenChannel.setOnClickListener(this); | ||
327 | + btSwitchAcc.setOnClickListener(this); | ||
328 | + btOpenBbs.setOnClickListener(this); | ||
329 | + } | ||
330 | + | ||
331 | + | ||
219 | private void initLoginView() { | 332 | private void initLoginView() { |
220 | int ya_login_bt = getRedIdByName("ya_login_bt", "id");// getResources().getIdentifier("ya_login_bt", | 333 | int ya_login_bt = getRedIdByName("ya_login_bt", "id");// getResources().getIdentifier("ya_login_bt", |
221 | // "id", | 334 | // "id", |
... | @@ -236,56 +349,57 @@ public class AppActivity extends Activity { | ... | @@ -236,56 +349,57 @@ public class AppActivity extends Activity { |
236 | yaChannelCenter = (Button) findViewById(getRedIdByName( | 349 | yaChannelCenter = (Button) findViewById(getRedIdByName( |
237 | "ya_channel_center", "id")); | 350 | "ya_channel_center", "id")); |
238 | yaChannelCenter.setText("渠道中心"); | 351 | yaChannelCenter.setText("渠道中心"); |
352 | + yaSwitchAccountBt = (Button) findViewById(getRedIdByName( | ||
353 | + "ya_switch_account_bt", "id")); | ||
354 | + yaSwitchAccountBt.setText("切换账号"); | ||
239 | PoolSdkLog.logError("" + yaPayBt + "yachannel:" + yaChannelCenter); | 355 | PoolSdkLog.logError("" + yaPayBt + "yachannel:" + yaChannelCenter); |
240 | 356 | ||
241 | yaLogoutBt = (Button) findViewById(getRedIdByName("logout_bt", "id")); | 357 | yaLogoutBt = (Button) findViewById(getRedIdByName("logout_bt", "id")); |
242 | 358 | ||
243 | - yaSwitchAccountBt = (Button) findViewById(getRedIdByName("ya_switch_account_bt", "id")); | ||
244 | - yaSwitchAccountBt.setText("切换账号"); | ||
245 | - | ||
246 | yaForumBt = (Button) findViewById(getRedIdByName("forum_bt", "id")); | 359 | yaForumBt = (Button) findViewById(getRedIdByName("forum_bt", "id")); |
247 | } | 360 | } |
248 | 361 | ||
249 | public void yaOnClick(View view) { | 362 | public void yaOnClick(View view) { |
250 | - if (view == yaLoginBt) { | 363 | +// if (view == yaLoginBt) { |
251 | - login(); | 364 | +// login(); |
252 | - } else if (view == yaEnterGameBt) { | 365 | +// } else if (view == yaEnterGameBt) { |
253 | - setContentView(getRedIdByName("public_sdk_self_game", "layout"));// (R.layout.game); | 366 | +// setContentView(getRedIdByName("public_sdk_self_game", "layout"));// (R.layout.game); |
254 | - //模拟调用聊天接口: | 367 | +// initGameView(); |
255 | - //PoolSdkHelper.reportChat("content", "世界", "roleId", "roleName", 10, "serverId", "serverName"); | 368 | +// PoolReport.reportEnterGame("chufan","角色名", 12, "201","服务器名"); |
369 | +// } else if (view == yaPayBt) { | ||
370 | +// pay(); | ||
371 | +// } else if (view == yaSubmitRoleDataBt) { | ||
372 | +// submitRoleData(); | ||
373 | +// } else if (view == yaChannelCenter) { | ||
374 | +// channelCenter(); | ||
375 | +// } else if (view == yaSwitchAccountBt) { | ||
376 | +// switchAccount(); | ||
377 | +// } else if (view == yaLogoutBt){ | ||
378 | +// logout(); | ||
379 | +// } else if (view == yaForumBt){ | ||
380 | +// openForum(); | ||
381 | +// } | ||
382 | + } | ||
256 | 383 | ||
257 | - initGameView(); | 384 | + @Override |
258 | - } else if (view == yaPayBt) { | 385 | + public void onClick(View view) { |
386 | + //新view | ||
387 | + if (view == btLogin) { | ||
388 | + login(); | ||
389 | + }else if (view == btEnterGame) { | ||
390 | + PoolReport.reportEnterGame("chufan","角色名", 12, "201","服务器名"); | ||
391 | + }else if (view == btPay) { | ||
259 | pay(); | 392 | pay(); |
260 | - } else if (view == yaSubmitRoleDataBt) { | 393 | + }else if (view == btLogout) { |
394 | + logout(); | ||
395 | + }else if (view == btSubRoleInfo) { | ||
261 | submitRoleData(); | 396 | submitRoleData(); |
262 | - } else if (view == yaChannelCenter) { | 397 | + }else if (view == btOpenChannel) { |
263 | channelCenter(); | 398 | channelCenter(); |
264 | - } else if (view == yaLogoutBt){ | 399 | + }else if (view == btSwitchAcc) { |
265 | - logout(); | ||
266 | - } else if (view == yaForumBt){ | ||
267 | - openForum(); | ||
268 | - } else if(view == yaSwitchAccountBt){//切换账号 | ||
269 | switchAccount(); | 400 | switchAccount(); |
270 | - } | 401 | + }else if (view == btOpenBbs) { |
271 | - } | 402 | + openForum(); |
272 | - | ||
273 | - /** | ||
274 | - * 切换帐号 | ||
275 | - */ | ||
276 | - private void switchAccount() { | ||
277 | - if(PoolSdkHelper.hasSwitchAccount()){ | ||
278 | - PoolSdkHelper.switchAccount(this); | ||
279 | - }else if(PoolSdkHelper.hasLogout()){ | ||
280 | - PoolSdkHelper.logout(this);//在注销监听回调中处理注销 | ||
281 | - }else if(PoolSdkHelper.hasChannelCenter()){//打开渠道中心看是否有切换账号 | ||
282 | - PoolSdkHelper.openChannelCenter(); | ||
283 | - }else{ | ||
284 | - //直接回到登录界面调用登录 | ||
285 | - int layoutId = getResources().getIdentifier( | ||
286 | - "public_sdk_self_game_login", "layout", getPackageName()); | ||
287 | - setContentView(layoutId); | ||
288 | - initLoginView(); | ||
289 | } | 403 | } |
290 | } | 404 | } |
291 | 405 | ||
... | @@ -299,28 +413,51 @@ public class AppActivity extends Activity { | ... | @@ -299,28 +413,51 @@ public class AppActivity extends Activity { |
299 | } | 413 | } |
300 | } | 414 | } |
301 | 415 | ||
302 | - private void login() { | 416 | + private void upTx(final String msg){ |
417 | + mContext.runOnUiThread(new Runnable() { | ||
303 | 418 | ||
304 | - Log.e("gamechanelId", PoolSdkHelper.getGameChannelId()); | 419 | + @Override |
420 | + public void run() { | ||
421 | + txMsg.setText(msg); | ||
422 | + } | ||
423 | + }); | ||
424 | +// new Handler().post(new Runnable() { | ||
425 | +// | ||
426 | +// @Override | ||
427 | +// public void run() { | ||
428 | +// txMsg.setText(msg); | ||
429 | +// } | ||
430 | +// }); | ||
431 | + } | ||
432 | + | ||
433 | + private void login() { | ||
434 | + PoolSdkLog.logError("调用login"); | ||
305 | PoolSdkHelper.login("登录自定义字段", new PoolLoginListener() { | 435 | PoolSdkHelper.login("登录自定义字段", new PoolLoginListener() { |
306 | @Override | 436 | @Override |
307 | public void onLoginSuccess(PoolLoginInfo poolLoginInfo) { | 437 | public void onLoginSuccess(PoolLoginInfo poolLoginInfo) { |
308 | - String userType = poolLoginInfo.getUserType(); | 438 | + final String userType = poolLoginInfo.getUserType(); |
309 | - String timestamp = poolLoginInfo.getTimestamp(); | 439 | + final String timestamp = poolLoginInfo.getTimestamp(); |
310 | - String serverSign = poolLoginInfo.getServerSign(); | 440 | + final String serverSign = poolLoginInfo.getServerSign(); |
311 | - String openId = poolLoginInfo.getOpenID(); | 441 | + final String openId = poolLoginInfo.getOpenID(); |
312 | // TODO: 把以上信息发送给游戏服务端做登录校验,需要其他信息请从poolLoginInfo对象中获取 | 442 | // TODO: 把以上信息发送给游戏服务端做登录校验,需要其他信息请从poolLoginInfo对象中获取 |
313 | 443 | ||
314 | - System.out.println("登录成功 userType = " + userType | 444 | + System.out.println("登录成功回调:userType = " + userType |
445 | + + "; timestamp = " + timestamp + "; serverSign = " | ||
446 | + + serverSign + "; openId = " + openId); | ||
447 | + upTx("登录成功回调:userType = " + userType | ||
315 | + "; timestamp = " + timestamp + "; serverSign = " | 448 | + "; timestamp = " + timestamp + "; serverSign = " |
316 | + serverSign + "; openId = " + openId); | 449 | + serverSign + "; openId = " + openId); |
317 | } | 450 | } |
318 | 451 | ||
319 | @Override | 452 | @Override |
320 | - public void onLoginFailed(String errorMsg) { | 453 | + public void onLoginFailed(final String errorMsg) { |
321 | - System.out.println("登录失败 = " + errorMsg); | 454 | + System.out.println("登录失败回调 :" + errorMsg); |
455 | + upTx("登录失败回调 :" + errorMsg); | ||
322 | } | 456 | } |
323 | }); | 457 | }); |
458 | + | ||
459 | + | ||
460 | + PoolPayOrderConfirmHandler.getInstance(this, 2000, 1000).startOrderConfirmOp(mPoolPayListener); | ||
324 | } | 461 | } |
325 | 462 | ||
326 | private void pay() { | 463 | private void pay() { |
... | @@ -332,7 +469,7 @@ public class AppActivity extends Activity { | ... | @@ -332,7 +469,7 @@ public class AppActivity extends Activity { |
332 | // 设置充值金额,单位“元” | 469 | // 设置充值金额,单位“元” |
333 | poolPayInfo.setAmount("1"); | 470 | poolPayInfo.setAmount("1"); |
334 | // 服务器id | 471 | // 服务器id |
335 | - poolPayInfo.setServerID("8"); | 472 | + poolPayInfo.setServerID("1209"); |
336 | // 服务器名 | 473 | // 服务器名 |
337 | poolPayInfo.setServerName("我是服务器名"); | 474 | poolPayInfo.setServerName("我是服务器名"); |
338 | // 角色id | 475 | // 角色id |
... | @@ -350,22 +487,27 @@ public class AppActivity extends Activity { | ... | @@ -350,22 +487,27 @@ public class AppActivity extends Activity { |
350 | // 兑换比例 | 487 | // 兑换比例 |
351 | poolPayInfo.setExchange("10"); | 488 | poolPayInfo.setExchange("10"); |
352 | // 自定义参数 | 489 | // 自定义参数 |
353 | - poolPayInfo.setCustom("operator=xwrw&server_id=39&player_id=2081&cp_order_id=001000100000020811491470345294&dext=2"); | 490 | + poolPayInfo.setCustom("我是自定义参数"); |
354 | 491 | ||
355 | // TODO Auto-generated method stub | 492 | // TODO Auto-generated method stub |
356 | - PoolSdkHelper.pay(poolPayInfo, new PoolPayListener() { | 493 | + PoolSdkHelper.pay(poolPayInfo, mPoolPayListener); |
357 | - | 494 | +// PoolSdkHelper.pay(poolPayInfo, new PoolPayListener() { |
358 | - @Override | 495 | +// |
359 | - public void onPaySuccess(String paramCustom) { | 496 | +// @Override |
360 | - System.out.println("支付成功 = " + paramCustom); | 497 | +// public void onPaySuccess(String paramCustom) { |
361 | - } | 498 | +// System.out.println("支付成功回调:" + paramCustom); |
362 | - | 499 | +// upTx("支付成功回调:" + paramCustom); |
363 | - @Override | 500 | +// |
364 | - public void onPayFailed(String paramCustom, String errorMsg) { | 501 | +// } |
365 | - System.out.println("支付失败 = " + paramCustom + "; errorMsg = " | 502 | +// |
366 | - + errorMsg); | 503 | +// @Override |
367 | - } | 504 | +// public void onPayFailed(String paramCustom, String errorMsg) { |
368 | - }); | 505 | +// System.out.println("支付失败回调:" + paramCustom + "; errorMsg:" |
506 | +// + errorMsg); | ||
507 | +// upTx("支付失败回调:" + paramCustom + "; errorMsg:" | ||
508 | +// + errorMsg); | ||
509 | +// } | ||
510 | +// }); | ||
369 | 511 | ||
370 | } | 512 | } |
371 | 513 | ||
... | @@ -378,15 +520,15 @@ public class AppActivity extends Activity { | ... | @@ -378,15 +520,15 @@ public class AppActivity extends Activity { |
378 | /******************************************** | 520 | /******************************************** |
379 | * 以下所有字段都是必填项 | 521 | * 以下所有字段都是必填项 |
380 | */ | 522 | */ |
381 | - PoolRoleInfo poolRoleInfo = new PoolRoleInfo(); | 523 | + final PoolRoleInfo poolRoleInfo = new PoolRoleInfo(); |
382 | poolRoleInfo.setRoleID("123456"); | 524 | poolRoleInfo.setRoleID("123456"); |
383 | poolRoleInfo.setRoleLevel("10"); | 525 | poolRoleInfo.setRoleLevel("10"); |
384 | poolRoleInfo.setRoleSex("0"); | 526 | poolRoleInfo.setRoleSex("0"); |
385 | poolRoleInfo.setRoleName("我是角色名"); | 527 | poolRoleInfo.setRoleName("我是角色名"); |
386 | - poolRoleInfo.setServerID("8"); | 528 | + poolRoleInfo.setServerID("1209"); |
387 | poolRoleInfo.setServerName("我是服务器名"); | 529 | poolRoleInfo.setServerName("我是服务器名"); |
388 | poolRoleInfo.setCustom("角色创建时间"); | 530 | poolRoleInfo.setCustom("角色创建时间"); |
389 | - poolRoleInfo.setRoleCTime(System.currentTimeMillis()/1000);//角色创建时间(秒) | 531 | + poolRoleInfo.setRoleCTime((long)1509331962);//角色创建时间(秒) |
390 | poolRoleInfo.setPartyName("公会名称"); | 532 | poolRoleInfo.setPartyName("公会名称"); |
391 | poolRoleInfo.setRoleType("狂战");//角色类型 | 533 | poolRoleInfo.setRoleType("狂战");//角色类型 |
392 | poolRoleInfo.setRoleChangeTime(System.currentTimeMillis()/1000);//角色更新时间 | 534 | poolRoleInfo.setRoleChangeTime(System.currentTimeMillis()/1000);//角色更新时间 |
... | @@ -401,7 +543,8 @@ public class AppActivity extends Activity { | ... | @@ -401,7 +543,8 @@ public class AppActivity extends Activity { |
401 | PoolSdkHelper.submitRoleData(poolRoleInfo, new PoolRoleListener() { | 543 | PoolSdkHelper.submitRoleData(poolRoleInfo, new PoolRoleListener() { |
402 | @Override | 544 | @Override |
403 | public void onRoleDataSuccess(String paramCustom) { | 545 | public void onRoleDataSuccess(String paramCustom) { |
404 | - System.out.println("提交角色数据成功 = " + paramCustom); | 546 | + System.out.println("提交角色数据成功:" + poolRoleInfo.verboseInfo()); |
547 | + upTx("提交角色数据成功:" + poolRoleInfo.verboseInfo()); | ||
405 | } | 548 | } |
406 | }); | 549 | }); |
407 | } | 550 | } |
... | @@ -409,11 +552,34 @@ public class AppActivity extends Activity { | ... | @@ -409,11 +552,34 @@ public class AppActivity extends Activity { |
409 | /** | 552 | /** |
410 | * 用户中心 | 553 | * 用户中心 |
411 | * | 554 | * |
412 | - * 游戏方先调用PoolSdkHelper.hasChannelCenter()获取是否有用户中心, | 555 | + * 游戏方先调用YASDKHelper.hasChannelCenter()获取是否有用户中心, |
413 | - * 如果有的话,游戏中需要添加按钮,点击按钮调用PoolSdkHelper.openChannelCenter(); | 556 | + * 如果有的话,游戏中需要添加按钮,点击按钮调用YASDKHelper.openChannelCenter(); |
414 | * 如果没有,则不需要显示按钮,也不用调用下面的接口 | 557 | * 如果没有,则不需要显示按钮,也不用调用下面的接口 |
415 | */ | 558 | */ |
416 | private void channelCenter() { | 559 | private void channelCenter() { |
417 | PoolSdkHelper.openChannelCenter(); | 560 | PoolSdkHelper.openChannelCenter(); |
418 | } | 561 | } |
562 | + | ||
563 | + /** | ||
564 | + * 切换帐号 | ||
565 | + */ | ||
566 | + private void switchAccount() { | ||
567 | + if(PoolSdkHelper.hasSwitchAccount()){ | ||
568 | + PoolSdkHelper.switchAccount(this); | ||
569 | + } | ||
570 | + } | ||
571 | + | ||
572 | + /** | ||
573 | + * 扩展接口 | ||
574 | + */ | ||
575 | + private void expansionInterface() { | ||
576 | + PoolSdkHelper.expansionInterface("自定义参数", new PoolExpansionListener() { | ||
577 | + | ||
578 | + @Override | ||
579 | + public void onSuccess(String paramCustom) { | ||
580 | + | ||
581 | + } | ||
582 | + }); | ||
583 | + } | ||
584 | + | ||
419 | } | 585 | } | ... | ... |

13.8 KB
1 | +<?xml version="1.0" encoding="utf-8"?> | ||
2 | +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
3 | + android:layout_width="fill_parent" | ||
4 | + android:layout_height="fill_parent" | ||
5 | + android:background="#FFFFFF" | ||
6 | + android:orientation="vertical" | ||
7 | + android:padding="5dp" > | ||
8 | + | ||
9 | + <LinearLayout | ||
10 | + android:layout_width="fill_parent" | ||
11 | + android:layout_height="wrap_content" | ||
12 | + android:orientation="horizontal" > | ||
13 | + | ||
14 | + <LinearLayout | ||
15 | + android:layout_width="0dp" | ||
16 | + android:layout_height="wrap_content" | ||
17 | + android:layout_margin="5dp" | ||
18 | + android:layout_weight="1" | ||
19 | + android:orientation="vertical" > | ||
20 | + | ||
21 | + <Button | ||
22 | + android:id="@+id/pb_bt_login" | ||
23 | + style="?android:attr/buttonStyleSmall" | ||
24 | + android:layout_width="fill_parent" | ||
25 | + android:layout_height="wrap_content" | ||
26 | + android:text="登录" /> | ||
27 | + | ||
28 | + <Button | ||
29 | + android:id="@+id/pb_bt_entergame" | ||
30 | + style="?android:attr/buttonStyleSmall" | ||
31 | + android:layout_width="fill_parent" | ||
32 | + android:layout_height="wrap_content" | ||
33 | + android:text="进入游戏" /> | ||
34 | + | ||
35 | + <Button | ||
36 | + android:id="@+id/pb_bt_pay" | ||
37 | + style="?android:attr/buttonStyleSmall" | ||
38 | + android:layout_width="fill_parent" | ||
39 | + android:layout_height="wrap_content" | ||
40 | + android:text="支付" /> | ||
41 | + | ||
42 | + <Button | ||
43 | + android:id="@+id/pb_bt_logout" | ||
44 | + style="?android:attr/buttonStyleSmall" | ||
45 | + android:layout_width="fill_parent" | ||
46 | + android:layout_height="wrap_content" | ||
47 | + android:text="注销" /> | ||
48 | + </LinearLayout> | ||
49 | + | ||
50 | + <LinearLayout | ||
51 | + android:layout_width="0dp" | ||
52 | + android:layout_height="wrap_content" | ||
53 | + android:layout_margin="5dp" | ||
54 | + android:layout_weight="1" | ||
55 | + android:orientation="vertical" > | ||
56 | + | ||
57 | + <Button | ||
58 | + android:id="@+id/pb_bt_subrole" | ||
59 | + style="?android:attr/buttonStyleSmall" | ||
60 | + android:layout_width="fill_parent" | ||
61 | + android:layout_height="wrap_content" | ||
62 | + android:text="提交角色数据" /> | ||
63 | + | ||
64 | + <Button | ||
65 | + android:id="@+id/pb_bt_openchannel" | ||
66 | + style="?android:attr/buttonStyleSmall" | ||
67 | + android:layout_width="fill_parent" | ||
68 | + android:layout_height="wrap_content" | ||
69 | + android:text="打开渠道个人中心" /> | ||
70 | + | ||
71 | + <Button | ||
72 | + android:id="@+id/pb_bt_switchacc" | ||
73 | + style="?android:attr/buttonStyleSmall" | ||
74 | + android:layout_width="fill_parent" | ||
75 | + android:layout_height="wrap_content" | ||
76 | + android:text="切换账号" /> | ||
77 | + | ||
78 | + <Button | ||
79 | + android:id="@+id/pb_bt_openbbs" | ||
80 | + style="?android:attr/buttonStyleSmall" | ||
81 | + android:layout_width="fill_parent" | ||
82 | + android:layout_height="wrap_content" | ||
83 | + android:text="打开论坛" /> | ||
84 | + </LinearLayout> | ||
85 | + </LinearLayout> | ||
86 | + | ||
87 | + <TextView | ||
88 | + android:layout_width="fill_parent" | ||
89 | + android:layout_height="wrap_content" | ||
90 | + android:layout_gravity="center" | ||
91 | + android:layout_margin="10dp" | ||
92 | + android:gravity="center" | ||
93 | + /> | ||
94 | + | ||
95 | + <TextView | ||
96 | + android:id="@+id/tx_sdk_msg" | ||
97 | + android:layout_width="fill_parent" | ||
98 | + android:layout_height="wrap_content" | ||
99 | + android:layout_margin="10dp" /> | ||
100 | + | ||
101 | + <TextView | ||
102 | + android:id="@+id/tx_msg" | ||
103 | + android:layout_width="fill_parent" | ||
104 | + android:layout_height="wrap_content" | ||
105 | + android:layout_margin="10dp" /> | ||
106 | + | ||
107 | +</LinearLayout> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
demo/build.gradle
0 → 100644
1 | +// Top-level build file where you can add configuration options common to all sub-projects/modules. | ||
2 | + | ||
3 | +buildscript { | ||
4 | + repositories { | ||
5 | + google() | ||
6 | + jcenter() | ||
7 | + | ||
8 | + } | ||
9 | + dependencies { | ||
10 | + classpath 'com.android.tools.build:gradle:3.3.1' | ||
11 | + | ||
12 | + // NOTE: Do not place your application dependencies here; they belong | ||
13 | + // in the individual module build.gradle files | ||
14 | + } | ||
15 | +} | ||
16 | + | ||
17 | +allprojects { | ||
18 | + repositories { | ||
19 | + google() | ||
20 | + jcenter() | ||
21 | + | ||
22 | + } | ||
23 | +} | ||
24 | + | ||
25 | +task clean(type: Delete) { | ||
26 | + delete rootProject.buildDir | ||
27 | +} |
demo/gradle.properties
0 → 100644
1 | +# Project-wide Gradle settings. | ||
2 | +# IDE (e.g. Android Studio) users: | ||
3 | +# Gradle settings configured through the IDE *will override* | ||
4 | +# any settings specified in this file. | ||
5 | +# For more details on how to configure your build environment visit | ||
6 | +# http://www.gradle.org/docs/current/userguide/build_environment.html | ||
7 | +# Specifies the JVM arguments used for the daemon process. | ||
8 | +# The setting is particularly useful for tweaking memory settings. | ||
9 | +org.gradle.jvmargs=-Xmx1536m | ||
10 | +# When configured, Gradle will run in incubating parallel mode. | ||
11 | +# This option should only be used with decoupled projects. More details, visit | ||
12 | +# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects | ||
13 | +# org.gradle.parallel=true | ||
14 | + | ||
15 | + |
demo/gradle/wrapper/gradle-wrapper.jar
0 → 100644
No preview for this file type
demo/gradlew
0 → 100644
1 | +#!/usr/bin/env sh | ||
2 | + | ||
3 | +############################################################################## | ||
4 | +## | ||
5 | +## Gradle start up script for UN*X | ||
6 | +## | ||
7 | +############################################################################## | ||
8 | + | ||
9 | +# Attempt to set APP_HOME | ||
10 | +# Resolve links: $0 may be a link | ||
11 | +PRG="$0" | ||
12 | +# Need this for relative symlinks. | ||
13 | +while [ -h "$PRG" ] ; do | ||
14 | + ls=`ls -ld "$PRG"` | ||
15 | + link=`expr "$ls" : '.*-> \(.*\)$'` | ||
16 | + if expr "$link" : '/.*' > /dev/null; then | ||
17 | + PRG="$link" | ||
18 | + else | ||
19 | + PRG=`dirname "$PRG"`"/$link" | ||
20 | + fi | ||
21 | +done | ||
22 | +SAVED="`pwd`" | ||
23 | +cd "`dirname \"$PRG\"`/" >/dev/null | ||
24 | +APP_HOME="`pwd -P`" | ||
25 | +cd "$SAVED" >/dev/null | ||
26 | + | ||
27 | +APP_NAME="Gradle" | ||
28 | +APP_BASE_NAME=`basename "$0"` | ||
29 | + | ||
30 | +# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. | ||
31 | +DEFAULT_JVM_OPTS="" | ||
32 | + | ||
33 | +# Use the maximum available, or set MAX_FD != -1 to use that value. | ||
34 | +MAX_FD="maximum" | ||
35 | + | ||
36 | +warn () { | ||
37 | + echo "$*" | ||
38 | +} | ||
39 | + | ||
40 | +die () { | ||
41 | + echo | ||
42 | + echo "$*" | ||
43 | + echo | ||
44 | + exit 1 | ||
45 | +} | ||
46 | + | ||
47 | +# OS specific support (must be 'true' or 'false'). | ||
48 | +cygwin=false | ||
49 | +msys=false | ||
50 | +darwin=false | ||
51 | +nonstop=false | ||
52 | +case "`uname`" in | ||
53 | + CYGWIN* ) | ||
54 | + cygwin=true | ||
55 | + ;; | ||
56 | + Darwin* ) | ||
57 | + darwin=true | ||
58 | + ;; | ||
59 | + MINGW* ) | ||
60 | + msys=true | ||
61 | + ;; | ||
62 | + NONSTOP* ) | ||
63 | + nonstop=true | ||
64 | + ;; | ||
65 | +esac | ||
66 | + | ||
67 | +CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar | ||
68 | + | ||
69 | +# Determine the Java command to use to start the JVM. | ||
70 | +if [ -n "$JAVA_HOME" ] ; then | ||
71 | + if [ -x "$JAVA_HOME/jre/sh/java" ] ; then | ||
72 | + # IBM's JDK on AIX uses strange locations for the executables | ||
73 | + JAVACMD="$JAVA_HOME/jre/sh/java" | ||
74 | + else | ||
75 | + JAVACMD="$JAVA_HOME/bin/java" | ||
76 | + fi | ||
77 | + if [ ! -x "$JAVACMD" ] ; then | ||
78 | + die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME | ||
79 | + | ||
80 | +Please set the JAVA_HOME variable in your environment to match the | ||
81 | +location of your Java installation." | ||
82 | + fi | ||
83 | +else | ||
84 | + JAVACMD="java" | ||
85 | + which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. | ||
86 | + | ||
87 | +Please set the JAVA_HOME variable in your environment to match the | ||
88 | +location of your Java installation." | ||
89 | +fi | ||
90 | + | ||
91 | +# Increase the maximum file descriptors if we can. | ||
92 | +if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then | ||
93 | + MAX_FD_LIMIT=`ulimit -H -n` | ||
94 | + if [ $? -eq 0 ] ; then | ||
95 | + if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then | ||
96 | + MAX_FD="$MAX_FD_LIMIT" | ||
97 | + fi | ||
98 | + ulimit -n $MAX_FD | ||
99 | + if [ $? -ne 0 ] ; then | ||
100 | + warn "Could not set maximum file descriptor limit: $MAX_FD" | ||
101 | + fi | ||
102 | + else | ||
103 | + warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" | ||
104 | + fi | ||
105 | +fi | ||
106 | + | ||
107 | +# For Darwin, add options to specify how the application appears in the dock | ||
108 | +if $darwin; then | ||
109 | + GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" | ||
110 | +fi | ||
111 | + | ||
112 | +# For Cygwin, switch paths to Windows format before running java | ||
113 | +if $cygwin ; then | ||
114 | + APP_HOME=`cygpath --path --mixed "$APP_HOME"` | ||
115 | + CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` | ||
116 | + JAVACMD=`cygpath --unix "$JAVACMD"` | ||
117 | + | ||
118 | + # We build the pattern for arguments to be converted via cygpath | ||
119 | + ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` | ||
120 | + SEP="" | ||
121 | + for dir in $ROOTDIRSRAW ; do | ||
122 | + ROOTDIRS="$ROOTDIRS$SEP$dir" | ||
123 | + SEP="|" | ||
124 | + done | ||
125 | + OURCYGPATTERN="(^($ROOTDIRS))" | ||
126 | + # Add a user-defined pattern to the cygpath arguments | ||
127 | + if [ "$GRADLE_CYGPATTERN" != "" ] ; then | ||
128 | + OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" | ||
129 | + fi | ||
130 | + # Now convert the arguments - kludge to limit ourselves to /bin/sh | ||
131 | + i=0 | ||
132 | + for arg in "$@" ; do | ||
133 | + CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` | ||
134 | + CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option | ||
135 | + | ||
136 | + if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition | ||
137 | + eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` | ||
138 | + else | ||
139 | + eval `echo args$i`="\"$arg\"" | ||
140 | + fi | ||
141 | + i=$((i+1)) | ||
142 | + done | ||
143 | + case $i in | ||
144 | + (0) set -- ;; | ||
145 | + (1) set -- "$args0" ;; | ||
146 | + (2) set -- "$args0" "$args1" ;; | ||
147 | + (3) set -- "$args0" "$args1" "$args2" ;; | ||
148 | + (4) set -- "$args0" "$args1" "$args2" "$args3" ;; | ||
149 | + (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; | ||
150 | + (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; | ||
151 | + (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; | ||
152 | + (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; | ||
153 | + (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; | ||
154 | + esac | ||
155 | +fi | ||
156 | + | ||
157 | +# Escape application args | ||
158 | +save () { | ||
159 | + for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done | ||
160 | + echo " " | ||
161 | +} | ||
162 | +APP_ARGS=$(save "$@") | ||
163 | + | ||
164 | +# Collect all arguments for the java command, following the shell quoting and substitution rules | ||
165 | +eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS" | ||
166 | + | ||
167 | +# by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong | ||
168 | +if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then | ||
169 | + cd "$(dirname "$0")" | ||
170 | +fi | ||
171 | + | ||
172 | +exec "$JAVACMD" "$@" |
demo/gradlew.bat
0 → 100644
1 | +@if "%DEBUG%" == "" @echo off | ||
2 | +@rem ########################################################################## | ||
3 | +@rem | ||
4 | +@rem Gradle startup script for Windows | ||
5 | +@rem | ||
6 | +@rem ########################################################################## | ||
7 | + | ||
8 | +@rem Set local scope for the variables with windows NT shell | ||
9 | +if "%OS%"=="Windows_NT" setlocal | ||
10 | + | ||
11 | +set DIRNAME=%~dp0 | ||
12 | +if "%DIRNAME%" == "" set DIRNAME=. | ||
13 | +set APP_BASE_NAME=%~n0 | ||
14 | +set APP_HOME=%DIRNAME% | ||
15 | + | ||
16 | +@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. | ||
17 | +set DEFAULT_JVM_OPTS= | ||
18 | + | ||
19 | +@rem Find java.exe | ||
20 | +if defined JAVA_HOME goto findJavaFromJavaHome | ||
21 | + | ||
22 | +set JAVA_EXE=java.exe | ||
23 | +%JAVA_EXE% -version >NUL 2>&1 | ||
24 | +if "%ERRORLEVEL%" == "0" goto init | ||
25 | + | ||
26 | +echo. | ||
27 | +echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. | ||
28 | +echo. | ||
29 | +echo Please set the JAVA_HOME variable in your environment to match the | ||
30 | +echo location of your Java installation. | ||
31 | + | ||
32 | +goto fail | ||
33 | + | ||
34 | +:findJavaFromJavaHome | ||
35 | +set JAVA_HOME=%JAVA_HOME:"=% | ||
36 | +set JAVA_EXE=%JAVA_HOME%/bin/java.exe | ||
37 | + | ||
38 | +if exist "%JAVA_EXE%" goto init | ||
39 | + | ||
40 | +echo. | ||
41 | +echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% | ||
42 | +echo. | ||
43 | +echo Please set the JAVA_HOME variable in your environment to match the | ||
44 | +echo location of your Java installation. | ||
45 | + | ||
46 | +goto fail | ||
47 | + | ||
48 | +:init | ||
49 | +@rem Get command-line arguments, handling Windows variants | ||
50 | + | ||
51 | +if not "%OS%" == "Windows_NT" goto win9xME_args | ||
52 | + | ||
53 | +:win9xME_args | ||
54 | +@rem Slurp the command line arguments. | ||
55 | +set CMD_LINE_ARGS= | ||
56 | +set _SKIP=2 | ||
57 | + | ||
58 | +:win9xME_args_slurp | ||
59 | +if "x%~1" == "x" goto execute | ||
60 | + | ||
61 | +set CMD_LINE_ARGS=%* | ||
62 | + | ||
63 | +:execute | ||
64 | +@rem Setup the command line | ||
65 | + | ||
66 | +set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar | ||
67 | + | ||
68 | +@rem Execute Gradle | ||
69 | +"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% | ||
70 | + | ||
71 | +:end | ||
72 | +@rem End local scope for the variables with windows NT shell | ||
73 | +if "%ERRORLEVEL%"=="0" goto mainEnd | ||
74 | + | ||
75 | +:fail | ||
76 | +rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of | ||
77 | +rem the _cmd.exe /c_ return code! | ||
78 | +if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 | ||
79 | +exit /b 1 | ||
80 | + | ||
81 | +:mainEnd | ||
82 | +if "%OS%"=="Windows_NT" endlocal | ||
83 | + | ||
84 | +:omega |
demo/settings.gradle
0 → 100644
1 | +include ':app' |
1 | # 海豹聚合SDK接入文档 # | 1 | # 海豹聚合SDK接入文档 # |
2 | 2 | ||
3 | ## 接入必读 | 3 | ## 接入必读 |
4 | +`注意!targetSdkVersion建议设置22及以下版本` | ||
5 | + | ||
6 | +`如果需使用高版本,游戏自身动态申请权限获取问题需要CP自行处理` | ||
4 | 7 | ||
5 | -`注意!CP必须设置targetSdkVersion为22及以下版本,不能高于22` | ||
6 | ` | 8 | ` |
7 | -接入海豹聚合SDK测试没问题后游戏必须删除掉assets下海豹聚合SDK相关资源, | 9 | +接入海豹聚合SDK测试没问题后游戏必须删除掉assets下海豹聚合SDK相关资源 |
10 | +(sdk文件夹、sdk.zip、sdkconf.ini)、(supplierconfig.json文件需要保留) | ||
8 | 删除manifest中关于海豹聚合SDK添加activity和service相关, | 11 | 删除manifest中关于海豹聚合SDK添加activity和service相关, |
9 | 删除libs下的YouYuSDK.jar, | 12 | 删除libs下的YouYuSDK.jar, |
10 | 然后打出一个母包,需要上哪个渠道使用打包工具进行打对应渠道包。 | 13 | 然后打出一个母包,需要上哪个渠道使用打包工具进行打对应渠道包。 |
... | @@ -18,7 +21,7 @@ | ... | @@ -18,7 +21,7 @@ |
18 | #### 1.2、复制SDK压缩包中assets目录下的所有内容到游戏工程的assets目录 #### | 21 | #### 1.2、复制SDK压缩包中assets目录下的所有内容到游戏工程的assets目录 #### |
19 | 22 | ||
20 | - 将游戏中的闪屏图片放到assets中poolsdk_splash目录下(选用,图片文件名任意,最多支持2张闪屏) | 23 | - 将游戏中的闪屏图片放到assets中poolsdk_splash目录下(选用,图片文件名任意,最多支持2张闪屏) |
21 | -- 将assets中的haibaosdk.xml中的 **YA_APPKEY(客户端密钥app_client_key),YA_APPID(游戏标识app_id),gamesimplename(版本代号)** 修改为申请的参数(必填)(请与相关人员申请) | 24 | +- 将assets中的haibaosdk.xml中的 **YA_APPKEY(客户端密钥app_client_key),YA_APPID(游戏标识app_id),gamesimplename(版本代号),sdksimplename,sdkversioncode ** 修改为申请的参数(必填)(请与相关人员申请) |
22 | - channelparameter1 和 channelparameter2 为后台对应渠道编号1和2(选填)(游戏客户端可以通过文档 2.12 方法获取) | 25 | - channelparameter1 和 channelparameter2 为后台对应渠道编号1和2(选填)(游戏客户端可以通过文档 2.12 方法获取) |
23 | - custom 为自定义参数(选填) | 26 | - custom 为自定义参数(选填) |
24 | - gamechannelid 为游戏渠道号(选填)(游戏客户端可以通过文档 2.12 方法获取) | 27 | - gamechannelid 为游戏渠道号(选填)(游戏客户端可以通过文档 2.12 方法获取) |
... | @@ -96,14 +99,6 @@ | ... | @@ -96,14 +99,6 @@ |
96 | android:configChanges="keyboardHidden|navigation|orientation" | 99 | android:configChanges="keyboardHidden|navigation|orientation" |
97 | android:exported="false" | 100 | android:exported="false" |
98 | android:screenOrientation="behind" /> | 101 | android:screenOrientation="behind" /> |
99 | - <activity | ||
100 | - android:name=".wxapi.WXPayEntryActivity" | ||
101 | - android:exported="true" | ||
102 | - android:launchMode="singleTop" /> | ||
103 | - <activity | ||
104 | - android:name=".wxapi.WXEntryActivity" | ||
105 | - android:exported="true" | ||
106 | - android:launchMode="singleTop" /> | ||
107 | 102 | ||
108 | ``` | 103 | ``` |
109 | 104 | ... | ... |
libs/.DS_Store
deleted
100644 → 0
No preview for this file type
libs/YouYuSDK181127.jar
deleted
100644 → 0
No preview for this file type
libs/YouYuSDK_190805.jar
0 → 100644
No preview for this file type
No preview for this file type
No preview for this file type
libs/miit_mdid_1.0.10.aar
0 → 100644
No preview for this file type
-
Please register or login to post a comment