We can't add the resources in framework???

by mohammed sameer mulla » Fri, 04 Sep 2009 16:10:43 GMT


Sponsored Links
 Hi,

i have requirement to implement button in lockscreen.
So i have added new image here *frameworks\base\core\res\res\drawable.*
And i have modified the Keyguard_screen_lock.xml. Here i have added the
ImageButton view.
And i have even modified the strings.xml to display different string.

As in the following discussion it has told like this.

*You must not add public resources because it would change the public
API and thus make your Android phone/device potentially incompatible
with other Android devicesYou must not add public resources because it would
change the public
API and thus make your Android phone/device potentially incompatible
with other Android devices.*
**
*Please find the previous discussion in the bellow link*

(



Other Threads

1. Retrieve Log

Hi,
I am logging within my app through Log.d() calls, now I was wondering
though :
- if there is a Log (as in a file) being created whilst using these
calls ?
- if there is a way, and if so how, to retrieve this File/information
so that I could (for example) send it to my server ?
Thanks in advance !

-- 

2. a possible bug in com.google.android.maps.GeoPoint

howdy!

i see strange behaviour in my logs:
take the following code, assuming location is a valid filled object:
                Location newLoc=(Location)message.obj;
                Log.d("DEBUGLOCAL","passed loc ob="+newLoc.toString());
                int intlat=(int)(newLoc.getLatitude() * 1E6);
                int intlon=(int)(newLoc.getLongitude() * 1E6);
                Log.d("DEBUGLOCAL","passed loc converted INT values\n
lat="+intlat+"\n lon="+intlon);
              GeoPoint newPos=new GeoPoint(
                          intlat,
                          intlon
                         );
              Log.d("DEBUGLOCAL","passed loc create GEOPOINT values\n
lat="+newPos.getLatitudeE6()+
                         "\n lon="+newPos.getLongitudeE6());
i get the following output
  229              DEBUGLOCAL  D  passed loc converted INT values
  229              DEBUGLOCAL  D   lat=123002050
  229              DEBUGLOCAL  D   lon=123002050
  229              DEBUGLOCAL  D  passed loc create GEOPOINT values
  229              DEBUGLOCAL  D   lat=80000000  <----WTF??
  229              DEBUGLOCAL  D   lon=123002050

that surely isn't right ?
stable across 1.6 to 2.1 gmaps emulators.
as google api page doesn't have a bug tracker, does this belong into
the android bugtracker ?

ideas for solutions welcome.

cheers,
zero

-- 

3. rotating the text on a button/rotating the button.

4. Reference Book

5. Any interest in accessing our app via intents?

6. EditText in widget

7. How could adb identify many devices with same serial number?