现在的位置: 首页 > 软件开发
2℃
2011年07月02日 程序设计 ⁄ 被围观 5,439+
这几天建立了个博客,想把这个博客的内容同时导入到其他博客中去,同时,当在本博客发表一篇博文的时候,也同步传输到其他博客中去, 这样就方便多了,以后只要维护一个就ok了。 CSDN的博客开放的比较好,符合http://www.xmlrpc.com/metaWeblogApi标准,可以有开放的API来调用,容易解决。 目前遇到的问题就是导入博文到百度空间,貌似百度现在还没有做出什么开放的API来,没办法来直接调用,不过也有方法来解决, 那就是通过程序来模拟浏览器的登录过程和发表文章的过程,通过测试,搞定。。O(∩_∩)O哈哈~ 下面介...
阅读全文
11℃
2011年07月02日 移动开发 ⁄ 被围观 14,070+
airbootstap.jar 的实现机制简单来说其实就是:   通过继承Android的Activity来实现一个新的Activity(AppEntry),它通过“com.adobe.air.AndroidActivityWrapper” 封装实现了Android中Activity本身的方法,例如onResume,onPause等等,废话不说,直接上源码,相信大家浏览过一遍 就基本清楚了。 package air.app; import java.lang.reflect.Method; import java.net.URISyntaxException; import android.app.Activity; import android.app.AlertDialog; import android.app.Dialog; import android.content.Act...
阅读全文
0℃
2011年07月02日 移动开发 ⁄ 被围观 6,976+
工程项目,建立步骤如下: 1. 下载工程项目所需的资源文件 air_for_android-flex_4_5-air_2_6-v_1 2. 建立 Android 工程 TestAIR (注意不要勾选Create Activity,先不创建Activity) Porject Name: TestAIR Standard Android Platform: 2.2 Application Name: TestAIR Package Name: com.carey Min SDK Version: 8 3. 将下载下来的资源文件覆盖新创建工程的同名目录和文件,包括 assets 和 res,airbootstap.jar 将作为链接库 4. 删除"res/layout" 目录 5. 将 airbootstrap.jar 添加到 Build Path 6. 新建一个Clas...
阅读全文
0℃
2011年07月02日 移动开发 ⁄ 被围观 3,090+
Application Licensing Android provides APIs to help you enforce licensing policies for non-free apps in the Android Market. You might want to go read up on Android Licensing before you give this one a try. To add Application Licensing to you AIR for Android application you first need to follow the steps outlined in the Android documentation. The broad steps are as follows: 1. Set up an Android Market publisher account 2. Install the Market Licensing Package in the Android ...
阅读全文
0℃
2011年07月02日 移动开发 ⁄ 被围观 2,494+
Widgets Widgets in Android are the mini apps that can be displayed on the home screen of the device. There is a fairly limited amount of things that can be displayed in Widgets. So unfortunately Widgets can’t be built with AIR for Android. However a custom application Widget can be packaged with an AIR for Android application. To add a Widget to an AIR for Android application you can use the default AppEntry class instead of wrapping it with another class (MainApp in my e...
阅读全文
0℃
2011年07月02日 移动开发 ⁄ 被围观 2,517+
System Notifications and Services AIR for Android applications don’t yet have an API to do Android system notifications. But you can add system notifications to your AIR for Android application through a startup hook. In order for the AIR application to communicate with the native Android APIs you must provide a bridge for the communication. The simplest way to create that bridge is using a network socket. The Android application can listen for data on the socket and then ...
阅读全文
2℃
2011年07月02日 移动开发 ⁄ 被围观 4,131+
Adobe AIR provides a consistent platform for desktop and mobile apps. While consistency is very important there are times when developers need to extend beyond the common APIs. This article will walk you through how to integrate AIR for Android applications with other native APIs and functionality in the Android SDK. It covers three common use cases for native extensibility: System Notifications, Widgets, and Application Licensing. If you’d like to follow along you will ne...
阅读全文
2℃
2011年07月02日 云计算 ⁄ 被围观 4,236+
网上翻墙的技术层出不群,本人自己也使用过很多,用过之后,发现还是利用appspot 最实在,最方便。 既然要利用appspot 进行翻墙,那么首先得解决访问*.appspot .com的问题, 因为它本身就是一个墙外的东西,真是灰常像先有鸡还是先有蛋的两难问题啊。。。 幸好这个问题比较容易解决,现将解决方法罗列如下: 【本文用的是win7,xp神马的类似】 1. 建立自己的appspot 代理 gappproxy, 在 google code 上面下载其源代码工程 gappproxy-read-only, fetchserver是用来上传到appspot的,比如我自己的代理地址为:http:/...
阅读全文
×
腾讯微博