Skip to main content

Home/ Android Dev/ Group items tagged http

Rss Feed Group items tagged

Vincent Tsao

Android Endless List - Stack Overflow - 0 views

  • 5 down vote accepted One solution is to implement an OnScrollListener and make changes (like adding items, etc.) to the ListAdapter at a convenient state in its onScrollStateChanged method. The following ListActivity shows a list of integers, starting with 40, adding 10 per scroll-stop.
  • public class Test extends ListActivity implements OnScrollListener {    Aleph0 adapter = new Aleph0();    protected void onCreate(Bundle savedInstanceState) {        super.onCreate(savedInstanceState);        setListAdapter(adapter);         getListView().setOnScrollListener(this);    }    public void onScroll(AbsListView v, int i, int j, int k) { }    public void onScrollStateChanged(AbsListView v, int state) {        if(state == OnScrollListener.SCROLL_STATE_IDLE) {                adapter.count += 10;                adapter.notifyDataSetChanged();        }    }    class Aleph0 extends BaseAdapter {        int count = 40;        public int getCount() { return count; }        public Object getItem(int pos) { return pos; }        public long getItemId(int pos) { return pos; }        public View getView(int pos, View v, ViewGroup p) {                TextView view = new TextView(Test.this);                view.setText("entry " + pos);                return view;        }    }}
  • You should obviously use separate threads for long running actions (like loading web-data) and might want to indicate progress in the last list item (like the market or gmail apps do).
Vincent Tsao

Authenticating against App Engine from an Android app - Nick's Blog - 0 views

  • Authentication with App Engine, regardless of where you're doing it, is a three-stage process: Obtain an authentication token. This can be done with ClientLogin for installed apps, for example, or with AuthSub for a webapp. When logging in directly to an application, this is the part of the login process where your user sees a Google signin screen. Take that authentication token, and use it to obtain an authentication cookie. Use that authentication cookie in all subsequent requests.
  • <uses-permission android:name="android.permission.GET_ACCOUNTS"></uses-permission> <uses-permission android:name="android.permission.USE_CREDENTIALS"></uses-permission> <uses-permission android:name="android.permission.INTERNET"></uses-permission>
Vincent Tsao

A Sneak Preview Of Dropbox's Upcoming Android App - 0 views

  • For those of you that haven’t tried Dropbox, it’s a service that makes it remarkably easy to share files between multiple computers (it means you don’t have to keep emailing files between your home and work computers, or rely on a clunky USB stick). It’s also great for collaboration — we’ve been using it around the TechCrunch office to share files for years now
Vincent Tsao

WePad--运行 Android 和 Adobe Air 平台的大号 iPad | iFanr 爱范儿 ♂专注于拇指设备的小众讨论 - 0 views

  • 面向杂志、报纸数字化发布的德国软件公司 Neofonie GmbH 近日发布了自己的平板电脑——WePad 以配合自家的内容发布平台 WeMagazine。
  • Neofonie 表示产品预期在今年 4 月发售,有可能早于 iPad 在欧洲的发售日期。WePad 的规格表看起来确实很美,增加了很多 iPad 缺失的重要功能,但至关重要的软件系统最终表现如何还无从得知。对于一家基本没有操作系统开发经验的小公司而言,这是一个相当有挑战性的任务。
  • ...2 more annotations...
  • WePad 有很多亮点,比如它采用了自己修改的 Linux 平台搭配 Android 系统,允许用户同时安装使用 Android Market 和 Adobe Air 程序;它采用了类似 iPad 的玻璃外屏和金属机身;其它配置也明显瞄准着 iPad
  • 不过这家小公司的野心还远不止于此,他们在介绍 WeMagazine 平台时也直言不讳自己以 iBooks 和 Kindle 商店为目标,写道: Apple iTunes 和 Amazon Kindle 强迫出版商退化为简单的内容提供商,而 WePad 允许出版商继续接触读者的信息。
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

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

