Code Library

Free Source Code and Program Tips

Add a Listener Tips Android View Sample

In the development for the control to add Listener is a very common work, the easiest way to add Listener can be: 1 findViewById (R.id.myButton). setOnClickListener (new View.OnClickListener () (public void onClick (View v) (/ / Do stuff))); Add a Listener using the above method has a drawback is that if control is too large, [...]

1 Android Application Development, 1st EditionBy Rick Rogers, John Lombardo ………………………………… …….. Publisher: O'Reilly Media, Inc.Pub Date: May 26, 2009Print ISBN-13: 978-0-596-52147-9Pages: 336Slots: 1.0 Download, download link 1 Copyright Preface Part 1: Development Kit Walk-Through Chapter 1. Getting to Know Android Section 1.1. Why Android? Section 1.2. The Open Handset Alliance Section 1.3. The Android [...]

jBPM User Interaction Patterns

Boris Lublinsky posted a high quality article at InfoQ about jBPM User Interaction Patterns that shows how jBPM simplifies interactions with people through tasklists. Certainly worth a read!

Android: Actions for BroadcastReceiver

android.bluetooth.intent.action.BONDING_CREATEDandroid.bluetooth.intent.action.BONDING_REMOVEDandroid.bluetooth.intent.action.DISABLEDandroid.bluetooth.intent.action.DISCOVERY_COMPLETEDandroid.bluetooth.intent.action.DISCOVERY_STARTEDandroid.bluetooth.intent.action.ENABLEDandroid.bluetooth.intent.action.HEADSET_STATE_CHANGEDandroid.bluetooth.intent.action.MODE_CHANGEDandroid.bluetooth.intent.action.NAME_CHANGEDandroid.bluetooth.intent.action.PAIRING_CANCELandroid.bluetooth.intent.action.PAIRING_REQUESTandroid.bluetooth.intent.action.REMOTE_ALIAS_CHANGEDandroid.bluetooth.intent.action.REMOTE_ALIAS_CLEAREDandroid.bluetooth.intent.action.REMOTE_DEVICE_CONNECTEDandroid.bluetooth.intent.action.REMOTE_DEVICE_DISAPPEAREDandroid.bluetooth.intent.action.REMOTE_DEVICE_DISAPPEAREDandroid.bluetooth.intent.action.REMOTE_DEVICE_DISCONNECTEDandroid.bluetooth.intent.action.REMOTE_DEVICE_DISCONNECT_REQUESTEDandroid.bluetooth.intent.action.REMOTE_DEVICE_FOUNDandroid.bluetooth.intent.action.REMOTE_NAME_FAILEDandroid.bluetooth.intent.action.REMOTE_NAME_UPDATEDandroid.intent.action.AIRPLANE_MODEandroid.intent.action.BATTERY_CHANGEDandroid.intent.action.BATTERY_LOWandroid.intent.action.BOOT_COMPLETEDandroid.intent.action.CAMERA_BUTTONandroid.intent.action.CONFIGURATION_CHANGEDandroid.intent.action.DATA_SMS_RECEIVEDandroid.intent.action.DATE_CHANGEDandroid.intent.action.DEVICE_STORAGE_LOWandroid.intent.action.DEVICE_STORAGE_OKandroid.intent.action.GTALK_CONNECTEDandroid.intent.action.GTALK_DISCONNECTEDandroid.intent.action.HEADSET_PLUGandroid.intent.action.MANAGE_PACKAGE_STORAGEandroid.intent.action.MEDIA_BAD_REMOVALandroid.intent.action.MEDIA_BUTTONandroid.intent.action.MEDIA_EJECTandroid.intent.action.MEDIA_MOUNTEDandroid.intent.action.MEDIA_REMOVEDandroid.intent.action.MEDIA_SCANNER_FINISHEDandroid.intent.action.MEDIA_SCANNER_SCAN_FILEandroid.intent.action.MEDIA_SCANNER_STARTEDandroid.intent.action.MEDIA_SHAREDandroid.intent.action.MEDIA_UNMOUNTABLEandroid.intent.action.MEDIA_UNMOUNTEDandroid.intent.action.NEW_OUTGOING_CALLandroid.intent.action.PACKAGE_ADDEDandroid.intent.action.PACKAGE_CHANGEDandroid.intent.action.PACKAGE_INSTALLandroid.intent.action.PACKAGE_REMOVEDandroid.intent.action.PACKAGE_RESTARTEDandroid.intent.action.POWER_CONNECTEDandroid.intent.action.POWER_DISCONNECTEDandroid.intent.action.PROVIDER_CHANGEDandroid.intent.action.REBOOTandroid.intent.action.SCREEN_OFFandroid.intent.action.SCREEN_ONandroid.intent.action.TIMEZONE_CHANGEDandroid.intent.action.TIME_SETandroid.intent.action.TIME_TICKandroid.intent.action.UID_REMOVEDandroid.intent.action.UMS_CONNECTEDandroid.intent.action.UMS_DISCONNECTEDandroid.intent.action.WALLPAPER_CHANGEDandroid.media.RINGER_MODE_CHANGEDandroid.media.VIBRATE_SETTING_CHANGEDandroid.net.wifi.NETWORK_IDS_CHANGEDandroid.net.wifi.RSSI_CHANGEDandroid.net.wifi.SCAN_RESULTSandroid.net.wifi.STATE_CHANGEandroid.net.wifi.WIFI_STATE_CHANGEDandroid.net.wifi.supplicant.CONNECTION_CHANGEandroid.net.wifi.supplicant.STATE_CHANGEandroid.provider.Telephony.SIM_FULLandroid.provider.Telephony.SMS_RECEIVEDandroid.provider.Telephony.WAP_PUSH_RECEIVED 文章出处:DIY部落(http://www.diybl.com/course/3_program/java/javajs/20090313/161059.html)

JBossWorld: 8 Chances To Learn More About jBPM

There’s a big focus on jBPM at next month at JBossWorld. There’s 8 talks related to jBPM. Cool! jBPM Explained with Simple Use CasesTom Baeyens — Founder and Lead of JBoss jBPM (that’s me :-) Using JBoss Enterprise Middleware in NAVTEQBoris Lublinsky — Lead Architect, NAVTEQ How to Combine Web, SOA and jBPM to Deliver [...]

Sample Hibernate and Jbpm application.

There have been a few requests in the jBPM forum about how to integrate jBPM4 with an application’s domain. So this is a first pass at whipping up a sample project that does exactly that. I will be refining this once I get some more time, but I thought I would put as much of [...]

jBPM 4.0 is Out!

jBPM 4.0 was released last Friday, more infos on that can be found here. As read in the readme.html file, the two bugs I reported were fixed: [JBPM-2319] – Finished executions are not changed to “ended” (they stay in the “active” state)[JBPM-2340] – TaskService getTaskComments throws NullPointerException if the task is not found Thanks guys [...]

This is my first blog message:) At the final end I am going to blog about Mobicents Media server and other components of Mobicents platform. How to use it for development of the telco applications. Let’s start from one of the widely used telco application IVR, or Interactive Voice Response, is one of the most [...]

Tetsuya Ide doesn’t own an iPhone, but the teenage computer boffin is betting that Apple’s hit gadget is the key to having a new generation of video game players in the palm of his hand. He’s not the only one. Video game console titans Sony, Nintendo and Microsoft are facing growing competition from the increasing [...]

Where are all the Awesome iPhone Games?

The iPhone is gaining popularity as a gaming device. In fact, it has been reported that Sega has said that it’s just as powerful as the Dreamcast. This is potentially very exciting for iPhone owners. The Dreamcast is of the same generation as the Playstation 2 or original Xbox. To give another example EA was [...]