[android-developers] Re: Problem Using Jar File

2009-08-28 Thread Atif
Thanks Mark, But my jar file is referring number of layouts (about 10) and these layouts contains number of ids (about 100). It is difficult to pass so many ids as parameters. We also try to include the R file in jar and in code we refer this R file as com.mypackage.R.layout.* and

[android-developers] Re: Problem Using Jar File

2009-08-28 Thread Mark Murphy
Thanks for your reply.Right now we are not using the R file of that project whose jar file is created.Jar file does not contains R files of that project.So R.layout and R.id's are created in the client project where i am using jar file. And that is precisely your problem, if the

[android-developers] Re: Problem Using Jar File

2009-08-28 Thread Mark Murphy
But my jar file is referring number of layouts (about 10) and these layouts contains number of ids (about 100). It is difficult to pass so many ids as parameters. You can try Resources#getIdentifier(). If you get this working, please cache your results, as these lookups are apparently

[android-developers] Re: Problem Using Jar File

2009-08-28 Thread Atif Gulzar
Thanks Mark, It works, I will look into it how to optimize it. -- Best Regards, Atif Gulzar I Unicode, ɹɐzlnƃ ɟıʇɐ On Fri, Aug 28, 2009 at 1:52 PM, Mark Murphy mmur...@commonsware.comwrote: But my jar file is referring number of layouts (about 10) and these layouts contains number

[android-developers] Re: Problem Using Jar File

2009-08-27 Thread Mark Murphy
i am facing a problem in using jar file.I have created a jar file and i am trying to use it in another project.I also copy the xml files from res/layout folder of that project whose jar file is created to the res/layout folder of the project in which i am using jar file.I have also

[android-developers] Re: Problem Using Jar File

2009-08-27 Thread Atif Gulzar
Hi Mark, Thanks for your reply.Right now we are not using the R file of that project whose jar file is created.Jar file does not contains R files of that project.So R.layout and R.id's are created in the client project where i am using jar file. -- Best Regards, Atif Gulzar I

[android-developers] Re: Problem Using Jar File

2009-08-27 Thread Hassan Imtiaz
Hi Mark, Thanks for your reply.Right now i am not using the R file of that project whose jar file is created.Jar file does not contains R files of that project.So R.layout and R.id's are created in the client project where i am using jar file. Regards Hassan Imtiaz