Intel 公布可运行 Android 的 Atom 芯片的技术细节 | 谷安--谷奥Android专题站 - 0 views

  • 我们都知道Intel一直在试图将Android带到自己的Atom平台上,1个月前他们宣布了Atom已经可以成功运行Android和Meego系统,今天他们又透露了这颗Atom芯片的一些技术细节。 这颗Atom芯片属于Z6xx系列,在手机上可达到1.5GHz的主频,在平板上更是可以摸高到1.9GHz的速度,足以提供1080p视频的解码和720p视频的录制,帮助3D显卡闲置功耗降低50倍以上,等于多赋予电池10天的待机。这个新的芯片组应该可以提供长达2天的音频回放和4-5小时的视频浏览。 对Android的支持方面,Z6xx平台可支持标准的WiFi、3G/HSPA和WiMAX无线连接。之前传说Google和索尼联手打造的Android TV就内置了Intel的Atom芯片,那么很可能就是Z6xx系列,我们会在5月19日的Google I/O大会上见到运行Android的Atom芯片的庐山真面目。
Vincent Tsao

Swype 正在崛起,将重现 T9 输入法的辉煌? | ifanr 爱范儿 ♂专注于拇指设备的小众讨论 - 0 views

  • 软键盘软件公司 Swype 表示自己的技术将在年底前被用在 1000 万部智能手机上。 该公司 CEO Mike McSherry 在接受采访时表示美国四大移动运营商今夏都会提供预知 Swype 输入法的手机。欧亚和南美洲的移动运营商也将提供同类产品。他说:“我们希望让它(Swype)成为每一款触屏产品的标准键盘,现在已经有了一些大的进展”
Vincent Tsao

johannilsson/android-actionbar - GitHub - 0 views

  • This projects aims to provide a reusable action bar widget. The action bar replaces the default title and is therefor located at the top of the screen. The action bar highlights important actions. The action bar pattern is well documented over at Android Patterns. The action bar widget is an Library Project. This means that there's no need to copy-paste resources into your own project, simply add the action bar widget as a reference to your existing project.
Vincent Tsao

java - remove notification bar shadow in android app - Stack Overflow - 0 views

  • <!-- Variation on the Light theme that turns off the title --><style name="Theme.IOSched" parent="android:style/Theme.Light">    <item name="android:windowNoTitle">true</item>    <item name="android:windowContentOverlay">@null</item></style>
  • The android:windowContentOverlay is your shadow, and setting it to @null in your theme will eliminate it. You can see this in action in the Google I|O 2010 conference app, which uses many of the same UI conventions as does the new Twitter app. However, right now, the Twitter app has not yet been open-sourced, which is why I point you to the I|O app. The code fragment above is from that app's styles.xml resource.
Vincent Tsao

How QR Codes Can Grow Your Business | Social Media Examiner - 1 views

  • Consumers want immediate access to what’s relevant and QR codes are being used to make that possible.
  • Bar codes are linear one-dimensional codes and can only hold up to 20 numerical digits, whereas QR codes are two-dimensional (2D) matrix barcodes that can hold thousands of alphanumeric characters of information. Their ability to hold more information and their ease of use makes them practical for small businesses.
  • When you scan or read a QR code with your iPhone, Android or other camera-enabled Smartphone, you can link to digital content on the web; activate a number of phone functions including email, IM and SMS; and connect the mobile device to a web browser.
  • ...4 more annotations...
  • There are other software companies that have created 2D codes that work much like QR codes, with Microsoft being the most notable.  Microsoft developed their own proprietary software to create codes known as MS tags.  Unlike QR codes, which can be read by a number of different readers, MS tags can only be read by the Microsoft Tag Reader.
  • Calls to Action – After building a community, the next logical step is to mobilize them to take action.   What are you trying to accomplish?  You can alternate special offers by simply linking your QR codes to new landing pages, and you can combine then with email opt-ins to build your list.
  • SEO and SMO – Earlier this month I wrote an article on social graphs where I discuss how web objects such as images, music clips, and videos add valuable content to your social graph.  QR codes enhance both your search engine and social media optimization.  Now you can increase traffic to those searchable objects to further optimize them by encouraging more sharing.
  • Social Proof – To help build a community offline, it can be helpful to use your vibrant online communities as social proof of your influence and expertise.  As one example, you can use QR codes to link to specific blog posts that have earned an abundance of activity.
