[android-developers] Re: Updates to the Android SDK

2009-12-06 Thread adamphillips12
, adamphillips12 adamphillip...@gmail.comwrote: It was documented like so The SDK version supported by the device, for example v3. The Android 1.0 SDK is v1,  the 1.1 SDK is v2, and the 1.5 SDK is v3., if that was supposed to imply that a device supported its most recent sdk version

[android-developers] Re: Updates to the Android SDK

2009-12-04 Thread adamphillips12
Sorry Dianne, my reply was intended for public, hit Reply to author by accident: It was documented like so The SDK version supported by the device, for example v3. The Android 1.0 SDK is v1, the 1.1 SDK is v2, and the 1.5 SDK is v3., if that was supposed to imply that a device supported its most

[android-developers] Re: Updates to the Android SDK

2009-12-03 Thread adamphillips12
The framework now correctly selects application resources in project folders that use the API Level qualifier. For example, drawable-v4/ is a folder of drawable resources for API Level 4 (or higher) devices. This version matching did not work properly and has been fixed. Did anyone realise this

[android-developers] Re: drawable, drawable-land, drawable-hdpi, drawable-mdpi, drawable-lpdi

2009-11-15 Thread adamphillips12
That would work fine but resource types have precedence, you need to name them correctly. drawable-land-hdpi etc, see the documentation for the full order: http://developer.android.com/guide/topics/resources/resources-i18n.html#AlternateResources On Nov 16, 2:18 pm, Digital Agua

[android-developers] Re: How can I know date changed? seems android.intent.action.DATE_CHANGED works not properly

2009-11-09 Thread adamphillips12
http://code.google.com/p/android/issues/detail?id=2880can=4colspec=ID%20Type%20Status%20Owner%20Summary%20Stars Though you can use the AlarmManager to help you keep track of when 12am hits. On Nov 8, 1:32 pm, NewPa shiji...@gmail.com wrote: Hi,    One of my application need to know a new day

[android-developers] Re: AppWidgetProvider

2009-10-31 Thread adamphillips12
, adamphillips12 adamphillip...@gmail.com wrote: There are bugs with widgets and there are incorrectly or undocumented features. Part of your problem is probably this:http://groups.google.com/group/android-developers/browse_thread/threa... The other part might be a problem with you receiving

[android-developers] Re: AppWidgetProvider

2009-10-30 Thread adamphillips12
There are bugs with widgets and there are incorrectly or undocumented features. Part of your problem is probably this: http://groups.google.com/group/android-developers/browse_thread/thread/4d13337361d1f088/ca57751f9203b077?lnk=gstq=widgets#ca57751f9203b077 The other part might be a problem with

[android-developers] Re: Assign EditText android:singleLine=true programmatically

2009-10-30 Thread adamphillips12
TextView.setSingleLine() or TextView.setLines(1) For the future if you look up the documentation of any view: http://developer.android.com/reference/android/widget/TextView.html You can see a handy list of xml attributes to related methods. On Oct 31, 3:20 am, bennyb taw...@gmail.com wrote:

[android-developers] Crippling widget bug still present in 2.0, is a comment on this possible?

2009-10-27 Thread adamphillips12
I don't know the priorities of the android team but to me this looks like a really significant bug. As reported here: http://code.google.com/p/android/issues/detail?id=2539q=Widgetcolspec=ID%20Type%20Status%20Owner%20Summary%20Stars and here:

[android-developers] Does low memory cause Activity.getIntent() to return null?

2009-09-10 Thread adamphillips12
As the title says? Or what situations can cause this method to return null? I would of thought it retained this object always. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: How to get the android predefined view in Activity?such as @id/android:list

2009-07-29 Thread adamphillips12
You can import android.R, it has all the system ids, graphics, strings etc (the ones made public anyway). So use 'android.R.id.list' to get that list. On Jul 29, 12:47 pm, OiuNt xoi...@gmail.com wrote: i'm using the ListActivity with customized layout xml: LinearLayout ... ListView

