Not sure, if what we think would be possible or not in andorid..
However.. based on JavaME application framework, we do have different
libaries and different modules to use in any application.

i.e Foundation libraries, Application Modules, Application Assembly
Code.

In all, there are certain i18n parts.say for the foundation libaries,
'can't read a file from filesystem'  etc. As foundation is used by
more than one application, we do seperate all the resources needed for
foundation and would Like to put them a in explicit package and class
name FoundationR etc.. with in foundation sources. This would enhance
readablity..and find code voilations by seeing the name during the
compile time errors.

It may be better approach of generating once single name for
application... but we need to keep the foundation resources in every
application..

Regards,
Nagendra
C.T.O
www.tejasoft.com

On Jan 25, 2:25 am, Dianne Hackborn <hack...@android.com> wrote:
> Yeah it's currently not possible.  I can understand wanting to generate them
> into a different package, but would be somewhat opposed to allowing a
> different class name.  The trade-off of losing consistency between
> applications for allowing people to use some other name (why?) doesn't seem
> worth it to me.
>
>
>
>
>
> On Sat, Jan 24, 2009 at 5:06 AM, Jean-Baptiste Queru <j...@google.com> wrote:
>
> > Right now I believe that's unfortunately not possible - and it's
> > clearly a feature that would be nice to add.
>
> > JBQ
>
> > On Fri, Jan 23, 2009 at 10:06 PM, Raja Nagendra Kumar
> > <nagendra.r...@gmail.com> wrote:
>
> > > aapt while generating the resources, is it possible to provide a
> > > different package name for the generated R.java class. Currently it
> > > seems to use the same package name as the one in manfifest defination
> > > of AndroidManifest.xml
>
> > > <manifest xmlns:android="http://schemas.android.com/apk/res/android";
> > >          package="com.tejasoft.dialer.mobile.android">
>
> > > Also, is there a way to give custom class name instead of default R
> > > name say Resources
>
> > > Regards,
> > > Raja Nagendra Kumar,
> > > C.T.O
> > >www.tejasoft.com
>
> > --
> > Jean-Baptiste M. "JBQ" Queru
> > Android Engineer, Google.
>
> --
> 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.- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to