在4.4以下的系统中,我们通常监听webview滑动到底端的方法如下:
1,先重新webview,FoundWebView
public class FoundWebView extends WebView {
    ScrollInterface mt;
    public FoundWebView(Context context) {
        super(context);...
                            
                            
                                分类:
移动开发   时间:
2014-06-05 08:37:47   
                                阅读次数:
269
                             
                    
                        
                            
                            
                                import java.applet.Applet;
import java.awt.*;
public class Appelet extends Applet {
   String name;
   public void init ()
   {
	   name=getParameter("myName");
   }
public void paint(Graphics gr)
 ...
                            
                            
                                分类:
编程语言   时间:
2014-06-05 00:17:59   
                                阅读次数:
259
                             
                    
                        
                            
                            
                                1 class A{ 2 static int num = 1; 3 public static 
void Display(){ 4 System.out.println( num ); 5 } 6 } 7 8 class B extends A{ 9 
...
                            
                            
                                分类:
其他好文   时间:
2014-06-04 22:47:14   
                                阅读次数:
219
                             
                    
                        
                            
                            
                                红色字体部分为关键,其他都是浮云。。
/**
 * 
 * 由于该Service用于多线程下载文件,需要确保原子性,一直处理一个DownLoadFilePO对象
 *
 * detailed comment
 * @see
 * @since 1.0
 */
public class DownLoadService extends Service {
    p...
                            
                            
                                分类:
其他好文   时间:
2014-06-04 22:03:23   
                                阅读次数:
423
                             
                    
                        
                            
                            
                                腾讯微薄的分享与新浪的区别在于除了获取accessToken之外还需要获取openId
@Override
protected void onCreate(Bundle savedInstanceState) {
	super.onCreate(savedInstanceState);
	setContentView(R.layout.auth);
	web = (WebView) findVi...
                            
                            
                                分类:
其他好文   时间:
2014-06-04 21:00:25   
                                阅读次数:
354
                             
                    
                        
                            
                            
                                public class DiagramEditor extends 
GraphicalEditorWithFlyoutPalette implementsIPersistableEditor{ public void 
doSave(IProgressMonitor monitor) { ...
                            
                            
                                分类:
其他好文   时间:
2014-06-04 20:04:59   
                                阅读次数:
397
                             
                    
                        
                            
                            
                                以前见过这题,没做出来,知道是离线处理,这次仔细想了下,首先把出现的高度都map离散化一下,以离散化出来的数目g建树,把每个位置都开俩个vector,一个存以这个位置为L的询问,一个存以这个位置为R的询问。然后从1-g 
进行更新,假如当前i是以第j个区间的开始位置,那么这时就可以询问一下 2 #i....
                            
                            
                                分类:
其他好文   时间:
2014-06-04 19:21:52   
                                阅读次数:
241
                             
                    
                        
                            
                            
                                在多线程中使用定时器必须开启Runloop,因为只有开启Runloop保持现成为活动状态,才能保持定时器不断执行- (void)viewDidLoad{ 
[super viewDidLoad]; [self performSelectorInBackground:@selecto...
                            
                            
                                分类:
编程语言   时间:
2014-05-31 16:59:33   
                                阅读次数:
285
                             
                    
                        
                            
                            
                                binlog启用和禁用在/etc/my.cnf文件中添加log-bin=mysql-bin来启用binlog,mysql-bin为日志文件名前缀。如果用户有super权限,可通过set 
sql_log_bin=1/0来启用或禁用当前会话的binlog记录。binlog的设置A: binlog_do_...
                            
                            
                                分类:
其他好文   时间:
2014-05-31 15:09:00   
                                阅读次数:
230
                             
                    
                        
                            
                            
                                class Jago_Deal_IndexController extends 
Mage_Core_Controller_Front_Action{ public function ajaxAction() { $block = 
$this->getLayout()->cr...
                            
                            
                                分类:
其他好文   时间:
2014-05-29 15:36:20   
                                阅读次数:
287