lizhihui

更新oaid统计

Showing 97 changed files with 1091 additions and 870 deletions
1 +{
2 + "supplier":{
3 + "vivo":{
4 + "appid":"100215079"
5 + },
6 + "xiaomi":{
7 +
8 + },
9 + "huawei":{
10 +
11 + },
12 + "oppo":{
13 +
14 + }
15 + }
16 +
17 +}
1 +*.iml
2 +.gradle
3 +/local.properties
4 +/.idea/caches
5 +/.idea/libraries
6 +/.idea/modules.xml
7 +/.idea/workspace.xml
8 +/.idea/navEditor.xml
9 +/.idea/assetWizardSettings.xml
10 +.DS_Store
11 +/build
12 +/captures
13 +.externalNativeBuild
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
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
1 +<?xml version="1.0" encoding="UTF-8"?>
2 +<project version="4">
3 + <component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" 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
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
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>
1 -<?xml version="1.0" encoding="UTF-8"?>
2 -<projectDescription>
3 - <name>Demo_PoolSdk</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 -connection.arguments=
2 -connection.gradle.distribution=GRADLE_DISTRIBUTION(WRAPPER)
3 -connection.java.home=null
4 -connection.jvm.arguments=
5 -connection.project.dir=
6 -derived.resources=.gradle,build
7 -eclipse.preferences.version=1
8 -project.path=\:
1 -eclipse.preferences.version=1
2 -encoding/<project>=UTF-8
1 -eclipse.preferences.version=1
2 -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
3 -org.eclipse.jdt.core.compiler.compliance=1.6
4 -org.eclipse.jdt.core.compiler.source=1.6
1 -@echo off
2 -cd /d %~dp0
3 -"%ANT_ROOT%\bin\ant" clean release -f build.xml
4 -pause
...\ No newline at end of file ...\ No newline at end of file
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 -
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>
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. 9133账号服务条款的接受</h4>
28 - <p>1.1 9133账号由上海游爱之星信息科技有限公司(以下简称“游爱之星”)及其关联公司所有并合法运营,游爱之星及其关联公司并在本用户服务协议的条款和要求下提供服务。</p>
29 - <p>1.2 当用户访问、浏览及使用9133账号提供的各项服务、业务时,用户便表明其接受了本服务协议的条款,并同意受本服务协议的约束,用户并保证其提交的信息真实、准确、及时和完整;若用户不同意本协议条款的,请停止注册程序。</p>
30 - <p>1.3 本服务协议所称的用户是指完全同意本服务协议所有条款(以下简称“服务条款”)并访问或浏览9133账号相关页面的服务接受者。</p>
31 - <h4>2. 服务条款的变更和修改</h4>
32 - <p>游爱之星保留依其自主判断在将来的任何时间变更、修改、增加或删除本服务协议条款的权利。所有修改的协议均构成本服务协议的一部分。游爱之星有权随时对服务条款进行修改,一旦发生服务条款的变动,游爱之星将公示修改的内容;当用户使用9133账号的任何服务时,应接受9133账号随时提供的与该服务相关的规则或说明,并且此规则或说明均构成本服务条款的一部分。用户如果不同意服务条款的修改,可以主动取消已经获得的服务;如果用户继续享用服务,则视为用户已经接受服务条款的修改。</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 游爱之星有权规定并修改使用本服务的一般措施,包括但不限于决定保留电子邮件信息或其他上载内容的时间、限制本服务一个账号可接收信息的数量等措施。如9133账号未能储存或删除本服务的内容或其他信息,游爱之星不负担任何责任。对于用户3个月未使用的账号,游爱之星有权(但无义务)予以删除。</p>
41 - <p>3.8 由于用户经由本服务张贴、上传或传送内容、与本服务连线、违反本服务条款或侵害其他人的任何权利导致任何第三方提出权利主张或使游爱之星遭受任何形式的罚款或处罚,用户同意以适当方式充分消除对游爱之星的不利影响,赔偿游爱之星及其分公司、关联公司、代理人或其他合作伙伴及员工的损失,并使其免受损害。</p>
42 - <h4>4. 用户应遵守以下法律及法规</h4>
43 - <p>用户同意遵守中华人民共和国相关法律、法规的规定,在使用9133账号时,不得侵犯任何第三方的合法权益。在任何情况下,如果游爱之星有合理理由认为用户的行为可能违反上述法律、法规或侵犯第三方的合法权益,游爱之星可以在任何时候,不经事先通知终止向该用户提供服务。用户应了解国际互联网的无国界性,应特别注意遵守当地所有有关的法律和法规。</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 用户的密码和账号遭到未授权的使用或发生其他任何安全问题,用户可以立即通知游爱之星。用户在每次连线结束,应结束账号使用,否则用户可能得不到9133账号的安全保护。</p>
56 - <p>6.3 游爱之星禁止用户交易9133账号,游爱之星有权收回用户交易的9133账号。如果因用户交易9133账号引起的任何纠纷,游爱之星不承担任何责任。</p>
57 - <h4>7. 对用户信息的存储和限制</h4>
58 - <p>游爱之星不对用户在9133账号任何服务下发布信息的删除或储存失败负责。游爱之星有权判断用户的行为是否符合9133账号服务条款的规定,如果游爱之星认为用户违反了服务条款的规定,游爱之星有权删除用户发布或发送的信息,直至中断或终止向其提供服务。</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 9133账号封号规则</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.通过9133账号发布非法网站,宣传或使用私服、游戏代码、木马、外挂、病毒、色情信息、垃圾广告、非法广告等信息</p>
81 - <p>处罚规则:视情节轻重给予时限性冻结账号的处罚;情节严重者,给予永久冻结的处罚。</p>
82 - <p>5.通过9133账号发布触犯政府法令的文字如:煽动、反动、猥亵、暴力、种族歧视、宗教歧视等字眼,包含这类相关字的反向书写。</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>为保护9133账号、其使用者及社会公众的权利、财产或人身安全</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. 9133账号服务使用规则</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 用户完全理解并同意,若第三方在用户不知情或未经用户同意的前提下,将其文字、图片作品上传于9133账号空间及由此所产生的任何可能侵害其权益的行为,游爱之星均不对任何人承担任何责任。</p>
110 - <p>11.7 游爱之星有权根据政府机关或权利人的要求删除用户上载、张贴、发送的内容,无论游爱之星事先是否通知。</p>
111 - <p>11.8 游爱之星有权根据服务的需要,收回用户所用的空间域名或减少用户所用空间的大小,无论游爱之星事先是否通知。</p>
112 - <h4>12. 9133论坛规则</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. 9133账号游戏规则</h4>
144 - <p>13.1 用户应当遵守游戏公约、玩家守则及不时发布的游戏规则、公告等;</p>
145 - <p>13.2 用户不得通过不正当的手段或其他不公平的手段使用9133账号的游戏产品和服务或参与9133账号的游戏活动。用户不得干扰游爱之星正常地提供产品和服务,包括但不限于:攻击、侵入游爱之星的网站服务器或使网站服务器过载;制作、发布、传播、使用任何形式的妨碍游戏公平性的辅助工具或程序(外挂);利用程序的漏洞和错误(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 用户明确知道,游爱之星提供的实时定位服务将向用户及用户的不特定9133账号好友提供用户的实时空间位置信息。</p>
151 - <p>14.2 用户可选择向9133账号导入手机通讯簿上所对应的好友关系链,但游爱之星确保将不导入好友关系链之外的任何信息(包括好友姓名及其他任何相关信息) </p>
152 - <p>14.3 游爱之星将对好友关系链通过不可逆转的方式加密存储,包括9133账号和您的任何好友都将无法获知您的真实好友关系链和真实手机号码。</p>
153 - <h4>15. 游爱之星的知识产权及其他权利</h4>
154 - <p>15.1 游爱之星对本服务及本服务所使用的软件和受知识产权相关法律或其他法律保护的资料享有相应的权利。</p>
155 - <p>15.2 经由本服务传送的内容,受到著作权法、商标法、专利法或其他法律的保护;未经游爱之星明示授权许可,用户不得进行修改、出租、散布或衍生其他作品,用户本人创作并在公开使用区域张贴的内容除外。</p>
156 - <p>15.3 用户对本服务所使用的软件有非专属性使用权,但自己不得或许可任何第三方复制、修改、出售或衍生产品。</p>
157 - <p>15.4 9133账号及其他9133账号图样、产品及服务名称,均为游爱之星及其关联公司所享有的商标,未经游爱之星所事先书面授权,任何人不得使用、 复制或用作其他用途。</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 用户在浏览网际网路时自行判断使用9133账号的检索目录。该检索目录可能会引导用户进入到被认为具有攻击性或不适当的网站,游爱之星没有义务查看检索目录所列网站的内容,因此,对其正确性、合法性、正当性不负任何责任。</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>本协议自用户访问、浏览及使用9133账号之时开始生效。</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 -20170815
...\ No newline at end of file ...\ No newline at end of file
1 -SERVER_URL=http://sdk.i9133.com
2 -CDN_SERVER_URL=http://cdn.i9133.com
3 -SDK_TYPE=.sys_config_9133
...\ No newline at end of file ...\ No newline at end of file
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 -<?xml version="1.0" encoding="UTF-8"?>
2 -<lint>
3 -</lint>
...\ No newline at end of file ...\ No newline at end of file
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
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-21
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>
1 +apply plugin: 'com.android.application'
2 +
3 +android {
4 + compileSdkVersion 29
5 + buildToolsVersion "29.0.2"
6 + defaultConfig {
7 + applicationId "com.youai.demo.poolsdk"
8 + minSdkVersion 19
9 + targetSdkVersion 29
10 + versionCode 1
11 + versionName "1.0"
12 + }
13 + buildTypes {
14 + release {
15 + minifyEnabled false
16 + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
17 + }
18 + }
19 +}
20 +
21 +dependencies {
22 + implementation fileTree(include: ['*.jar', '*.aar'], dir: 'libs')
23 +}
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.youai.poolsdk.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="19" />
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" />
...@@ -36,7 +30,7 @@ ...@@ -36,7 +30,7 @@
36 android:name="com.youai.foolsdk.demo.AppActivity" 30 android:name="com.youai.foolsdk.demo.AppActivity"
37 android:configChanges="keyboardHidden|orientation|screenSize" 31 android:configChanges="keyboardHidden|orientation|screenSize"
38 android:label="@string/app_name" 32 android:label="@string/app_name"
39 - android:screenOrientation="landscape" 33 + android:screenOrientation="portrait"
40 android:theme="@android:style/Theme.NoTitleBar.Fullscreen" > 34 android:theme="@android:style/Theme.NoTitleBar.Fullscreen" >
41 <intent-filter> 35 <intent-filter>
42 <action android:name="android.intent.action.MAIN" /> 36 <action android:name="android.intent.action.MAIN" />
...@@ -70,14 +64,6 @@ ...@@ -70,14 +64,6 @@
70 <action android:name="com.youai.sdk.YouaiService" /> 64 <action android:name="com.youai.sdk.YouaiService" />
71 </intent-filter> 65 </intent-filter>
72 </service> 66 </service>
73 - <service
74 - android:name="com.youai.sdk.FloatViewService"
75 - android:enabled="true"
76 - android:exported="true" >
77 - <intent-filter>
78 - <action android:name="com.youai.sdk.FloatViewService" />
79 - </intent-filter>
80 - </service>
81 67
82 <receiver android:name="com.youai.sdk.Receiver" > 68 <receiver android:name="com.youai.sdk.Receiver" >
83 <intent-filter> 69 <intent-filter>
...@@ -97,14 +83,6 @@ ...@@ -97,14 +83,6 @@
97 android:configChanges="keyboardHidden|navigation|orientation" 83 android:configChanges="keyboardHidden|navigation|orientation"
98 android:exported="false" 84 android:exported="false"
99 android:screenOrientation="behind" /> 85 android:screenOrientation="behind" />
100 - <activity
101 - android:name=".wxapi.WXPayEntryActivity"
102 - android:exported="true"
103 - android:launchMode="singleTop" />
104 - <activity
105 - android:name=".wxapi.WXEntryActivity"
106 - android:exported="true"
107 - android:launchMode="singleTop" />
108 <!-- SDK end --> 86 <!-- SDK end -->
109 </application> 87 </application>
110 88
......
...@@ -2,18 +2,18 @@ ...@@ -2,18 +2,18 @@
2 <config> 2 <config>
3 3
4 <sdkconfig 4 <sdkconfig
5 - YA_APPID="576d079de138233c142da6a2" 5 + YA_APPID="58fd78a9834e7246b8dc0eac"
6 - YA_APPKEY="bf455586ef90b4470d17d167164671e2" 6 + YA_APPKEY="b06b86b79c25774ec758657a7203bae6"
7 - gamesimplename="sstx_dl" 7 + gamesimplename="fytx_test"
8 - sdksimplename="i9133" 8 + sdksimplename="youyu"
9 sdkversioncode="V1_0" 9 sdkversioncode="V1_0"
10 channelparameter1="" 10 channelparameter1=""
11 channelparameter2="" 11 channelparameter2=""
12 custom="" 12 custom=""
13 gamechannelid="" 13 gamechannelid=""
14 - logincheckurl="http://login.public.sdk.gzyouai.com/logincheck/check" 14 + logincheckurl="http://183.136.223.85:9010/logincheck/check/"
15 - paycheckurl="http://pay.public.sdk.gzyouai.com/paycheck/confirm" 15 + payorderurl="http://183.136.223.85:9020/paycheck/create"
16 - payorderurl="http://pay.public.sdk.gzyouai.com/paycheck/create" 16 + paycheckurl="http://183.136.223.85:9020/paycheck/confirm"
17 usertype="gssaXIIEiL0=" /> 17 usertype="gssaXIIEiL0=" />
18 18
19 </config> 19 </config>
...\ No newline at end of file ...\ No newline at end of file
......
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
...@@ -110,7 +110,6 @@ function initMatching(){ ...@@ -110,7 +110,6 @@ function initMatching(){
110 110
111 Core.ios_w = _w; 111 Core.ios_w = _w;
112 112
113 -
114 $('meta[name="viewport"]').attr('content','width=' + _w + ',maximum-scale=' + _scale + ',user-scalable=no'); 113 $('meta[name="viewport"]').attr('content','width=' + _w + ',maximum-scale=' + _scale + ',user-scalable=no');
115 //$('<meta name="viewport" content="maximum-scale=' + _scale + '"/>').appendTo(_head); 114 //$('<meta name="viewport" content="maximum-scale=' + _scale + '"/>').appendTo(_head);
116 //$('<meta name="viewport" content="width=' + _w + '"/>').appendTo(_head); 115 //$('<meta name="viewport" content="width=' + _w + '"/>').appendTo(_head);
...@@ -144,13 +143,10 @@ function initMatching(){ ...@@ -144,13 +143,10 @@ function initMatching(){
144 var ratio = window.devicePixelRatio; 143 var ratio = window.devicePixelRatio;
145 Core.ratio = ratio; 144 Core.ratio = ratio;
146 145
147 - Core.PLATFORM_NAME = '9133游戏'; 146 + Core.PLATFORM_NAME = '游娱';
148 147
149 - if(Core.isIos){ 148 +
150 - Core.server = 'https://sdk.i9133.com'; 149 + Core.server = 'https://sdk.uuufish.com';
151 - }else{
152 - Core.server = 'http://sdk.i9133.com';
153 - }
154 150
155 var lastServer = localStorage.getItem('last_server'); 151 var lastServer = localStorage.getItem('last_server');
156 if(lastServer && lastServer.indexOf('http:')==0){ 152 if(lastServer && lastServer.indexOf('http:')==0){
...@@ -221,7 +217,6 @@ function initMatching(){ ...@@ -221,7 +217,6 @@ function initMatching(){
221 217
222 Core.ios_w = _w; 218 Core.ios_w = _w;
223 219
224 -
225 $('meta[name="viewport"]').attr('content','width=' + _w + ',maximum-scale=' + _scale + ',user-scalable=no'); 220 $('meta[name="viewport"]').attr('content','width=' + _w + ',maximum-scale=' + _scale + ',user-scalable=no');
226 //$('<meta name="viewport" content="maximum-scale=' + _scale + '"/>').appendTo(_head); 221 //$('<meta name="viewport" content="maximum-scale=' + _scale + '"/>').appendTo(_head);
227 //$('<meta name="viewport" content="width=' + _w + '"/>').appendTo(_head); 222 //$('<meta name="viewport" content="width=' + _w + '"/>').appendTo(_head);
...@@ -552,8 +547,7 @@ function initMatching(){ ...@@ -552,8 +547,7 @@ function initMatching(){
552 } 547 }
553 if ($obj[0].tagName == "FORM") { 548 if ($obj[0].tagName == "FORM") {
554 $obj[0].disabled = false; 549 $obj[0].disabled = false;
555 - $obj.find("input[type='text'],input[type='password'],input[name='password'], button").attr('disabled', null); 550 + $obj.find("input, button").attr('disabled', null);
556 -
557 var $but_input = $obj.find('[type=submit]'); 551 var $but_input = $obj.find('[type=submit]');
558 if ($but_input.is('button')) { 552 if ($but_input.is('button')) {
559 $but_input.html(temp); 553 $but_input.html(temp);
......
...@@ -49,10 +49,6 @@ ...@@ -49,10 +49,6 @@
49 Core.showMod('help'); 49 Core.showMod('help');
50 return false; 50 return false;
51 }); 51 });
52 - that.$c.on("click",".js-enter-game",function(e){//强制进入实名认证界面
53 - e.stopPropagation();
54 - Core.showTips("根据政策规定,通过实名认证才能进入游戏哦!");
55 - });
56 } 52 }
57 53
58 Home.prototype.logout_cb = function(data) { 54 Home.prototype.logout_cb = function(data) {
...@@ -62,7 +58,7 @@ ...@@ -62,7 +58,7 @@
62 58
63 } 59 }
64 Home.prototype.show_after = function(){ 60 Home.prototype.show_after = function(){
65 - $('#login').hide(); 61 + $('#login').hide()
66 } 62 }
67 Core.registerMod('home', Home); 63 Core.registerMod('home', Home);
68 64
...@@ -225,6 +221,7 @@ ...@@ -225,6 +221,7 @@
225 Core.first_password = this.$c.find('[name="password"]').val() 221 Core.first_password = this.$c.find('[name="password"]').val()
226 this.cache(); 222 this.cache();
227 Core.showTips('成功登录,欢迎使用'+ Core.PLATFORM_NAME +'游戏平台'); 223 Core.showTips('成功登录,欢迎使用'+ Core.PLATFORM_NAME +'游戏平台');
224 +
228 Core.updateMod('home'); 225 Core.updateMod('home');
229 } 226 }
230 Login.prototype.login_eg_cb = function(result) { 227 Login.prototype.login_eg_cb = function(result) {
...@@ -287,6 +284,7 @@ ...@@ -287,6 +284,7 @@
287 if(Core.Data.other_login.length > 0){ 284 if(Core.Data.other_login.length > 0){
288 this.$c.find(".other-login-bx").removeClass("hide"); 285 this.$c.find(".other-login-bx").removeClass("hide");
289 } 286 }
287 +
290 //设置第三方登录显示 288 //设置第三方登录显示
291 for (var i = 0, l = Core.Data.other_login.length; i < l; i++) { 289 for (var i = 0, l = Core.Data.other_login.length; i < l; i++) {
292 this.$c.find('.' + Core.Data.other_login[i]).removeClass('hide'); 290 this.$c.find('.' + Core.Data.other_login[i]).removeClass('hide');
...@@ -383,28 +381,18 @@ ...@@ -383,28 +381,18 @@
383 381
384 382
385 that.$c.on('click', '[type=submit],.submit', function(e) { 383 that.$c.on('click', '[type=submit],.submit', function(e) {
386 - var passWordReg = /^[0-9a-zA-Z]+$/;
387 e.preventDefault(); 384 e.preventDefault();
388 if(/[A-Z]/.test(that.$c.find("input[name='username']").val())){ 385 if(/[A-Z]/.test(that.$c.find("input[name='username']").val())){
389 Core.showTips("账号不能有大写字母!"); 386 Core.showTips("账号不能有大写字母!");
390 }else if(/[A-Z]/.test(that.$c.find("input[name='password']").val())){ 387 }else if(/[A-Z]/.test(that.$c.find("input[name='password']").val())){
391 Core.showTips("密码不能有大写字母!"); 388 Core.showTips("密码不能有大写字母!");
392 - }else if(that.$c.find("input[name='password']").val().length<6 || that.$c.find("input[name='password']").val().length>16){
393 - Core.showTips("密码长度为6-16位字符!");
394 }else if(!that.$c.find('.checkbox-2').length>0){ 389 }else if(!that.$c.find('.checkbox-2').length>0){
395 Core.showTips('请同意'+Core.PLATFORM_NAME+'网络协议',1); 390 Core.showTips('请同意'+Core.PLATFORM_NAME+'网络协议',1);
396 - }else if(!passWordReg.test(that.$c.find("input[name='password']").val())){
397 - Core.showTips('请输入数字字母组成的密码!', true);
398 - return false;
399 }else{ 391 }else{
400 //如果是游客的话则调用安卓截屏方法 392 //如果是游客的话则调用安卓截屏方法
401 if (that.$c.find('[name="username"]').val() == that.$c.find('[name="old_usernmae"]').val() && window.android != undefined && window.android.screenShot != undefined ){ 393 if (that.$c.find('[name="username"]').val() == that.$c.find('[name="old_usernmae"]').val() && window.android != undefined && window.android.screenShot != undefined ){
402 window.android.screenShot(); 394 window.android.screenShot();
403 } 395 }
404 - $(this).attr("disabled",true);
405 - $(this).css({"background":"#999"});
406 - $(this).parent("li").css({"background":"#999"});
407 -
408 Core.ajax_do(that.$c.find('.ajax'), that.register_cb, that); 396 Core.ajax_do(that.$c.find('.ajax'), that.register_cb, that);
409 } 397 }
410 return false; 398 return false;
...@@ -427,9 +415,6 @@ ...@@ -427,9 +415,6 @@
427 that.$c.find('[name="old_usernmae"]').val(random_name) 415 that.$c.find('[name="old_usernmae"]').val(random_name)
428 that.$c.find('[name="password"]').val(random_passwd) 416 that.$c.find('[name="password"]').val(random_passwd)
429 that.$c.find('[name="type"]').val(-1) 417 that.$c.find('[name="type"]').val(-1)
430 - that.$c.find("input#btn-regist").attr('disabled', null);
431 - that.$c.find('.submit').css({"background":"#00beef"});
432 - that.$c.find('.submit').parent("li").css({"background":"#00beef"});
433 418
434 } 419 }
435 Register.prototype.cache = Login.prototype.cache; 420 Register.prototype.cache = Login.prototype.cache;
...@@ -440,17 +425,9 @@ ...@@ -440,17 +425,9 @@
440 Core.first_password = this.$c.find('[name="password"]').val() 425 Core.first_password = this.$c.find('[name="password"]').val()
441 // 显示一个注册成功信息,并跳转到home 426 // 显示一个注册成功信息,并跳转到home
442 this.cache(); 427 this.cache();
443 - if (Core.Data.force_auth == 1 && Core.Data.compellation_name == "" && Core.Data.identity_card == "") {
444 - Core.showTips("根据政策规定,通过实名认证才能进入游戏哦!");
445 - Core.updateMod('identityCard');
446 - }else{
447 Core.showTips('成功注册,欢迎使用' + Core.PLATFORM_NAME + '游戏平台'); 428 Core.showTips('成功注册,欢迎使用' + Core.PLATFORM_NAME + '游戏平台');
448 Core.updateMod('home'); 429 Core.updateMod('home');
449 } 430 }
450 - this.$c.find("input#btn-regist").attr('disabled', null);
451 - this.$c.find('.submit').css({"background":"#00beef"});
452 - this.$c.find('.submit').parent("li").css({"background":"#00beef"});
453 - }
454 Register.prototype.show_after = function() { 431 Register.prototype.show_after = function() {
455 this.set_random(); 432 this.set_random();
456 } 433 }
...@@ -607,14 +584,9 @@ ...@@ -607,14 +584,9 @@
607 that.$c.on("click","#js_confirm_resetnewpsw",function(){ 584 that.$c.on("click","#js_confirm_resetnewpsw",function(){
608 var NewPsw = that.$c.find("#js_reset_newpsw").val(), 585 var NewPsw = that.$c.find("#js_reset_newpsw").val(),
609 NewKey = that.$c.find("input[name='pwd_code']").val(), 586 NewKey = that.$c.find("input[name='pwd_code']").val(),
610 - passWordReg = /^[0-9a-zA-Z]+$/,
611 account = $("input[name='loginUserName']").val(); 587 account = $("input[name='loginUserName']").val();
612 var names = localStorage.getItem('user_names'); 588 var names = localStorage.getItem('user_names');
613 names = JSON.parse(names); 589 names = JSON.parse(names);
614 - if(!passWordReg.test(NewPsw)){
615 - Core.showTips('请输入数字字母组成的密码!', true);
616 - return false;
617 - }
618 Core.ajax({ 590 Core.ajax({
619 type:"post", 591 type:"post",
620 url:"/user/reset_passwd?pwd_code="+NewKey+"&password="+NewPsw, 592 url:"/user/reset_passwd?pwd_code="+NewKey+"&password="+NewPsw,
...@@ -993,10 +965,10 @@ ...@@ -993,10 +965,10 @@
993 Core.showTips("请输入身份证号码",false); 965 Core.showTips("请输入身份证号码",false);
994 return false; 966 return false;
995 }else if(IsIdCard(identityCard) == false){ 967 }else if(IsIdCard(identityCard) == false){
996 - Core.showTips("身份证号码有误,请检查输入是否正确",false,5000); 968 + Core.showTips("请输入正确的身份证信息",false);
997 return false; 969 return false;
998 }else if($.trim(compellationName) == ""){ 970 }else if($.trim(compellationName) == ""){
999 - Core.showTips("请输入身份证姓名",false); 971 + Core.showTips("请输入姓名",false);
1000 return false; 972 return false;
1001 }else if(!compellationNameReg.test(compellationName)){ 973 }else if(!compellationNameReg.test(compellationName)){
1002 Core.showTips("请输入正确的中文姓名",false); 974 Core.showTips("请输入正确的中文姓名",false);
......
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
13 <link href="skin/login.css?v=2016" type="text/css" rel="stylesheet" /> 13 <link href="skin/login.css?v=2016" type="text/css" rel="stylesheet" />
14 <link id="skin" data-v="20150923001" type="text/css" rel="stylesheet" /> 14 <link id="skin" data-v="20150923001" type="text/css" rel="stylesheet" />
15 15
16 +
16 <title> 17 <title>
17 平台登录 18 平台登录
18 </title> 19 </title>
...@@ -64,7 +65,7 @@ ...@@ -64,7 +65,7 @@
64 <i class=" iconfont icon-unie61d"></i> 65 <i class=" iconfont icon-unie61d"></i>
65 </a> 66 </a>
66 67
67 - <a title="QQ号码登录" data-replace="href" href="/user/auth2/qq/login/?next=/static/sdk_6/login.html%3Fapp_id={app_id}" class="qq iframe hide"> 68 + <a title="QQ号码登录" data-replace="href" href="/user/auth2/qq/login/?next=/static/sdk/login.html&app_id={app_id}" class="qq iframe hide">
68 </a> 69 </a>
69 70
70 <a title="微信登录" data-replace="href" href="sdk://weixinlogin?app_id={app_id}&next=/static/sdk/login.html" class="weixin hide"> 71 <a title="微信登录" data-replace="href" href="sdk://weixinlogin?app_id={app_id}&next=/static/sdk/login.html" class="weixin hide">
...@@ -82,7 +83,7 @@ ...@@ -82,7 +83,7 @@
82 </div> 83 </div>
83 <ul class="inline-btn login-inline-btn"> 84 <ul class="inline-btn login-inline-btn">
84 <li> 85 <li>
85 - <a method="post" class="btn btn_pri_block" href="#register">注册</a> 86 + <a method="post" class="btn btn_pri_block" href="#register">一键注册</a>
86 87
87 </li> 88 </li>
88 <li> 89 <li>
...@@ -157,7 +158,7 @@ ...@@ -157,7 +158,7 @@
157 <input type="hidden" name="type" value="-1"> 158 <input type="hidden" name="type" value="-1">
158 <ul class="inline-btn"> 159 <ul class="inline-btn">
159 <li><a class="btn btn_pri_block btn-orange" href="#home">返回</a></li> 160 <li><a class="btn btn_pri_block btn-orange" href="#home">返回</a></li>
160 - <li><input type="button" class="submit btn larg" id="btn-regist" value="确定注册"></li> 161 + <li><a class="submit btn larg " >确定注册</a></li>
161 </ul> 162 </ul>
162 </form> 163 </form>
163 </div> 164 </div>
...@@ -418,24 +419,17 @@ ...@@ -418,24 +419,17 @@
418 <p>{{=Core.Data.nickname}}</p> 419 <p>{{=Core.Data.nickname}}</p>
419 </div> 420 </div>
420 <div class="inline-btn pull-right w_45"> 421 <div class="inline-btn pull-right w_45">
421 - {{? Core.Data.force_auth == 1 && Core.Data.compellation_name == "" && Core.Data.identity_card == ""}}
422 - <a href="javascript:Core.finishLogin()" class="btn btn-orange">进入游戏</a>
423 - {{??}}
424 <a href="javascript:Core.finishLogin()" class="btn btn-orange">进入游戏</a> 422 <a href="javascript:Core.finishLogin()" class="btn btn-orange">进入游戏</a>
425 - {{?}}
426 </div> 423 </div>
427 </div> 424 </div>
428 <div class="bind-user"> 425 <div class="bind-user">
429 <div class="w_50 txt" style="display: inline-block; vertical-align: middle;"> 426 <div class="w_50 txt" style="display: inline-block; vertical-align: middle;">
430 - 为保证您的虚拟财产安全,请升级账号! 427 + 您当前还是游客,为保证账号安全,请升级账号!
431 </div> 428 </div>
432 <div class="inline-btn w_45" style="display: inline-block; vertical-align: ;"> 429 <div class="inline-btn w_45" style="display: inline-block; vertical-align: ;">
433 <a class="btn btn-bind" href="#modify_pwd">马上升级</a> 430 <a class="btn btn-bind" href="#modify_pwd">马上升级</a>
434 </div> 431 </div>
435 </div> 432 </div>
436 - {{? Core.Data.kefu_info != ""}}
437 - <p style="text-align: center;font-size: 20px; color: #ff0000; position: absolute; width: 100%; bottom: 10px; left:0;">{{=Core.Data.kefu_info[0]}}</p>
438 - {{?}}
439 </div> 433 </div>
440 {{?? Core.Data.is_guest == 2}}<!--1:游客登录;2:第三方登录;0:正式用户登录--> 434 {{?? Core.Data.is_guest == 2}}<!--1:游客登录;2:第三方登录;0:正式用户登录-->
441 <div class="user-center-box"> 435 <div class="user-center-box">
...@@ -445,11 +439,7 @@ ...@@ -445,11 +439,7 @@
445 <p>{{=Core.Data.nickname}}</p> 439 <p>{{=Core.Data.nickname}}</p>
446 </div> 440 </div>
447 <div class="inline-btn pull-right w_45"> 441 <div class="inline-btn pull-right w_45">
448 - {{? Core.Data.force_auth == 1 && Core.Data.compellation_name == "" && Core.Data.identity_card == ""}}
449 - <a href="javascript:Core.finishLogin()" class="btn btn-orange">进入游戏</a>
450 - {{??}}
451 <a href="javascript:Core.finishLogin()" class="btn btn-orange">进入游戏</a> 442 <a href="javascript:Core.finishLogin()" class="btn btn-orange">进入游戏</a>
452 - {{?}}
453 </div> 443 </div>
454 </div> 444 </div>
455 {{? Core.Data.bind_phone === ""}} 445 {{? Core.Data.bind_phone === ""}}
...@@ -467,9 +457,7 @@ ...@@ -467,9 +457,7 @@
467 <li style="width:50%;"><a href="#modify_pwd">修改密码</a></li> 457 <li style="width:50%;"><a href="#modify_pwd">修改密码</a></li>
468 <li style="width:50%;"><a href="#identityCard">实名认证</a></li> 458 <li style="width:50%;"><a href="#identityCard">实名认证</a></li>
469 </ul> 459 </ul>
470 - {{? Core.Data.kefu_info != ""}} 460 + {{?}}
471 - <p style="text-align: center;font-size: 20px; color: #ff0000; position: absolute; width: 100%; bottom: 10px;left:0;">{{=Core.Data.kefu_info[0]}}</p>
472 - {{?}} {{?}}
473 </div> 461 </div>
474 {{?? Core.Data.is_guest == 0}} 462 {{?? Core.Data.is_guest == 0}}
475 <div class="user-center-box"> 463 <div class="user-center-box">
...@@ -479,54 +467,16 @@ ...@@ -479,54 +467,16 @@
479 <p>{{=Core.Data.nickname}}</p> 467 <p>{{=Core.Data.nickname}}</p>
480 </div> 468 </div>
481 <div class="inline-btn pull-right w_45"> 469 <div class="inline-btn pull-right w_45">
482 - {{? Core.Data.force_auth == 1 && Core.Data.compellation_name == "" && Core.Data.identity_card == ""}}
483 <a href="javascript:Core.finishLogin()" class="btn btn-orange">进入游戏</a> 470 <a href="javascript:Core.finishLogin()" class="btn btn-orange">进入游戏</a>
484 - {{??}}
485 - <a href="javascript:Core.finishLogin()" class="btn btn-orange">进入游戏</a>
486 - {{?}}
487 </div> 471 </div>
488 </div> 472 </div>
489 473
490 - {{? Core.Data.force_auth == 1}}
491 - <ul class="list-item clearfix">
492 - {{? Core.Data.bind_phone === ""}}
493 - <li style="position: relative;width:50%;"><a href="#bindMobile">绑定手机</a><span class="redround"></span></li>
494 - {{??}}
495 - <li style="width:50%;"><a href="#unbindMobile">解绑手机</a></li>
496 - {{?}}
497 - <li style="width:50%;"><a href="#mibao">设置密保</a></li>
498 - </ul>
499 - <ul class="list-item clearfix" style="border-top:none;">
500 - <li style="width:50%;"><a href="#modify_pwd">修改密码</a></li>
501 - {{? Core.Data.compellation_name === "" && Core.Data.identity_card === ""}}
502 - <li style="width:50%;"><a href="#identityCard">实名认证</a></li>
503 - {{??}}
504 - <li style="width:50%;position:relative;"><a href="#identityCard_ok">实名认证
505 - <span style="position:absolute;right:5px;top:5px;color:#fff;background:#ff9600;padding:3px 10px;border-radius:10px;font-size:20px;">已认证</span>
506 - </a></li>
507 - {{?}}
508 - </ul>
509 - {{? Core.Data.kefu_info != ""}}
510 - <p style="text-align: center;font-size: 20px; color: #ff0000; position: absolute; width: 100%; bottom: 10px;left:0;">{{=Core.Data.kefu_info[0]}}</p>
511 - {{?}} {{??}}
512 {{? Core.Data.bind_phone === ""}} 474 {{? Core.Data.bind_phone === ""}}
513 <ul class="list-item clearfix"> 475 <ul class="list-item clearfix">
514 - <li style="width:50%;"><a href="#bindMobile">绑定手机</a></li> 476 + <li style="position: relative;"><a href="#bindMobile">绑定手机</a><span class="redround"></span></li>
515 - <li style="width:50%;"><a href="#mibao">设置密保</a></li> 477 + <li><a href="#mibao">设置密保</a></li>
516 - </ul> 478 + <li><a href="#modify_pwd">修改密码</a></li>
517 - <ul class="list-item clearfix" style="border-top:none;">
518 - <li style="width:50%;"><a href="#modify_pwd">修改密码</a></li>
519 - {{? Core.Data.compellation_name === "" && Core.Data.identity_card === ""}}
520 - <li style="width:50%;"><a href="#identityCard">实名认证</a></li>
521 - {{??}}
522 - <li style="width:50%;position:relative;"><a href="#identityCard_ok">实名认证
523 - <span style="position:absolute;right:5px;top:5px;color:#fff;background:#ff9600;padding:3px 10px;border-radius:10px;font-size:20px;">已认证</span>
524 - </a></li>
525 - {{?}}
526 </ul> 479 </ul>
527 - {{? Core.Data.kefu_info != ""}}
528 - <p style="text-align: center;font-size: 20px; color: #ff0000; position: absolute; width: 100%; bottom: 1em;left:0;">{{=Core.Data.kefu_info[0]}}</p>
529 - {{?}}
530 {{??}} 480 {{??}}
531 <ul class="list-item clearfix"> 481 <ul class="list-item clearfix">
532 <li style="width:50%;"><a href="#unbindMobile">解绑手机</a></li> 482 <li style="width:50%;"><a href="#unbindMobile">解绑手机</a></li>
...@@ -542,9 +492,6 @@ ...@@ -542,9 +492,6 @@
542 </a></li> 492 </a></li>
543 {{?}} 493 {{?}}
544 </ul> 494 </ul>
545 - {{? Core.Data.kefu_info != ""}}
546 - <p style="text-align: center;font-size: 20px; color: #ff0000; position: absolute; width: 100%; bottom: 10px;left:0;">{{=Core.Data.kefu_info[0]}}</p>
547 - {{?}} {{?}}
548 {{?}} 495 {{?}}
549 <!--<ul class="list-item clearfix"> 496 <!--<ul class="list-item clearfix">
550 {{? Core.Data.bind_phone === ""}} 497 {{? Core.Data.bind_phone === ""}}
...@@ -677,7 +624,7 @@ ...@@ -677,7 +624,7 @@
677 624
678 </label> 625 </label>
679 </div> 626 </div>
680 - {{? Core.Data.is_guest == 1}}<p>升级账号成功之后,请妥善保管正式账号</p>{{??}}{{?}} 627 + {{? Core.Data.is_guest == 1}}<p>升级账号成功之后,<span class="red">游客账号作废</span>,请妥善保管正式账号</p>{{??}}{{?}}
681 628
682 </div> 629 </div>
683 630
...@@ -696,19 +643,15 @@ ...@@ -696,19 +643,15 @@
696 <div class="new-sdk-container"> 643 <div class="new-sdk-container">
697 <div class="SDK-titlebox"></div> 644 <div class="SDK-titlebox"></div>
698 <div class="user-center"> 645 <div class="user-center">
699 - {{? Core.Data.force_auth !== 1 }}
700 <a href="#home" class="lefticon"> 646 <a href="#home" class="lefticon">
701 <i class="iconfont icon-fanhui"></i> 647 <i class="iconfont icon-fanhui"></i>
702 </a> 648 </a>
703 - {{?}} 649 + 实名认证
704 - 实名认证<div class="" style=" font-size: 18px;color: #949494;text-align: left; padding-left: 37px;">根据国家规定,游戏用户需进行实名认证</div>
705 </div> 650 </div>
706 -
707 <form action="/user/bind_identity_card" method="post" class="ajax" onkeydown="if(event.keyCode==13) return false;" > 651 <form action="/user/bind_identity_card" method="post" class="ajax" onkeydown="if(event.keyCode==13) return false;" >
708 -
709 <div class="new-sdk-box"> 652 <div class="new-sdk-box">
710 - <div class="input" style="padding:0 25px;"><input type="text" name="identity_card" required placeholder="请输入身份证号码" style="text-align: left;"></div> 653 + <div class="input" style="padding:0 25px;"><input type="text" name="identity_card" required placeholder="请输入注册身份证号码" style="text-align: left;"></div>
711 - <div class="input" style="padding:0 25px;"><input type="text" name="compellation_name" required placeholder="请输入身份证姓名" style="text-align: left;"></div> 654 + <div class="input" style="padding:0 25px;"><input type="text" name="compellation_name" required placeholder="请输入姓名" style="text-align: left;"></div>
712 </div> 655 </div>
713 <ul class="inline-btn"> 656 <ul class="inline-btn">
714 <li style="padding: 1em 0; float: none; margin: 0 auto;"><a class="submit btn larg btn-orange" autocomplete="off">提交</a></li> 657 <li style="padding: 1em 0; float: none; margin: 0 auto;"><a class="submit btn larg btn-orange" autocomplete="off">提交</a></li>
......
...@@ -36,4 +36,4 @@ instructions:处理支付方式点击支付图标出现 input_item 为undefind 的bug(将150行$c ...@@ -36,4 +36,4 @@ instructions:处理支付方式点击支付图标出现 input_item 为undefind 的bug(将150行$c
36 36
37 date:2017-5-12 37 date:2017-5-12
38 author:lizenghua 38 author:lizenghua
39 -instructions:与游娱同步
...\ No newline at end of file ...\ No newline at end of file
39 +instructions:修改充值的界面显示大小
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -23,7 +23,6 @@ section{ ...@@ -23,7 +23,6 @@ section{
23 a,input,textarea,select { 23 a,input,textarea,select {
24 outline: 0; 24 outline: 0;
25 } 25 }
26 -input[type=button],input[type=text],input[type=password]{-webkit-appearance:none;outline:none}
27 a:focus { 26 a:focus {
28 outline:thin dotted; /* 处理“outline”在Chrome浏览器中和其它浏览器之间的不一致 */ 27 outline:thin dotted; /* 处理“outline”在Chrome浏览器中和其它浏览器之间的不一致 */
29 } 28 }
......
1 +SERVER_URL=http://sdk.uuufish.com
2 +CDN_SERVER_URL=http://sdk.uuufish.com
3 +SDK_TYPE=.sys_config_youyu
...\ No newline at end of file ...\ No newline at end of file
1 +{
2 + "supplier":{
3 + "vivo":{
4 + "appid":"100215079"
5 + },
6 + "xiaomi":{
7 +
8 + },
9 + "huawei":{
10 +
11 + },
12 + "oppo":{
13 +
14 + }
15 + }
16 +
17 +}
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.gzyouai.fengniao.sdk.framework.PoolExitDialogListener; 7 import com.gzyouai.fengniao.sdk.framework.PoolExitDialogListener;
16 import com.gzyouai.fengniao.sdk.framework.PoolExitListener; 8 import com.gzyouai.fengniao.sdk.framework.PoolExitListener;
9 +import com.gzyouai.fengniao.sdk.framework.PoolExpansionListener;
17 import com.gzyouai.fengniao.sdk.framework.PoolLoginInfo; 10 import com.gzyouai.fengniao.sdk.framework.PoolLoginInfo;
18 import com.gzyouai.fengniao.sdk.framework.PoolLoginListener; 11 import com.gzyouai.fengniao.sdk.framework.PoolLoginListener;
19 import com.gzyouai.fengniao.sdk.framework.PoolLogoutListener; 12 import com.gzyouai.fengniao.sdk.framework.PoolLogoutListener;
20 import com.gzyouai.fengniao.sdk.framework.PoolPayInfo; 13 import com.gzyouai.fengniao.sdk.framework.PoolPayInfo;
21 import com.gzyouai.fengniao.sdk.framework.PoolPayListener; 14 import com.gzyouai.fengniao.sdk.framework.PoolPayListener;
15 +import com.gzyouai.fengniao.sdk.framework.PoolPayOrderConfirmHandler;
16 +import com.gzyouai.fengniao.sdk.framework.PoolReport;
22 import com.gzyouai.fengniao.sdk.framework.PoolRoleInfo; 17 import com.gzyouai.fengniao.sdk.framework.PoolRoleInfo;
23 import com.gzyouai.fengniao.sdk.framework.PoolRoleListener; 18 import com.gzyouai.fengniao.sdk.framework.PoolRoleListener;
24 import com.gzyouai.fengniao.sdk.framework.PoolSDKCallBackListener; 19 import com.gzyouai.fengniao.sdk.framework.PoolSDKCallBackListener;
...@@ -27,35 +22,119 @@ import com.gzyouai.fengniao.sdk.framework.PoolSdkConfig; ...@@ -27,35 +22,119 @@ import com.gzyouai.fengniao.sdk.framework.PoolSdkConfig;
27 import com.gzyouai.fengniao.sdk.framework.PoolSdkHelper; 22 import com.gzyouai.fengniao.sdk.framework.PoolSdkHelper;
28 import com.gzyouai.fengniao.sdk.framework.PoolSdkLog; 23 import com.gzyouai.fengniao.sdk.framework.PoolSdkLog;
29 24
30 -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 {
31 40
32 private Button yaLoginBt; 41 private Button yaLoginBt;
33 private Button yaEnterGameBt; 42 private Button yaEnterGameBt;
34 private Button yaPayBt; 43 private Button yaPayBt;
35 private Button yaSubmitRoleDataBt; 44 private Button yaSubmitRoleDataBt;
36 private Button yaChannelCenter; 45 private Button yaChannelCenter;
46 + private Button yaSwitchAccountBt;
37 private Button yaLogoutBt; 47 private Button yaLogoutBt;
38 private Button yaForumBt; 48 private Button yaForumBt;
39 - 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 + }
40 110
41 @Override 111 @Override
42 protected void onCreate(Bundle savedInstanceState) { 112 protected void onCreate(Bundle savedInstanceState) {
43 super.onCreate(savedInstanceState); 113 super.onCreate(savedInstanceState);
114 +// int layoutId = getResources().getIdentifier(
115 +// "public_sdk_self_game_login", "layout", getPackageName());
44 int layoutId = getResources().getIdentifier( 116 int layoutId = getResources().getIdentifier(
45 - "public_sdk_self_game_login", "layout", getPackageName()); 117 + "public_sdk_self_test", "layout", getPackageName());
46 setContentView(layoutId); 118 setContentView(layoutId);
47 - initLoginView(); 119 + mContext = this;
48 - //PoolSdkHelper.isDebug = true; 120 +// initLoginView();
121 + initView();
49 PoolSdkLog.setIsShowLog(true); 122 PoolSdkLog.setIsShowLog(true);
50 PoolSdkHelper.init(this, new PoolSDKCallBackListener() { 123 PoolSdkHelper.init(this, new PoolSDKCallBackListener() {
51 @Override 124 @Override
52 public void poolSdkCallBack(int code, String msg) { 125 public void poolSdkCallBack(int code, String msg) {
53 - // TODO Auto-generated method stub 126 + PoolSdkLog.logInfo("poolSdkCallBack:code:" + code + ",msg:" + msg);
54 - PoolSdkLog.logInfo("callback: code:" + code + "msg:" + msg); 127 + upTx("poolSdkCallBack:code:" + code + ",msg:" + msg);
55 switch (code) { 128 switch (code) {
56 case PoolSDKCode.POOLSDK_INIT_SUCCESS:// 初始化成功 129 case PoolSDKCode.POOLSDK_INIT_SUCCESS:// 初始化成功
57 - PoolSdkLog.logInfo("游戏中POOLSDK_INIT_SUCCESS"); 130 + PoolSdkLog.logInfo("游戏中收到初始化成功回调");
131 + new Handler().postDelayed(new Runnable() {
132 +
133 + @Override
134 + public void run() {
58 login(); 135 login();
136 + }
137 + }, 1000);
59 break; 138 break;
60 case PoolSDKCode.POOLSDK_INIT_FAIL: 139 case PoolSDKCode.POOLSDK_INIT_FAIL:
61 break; 140 break;
...@@ -63,16 +142,26 @@ public class AppActivity extends Activity { ...@@ -63,16 +142,26 @@ public class AppActivity extends Activity {
63 break; 142 break;
64 } 143 }
65 } 144 }
66 - });// init(this);// this为游戏的activity对象 145 + }, savedInstanceState);// init(this);// this为游戏的activity对象
146 +
147 + PoolSdkHelper.setPayListener(mPoolPayListener );
148 +
67 149
68 PoolSdkHelper.setLogoutCallback(new PoolLogoutListener() { 150 PoolSdkHelper.setLogoutCallback(new PoolLogoutListener() {
69 @Override 151 @Override
70 public void onLogoutSuccess() { 152 public void onLogoutSuccess() {
71 // TODO: 此处处理SDK登出的逻辑 153 // TODO: 此处处理SDK登出的逻辑
154 + PoolSdkLog.logInfo("游戏中收到logoutSuccess回调");
72 login(); 155 login();
73 - PoolSdkLog.logInfo("游戏中logoutSuccess");
74 } 156 }
75 }); 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 + );
76 } 165 }
77 166
78 @Override 167 @Override
...@@ -125,47 +214,35 @@ public class AppActivity extends Activity { ...@@ -125,47 +214,35 @@ public class AppActivity extends Activity {
125 214
126 @Override 215 @Override
127 public void onConfigurationChanged(Configuration newConfig) { 216 public void onConfigurationChanged(Configuration newConfig) {
128 - // TODO Auto-generated method stub
129 super.onConfigurationChanged(newConfig); 217 super.onConfigurationChanged(newConfig);
130 PoolSdkHelper.onConfigurationChanged(newConfig); 218 PoolSdkHelper.onConfigurationChanged(newConfig);
131 } 219 }
132 220
133 @Override 221 @Override
134 protected void onSaveInstanceState(Bundle outState) { 222 protected void onSaveInstanceState(Bundle outState) {
135 - // TODO Auto-generated method stub
136 super.onSaveInstanceState(outState); 223 super.onSaveInstanceState(outState);
137 PoolSdkHelper.onSaveInstanceState(outState); 224 PoolSdkHelper.onSaveInstanceState(outState);
138 } 225 }
139 226
140 @Override 227 @Override
141 protected void onRestoreInstanceState(Bundle savedInstanceState) { 228 protected void onRestoreInstanceState(Bundle savedInstanceState) {
142 - // TODO Auto-generated method stub
143 super.onRestoreInstanceState(savedInstanceState); 229 super.onRestoreInstanceState(savedInstanceState);
144 PoolSdkHelper.onRestoreInstanceState(savedInstanceState); 230 PoolSdkHelper.onRestoreInstanceState(savedInstanceState);
145 } 231 }
146 232
147 @Override 233 @Override
148 public void onWindowFocusChanged(boolean hasFocus) { 234 public void onWindowFocusChanged(boolean hasFocus) {
149 - // TODO Auto-generated method stub
150 super.onWindowFocusChanged(hasFocus); 235 super.onWindowFocusChanged(hasFocus);
151 PoolSdkHelper.onWindowFocusChanged(hasFocus); 236 PoolSdkHelper.onWindowFocusChanged(hasFocus);
152 } 237 }
153 238
154 @Override 239 @Override
155 public void onWindowAttributesChanged(LayoutParams params) { 240 public void onWindowAttributesChanged(LayoutParams params) {
156 - // TODO Auto-generated method stub
157 super.onWindowAttributesChanged(params); 241 super.onWindowAttributesChanged(params);
158 PoolSdkHelper.onWindowAttributesChanged(params); 242 PoolSdkHelper.onWindowAttributesChanged(params);
159 } 243 }
160 244
161 @Override 245 @Override
162 - public void onRequestPermissionsResult(int requestCode, String[] permissions, int[] grantResults) {
163 - // TODO Auto-generated method stub
164 - super.onRequestPermissionsResult(requestCode, permissions, grantResults);
165 - PoolSdkHelper.onRequestPermissionsResult(requestCode, permissions, grantResults);
166 - }
167 -
168 - @Override
169 public boolean dispatchKeyEvent(KeyEvent pKeyEvent) { 246 public boolean dispatchKeyEvent(KeyEvent pKeyEvent) {
170 if (pKeyEvent.getKeyCode() == KeyEvent.KEYCODE_BACK 247 if (pKeyEvent.getKeyCode() == KeyEvent.KEYCODE_BACK
171 && pKeyEvent.getAction() == KeyEvent.ACTION_DOWN) { 248 && pKeyEvent.getAction() == KeyEvent.ACTION_DOWN) {
...@@ -173,12 +250,16 @@ public class AppActivity extends Activity { ...@@ -173,12 +250,16 @@ public class AppActivity extends Activity {
173 PoolSdkHelper.showExitDialog(new PoolExitDialogListener() { 250 PoolSdkHelper.showExitDialog(new PoolExitDialogListener() {
174 @Override 251 @Override
175 public void onDialogResult(int code, String msg) { 252 public void onDialogResult(int code, String msg) {
176 - // TODO Auto-generated method stub
177 switch (code) { 253 switch (code) {
178 - case PoolSDKCode.EXIT_SUCCESS:// 退出成功游戏处理自己退出逻辑 254 + case PoolSDKCode.EXIT_SUCCESS:
255 + // 退出成功游戏处理自己退出逻辑
256 + PoolSdkLog.logInfo("游戏调用自己退出逻辑");
179 finish(); 257 finish();
258 + System.exit(0);
180 break; 259 break;
181 - case PoolSDKCode.EXIT_CANCEL:// 取消退出 260 + case PoolSDKCode.EXIT_CANCEL:
261 + // 取消退出
262 + PoolSdkLog.logInfo("收到取消退出回调");
182 break; 263 break;
183 default: 264 default:
184 break; 265 break;
...@@ -224,6 +305,30 @@ public class AppActivity extends Activity { ...@@ -224,6 +305,30 @@ public class AppActivity extends Activity {
224 return getResources().getIdentifier(resName, resType, getPackageName()); 305 return getResources().getIdentifier(resName, resType, getPackageName());
225 } 306 }
226 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 +
227 private void initLoginView() { 332 private void initLoginView() {
228 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",
229 // "id", 334 // "id",
...@@ -244,56 +349,57 @@ public class AppActivity extends Activity { ...@@ -244,56 +349,57 @@ public class AppActivity extends Activity {
244 yaChannelCenter = (Button) findViewById(getRedIdByName( 349 yaChannelCenter = (Button) findViewById(getRedIdByName(
245 "ya_channel_center", "id")); 350 "ya_channel_center", "id"));
246 yaChannelCenter.setText("渠道中心"); 351 yaChannelCenter.setText("渠道中心");
352 + yaSwitchAccountBt = (Button) findViewById(getRedIdByName(
353 + "ya_switch_account_bt", "id"));
354 + yaSwitchAccountBt.setText("切换账号");
247 PoolSdkLog.logError("" + yaPayBt + "yachannel:" + yaChannelCenter); 355 PoolSdkLog.logError("" + yaPayBt + "yachannel:" + yaChannelCenter);
248 356
249 yaLogoutBt = (Button) findViewById(getRedIdByName("logout_bt", "id")); 357 yaLogoutBt = (Button) findViewById(getRedIdByName("logout_bt", "id"));
250 358
251 - yaSwitchAccountBt = (Button) findViewById(getRedIdByName("ya_switch_account_bt", "id"));
252 - yaSwitchAccountBt.setText("切换账号");
253 -
254 yaForumBt = (Button) findViewById(getRedIdByName("forum_bt", "id")); 359 yaForumBt = (Button) findViewById(getRedIdByName("forum_bt", "id"));
255 } 360 }
256 361
257 public void yaOnClick(View view) { 362 public void yaOnClick(View view) {
258 - if (view == yaLoginBt) { 363 +// if (view == yaLoginBt) {
259 - login(); 364 +// login();
260 - } else if (view == yaEnterGameBt) { 365 +// } else if (view == yaEnterGameBt) {
261 - setContentView(getRedIdByName("public_sdk_self_game", "layout"));// (R.layout.game); 366 +// setContentView(getRedIdByName("public_sdk_self_game", "layout"));// (R.layout.game);
262 - //模拟调用聊天接口: 367 +// initGameView();
263 - //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 + }
264 383
265 - initGameView(); 384 + @Override
266 - } 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) {
267 pay(); 392 pay();
268 - } else if (view == yaSubmitRoleDataBt) { 393 + }else if (view == btLogout) {
394 + logout();
395 + }else if (view == btSubRoleInfo) {
269 submitRoleData(); 396 submitRoleData();
270 - } else if (view == yaChannelCenter) { 397 + }else if (view == btOpenChannel) {
271 channelCenter(); 398 channelCenter();
272 - } else if (view == yaLogoutBt){ 399 + }else if (view == btSwitchAcc) {
273 - logout();
274 - } else if (view == yaForumBt){
275 - openForum();
276 - } else if(view == yaSwitchAccountBt){//切换账号
277 switchAccount(); 400 switchAccount();
278 - } 401 + }else if (view == btOpenBbs) {
279 - } 402 + openForum();
280 -
281 - /**
282 - * 切换帐号
283 - */
284 - private void switchAccount() {
285 - if(PoolSdkHelper.hasSwitchAccount()){
286 - PoolSdkHelper.switchAccount(this);
287 - }else if(PoolSdkHelper.hasLogout()){
288 - PoolSdkHelper.logout(this);//在注销监听回调中处理注销
289 - }else if(PoolSdkHelper.hasChannelCenter()){//打开渠道中心看是否有切换账号
290 - PoolSdkHelper.openChannelCenter();
291 - }else{
292 - //直接回到登录界面调用登录
293 - int layoutId = getResources().getIdentifier(
294 - "public_sdk_self_game_login", "layout", getPackageName());
295 - setContentView(layoutId);
296 - initLoginView();
297 } 403 }
298 } 404 }
299 405
...@@ -307,28 +413,51 @@ public class AppActivity extends Activity { ...@@ -307,28 +413,51 @@ public class AppActivity extends Activity {
307 } 413 }
308 } 414 }
309 415
310 - private void login() { 416 + private void upTx(final String msg){
417 + mContext.runOnUiThread(new Runnable() {
418 +
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 + }
311 432
312 - Log.e("gamechanelId", PoolSdkHelper.getGameChannelId()); 433 + private void login() {
434 + PoolSdkLog.logError("调用login");
313 PoolSdkHelper.login("登录自定义字段", new PoolLoginListener() { 435 PoolSdkHelper.login("登录自定义字段", new PoolLoginListener() {
314 @Override 436 @Override
315 public void onLoginSuccess(PoolLoginInfo poolLoginInfo) { 437 public void onLoginSuccess(PoolLoginInfo poolLoginInfo) {
316 - String userType = poolLoginInfo.getUserType(); 438 + final String userType = poolLoginInfo.getUserType();
317 - String timestamp = poolLoginInfo.getTimestamp(); 439 + final String timestamp = poolLoginInfo.getTimestamp();
318 - String serverSign = poolLoginInfo.getServerSign(); 440 + final String serverSign = poolLoginInfo.getServerSign();
319 - String openId = poolLoginInfo.getOpenID(); 441 + final String openId = poolLoginInfo.getOpenID();
320 // TODO: 把以上信息发送给游戏服务端做登录校验,需要其他信息请从poolLoginInfo对象中获取 442 // TODO: 把以上信息发送给游戏服务端做登录校验,需要其他信息请从poolLoginInfo对象中获取
321 443
322 - System.out.println("登录成功 userType = " + userType 444 + System.out.println("登录成功回调:userType = " + userType
445 + + "; timestamp = " + timestamp + "; serverSign = "
446 + + serverSign + "; openId = " + openId);
447 + upTx("登录成功回调:userType = " + userType
323 + "; timestamp = " + timestamp + "; serverSign = " 448 + "; timestamp = " + timestamp + "; serverSign = "
324 + serverSign + "; openId = " + openId); 449 + serverSign + "; openId = " + openId);
325 } 450 }
326 451
327 @Override 452 @Override
328 - public void onLoginFailed(String errorMsg) { 453 + public void onLoginFailed(final String errorMsg) {
329 - System.out.println("登录失败 = " + errorMsg); 454 + System.out.println("登录失败回调 :" + errorMsg);
455 + upTx("登录失败回调 :" + errorMsg);
330 } 456 }
331 }); 457 });
458 +
459 +
460 + PoolPayOrderConfirmHandler.getInstance(this, 2000, 1000).startOrderConfirmOp(mPoolPayListener);
332 } 461 }
333 462
334 private void pay() { 463 private void pay() {
...@@ -338,9 +467,9 @@ public class AppActivity extends Activity { ...@@ -338,9 +467,9 @@ public class AppActivity extends Activity {
338 * 以下所有字段都是必填项 467 * 以下所有字段都是必填项
339 */ 468 */
340 // 设置充值金额,单位“元” 469 // 设置充值金额,单位“元”
341 - poolPayInfo.setAmount("1"); 470 + poolPayInfo.setAmount("0.99");
342 // 服务器id 471 // 服务器id
343 - poolPayInfo.setServerID("8"); 472 + poolPayInfo.setServerID("1209");
344 // 服务器名 473 // 服务器名
345 poolPayInfo.setServerName("我是服务器名"); 474 poolPayInfo.setServerName("我是服务器名");
346 // 角色id 475 // 角色id
...@@ -356,24 +485,29 @@ public class AppActivity extends Activity { ...@@ -356,24 +485,29 @@ public class AppActivity extends Activity {
356 // 商品描述 485 // 商品描述
357 poolPayInfo.setProductDesc("购买金币"); 486 poolPayInfo.setProductDesc("购买金币");
358 // 兑换比例 487 // 兑换比例
359 - poolPayInfo.setExchange("10"); 488 + poolPayInfo.setExchange("100");
360 // 自定义参数 489 // 自定义参数
361 - poolPayInfo.setCustom("operator=xwrw&server_id=39&player_id=2081&cp_order_id=001000100000020811491470345294&dext=2"); 490 + poolPayInfo.setCustom("我是自定义参数");
362 491
363 // TODO Auto-generated method stub 492 // TODO Auto-generated method stub
364 - PoolSdkHelper.pay(poolPayInfo, new PoolPayListener() { 493 + PoolSdkHelper.pay(poolPayInfo, mPoolPayListener);
365 - 494 +// PoolSdkHelper.pay(poolPayInfo, new PoolPayListener() {
366 - @Override 495 +//
367 - public void onPaySuccess(String paramCustom) { 496 +// @Override
368 - System.out.println("支付成功 = " + paramCustom); 497 +// public void onPaySuccess(String paramCustom) {
369 - } 498 +// System.out.println("支付成功回调:" + paramCustom);
370 - 499 +// upTx("支付成功回调:" + paramCustom);
371 - @Override 500 +//
372 - public void onPayFailed(String paramCustom, String errorMsg) { 501 +// }
373 - System.out.println("支付失败 = " + paramCustom + "; errorMsg = " 502 +//
374 - + errorMsg); 503 +// @Override
375 - } 504 +// public void onPayFailed(String paramCustom, String errorMsg) {
376 - }); 505 +// System.out.println("支付失败回调:" + paramCustom + "; errorMsg:"
506 +// + errorMsg);
507 +// upTx("支付失败回调:" + paramCustom + "; errorMsg:"
508 +// + errorMsg);
509 +// }
510 +// });
377 511
378 } 512 }
379 513
...@@ -386,15 +520,15 @@ public class AppActivity extends Activity { ...@@ -386,15 +520,15 @@ public class AppActivity extends Activity {
386 /******************************************** 520 /********************************************
387 * 以下所有字段都是必填项 521 * 以下所有字段都是必填项
388 */ 522 */
389 - PoolRoleInfo poolRoleInfo = new PoolRoleInfo(); 523 + final PoolRoleInfo poolRoleInfo = new PoolRoleInfo();
390 poolRoleInfo.setRoleID("123456"); 524 poolRoleInfo.setRoleID("123456");
391 poolRoleInfo.setRoleLevel("10"); 525 poolRoleInfo.setRoleLevel("10");
392 poolRoleInfo.setRoleSex("0"); 526 poolRoleInfo.setRoleSex("0");
393 poolRoleInfo.setRoleName("我是角色名"); 527 poolRoleInfo.setRoleName("我是角色名");
394 - poolRoleInfo.setServerID("8"); 528 + poolRoleInfo.setServerID("1209");
395 poolRoleInfo.setServerName("我是服务器名"); 529 poolRoleInfo.setServerName("我是服务器名");
396 poolRoleInfo.setCustom("角色创建时间"); 530 poolRoleInfo.setCustom("角色创建时间");
397 - poolRoleInfo.setRoleCTime(System.currentTimeMillis()/1000);//角色创建时间(秒) 531 + poolRoleInfo.setRoleCTime((long)1509331962);//角色创建时间(秒)
398 poolRoleInfo.setPartyName("公会名称"); 532 poolRoleInfo.setPartyName("公会名称");
399 poolRoleInfo.setRoleType("狂战");//角色类型 533 poolRoleInfo.setRoleType("狂战");//角色类型
400 poolRoleInfo.setRoleChangeTime(System.currentTimeMillis()/1000);//角色更新时间 534 poolRoleInfo.setRoleChangeTime(System.currentTimeMillis()/1000);//角色更新时间
...@@ -409,7 +543,8 @@ public class AppActivity extends Activity { ...@@ -409,7 +543,8 @@ public class AppActivity extends Activity {
409 PoolSdkHelper.submitRoleData(poolRoleInfo, new PoolRoleListener() { 543 PoolSdkHelper.submitRoleData(poolRoleInfo, new PoolRoleListener() {
410 @Override 544 @Override
411 public void onRoleDataSuccess(String paramCustom) { 545 public void onRoleDataSuccess(String paramCustom) {
412 - System.out.println("提交角色数据成功 = " + paramCustom); 546 + System.out.println("提交角色数据成功:" + poolRoleInfo.verboseInfo());
547 + upTx("提交角色数据成功:" + poolRoleInfo.verboseInfo());
413 } 548 }
414 }); 549 });
415 } 550 }
...@@ -417,11 +552,34 @@ public class AppActivity extends Activity { ...@@ -417,11 +552,34 @@ public class AppActivity extends Activity {
417 /** 552 /**
418 * 用户中心 553 * 用户中心
419 * 554 *
420 - * 游戏方先调用PoolSdkHelper.hasChannelCenter()获取是否有用户中心, 555 + * 游戏方先调用YASDKHelper.hasChannelCenter()获取是否有用户中心,
421 - * 如果有的话,游戏中需要添加按钮,点击按钮调用PoolSdkHelper.openChannelCenter(); 556 + * 如果有的话,游戏中需要添加按钮,点击按钮调用YASDKHelper.openChannelCenter();
422 * 如果没有,则不需要显示按钮,也不用调用下面的接口 557 * 如果没有,则不需要显示按钮,也不用调用下面的接口
423 */ 558 */
424 private void channelCenter() { 559 private void channelCenter() {
425 PoolSdkHelper.openChannelCenter(); 560 PoolSdkHelper.openChannelCenter();
426 } 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 +
427 } 585 }
......
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
1 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
2 <resources> 2 <resources>
3 3
4 - <string name="app_name">SDK_Demo</string> 4 + <string name="app_name">Demo_PoolSDK</string>
5 5
6 </resources> 6 </resources>
......
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 +}
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 +
No preview for this file type
1 +#Tue Oct 29 15:45:22 CST 2019
2 +distributionBase=GRADLE_USER_HOME
3 +distributionPath=wrapper/dists
4 +zipStoreBase=GRADLE_USER_HOME
5 +zipStorePath=wrapper/dists
6 +distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.1-all.zip
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" "$@"
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
1 +include ':app'
1 # 公共SDK接入文档 # 1 # 公共SDK接入文档 #
2 2
3 ## 接入必读 3 ## 接入必读
4 -`注意!CP必须设置targetSdkVersion为22及以下版本,不能高于22` 4 +`注意!targetSdkVersion建议设置22及以下版本`
5 5
6 -`如果需使用高版本,权限获取问题需要CP自行处理` 6 +`如果需使用高版本,游戏自身动态申请权限获取问题需要CP自行处理`
7 7
8 ` 8 `
9 -接入公共SDK测试没问题后游戏必须删除掉assets下公共SDK相关资源, 9 +接入公共SDK测试没问题后游戏必须删除掉assets下公共SDK相关资源
10 +(sdk文件夹、sdk.zip、sdkconf.ini)、(supplierconfig.json文件需要保留)
10 删除manifest中关于公共SDK添加activity和service相关, 11 删除manifest中关于公共SDK添加activity和service相关,
11 -删除libs下的XingWanSDK.jar或YouYuSDK.jar, 12 +删除libs下的YouYuSDK_190516.jar,
12 然后打出一个母包,需要上哪个渠道使用打包工具进行打对应渠道包。 13 然后打出一个母包,需要上哪个渠道使用打包工具进行打对应渠道包。
13 ` 14 `
14 15
...@@ -20,7 +21,7 @@ ...@@ -20,7 +21,7 @@
20 #### 1.2、复制SDK压缩包中assets目录下的所有内容到游戏工程的assets目录 #### 21 #### 1.2、复制SDK压缩包中assets目录下的所有内容到游戏工程的assets目录 ####
21 22
22 - 将游戏中的闪屏图片放到assets中poolsdk_splash目录下(选用,图片文件名任意,最多支持2张闪屏) 23 - 将游戏中的闪屏图片放到assets中poolsdk_splash目录下(选用,图片文件名任意,最多支持2张闪屏)
23 -- 将assets中的poolsdk.xml中的 **YA_APPKEY,YA_APPID,gamesimplename** 修改为申请的参数(必填)(请与相关人员申请) 24 +- 将assets中的poolsdk.xml中的 **YA_APPKEY,YA_APPID,gamesimplename,sdksimplename,sdkversioncode** 修改为申请的参数(必填)(请与相关人员申请)
24 - channelparameter1 和 channelparameter2 为后台对应渠道编号1和2(选填)(游戏客户端可以通过文档 2.12 方法获取) 25 - channelparameter1 和 channelparameter2 为后台对应渠道编号1和2(选填)(游戏客户端可以通过文档 2.12 方法获取)
25 - custom 为自定义参数(选填) 26 - custom 为自定义参数(选填)
26 - gamechannelid 为游戏渠道号(选填)(游戏客户端可以通过文档 2.12 方法获取) 27 - gamechannelid 为游戏渠道号(选填)(游戏客户端可以通过文档 2.12 方法获取)
...@@ -71,14 +72,6 @@ ...@@ -71,14 +72,6 @@
71 <action android:name="com.youai.sdk.YouaiService" /> 72 <action android:name="com.youai.sdk.YouaiService" />
72 </intent-filter> 73 </intent-filter>
73 </service> 74 </service>
74 - <service
75 - android:name="com.youai.sdk.FloatViewService"
76 - android:enabled="true"
77 - android:exported="true" >
78 - <intent-filter>
79 - <action android:name="com.youai.sdk.FloatViewService" />
80 - </intent-filter>
81 - </service>
82 75
83 <receiver android:name="com.youai.sdk.Receiver" > 76 <receiver android:name="com.youai.sdk.Receiver" >
84 <intent-filter> 77 <intent-filter>
...@@ -98,15 +91,6 @@ ...@@ -98,15 +91,6 @@
98 android:configChanges="keyboardHidden|navigation|orientation" 91 android:configChanges="keyboardHidden|navigation|orientation"
99 android:exported="false" 92 android:exported="false"
100 android:screenOrientation="behind" /> 93 android:screenOrientation="behind" />
101 - <activity
102 - android:name=".wxapi.WXPayEntryActivity"
103 - android:exported="true"
104 - android:launchMode="singleTop" />
105 - <activity
106 - android:name=".wxapi.WXEntryActivity"
107 - android:exported="true"
108 - android:launchMode="singleTop" />
109 -
110 ``` 94 ```
111 95
112 96
...@@ -132,7 +116,7 @@ ...@@ -132,7 +116,7 @@
132 } 116 }
133 } 117 }
134 ``` 118 ```
135 -#### 2.2、初始化接口(必接) 119 +#### 2.2、初始化接口(必接) 高版本Target请游戏申请完自己需要的权限再调用
136 接口说明: 120 接口说明:
137 首先在程序开始的地方调用 SDK 的初始化 init 方法,并设 置 Activity 对像和初始化完成回调 121 首先在程序开始的地方调用 SDK 的初始化 init 方法,并设 置 Activity 对像和初始化完成回调
138 监听(在初始化失败情况下不 再调用其它 SDK 接口方法) 122 监听(在初始化失败情况下不 再调用其它 SDK 接口方法)
...@@ -272,7 +256,7 @@ public static void submitRoleData(final PoolRoleInfo poolRoleInfo,final PoolRole ...@@ -272,7 +256,7 @@ public static void submitRoleData(final PoolRoleInfo poolRoleInfo,final PoolRole
272 PoolSdkHelper.submitRoleData(poolRoleInfo, new PoolRoleListener() { 256 PoolSdkHelper.submitRoleData(poolRoleInfo, new PoolRoleListener() {
273 @Override 257 @Override
274 public void onRoleDataSuccess(String paramCustom) { 258 public void onRoleDataSuccess(String paramCustom) {
275 - System.out.println("提交角色数据成功 = " + paramCustom); 259 + System.out.println("提交角色数据成功 = " + poolRoleInfo.verboseInfo());
276 } 260 }
277 }); 261 });
278 262
...@@ -358,7 +342,7 @@ public static void pay(final PoolPayInfo poolPayInfo,final PoolPayListener poolP ...@@ -358,7 +342,7 @@ public static void pay(final PoolPayInfo poolPayInfo,final PoolPayListener poolP
358 ```java 342 ```java
359 public static boolean hasChannelCenter() 343 public static boolean hasChannelCenter()
360 ``` 344 ```
361 -#### 2.7、用户中心接口(必接) 345 +#### 2.7、用户中心接口
362 346
363 说明:打开渠道用户中心界面 347 说明:打开渠道用户中心界面
364 348
...@@ -680,30 +664,29 @@ PoolSdkHelper.paymentSuccess(AppActivity.this, orderIds.toString()); ...@@ -680,30 +664,29 @@ PoolSdkHelper.paymentSuccess(AppActivity.this, orderIds.toString());
680 664
681 代码示例: 665 代码示例:
682 ```java 666 ```java
683 -if(paramCustom == null || paramCustom.length() <= 0) 667 + if(paramCustom == null || paramCustom.length() <= 0)
684 -{ 668 + {
685 -PoolSdkLog.logError("paysuccess data error :" + paramCustom); 669 + PoolSdkLog.logError("paysuccess data error :" + paramCustom);
686 -return; 670 + return;
687 -} 671 + }
688 - 672 +
689 -try { 673 + try {
690 -PoolSdkLog.logInfo("paySuccess:" + paramCustom); 674 + PoolSdkLog.logInfo("paySuccess:" + paramCustom);
691 -JSONArray jsonArray = new JSONArray(paramCustom); 675 + JSONArray jsonArray = new JSONArray(paramCustom);
692 -StringBuilder orderIds = new StringBuilder(); 676 + StringBuilder orderIds = new StringBuilder();
693 -int length = jsonArray.length(); 677 + int length = jsonArray.length();
694 -for (int i = 0; i < length; i++) { 678 + for (int i = 0; i < length; i++) {
695 -JSONObject jb = jsonArray.getJSONObject(i); 679 + JSONObject jb = jsonArray.getJSONObject(i);
696 -String orderId = jb.getString("orderId"); 680 + String orderId = jb.getString("orderId");
697 -orderIds.append(orderId); 681 + orderIds.append(orderId);
698 -if(i != length -1) {//最后一项不加分割符 682 + if(i != length -1) {//最后一项不加分割符
699 -orderIds.append(","); 683 + orderIds.append(",");
700 -} 684 + }
701 -} 685 + }
702 -PoolSdkHelper.paymentSuccess(AppActivity.this, orderIds.toString()); 686 + PoolSdkHelper.paymentSuccess(AppActivity.this, orderIds.toString());
703 -} catch (JSONException e) { 687 + } catch (JSONException e) {
704 -// TODO Auto-generated catch block 688 + e.printStackTrace();
705 -e.printStackTrace(); 689 + }
706 -}
707 ``` 690 ```
708 691
709 692
......
No preview for this file type