Development by Davis: “Could California bill mandate open access to research?” plus 3 more |
- Could California bill mandate open access to research?
- Thoughts on the White House Executive Order on open data
- Handling Phone Call Requests the Right Way for Users
- Open source project management on the rise
Could California bill mandate open access to research? Posted: 30 May 2013 02:00 AM PDT Champions of open access to publicly funded academic research had something to celebrate last week. Creative Commons is reporting (with just a touch of cautious optimism) the progress of California's Taxpayer Access to Publicly Funded Research Act (AB 609, for short), which has successfully moved through the State's Assembly Appropriations Committee and is ready for a vote. |
Thoughts on the White House Executive Order on open data Posted: 30 May 2013 12:00 AM PDT As those steeped in the policy wonk geekery of open data are likely already aware, last Thursday the President of the United States issued an Executive Order Making Open and Machine Readable the New Default for Government Information. |
Handling Phone Call Requests the Right Way for Users Posted: 29 May 2013 02:48 PM PDT Posted by Dirk Dougherty, Android Developer Relations One of the things users like most about Android is the flexibility to choose which apps should handle common tasks on their devices — from opening a web page or sending an SMS to playing a music file, taking a picture, or making phone calls. This flexibility is provided by Intents give you a powerful way to integrate your apps deeply into the system — users can even choose to let your apps replace functionality provided by system apps. In those cases, it's essential to make sure that anything your app can't or doesn't handle can still be handled properly by the default system app. Proper implementation and testing are especially important for apps that provide telephony services. Make sure that your app doesn't interfere with emergency calling by listening for the wrong intent — Listening for outgoing call requestsApps that provide phone calling services (such as VOIP or number management) can set up When the user initiates a call, the system notifies interested apps by sending an ordered broadcast of the If you want your phone calling app to be able to handle outgoing call requests, implement a broadcast receiver that receives the Note that the system broadcasts Here's an example broadcast receiver declared in an app's manifest file: <manifest> <uses-permission android:name="android.permission.PROCESS_OUTGOING_CALLS" /> <application> ... <receiver android:name=MyOutgoingCallHandler"> <intent-filter> <action android:name="android.intent.action.NEW_OUTGOING_CALL" /> <category android:name="android.intent.category.DEFAULT" /> </intent-filter> </receiver> ... </application> </manifest> The implementation of the corresponding broadcast receiver would look something like this: public class MyOutgoingCallHandler extends BroadcastReceiver { @Override public void onReceive(Context context, Intent intent) { // Extract phone number reformatted by previous receivers String phoneNumber = getResultData(); if (phoneNumber == null) { // No reformatted number, use the original phoneNumber = intent.getStringExtra(Intent.EXTRA_PHONE_NUMBER); } // My app will bring up the call, so cancel the broadcast setResultData(null); // Start my app to bring up the call ... } } Because the An anti-patternRather than listening for CALL_PRIVILEGED should only be used by apps that have the necessary Check your apps for proper use of NEW_OUTGOING_CALLIf your app provides phone calling services and already uses intent filters to handle outgoing call requests, take a few minutes to make sure it is listening for the proper Intent: If your app includes intent filters that listen for CALL_PRIVILEGED Intents, make sure to remove those filters and related code from the app (in favor of |
Open source project management on the rise Posted: 29 May 2013 02:00 AM PDT Frank Bergmann, founder of ]project-open[, talks with us about the open source project management solution and how the company strives for an open culture at the office. He says maintaining communication is essential, and it entails complete transparency and honesty. The community will quickly punish you if this doesn't happen. This is at the core of open source. Frank also tells us who his open source hero is. Read on for more insight into ]project-open[ and how this open company operates. |
You are subscribed to email updates from Developers by Davis To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
Google Inc., 20 West Kinzie, Chicago IL USA 60610 |
No hay comentarios:
Publicar un comentario