Skip to main content

Home/ Android Dev/ Group items tagged Compatibility

Rss Feed Group items tagged

Kiran Kuppa

Android Essentials: Creating Android-Compliant Libraries - Tuts+ Code Tutorial - 1 views

  •  
    For a library to be compatible with Android, it can only reference classes available as part of Android and other classes implemented specifically in the library itself.Android Libraries can contain Java classes, resources, and other project information, but not assets. They can reference other libraries and leverage third party JAR files. They have Android manifest files just like regular Android projects. However, they differ from normal Android projects in an important way: they cannot be compiled into their own application packages or deployed onto devices. They can also not be exported as standalone JAR files. Once referenced from an Android project, the library components are incorporated into the Android application that references them at build time and added to the application package. There is no need to declare the component as the library classes are rolled into the APK directly. In terms of compatibility, the Android project must have an API Level higher than or equal to the API Level set in the Android library.
Vincent Tsao

Backward Compatibility for Applications | Android Developers - 0 views

  •  
    官方关于android sdk各个版本的兼容性建议,正如官方建议的:"Testing is key"
Vincent Tsao

ActionBarSherlock - Home - 3 views

  •  
    ICS-centric design 的开源Library
  •  
    想到就悶 官方擴充套件既然要主推Action Bar pre3.0還要去找第3方套件。 雖然後來他們也有出Action Bar compatibility, 但真的是不好用。
  •  
    Google Android在Design方面一直是一个赶超者,直到ICS才多少得到些尊重。这才名正言顺的出了一系列"范式"。 在此之前,都是依赖开源社区的"试探性"的尝试,这些尝试"是否能用"尚且还是个未知数,就更别说"是否好用"了。 终于Android开始要'统一江湖'了,积极的第三方开发者也开始认可'统一'的方向,这是件好事. ICS的设计很优雅,更重要的是官方多次突出强调与iOS的区别,这让我很有归属感 :)
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

一个发布应用需要注意的地方 - China Android Dev | Google Groups - 0 views

  • 我今天说的,无关于功能,也无关于布局,而在于资源命名。 我是这样发现问题的,我的应用《千字文》发布两天内获得了大概600个安装,但是有三个用户说他们无法安装,错误是“安装包没有正确的签名”。用户们的 共同点是他们都是1.5的固件。怎么会出现这样的事情呢?我在发布之前使用我的1.6固件的G2进行测试的,没有在1.5固件上测试过,这是因为我在开 发时功能和布局都是以1.5固件为基准做的,我很有信心不会在1.5上出现异常。于是我尝试在1.5固件的虚拟机上安装我的apk文件,果然遇到了用户 提到的错误。我检查了AndroidManifest.xml文件,miniSDK是3,也没有1.5不支持的配置选项,没问题的。于是Google 之,发现了解决方案。 原来1.5和它之前的固件都有bug,就是对资源文件(asset或者res目录下的文件)的命名解析的不好,具体的错误我也没有仔细看,大概的意思就 是,资源文件的名字和数量的组合和排列有可能会造成某些资源文件无法被解析。我们无法得知哪些名字是无法解析的,也不知道哪些资源文件数量是恰好不能解 析的。我们可以做的,就是在打包之后,发布之前,自己在1.5固件(或之前的固件)上进行安装测试。通过了就好,通不过就尝试改几个资源文件的名字,或 者增加一个或几个dummy文件,再打包,直到测试安装成功。 我的应用就是在我改了一个资源文件的名字之后通过了1.5的安装测试。 希望我说的明白。重点:发布之前,务必在1.5固件上进行测试安装。
    • Vincent Tsao
       
      良子大哥关于平台兼容性的宝贵经验
1 - 6 of 6
Showing 20 items per page