XML Schemas for Android namespaces?

by Erik Hellman » Tue, 06 Jan 2009 01:20:08 GMT


Sponsored Links
 Hi!

I search for the XML schema defined by the namespace "http://
schemas.android.com/apk/res/android". I know this has been asked
before, but that was over a year ago. Are this schema available
somewhere? It would be really great if these could be published as it
would make XML editing MUCH easier for those of us  who prefer
NetBeans or IntelliJ.

Any progress on publishing these? If not, is there any other
specification available so that we (the community) could create the
schemas outselves?

Thanks!

// Erik

--~--~---------~--~----~------------~-------~--~----~



XML Schemas for Android namespaces?

by Ward Willats » Tue, 06 Jan 2009 01:50:19 GMT


 Hear hear. Even for those of us writing stuff by hand it would be useful.

I've been trying to get my head around what a definitive schema would 
be though. It seems like the way things like attrs.xml work (to 
define elements for custom controls) some of the XML grammar is 
defined at resource compile time by other XML. (A static schema would 
give you the meta-framework for this, but not the specific grammar 
for a particular compilation run.)

I'd still like to see the static schema though!

-- Ward



--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


XML Schemas for Android namespaces?

by Dianne Hackborn » Tue, 06 Jan 2009 10:54:47 GMT


 There isn't a schema for that.  The
 http://schemas.android.com/apk/resnamespace is a prefix for the 
symbols defined for any possible .apk, to
ensure they are not ambiguous with other XML namespaces.  You could possible
extend aapt to be able to generate some kind of schema when building a set
og resources, but the names here are really defined by the resource files.






-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support.  All such questions should be posted on public
forums, where I and others can see and answer them.

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Icon Spacing

Android 2.0: Why are the icons so far apart on the home screens?  They
could have fit another row or two of icons.  If you have the Google
search bar at the top, you can only fit 12 icons on the main screen.

--

2. Sr. SW Engineer, Java, J2ME, Android, Messaging Middleware Development - Central New Jersey and Dallas, TX

Riccione Resources, the Recruitment Firm with over 24 years
experience, is proud to announce an Embedded Messaging Developer
position.  The ideal candidate is a generalist with a strong
background in messaging software; open-minded and possesses a drive to
learn new things quickly; will work with a team of like-minded
engineers to build advanced messaging middleware components of a next
generation wireless product.

This lab has 2 major goals:
- Research and development of next generation wireless software ,
platforms and solutions for the global marketplace
- Development and commercialization of advanced products for the North
American Market to maintain competitive edge

Responsibilities
- Design and build next-generation Messaging Middleware
- Measure and characterize performance of the middleware, and suitably
improve performance as needed
- Develop abstractions to hide platform specific capabilities
- Be the in-house Guru for various forms of messaging, including
email, text messaging, instant messaging, Visual Voice Mail (VVM), and
social networking protocols
- Travel to overseas offices and customer sites (worldwide) for 1-3
weeks at a time to assist in integration, commercialization activities
- There may be 3-4 such trips per year.

Qualifications
- Senior level software development skills
- Java, J2ME and Android applications or middleware development
- Knowledge of and experience with one or more of the following:
Email protocols such as IMAP, POP3, SMTP, ActiveSync, Lotus Notes;
text messaging protocols such as SMS, MMS, and IMS; Visual Voice Mail
(VVM); instant messaging protocols; social networking APIs for
accessing services such as Facebook, MySpace, Twitter, etc.
- Very strong design and abstraction skills - as it relates to
programming, development of re-usable components etc.
- B.S. Computer Science
Desired but not required:
- Masters degree in CS
- Fluent in C/C++ programming (C++ preferred)

Salary:  $100k - 150k + Bonus Plan

Relocation:  Moving assistance

Email resume to ka...@riccione.com

--

3. Windows 7 + adb driver for G1 -- can't install, because "the best driver" is already installed. Augh.

4. Interrupting the app uninstaller

5. How to set target in eclipse at the time of creating AVD.

6. android-sdk sans gui

7. Trouble setting up SDK on ubuntu 9.10