Vincent Tsao

svg-android - SVG parsing and rendering for Android - Google Project Hosting - 1 views

  • This is a compact and straightforward library for parsing SVG files and rendering them in an Android Canvas. By using vector art, the pain of supporting various screen sizes and densities in Android can be reduced. This was the library used to render the artwork and the interface of Androidify. The project also includes a Live Wallpaper app extracted from Androidify. The app shows off the SVG library, and demonstrates the rendering pipeline used to draw the Androids.
Vincent Tsao

androidpn - Xpress Push Notification for Android - Google Project Hosting - 1 views

  • An open source project to provide push notification support for Android -- a xmpp based notification server and a client tool kit. This project is currently being hosted at http://sourceforge.net/projects/androidpn/.
Vincent Tsao

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

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

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

前置摄像头意味着通过手势控制 Android | 谷安--谷奥Android专题站 - 0 views

  • 你可以在 EyE-Sight 站点了解到更多关于这一功能的消息,也可以通过下面的视频来了解更多细节。 继续观看视频:
Simon Pan

App Widgets | Android Developers - 1 views

  • To find your minimum width and height in density-independent pixels (dp), use this formula: (number of cells * 74) - 2
    • Simon Pan
       
      why i can't highlight?
    • Vincent Tsao
       
      FYI: You may need a toolbar to highlight, http://www.diigo.com/tools/toolbar
  • how often the App Widget framework should request an update from the AppWidgetProvider by calling the onUpdate() method
  • exactly on time
  • ...6 more annotations...
  • programmatically interface with the App Widget, based on broadcast events.
  • programmatically interface with the App Widget, based on broadcast events.
  • programmatically interface with the App Widget, based on broadcast events.
  • only the event broadcasts
  • when each App Widget is added to a host
  • it includes a loop that iterates through each entry in appWidgetIds,
Vincent Tsao

Palm用户体验大师加盟谷歌Android团队_Palm_cnBeta.COM - 0 views

  • 惠普旗下的Palm公司已确认,公司副总裁、webOS UI设计负责人、著名移动用户体验设计大师Matias Duarte将离职。而来自Google方面的消息,Duarte将加入Google,出任Android用户体验总监一 职。由于历史上Matias Duarte在跳槽时,总是带着自己的团队同行,所以很可能Palm原设计团队的其他人也会随之而去。这其实并不奇怪,Duarte本来就是 Android之父Andy Rubin 2000年创办的公司Danger的设计总监。 2005年Danger被微软收购后(最近推出的Kin手机来自Danger),Duarte加盟 Helio公司(由EarthLink与SK合资创办,现在是Springt-Nextel的一部分)任副总裁,负责体验设计。2007年加盟Palm, 主导webOS的UI设计。无论是Danger、Helio还是Palm webOS,其界面设计都广受好评,可惜产品本身生不逢时。尤其是webOS, 曾被许多开发者称为在创新性上唯一能与iPhone相提并论的操作系统。
  • Matias Duarte,在产品管理、信息架构、交互设计、视觉设计、用户研究等领域均有很深造诣的设计大 师。1996年毕业于马里兰大学。拥有计算机科学学位,并辅修了艺术和艺术史。大学期间曾经开发了一款免费游戏软件,并连续三年获得Linux Journal的读者选择奖。1996年为Atari公司(乔布斯曾经在此打工)的游戏担任过主设计师。1997年在创业公司 MagicArts任合伙人兼设计副总裁。2000年加入Danger,任设计总监,领导了SideKick产品的设计。2005年加盟Helio。 2007年加盟Palm。 曾荣获2002年Wired Rave大奖,美国国家设计奖提名,拥有9个美国实用专利和2个设计专利。 他的自我介绍上这样描述自己的目标:To create great products that make people smile.(创造使人微笑的优秀产品。)
‹ Previous 21 - 40 of 494 Next › Last »
Showing 20 items per page