mirror of
https://github.com/JamesonHuang/OpenWrt_Luci_Lua.git
synced 2024-11-23 13:50:11 +00:00
h12 dev demo
This commit is contained in:
parent
256defe458
commit
fa4160ec02
Binary file not shown.
BIN
1_2.mind_map/2_2.r12TechSolusionFramework.xmind
Normal file
BIN
1_2.mind_map/2_2.r12TechSolusionFramework.xmind
Normal file
Binary file not shown.
BIN
1_2.mind_map/TimeLine(Aug,2015).xmind
Normal file
BIN
1_2.mind_map/TimeLine(Aug,2015).xmind
Normal file
Binary file not shown.
15
1_3.test_code/lua_test/1_3.test_pcall.lua
Normal file
15
1_3.test_code/lua_test/1_3.test_pcall.lua
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
|
||||||
|
function testPcall()
|
||||||
|
rint("error")
|
||||||
|
end
|
||||||
|
|
||||||
|
local r, msg = pcall(function()
|
||||||
|
testPcall()
|
||||||
|
end)
|
||||||
|
if r == false then
|
||||||
|
print("error msg:"..msg)
|
||||||
|
print("end")
|
||||||
|
end
|
||||||
|
|
||||||
|
-- rint("error")
|
||||||
|
|
@ -91,7 +91,7 @@ while ((${var} > 0)); do
|
|||||||
var=$((var-1))
|
var=$((var-1))
|
||||||
echo $var
|
echo $var
|
||||||
done
|
done
|
||||||
echo "---------------------------"
|
echo "----------------------;-----"
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
#--------------------------------------
|
#--------------------------------------
|
||||||
|
135
1_3.test_code/sh_test/sh_demo.sh~
Normal file
135
1_3.test_code/sh_test/sh_demo.sh~
Normal file
@ -0,0 +1,135 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
#以下代码中(())可替换为[]
|
||||||
|
|
||||||
|
|
||||||
|
#--------------------------------------
|
||||||
|
echo "var define"
|
||||||
|
|
||||||
|
var="helo" #定义变量不需加$
|
||||||
|
echo ${var} #使用变量时加$
|
||||||
|
echo "---------------------------"
|
||||||
|
echo ""
|
||||||
|
|
||||||
|
#--------------------------------------
|
||||||
|
echo "echo about str"
|
||||||
|
|
||||||
|
#单引号中任何字符均原样输出
|
||||||
|
#单引号里不能出现单引号(使用转义符也不行)
|
||||||
|
single_str='helo'
|
||||||
|
|
||||||
|
#双引号里可以有变量
|
||||||
|
#双引号里可以出现转义字符
|
||||||
|
double_str="hello,\" ${single_str} \" "
|
||||||
|
echo $single_str
|
||||||
|
echo $double_str
|
||||||
|
echo "---------------------------"
|
||||||
|
echo ""
|
||||||
|
|
||||||
|
#--------------------------------------
|
||||||
|
echo "字符串连接:"
|
||||||
|
#字符串连接
|
||||||
|
#method 1
|
||||||
|
echo "method1: ","helo", "helo"
|
||||||
|
|
||||||
|
#method 2
|
||||||
|
str="strcat"
|
||||||
|
str2="helo"
|
||||||
|
echo "method2: ${str},${str2}"
|
||||||
|
|
||||||
|
#method 3
|
||||||
|
echo "method3:" ${str} ${str2}
|
||||||
|
echo "---------------------------"
|
||||||
|
echo ""
|
||||||
|
|
||||||
|
#--------------------------------------
|
||||||
|
echo "get strlen:"
|
||||||
|
echo "strlen: ", "${#str}"
|
||||||
|
echo "---------------------------"
|
||||||
|
echo ""
|
||||||
|
|
||||||
|
#--------------------------------------
|
||||||
|
echo "substr:"
|
||||||
|
substr="hello Meizu!"
|
||||||
|
echo ${substr:1:4}
|
||||||
|
echo "---------------------------"
|
||||||
|
echo ""
|
||||||
|
|
||||||
|
|
||||||
|
#--------------------------------------
|
||||||
|
echo "查找子串: error"
|
||||||
|
echo 'expr Meizu "${substr}"'
|
||||||
|
echo "---------------------------"
|
||||||
|
echo ""
|
||||||
|
|
||||||
|
#--------------------------------------
|
||||||
|
echo "for sh format:"
|
||||||
|
|
||||||
|
for((i=0; i<10; i++)) do
|
||||||
|
echo $i
|
||||||
|
done
|
||||||
|
echo "---------------------------"
|
||||||
|
echo ""
|
||||||
|
|
||||||
|
#--------------------------------------
|
||||||
|
echo "if-else:"
|
||||||
|
min=10
|
||||||
|
max=10
|
||||||
|
if ((${min} < ${max})); then
|
||||||
|
echo "min < max"
|
||||||
|
elif ((${min} > ${max})); then
|
||||||
|
echo "min > max"
|
||||||
|
else
|
||||||
|
echo "min = max"
|
||||||
|
fi
|
||||||
|
echo "---------------------------"
|
||||||
|
echo ""
|
||||||
|
|
||||||
|
#--------------------------------------
|
||||||
|
echo "while"
|
||||||
|
var=10
|
||||||
|
while ((${var} > 0)); do
|
||||||
|
var=$((var-1))
|
||||||
|
echo $var
|
||||||
|
done
|
||||||
|
echo "---------------------------"
|
||||||
|
echo ""
|
||||||
|
|
||||||
|
#--------------------------------------
|
||||||
|
echo "执行shell命令,将结果赋给变量:"
|
||||||
|
#var=`date`
|
||||||
|
var=$(date)
|
||||||
|
echo $var
|
||||||
|
echo "---------------------------"
|
||||||
|
echo ""
|
||||||
|
|
||||||
|
#--------------------------------------
|
||||||
|
echo "echo不换行:"
|
||||||
|
# -e 开启转义 \c 不换行
|
||||||
|
echo -e "OK! \c oo"
|
||||||
|
echo "---------------------------"
|
||||||
|
echo ""
|
||||||
|
|
||||||
|
#--------------------------------------
|
||||||
|
echo -e "前台运行shell:\t\c"
|
||||||
|
ls
|
||||||
|
echo "后台运行shell:"
|
||||||
|
ls &
|
||||||
|
echo "---------------------------"
|
||||||
|
echo ""
|
||||||
|
#--------------------------------------
|
||||||
|
echo "/dev/null:"
|
||||||
|
echo "helo" > /dev/null
|
||||||
|
echo "---------------------------"
|
||||||
|
echo ""
|
||||||
|
|
||||||
|
#--------------------------------------
|
||||||
|
echo '$?:'
|
||||||
|
ls
|
||||||
|
echo $?
|
||||||
|
echo "---------------------------"
|
||||||
|
echo ""
|
||||||
|
|
||||||
|
#--------------------------------------
|
||||||
|
echo HELLO'X'
|
||||||
|
echo "---------------------------"
|
||||||
|
echo ""
|
13
1_3.test_code/sh_test/sh_strcmp.sh
Executable file
13
1_3.test_code/sh_test/sh_strcmp.sh
Executable file
@ -0,0 +1,13 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
#以下代码中(())可替换为[]
|
||||||
|
|
||||||
|
a="up"
|
||||||
|
|
||||||
|
if(($a=="down")); then
|
||||||
|
echo "if"
|
||||||
|
elif(($a=="up")); then
|
||||||
|
echo "else"
|
||||||
|
else
|
||||||
|
echo "helo"
|
||||||
|
echo $a
|
||||||
|
fi
|
1
1_5.h13_API_dev/luasocket
Submodule
1
1_5.h13_API_dev/luasocket
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit de8cd25892bcb6512d30dbef04ee66927d9fc532
|
BIN
1_5.h13_API_dev/luasocket.tgz
Normal file
BIN
1_5.h13_API_dev/luasocket.tgz
Normal file
Binary file not shown.
@ -0,0 +1 @@
|
|||||||
|
#Tue Aug 25 17:11:22 CST 2015
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1
1_6.h12_dev/dlna-dmc/AllShare/.idea/.name
Normal file
1
1_6.h12_dev/dlna-dmc/AllShare/.idea/.name
Normal file
@ -0,0 +1 @@
|
|||||||
|
AllShare
|
22
1_6.h12_dev/dlna-dmc/AllShare/.idea/compiler.xml
Normal file
22
1_6.h12_dev/dlna-dmc/AllShare/.idea/compiler.xml
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="CompilerConfiguration">
|
||||||
|
<resourceExtensions />
|
||||||
|
<wildcardResourcePatterns>
|
||||||
|
<entry name="!?*.java" />
|
||||||
|
<entry name="!?*.form" />
|
||||||
|
<entry name="!?*.class" />
|
||||||
|
<entry name="!?*.groovy" />
|
||||||
|
<entry name="!?*.scala" />
|
||||||
|
<entry name="!?*.flex" />
|
||||||
|
<entry name="!?*.kt" />
|
||||||
|
<entry name="!?*.clj" />
|
||||||
|
<entry name="!?*.aj" />
|
||||||
|
</wildcardResourcePatterns>
|
||||||
|
<annotationProcessing>
|
||||||
|
<profile default="true" name="Default" enabled="false">
|
||||||
|
<processorPath useClasspath="true" />
|
||||||
|
</profile>
|
||||||
|
</annotationProcessing>
|
||||||
|
</component>
|
||||||
|
</project>
|
@ -0,0 +1,3 @@
|
|||||||
|
<component name="CopyrightManager">
|
||||||
|
<settings default="" />
|
||||||
|
</component>
|
18
1_6.h12_dev/dlna-dmc/AllShare/.idea/gradle.xml
Normal file
18
1_6.h12_dev/dlna-dmc/AllShare/.idea/gradle.xml
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="GradleSettings">
|
||||||
|
<option name="linkedExternalProjectsSettings">
|
||||||
|
<GradleProjectSettings>
|
||||||
|
<option name="distributionType" value="DEFAULT_WRAPPED" />
|
||||||
|
<option name="externalProjectPath" value="$PROJECT_DIR$" />
|
||||||
|
<option name="gradleJvm" value="1.7" />
|
||||||
|
<option name="modules">
|
||||||
|
<set>
|
||||||
|
<option value="$PROJECT_DIR$" />
|
||||||
|
<option value="$PROJECT_DIR$/app" />
|
||||||
|
</set>
|
||||||
|
</option>
|
||||||
|
</GradleProjectSettings>
|
||||||
|
</option>
|
||||||
|
</component>
|
||||||
|
</project>
|
@ -0,0 +1,9 @@
|
|||||||
|
<component name="libraryTable">
|
||||||
|
<library name="dlna_framework">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$PROJECT_DIR$/app/libs/dlna_framework.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC />
|
||||||
|
<SOURCES />
|
||||||
|
</library>
|
||||||
|
</component>
|
69
1_6.h12_dev/dlna-dmc/AllShare/.idea/misc.xml
Normal file
69
1_6.h12_dev/dlna-dmc/AllShare/.idea/misc.xml
Normal file
@ -0,0 +1,69 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="EntryPointsManager">
|
||||||
|
<entry_points version="2.0" />
|
||||||
|
</component>
|
||||||
|
<component name="MavenImportPreferences">
|
||||||
|
<option name="generalSettings">
|
||||||
|
<MavenGeneralSettings>
|
||||||
|
<option name="mavenHome" value="Bundled (Maven 3)" />
|
||||||
|
</MavenGeneralSettings>
|
||||||
|
</option>
|
||||||
|
</component>
|
||||||
|
<component name="NullableNotNullManager">
|
||||||
|
<option name="myDefaultNullable" value="android.support.annotation.Nullable" />
|
||||||
|
<option name="myDefaultNotNull" value="android.support.annotation.NonNull" />
|
||||||
|
<option name="myNullables">
|
||||||
|
<value>
|
||||||
|
<list size="4">
|
||||||
|
<item index="0" class="java.lang.String" itemvalue="org.jetbrains.annotations.Nullable" />
|
||||||
|
<item index="1" class="java.lang.String" itemvalue="javax.annotation.Nullable" />
|
||||||
|
<item index="2" class="java.lang.String" itemvalue="edu.umd.cs.findbugs.annotations.Nullable" />
|
||||||
|
<item index="3" class="java.lang.String" itemvalue="android.support.annotation.Nullable" />
|
||||||
|
</list>
|
||||||
|
</value>
|
||||||
|
</option>
|
||||||
|
<option name="myNotNulls">
|
||||||
|
<value>
|
||||||
|
<list size="4">
|
||||||
|
<item index="0" class="java.lang.String" itemvalue="org.jetbrains.annotations.NotNull" />
|
||||||
|
<item index="1" class="java.lang.String" itemvalue="javax.annotation.Nonnull" />
|
||||||
|
<item index="2" class="java.lang.String" itemvalue="edu.umd.cs.findbugs.annotations.NonNull" />
|
||||||
|
<item index="3" class="java.lang.String" itemvalue="android.support.annotation.NonNull" />
|
||||||
|
</list>
|
||||||
|
</value>
|
||||||
|
</option>
|
||||||
|
</component>
|
||||||
|
<component name="ProjectLevelVcsManager" settingsEditedManually="false">
|
||||||
|
<OptionsSetting value="true" id="Add" />
|
||||||
|
<OptionsSetting value="true" id="Remove" />
|
||||||
|
<OptionsSetting value="true" id="Checkout" />
|
||||||
|
<OptionsSetting value="true" id="Update" />
|
||||||
|
<OptionsSetting value="true" id="Status" />
|
||||||
|
<OptionsSetting value="true" id="Edit" />
|
||||||
|
<ConfirmationsSetting value="0" id="Add" />
|
||||||
|
<ConfirmationsSetting value="0" id="Remove" />
|
||||||
|
</component>
|
||||||
|
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" default="true" assert-keyword="true" jdk-15="true" project-jdk-name="1.7" project-jdk-type="JavaSDK">
|
||||||
|
<output url="file://$PROJECT_DIR$/build/classes" />
|
||||||
|
</component>
|
||||||
|
<component name="ProjectType">
|
||||||
|
<option name="id" value="Android" />
|
||||||
|
</component>
|
||||||
|
<component name="masterDetails">
|
||||||
|
<states>
|
||||||
|
<state key="ProjectJDKs.UI">
|
||||||
|
<settings>
|
||||||
|
<last-edited>1.7</last-edited>
|
||||||
|
<splitter-proportions>
|
||||||
|
<option name="proportions">
|
||||||
|
<list>
|
||||||
|
<option value="0.2" />
|
||||||
|
</list>
|
||||||
|
</option>
|
||||||
|
</splitter-proportions>
|
||||||
|
</settings>
|
||||||
|
</state>
|
||||||
|
</states>
|
||||||
|
</component>
|
||||||
|
</project>
|
9
1_6.h12_dev/dlna-dmc/AllShare/.idea/modules.xml
Normal file
9
1_6.h12_dev/dlna-dmc/AllShare/.idea/modules.xml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="ProjectModuleManager">
|
||||||
|
<modules>
|
||||||
|
<module fileurl="file://$PROJECT_DIR$/AllShare.iml" filepath="$PROJECT_DIR$/AllShare.iml" />
|
||||||
|
<module fileurl="file://$PROJECT_DIR$/app/app.iml" filepath="$PROJECT_DIR$/app/app.iml" />
|
||||||
|
</modules>
|
||||||
|
</component>
|
||||||
|
</project>
|
12
1_6.h12_dev/dlna-dmc/AllShare/.idea/runConfigurations.xml
Normal file
12
1_6.h12_dev/dlna-dmc/AllShare/.idea/runConfigurations.xml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
<?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>
|
6
1_6.h12_dev/dlna-dmc/AllShare/.idea/vcs.xml
Normal file
6
1_6.h12_dev/dlna-dmc/AllShare/.idea/vcs.xml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="VcsDirectoryMappings">
|
||||||
|
<mapping directory="" vcs="" />
|
||||||
|
</component>
|
||||||
|
</project>
|
1996
1_6.h12_dev/dlna-dmc/AllShare/.idea/workspace.xml
Normal file
1996
1_6.h12_dev/dlna-dmc/AllShare/.idea/workspace.xml
Normal file
File diff suppressed because it is too large
Load Diff
19
1_6.h12_dev/dlna-dmc/AllShare/AllShare.iml
Normal file
19
1_6.h12_dev/dlna-dmc/AllShare/AllShare.iml
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<module external.linked.project.id="AllShare" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$" external.system.id="GRADLE" external.system.module.group="" external.system.module.version="unspecified" type="JAVA_MODULE" version="4">
|
||||||
|
<component name="FacetManager">
|
||||||
|
<facet type="java-gradle" name="Java-Gradle">
|
||||||
|
<configuration>
|
||||||
|
<option name="BUILD_FOLDER_PATH" value="$MODULE_DIR$/build" />
|
||||||
|
<option name="BUILDABLE" value="false" />
|
||||||
|
</configuration>
|
||||||
|
</facet>
|
||||||
|
</component>
|
||||||
|
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_6" inherit-compiler-output="true">
|
||||||
|
<exclude-output />
|
||||||
|
<content url="file://$MODULE_DIR$">
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/.gradle" />
|
||||||
|
</content>
|
||||||
|
<orderEntry type="jdk" jdkName="1.7" jdkType="JavaSDK" />
|
||||||
|
<orderEntry type="sourceFolder" forTests="false" />
|
||||||
|
</component>
|
||||||
|
</module>
|
93
1_6.h12_dev/dlna-dmc/AllShare/app/app.iml
Normal file
93
1_6.h12_dev/dlna-dmc/AllShare/app/app.iml
Normal file
@ -0,0 +1,93 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<module external.linked.project.id=":app" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$/.." external.system.id="GRADLE" external.system.module.group="AllShare" external.system.module.version="unspecified" type="JAVA_MODULE" version="4">
|
||||||
|
<component name="FacetManager">
|
||||||
|
<facet type="android-gradle" name="Android-Gradle">
|
||||||
|
<configuration>
|
||||||
|
<option name="GRADLE_PROJECT_PATH" value=":app" />
|
||||||
|
</configuration>
|
||||||
|
</facet>
|
||||||
|
<facet type="android" name="Android">
|
||||||
|
<configuration>
|
||||||
|
<option name="SELECTED_BUILD_VARIANT" value="debug" />
|
||||||
|
<option name="SELECTED_TEST_ARTIFACT" value="_android_test_" />
|
||||||
|
<option name="ASSEMBLE_TASK_NAME" value="assembleDebug" />
|
||||||
|
<option name="COMPILE_JAVA_TASK_NAME" value="compileDebugSources" />
|
||||||
|
<option name="ASSEMBLE_TEST_TASK_NAME" value="assembleDebugAndroidTest" />
|
||||||
|
<option name="COMPILE_JAVA_TEST_TASK_NAME" value="compileDebugAndroidTestSources" />
|
||||||
|
<afterSyncTasks>
|
||||||
|
<task>generateDebugAndroidTestSources</task>
|
||||||
|
<task>generateDebugSources</task>
|
||||||
|
</afterSyncTasks>
|
||||||
|
<option name="ALLOW_USER_CONFIGURATION" value="false" />
|
||||||
|
<option name="MANIFEST_FILE_RELATIVE_PATH" value="/src/main/AndroidManifest.xml" />
|
||||||
|
<option name="RES_FOLDER_RELATIVE_PATH" value="/src/main/res" />
|
||||||
|
<option name="RES_FOLDERS_RELATIVE_PATH" value="file://$MODULE_DIR$/src/main/res" />
|
||||||
|
<option name="ASSETS_FOLDER_RELATIVE_PATH" value="/src/main/assets" />
|
||||||
|
</configuration>
|
||||||
|
</facet>
|
||||||
|
</component>
|
||||||
|
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_6" inherit-compiler-output="false">
|
||||||
|
<output url="file://$MODULE_DIR$/build/intermediates/classes/debug" />
|
||||||
|
<output-test url="file://$MODULE_DIR$/build/intermediates/classes/androidTest/debug" />
|
||||||
|
<exclude-output />
|
||||||
|
<content url="file://$MODULE_DIR$">
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/r/debug" isTestSource="false" generated="true" />
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/aidl/debug" isTestSource="false" generated="true" />
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/buildConfig/debug" isTestSource="false" generated="true" />
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/rs/debug" isTestSource="false" generated="true" />
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/build/generated/res/rs/debug" type="java-resource" />
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/build/generated/res/generated/debug" type="java-resource" />
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/r/androidTest/debug" isTestSource="true" generated="true" />
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/aidl/androidTest/debug" isTestSource="true" generated="true" />
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/buildConfig/androidTest/debug" isTestSource="true" generated="true" />
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/rs/androidTest/debug" isTestSource="true" generated="true" />
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/build/generated/res/rs/androidTest/debug" type="java-test-resource" />
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/build/generated/res/generated/androidTest/debug" type="java-test-resource" />
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/src/debug/res" type="java-resource" />
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/src/debug/resources" type="java-resource" />
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/src/debug/assets" type="java-resource" />
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/src/debug/aidl" isTestSource="false" />
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/src/debug/java" isTestSource="false" />
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/src/debug/jni" isTestSource="false" />
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/src/debug/rs" isTestSource="false" />
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/src/main/res" type="java-resource" />
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/src/main/assets" type="java-resource" />
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/src/main/aidl" isTestSource="false" />
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/src/main/jni" isTestSource="false" />
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/src/main/rs" isTestSource="false" />
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/res" type="java-test-resource" />
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/resources" type="java-test-resource" />
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/assets" type="java-test-resource" />
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/aidl" isTestSource="true" />
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/java" isTestSource="true" />
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/jni" isTestSource="true" />
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/rs" isTestSource="true" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/assets" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/bundles" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/classes" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/coverage-instrumented-classes" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/dependency-cache" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/dex" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/dex-cache" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/incremental" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/jacoco" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/javaResources" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/libs" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/lint" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/manifests" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/ndk" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/pre-dexed" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/proguard" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/res" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/rs" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/symbols" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/build/outputs" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/build/tmp" />
|
||||||
|
</content>
|
||||||
|
<orderEntry type="jdk" jdkName="Android API 19 Platform" jdkType="Android SDK" />
|
||||||
|
<orderEntry type="sourceFolder" forTests="false" />
|
||||||
|
<orderEntry type="library" exported="" name="dlna_framework" level="project" />
|
||||||
|
</component>
|
||||||
|
</module>
|
29
1_6.h12_dev/dlna-dmc/AllShare/app/build.gradle
Normal file
29
1_6.h12_dev/dlna-dmc/AllShare/app/build.gradle
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
apply plugin: 'com.android.application'
|
||||||
|
|
||||||
|
android {
|
||||||
|
compileSdkVersion 19
|
||||||
|
buildToolsVersion "21.1.1"
|
||||||
|
|
||||||
|
defaultConfig {
|
||||||
|
//multiDexEnabled true
|
||||||
|
applicationId "com.talent.allshare"
|
||||||
|
|
||||||
|
minSdkVersion 17
|
||||||
|
}
|
||||||
|
|
||||||
|
buildTypes {
|
||||||
|
release {
|
||||||
|
minifyEnabled false
|
||||||
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
dependencies {
|
||||||
|
compile files('libs/dlna_framework.jar')
|
||||||
|
//compile files('libs/kxml2-min-2.3.0.jar')
|
||||||
|
//compile files('libs/xercesImpl.jar')
|
||||||
|
}
|
||||||
|
/*configurations {
|
||||||
|
all*.exclude group: 'com.android.support', module: 'support-v4'
|
||||||
|
}*/
|
@ -0,0 +1,13 @@
|
|||||||
|
/**
|
||||||
|
* Automatically generated file. DO NOT MODIFY
|
||||||
|
*/
|
||||||
|
package com.talent.allshare.test;
|
||||||
|
|
||||||
|
public final class BuildConfig {
|
||||||
|
public static final boolean DEBUG = Boolean.parseBoolean("true");
|
||||||
|
public static final String APPLICATION_ID = "com.talent.allshare.test";
|
||||||
|
public static final String BUILD_TYPE = "debug";
|
||||||
|
public static final String FLAVOR = "";
|
||||||
|
public static final int VERSION_CODE = -1;
|
||||||
|
public static final String VERSION_NAME = "";
|
||||||
|
}
|
@ -0,0 +1,13 @@
|
|||||||
|
/**
|
||||||
|
* Automatically generated file. DO NOT MODIFY
|
||||||
|
*/
|
||||||
|
package com.talent.allshare;
|
||||||
|
|
||||||
|
public final class BuildConfig {
|
||||||
|
public static final boolean DEBUG = Boolean.parseBoolean("true");
|
||||||
|
public static final String APPLICATION_ID = "com.talent.allshare";
|
||||||
|
public static final String BUILD_TYPE = "debug";
|
||||||
|
public static final String FLAVOR = "";
|
||||||
|
public static final int VERSION_CODE = 1;
|
||||||
|
public static final String VERSION_NAME = "";
|
||||||
|
}
|
@ -0,0 +1,87 @@
|
|||||||
|
/* 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.talent.allshare;
|
||||||
|
|
||||||
|
public final class R {
|
||||||
|
public static final class attr {
|
||||||
|
}
|
||||||
|
public static final class drawable {
|
||||||
|
public static final int ic_launcher=0x7f020000;
|
||||||
|
public static final int ic_menu_archive=0x7f020001;
|
||||||
|
public static final int icon_pause_normal=0x7f020002;
|
||||||
|
public static final int icon_pause_pressed=0x7f020003;
|
||||||
|
public static final int icon_play_next_normal=0x7f020004;
|
||||||
|
public static final int icon_play_next_pressed=0x7f020005;
|
||||||
|
public static final int icon_play_normal=0x7f020006;
|
||||||
|
public static final int icon_play_pressed=0x7f020007;
|
||||||
|
public static final int icon_play_prev_normal=0x7f020008;
|
||||||
|
public static final int icon_play_prev_pressed=0x7f020009;
|
||||||
|
public static final int main_bg=0x7f02000a;
|
||||||
|
public static final int play_bottom=0x7f02000b;
|
||||||
|
public static final int playback_seekbar_style=0x7f02000c;
|
||||||
|
public static final int playback_seekbar_thumb=0x7f02000d;
|
||||||
|
public static final int progress_dot_default=0x7f02000e;
|
||||||
|
public static final int progress_dot_pressed=0x7f02000f;
|
||||||
|
public static final int progressbar=0x7f020010;
|
||||||
|
public static final int progressbar_first=0x7f020011;
|
||||||
|
public static final int progressbar_outline=0x7f020012;
|
||||||
|
public static final int progressbar_second=0x7f020013;
|
||||||
|
public static final int progresslayout_bg=0x7f020014;
|
||||||
|
public static final int selector_dev_item=0x7f020015;
|
||||||
|
public static final int selector_next_btn=0x7f020016;
|
||||||
|
public static final int selector_pause_btn=0x7f020017;
|
||||||
|
public static final int selector_play_btn=0x7f020018;
|
||||||
|
public static final int selector_pre_btn=0x7f020019;
|
||||||
|
public static final int shape_dev_item=0x7f02001a;
|
||||||
|
}
|
||||||
|
public static final class id {
|
||||||
|
public static final int btn_back=0x7f050000;
|
||||||
|
public static final int btn_exit=0x7f05000c;
|
||||||
|
public static final int btn_pause=0x7f050012;
|
||||||
|
public static final int btn_play=0x7f050011;
|
||||||
|
public static final int btn_playnext=0x7f050014;
|
||||||
|
public static final int btn_playpre=0x7f050013;
|
||||||
|
public static final int btn_reset=0x7f05000b;
|
||||||
|
public static final int btn_search=0x7f05000a;
|
||||||
|
public static final int btn_test=0x7f050009;
|
||||||
|
public static final int content_list=0x7f050002;
|
||||||
|
public static final int ctrl_list_item_location=0x7f050006;
|
||||||
|
public static final int ctrl_list_item_name=0x7f050005;
|
||||||
|
public static final int ctrl_list_item_type=0x7f050008;
|
||||||
|
public static final int ctrl_list_item_uuid=0x7f050007;
|
||||||
|
public static final int device_list=0x7f05000d;
|
||||||
|
public static final int imageView=0x7f050003;
|
||||||
|
public static final int imageview=0x7f050019;
|
||||||
|
public static final int miniplayLayout=0x7f050010;
|
||||||
|
public static final int playback_seeker=0x7f050018;
|
||||||
|
public static final int progressLayout=0x7f050015;
|
||||||
|
public static final int relativelayout=0x7f05000e;
|
||||||
|
public static final int show_load_progress=0x7f05001a;
|
||||||
|
public static final int surfaceView=0x7f05001b;
|
||||||
|
public static final int tv_content=0x7f050004;
|
||||||
|
public static final int tv_curTime=0x7f050016;
|
||||||
|
public static final int tv_playsong=0x7f05000f;
|
||||||
|
public static final int tv_selDev=0x7f050001;
|
||||||
|
public static final int tv_totalTime=0x7f050017;
|
||||||
|
}
|
||||||
|
public static final class layout {
|
||||||
|
public static final int content_layout=0x7f030000;
|
||||||
|
public static final int content_list_item=0x7f030001;
|
||||||
|
public static final int device_list_item=0x7f030002;
|
||||||
|
public static final int main=0x7f030003;
|
||||||
|
public static final int music_player_layout=0x7f030004;
|
||||||
|
public static final int picture_player_layout=0x7f030005;
|
||||||
|
public static final int video_player_layout=0x7f030006;
|
||||||
|
}
|
||||||
|
public static final class string {
|
||||||
|
public static final int app_name=0x7f040000;
|
||||||
|
public static final int hello=0x7f040001;
|
||||||
|
public static final int load_image_fail=0x7f040002;
|
||||||
|
public static final int parse_image_fail=0x7f040003;
|
||||||
|
}
|
||||||
|
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,2 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<merger version="3"><dataSet config="main"><source path="/home/rh/my_code/AllShare/app/src/androidTest/assets"/></dataSet></merger>
|
@ -0,0 +1,2 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<merger version="3"><dataSet config="main"><source path="/home/rh/my_code/AllShare/app/src/main/assets"/></dataSet><dataSet config="debug"><source path="/home/rh/my_code/AllShare/app/src/debug/assets"/></dataSet></merger>
|
@ -0,0 +1,2 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<merger version="3"><dataSet config="main"><source path="/home/rh/my_code/AllShare/app/src/androidTest/res"/><source path="/home/rh/my_code/AllShare/app/build/generated/res/rs/androidTest/debug"/><source path="/home/rh/my_code/AllShare/app/build/generated/res/generated/androidTest/debug"/></dataSet><mergedItems/></merger>
|
File diff suppressed because one or more lines are too long
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user