Skip to main content

Home/ Groups/ Android Dev
Vincent Tsao

Android 2.2 深度功能评测 | ifanr 爱范儿 ♂专注于拇指设备的小众讨论 - 1 views

  • Android 2.2 是一次增补式的更新,但仅靠效率提升一点就让它成为 Android 狂热者的重要升级。提升的响应速度和更平滑的界面过渡大大提升了用户体验。 几个新功能——特别是批量升级——提供了立即可用的明显好处。其它功能,如 SD 卡程序存储和云备份,可能要在 Android 开发者大量应用后才能体现真正的价值。我对云端信息服务特别有兴趣——这应该能够极大的丰富 Android,为程序开发社区开启创新之门。 Google 积极的开发努力将 Android 快速向前推进。和两年前相比,系统更成熟了。2.2 版本新增的 JIT 大大解决了 Android 的效率问题,赋予了它前所未有的竞争力。Google 正在向 3.0 迈进,用户界面似乎会有大革新,我们很有可能看到更多创新
Vincent Tsao

Android Market 应用数量将在本月突破十万大关 | 谷安--谷奥Android专题站 - 0 views

  • 上图是AndroLib.com统计的Android Market应用数量图表,可以看到截至7月1日应用数量已经超过9万大关,按照这个增速计算在7月里Android Market应用数量肯定会突破10万大关。要知道一年前这个数量还不到1万。
Vincent Tsao

谷歌力推低价Android手机的野心_Google Android_cnBeta.COM - 0 views

  • 新闻来源:21世纪网 作者:小刀马
  • 近日,市场又有消息称,谷歌将联合华为推低价Android手机。据悉,谷歌计划在中国和印度推动Android手机软件的发展,它们也试图为当地的开发者们寻找更多的生财之路。而为了吸引开发者们加入到Android操作系统中来,谷歌将提供工具,帮助他们销售产品,如订阅、虚拟货物及其它的形式。同时,谷歌还准备将Android操作系统植入低价手机中,这些手机由华为和 LG电子制造,主要面向亚洲和欧洲,而这两大地区正是诺基亚的腹地
  • Gartner表示,2009年移动广告市场只有10亿美元规模,但2013年将增长到135亿美元。此外,在移动应用上,谷歌落后于苹果。Android只有6.5万个应用程序,而苹果却有将近20万个。Gartner预计,2012年Android将成为全球第二大操作系统,超过苹果的iPhone OS,仅次于诺基亚Symbian
  • ...5 more annotations...
  • 如何才能更快速地让Android进入一个发展的快车道?无疑引入更多的开放者追捧这个系统是非常关键的。这也是苹果iPhone之所以成功的关键所在
  • 为了能够吸引到更多的开发者,谷歌试图帮助开发者通过软件赚更多钱,比如提供更简单的支付方式。
  • 目前大多的Android开发者通过广告赚钱,或者是一次性费用赚钱。如此一来,它们的收入比苹果平台少得多。苹果平台每年光是下载应用的费用就达44亿美元,应用商店每年占比77%,而Android只有9%。这是谷歌的软肋,也是谷歌Android没有苹果系统风靡的原因所在。为此,谷歌希望能打入低端手机市场,获得更多用户的使用,从而刺激Android手机系统的用户基数的增长,再带动第三方软件开发者对这个市场的关注和投入。谷歌也表示,eBay的PayPal已经向Android提供应用程序
  • 低端市场本来是很多制造大鳄并不十分感兴趣的市场,但是中国山寨市场的火爆让人们彻底改变了对这个市场的态度,大量的低端品牌涌入市场,并且获得了强大的生命力,本身就说明市场对该类产品的认可。这是一个非常值得谷歌思索的地方。于是,谷歌开始正式切入这个市场,并积极布局
  • 既然在硬件制造方面,谷歌难以和同类的竞争产品一争高下,那么改弦易张,进行有针对性地市场布局,比如支持更多的厂商推出Android产品,以及支持更多的第三方开发者进入到谷歌的阵营,或许这将是谷歌在移动市场竞争的最有力武器。而低端市场无疑是一个突破口,如果能够获得成功,那将星星之火可以燎原
Vincent Tsao

Creating a Home Screen App Widget on Android - Developer.com - 0 views

  • The Android system reuses Intents that match both action and scheme values—the "extras" values are not compared
    • Vincent Tsao
       
      通过设置不同scheme来区别不同的intent
  • In practice, this means the Intent for each App Widget identifier would actually be the same Intent. Fortunately, the solution is straightforward: define a scheme for your App Widget and use it to define unique Intent instances
  • // make this pending intent unique widgetUpdate.setData( Uri.withAppendedPath(Uri.parse( ImagesWidgetProvider.URI_SCHEME + "://widget/id/"), String.valueOf(appWidgetId)));
Vincent Tsao

Handling User Interaction with Android App Widgets - Developer.com - 0 views

  • An App Widget uses a special display control called RemoteViews. Unlike a regular View, a RemoteViews control is designed to display a collection of View controls in another process. Consequently, you can't simply add a button handler because that code would run in your application process, not in the process displaying the RemoteViews object (in this case, the Home Screen process).
  • In order to handle user interaction with an App Widget, the following tasks must be performed: Set a unique click handler for each App Widget control Have the click handler send a command to a registered receiver Process the command received and perform any action necessary Update the App Widget to reflect the changes
