Skip to main content

Home/ Android Dev/ Group items tagged http

Rss Feed Group items tagged

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

Is it possible to update a widget from an Activity? - Android Developers | Google Groups - 0 views

  • An AppWidgetProvider is a BroadcastReceiver. That gives you two possibilities right off the bat: 1. Have it also handle whatever other Intents you were planning on setting up with a separate BroadcastReceiver, or 2. Send an Intent from whatever component you want to the AppWidgetProvider. In other words, don't worry about trying to talk directly to the app widget (which I suspect is impossible) -- just talk to your code that already talks to the app widget.
    • Vincent Tsao
       
      good explanation
  • I update my widget from within my app, when I delete/add entries to a list. To do this, I have a method (updateWidget) and a static String (UPDATE_ACTION). My updateWidget() method sends a broadcast which is received by the widget class and then calls onUpdate() with the appropriate params: private void updateWidget() {                 Intent i = new Intent(this, TVWidget.class);                 i.setAction(TVWidget.UPDATE_ACTION);                 sendBroadcast(i);         } In TVWidget class: @Override         public void onReceive(Context context, Intent intent) {                 String action = intent.getAction();                 if (action != null && action.equals(UPDATE_ACTION)) {                         final AppWidgetManager manager = AppWidgetManager.getInstance (context);                         onUpdate(context, manager,                                         manager.getAppWidgetIds(new ComponentName(                                                         context, TVWidget.class)                                         )                         );                 }                 else {                         super.onReceive(context, intent);                 }         } This seems to work fine.
Vincent Tsao

Android Developers Blog: Twitter for Android: A closer look at Android's evolving UI pa... - 1 views

  • Additionally, you can feel free to use the Search bar selection mechanism as a replacement for tabs since it’s really just a fast pivot on a data set. If you have more than 3 data sets, tabs become problematic since no more than 3 can be onscreen at once. For example, look at how we implemented the Profile switching mechanism below:
  • The good news for developers is you get this highly functional contacts feature for free if users choose to sync contact information into your app
    • Vincent Tsao
       
      使用tab & pop-up window的方式来切换不同的数据集,作为tab的一种替换
  • The good news for developers is you get this highly functional contacts feature for free if users choose to sync contact information into your app. QuickContact for Android provides instant access to a contact's information and communication modes.
  • ...3 more annotations...
  • QuickActions can be used as a replacement for our traditional dialog invoked by long press.
  • The dashboard pattern serves as a home orientation activity for your users. It is meant to include the categories or features of your application. We recommend including an Action bar on this screen as well. The dashboard can be static or dynamic. For example, in the case of our dashboard for Twitter, we used the goodness of Live Wallpapers introduced in 2.1 to create an animated dashboard complete with real-time trend bubbles and the Twitter bird silhouette.
  • You keep a search history so users upon returning to the search activity can have quick one-button access to previous searches.
Vincent Tsao

HTC Magic will get Android 2.2, According to SFR | Android Community - 0 views

  • Most Android Smartphones released this year will receive the Android 2.2 Froyo. If you have a 2009 HTC Magic, then you might receive the Android 2.2 Froyo as well. France’s 2nd largest largest mobile carrier SFR officially announced the Magic will be receiving the Froyo update.
  • T-Mobile USA said the myTouch 3G, basically the same thing as a HTC Magic would be updated with Froyo a bit later this year. So it looks like the old Magic will be receiving the new Google OS in the next few months.
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

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

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

手势操作(自然用户界面)再探讨 | ifanr 爱范儿 ♂专注于拇指设备的小众讨论 - 0 views

  • 手势相对于无趣的触摸和点击来说,给用户带来了的动态感。但是,缺乏一致性,操作的不易发觉,加上极易触发的不可恢复的操作,使得整个系统的可用性遭到损害。  我们迫切的需要回到基本原则,为这些系统开发可用性指南,这份指南应该基于交互设计的坚实原则,而不是某个公司在人机交互指导中的奇思,或者一些开发者的妙想
  • 简单的宣称你的用户界面“有趣”和“自然”并不能证明你的界面可用,当你的用户使用软件时,对于如何操作茫然无措,并不是什么好玩的事情
    • Vincent Tsao
       
      good point!
  • 1.Android 许多重要的功能是不可见的,除非你长按界面上的某东西,我经常对此感到懊恼
  • ...2 more annotations...
  • 2.他们提到了“隐藏手势”和取消可见菜单。很明显的,在可视菜单上,WebOS 比其它系统做的好。Android 和 iPhone 在这方面都做错了。iPhone 没有菜单, Android 用一个硬件按钮来触发菜单,这意味者你永远不知道程序在什么情况下会有菜单。硬件按钮始终在那里,无论程序是否需要它。
    • Vincent Tsao
       
      尤其对于Android新用户,隐藏的menu会让人手足无措,这点远不如iphone (webos没有使用过,no comment)尚被人接受的原因是:学习成本还好并不高
  • 3.在使用一个 iPhone 应用记录我的购物清单的时候,我发现每次去购物我都会少卖几件东西。最终,我发现,在向购物车里放物品的时候,我经常无意的划过 iPhone 的屏幕,随机的把清单上的东西移除了。这个触摸删除功能是可以关掉的,但是作为默认操作,这个程序会表现的不可靠,在用户没有意识到的情况下出现错误,而且对于用户来说,这个后果不易发现,更无法恢复
    • Vincent Tsao
       
      这个例子应该算作这个app的用户体验设计缺陷,但是iphone对这类场景体验的原生设计是很不错的。举个经典的例子:用iphone接电话,偶尔需要用键盘输入东西。当手机靠近耳朵,屏幕就变黑,默认为不可触摸,当手机离开了耳朵,黑屏就变为了可触摸,并且默认将键盘显示,这一贴心的考虑让"误触摸"的几率尽量降低。而Android上的同一场景体验简直是个噩梦!