[android-developers] Side effect of normal activity stack behaviour causes bug when used with Intent.FLAG_ACTIVITY_REORDER_TO_FRONT

2009-07-28 Thread adamphillips12
This took me awhile to understand and I will report it as a bug if I'm not corrected. You only need a basic new project (sdk 1.5r3) with two activty classes. A root/launcher activity with a button to start a second activity (of a different class). Everything else on default. Use the following

[android-developers] Re: Bug in activity stack if launching from Home icon?

2009-07-24 Thread adamphillips12
it from home. On Thu, Jul 23, 2009 at 10:22 PM, adamphillips12 adamphillip...@gmail.comwrote: I've noticed some strange behaviour with resuming a task from a Home icon. Very easy to replicate, just create a new bare bones android project using eclipse, don't need to add anything

[android-developers] Bug in activity stack if launching from Home icon?

2009-07-23 Thread adamphillips12
I've noticed some strange behaviour with resuming a task from a Home icon. Very easy to replicate, just create a new bare bones android project using eclipse, don't need to add anything. Then follow these steps: 1. In eclipse, Run the project on a emulator or device. 2. Once the app installs

[android-developers] What purpose does the top-level FrameLayout serve?

2009-06-16 Thread adamphillips12
I was watching the Google IO videos and Romain mentioned quite quickly something about the top-level FrameLayout being needed by the OS? That is the one directly below the getDecorView(). Can I get a more extended explanation of why it is needed? It is not locked in anyway, we are quite able to

[android-developers] Re: Detecting clicks on a google maps Overlay

2009-06-15 Thread adamphillips12
If you look at the Overlay class, there is an onTap() method, this will be called when a tap gesture on your map is made and it will be called on all Overlays in the MapViews list. onTap() asks you to return true if the given point was an overlay. This check is up to you to decide, presumably if

[android-developers] Re: Load ListView in ListActivity and prevent user

2009-06-15 Thread adamphillips12
If you mean the data is taking awhile to load and you want the activity to show fast first, then load in the data. Then you should probably load the data in a thread or you can even use the helper class ASyncTask. Call it onCreate() and when it finishes execution, send the result to the list.

[android-developers] Intent.DATE_CHANGED and Intent.TIME_CHANGED correct behaviour?

2009-06-04 Thread adamphillips12
Just wondering if the those two intents are working as intended? From my testing I'm getting that, DATE_CHANGED only broadcasts if the system date is changed to some time in the future? It never seems to broadcast if I set the date to the past (in Date time settings). Is the correct? If so, the

[android-developers] Re: A question on Intents.

2009-06-04 Thread adamphillips12
I'm not quite sure what you're asking but it seems you are not in full understanding of Intents. The action field is just a string value used with BroadcastReceivers and their IntentFilter, it is as named, the description of what action to take, it is not for the launching of Services or even

[android-developers] Re: What's the deal with onRetainNonConfigurationInstance()?

2009-06-04 Thread adamphillips12
I have not tested it but if you register for orientation configChange, perhaps onConfigurationChanged() will be called prior to onSave..()? Though if indeed you feel like 99.9% of the situations onSaveInstanceState() is called is for orientation changes, then why don't you just use onRetain..

[android-developers] Re: Dynamically getting application context

2009-05-13 Thread adamphillips12
Well there's a few things you can do in this situation. You can do this: public class MyClass { public void doProviderEnabledStuff(String provider){} MyLocListenerClass myListner = new MyLocListenerClass() { public void onProviderEnabled (String provider) {

[android-developers] Are DateFormat and DateUtils supposed to be returning localized strings (1.5 emulator)?

2009-05-13 Thread adamphillips12
Hi, I'm currently testing localization on the 1.5 emulator (with sdk target of 3), I'm using the Custom Locale app to apply different locales and also I've tried setting it from Settings also. This seems to update what loads from the res/ folder, so I'm sure this is being applied. However I'm