Skip to content

Commit 93c1e00

Browse files
committed
第一个版本
0 parents  commit 93c1e00

File tree

253 files changed

+28404
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

253 files changed

+28404
-0
lines changed

.factorypath

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<factorypath>
2+
<factorypathentry kind="WKSPJAR" id="/IOC_Android/test_libs/libary1.jar" enabled="true" runInBatchMode="false"/>
3+
</factorypath>

.gitattributes

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Auto detect text files and perform LF normalization
2+
* text=auto
3+
4+
# Custom for Visual Studio
5+
*.cs diff=csharp
6+
*.sln merge=union
7+
*.csproj merge=union
8+
*.vbproj merge=union
9+
*.fsproj merge=union
10+
*.dbproj merge=union
11+
12+
# Standard to msysgit
13+
*.doc diff=astextplain
14+
*.DOC diff=astextplain
15+
*.docx diff=astextplain
16+
*.DOCX diff=astextplain
17+
*.dot diff=astextplain
18+
*.DOT diff=astextplain
19+
*.pdf diff=astextplain
20+
*.PDF diff=astextplain
21+
*.rtf diff=astextplain
22+
*.RTF diff=astextplain

.gitignore

+215
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,215 @@
1+
#################
2+
## Eclipse
3+
#################
4+
5+
*.pydevproject
6+
.project
7+
.metadata
8+
bin/
9+
tmp/
10+
*.tmp
11+
*.bak
12+
*.swp
13+
*~.nib
14+
local.properties
15+
.classpath
16+
.settings/
17+
.loadpath
18+
19+
# External tool builders
20+
.externalToolBuilders/
21+
22+
# Locally stored "Eclipse launch configurations"
23+
*.launch
24+
25+
# CDT-specific
26+
.cproject
27+
28+
# PDT-specific
29+
.buildpath
30+
31+
32+
#################
33+
## Visual Studio
34+
#################
35+
36+
## Ignore Visual Studio temporary files, build results, and
37+
## files generated by popular Visual Studio add-ons.
38+
39+
# User-specific files
40+
*.suo
41+
*.user
42+
*.sln.docstates
43+
44+
# Build results
45+
46+
[Dd]ebug/
47+
[Rr]elease/
48+
x64/
49+
build/
50+
[Bb]in/
51+
[Oo]bj/
52+
53+
# MSTest test Results
54+
[Tt]est[Rr]esult*/
55+
[Bb]uild[Ll]og.*
56+
57+
*_i.c
58+
*_p.c
59+
*.ilk
60+
*.meta
61+
*.obj
62+
*.pch
63+
*.pdb
64+
*.pgc
65+
*.pgd
66+
*.rsp
67+
*.sbr
68+
*.tlb
69+
*.tli
70+
*.tlh
71+
*.tmp
72+
*.tmp_proj
73+
*.log
74+
*.vspscc
75+
*.vssscc
76+
.builds
77+
*.pidb
78+
*.log
79+
*.scc
80+
81+
# Visual C++ cache files
82+
ipch/
83+
*.aps
84+
*.ncb
85+
*.opensdf
86+
*.sdf
87+
*.cachefile
88+
89+
# Visual Studio profiler
90+
*.psess
91+
*.vsp
92+
*.vspx
93+
94+
# Guidance Automation Toolkit
95+
*.gpState
96+
97+
# ReSharper is a .NET coding add-in
98+
_ReSharper*/
99+
*.[Rr]e[Ss]harper
100+
101+
# TeamCity is a build add-in
102+
_TeamCity*
103+
104+
# DotCover is a Code Coverage Tool
105+
*.dotCover
106+
107+
# NCrunch
108+
*.ncrunch*
109+
.*crunch*.local.xml
110+
111+
# Installshield output folder
112+
[Ee]xpress/
113+
114+
# DocProject is a documentation generator add-in
115+
DocProject/buildhelp/
116+
DocProject/Help/*.HxT
117+
DocProject/Help/*.HxC
118+
DocProject/Help/*.hhc
119+
DocProject/Help/*.hhk
120+
DocProject/Help/*.hhp
121+
DocProject/Help/Html2
122+
DocProject/Help/html
123+
124+
# Click-Once directory
125+
publish/
126+
127+
# Publish Web Output
128+
*.Publish.xml
129+
*.pubxml
130+
131+
# NuGet Packages Directory
132+
## TODO: If you have NuGet Package Restore enabled, uncomment the next line
133+
#packages/
134+
135+
# Windows Azure Build Output
136+
csx
137+
*.build.csdef
138+
139+
# Windows Store app package directory
140+
AppPackages/
141+
142+
# Others
143+
sql/
144+
*.Cache
145+
ClientBin/
146+
[Ss]tyle[Cc]op.*
147+
~$*
148+
*~
149+
*.dbmdl
150+
*.[Pp]ublish.xml
151+
*.pfx
152+
*.publishsettings
153+
154+
# RIA/Silverlight projects
155+
Generated_Code/
156+
157+
# Backup & report files from converting an old project file to a newer
158+
# Visual Studio version. Backup files are not needed, because we have git ;-)
159+
_UpgradeReport_Files/
160+
Backup*/
161+
UpgradeLog*.XML
162+
UpgradeLog*.htm
163+
164+
# SQL Server files
165+
App_Data/*.mdf
166+
App_Data/*.ldf
167+
168+
#############
169+
## Windows detritus
170+
#############
171+
172+
# Windows image file caches
173+
Thumbs.db
174+
ehthumbs.db
175+
176+
# Folder config file
177+
Desktop.ini
178+
179+
# Recycle Bin used on file shares
180+
$RECYCLE.BIN/
181+
182+
# Mac crap
183+
.DS_Store
184+
185+
186+
#############
187+
## Python
188+
#############
189+
190+
*.py[co]
191+
192+
# Packages
193+
*.egg
194+
*.egg-info
195+
dist/
196+
build/
197+
eggs/
198+
parts/
199+
var/
200+
sdist/
201+
develop-eggs/
202+
.installed.cfg
203+
204+
# Installer logs
205+
pip-log.txt
206+
207+
# Unit test / coverage reports
208+
.coverage
209+
.tox
210+
211+
#Translations
212+
*.mo
213+
214+
#Mr Developer
215+
.mr.developer.cfg

AndroidManifest.xml

+68
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3+
package="com.wash.activity"
4+
android:versionCode="1"
5+
android:versionName="1.0" >
6+
7+
<uses-sdk
8+
android:minSdkVersion="8"
9+
android:targetSdkVersion="17" />
10+
11+
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" >
12+
</uses-permission>
13+
<uses-permission android:name="android.permission.INTERNET" />
14+
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
15+
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
16+
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
17+
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
18+
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
19+
<uses-permission android:name="android.permission.VIBRATE" />
20+
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
21+
22+
<application
23+
android:name="com.android.pc.ioc.a.demo.MeApplication"
24+
android:allowBackup="true"
25+
android:icon="@drawable/ic_launcher"
26+
android:label="@string/app_name"
27+
android:theme="@style/AppTheme" >
28+
29+
<activity
30+
android:name="com.android.pc.ioc.a.demo.MainActivity"
31+
android:label="@string/app_name" >
32+
<intent-filter>
33+
<action android:name="android.intent.action.MAIN" />
34+
35+
<category android:name="android.intent.category.LAUNCHER" />
36+
</intent-filter>
37+
</activity>
38+
<activity
39+
android:name="com.android.pc.ioc.MainActivity2"
40+
android:label="@string/app_name" >
41+
</activity>
42+
<activity
43+
android:name="com.android.pc.ioc.a.demo.ThirdActivity"
44+
android:label="@string/app_name" >
45+
</activity>
46+
<activity
47+
android:name="com.android.pc.ioc.a.demo.SecondActivity"
48+
android:label="@string/app_name" >
49+
</activity>
50+
<activity
51+
android:name="com.android.pc.ioc.a.demo.FourActivity"
52+
android:label="@string/app_name" >
53+
</activity>
54+
<activity
55+
android:name="com.android.pc.ioc.a.demo.MyFragmentActivity"
56+
android:label="@string/app_name" >
57+
</activity>
58+
<activity
59+
android:name="com.android.pc.ioc.app.CropActivity"
60+
android:label="@string/app_name" >
61+
</activity>
62+
<activity
63+
android:name="com.android.pc.ioc.MainActivity3"
64+
android:label="@string/app_name" >
65+
</activity>
66+
</application>
67+
68+
</manifest>

assets/mvc.properties

+63
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
#------------------------------------------框架基础配置-----------------------------
2+
#配置当前屏幕基于哪个分辨率开发 框架里面所有缩放比例全部来源于此 默认 480 800
3+
standard_w=480
4+
standard_h=800
5+
#是否开启debug打印调试
6+
is_debug=true
7+
#是否显示框架性能耗时
8+
inject_time=true
9+
#---------------------------------------------------------------------------------
10+
#------------------------------------------图片下载全局配置-----------------------------
11+
#开启框架内置的图片下载 如果不设置 则无法使用框架类的图片下载
12+
imageload_open=true
13+
#图片下载 默认缓存池10M
14+
memory_size=2
15+
#图片最大宽度 默认屏幕宽度
16+
maxWidth=400
17+
#图片最大高度 默认屏幕高度
18+
maxHeight=800
19+
#默认图片
20+
def_drawable=ic_launcher
21+
#下载失败图片
22+
failed_drawable=ic_launcher
23+
#加载本地图片最大线程数
24+
local_cpu=1
25+
#加载网络图片最大线程数
26+
internet_cpu=3
27+
#图片缓存路径 默认/sdcard/android/data/包名/cache
28+
#cache_path=aaaaaaa
29+
30+
#配置它了以后 下面需要同时配置其属性 才会生效 在代码中直接可以在asyimageview 设置setTemplate即可生效
31+
config_name=one_two_three
32+
33+
#one图片最大宽度 默认屏幕宽度
34+
one_maxWidth=200
35+
#one图片最大高度 默认屏幕高度
36+
one_maxHeight=200
37+
#one默认图片
38+
one_def_drawable=ic_launcher
39+
#one下载失败图片
40+
one_failed_drawable=ic_launcher
41+
42+
#one图片最大宽度 默认屏幕宽度
43+
two_maxWidth=400
44+
#one图片最大高度 默认屏幕高度
45+
two_maxHeight=800
46+
#one默认图片
47+
two_def_drawable=ic_launcher
48+
#one下载失败图片
49+
two_failed_drawable=ic_launcher
50+
51+
#one图片最大宽度 默认屏幕宽度
52+
three_maxWidth=400
53+
#one图片最大高度 默认屏幕高度
54+
three_maxHeight=800
55+
#one默认图片
56+
three_def_drawable=ic_launcher
57+
#one下载失败图片
58+
three_failed_drawable=ic_launcher
59+
60+
#--------------------------------------------设置是否开启兼容模式-------------------------------------
61+
#因为拦截了mMainThread 打开兼容模式 则会把拦截到的mInstrumentation属性copy到我们自己的对象中
62+
#这样可以保证完全不出错 但是 程序打开的时候会有点迟钝 而不打开兼容模式可能出错 但是速度快
63+
iscompatible=true
+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/** Automatically generated file. DO NOT MODIFY */
2+
package com.wash.activity;
3+
4+
public final class BuildConfig {
5+
public final static boolean DEBUG = true;
6+
}

0 commit comments

Comments
 (0)