[android-developers] Re: How to query a string from a specific library project?
You might need to give them two different IDs. - Brill On Wednesday, 19 February 2014 15:32:01 UTC-5, sushant sharma wrote: I have an android project A which imports another android project B. B is a library project and has some strings. I intentionally keep a different string with the same name in the resources of project A. So, in short, I have 2 different strings (one in A, one in B) withe same name. The problem is that when I build the projects, it merges the R.java files. And doing something like this: String s1 = this.getResources().getString(com.B.R.string.IDS_1018); String s2 = this.getResources().getString(R.string.IDS_1018); gives wrong results. In both the queries above, I get the same string (the one i defined in the project A). Is this a bug? Is there a way I can achieve what I desire? I want to get different strings. -- Sushant -- 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 --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] html coding in aplication description in 'store listing' in developer console neccessary?
I found I have to use html coding in my game app descriptions in the 'store listing' area of the developer console to get paragraph breaks and italics to show in the app descriptions the google play pages. does everyone have to do this? I also found the /i tag is automatically being changed to /I now, with a capital I. to avoid this I have to add p and /p tags. I expect this has to do with html 5 where the i tag no longer necessarily means italic. I haven't found anywhere in android docs or tutorials mention of having to use html coding in the app description boxes for the 'store listing' area of the console, and I want to make sure this is something have to bother with. -- 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 --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] Re: Compass Reading - proper implementation.
Putting it more concisely. . . If I have some legacy code implementing a compass reading using the deprecated Orientation_Sensor, in use by thousands already. What is the risk/reward of implementing something like the Implementation here: http://sunil-android.blogspot.com/2013/02/create-our-android-compass.htmlhttp://www.google.com/url?q=http%3A%2F%2Fsunil-android.blogspot.com%2F2013%2F02%2Fcreate-our-android-compass.htmlsa=Dsntz=1usg=AFQjCNEKNuIbn3u_M-hpmp5vQrGcV5EVOg vs leaving it alone. Nathan -- 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 --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.