==============包结构分析

来源:互联网 发布:java学完可以做什么 编辑:程序博客网 时间:2024/05/21 13:09
默认包:应用activity,application
SysActivity
SysApplication
SysLaunchActivity
ad:广告model
abstract class BASE广告基类
Model
ad.factory:广告工厂
BaseFactory广告基类工厂
ad.feedback:广告反馈
Feedback数据反馈统计模块
ad.get:广告
AdGetFilter
AdGetManage
ad.model.download:
DownloadModel extends BASE implements IDownloadNotifyListener
ad.model.instant:
InstantActivity 实时显示窗口 extends Activity implements OnClickListener
InstantManage 实时广告类型管理类 implements IHandleMessage, IDownloadNotifyListener
InstantModel extends BASE implements IDownloadNotifyListener
ad.model.notify:
NotifyModel 通知模型 extends BASE implements IDownloadNotifyListener 
NotifyManage 通知管理implements IHandleMessage


config:
ConfigConst配置管理常量类 每天执行次数,版本更新地址什么的


ConfigManage配置管理implements OnTimerArriveListener,IDownloadNotifyListener,IHandleMessage 


config.item:
VersionUpdateAccept 版本更新 implements OnUpdateConfigListener,IDownloadNotifyListener
DefaultConfigAccept 对JSONObject解析器 implements OnUpdateConfigListener


domain:
DomainManage:域名管理


download:
DownloadListManager下载列表管理
DownloadSourceInfo下载资源信息
DownloadTaskManage下载任务管理 implements DownloadProgress
interface IDownloadNotifyListener 下载状态通知
interface IDownloadTaskListener 下载任务状态监听回调
handler:
HandlerManage :handler管理
HandlerID :消息ID
install:
InstallResultManage安装结果管理器
InstallManage 安装器
Command 运行Runtime命令


main:
MainControl总控


network:
DownloadFile:下载文件
interface DownloadProgress:下载进度安排
HttpErrorKey:错误码常量列表
HttpRequest:


receiver:
SysCommonReceiver:整个应用的广播接收者


system: 存放一些系统相关的类似工具类
SystemApp:app信息处理
SystemFile:文件系统 ,文件删除是否存在的工具类
SystemNetWork :网络信息获取
SystemShared :SharedPreferences工具适配

timer:
TimerManage: 定时器管理


tools:
DeviceIDFactory:手机唯一标示
Utils : 工具类

view:
ViewUtils 类 提供各种获得资源id的方法
0 0
原创粉丝点击