[android-beginners] Re: Default values in SharedPreferences

2010-08-07 Thread skink
Bret Foreman wrote: Ideally, the SharedPreferences infrastructure could be told to read in the entire preferences.xml file so the SharedPreferences database is loaded with all the initial values. But I haven't found any way to do that. did you try

[android-beginners] Opening the preferences.xml file

2010-08-07 Thread Bret Foreman
The following code does not give the expected results: prefInputStream = getResources().openRawResource(R.xml.preferences); byte[] rawBytes = new byte[100]; prefInputStream.read( rawBytes, 0, 100 ); The bytes read are not printable ASCII

[android-beginners] Airplane mode

2010-08-07 Thread Webgenius
Hi, In AirplaneModEnabler.java present in ..\packages\apps\Settings\src\com \android\settings, the handler looks for EVENT_SERVICE_STATE_CHANGED to toggle the state of the checkbox and to display the summary. When and from where is EVENT_SERVICE_STATE_CHANGED triggered? Currently the airplane

Re: [android-beginners] Opening the preferences.xml file

2010-08-07 Thread Mark Murphy
On Sat, Aug 7, 2010 at 2:28 PM, Bret Foreman bret.fore...@gmail.com wrote: The following code does not give the expected results:                prefInputStream = getResources().openRawResource(R.xml.preferences);                byte[] rawBytes = new byte[100];                

[android-beginners] Re: ATTENTION: Android-Beginners will be permanently disabled on August 9 2010

2010-08-07 Thread Indicator Veritatis
But that assumes that people tag them accurately, so that they CAN be found. That assumption is wildly optimistic: look at how many meaningless variations of the non-descript tag 'android' there are in Stack Overflow. I have yet to find a way to do a meaningful tag-based search in Stack Overflow

[android-beginners] Re: ATTENTION: Android-Beginners will be permanently disabled on August 9 2010

2010-08-07 Thread Indicator Veritatis
But just how thorough is this daily walk through? Today, there are 14645 questions tagged 'android'. How do you choose which ones you really look at? Worse yet, some idiot decided there should be ONE tag for 'android- sdk', but then three separate tags for 'android-sdk-2.1', 'android- sdk-2.2'

[android-beginners] Re: ATTENTION: Android-Beginners will be permanently disabled on August 9 2010

2010-08-07 Thread Indicator Veritatis
BTW: if you do a daily walk-through, why is MY question still unanswered? It was not even that hard a question. It was: http://stackoverflow.com/questions/2603391/how-do-we-get-polygon-antialiasing-in-opengl-es-on-android-1-5 On Aug 6, 1:52 pm, fadden fad...@android.com wrote: On Aug 6, 1:20 pm,

[android-beginners] Farewell, we hardly knew ye

2010-08-07 Thread DanH
May it rest in peace. -- You received this message because you are subscribed to the Google Groups Android Beginners group. ATTENTION: Android-Beginners will be permanently disabled on August 9 2010. For more information about this change, please read [http://goo.gl/xkfl] or visit the Group