Vincent Tsao

移动平台应用程序现状 | ifanr 爱范儿 ♂专注于拇指设备的小众讨论 - 0 views

  • 市场调研公司尼尔森最近发布了 ”App Playbook“,他们调查了 4200 名在过去 1 个月中下载应用的人
  • 2009 年第四季度,21% 美国无线用户拥有智能手机,这一数字高于上一季度的 19%,大幅高于 2008 年底的 14%。 14% 的移动用户在 30 天内下载过一个应用。 应用程序平均数量:智能手机:22,功能手机:10 BlackBerry: 10 iPhone:37 Android: 22 Palm: 14 Windows Mobile: 13
  • Facebook, Google Maps and Weather Channel 是跨平台间最受欢迎的应用 iPhones: Facebook (58%), iTunes (48%), Google Maps (47%) Android: Google Maps (67%), Facebook (50%), Weather Channel (38%) Blackberry: Facebook (51%), Google Maps(34%), Weather Channel (28%)
  • ...1 more annotation...
  • 社交网络:毫无疑问,Facebook 占领头把交椅,不过 MySpace 在青少年中非常受欢迎;LinkedIn 的受众群为 25-44 岁的成年人。 新闻/天气:超过 58% 的受访者使用 Weather Channel ;除 Time Mobile 和 Thomson Reuters 之外,各站间(访问者)年龄分布较相似。 购物:Amazon 和 eBay 领先(57% 和 41%) 搜索/地图:男性居多,尤其是 Instamapper (80/20) 视频/电影:向男性倾斜; Imeem 和 Moviefone 显示有大量的年轻用户群。 音乐:iTunes,Pandora,Sirius XM 吸引更多的男性,而 Yahoo Music 男女几乎对半。(51/49)
Vincent Tsao

MinimumPC: App Inventor with an Emulated Android - 0 views

  •  
    可以将Inventor中的原型导入emulator中进行测试了!
Vincent Tsao

最封闭的开源系统,话说Android的八宗罪 | ifanr 爱范儿 ♂专注于拇指设备的小众讨论 - 0 views

  • 没错,Google 的移动平台是当前最聪明的利用开源来驱动商业议程的实现
  • 虽然早期饱受质疑,Google 的 Android 移动平台已经在移动行业得到了营运商和手机厂商的广泛支持,仅剩固执的诺基亚。Android 从 08 年的一款机型发展到 10 年的 50 多款,发展之快让绝大多数的业内观察家们吃惊
  • 话说回来,Android 用开源来做市场宣传,非常成功的搅乱了整个行业,导致了诺基亚对 Symbian 的收购以及 Windows Mobile 的全面崩溃(不过译者觉得 iPhone OS 4 的多重任务机制的发布让 WP7 真正成了杯具帝)。不过更重要的是,利用开源的名号和 Google 的魅力,Android 吸引了成千上万的开发者,虽然 Android 并不能让开发者们赚到很多钱,而且 Android 手机的数量不到苹果产品的十分之一(连支持收费的国家都比苹果少6倍)。
  • ...3 more annotations...
  • 进化的速度. Google 对 Android 的创新的速度是移动行业内绝无仅有的,他们在 18 个月里发布了四个大版本。想在 Android 上面做文章的 OEM 厂商只得紧跟 Google 的步伐(这里想起了移动杯具的 OMS),不然就跟不上新功能的发布和 bug 修复。Nexus One、Droid、G1 和其它带有 Google体验应用的手机给 Google 提供了创新的测试场
    • Vincent Tsao
       
      HTC也很杯具,2.1直到几周前才完全ready,而这时2.2也将要井喷了
  • 借用亨利福特在 Model-T 相关的书里的一句话:“任何人都可以自由挑选 Android 的颜色,只要那是黑色”(anyone can have Android in their own colour as long as it’s black)。Android 是一个绝好的商业案例——展现一家公司是如何用开源来赢得关注和社区参与,而且同时保持一个非常严密的商业运作。
  • 手握 Android,Google 的目标是为自己产生收入的服务提供一个稳定的平台。在当前,这个广告生意。但未来,Google 的目标在语音服务(几十亿没有数据服务的用户)和 Google Checkout(比如变成移动领域的 visa 卡)。但不管 Google 的终极目标是什么,我们应该意识到 Android 和 Windows Mobile、Mac OSX 或 PalmOS 相比,并没有开放多少。Android 是用开源来驱动商业议程的最聪明的案例之一。Android 骨子里并没有我们潜意识里所灌输的那么多不作恶思想。
  •  
    关于Android的其他声音,猛的发现还是Hong大哥翻译的
« First ‹ Previous 121 - 140 of 494 Next › Last »
Showing 20 items per page