-
相册Gallery 3d效果循环滚动
在BaseAdapter中主要做了图片的倒影效果以及创建了对原始图片和倒影的显示区域。GalleryFlow中主要做了对图片的旋转和缩放操作,根据图片的屏幕中的位置对其进行旋转缩放操作。
- 2013-04-22下载
- 积分:1
-
Dom4j详解
Dom4j解析xml文件和字符串
- 2015-04-15下载
- 积分:1
-
commons-net-3.3-src源码下载(含ftp/ntp/nntp/mail/telnet/unix等类库实例)
非常强大的 网络通讯类库,含实例源码
- 2015-03-16下载
- 积分:1
-
android 左右侧滑动菜单 效果实现 有图有源码
1、简介我们时常看到Android的一些菜单的设置 可以左右滑动,如下图。要实现下面的效果我们可以获得许多的实现在github 通过 收索 “SlidingMenu”。本实验是在http://www.github.com/TangKe/SlideMenu基础上该的。 本次实验的实验的效果 2、具体的实现。 本次实验的基础是在上面提供的资源和code,应用到我们实验上面。(1)、BaseSlideMenu public class BaseSlideMenu extends FragmentActivity{private SlideMenu slideMenu;@Overrideprotected void onCreate(Bundle arg0) { // TODO Auto-generated method stub super.onCreate(arg0); setContentView(R.layout.layout_slidemenu);}@Override public void onContentChanged() { // TODO Auto-generated method stub super.onContentChanged(); slideMenu=(SlideMenu) findViewById(R.id.slideMenu); }public void setSlideRole(int res){ if (null==slideMenu) { return; } getLayoutInflater().inflate(res, slideMenu,true);}public SlideMenu getSlideMenu(){ return slideMenu;}} (2)、MainActivity public class MainActivity extends BaseSlideMenu {@Overridepublic void onContentChanged() { // TODO Auto-generated method stub super.onContentChanged(); System.out.println(">>>>"); setSlideRole(R.layout.activity_main); setSlideRole(R.layout.layout_primary_menu); setSlideRole(R.layout.layout_secondary_menu);} }(3)activity_main 注意: 在MainActivity中的三个布局都要 在根结点上面都要有 主界面 slidemenudemo:layout_role="content" 左菜单 slidemenudemo:layout_role="primaryMenu" 右菜单 slidemenudemo:layout_role="secondaryMenu"注意:super.onContentChanged(); 一定要覆盖...
- 2013-07-16下载
- 积分:1
-
J2E图书管理系统
J2E图书管理系统
- 2017-05-31下载
- 积分:1
-
android上传文件到 java服务器端 例子源码下载
另类文件上传
- 2015-05-09下载
- 积分:1
-
用jfreechart实现的动态曲线
用jfreechart实现动态曲线,有系统产生随机数,然后画出曲线,并能实时显示曲线
- 2019-07-19下载
- 积分:1
-
支付宝 移动快捷支付应用集成接入包支付接口
客户端含 android 和ios 服务器端含多种语言demo
- 2015-03-18下载
- 积分:1
-
android 异步 执行 任务 例子 附讲解
Rules::The AsyncTask instance must be created in UI thread. .execute must be invoked on the UI thread.Never call objMyTask.onPreExecute(), objMyTask.doInBackground(), objMyTask.onProgressUpdate(), objMyTask.onPostExecute manually.The AsyncTask can be executed only once (an exception will be thrown if a second execution is attempted.)AsyncTask have Four Main Method... onPreExecute() doInBackground() onProgressUpdate() onPostExecute() onPreExecute-This method is called first when you start AsyncTask using objAsync.execute().And mostly this method is use for initializing dialog(ProgressDialog,CustomDialog) and showing. doInBackground-The main purpose of AsyncTask is accomplished by this method.Any non-UI thread process is running in this method.Such as Rss Feed Reader,Image and video Uploading and Downloading.You cant handle your View in this method.Because this method is non-UI thread.While any background process is running if you want to handle UI therea are onProgressUpdate method. after completion of process this method send result to OnPostExecute. onProgressUpdate-While backgrounding task is running ,you can handle your UI using this method .Such as status of downloading or uploading task.and this method is called from doInBackground.Using publishProgress() you can call onProgressUpdate method to update UI while process is running. onPostExecute -This method is called after the background computation finishes.The result of background process in passed in this method as parameters.And now you can dismiss progress dialog ,to indicate that background task is completed. You can cancel AsyncTask using objAsyncTask.cancel().then you just check in doInBackground, if (isCancelled()) { break; } else { //continue... } See this Image For more Clear.
- 2013-07-05下载
- 积分:1
-
Android应用源码可以按音乐视频图片分类浏览的安卓文件浏览器
Android应用源码可以按音乐视频图片分类浏览的安卓文件浏览器
- 2015-04-07下载
- 积分:1