lizhihui

更新添加OAID统计

Showing 120 changed files with 1117 additions and 926 deletions
No preview for this file type
# 更新说明
# 快速更新说明(新接入请参考文档demo))
2019-10-30<br>
``` 在2018-12-19基础上,替换 libs 和 assets 资源即可 ```<br>
2018-12-19<br>
``` 在2018-09-19基础上,替换 libs 资源即可 ```<br>
......
No preview for this file type
......@@ -2,8 +2,8 @@
<config>
<sdkconfig
YA_APPID="5b96123bf0d7705a6107ef47"
YA_APPKEY="c3fd1c45163b357e976d17e9c4f43aa6"
YA_APPID="5a9e59a6f0d7706952ebe735"
YA_APPKEY="2cdc96b8bdc7c381174dcd46307bb0dc"
gamesimplename="testest"
......
No preview for this file type
No preview for this file type
......@@ -150,7 +150,7 @@ function initMatching(){
if(Core.isIos){
Core.server = 'https://sdk.uuufish.com';
}else{
Core.server = 'http://sdk.uuufish.com';
Core.server = 'https://sdk.uuufish.com';
}
......
SERVER_URL=http://sdk.uuufish.com
CDN_SERVER_URL=http://sdk.uuufish.com
SERVER_URL=https://sdk.uuufish.com
CDN_SERVER_URL=https://sdk.uuufish.com
SDK_TYPE=.sys_config_youyu
\ No newline at end of file
......
{
"supplier":{
"vivo":{
"appid":"100215079"
},
"xiaomi":{
},
"huawei":{
},
"oppo":{
}
}
}
No preview for this file type
*.iml
.gradle
/local.properties
/.idea/caches
/.idea/libraries
/.idea/modules.xml
/.idea/workspace.xml
/.idea/navEditor.xml
/.idea/assetWizardSettings.xml
.DS_Store
/build
/captures
.externalNativeBuild
<component name="ProjectCodeStyleConfiguration">
<code_scheme name="Project" version="173">
<Objective-C-extensions>
<file>
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Import" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Macro" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Typedef" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Enum" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Constant" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Global" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Struct" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="FunctionPredecl" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Function" />
</file>
<class>
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Property" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Synthesize" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="InitMethod" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="StaticMethod" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="InstanceMethod" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="DeallocMethod" />
</class>
<extensions>
<pair source="cpp" header="h" fileNamingConvention="NONE" />
<pair source="c" header="h" fileNamingConvention="NONE" />
</extensions>
</Objective-C-extensions>
</code_scheme>
</component>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="GradleSettings">
<option name="linkedExternalProjectsSettings">
<GradleProjectSettings>
<compositeConfiguration>
<compositeBuild compositeDefinitionSource="SCRIPT" />
</compositeConfiguration>
<option name="distributionType" value="DEFAULT_WRAPPED" />
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="resolveModulePerSourceSet" value="false" />
</GradleProjectSettings>
</option>
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/build/classes" />
</component>
<component name="ProjectType">
<option name="id" value="Android" />
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="RunConfigurationProducerService">
<option name="ignoredProducers">
<set>
<option value="org.jetbrains.plugins.gradle.execution.test.runner.AllInPackageGradleConfigurationProducer" />
<option value="org.jetbrains.plugins.gradle.execution.test.runner.TestClassGradleConfigurationProducer" />
<option value="org.jetbrains.plugins.gradle.execution.test.runner.TestMethodGradleConfigurationProducer" />
</set>
</option>
</component>
</project>
\ No newline at end of file
No preview for this file type
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="gen"/>
<classpathentry kind="output" path="bin/classes"/>
</classpath>
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>Demo_haibao_juhe_sdk</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.python.pydev.PyDevBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.android.ide.eclipse.adt.PreCompilerBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.android.ide.eclipse.adt.ApkBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.buildship.core.gradleprojectbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>com.android.ide.eclipse.adt.AndroidNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.python.pydev.pythonNature</nature>
<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
</natures>
</projectDescription>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?eclipse-pydev version="1.0"?><pydev_project>
<pydev_property name="org.python.pydev.PYTHON_PROJECT_INTERPRETER">Default</pydev_property>
<pydev_property name="org.python.pydev.PYTHON_PROJECT_VERSION">python 2.7</pydev_property>
</pydev_project>
connection.arguments=
connection.gradle.distribution=GRADLE_DISTRIBUTION(WRAPPER)
connection.java.home=null
connection.jvm.arguments=
connection.project.dir=
derived.resources=.gradle,build
eclipse.preferences.version=1
project.path=\:
eclipse.preferences.version=1
encoding/<project>=UTF-8
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
org.eclipse.jdt.core.compiler.compliance=1.6
org.eclipse.jdt.core.compiler.source=1.6
@echo off
cd /d %~dp0
"%ANT_ROOT%\bin\ant" clean release -f build.xml
pause
\ No newline at end of file
# This file is used to override default values used by the Ant build system.
#
# This file must be checked into Version Control Systems, as it is
# integral to the build system of your project.
# This file is only used by the Ant script.
# You can use this to override default values such as
# 'source.dir' for the location of your java source folder and
# 'out.dir' for the location of your output folder.
# You can also use it define how the release builds are signed by declaring
# the following properties:
# 'key.store' for the location of your keystore and
# 'key.alias' for the name of the key to use.
# The password will be asked during the build when you use the 'release' target.
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, user-scalable=no" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<meta name="format-detection" content="telephone=no">
<meta name="screen-orientation" content="portrait">
<meta name="full-screen" content="yes">
<meta http-equiv="x-ua-compatible" content="IE=edge" />
<title>
手游平台支付
</title>
<style>
h4,p{font-size: 24px;
font-weight: normal;
padding: 0 20px;font-family: "微软雅黑"; width: 100%;}
p{ text-indent: 2em;}
</style>
</head>
<body>
<div class="mask"></div>
<div class="horizontal" style="height: 220px;">
<h4>1. 海豹游戏服务条款的接受</h4>
<p>1.1 海豹游戏由广州游爱兄弟信息技术有限公司(以下简称“游爱兄弟”)及其关联公司合法运营,海豹游戏在本用户服务协议的条款和要求下提供服务。</p>
<p>1.2 当用户访问、浏览及使用海豹游戏提供的各项服务、业务时,用户便表明其接受了本服务协议的条款,并同意受本服务协议的约束,用户保证其提交的信息真实、准确、及时和完整;若用户不同意本协议条款的,请停止注册程序。</p>
<p>1.3 本服务协议所称的用户是指完全同意本服务协议所有条款(以下简称“服务条款”)并访问或浏览海豹游戏相关页面的服务接受者。</p>
<h4>2. 服务条款的变更和修改</h4>
<p>海豹游戏保留依其自主判断在将来的任何时间变更、修改、增加或删除本服务协议条款的权利。所有修改的协议均构成本服务协议的一部分。海豹游戏有权随时对服务条款进行修改,一旦发生服务条款的变动,海豹游戏将公示修改的内容;当用户使用海豹游戏的任何服务时,应接受海豹游戏随时提供的与该服务相关的规则或说明,并且此规则或说明均构成本服务条款的一部分。用户如果不同意服务条款的修改,可以主动取消已经获得的服务;如果用户继续享用服务,则视为用户已经接受服务条款的修改。</p>
<h4>3. 服务说明</h4>
<p>3.1 海豹游戏运用自己的操作系统通过国际互联网向用户提供丰富的网上资源,包括网盘、书签、邮箱、皮肤、微博、空间、游戏、论坛、SNS社区和实时定位、好友识别等其它个性化服务(以下简称本服务)。除非另有明确规定,基于增强或强化目前服务目的所新增的任何新功能、服务、新产品,均无条件地适用本服务条款。</p>
<p>3.2 除非本协议中另有规定,否则海豹游戏对服务不承担任何责任,即用户对服务的使用承担风险。海豹游戏不保证服务一定会满足用户的使用要求,也不保证服务不会中断,对服务的及时性、安全性、准确性也不作担保。</p>
<p>3.3 为使用本服务,用户必须自行配备接入国际互联网所必需的设备,包括计算机、手机、掌上电脑及其他存取装置或接受服务所需其它设备,并自行支付与此服务有关的费用。 </p>
<p>3.4 海豹游戏保留在日后对全部或部分服务项目收取费用的权利。</p>
<p>3.5 用户接受本服务时,须提供完整、真实、准确、最新的个人资料并按其变更情况不断更新账号资料。</p>
<p>3.6 若用户提供任何错误、不实、过时或不完整的资料,或者海豹游戏有合理理由怀疑前述资料为错误、不实、过时或不完整,海豹游戏有权暂停或终止用户的账号,并拒绝其现在或将来使用本服务的全部或一部分。</p>
<p>3.7 海豹游戏有权规定并修改使用本服务的一般措施,包括但不限于决定保留电子邮件信息或其他上载内容的时间、限制本服务一个账号可接收信息的数量等措施。如海豹游戏未能储存或删除本服务的内容或其他信息,海豹游戏不负担任何责任。对于用户3个月未使用的账号,海豹游戏有权(但无义务)予以删除。</p>
<p>3.8 由于用户经由本服务张贴、上传或传送内容、与本服务连线、违反本服务条款或侵害其他人的任何权利导致任何第三方提出权利主张或使海豹游戏遭受任何形式的罚款或处罚,用户同意以适当方式充分消除对海豹游戏的不利影响,赔偿海豹游戏及其分公司、关联公司、代理人或其他合作伙伴及员工的损失,并使其免受损害。</p>
<h4>4. 用户应遵守以下法律及法规</h4>
<p>用户同意遵守中华人民共和国相关法律、法规的规定,在使用海豹游戏时,不得侵犯任何第三方的合法权益。在任何情况下,如果海豹游戏有合理理由认为用户的行为可能违反上述法律、法规或侵犯第三方的合法权益,海豹游戏可以在任何时候,不经事先通知终止向该用户提供服务。用户应了解国际互联网的无国界性,应特别注意遵守当地所有有关的法律和法规。</p>
<h4>5. 用户隐私权</h4>
<p>用户在遵守上述协议要求的前提下,海豹游戏将充分保护用户享有个人隐私。除非因以下原因,未经用户授权,本网站不公开、编辑或透露其个人账号资料:</p>
<p>根据有关法律法规的要求;</p>
<p>按照相关政府主管部门的要求;</p>
<p>维护社会个体和公众的安全;</p>
<p>为维护社会公共利益的需要;</p>
<p>维护本网站的合法权益;</p>
<p>事先获得用户的明确授权;</p>
<p>符合其他相关的要求。</p>
<h4>6. 用户账号、密码和安全</h4>
<p>6.1 用户一旦注册成功,便成为海豹游戏的注册用户,将得到一个密码和账号。用户有义务保证密码和账号的安全。用户对利用该密码和账号所进行的一切活动负全部责任;因此所衍生的任何损失或损害,海豹游戏无法也不会承担任何责任。</p>
<p>6.2 用户的密码和账号遭到未授权的使用或发生其他任何安全问题,用户可以立即通知海豹游戏。用户在每次连线结束,应结束账号使用,否则用户可能得不到海豹游戏的安全保护。</p>
<p>6.3 海豹游戏禁止用户交易海豹游戏,海豹游戏有权收回用户交易的海豹游戏。如果因用户交易海豹游戏引起的任何纠纷,海豹游戏不承担任何责任。</p>
<h4>7. 对用户信息的存储和限制</h4>
<p>海豹游戏不对用户在海豹游戏任何服务下发布信息的删除或储存失败负责。海豹游戏有权判断用户的行为是否符合海豹游戏服务条款的规定,如果海豹游戏认为用户违反了服务条款的规定,海豹游戏有权删除用户发布或发送的信息,直至中断或终止向其提供服务。</p>
<h4>8. 禁止用户从事以下行为:</h4>
<p>8.1 上载、张贴、发送或传送任何非法、淫秽、色情、低俗的,胁迫、骚扰、中伤他人的,诽谤、侵害他人隐私或诋毁他人名誉或商誉的,其他违反国家法律法规、社会主义道德规范及不适当的信息或电子邮件,包括但不限于资讯、资料、文字、软件、音乐、照片、图形、信息、视频或其他资料(以下简称内容)。</p>
<p>8.2 以任何方式危害未成年人。</p>
<p>8.3 冒充任何人或机构,或以虚伪不实的方式谎称或使人误认为与任何人或任何机构有关。</p>
<p>8.4 伪造标题或以其他方式操控识别资料,使人误认为该内容为海豹游戏所传送。</p>
<p>8.5 上载、张贴、发送电子邮件或以其他方式传送无权传送的内容。</p>
<p>8.6 上载、张贴、发送电子邮件或以其他方式传送侵犯任何人的专利、商标、著作权、商业秘密或其他民事权利之内容。</p>
<p>8.7 上载、张贴、发送电子邮件或以其他方式传送广告函件、促销资料、垃圾邮件等。</p>
<p>8.8 干扰或破坏本服务或与本服务相连的服务器和网络,或不遵守本服务协议之规定。</p>
<p>8.9 违反任何相关的中国法律、法规、规章、条例等其他具有法律约束力的规范。</p>
<p>8.10 跟踪或以其他方式骚扰他人。</p>
<p>8.11 窃取他人密码、账号和其它数字化信息或财产。</p>
<p>8.12 其他被海豹游戏视为不适当的行为。</p>
<p>8.13 海豹游戏有权对用户载、张贴、发送的内容进行审核,有任何违反法律法规或本协议之有关规定的内容,海豹游戏有权立即将其删除或屏蔽,且不需要对用户另行通知。</p>
<p>8.14 海豹游戏封号规则</p>
<p>1.无视国家规定,在姓名、游戏角色名等地方中使用违规词语或不文明词语、非法字符</p>
<p>处罚规则:视情节轻重给予时限性冻结账号的处罚;情节严重者,给予永久冻结的处罚。</p>
<p>2.涉及到侵入、拦截、破坏、复制、修改游戏程序,以及宣扬、叫卖和使用各种辅助性程序或恶性非法程序,即使用外挂程序、或在游戏中宣传外挂程序的行为。</p>
<p>处罚规则:视情节轻重给予时限性冻结账号的处罚;情节严重者,给予永久冻结的处罚。</p>
<p>3.以任何弄虚作假的形式来蒙蔽或者欺骗其他用户,如发布模仿官方并带有病毒的网站、非官方中奖信息、非法广告、游戏代码、木马、外挂、病毒、色情信息、垃圾广告等信息</p>
<p>处罚规则:视情节轻重给予时限性冻结账号的处罚;情节严重者,给予永久冻结的处罚。</p>
<p>4.通过海豹游戏发布非法网站,宣传或使用私服、游戏代码、木马、外挂、病毒、色情信息、垃圾广告、非法广告等信息</p>
<p>处罚规则:视情节轻重给予时限性冻结账号的处罚;情节严重者,给予永久冻结的处罚。</p>
<p>5.通过海豹游戏发布触犯政府法令的文字如:煽动、反动、猥亵、暴力、种族歧视、宗教歧视等字眼,包含这类相关字的反向书写。</p>
<p>处罚规则:视情节轻重给予时限性冻结账号的处罚;情节严重者,给予永久冻结的处罚,并上报相关部门追究其法律责任。</p>
<p>6.宣传或贩卖BUG、攻击服务器运行、牟取个人利益、影响游戏公平性,以及影响其他玩家正常进行游戏等行为</p>
<p>处罚规则:查证核实后,将暂停账号,并清除所有非法物品;视情节轻重给予时限性冻结账号的处罚;情节严重者,给予永久冻结的处罚。</p>
<p>7.盗取或参与盗取他人账号,给被盗者造成严重损失的行为</p>
<p>处罚规则:查证核实后,视情节轻重给予时限性冻结账号的处罚;情节严重者,给予永久冻结的处罚,并上报相关部门追究其法律责任。</p>
<p>8.侮辱、毁谤、猥亵、威胁、辱骂其他用户,扭曲事实、恶意散布不实谣言,恶意影响游戏环境等行为</p>
<p>处罚规则:视情节轻重给予时限性冻结账号的处罚;情节严重者,给予永久冻结的处罚。</p>
<h4>9. 内容及其披露</h4>
<p>9.1 用户对经由本服务上载、张贴或传送的内容负全部责任;对于经由本服务而传送的内容,海豹游戏不保证前述内容的正确性、完整性或及时性。在任何情况下,海豹游戏均不对任何用户提供的内容负责,包括但不限于任何内容发生任何错误或纰漏以及衍生的任何损失或损害,用户负责处理与其提供的内容相关的任何及全部纠纷。海豹游戏有权(但无义务)拒绝或删除经由本服务提供的任何内容。用户使用上述内容,应自行承担风险。</p>
<p>9.2 海豹游戏有权利在下述情况下,对内容进行保存或披露:</p>
<p>法律程序所规定</p>
<p>本服务条款规定</p>
<p>被侵害的第三人提出权利主张</p>
<p>为保护海豹游戏、其使用者及社会公众的权利、财产或人身安全</p>
<p>其他海豹游戏认为有必要的情况。</p>
<h4>10. 电子公告栏的张贴内容</h4>
<p>10.1 “电子公告栏”包括空间、论坛、SNS社区和其它一般公众可以使用的区域;</p>
<p>10.2 用户一旦在本服务电子公告栏上传或张贴内容,即视为用户授予海豹游戏该内容著作权之免费及非独家、永久的许可使用权,海豹游戏有权为展示、传播及推广前述内容之目的,对上述内容进行复制、修改、出版。由此展示、传播及推广行为所产生的损失或利润,均由海豹游戏承担或享受。海豹游戏有权自主决定是否给予此类用户鼓励或奖励。</p>
<p>10.3 因用户进行上述张贴,而导致任何第三方提出索赔要求或衍生的任何损害或损失,用户须承担全部责任。</p>
<p>10.4 非经海豹游戏事先许可,用户不得对他人上传或张贴在电子公告栏或本服务其他内容进行复制、出售或用作其他商业用途。</p>
<h4>11. 海豹游戏服务使用规则</h4>
<p>11.1 用户必须保证,拥有上传之照片、文字等作品之著作权或已获得合法授权,在本网站之上传行为未侵犯任何第三方之合法权益。否则,将由用户承担由此带来的一切法律责任;用户不得将任何内部资料、机密资料、涉及他人隐私资料或侵犯任何人的专利、商标、著作权、商业秘密或其他专属权利之内容加以上载、张贴、或以其他方式传送。</p>
<p>11.2 用户不得利用本服务进行故意制作、传播计算机病毒等破坏性程序,不得针对本服务、与本服务连接的服务器或网络制造干扰、混乱,或违反连接本服务的网络的任何要求、程序、政策或规则,否则海豹游戏将保留追究其法律责任的权利并有权将其提交给相关部门处理。</p>
<p>11.3 海豹游戏有权对用户上传的图片、添加的文字等内容进行审核,有任何违反法律法规或本协议之有关规定的图片、文字,海豹游戏有权立即将其删除或屏蔽,且不需要对用户另行通知。</p>
<p>11.4 用户不得将广告函件、促销资料、垃圾邮件等,加以上载、张贴、发送电子邮件或以其他方式传送。</p>
<p>11.5 海豹游戏郑重提请用户注意,任何经由本服务以上载、张贴、发送的资料、文字、照片、图形、视讯、信息、用户的登记资料或其他资料(以下简称“内容”),无论系公开还是私下传送,均由内容提供者承担责任。海豹游戏无法控制经由本服务传送之内容,也无法对用户的使用行为进行全面控制,因此不保证内容的合法性、正确性、完整性、真实性或品质;用户已预知使用本服务时,可能会接触到令人不快、不适当或令人厌恶之内容,并同意将自行加以判断并承担所有风险,而不依赖于海豹游戏。但在任何情况下,海豹游戏有权依法停止传输任何前述内容并采取相应行动,包括但不限于暂停用户使用本服务的全部或部分,保存有关记录,并向有关机关报告。但海豹游戏有权(但无义务)依其自行之考量,拒绝和删除可经由本服务提供之违反本条款的或其他引起海豹游戏或用户反感的任何内容。</p>
<p>11.6 用户完全理解并同意,若第三方在用户不知情或未经用户同意的前提下,将其文字、图片作品上传于海豹游戏空间及由此所产生的任何可能侵害其权益的行为,海豹游戏均不对任何人承担任何责任。</p>
<p>11.7 海豹游戏有权根据政府机关或权利人的要求删除用户上载、张贴、发送的内容,无论海豹游戏事先是否通知。</p>
<p>11.8 海豹游戏有权根据服务的需要,收回用户所用的空间域名或减少用户所用空间的大小,无论海豹游戏事先是否通知。</p>
<h4>12. 海豹游戏论坛规则</h4>
<p>12.1 关于用户名和昵称</p>
<p>不得使用党和国家领导人或其他知名人士的真实姓名、字号、艺名、笔名作为用户名和昵称;</p>
<p>不得使用国家机构或其他机构的名称作为用户名和昵称;</p>
<p>不得使用和其他网友之名相近、相仿的用户名和昵称;</p>
<p>不得使用不文明、不健康,或带攻击性、侮辱性的用户名和昵称;</p>
<p>请勿使用易产生歧义、引起他人误解的用户名和昵称;</p>
<p>不得使用各种奇形怪状的符号作为用户名和昵称;</p>
<p>对于违反规定或产生不良后果的用户名和昵称,本站有权删除而不必事先通知。</p>
<p>12.2 关于签名</p>
<p>不得出现宣扬反动、封建迷信、淫秽、色情、赌博、暴力、凶杀、恐怖、教唆犯罪等不符合国家法律规定的以及任何包含种族、性别、宗教歧视性和猥亵性的信息内容;</p>
<p>不得出现有侮辱性言语、挑衅、辱骂其他人以及不健康内容;</p>
<p>不得出现广告性质的内容以及本公司以外其他网站的链接;</p>
<p>海豹游戏有权在不需要通知和解释的情况下除去违反以上规定的签名内容,并对情节严重者予以封号处理。</p>
<p>12.3 关于发贴内容</p>
<p>遵守相关法规,严禁发表违反法律法规及社会主义道德规定的内容;</p>
<p>使用文明用语,不得张贴对任何人进行人身攻击、谩骂、诋毁的言论;</p>
<p>不得张贴未经公开报道、未经证实的消息;</p>
<p>不得张贴与所在论坛主题无关的消息、言论和图片;</p>
<p>未经海豹游戏同意,不得张贴带有商业性质的内容或任何形式的广告,不得张贴海豹游戏及其关联公司以外其他网站的链接;</p>
<p>不得恶意灌水,内容相同的帖子不得一文多发;</p>
<p>不得在帖子中(标题和内容)加入各种奇形怪状的符号;</p>
<p>转贴文章应注明原始出处和时间;</p>
<p>对于违反以上规定的内容,在不需要通知和解释的情况下,海豹游戏以及版主有权予以删除,并对情节严重者予以封账号处理。</p>
<p>12.4 关于贴图</p>
<p>不得张贴宣扬反动、封建迷信、淫秽、色情、赌博、暴力、凶杀、恐怖、教唆犯罪等不符合国家法律规定的以及任何包含种族、性别、宗教歧视性和猥亵性的图片;</p>
<p>不得出现带有侮辱性、挑衅、辱骂其他人以及不健康内容的图片;</p>
<p>请勿使用易产生歧义、引起他人误解的图片;</p>
<p>摘录、转贴的图片请注明出处及作者,禁止张贴侵犯他人著作权、版权等知识产权的图片;</p>
<p>不得张贴与论坛主题无关的图片;</p>
<p>海豹游戏有权在不需要通知和解释的情况下删除违反以上规定的图片,并对情节严重者予以封账号处理。</p>
<h4>13. 海豹游戏游戏规则</h4>
<p>13.1 用户应当遵守游戏公约、玩家守则及不时发布的游戏规则、公告等;</p>
<p>13.2 用户不得通过不正当的手段或其他不公平的手段使用海豹游戏的游戏产品和服务或参与海豹游戏的游戏活动。用户不得干扰海豹游戏正常地提供产品和服务,包括但不限于:攻击、侵入海豹游戏的网站服务器或使网站服务器过载;制作、发布、传播、使用任何形式的妨碍游戏公平性的辅助工具或程序(外挂);利用程序的漏洞和错误(Bug)破坏游戏的正常进行或传播该漏洞或错误(Bug);不合理地干扰或阻碍他人使用海豹游戏所提供的产品和服务。</p>
<p>13.3 为维护游戏的公平性,如果海豹游戏发现用户数据异常,无论用户对该异常数据产生是否负有过错,海豹游戏均有权根据本规则、游戏公约、玩家守则及后期不时发布的游戏公告等,采取相应措施:包括但不限于对该账号的冻结、终止、删除;用户在此承诺海豹游戏有权采取上述行动,并承诺不得就上述行为要求海豹游戏做任何补偿或退费。</p>
<p>13.4 海豹游戏在此特别提示用户:</p>
<p>海豹游戏提供的游戏将按照现状提供,用户明确知道游戏中存在已知和未知的漏洞和错误(Bug)。尽管海豹游戏将尽最大努力解决已知的漏洞和错误(Bug),但用户知道或应该知道游戏中仍可能包含未知的漏洞和错误(Bug)等。用户同意不向海豹游戏及其关联公司因任何漏洞和错误(Bug)主张任何赔偿。海豹游戏不提倡虚拟物品之间的交易,并不对该交易中产生的任何问题进行支持和保障。</p>
<h4>14. 手机特色功能说明</h4>
<p>14.1 用户明确知道,海豹游戏提供的实时定位服务将向用户及用户的不特定海豹游戏好友提供用户的实时空间位置信息。</p>
<p>14.2 用户可选择向海豹游戏导入手机通讯簿上所对应的好友关系链,但海豹游戏确保将不导入好友关系链之外的任何信息(包括好友姓名及其他任何相关信息) </p>
<p>14.3 海豹游戏将对好友关系链通过不可逆转的方式加密存储,包括海豹游戏和您的任何好友都将无法获知您的真实好友关系链和真实手机号码。</p>
<h4>15. 海豹游戏的知识产权及其他权利</h4>
<p>15.1 海豹游戏对本服务及本服务所使用的软件和受知识产权相关法律或其他法律保护的资料享有相应的权利。</p>
<p>15.2 经由本服务传送的内容,受到著作权法、商标法、专利法或其他法律的保护;未经海豹游戏明示授权许可,用户不得进行修改、出租、散布或衍生其他作品,用户本人创作并在公开使用区域张贴的内容除外。</p>
<p>15.3 用户对本服务所使用的软件有非专属性使用权,但自己不得或许可任何第三方复制、修改、出售或衍生产品。</p>
<p>15.4 海豹游戏及其他海豹游戏图样、产品及服务名称,均为海豹游戏及其关联公司所享有的商标,未经海豹游戏所事先书面授权,任何人不得使用、 复制或用作其他用途。</p>
<h4>16. 免责声明</h4>
<p>16.1 海豹游戏对于本服务包含的或用户经由或从任何与本服务有关的途径所获得的任何内容、信息或广告,不保证其正确性或可靠性;并且对于用户经本服务上的广告、展示而购买、取得的任何产品、信息或资料,海豹游戏不负保证责任。用户自行承担担使用本服务的风险。</p>
<p>16.2 海豹游戏有权但无义务,改善或更正本服务任何部分之任何疏漏、错误。</p>
<p>16.3 海豹游戏不保证以下事项(包括但不限于):</p>
<p>本服务适合用户的使用要求;</p>
<p>本服务不受干扰,及时、安全、可靠或不出现错误;</p>
<p>用户经由本服务取得的任何产品、服务或其他材料符合用户的期望;</p>
<p>16.4 用户使用经由本服务下载的或取得的任何资料,其风险自行负担;因该使用而导致用户手机或其他设备系统损坏或资料流失,用户应负完全责任;</p>
<p>16.5 对基于以下原因而造成的利润、商业信誉、资料的损失或其他有形或无形损失,海豹游戏不承担任何直接、间接、附带、衍生或惩罚性的赔偿:</p>
<p>本服务使用或无法使用;</p>
<p>经由本服务购买或取得的任何产品、资料或服务;</p>
<p>用户资料遭到未授权的使用或修改;</p>
<p>用户资料丢失或被删除;</p>
<p>其他与本服务相关的事宜。</p>
<p>16.6 用户在浏览网际网路时自行判断使用海豹游戏的检索目录。该检索目录可能会引导用户进入到被认为具有攻击性或不适当的网站,海豹游戏没有义务查看检索目录所列网站的内容,因此,对其正确性、合法性、正当性不负任何责任。</p>
<h4>17. 服务的修改和终止</h4>
<p>海豹游戏有权在未事前通知的情况下在任何时候,暂时或永久地修改或终止本服务或其中任何一部分。海豹游戏对本服务的修改或终止对用户和任何第三人不承担任何责任。海豹游戏有权基于任何理由,终止用户的账号、密码或拒绝其使用本服务,或删除、转移用户存储、发布在本服务的内容,海豹游戏采取上述行为均不需通知,并且对用户和任何第三人不承担任何责任。</p>
<h4>18. 通知</h4>
<p>海豹游戏向用户发出的通知,可以采用电子邮件、页面公告、常规信件、电话或海豹游戏认为适合的形式。服务条款的修改或其他事项变更时,海豹游戏将会以上述形式进行通知。</p>
<h4>19. 全部协议</h4>
<p>本服务协议和海豹游戏的其他服务条款构成完整的协议。</p>
<h4>20. 法律的适用和管辖</h4>
<p>本服务条款的生效、履行、解释及争议的解决均适用中华人民共和国法律,发生的争议提交广州仲裁委员会裁决。如果本服务协议中某项条款因与中华人民共和国现行法律相抵触而导致无效,将不影响其他部分的效力。</p>
<h4>21. 生效条件</h4>
<p>本协议自用户访问、浏览及使用海豹游戏之时开始生效。</p>
</div>
<!-- end -->
<script type="text/javascript" src="js/fastclick.min.1.0.js?20150923001"></script>
<script type="text/javascript" src="js/zepto.min.js?20150923001"></script>
<script type="text/javascript">
window.isGetData = 0;
$(function() {
FastClick.attach(document.body);
});
</script>
<script type="text/javascript" src="js/core.min.js?20150923001" ></script>
<script type="text/javascript" src="js/simpScroller-min.js"></script>
<script>
simpScroller(document.querySelector(".horizontal"), {});
</script>
</body>
</html>
\ No newline at end of file
SERVER_URL=http://sdk.uuufish.com
CDN_SERVER_URL=http://sdk.uuufish.com
SDK_TYPE=.sys_config_youyu
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.yaxd.haibao.sdk.demo"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="20" />
<!-- SDK start -->
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
<uses-permission android:name="android.permission.READ_LOGS" />
<uses-permission android:name="android.permission.GET_TASKS" />
<uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" />
<uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
<uses-permission android:name="org.simalliance.openmobileapi.SMARTCARD" />
<uses-permission android:name="android.permission.NFC" />
<uses-feature android:name="android.hardware.nfc.hce" />
<!-- SDK end -->
<application
android:name="com.yaxd.haibao.sdk.application.PoolSDKApplication"
android:allowBackup="true"
android:icon="@drawable/public_sdk_self_ic_launcher"
android:label="@string/app_name" >
<activity
android:name="com.youai.foolsdk.demo.AppActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:label="@string/app_name"
android:screenOrientation="landscape"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<!-- SDK start -->
<receiver android:name="com.yaxd.haibao.sdk.framework.AppInstallReceiver" >
<intent-filter>
<action android:name="android.intent.action.PACKAGE_ADDED" />
<action android:name="android.intent.action.PACKAGE_REPLACED" />
<action android:name="android.intent.action.PACKAGE_REMOVED" />
<data android:scheme="package" />
</intent-filter>
</receiver>
<activity
android:name="com.youai.sdk.YouaiSDK"
android:label="youai_sdk"
android:launchMode="singleTask"
android:theme="@android:style/Theme.Dialog" />
<service
android:name="com.youai.sdk.YouaiService"
android:enabled="true" >
<intent-filter>
<action android:name="com.youai.sdk.YouaiService" />
</intent-filter>
</service>
<service
android:name="com.youai.sdk.FloatViewService"
android:enabled="true"
android:exported="true" >
<intent-filter>
<action android:name="com.youai.sdk.FloatViewService" />
</intent-filter>
</service>
<receiver android:name="com.youai.sdk.Receiver" >
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</receiver>
<activity
android:name="com.alipay.sdk.app.H5PayActivity"
android:configChanges="keyboardHidden|navigation|orientation"
android:exported="false"
android:screenOrientation="behind" />
<activity
android:name="com.alipay.sdk.auth.AuthActivity"
android:configChanges="keyboardHidden|navigation|orientation"
android:exported="false"
android:screenOrientation="behind" />
<activity
android:name=".wxapi.WXPayEntryActivity"
android:exported="true"
android:launchMode="singleTop" />
<activity
android:name=".wxapi.WXEntryActivity"
android:exported="true"
android:launchMode="singleTop" />
<!-- SDK end -->
</application>
</manifest>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project name="PoolSdk" default="help">
<!-- The local.properties file is created and updated by the 'android' tool.
It contains the path to the SDK. It should *NOT* be checked into
Version Control Systems. -->
<property file="local.properties" />
<!-- The ant.properties file can be created by you. It is only edited by the
'android' tool to add properties to it.
This is the place to change some Ant specific build properties.
Here are some properties you may want to change/update:
source.dir
The name of the source directory. Default is 'src'.
out.dir
The name of the output directory. Default is 'bin'.
For other overridable properties, look at the beginning of the rules
files in the SDK, at tools/ant/build.xml
Properties related to the SDK location or the project target should
be updated using the 'android' tool with the 'update' action.
This file is an integral part of the build system for your
application and should be checked into Version Control Systems.
-->
<property file="ant.properties" />
<!-- if sdk.dir was not set from one of the property file, then
get it from the ANDROID_HOME env var.
This must be done before we load project.properties since
the proguard config can use sdk.dir -->
<property environment="env" />
<condition property="sdk.dir" value="${env.ANDROID_HOME}">
<isset property="env.ANDROID_HOME" />
</condition>
<!-- The project.properties file is created and updated by the 'android'
tool, as well as ADT.
This contains project specific properties such as project target, and library
dependencies. Lower level build properties are stored in ant.properties
(or in .classpath for Eclipse projects).
This file is an integral part of the build system for your
application and should be checked into Version Control Systems. -->
<loadproperties srcFile="project.properties" />
<!-- quick check on sdk.dir -->
<fail
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."
unless="sdk.dir"
/>
<!--
Import per project custom build rules if present at the root of the project.
This is the place to put custom intermediary targets such as:
-pre-build
-pre-compile
-post-compile (This is typically used for code obfuscation.
Compiled code location: ${out.classes.absolute.dir}
If this is not done in place, override ${out.dex.input.absolute.dir})
-post-package
-post-build
-pre-clean
-->
<import file="custom_rules.xml" optional="true" />
<!-- Import the actual build file.
To customize existing targets, there are two options:
- Customize only one target:
- copy/paste the target into this file, *before* the
<import> task.
- customize it to your needs.
- Customize the whole content of build.xml
- copy/paste the content of the rules files (minus the top node)
into this file, replacing the <import> task.
- customize to your needs.
***********************
****** IMPORTANT ******
***********************
In all cases you must update the value of version-tag below to read 'custom' instead of an integer,
in order to avoid having your file be overridden by tools such as "android update project"
-->
<!-- version-tag: 1 -->
<import file="${sdk.dir}/tools/ant/build.xml" />
</project>
/** Automatically generated file. DO NOT MODIFY */
package com.yaxd.haibao.sdk.demo;
public final class BuildConfig {
public final static boolean DEBUG = true;
}
\ No newline at end of file
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* aapt tool from the resource data it found. It
* should not be modified by hand.
*/
package com.yaxd.haibao.sdk.demo;
public final class R {
public static final class attr {
}
public static final class drawable {
public static final int public_sdk_self_demo_btn_login_n=0x7f020000;
public static final int public_sdk_self_demo_btn_login_s=0x7f020001;
public static final int public_sdk_self_demo_btn_main_n=0x7f020002;
public static final int public_sdk_self_demo_btn_main_s=0x7f020003;
public static final int public_sdk_self_demo_main=0x7f020004;
public static final int public_sdk_self_ic_launcher=0x7f020005;
public static final int public_sdk_self_sdk_login_bg=0x7f020006;
public static final int public_sdk_self_ya_bt_selector=0x7f020007;
public static final int public_sdk_self_ya_login_bt_selector=0x7f020008;
}
public static final class id {
public static final int forum_bt=0x7f050005;
public static final int logout_bt=0x7f050004;
public static final int ya_channel_center=0x7f050000;
public static final int ya_enter_game_bt=0x7f050007;
public static final int ya_login_bt=0x7f050006;
public static final int ya_pay_bt=0x7f050001;
public static final int ya_submit_role_data_bt=0x7f050003;
public static final int ya_switch_account_bt=0x7f050002;
}
public static final class layout {
public static final int public_sdk_self_game=0x7f030000;
public static final int public_sdk_self_game_login=0x7f030001;
}
public static final class string {
public static final int app_name=0x7f040000;
}
}
/** Automatically generated file. DO NOT MODIFY */
package com.youai.poolsdk.demo;
public final class BuildConfig {
public final static boolean DEBUG = true;
}
\ No newline at end of file
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* aapt tool from the resource data it found. It
* should not be modified by hand.
*/
package com.youai.poolsdk.demo;
public final class R {
public static final class attr {
}
public static final class drawable {
public static final int public_sdk_self_demo_btn_login_n=0x7f020000;
public static final int public_sdk_self_demo_btn_login_s=0x7f020001;
public static final int public_sdk_self_demo_btn_main_n=0x7f020002;
public static final int public_sdk_self_demo_btn_main_s=0x7f020003;
public static final int public_sdk_self_demo_main=0x7f020004;
public static final int public_sdk_self_ic_launcher=0x7f020005;
public static final int public_sdk_self_sdk_login_bg=0x7f020006;
public static final int public_sdk_self_ya_bt_selector=0x7f020007;
public static final int public_sdk_self_ya_login_bt_selector=0x7f020008;
}
public static final class id {
public static final int forum_bt=0x7f050005;
public static final int logout_bt=0x7f050004;
public static final int ya_channel_center=0x7f050000;
public static final int ya_enter_game_bt=0x7f050007;
public static final int ya_login_bt=0x7f050006;
public static final int ya_pay_bt=0x7f050001;
public static final int ya_submit_role_data_bt=0x7f050003;
public static final int ya_switch_account_bt=0x7f050002;
}
public static final class layout {
public static final int public_sdk_self_game=0x7f030000;
public static final int public_sdk_self_game_login=0x7f030001;
}
public static final class string {
public static final int app_name=0x7f040000;
}
}
<?xml version="1.0" encoding="UTF-8"?>
<lint>
</lint>
\ No newline at end of file
# This file is automatically generated by Android Tools.
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
#
# This file must *NOT* be checked into Version Control Systems,
# as it contains information specific to your local configuration.
# location of the SDK. This is only used by Ant
# For customization when using a Version Control System, please read the
# header note.
sdk.dir=D:\\android\\sdk
# This file is automatically generated by Android Tools.
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
#
# This file must be checked in Version Control Systems.
#
# To customize properties used by the Ant build system edit
# "ant.properties", and override values to adapt the script to your
# project structure.
#
# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
# Project target.
target=android-20
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android" >
<item android:drawable="@drawable/public_sdk_self_demo_btn_main_s" android:state_selected="true"/>
<item android:drawable="@drawable/public_sdk_self_demo_btn_main_s" android:state_pressed="true"/>
<item android:drawable="@drawable/public_sdk_self_demo_btn_main_n"/>
</selector>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android" >
<item android:drawable="@drawable/public_sdk_self_demo_btn_login_s" android:state_selected="true"/>
<item android:drawable="@drawable/public_sdk_self_demo_btn_login_s" android:state_pressed="true"/>
<item android:drawable="@drawable/public_sdk_self_demo_btn_login_n"/>
</selector>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/public_sdk_self_demo_main" >
<Button
android:id="@+id/ya_channel_center"
android:layout_width="180dp"
android:layout_height="60dp"
android:layout_alignParentRight="true"
android:layout_alignTop="@+id/ya_pay_bt"
android:background="@drawable/public_sdk_self_ya_bt_selector"
android:onClick="yaOnClick"/>
<Button
android:id="@+id/ya_switch_account_bt"
android:layout_width="180dp"
android:layout_height="60dp"
android:layout_alignParentRight="true"
android:layout_alignTop="@+id/ya_submit_role_data_bt"
android:background="@drawable/public_sdk_self_ya_bt_selector"
android:onClick="yaOnClick" />
<Button
android:id="@+id/ya_submit_role_data_bt"
android:layout_width="180dp"
android:layout_height="60dp"
android:layout_alignParentBottom="true"
android:layout_alignParentLeft="true"
android:background="@drawable/public_sdk_self_ya_bt_selector"
android:onClick="yaOnClick" />
<Button
android:id="@+id/ya_pay_bt"
android:layout_width="180dp"
android:layout_height="60dp"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:background="@drawable/public_sdk_self_ya_bt_selector"
android:onClick="yaOnClick" />
<Button
android:id="@+id/logout_bt"
android:layout_width="180dp"
android:layout_height="60dp"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
android:background="@drawable/public_sdk_self_ya_bt_selector"
android:onClick="yaOnClick"
android:text="注销"
android:textColor="@android:color/black"
/>
<Button
android:id="@+id/forum_bt"
android:layout_width="180dp"
android:layout_height="60dp"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:background="@drawable/public_sdk_self_ya_bt_selector"
android:onClick="yaOnClick"
android:text="论坛"
android:textColor="@android:color/black"
/>
</RelativeLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:background="@drawable/public_sdk_self_sdk_login_bg"
android:layout_height="match_parent" >
<Button
android:id="@+id/ya_login_bt"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_alignParentTop="true"
android:layout_marginRight="28dp"
android:layout_marginTop="21dp"
android:background="@drawable/public_sdk_self_ya_login_bt_selector"
android:onClick="yaOnClick" />
<Button
android:id="@+id/ya_enter_game_bt"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignLeft="@+id/ya_login_bt"
android:layout_below="@+id/ya_login_bt"
android:layout_marginTop="28dp"
android:background="@drawable/public_sdk_self_ya_login_bt_selector"
android:onClick="yaOnClick"/>
</RelativeLayout>
apply plugin: 'com.android.application'
android {
compileSdkVersion 29
buildToolsVersion '29.0.2'
defaultConfig {
applicationId "com.haibaojuhe.demo"
targetSdkVersion 27
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation fileTree(include: ['*.jar', '*.aar'], dir: 'libs')
}
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
# To enable ProGuard in your project, edit project.properties
# to define the proguard.config property as described in that file.
#
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in ${sdk.dir}/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the ProGuard
# include property in project.properties.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# Add any project specific keep options here:
# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
# Uncomment this to preserve the line number information for
# debugging stack traces.
#-keepattributes SourceFile,LineNumberTable
# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
......
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.yaxd.haibao.sdk.demo"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="20" />
package="com.youai.demo.poolsdk">
<!-- SDK start -->
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
......@@ -24,7 +18,6 @@
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
<uses-permission android:name="org.simalliance.openmobileapi.SMARTCARD" />
<uses-permission android:name="android.permission.NFC" />
<uses-feature android:name="android.hardware.nfc.hce" />
<!-- SDK end -->
......@@ -37,7 +30,7 @@
android:name="com.youai.foolsdk.demo.AppActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:label="@string/app_name"
android:screenOrientation="landscape"
android:screenOrientation="portrait"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
......@@ -46,7 +39,9 @@
</intent-filter>
</activity>
<!-- SDK start -->
<receiver android:name="com.yaxd.haibao.sdk.framework.AppInstallReceiver" >
<receiver
android:name="com.yaxd.haibao.sdk.framework.AppInstallReceiver"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.PACKAGE_ADDED" />
<action android:name="android.intent.action.PACKAGE_REPLACED" />
......@@ -69,14 +64,6 @@
<action android:name="com.youai.sdk.YouaiService" />
</intent-filter>
</service>
<service
android:name="com.youai.sdk.FloatViewService"
android:enabled="true"
android:exported="true" >
<intent-filter>
<action android:name="com.youai.sdk.FloatViewService" />
</intent-filter>
</service>
<receiver android:name="com.youai.sdk.Receiver" >
<intent-filter>
......@@ -96,14 +83,6 @@
android:configChanges="keyboardHidden|navigation|orientation"
android:exported="false"
android:screenOrientation="behind" />
<activity
android:name=".wxapi.WXPayEntryActivity"
android:exported="true"
android:launchMode="singleTop" />
<activity
android:name=".wxapi.WXEntryActivity"
android:exported="true"
android:launchMode="singleTop" />
<!-- SDK end -->
</application>
......
......@@ -2,8 +2,8 @@
<config>
<sdkconfig
YA_APPID="5b96123bf0d7705a6107ef47"
YA_APPKEY="c3fd1c45163b357e976d17e9c4f43aa6"
YA_APPID="5a9e59a6f0d7706952ebe735"
YA_APPKEY="2cdc96b8bdc7c381174dcd46307bb0dc"
gamesimplename="testest"
......
No preview for this file type
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>sdk_3</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>com.aptana.editor.php.aptanaPhpBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.aptana.ide.core.unifiedBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>com.aptana.projects.webnature</nature>
<nature>com.aptana.editor.php.phpNature</nature>
</natures>
<filteredResources>
<filter>
<id>1489975865951</id>
<name></name>
<type>26</type>
<matcher>
<id>org.eclipse.ui.ide.multiFilter</id>
<arguments>1.0-name-matches-false-false-node_modules</arguments>
</matcher>
</filter>
</filteredResources>
</projectDescription>
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, user-scalable=no" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<meta name="format-detection" content="telephone=no">
<meta name="screen-orientation" content="portrait">
<meta name="full-screen" content="yes">
<meta http-equiv="x-ua-compatible" content="IE=edge" />
<title>
手游平台支付
</title>
<style>
h4,p{font-size: 24px;
font-weight: normal;
padding: 0 20px;font-family: "微软雅黑"; width: 100%;}
p{ text-indent: 2em;}
</style>
</head>
<body>
<div class="mask"></div>
<div class="horizontal" style="height: 220px;">
<h4>【重要提示】</h4>
<p>一、《海豹网络服务协议》(以下简称“本协议”)由您与海豹手游平台服务提供方共同缔结,本协议具有合同效力。海豹账号由广州游爱兄弟信息技术有限公司(以下简称“游爱兄弟”)及其关联公司所有并合法运营,游爱兄弟及其关联公司在本用户服务协议的条款和要求下提供服务。</p>
<p>二、请用户在使用海豹手游平台服务之前必须仔细慎重阅读、充分理解各条款内容,尤其是免除或者限制游爱兄弟责任的条款(以下称“免责条款”)、对用户权利进行限制的条款(以下称“限制条款”)、约定争议解决方式和司法管辖的条款。前述免责、限制及争议解决方式和管辖条款可能以黑体加粗、颜色标记或其他合理方式提醒用户注意,请在确认同意本协议之前或在使用海豹手游平台服务之前再次阅读前述条款。双方确认前述条款并非属于《合同法》第40条规定的“免除其责任、加重对方责任、排除对方主要权利的”的条款,并同意该条款的合法性及有效性。</p>
<p>三、除非您已阅读并接受本协议所有条款,否则您无权使用游爱兄弟提供的服务。您点击同意、接受或下一步,或您注册、使用海豹手游平台服务均视为您已阅读并同意签署本协议。</p>
<p>四、游爱兄弟有权随时对服务条款进行修改,所有修改的协议均构成本服务协议的一部分。一旦发生服务条款的变动,游爱兄弟将公示修改的内容;当您再使用海豹账号的任何服务时,应接受海豹平台随时提供的与该服务相关的规则或说明,并且此规则或说明均构成本服务条款的一部分。如果您不同意服务条款的修改,请取消已经获得的服务;如果您继续享用服务,则视为您已经接受修改后的服务条款。</p>
<p>五、如果您未满18周岁,请在法定监护人的陪同下阅读本协议,并在取得监护人对您使用海豹手游平台服务、支付费用的行为,以及对本协议全部条款的同意之后,才可使用海豹手游平台服务。</p>
<p>六、 游爱兄弟运用自己的操作系统通过国际互联网向用户提供丰富的网上资源,包括网盘、书签、邮箱、皮肤、微博、空间、游戏、论坛、SNS社区和实时定位、好友识别等其它个性化服务(以下简称本服务)。除非另有明确规定,基于增强或强化目前服务目的所新增的任何新功能、服务、新产品,均无条件地适用本服务条款。</p>
<h4>【释义】</h4>
<p>您:又称“玩家”或“用户”,指被授权使用游爱兄弟游戏及其服务的自然人。</p>
<p>游爱兄弟:指广州游爱兄弟信息技术有限公司及其关联公司。</p>
<p>本服务:包括游戏服务以及游爱兄弟运用自己的操作系统通过国际互联网向用户提供丰富的网上资源,包括网盘、书签、邮箱、皮肤、微博、空间、游戏、论坛、SNS社区和实时定位、好友识别等其它个性化服务。</p>
<p>游戏数据:指您在使用游爱兄弟游戏过程中产生的被服务器记录的各种数据,包括但不限于角色数据、虚拟物品数据、行为日志、购买日志等等数据。</p>
<h4>1.账号注册、使用与保管</h4>
<p>1.1按照文化部《网络游戏管理暂行办法》及《网络游戏服务格式化协议必备条款》的相关规定,用户接受游爱兄弟服务时,应进行实名注册。您进行实名注册时,应提供有关您本人真实、合法、准确、有效的身份信息及其他相关信息,且不得以他人身份资料进行实名注册。</p>
<p>1.2游爱兄弟有权审查用户注册所提供的身份信息是否真实、有效。若用户提供任何虚假、错误、不实、过时或不完整的资料,或者游爱兄弟有合理理由怀疑前述资料为虚假、错误、不实、过时或不完整,游爱兄弟应当采取包括但不限于暂停或终止用户的账号,并拒绝其现在或将来使用全部或部分本服务等措施,因此造成的一切后果由用户自行承担。</p>
<p>1.3用户以真实身份注册后,有合理、合法的理由需要修改所提供的个人身份资料信息的,游爱兄弟将在审核同意后为用户提供该项服务。</p>
<p>1.4游爱兄弟应积极地采取技术与管理等合理措施保障用户账号的安全、有效;用户有义务妥善保管其账号及密码,并正确、安全地使用其账号及密码。任何一方未尽上述义务导致账号密码遗失、账号被盗等情形而给另一方和其他第三方的合法权益造成损害的,应当承担由此产生的法律责任。用户在每次连线结束,应结束账号使用,否则用户可能得不到海豹账号的安全保护。</p>
<p>1.5用户对登录后所持账号产生的行为依法享有权利和承担责任。
用户发现其账号或密码被他人非法使用或有使用异常的情况的,应及时联系游爱兄弟,请求游爱兄弟采取有效措施。游爱兄弟收到您的有效请求并核实身份后,会根据您的要求或结合具体情况采取相应措施(包括但不限于暂停该账号的登录和使用等),游爱兄弟因根据您的请求采取相应措施而造成您及其他用户损失的,由您自行承担。游爱兄弟根据用户的通知采取措施暂停用户账号的登录和使用的,游爱兄弟应当要求用户提供并核实与其注册身份信息相一致的个人有效身份信息,否则不予办理。</p>
<p>1.6 游爱兄弟禁止用户交易海豹账号,游爱兄弟有权收回用户交易的海豹账号。如果因用户交易海豹账号引起的任何纠纷,游爱兄弟不承担任何责任。</p>
<p>1.7用户不得将游戏账号以任何方式提供给他人使用,否则,因此产生任何法律后果及责任均由您自行承担,且游爱兄弟有权对您的游戏账号采取包括但不限于警告、限制或禁止使用游戏账号全部或部分功能、删除游戏账号及游戏数据及其他相关信息、封号直至注销的处理措施。因此造成的一切后果由您自行承担。</p>
<p>1.8为高效利用服务器资源,用户于一年内未登录或使用的账号,游爱兄弟有权(但无义务)对该账号及其账号下的游戏数据及相关信息采取删除等处置措施。</p>
<h4>2.用户信息保护与收集</h4>
<p>2.1游爱兄弟在获得用户提供与其个人身份有关的信息资料后,应当采取必要措施保护用户的个人信息资料的安全。未经用户许可游爱兄弟不得向任何第三方提供、公开或共享用户注册资料中的姓名、个人有效身份证件号码、联系方式、家庭住址等个人身份信息,但下列情况除外:</p>
<p>(1)用户或用户监护人授权或要求游爱兄弟披露;</p>
<p>(2)游爱兄弟应有关法律法规要求披露;</p>
<p>(3)游爱兄弟应司法机关或行政机关要求,基于法定程序需要提供;</p>
<p>(4)游爱兄弟为了维护自己合法权益而向用户提起诉讼或者仲裁;</p>
<p>(5)维护社会个体和公众的安全和社会公共利益的需要。</p>
<p>2.2除前述个人信息资料之外,您同意并授权游爱兄弟基于行政、司法机关的要求或安全、用户体验优化等考虑而收集您的其他必要信息,但游爱兄弟仅可为履行本协议之目的收集与利用该等信息。</p>
<p>2.3 您应对通过游爱兄弟及相关服务了解、接收或可接触到的包括但不限于其他用户在内的任何人的个人信息予以充分尊重。您不应以搜集、复制、存储、传播或以其他任何方式使用其他用户的个人信息,否则,由此产生的后果由您自行承担。</p>
<h4>3. 游爱兄弟的义务与权利</h4>
<p>3.1游爱兄弟同意通过互联网络,根据本协议约定,为用户提供游戏服务及其相关辅助服务。</p>
<p>3.2游爱兄弟应保存游戏虚拟货币的充值记录,保存期限为自用户充值之日起180日。</p>
<p>3.3游爱兄弟有权自行决定终止运营游爱兄弟的游戏,或因其他任何原因终止运营,届时游爱兄弟将会按照文化部有关网络游戏终止运营的相关规定处理游戏终止运营相关事宜,以保障用户合法权益。</p>
<p>3.4在您违反本协议约定的情况下,游爱兄弟有权采取相应的措施进行处理,该措施包括但不限于:不经通知随时对相关内容进行删除,并视行为情节对违规游戏账号处以包括但不限于警告、限制或禁止使用全部或部分功能、游戏账号封禁直至注销的处罚,并公告处理结果,要求您赔偿因您从事违约行为而给游爱兄弟造成的损失等。</p>
<p>3.5为更好地向您提供服务,游爱兄弟有权对游戏中的任何内容或构成元素等作出调整、更新或优化(包括但不限于您购买或正在使用的角色、游戏装备及其他游戏道具的美术设计、性能及相关数值设置等作出调整、更新或优化等)。且如游爱兄弟做出相应调整、更新或优化的,您同意不会因此追究游爱兄弟的任何法律责任。</p>
<h4>4.用户行为规则</h4>
<p>4.1您在使用游爱兄弟游戏服务时须遵守法律法规和社会的公序良俗,不得利用游爱兄弟游戏服务从事违法违规行为,不得侵犯任何主体的合法权益和社会公共利益,或做出其他违背社会道德的行为。包括但不限于以下行为:</p>
<p>(1)违反宪法确定的基本原则的;</p>
<p>(2)危害国家统一、主权和领土完整的;</p>
<p>(3)泄露国家秘密、危害国家安全或者损害国家荣誉和利益的;</p>
<p>(4)煽动民族仇恨、民族歧视,破坏民族团结,或者侵害民族风俗、习惯的;</p>
<p>(5)宣扬邪教、迷信的;</p>
<p>(6)散布谣言,扰乱社会秩序,破坏社会稳定的;</p>
<p>(7)宣扬淫秽、色情、赌博、暴力,或者教唆犯罪的;</p>
<p>(8)侮辱、诽谤他人,侵害他人合法权益的;</p>
<p>(9)违背社会公德的;</p>
<p>(10)有法律、行政法规和国家规定禁止的其他内容的;</p>
<p>(11)以任何方式危害未成年人;</p>
<p>(12)跟踪或以其他方式骚扰他人;</p>
<p>(13)冒充任何人或机构,或以虚伪不实的方式谎称或使人误认为与任何人或任何机构有关;</p>
<p>(14)上载、张贴、发送电子邮件或以其他方式传送广告函件、促销资料、垃圾邮件等。</p>
<p>(15)其他被游爱兄弟视为不适当的行为。</p>
<p>4.2游爱兄弟有权对用户上载、张贴、发送的内容进行审核,有任何违反法律法规或本协议有关规定的内容,游爱兄弟有权立即将其删除或屏蔽,且不需要对用户另行通知。</p>
<p>4.3 海豹账号封号规则</p>
<p>(1)无视国家规定,在姓名、游戏角色名等地方中使用违规词语或不文明词语、非法字符处罚规则:视情节轻重给予时限性冻结账号的处罚;情节严重者,给予永久冻结的处罚。</p>
<p>(2)涉及到侵入、拦截、破坏、复制、修改游戏程序,以及宣扬、叫卖和使用各种辅助性程序或恶性非法程序,即使用外挂程序、或在游戏中宣传外挂程序的行为。</p>
<p>处罚规则:视情节轻重给予时限性冻结账号的处罚;情节严重者,给予永久冻结的处罚。</p>
<p>(3)以任何弄虚作假的形式来蒙蔽或者欺骗其他用户,如发布模仿官方并带有病毒的网站、非官方中奖信息、非法广告、游戏代码、木马、外挂、病毒、色情信息、垃圾广告等信息处罚规则:视情节轻重给予时限性冻结账号的处罚;情节严重者,给予永久冻结的处罚。</p>
<p>(4)通过海豹账号发布非法网站,宣传或使用私服、游戏代码、木马、外挂、病毒、色情信息、垃圾广告、非法广告等信息</p>
<p>处罚规则:视情节轻重给予时限性冻结账号的处罚;情节严重者,给予永久冻结的处罚。</p>
<p>(5)通过海豹账号发布触犯政府法令的文字如:煽动、反动、猥亵、暴力、种族歧视、宗教歧视等字眼,包含这类相关字的反向书写。
处罚规则:视情节轻重给予时限性冻结账号的处罚;情节严重者,给予永久冻结的处罚,并上报相关部门追究其法律责任。</p>
<p>(6)宣传或贩卖BUG、攻击服务器运行、牟取个人利益、影响游戏公平性,以及影响其他玩家正常进行游戏等行为</p>
<p>处罚规则:查证核实后,将暂停账号,并清除所有非法物品;视情节轻重给予时限性冻结账号的处罚;情节严重者,给予永久冻结的处罚。</p>
<p>(7)盗取或参与盗取他人账号,给被盗者造成严重损失的行为</p>
<p>处罚规则:查证核实后,视情节轻重给予时限性冻结账号的处罚;情节严重者,给予永久冻结的处罚,并上报相关部门追究其法律责任。</p>
<p>(8)侮辱、毁谤、猥亵、威胁、辱骂其他用户,扭曲事实、恶意散布不实谣言,恶意影响游戏环境等行为</p>
<p>处罚规则:视情节轻重给予时限性冻结账号的处罚;情节严重者,给予永久冻结的处罚。</p>
<p>4.4电子公告栏的张贴内容</p>
<p>(1) “电子公告栏”包括空间、论坛、SNS社区和其它一般公众可以使用的区域;</p>
<p>(2) 用户一旦在本服务电子公告栏上传或张贴内容,即视为用户授予游爱兄弟该内容著作权之免费及非独家、永久的许可使用权,游爱兄弟有权为展示、传播及推广前述内容之目的,对上述内容进行复制、修改、出版。由此展示、传播及推广行为所产生的损失或利润,均由游爱兄弟承担或享受。游爱兄弟有权自主决定是否给予此类用户鼓励或奖励。</p>
<p>(3) 因用户进行上述张贴,而导致任何第三方提出索赔要求或衍生的任何损害或损失,用户须承担全部责任。</p>
<p>(4)非经游爱兄弟事先许可,用户不得对他人上传或张贴在电子公告栏或本服务其他内容进行复制、出售或用作其他商业用途。</p>
<p>4.5 海豹论坛规则</p>
<p>(1) 关于用户名和昵称</p>
<p>不得使用党和国家领导人或其他知名人士的真实姓名、字号、艺名、笔名作为用户名和昵称;</p>
<p>不得使用国家机构或其他机构的名称作为用户名和昵称;</p>
<p>不得使用和其他网友之名相近、相仿的用户名和昵称;</p>
<p>不得使用不文明、不健康,或带攻击性、侮辱性的用户名和昵称;</p>
<p>请勿使用易产生歧义、引起他人误解的用户名和昵称;</p>
<p>不得使用各种奇形怪状的符号作为用户名和昵称;</p>
<p>对于违反规定或产生不良后果的用户名和昵称,本站有权删除而不必事先通知。</p>
<p>(2) 关于签名</p>
<p>不得出现宣扬反动、封建迷信、淫秽、色情、赌博、暴力、凶杀、恐怖、教唆犯罪等不符合国家法律规定的以及任何包含种族、性别、宗教歧视性和猥亵性的信息内容;</p>
<p>不得出现有侮辱性言语、挑衅、辱骂其他人以及不健康内容;</p>
<p>不得出现广告性质的内容以及本公司以外其他网站的链接;</p>
<p>游爱兄弟有权在不需要通知和解释的情况下除去违反以上规定的签名内容,并对情节严重者予以封号处理。</p>
<p>(3)关于发贴内容</p>
<p>遵守相关法规,严禁发表违反法律法规及社会主义道德规定的内容;</p>
<p>使用文明用语,不得张贴对任何人进行人身攻击、谩骂、诋毁的言论;</p>
<p>不得张贴未经公开报道、未经证实的消息;</p>
<p>不得张贴与所在论坛主题无关的消息、言论和图片;</p>
<p>未经游爱兄弟同意,不得张贴带有商业性质的内容或任何形式的广告,不得张贴游爱兄弟及其关联公司以外其他网站的链接;</p>
<p>不得恶意灌水,内容相同的帖子不得一文多发;</p>
<p>不得在帖子中(标题和内容)加入各种奇形怪状的符号;</p>
<p>转贴文章应注明原始出处和时间;</p>
<p>对于违反以上规定的内容,在不需要通知和解释的情况下,游爱兄弟以及版主有权予以删除,并对情节严重者予以封账号处理</p>
<p>(4)关于贴图</p>
<p>不得张贴宣扬反动、封建迷信、淫秽、色情、赌博、暴力、凶杀、恐怖、教唆犯罪等不符合国家法律规定的以及任何包含种族、性别、宗教歧视性和猥亵性的图片;</p>
<p>不得出现带有侮辱性、挑衅、辱骂其他人以及不健康内容的图片;
请勿使用易产生歧义、引起他人误解的图片;</p>
<p>摘录、转贴的图片请注明出处及作者,禁止张贴侵犯他人著作权、版权等知识产权的图片;不得张贴与论坛主题无关的图片;</p>
<p>游爱兄弟有权在不需要通知和解释的情况下删除违反以上规定的图片,并对情节严重者予以封账号处理。</p>
<p>4.6游戏规则</p>
<p>(1) 用户应当遵守游戏公约、玩家守则及不时发布的游戏规则、公告等;</p>
<p>(2)用户不得通过不正当的手段或其他不公平的手段使用海豹账号的游戏产品和服务或参与海豹账号的游戏活动。用户不得干扰游爱兄弟正常地提供产品和服务,包括但不限于:攻击、侵入游爱兄弟的网站服务器或使网站服务器过载;制作、发布、传播、使用任何形式的妨碍游戏公平性的辅助工具或程序(外挂);利用程序的漏洞和错误(Bug)破坏游戏的正常进行或传播该漏洞或错误(Bug);不合理地干扰或阻碍他人使用游爱兄弟所提供的产品和服务。</p>
<p>(3) 可能因游戏软件BUG、版本更新缺陷、第三方病毒攻击或其他任何因素导致您的游戏角色、游戏道具、游戏装备及游戏币等账号数据发生异常。在数据异常的原因未得到查明前,游爱兄弟有权暂时冻结该游戏账号;若查明数据异常为非正常游戏行为所致,游爱兄弟有权恢复游戏账号数据至异常发生前的原始状态,且无须向您承担任何责任。</p>
<h4>5.手机特色功能说明</h4>
<p>5.1 用户明确知道,游爱兄弟提供的实时定位服务将向用户及用户的不特定海豹账号好友提供用户的实时空间位置信息。</p>
<p>5.2 用户可选择向海豹账号导入手机通讯簿上所对应的好友关系链,但游爱兄弟确保将不导入好友关系链之外的任何信息(包括好友姓名及其他任何相关信息)</p>
<p>5.3 游爱兄弟将对好友关系链通过不可逆转的方式加密存储,包括海豹账号和您的任何好友都将无法获知您的真实好友关系链和真实手机号码。</p>
<h4>6.游戏道具、装备、游戏币</h4>
<p>游戏道具、游戏装备、游戏币等是游爱兄弟游戏服务的一部分,游爱兄弟在此许可您依本协议而获得其使用权。您购买、使用游戏道具、游戏装备、游戏币等应遵循本协议、游戏具体规则的要求;同时,游戏道具、游戏装备、游戏币等可能受到一定有效期限的限制,即使您在规定的有效期内未使用,除可归责于游爱兄弟的原因外,一旦有效期届满,将会自动失效。</p>
<h4>7.知识产权</h4>
<p>7.1游爱兄弟是海豹平台上游戏的知识产权权利人。游爱兄弟游戏(包括游爱兄弟游戏整体及游爱兄弟游戏涉及的所有内容、组成部分或构成要素 )的一切著作权、商标权、专利权、商业秘密等知识产权及其他合法权益,以及与游爱兄弟游戏相关的所有信息内容(包括文字、图片、音频、视频、图表、界面设计、版面框架、有关数据或电子文档等)均受中华人民共和国法律法规和相应的国际条约保护,游爱兄弟享有上述知识产权和合法权益,但相关权利人依照法律规定应享有的权利除外。未经游爱兄弟事先书面同意,不得以任何方式将游爱兄弟游戏(包括游爱兄弟游戏整体及游爱兄弟游戏涉及的所有内容、组成部分或构成要素 )进行商业性使用。</p>
<p>7.2用户在使用游爱兄弟游戏服务中产生的游戏数据的所有权和知识产权归游爱兄弟所有,游爱兄弟有权保存、处置该游戏数据。除本协议另有规定外,对其他游戏数据的保存期限由游爱兄弟自行决定,但国家法律法规另有规定的从其规定。</p>
<p>7.3 游爱兄弟游戏可能涉及第三方知识产权,而该等第三方对您基于本协议在游爱兄弟游戏中使用该等知识产权有要求的,游爱兄弟将以适当方式向您告知该要求,您应当一并遵守。</p>
<h4>8.本服务中包含的信息、链接与广告</h4>
<p>8.1游爱兄弟郑重提请用户注意,任何经由本服务以上载、张贴、发送的资料、文字、照片、图形、视讯、信息、用户的登记资料或其他资料(以下简称“内容”),无论系公开还是私下传送,均由内容提供者承担责任。游爱兄弟无法对用户的全部行为进行全面控制,因此不保证内容的合法性、正确性、完整性、真实性或品质;</p>
<p>8.2游爱兄弟在游戏官方网站、游戏官方论坛、游戏中所提供的所有链接,可能链接到其他个人、公司或组织的网站,提供该等网站的目的,是便利用户自行搜索或取得相关信息,游爱兄弟对于被链接的个人、公司或组织的网站所提供的产品、服务或信息,不担保其真实性、完整性、实时性或可信度。这些个人、公司或组织与游爱兄弟间不存在任何雇佣、委任、代理、合伙或其他类似的关系。</p>
<p>8.3游爱兄弟在游戏官方网站、游戏官方论坛、游戏内可能刊登商业广告或其他推广活动信息。这些广告或推广活动信息是由广告商或商业服务提供者提供,并承担相应责任,游爱兄弟仅提供刊登内容的媒介。用户通过该等链接的网站或广告所购买的商品或服务,其交易行为仅存在于用户与该商品或服务的提供者之间,与游爱兄弟无关,游爱兄弟不就用户与该商品或服务的提供者之间所产生的交易行为承担任何法律责任,用户应予以特别留意。</p>
<p>8.4用户完全理解并同意,若第三方在用户不知情或未经用户同意的前提下,将其文字、图片作品上传于海豹账号空间及由此所产生的任何可能侵害其权益的行为,游爱兄弟均不对任何人承担任何责任。</p>
<h4>9 免责声明</h4>
<p>9.1 用户经本服务上的广告、展示而购买、取得的任何产品、信息或资料,游爱兄弟不负保证责任。用户自行承担相关风险。</p>
<p>9.2 游爱兄弟不保证以下事项(包括但不限于):</p>
<p>本服务不受干扰,及时或不出现错误;</p>
<p>因为用户个体差异,用户经由本服务取得的任何产品、服务或其他材料符合用户的完全期望。</p>
<p>9.3用户使用经由本服务下载的或取得的任何资料,其风险自行负担;因该使用而导致用户手机或其他设备系统损坏或资料流失,用户应负完全责任;</p>
<p>9.4对使用本服务,本服务不能使用或其他第三方的原因而造成用户的利润、商业信誉、资料的损失或其他有形或无形损失,游爱兄弟不承担任何直接、间接、附带、衍生的责任或惩罚性的赔偿。</p>
<p>9.5游爱兄弟提供的游戏将按照现状提供,用户明确知道游戏中存在已知和未知的漏洞和错误(Bug)。尽管游爱兄弟将尽最大努力解决已知的漏洞和错误(Bug),但用户知道或应该知道游戏中仍可能包含未知的漏洞和错误(Bug)等。用户同意不向游爱兄弟及其关联公司因任何漏洞和错误(Bug)主张任何赔偿。游爱兄弟不提倡虚拟物品之间的交易,并不对该交易中产生的任何问题进行支持和保障。</p>
<h4>10. 服务的中断、中止和终止</h4>
<p>10.1对用户服务的中止与终止</p>
<p>(1)用户有发布违法信息、严重违背社会公德、以及其他违反法律禁止性规定的行为,游爱兄弟公司应当立即终止对用户提供服务。</p>
<p>(2)用户在接受游爱兄弟公司服务时实施不正当行为的,游爱兄弟公司有权终止对用户提供服务。该不正当行为的具体情形应当在本协议中有明确约定或属于游爱兄弟公司事先明确告知的应被终止服务的禁止性行为,否则,游爱兄弟公司不得终止对用户提供服务。</p>
<p>(3)用户提供虚假注册身份信息,或实施违反本协议的行为,游爱兄弟有权中止对用户提供全部或部分服务;游爱兄弟采取中止措施应当通知用户并告知中止期间,中止期间应该是合理的,中止期间届满游爱兄弟公司应当及时恢复对用户的服务。</p>
<p>(4)游爱兄弟根据本款(1)、(2)、(3)项的约定中止或终止对用户提供部分或全部服务的,游爱兄弟应负举证责任。</p>
<p>10.2对游戏服务器运营的中断、中止与终止</p>
<p>(1)为了游戏服务器的正常运行,游爱兄弟需要定期对游戏服务器进行停机维护或针对突发事件进行紧急停机维护;因上述情况而造成的正常服务中断、中止,请您予以理解,游爱兄弟有义务尽力将中断时间限制在最短时间内。</p>
<p>发生下列情形之一时,游爱兄弟有权终止或中断游戏服务器所提供之全部或部分服务,对因此而产生的不便或损害,游爱兄弟对用户或第三人均不承担任何责任: ①定期检查或施工,更新软硬件等,游爱兄弟有权暂停服务,但游爱兄弟会尽快完成维护、更新工作; ②游戏服务器遭受损害,无法正常运作; ③突发性的软硬件设备与电子通信设备故障; ④网络提供商线路或其他故障; ⑤在紧急情况之下依照法律的规定或为用户及第三者之人身安全; ⑥第三方原因或其他不可抗力的情形。</p>
<p>(2)游爱兄弟保留在其认为有必要的情况下,终止或部分终止提供游戏服务的权利,终止前将提前60天予以公告。</p>
<p>不管由于何种原因终止游爱兄弟服务,用户应采取相应的措施自行处理游戏虚拟物品,包括但不限于注销或停止使用用户帐号、游戏虚拟物品等相关事宜。用户不得因全面终止游爱兄弟游戏服务而要求网游爱兄弟承担除用户已经购买但尚未使用的游戏虚拟货币外任何形式的赔偿或补偿责任,包括但不限于因不再能继续使用用户帐号、游戏虚拟物品等而要求的赔偿。</p>
<h4>11. 通知</h4>
<p>游爱兄弟向用户发出的通知,可以采用电子邮件、页面公告、常规信件、电话或游爱兄弟认为适合的形式。服务条款的修改或其他事项变更时,游爱兄弟将会以上述形式进行通知。</p>
<h4>12. 全部协议</h4>
<p>本服务协议和游爱兄弟的其他服务条款构成完整的协议。</p>
<h4>13. 法律的适用和管辖</h4>
<p>13.1本服务条款的签署地为广东省广州市天河区。</p>
<p>13.2本服务条款的生效、履行、解释及争议的解决均适用中华人民共和国法律,发生的争议提交广州仲裁委员会裁决。如果本服务协议中某项条款因与中华人民共和国现行法律相抵触而导致无效,将不影响其他部分的效力。</p>
<h4>14. 生效条件</h4>
<p>本协议自用户注册、访问、浏览及使用海豹账号之时开始生效。</p>
</div>
<!-- end -->
<script type="text/javascript" src="js/fastclick.min.1.0.js?20150923001"></script>
<script type="text/javascript" src="js/zepto.min.js?20150923001"></script>
<script type="text/javascript">
window.isGetData = 0;
$(function() {
FastClick.attach(document.body);
});
</script>
<script type="text/javascript" src="js/core.min.js?20150923001" ></script>
<script type="text/javascript" src="js/simpScroller-min.js"></script>
<script>
simpScroller(document.querySelector(".horizontal"), {});
</script>
</body>
</html>
\ No newline at end of file
......@@ -150,7 +150,7 @@ function initMatching(){
if(Core.isIos){
Core.server = 'https://sdk.uuufish.com';
}else{
Core.server = 'http://sdk.uuufish.com';
Core.server = 'https://sdk.uuufish.com';
}
......
......@@ -172,6 +172,7 @@
Core.updateMod('frame');
return false;
});
}
Login.prototype.cache = function(n, p) {
......@@ -385,37 +386,31 @@
});
// that.$c.on('click', '[type=submit],.submit', function(e) {
// var passWordReg = /^[0-9a-zA-Z]+$/;
// e.preventDefault();
// if(/[A-Z]/.test(that.$c.find("input[name='username']").val())){
// Core.showTips("账号不能有大写字母!");
// }else if(/[A-Z]/.test(that.$c.find("input[name='password']").val())){
// Core.showTips("密码不能有大写字母!");
// }else if(that.$c.find("input[name='password']").val().length<6 || that.$c.find("input[name='password']").val().length>16){
// Core.showTips("密码长度为6-16位字符!");
// }else if(!that.$c.find('.checkbox-2').length>0){
// Core.showTips('请同意'+Core.PLATFORM_NAME+'网络协议',1);
// }else if(!passWordReg.test(that.$c.find("input[name='password']").val())){
// Core.showTips('请输入数字字母组成的密码!', true);
// return false;
// }else{
// //如果是游客的话则调用安卓截屏方法
// if (that.$c.find('[name="username"]').val() == that.$c.find('[name="old_usernmae"]').val() && window.android != undefined && window.android.screenShot != undefined ){
// window.android.screenShot();
// }
// $(this).attr("disabled",true);
// $(this).css({"background":"#999"});
// $(this).parent("li").css({"background":"#999"});
//
// Core.ajax_do(that.$c.find('.ajax'), that.register_cb, that);
// }
// return false;
// });
that.$c.on('click', '[type=submit],.submit', function(e) {
var passWordReg = /^[0-9a-zA-Z]+$/;
e.preventDefault();
if(/[A-Z]/.test(that.$c.find("input[name='username']").val())){
Core.showTips("账号不能有大写字母!");
}else if(/[A-Z]/.test(that.$c.find("input[name='password']").val())){
Core.showTips("密码不能有大写字母!");
}else if(that.$c.find("input[name='password']").val().length<6 || that.$c.find("input[name='password']").val().length>16){
Core.showTips("密码长度为6-16位字符!");
}else if(!that.$c.find('.checkbox-2').length>0){
Core.showTips('请同意'+Core.PLATFORM_NAME+'网络协议',1);
}else if(!passWordReg.test(that.$c.find("input[name='password']").val())){
Core.showTips('请输入数字字母组成的密码!', true);
return false;
}else{
//如果是游客的话则调用安卓截屏方法
if (that.$c.find('[name="username"]').val() == that.$c.find('[name="old_usernmae"]').val() && window.android != undefined && window.android.screenShot != undefined ){
window.android.screenShot();
}
$(this).attr("disabled",true);
$(this).css({"background":"#999"});
$(this).parent("li").css({"background":"#999"});
Core.ajax_do(that.$c.find('.ajax'), that.register_cb, that);
}
return false;
});
......@@ -430,7 +425,7 @@
}
Register.prototype.set_random = function(){
var that = this;
var random_name = 'yy' + Math.random().toString(36).substr(-2) + new Date().getTime().toString(36).substr(-6)
var random_name = 'yy' + Math.random().toString(36).substr(-2) + new Date().getTime().toString(36).substr(-4)
var random_passwd = Math.random().toString(36).substr(-6)
that.$c.find('[name="username"]').val(random_name)
that.$c.find('[name="old_usernmae"]').val(random_name)
......@@ -450,19 +445,14 @@
// 显示一个注册成功信息,并跳转到home
this.cache();
Core.showTips('成功注册,欢迎使用' + Core.PLATFORM_NAME + '游戏平台');
//直接进入游戏
Core.finishLogin();
// Core.updateMod('home');
//
// this.$c.find("input#btn-regist").attr('disabled', null);
// this.$c.find('.submit').css({"background":"#00beef"});
// this.$c.find('.submit').parent("li").css({"background":"#00beef"});
Core.updateMod('home');
this.$c.find("input#btn-regist").attr('disabled', null);
this.$c.find('.submit').css({"background":"#00beef"});
this.$c.find('.submit').parent("li").css({"background":"#00beef"});
}
Register.prototype.show_after = function() {
this.set_random();
Core.hide();
Core.showMod("login");
this.$c.find("[type=submit],.submit").click();
}
Core.registerMod('register', Register);
......
......@@ -948,7 +948,7 @@
}
IdentityCard.prototype.show_after = function(){
if(Core.Data.force_auth == 1){
$(".js-return-game").attr("href","javascript:Core.finishLogin()");
$(".js-return-game").attr("href","javascript:Core.finishPay()");
}
}
......
......@@ -85,7 +85,6 @@
<ul class="inline-btn login-inline-btn">
<li>
<a method="post" class="btn btn_pri_block" href="#register">一键注册</a>
<!--<a class="btn btn_pri_block" id="fastReg">一键注册</a>-->
</li>
<li>
......
......@@ -816,8 +816,7 @@ FastClick.attach(document.body);
})();
$(function(){
if (Core.isIos) {
// $('meta[name="viewport"]').attr('content','width=800,maximum-scale=1,user-scalable=no');
$('meta[name="viewport"]').attr('content','width=880,maximum-scale=0.6,user-scalable=no');
$('meta[name="viewport"]').attr('content','width=800,maximum-scale=1,user-scalable=no');
}
});
</script>
......
20180906
\ No newline at end of file
SERVER_URL=https://sdk.uuufish.com
CDN_SERVER_URL=https://sdk.uuufish.com
SDK_TYPE=.sys_config_youyu
\ No newline at end of file
{
"supplier":{
"vivo":{
"appid":"100215079"
},
"xiaomi":{
},
"huawei":{
},
"oppo":{
}
}
}
package com.youai.foolsdk.demo;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.res.Configuration;
import android.os.Bundle;
import android.util.Log;
import android.view.KeyEvent;
import android.view.View;
import android.view.WindowManager.LayoutParams;
import android.widget.Button;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import com.yaxd.haibao.sdk.framework.PoolExitDialogListener;
import com.yaxd.haibao.sdk.framework.PoolExitListener;
import com.yaxd.haibao.sdk.framework.PoolExpansionListener;
import com.yaxd.haibao.sdk.framework.PoolLoginInfo;
import com.yaxd.haibao.sdk.framework.PoolLoginListener;
import com.yaxd.haibao.sdk.framework.PoolLogoutListener;
import com.yaxd.haibao.sdk.framework.PoolPayInfo;
import com.yaxd.haibao.sdk.framework.PoolPayListener;
import com.yaxd.haibao.sdk.framework.PoolPayOrderConfirmHandler;
import com.yaxd.haibao.sdk.framework.PoolReport;
import com.yaxd.haibao.sdk.framework.PoolRoleInfo;
import com.yaxd.haibao.sdk.framework.PoolRoleListener;
import com.yaxd.haibao.sdk.framework.PoolSDKCallBackListener;
import com.yaxd.haibao.sdk.framework.PoolSDKCode;
import com.yaxd.haibao.sdk.framework.PoolSdkConfig;
import com.yaxd.haibao.sdk.framework.PoolSdkHelper;
import com.yaxd.haibao.sdk.framework.PoolSdkLog;
public class AppActivity extends Activity {
import android.app.Activity;
import android.app.AlertDialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.res.Configuration;
import android.os.Bundle;
import android.os.Handler;
import android.view.KeyEvent;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.WindowManager.LayoutParams;
import android.widget.Button;
import android.widget.TextView;
public class AppActivity extends Activity implements OnClickListener {
private Button yaLoginBt;
private Button yaEnterGameBt;
private Button yaPayBt;
private Button yaSubmitRoleDataBt;
private Button yaChannelCenter;
private Button yaSwitchAccountBt;
private Button yaLogoutBt;
private Button yaForumBt;
private Button yaSwitchAccountBt;
//新的view
private Button btLogin;
private Button btEnterGame;
private Button btPay;
private Button btLogout;
private Button btSubRoleInfo;
private Button btOpenChannel;
private Button btSwitchAcc;
private Button btOpenBbs;
//提示LOG
private TextView txMsg,txSdkMsg;
private Activity mContext;
private PoolPayListener mPoolPayListener = new PoolPayListener() {
@Override
public void onPaySuccess(String paramCustom) {
// TODO Auto-generated method stub
//[{"orderId":"20180116114151740535D825","state":0,"productId":"1","productName":"金币","amout":0}]
if(paramCustom == null || paramCustom.length() <= 0)
{
PoolSdkLog.logError("paysuccess data error :" + paramCustom);
return;
}
try {
PoolSdkLog.logInfo("paySuccess:" + paramCustom);
JSONArray jsonArray = new JSONArray(paramCustom);
StringBuilder orderIds = new StringBuilder();
int length = jsonArray.length();
for (int i = 0; i < length; i++) {
JSONObject jb = jsonArray.getJSONObject(i);
String orderId = jb.getString("orderId");
orderIds.append(orderId);
if(i != length -1) {//最后一项不加分割符
orderIds.append(",");
}
}
PoolSdkHelper.paymentSuccess(AppActivity.this, orderIds.toString());
} catch (JSONException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
upTx("支付成功回调:" + paramCustom);
}
@Override
public void onPayFailed(String paramCustom, String errorMsg) {
// TODO Auto-generated method stub
System.out.println("支付失败回调:" + paramCustom + "; errorMsg:"
+ errorMsg);
upTx("支付失败回调:" + paramCustom + "; errorMsg:"
+ errorMsg);
}
};
@Override
public void onRequestPermissionsResult(int requestCode, String[] permissions, int[] grantResults) {
super.onRequestPermissionsResult(requestCode, permissions, grantResults);
PoolSdkHelper.onRequestPermissionsResult(requestCode, permissions, grantResults);
}
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
// int layoutId = getResources().getIdentifier(
// "public_sdk_self_game_login", "layout", getPackageName());
int layoutId = getResources().getIdentifier(
"public_sdk_self_game_login", "layout", getPackageName());
"public_sdk_self_test", "layout", getPackageName());
setContentView(layoutId);
initLoginView();
//PoolSdkHelper.isDebug = true;
mContext = this;
// initLoginView();
initView();
PoolSdkLog.setIsShowLog(true);
PoolSdkHelper.init(this, new PoolSDKCallBackListener() {
@Override
public void poolSdkCallBack(int code, String msg) {
// TODO Auto-generated method stub
PoolSdkLog.logInfo("callback: code:" + code + "msg:" + msg);
PoolSdkLog.logInfo("poolSdkCallBack:code:" + code + ",msg:" + msg);
upTx("poolSdkCallBack:code:" + code + ",msg:" + msg);
switch (code) {
case PoolSDKCode.POOLSDK_INIT_SUCCESS:// 初始化成功
PoolSdkLog.logInfo("游戏中POOLSDK_INIT_SUCCESS");
//login();
PoolSdkLog.logInfo("游戏中收到初始化成功回调");
new Handler().postDelayed(new Runnable() {
@Override
public void run() {
login();
}
}, 1000);
break;
case PoolSDKCode.POOLSDK_INIT_FAIL:
break;
......@@ -62,16 +142,26 @@ public class AppActivity extends Activity {
break;
}
}
});// init(this);// this为游戏的activity对象
}, savedInstanceState);// init(this);// this为游戏的activity对象
PoolSdkHelper.setPayListener(mPoolPayListener );
PoolSdkHelper.setLogoutCallback(new PoolLogoutListener() {
@Override
public void onLogoutSuccess() {
// TODO: 此处处理SDK登出的逻辑
PoolSdkLog.logInfo("游戏中收到logoutSuccess回调");
login();
PoolSdkLog.logInfo("游戏中logoutSuccess");
}
});
txSdkMsg.setText("sdksimplename:"+PoolSdkConfig.getConfigByKey("sdksimplename")
+"\nsdkversioncode:"+PoolSdkConfig.getConfigByKey("sdkversioncode")
+"\ngamesimplename:"+PoolSdkConfig.getConfigByKey("gamesimplename")
+"\nlogincheckurl:"+PoolSdkConfig.getConfigByKey("logincheckurl")
);
}
@Override
......@@ -124,35 +214,30 @@ public class AppActivity extends Activity {
@Override
public void onConfigurationChanged(Configuration newConfig) {
// TODO Auto-generated method stub
super.onConfigurationChanged(newConfig);
PoolSdkHelper.onConfigurationChanged(newConfig);
}
@Override
protected void onSaveInstanceState(Bundle outState) {
// TODO Auto-generated method stub
super.onSaveInstanceState(outState);
PoolSdkHelper.onSaveInstanceState(outState);
}
@Override
protected void onRestoreInstanceState(Bundle savedInstanceState) {
// TODO Auto-generated method stub
super.onRestoreInstanceState(savedInstanceState);
PoolSdkHelper.onRestoreInstanceState(savedInstanceState);
}
@Override
public void onWindowFocusChanged(boolean hasFocus) {
// TODO Auto-generated method stub
super.onWindowFocusChanged(hasFocus);
PoolSdkHelper.onWindowFocusChanged(hasFocus);
}
@Override
public void onWindowAttributesChanged(LayoutParams params) {
// TODO Auto-generated method stub
super.onWindowAttributesChanged(params);
PoolSdkHelper.onWindowAttributesChanged(params);
}
......@@ -165,12 +250,16 @@ public class AppActivity extends Activity {
PoolSdkHelper.showExitDialog(new PoolExitDialogListener() {
@Override
public void onDialogResult(int code, String msg) {
// TODO Auto-generated method stub
switch (code) {
case PoolSDKCode.EXIT_SUCCESS:// 退出成功游戏处理自己退出逻辑
case PoolSDKCode.EXIT_SUCCESS:
// 退出成功游戏处理自己退出逻辑
PoolSdkLog.logInfo("游戏调用自己退出逻辑");
finish();
System.exit(0);
break;
case PoolSDKCode.EXIT_CANCEL:// 取消退出
case PoolSDKCode.EXIT_CANCEL:
// 取消退出
PoolSdkLog.logInfo("收到取消退出回调");
break;
default:
break;
......@@ -216,6 +305,30 @@ public class AppActivity extends Activity {
return getResources().getIdentifier(resName, resType, getPackageName());
}
private void initView(){
btLogin = (Button) findViewById(getRedIdByName("pb_bt_login", "id"));
btEnterGame = (Button) findViewById(getRedIdByName("pb_bt_entergame", "id"));
btPay = (Button) findViewById(getRedIdByName("pb_bt_pay", "id"));
btLogout = (Button) findViewById(getRedIdByName("pb_bt_logout", "id"));
btSubRoleInfo = (Button) findViewById(getRedIdByName("pb_bt_subrole", "id"));
btOpenChannel = (Button) findViewById(getRedIdByName("pb_bt_openchannel", "id"));
btSwitchAcc = (Button) findViewById(getRedIdByName("pb_bt_switchacc", "id"));
btOpenBbs = (Button) findViewById(getRedIdByName("pb_bt_openbbs", "id"));
txMsg = (TextView) findViewById(getRedIdByName("tx_msg", "id"));
txSdkMsg = (TextView) findViewById(getRedIdByName("tx_sdk_msg", "id"));
btLogin.setOnClickListener(this);
btEnterGame.setOnClickListener(this);
btPay.setOnClickListener(this);
btLogout.setOnClickListener(this);
btSubRoleInfo.setOnClickListener(this);
btOpenChannel.setOnClickListener(this);
btSwitchAcc.setOnClickListener(this);
btOpenBbs.setOnClickListener(this);
}
private void initLoginView() {
int ya_login_bt = getRedIdByName("ya_login_bt", "id");// getResources().getIdentifier("ya_login_bt",
// "id",
......@@ -236,56 +349,57 @@ public class AppActivity extends Activity {
yaChannelCenter = (Button) findViewById(getRedIdByName(
"ya_channel_center", "id"));
yaChannelCenter.setText("渠道中心");
yaSwitchAccountBt = (Button) findViewById(getRedIdByName(
"ya_switch_account_bt", "id"));
yaSwitchAccountBt.setText("切换账号");
PoolSdkLog.logError("" + yaPayBt + "yachannel:" + yaChannelCenter);
yaLogoutBt = (Button) findViewById(getRedIdByName("logout_bt", "id"));
yaSwitchAccountBt = (Button) findViewById(getRedIdByName("ya_switch_account_bt", "id"));
yaSwitchAccountBt.setText("切换账号");
yaForumBt = (Button) findViewById(getRedIdByName("forum_bt", "id"));
}
public void yaOnClick(View view) {
if (view == yaLoginBt) {
login();
} else if (view == yaEnterGameBt) {
setContentView(getRedIdByName("public_sdk_self_game", "layout"));// (R.layout.game);
//模拟调用聊天接口:
//PoolSdkHelper.reportChat("content", "世界", "roleId", "roleName", 10, "serverId", "serverName");
// if (view == yaLoginBt) {
// login();
// } else if (view == yaEnterGameBt) {
// setContentView(getRedIdByName("public_sdk_self_game", "layout"));// (R.layout.game);
// initGameView();
// PoolReport.reportEnterGame("chufan","角色名", 12, "201","服务器名");
// } else if (view == yaPayBt) {
// pay();
// } else if (view == yaSubmitRoleDataBt) {
// submitRoleData();
// } else if (view == yaChannelCenter) {
// channelCenter();
// } else if (view == yaSwitchAccountBt) {
// switchAccount();
// } else if (view == yaLogoutBt){
// logout();
// } else if (view == yaForumBt){
// openForum();
// }
}
initGameView();
} else if (view == yaPayBt) {
@Override
public void onClick(View view) {
//新view
if (view == btLogin) {
login();
}else if (view == btEnterGame) {
PoolReport.reportEnterGame("chufan","角色名", 12, "201","服务器名");
}else if (view == btPay) {
pay();
} else if (view == yaSubmitRoleDataBt) {
}else if (view == btLogout) {
logout();
}else if (view == btSubRoleInfo) {
submitRoleData();
} else if (view == yaChannelCenter) {
}else if (view == btOpenChannel) {
channelCenter();
} else if (view == yaLogoutBt){
logout();
} else if (view == yaForumBt){
openForum();
} else if(view == yaSwitchAccountBt){//切换账号
}else if (view == btSwitchAcc) {
switchAccount();
}
}
/**
* 切换帐号
*/
private void switchAccount() {
if(PoolSdkHelper.hasSwitchAccount()){
PoolSdkHelper.switchAccount(this);
}else if(PoolSdkHelper.hasLogout()){
PoolSdkHelper.logout(this);//在注销监听回调中处理注销
}else if(PoolSdkHelper.hasChannelCenter()){//打开渠道中心看是否有切换账号
PoolSdkHelper.openChannelCenter();
}else{
//直接回到登录界面调用登录
int layoutId = getResources().getIdentifier(
"public_sdk_self_game_login", "layout", getPackageName());
setContentView(layoutId);
initLoginView();
}else if (view == btOpenBbs) {
openForum();
}
}
......@@ -299,28 +413,51 @@ public class AppActivity extends Activity {
}
}
private void login() {
private void upTx(final String msg){
mContext.runOnUiThread(new Runnable() {
Log.e("gamechanelId", PoolSdkHelper.getGameChannelId());
@Override
public void run() {
txMsg.setText(msg);
}
});
// new Handler().post(new Runnable() {
//
// @Override
// public void run() {
// txMsg.setText(msg);
// }
// });
}
private void login() {
PoolSdkLog.logError("调用login");
PoolSdkHelper.login("登录自定义字段", new PoolLoginListener() {
@Override
public void onLoginSuccess(PoolLoginInfo poolLoginInfo) {
String userType = poolLoginInfo.getUserType();
String timestamp = poolLoginInfo.getTimestamp();
String serverSign = poolLoginInfo.getServerSign();
String openId = poolLoginInfo.getOpenID();
final String userType = poolLoginInfo.getUserType();
final String timestamp = poolLoginInfo.getTimestamp();
final String serverSign = poolLoginInfo.getServerSign();
final String openId = poolLoginInfo.getOpenID();
// TODO: 把以上信息发送给游戏服务端做登录校验,需要其他信息请从poolLoginInfo对象中获取
System.out.println("登录成功 userType = " + userType
System.out.println("登录成功回调:userType = " + userType
+ "; timestamp = " + timestamp + "; serverSign = "
+ serverSign + "; openId = " + openId);
upTx("登录成功回调:userType = " + userType
+ "; timestamp = " + timestamp + "; serverSign = "
+ serverSign + "; openId = " + openId);
}
@Override
public void onLoginFailed(String errorMsg) {
System.out.println("登录失败 = " + errorMsg);
public void onLoginFailed(final String errorMsg) {
System.out.println("登录失败回调 :" + errorMsg);
upTx("登录失败回调 :" + errorMsg);
}
});
PoolPayOrderConfirmHandler.getInstance(this, 2000, 1000).startOrderConfirmOp(mPoolPayListener);
}
private void pay() {
......@@ -332,7 +469,7 @@ public class AppActivity extends Activity {
// 设置充值金额,单位“元”
poolPayInfo.setAmount("1");
// 服务器id
poolPayInfo.setServerID("8");
poolPayInfo.setServerID("1209");
// 服务器名
poolPayInfo.setServerName("我是服务器名");
// 角色id
......@@ -350,22 +487,27 @@ public class AppActivity extends Activity {
// 兑换比例
poolPayInfo.setExchange("10");
// 自定义参数
poolPayInfo.setCustom("operator=xwrw&server_id=39&player_id=2081&cp_order_id=001000100000020811491470345294&dext=2");
poolPayInfo.setCustom("我是自定义参数");
// TODO Auto-generated method stub
PoolSdkHelper.pay(poolPayInfo, new PoolPayListener() {
@Override
public void onPaySuccess(String paramCustom) {
System.out.println("支付成功 = " + paramCustom);
}
@Override
public void onPayFailed(String paramCustom, String errorMsg) {
System.out.println("支付失败 = " + paramCustom + "; errorMsg = "
+ errorMsg);
}
});
PoolSdkHelper.pay(poolPayInfo, mPoolPayListener);
// PoolSdkHelper.pay(poolPayInfo, new PoolPayListener() {
//
// @Override
// public void onPaySuccess(String paramCustom) {
// System.out.println("支付成功回调:" + paramCustom);
// upTx("支付成功回调:" + paramCustom);
//
// }
//
// @Override
// public void onPayFailed(String paramCustom, String errorMsg) {
// System.out.println("支付失败回调:" + paramCustom + "; errorMsg:"
// + errorMsg);
// upTx("支付失败回调:" + paramCustom + "; errorMsg:"
// + errorMsg);
// }
// });
}
......@@ -378,15 +520,15 @@ public class AppActivity extends Activity {
/********************************************
* 以下所有字段都是必填项
*/
PoolRoleInfo poolRoleInfo = new PoolRoleInfo();
final PoolRoleInfo poolRoleInfo = new PoolRoleInfo();
poolRoleInfo.setRoleID("123456");
poolRoleInfo.setRoleLevel("10");
poolRoleInfo.setRoleSex("0");
poolRoleInfo.setRoleName("我是角色名");
poolRoleInfo.setServerID("8");
poolRoleInfo.setServerID("1209");
poolRoleInfo.setServerName("我是服务器名");
poolRoleInfo.setCustom("角色创建时间");
poolRoleInfo.setRoleCTime(System.currentTimeMillis()/1000);//角色创建时间(秒)
poolRoleInfo.setRoleCTime((long)1509331962);//角色创建时间(秒)
poolRoleInfo.setPartyName("公会名称");
poolRoleInfo.setRoleType("狂战");//角色类型
poolRoleInfo.setRoleChangeTime(System.currentTimeMillis()/1000);//角色更新时间
......@@ -401,7 +543,8 @@ public class AppActivity extends Activity {
PoolSdkHelper.submitRoleData(poolRoleInfo, new PoolRoleListener() {
@Override
public void onRoleDataSuccess(String paramCustom) {
System.out.println("提交角色数据成功 = " + paramCustom);
System.out.println("提交角色数据成功:" + poolRoleInfo.verboseInfo());
upTx("提交角色数据成功:" + poolRoleInfo.verboseInfo());
}
});
}
......@@ -409,11 +552,34 @@ public class AppActivity extends Activity {
/**
* 用户中心
*
* 游戏方先调用PoolSdkHelper.hasChannelCenter()获取是否有用户中心,
* 如果有的话,游戏中需要添加按钮,点击按钮调用PoolSdkHelper.openChannelCenter();
* 游戏方先调用YASDKHelper.hasChannelCenter()获取是否有用户中心,
* 如果有的话,游戏中需要添加按钮,点击按钮调用YASDKHelper.openChannelCenter();
* 如果没有,则不需要显示按钮,也不用调用下面的接口
*/
private void channelCenter() {
PoolSdkHelper.openChannelCenter();
}
/**
* 切换帐号
*/
private void switchAccount() {
if(PoolSdkHelper.hasSwitchAccount()){
PoolSdkHelper.switchAccount(this);
}
}
/**
* 扩展接口
*/
private void expansionInterface() {
PoolSdkHelper.expansionInterface("自定义参数", new PoolExpansionListener() {
@Override
public void onSuccess(String paramCustom) {
}
});
}
}
......
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="#FFFFFF"
android:orientation="vertical"
android:padding="5dp" >
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal" >
<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_margin="5dp"
android:layout_weight="1"
android:orientation="vertical" >
<Button
android:id="@+id/pb_bt_login"
style="?android:attr/buttonStyleSmall"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="登录" />
<Button
android:id="@+id/pb_bt_entergame"
style="?android:attr/buttonStyleSmall"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="进入游戏" />
<Button
android:id="@+id/pb_bt_pay"
style="?android:attr/buttonStyleSmall"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="支付" />
<Button
android:id="@+id/pb_bt_logout"
style="?android:attr/buttonStyleSmall"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="注销" />
</LinearLayout>
<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_margin="5dp"
android:layout_weight="1"
android:orientation="vertical" >
<Button
android:id="@+id/pb_bt_subrole"
style="?android:attr/buttonStyleSmall"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="提交角色数据" />
<Button
android:id="@+id/pb_bt_openchannel"
style="?android:attr/buttonStyleSmall"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="打开渠道个人中心" />
<Button
android:id="@+id/pb_bt_switchacc"
style="?android:attr/buttonStyleSmall"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="切换账号" />
<Button
android:id="@+id/pb_bt_openbbs"
style="?android:attr/buttonStyleSmall"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="打开论坛" />
</LinearLayout>
</LinearLayout>
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_margin="10dp"
android:gravity="center"
/>
<TextView
android:id="@+id/tx_sdk_msg"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_margin="10dp" />
<TextView
android:id="@+id/tx_msg"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_margin="10dp" />
</LinearLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">海豹聚合SDK接入DEMO</string>
<string name="app_name">Demo_PoolSDK</string>
</resources>
......
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.3.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
# Project-wide Gradle settings.
# IDE (e.g. Android Studio) users:
# Gradle settings configured through the IDE *will override*
# any settings specified in this file.
# For more details on how to configure your build environment visit
# http://www.gradle.org/docs/current/userguide/build_environment.html
# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
org.gradle.jvmargs=-Xmx1536m
# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true
No preview for this file type
#Tue Oct 29 15:45:22 CST 2019
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.1-all.zip
#!/usr/bin/env sh
##############################################################################
##
## Gradle start up script for UN*X
##
##############################################################################
# Attempt to set APP_HOME
# Resolve links: $0 may be a link
PRG="$0"
# Need this for relative symlinks.
while [ -h "$PRG" ] ; do
ls=`ls -ld "$PRG"`
link=`expr "$ls" : '.*-> \(.*\)$'`
if expr "$link" : '/.*' > /dev/null; then
PRG="$link"
else
PRG=`dirname "$PRG"`"/$link"
fi
done
SAVED="`pwd`"
cd "`dirname \"$PRG\"`/" >/dev/null
APP_HOME="`pwd -P`"
cd "$SAVED" >/dev/null
APP_NAME="Gradle"
APP_BASE_NAME=`basename "$0"`
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS=""
# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD="maximum"
warn () {
echo "$*"
}
die () {
echo
echo "$*"
echo
exit 1
}
# OS specific support (must be 'true' or 'false').
cygwin=false
msys=false
darwin=false
nonstop=false
case "`uname`" in
CYGWIN* )
cygwin=true
;;
Darwin* )
darwin=true
;;
MINGW* )
msys=true
;;
NONSTOP* )
nonstop=true
;;
esac
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
# Determine the Java command to use to start the JVM.
if [ -n "$JAVA_HOME" ] ; then
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
# IBM's JDK on AIX uses strange locations for the executables
JAVACMD="$JAVA_HOME/jre/sh/java"
else
JAVACMD="$JAVA_HOME/bin/java"
fi
if [ ! -x "$JAVACMD" ] ; then
die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation."
fi
else
JAVACMD="java"
which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation."
fi
# Increase the maximum file descriptors if we can.
if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then
MAX_FD_LIMIT=`ulimit -H -n`
if [ $? -eq 0 ] ; then
if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
MAX_FD="$MAX_FD_LIMIT"
fi
ulimit -n $MAX_FD
if [ $? -ne 0 ] ; then
warn "Could not set maximum file descriptor limit: $MAX_FD"
fi
else
warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
fi
fi
# For Darwin, add options to specify how the application appears in the dock
if $darwin; then
GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
fi
# For Cygwin, switch paths to Windows format before running java
if $cygwin ; then
APP_HOME=`cygpath --path --mixed "$APP_HOME"`
CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
JAVACMD=`cygpath --unix "$JAVACMD"`
# We build the pattern for arguments to be converted via cygpath
ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
SEP=""
for dir in $ROOTDIRSRAW ; do
ROOTDIRS="$ROOTDIRS$SEP$dir"
SEP="|"
done
OURCYGPATTERN="(^($ROOTDIRS))"
# Add a user-defined pattern to the cygpath arguments
if [ "$GRADLE_CYGPATTERN" != "" ] ; then
OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
fi
# Now convert the arguments - kludge to limit ourselves to /bin/sh
i=0
for arg in "$@" ; do
CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
else
eval `echo args$i`="\"$arg\""
fi
i=$((i+1))
done
case $i in
(0) set -- ;;
(1) set -- "$args0" ;;
(2) set -- "$args0" "$args1" ;;
(3) set -- "$args0" "$args1" "$args2" ;;
(4) set -- "$args0" "$args1" "$args2" "$args3" ;;
(5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
(6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
(7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
(8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
(9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
esac
fi
# Escape application args
save () {
for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
echo " "
}
APP_ARGS=$(save "$@")
# Collect all arguments for the java command, following the shell quoting and substitution rules
eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"
# by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong
if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then
cd "$(dirname "$0")"
fi
exec "$JAVACMD" "$@"
@if "%DEBUG%" == "" @echo off
@rem ##########################################################################
@rem
@rem Gradle startup script for Windows
@rem
@rem ##########################################################################
@rem Set local scope for the variables with windows NT shell
if "%OS%"=="Windows_NT" setlocal
set DIRNAME=%~dp0
if "%DIRNAME%" == "" set DIRNAME=.
set APP_BASE_NAME=%~n0
set APP_HOME=%DIRNAME%
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
set DEFAULT_JVM_OPTS=
@rem Find java.exe
if defined JAVA_HOME goto findJavaFromJavaHome
set JAVA_EXE=java.exe
%JAVA_EXE% -version >NUL 2>&1
if "%ERRORLEVEL%" == "0" goto init
echo.
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.
goto fail
:findJavaFromJavaHome
set JAVA_HOME=%JAVA_HOME:"=%
set JAVA_EXE=%JAVA_HOME%/bin/java.exe
if exist "%JAVA_EXE%" goto init
echo.
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.
goto fail
:init
@rem Get command-line arguments, handling Windows variants
if not "%OS%" == "Windows_NT" goto win9xME_args
:win9xME_args
@rem Slurp the command line arguments.
set CMD_LINE_ARGS=
set _SKIP=2
:win9xME_args_slurp
if "x%~1" == "x" goto execute
set CMD_LINE_ARGS=%*
:execute
@rem Setup the command line
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
@rem Execute Gradle
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
:end
@rem End local scope for the variables with windows NT shell
if "%ERRORLEVEL%"=="0" goto mainEnd
:fail
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
rem the _cmd.exe /c_ return code!
if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
exit /b 1
:mainEnd
if "%OS%"=="Windows_NT" endlocal
:omega
include ':app'
# 海豹聚合SDK接入文档 #
## 接入必读
`注意!targetSdkVersion建议设置22及以下版本`
`如果需使用高版本,游戏自身动态申请权限获取问题需要CP自行处理`
`注意!CP必须设置targetSdkVersion为22及以下版本,不能高于22`
`
接入海豹聚合SDK测试没问题后游戏必须删除掉assets下海豹聚合SDK相关资源,
接入海豹聚合SDK测试没问题后游戏必须删除掉assets下海豹聚合SDK相关资源
(sdk文件夹、sdk.zip、sdkconf.ini)、(supplierconfig.json文件需要保留)
删除manifest中关于海豹聚合SDK添加activity和service相关,
删除libs下的YouYuSDK.jar,
然后打出一个母包,需要上哪个渠道使用打包工具进行打对应渠道包。
......@@ -18,7 +21,7 @@
#### 1.2、复制SDK压缩包中assets目录下的所有内容到游戏工程的assets目录 ####
- 将游戏中的闪屏图片放到assets中poolsdk_splash目录下(选用,图片文件名任意,最多支持2张闪屏)
- 将assets中的haibaosdk.xml中的 **YA_APPKEY(客户端密钥app_client_key),YA_APPID(游戏标识app_id),gamesimplename(版本代号)** 修改为申请的参数(必填)(请与相关人员申请)
- 将assets中的haibaosdk.xml中的 **YA_APPKEY(客户端密钥app_client_key),YA_APPID(游戏标识app_id),gamesimplename(版本代号),sdksimplename,sdkversioncode ** 修改为申请的参数(必填)(请与相关人员申请)
- channelparameter1 和 channelparameter2 为后台对应渠道编号1和2(选填)(游戏客户端可以通过文档 2.12 方法获取)
- custom 为自定义参数(选填)
- gamechannelid 为游戏渠道号(选填)(游戏客户端可以通过文档 2.12 方法获取)
......@@ -96,14 +99,6 @@
android:configChanges="keyboardHidden|navigation|orientation"
android:exported="false"
android:screenOrientation="behind" />
<activity
android:name=".wxapi.WXPayEntryActivity"
android:exported="true"
android:launchMode="singleTop" />
<activity
android:name=".wxapi.WXEntryActivity"
android:exported="true"
android:launchMode="singleTop" />
```
......
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type