Vincent Tsao

Creating a Home Screen App Widget on Android - Developer.com - 0 views

  • onReceive(): The default implementation of this method handles the BroadcastReceiver actions and makes the appropriate calls to the methods shown above. (Warning: A well-documented defect exists that requires the developer to handle certain cases explicitly. See the following note for more information.)
  • Creating a simple App Widget involves several steps: Create a RemoteView, which provides the user interface for the App Widget. Tie the RemoteView to an Activity that implements the AppWidgetProvider interface. Provide key App Widget configuration information in the Android manifest file.
  • An App Widget is basically just a BroadcastReceiver that handles specific actions.
Vincent Tsao

putExtra error on AppWidget - Android Developers | Google Groups - 0 views

  • I am just making some AppWidget and I want to pass some Strings through UpdateView to an Activity. But the Bundle is null. I try this: -Widget.java                       Intent defineIntent = new Intent(context, Visor.class);                        defineIntent.putExtra ("org.rss.androides.post2","artist");                        PendingIntent pendingIntent = PendingIntent.getActivity(context, 0, defineIntent, 0);                        updateViews.setOnClickPendingIntent (R.id.widget, pendingIntent); -Viewer.java           Bundle b = intent.getExtras();                 if (b == null) {                     finish();                     return;                 } b is always null.
  • Remember that PendingIntents aren't keyed using extras: http://groups.google.com/group/android-developers/msg/b296f43ae70c4587 You could hack the extras through by mangling them into Uri parameters, or if you're using a ContentProvider, just point to a specific row.
  • Or use PendingIntent.FLAG_UPDATE_CURRENT; just be careful that each active instance has its own unique Intent.
Vincent Tsao

Bump Android App Review by AndroidTapp.com | Android Tapp. Android App Reviews - 0 views

  • Bump™ makes sharing photos, contacts, and apps with people as simple as bumping your phones together. Compatible with Android to iPhone too!
  • Bump for Android is an awesome app for quickly exchanging Contact info, Pictures and even Android apps! It’s such an easy way to share information on smartphones running the Bump app. It even works between Android and iPhones, so not just Android to Android or iPhone to iPhone bumps, but a mix of any phone running the app. Many users complain that you can’t Bump music transfers but understand there are legal issues involved there, something I’m sure Bump would not knowingly want to get involved with.
Vincent Tsao

How to implement a Button on an Android Widget - Stack Overflow - 0 views

  • I am just getting started with Android development and I have created a nice little widget that displays some info on my home screen. However, I now want to implement a Button on my widget that updates the info in my widget TextView.
  • Solved - I can confirm that an Activity is NOT needed if you want create a Button to update an Android AppWidget. I have been able to implement my AppWidgetProvider class such that it registers an android.appwidget.action.APPWIDGET_UPDATE intent-filter with the Broadcast receiver in the AndroidManifest.xml, which then fires the onUpdate event in the AppWidgetProvider class (which in turn then runs the UpdateService).
  • The UpdateService in my AppWidgetProvider class then uses onHandleIntent to run a private buildUpdate method - which registers the onClick event with a call to setOnClickPendingIntent as follows:
  • ...1 more annotation...
  • // set intent and register onclickIntent i = new Intent(this, MyWidget.class);PendingIntent pi = PendingIntent.getBroadcast(context,0, i,0);updateViews.setOnClickPendingIntent(R.id.update_button,pi);
Vincent Tsao

Android 2.2 demolishes iOS4 in JavaScript benchmarks - 1 views

  • We compared these findings with that of our tests of Apple's mobile Safari browser on the iPhone 4. The results show that the Android device delivers significantly faster JavaScript execution than the iPhone, scoring over three times better on V8 and almost twice as fast on SunSpider
  •  
    总是有这类比较Froyo和其他OS渲染JS性能的评测,难道是Google在鼓励更多web app运行在android浏览器下?
Vincent Tsao

Nexus one gets Linux - Hack a Day - 0 views

  •  
    Ubuntu on Nexus one
Vincent Tsao

sqlite3 in adb not in 2.2? - Android Developers | Google Groups - 0 views

  • Then I went ahead and installed 2.2 and now when > I type sqlite3 in the shell it says sqlite3 not found....  Any ideas? Well, it's in the 2.2 emulator image, for what that's worth. -- Mark Murphy (a Commons Guy)
  •  
    Android 2.2 的真机中不再有sqlite调试工具了? WTF! ! !
  •  
    求助于China android dev开发小组,有了解决办法: step 1: 从其他真机或者模拟器的 /system/xbin目录下copy一份 sqlite3 step 2: 进入shell执行chmod a+x sqlite3 或者 chmod 777 sqlite3 大功告成
Vincent Tsao

Widget Design Guidelines | Android Developers - 1 views

  • In portrait orientation, each cell is 80 pixels wide by 100 pixels tall (the diagram shows a cell in portrait orientation)
  • In landscape orientation, each cell is 106 pixels wide by 74 pixels tall.
Vincent Tsao

simple-quickactions - Project Hosting on Google Code - 2 views

  • This is a demo Android project showing how it's possible to have QuickActions and Popdown menu interface actions like those in the Twitter App.
« First ‹ Previous 261 - 280 of 497 Next › Last »
Showing 20 items per page