My Blog List
Diberdayakan oleh Blogger.
Kamis, 16 Desember 2010
Happy Holidays!
Label:
android,
apple,
blackberry,
gingerbread,
mac,
mobile,
mobile platform,
wireless
Kamis, 14 Oktober 2010
Reader Feedback: Manifest Permissions Editor
[UPDATE: 13 Feb, 2011: This problem now longer exists in ADT 9.0.0 (the version right after 0.9.9).]
The Android Manifest file editor within Eclipse provides a number of useful editing tabs to wrangle the complexities of this file. One such tab is the Permissions tab. Use the Permissions tab to manage the permissions that your application uses and grants to others.
If you've been working with Android for a while, then you may be familiar with the permissions listed in the drop-down when you register a new permission using the uses-permission tag. We refer to this feature in both our books; specifically in Sam's Teach Yourself Android Application Development in 24 Hours
, Hour 5, "Configuring the Android Manifest File."
Unfortunately, a recent update to the Android Development Tools plugin removed this drop-down. We're not sure if it's a bug or not yet, but the drop-down disappeared in the software update between ADT 0.9.8 or ADT 0.9.9.
What used to look like:
Now looks like:
When you press the Browse... button, the dialog comes up.
The field provided still works for typing in permissions values by hand, instead of selecting them from a list. The alternate method, editing the XML file directly from the last tab, hasn't changed at all.
So where is one to get these values to type in yourself? On page 90 and 91 of the SAMS book, we've listed a number of the most common permission values. However, the best place to get the appropriate values for your applications is from the Android SDK documentation. Permissions are defined in the documentation for the android.Manifest.permission class. Also conveniently listed with these values is a short description of what they enable the application to do. Before including a permission within your application, always check the documentation to determine if that is the most appropriate one to use.
The Android Manifest file editor within Eclipse provides a number of useful editing tabs to wrangle the complexities of this file. One such tab is the Permissions tab. Use the Permissions tab to manage the permissions that your application uses and grants to others.
If you've been working with Android for a while, then you may be familiar with the permissions listed in the drop-down when you register a new permission using the uses-permission tag. We refer to this feature in both our books; specifically in Sam's Teach Yourself Android Application Development in 24 Hours
Unfortunately, a recent update to the Android Development Tools plugin removed this drop-down. We're not sure if it's a bug or not yet, but the drop-down disappeared in the software update between ADT 0.9.8 or ADT 0.9.9.
What used to look like:
![]() |
| Permissions tab from ADT 0.9.7 showing the drop-down list of values |
![]() |
| Permissions tab from ADT 0.9.9, with the corresponding Browse... dialog |
The field provided still works for typing in permissions values by hand, instead of selecting them from a list. The alternate method, editing the XML file directly from the last tab, hasn't changed at all.
So where is one to get these values to type in yourself? On page 90 and 91 of the SAMS book, we've listed a number of the most common permission values. However, the best place to get the appropriate values for your applications is from the Android SDK documentation. Permissions are defined in the documentation for the android.Manifest.permission class. Also conveniently listed with these values is a short description of what they enable the application to do. Before including a permission within your application, always check the documentation to determine if that is the most appropriate one to use.
Jumat, 17 September 2010
Building an Android Application: Book Excerpt
Sometimes publishers allow sites to publish entire chapters of books. ComputerWorld recently published a complete chapter from Sam's Teach Yourself Android Application Development in 24 Hours
. We think this is a particularly good excerpt, too, as it has broad topic coverage.
This excerpt, from Hour 3, covers topics from application design to resources to Android Activities. And then it goes on, and covering Activity lifecycle and even Intents and various things you can do with them as a developer. You even get information about debug logging. It's not just a preview of Hour 3, it's nearly the whole chapter.
Check it out at ComputerWorld!
This excerpt, from Hour 3, covers topics from application design to resources to Android Activities. And then it goes on, and covering Activity lifecycle and even Intents and various things you can do with them as a developer. You even get information about debug logging. It's not just a preview of Hour 3, it's nearly the whole chapter.
Check it out at ComputerWorld!
Selasa, 14 September 2010
¡Hola! Writing Android Apps for Different Languages and Locales
![]() |
| Find out how this screen is localized! |
Resources need not just be strings, either. Learn how to localize and internationalize your strings, colors, images, and more in Android SDK: Building a Localized Phrasebook.
Label:
android,
code,
development,
internationalization,
language,
locale,
localization,
project risk,
tutorial
Kamis, 09 September 2010
Reader Feedback: Missing Code! Creating Android Widgets
Not all of the feedback we get is from our books. We write articles for numerous sites around the net and in print form. On most of these systems, we don't have a good way of updating or changing the article once it's posted. Recently, we came across an issue where a series of articles lost their download links for the source code. This series was written back in October of 2009 and discussed creating widgets for Android on the then-new Android 1.5.
We have moved all of the widget tutorial code to Google Code hosting so it should stick around for longer. The tutorials are still available from developer.com:
We have moved all of the widget tutorial code to Google Code hosting so it should stick around for longer. The tutorials are still available from developer.com:
Label:
android,
API,
app widget,
appwidget,
development,
extension,
Home screen,
host,
plugin,
provider,
source control,
widget
Selasa, 07 September 2010
Android 2.2 Spreading Wide
![]() |
| We visited the sculptures after Google IO 2010 |
Recall ten of the most anticipated items us developers were looking for in Top 10 Android 2.2 Features Developers Can't Wait to Use. Anticipated, but have they lived up to the hype? You tell us. Interestingly, Cloud to Device Messaging is still not widely available. And, although it's a user feature, we're definitely seeing that not all carriers are taking the Tethering option as it was developed. The Nexus One could very well be alone in it's implementation.
We took a look at past desserts of Android and compared them to the latest, FroYo (mmm, Frozen Yogurt!), in Android 2.2 and Its Previous Versions: A Sweet Developer Review. Although most of the full API level updates have been fairly minor (especially, for instance, API Level 6 to 7), when you look all the way back to API Level 1, the changes have been substantial. Not only have the APIs changed, but the tools have vastly improved. They started out being surprisingly good for a very young platform. Now they're better than even more mature platforms.
Lastly, we wrote an overview of Android 2.2 for users and developers alike, printed in Linux User & Developer magazine, a UK publication. Hey, Android is available worldwide, mates! This one covers many of the same topics, naturally. (What, did you expect Android 2.2 to change?)
With Android FroYo old news now, what are you most looking forward to in Gingerbread, the next expected release of the SDK (presumably API Level 9)?
Label:
android,
code name,
cupcake,
developer,
development,
donut,
eclair,
froyo,
gingerbread,
mobile,
mobile platform,
version
Langganan:
Postingan (Atom)
Category
- 1.5 (2)
- 1.5 1.5 R1 (2)
- 1.6r2 (1)
- 2.0 (3)
- 2.0.1 (1)
- 4.0 (2)
- activity (1)
- activitymanager (1)
- address (1)
- amazon (2)
- android (54)
- android 3.0 (1)
- android 3.2 (1)
- android compatibility (2)
- android ndk (1)
- android sdk (2)
- Android Virtual Device (3)
- API (1)
- App (3)
- App Store (2)
- app widget (1)
- apple (1)
- appwidget (1)
- archos (2)
- article (1)
- articles (1)
- atrix (1)
- atrix4g (1)
- AVD (3)
- awad (2)
- awad2e (2)
- beginner (1)
- Berlin (1)
- blackberry (3)
- book (13)
- books (2)
- borders (1)
- brick (1)
- bug (3)
- bugs (1)
- business (5)
- business case (1)
- business plans (3)
- buzz (1)
- camangi (1)
- cell phone (3)
- class (1)
- code (8)
- code name (1)
- coding (2)
- college (1)
- commercial (1)
- compatibility (1)
- compatibility scaling (1)
- compiling (1)
- conference (1)
- contacts (1)
- contactscontract (1)
- coupon (1)
- coursework (1)
- cupcake (2)
- cute (1)
- DEBUG_TAG (1)
- debugging (1)
- defect tracking (3)
- defects (1)
- design (1)
- designer (1)
- developer (8)
- development (15)
- device (1)
- devices (2)
- diagnostics (1)
- discounts (1)
- distribution (1)
- donut (1)
- download (1)
- droidcon (2)
- e-book (2)
- e-version (1)
- eclair (1)
- Eclipse (6)
- ed (1)
- edu (1)
- emulator (2)
- errata (2)
- error (2)
- errors (2)
- europe (1)
- excerpt (1)
- exercise (1)
- extension (1)
- feedback (1)
- fix (1)
- fragmentation (1)
- free (3)
- froyo (1)
- fruit (1)
- fun (1)
- Germany (1)
- gingerbread (4)
- giveaway (2)
- Google (7)
- hardware (3)
- help (1)
- higher education (1)
- holiday (1)
- Home screen (1)
- honeycomb (2)
- host (1)
- ice cream sandwich (2)
- ics (2)
- IDE (1)
- implementation (1)
- incentive (1)
- informit (1)
- installation (1)
- internationalization (1)
- iPhone (4)
- issue (1)
- Junit (1)
- korea (2)
- korean (1)
- L14 (1)
- language (1)
- layout (2)
- layout editor (1)
- learning (2)
- level 13 (1)
- local (1)
- locale (1)
- localization (1)
- logging (2)
- mac (2)
- macos (1)
- manifest (1)
- maps (1)
- marketplace (5)
- mobile (13)
- mobile platform (5)
- mobiletuts+ (1)
- moblie (1)
- monetization (1)
- motorola (1)
- news (1)
- paid (1)
- parse (1)
- plug-in (2)
- plugin (1)
- preview (3)
- project risk (2)
- provider (1)
- published (3)
- publishing (2)
- purchase (3)
- QA (1)
- quality assurance (1)
- question (1)
- raw (1)
- raw resources (1)
- reading (3)
- release (1)
- resources (1)
- review (1)
- revisions (1)
- root (1)
- safari (1)
- sale (1)
- sample (2)
- samples (1)
- SAMS (7)
- sams2e (2)
- scaling (1)
- SDK (7)
- SDK update (3)
- server (1)
- slides (1)
- snapshot (1)
- Software (3)
- source code (3)
- source control (2)
- student (1)
- sty (1)
- subscription (1)
- tablet (1)
- tablets (1)
- tale (1)
- teacher (1)
- teaching (3)
- testing (3)
- tips (4)
- tools (2)
- translation (1)
- travel (1)
- tricks (1)
- tutorial (5)
- unit testing (1)
- update (2)
- updates (2)
- upgrade (5)
- URI (1)
- version (4)
- video (2)
- VideoView (1)
- widget (1)
- wireless (14)
- workaround (1)





