Skip to main content

Home/ Groups/ Android Dev
Vincent Tsao

spinner :: anddev.org - Android Development Community | Android Tutorials - 0 views

  • spnCountries.setAdapter(aspnCountries); spnCountries.setOnItemSelectedListener(spnCountriesListener); private Spinner.OnItemSelectedListener spnCountriesListener =   new Spinner.OnItemSelectedListener() {     public void onItemSelected(AdapterView parent, View v, int position, long id) {       Log.i("print", parent.getSelectedItem().toString());     }     public void onNothingSelected(AdapterView parent) { }              };
Vincent Tsao

Binding to Data with AdapterView | Android Developers - 0 views

  • Spinner s2 = (Spinner) findViewById(R.id.spinner2);Cursor cur = managedQuery(People.CONTENT_URI, PROJECTION, null, null);     SimpleCursorAdapter adapter2 = new SimpleCursorAdapter(this,    android.R.layout.simple_spinner_item, // Use a template                                          // that displays a                                          // text view    cur, // Give the cursor to the list adatper    new String[] {People.NAME}, // Map the NAME column in the                                         // people database to...    new int[] {android.R.id.text1}); // The "text1" view defined in                                     // the XML template                                         adapter2.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);s2.setAdapter(adapter2);
Vincent Tsao

ArtfulBits > Products > Android > aiPrototyping - 1 views

  •  
    基于Visio的Android 原型设计工具
Vincent Tsao

Android Rises in Mobile Web Usage, iPhone Stagnates, Declines - 0 views

  • Worldwide, it doesn't look so bad for Apple yet; it's still the king of the hill by a long shot, steady at about 50%. Android is making inroads, though, now accounting for almost a quarter of the world's mobile web usage.
  • And now we get to the interesting part: the United States. The top-notch Android phones have been available in the US for longer than in other countries, and carriers there have been pushing them longer. This shows: in the US, Android has almost overtaken the iPhone OS (which excludes the iPod Touch!) in mobile web usage - 42% vs. 44%.
  • ...2 more annotations...
  • In November 2009, the iPhone OS accounted for 55% of the mobile web usage in the US; now it's down to 44%. In the same timespan, Android grew from 27% to 42%. The US can be seen as a test bed for the rest of the world, since Android hasn't been pushed as much outside of the US as it has been inside of the US. In Apple's defence, though, the arrival of the iPad in the coming weeks may reverse the declining trend of the iPhone OS. And, as noted, the iPod Touch is not included in these figures. All in all, it's clear that Android is no longer just a speck on the horizon. Google's mobile operating system is a serious threat to Apple's iPhone, which could further explain why Apple decided to sue HTC. Jobs might be drinking coffee with Schmidt in a nicely staged press moment, but in the meantime, the '80s and '90s are happening all over again for Apple: the PC business model beating the Mac one.
Vincent Tsao

Solidot | Android使用率上升,iPhone停滞不前 - 0 views

  • 对于苹果为何要起诉HTC专利侵权有很多猜测,其中一个猜测是苹果对使用Android系统的手机数量上升而感到了威胁。根据最新的移动Web使用统计,苹果的担忧不无道理。 大型移动广告公司AdMob,跟踪了点击他们广告的移动手机型号和操作系统。数据显示,iPhone使用率停滞不前,已经呈现下降颓势;Windows Mobile仍然是微不足道;而webOS和RIM看来也不是令人乐观——注意这些数据是用户使用智能手机上网的比率,并非是实际销售数量。在2009年11月,iPhone OS占到美国移动Web使用的55%,而现在则下降到了44%,在此期间,Android从27%增加到了42%。也就是说目前iPhone OS和Android不分伯仲,差距极小。 根据Statcounter的统计,过去一周中国搜索引擎市场,百度和Google的起伏也十分大。Google最高一天达到了49.52%;百度最低为48.72%,最高59.51%。
Vincent Tsao

February 2010 Mobile Metrics Report « AdMob Metrics - 0 views

  • Some of the highlights from the report include: Smartphones accounted for 48% of AdMob’s worldwide traffic, up from 35% in February 2009, fueled by heavy application usage on iPhone and Android devices. Although the share of feature phone traffic in AdMob’s network declined from 58% to 35%, the absolute traffic from feature phones still grew 31%.  This means that while the overall traffic from feature phones is growing, traffic from smartphones and mobile Internet devices is growing faster. The mobile Internet device category experienced the strongest growth of the three, increasing to account for 17% of traffic in AdMob’s network in February 2010.  Although the vast majority of traffic in this category comes from the iPod touch, the category also includes devices like the Sony PSP and Nintendo DSi.
Vincent Tsao

Drawable to Bitmap By Hong - 8 views

啊~~~,一直没有留意App Buddy是良子大哥做的啊,哈哈,5星了, "Luke Shan"一下没让我联想起"良子"来 Orz

Drawable Bitmap

Vincent Tsao

Exploring the world of Android :: Part 2 « JTeam Blog / JTeam: Enterprise Jav... - 1 views

  • But in practice, you will notice that the AsyncTask is limited to 10 threads. This number is hardcoded somewhere in the Android SDK so we cannot change this. In this case it’s a limitation we cannot live with, because often more than 10 images are loaded at the same time.
    • Vincent Tsao
       
      使用AsyncTask类开辟的线程还有数量限制?必须小于10,这个倒是以前没有注意到的,要看看源代码怎么实现的
  • I’ve shown you how to improve performance of a ListView in three different ways: By loading images in a seperate thread By reusing rows in the list By caching views within a row
  • ...1 more annotation...
  • Notice that I used a SoftReference for caching images, to allow the garbage collector to clean the images from the cache when needed. How it works: Call loadDrawable(imageUrl, imageCallback) providing an anonymous implementation of the ImageCallback interface If the image doesn’t exist in the cache yet, the image is downloaded in a separate thread and the ImageCallback is called as soon as the download is complete. If the image DOES exist in the cache, it is immediately returned and the ImageCallback is never called.
  •  
    这个帖子完美解决了Image lazy load的性能问题, it works~
Vincent Tsao

Working with the Android Calendar - Developer.com - 1 views

  •  
    shared by Yan Wang@china-android-dev
Vincent Tsao

YouTube - Diigo Intro - 2 views

shared by Vincent Tsao on 24 Mar 10 - Cached
Vincent Tsao liked it
  •  
  •  
    A funny guy introduce how to use diigo
Vincent Tsao

How can I read SMS messages from the inbox programmatically in Android? - Stack Overflow - 0 views

  •  
    shared by 吴道远 @china-android-dev
Vincent Tsao

绝美的鸟类舞蹈_鸟类网 - 0 views

shared by Vincent Tsao on 27 Mar 10 - Cached
  •  
    课间休息一下 :)
Vincent Tsao

CommonsWare Android Components - 1 views

  • The CommonsWare Android Components, or CWAC, are open source libraries to help solve various tactical problems with Android development. Each CWAC component is packaged as a tiny JAR file that you can add to your project (e.g., drop it in libs/), requiring at most other CWAC JARs as dependencies.
Vincent Tsao

Google I/O - Turbo-charge your UI: How to Make your Android UI Fast and Efficient - 1 views

    • Vincent Tsao
       
      youtube视频在highlight中不能展示了,:( 手动添加先
« First ‹ Previous 361 - 380 of 497 Next › Last »
Showing 20 items per page