[android-developers] Re: Unpublishing an APK

2013-02-03 Thread Jake Colman
T == TreKing treking...@gmail.com writes: T On Sat, Feb 2, 2013 at 8:08 PM, Jake Colman jake.col...@gmail.com wrote: I uploaded a new APK and discovered a bug a stupid oversight (I forgot to turn off my debug flag). T You no longer have to manually change the debug flag

[android-developers] null Intent in onStartCommand

2013-02-03 Thread Jake Colman
According to the docsou can get a null intent if the service is restarted by Android. Simple question: do I just ignore the intent since I can't do anything with it anyway? Am I supposed to know what to do with it? If not, why does Android bother doing it? -- Jake Colman -- Android Tinkerer

[android-developers] Setting LED on a Notification

2013-02-03 Thread Jake Colman
totally obvious? -- Jake Colman -- Android Tinkerer -- -- 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

[android-developers] Re: Unpublishing an APK

2013-02-03 Thread Jake Colman
modern developers would probably go for Subversion over CVS. -- Jake Colman -- Android Tinkerer -- -- 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

[android-developers] Unpublishing an APK

2013-02-02 Thread Jake Colman
the APK that was prior to it? It see the unpublish option that I think that would remove the entire app from the store. -- Jake Colman -- Android Tinkerer -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: AppWidgetProvider onDeleted vs onDisabled

2013-02-01 Thread Jake Colman
T == TreKing treking...@gmail.com writes: T On Tue, Jan 29, 2013 at 10:51 AM, Jake Colman jake.col...@gmail.com wrote: I am finding that, on occasion, after I delete my widget from my homescreen the underlying Service that I use is still receiving alarms and doing work. I do

[android-developers] AppWidgetProvider onDeleted vs onDisabled

2013-01-29 Thread Jake Colman
to onDisabled? -- Jake Colman -- Android Tinkerer -- -- 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

[android-developers] Re: Application.onCreate Method Randomly Called?

2013-01-18 Thread Jake Colman
the calls. ZV On Friday, January 18, 2013 11:29:37 AM UTC+8, Jake Colman wrote: T == TreKing treki...@gmail.com javascript: writes: T On Thu, Jan 17, 2013 at 4:14 PM, Jake Colman T col...@ppllc.comjavascript: wrote: When the application is recreated I

[android-developers] Permissions Security Exception

2013-01-18 Thread Jake Colman
it does not seem like I should have to deal with this. -- Jake Colman -- Android Tinkerer -- 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

[android-developers] Re: Application.onCreate Method Randomly Called?

2013-01-18 Thread Jake Colman
MM == Mark Murphy mmur...@commonsware.com writes: MM On Fri, Jan 18, 2013 at 8:58 AM, Jake Colman col...@ppllc.com wrote: If that is not guaranteed then should I not be using context-based preferences to persist my data? MM I have no idea what you consider context-based

[android-developers] Re: Application.onCreate Method Randomly Called?

2013-01-18 Thread Jake Colman
MM == Mark Murphy mmur...@commonsware.com writes: MM On Fri, Jan 18, 2013 at 10:11 AM, Jake Colman col...@ppllc.com wrote: Am I making a fundamental mistake in how this is supposed to be done? MM No, that all seems OK. You've already told me that when the application

[android-developers] Re: Application.onCreate Method Randomly Called?

2013-01-18 Thread Jake Colman
Jake == Jake Colman col...@ppllc.com writes: Jake Ok. That makes sense but brings it all back full circle. Jake It's clear that Application.onCreate is being called multiple Jake times for my app. It also seems that my preferences are being Jake reset as a result of that happening

[android-developers] Re: Application.onCreate Method Randomly Called?

2013-01-18 Thread Jake Colman
writes: MM On Fri, Jan 18, 2013 at 11:42 AM, Jake Colman col...@ppllc.com wrote: The key is committed in the Service's onDestroy method. MM Please apply() the change when you make it. onDestroy() is not MM always called on components. The Service is started by my AppWidget every

[android-developers] Application.onCreate Method Randomly Called?

2013-01-17 Thread Jake Colman
on the timestamps the notification was triggered because Application.onCreate was invoked. Why would Application.onCreate be invoked by Android after the application and widget were already installed and without the user doing anything? -- Jake Colman -- Android Tinkerer -- You received this message

[android-developers] Re: Application.onCreate Method Randomly Called?

2013-01-17 Thread Jake Colman
at 3:40 PM, Jake Colman col...@ppllc.com wrote: My application extends the Application class so that I can initialize ACRA in the onCreateMethod. My application consists primarily of a widget that monitors something and sends a notification when a condition exists

[android-developers] Re: Application.onCreate Method Randomly Called?

2013-01-17 Thread Jake Colman
T == TreKing treking...@gmail.com writes: T On Thu, Jan 17, 2013 at 2:40 PM, Jake Colman col...@ppllc.com T wrote: If the application or widget is installed and that condition already exists at the time of installation, the notification is triggered. T That doesn't

[android-developers] Re: Application.onCreate Method Randomly Called?

2013-01-17 Thread Jake Colman
T == TreKing treking...@gmail.com writes: T On Thu, Jan 17, 2013 at 4:14 PM, Jake Colman col...@ppllc.com wrote: When the application is recreated I assume that it loses the previous incarnations shared preferences and, therefore, the service doesn't know that it already

[android-developers] Re: location updates using network provider

2013-01-10 Thread Jake Colman
might have moved) and to see if we are within 30 minutes of the event. If so, it does something. Are you saying that the alarm manager is not the correct way to do this since I should not trigger alarms every 60 seconds? -- Jake Colman -- Android Tinkerer -- You received this message because

[android-developers] Re: location updates using network provider

2013-01-10 Thread Jake Colman
MM == Mark Murphy mmur...@commonsware.com writes: MM On Thu, Jan 10, 2013 at 8:54 AM, Jake Colman col...@ppllc.com wrote: That's an interesting comment. I am using an alarm to wake myself every 60 seconds in order to check something. Are you saying this is not good practice

[android-developers] Implementing Simple Help Page

2013-01-07 Thread Jake Colman
or suggestions? TIA! -- Jake Colman -- Android Tinkerer -- 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

[android-developers] Re: Setting Widget B/G Color of the B/G Resource

2013-01-07 Thread Jake Colman
/RemoteViews.java KV #setDrawableParameters KV NB: marked with a @hide. KV -- K KV 2013/1/1 Jake Colman col...@ppllc.com I don't think it helps to get access to the drawable resource and use setColorFilter to set its background color since I don't see a way to set

[android-developers] Re: Implementing Simple Help Page

2013-01-07 Thread Jake Colman
T == TreKing treking...@gmail.com writes: T On Mon, Jan 7, 2013 at 9:29 AM, Jake Colman col...@ppllc.com wrote: Should I create an Internet-based web page and use an activity with a WebView to display it? T It's really up to you and depends on your app, but this is what I

[android-developers] Re: Demo Code For Clock with Auto-Location?

2013-01-04 Thread Jake Colman
Terrific! No email yet but I can wait. JM == Josphat Muchiri jmuchir...@gmail.com writes: JM Ok i can send u JM On Jan 3, 2013 7:29 PM, Jake Colman col...@ppllc.com wrote: Does anyone know where I can find demo code for a clock widget that shows the current location? I

[android-developers] Re: Demo Code For Clock with Auto-Location?

2013-01-04 Thread Jake Colman
...@coolfone.comze.com writes: b In Android, *widget* has two meanings. b Are you talking about a home-screen widget? Or a subclass of View? b On Thursday, January 3, 2013 10:26:02 AM UTC-6, Jake Colman wrote: Does anyone know where I can find demo code for a clock widget

[android-developers] Demo Code For Clock with Auto-Location?

2013-01-03 Thread Jake Colman
Does anyone know where I can find demo code for a clock widget that shows the current location? I have found demo code for a clock but not demo code for one that updates its location. TIA! -- Jake Colman -- Android Tinkerer -- You received this message because you are subscribed

[android-developers] Setting Widget B/G Color of the B/G Resource

2012-12-31 Thread Jake Colman
with setBackgroundResource to set the shaped background but how can I set the resource's background color? -- Jake Colman -- Android Tinkerer -- 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

[android-developers] Re: Setting Widget B/G Color of the B/G Resource

2012-12-31 Thread Jake Colman
mean I didn't miss it. Jake == Jake Colman col...@ppllc.com writes: Jake I have written code to select at runtime whether my widget Jake should use a background PNG image or just select a background Jake color in place of the image. This code works fine but is not Jake esthetically

[android-developers] LocationManager.getBestProvider Returning NULL?

2012-12-29 Thread Jake Colman
is not available. What does it mean if there is no best? Doesn't Android automatically relax my criteria until it finds a match? And why would a device would not have a NETWORK provider? -- Jake Colman -- Android Tinkerer -- You received this message because you are subscribed to the Google

[android-developers] Re: LocationManager.getBestProvider Returning NULL?

2012-12-29 Thread Jake Colman
that radio? T (I'm just guessing, I don't really know). That was really the core of my question. If best returns NULL I have to assume that I cannot determine the location - and then do something accordingly. Thanks. -- Jake Colman -- Android Tinkerer -- You received this message because you

[android-developers] Location Listener Question

2012-12-27 Thread Jake Colman
) to remove updates? Is there a better way to solve this problem? -- Jake Colman -- Android Tinkerer -- 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

[android-developers] Re: Location Listener Question

2012-12-27 Thread Jake Colman
Jake == Jake Colman col...@ppllc.com writes: Jake Yes, I know that there are a million resources out there that Jake deal with the best way to obtain a location and I did google Jake quite a bit before making this post. If someone can point me Jake to something I missed, I'd

[android-developers] Re: Location Listener Question

2012-12-27 Thread Jake Colman
MM == Mark Murphy mmur...@commonsware.com writes: MM On Thu, Dec 27, 2012 at 10:39 AM, Jake Colman col...@ppllc.com wrote: I think I know why my listener is not always firing but I'm not sure what to do about it. The request for location updates is coming from a Service

[android-developers] Re: Location Listener Question

2012-12-27 Thread Jake Colman
MM == Mark Murphy mmur...@commonsware.com writes: MM On Thu, Dec 27, 2012 at 12:22 PM, Jake Colman col...@ppllc.com wrote: H. The service's onHandleIntent is basically a set of 'if/else' clauses for the intents I am looking for with a final 'else' for any unrecognized intent

[android-developers] Geocoder Inaccurate?

2012-08-16 Thread Jake Colman
are: Lat: 39.9983658 Long: -75.2509783 The reason I care is that an Address object for the original set of values has a correct value for locality while the Address object for the second set of values has null. Any idea what I need to do to make sure that my output matches my input? TIA! -- Jake

[android-developers] Re: Geocoder Inaccurate?

2012-08-16 Thread Jake Colman
T == TreKing treking...@gmail.com writes: T On Thu, Aug 16, 2012 at 4:02 PM, Jake Colman col...@ppllc.com wrote: Any idea what I need to do to make sure that my output matches my input? T http://developer.android.com/reference/android/location/Address.html#setLocality

[android-developers] Re: Geocoder Inaccurate?

2012-08-16 Thread Jake Colman
T == TreKing treking...@gmail.com writes: T On Thu, Aug 16, 2012 at 4:02 PM, Jake Colman col...@ppllc.com wrote: Any idea what I need to do to make sure that my output matches my input? T http://developer.android.com/reference/android/location/Address.html#setLocality

[android-developers] Marketplace Questions

2011-06-27 Thread Jake Colman
international puchases? 2) Google says 4 installs but 0 active installs. But I see that I successfully processed some orders. Isn't an active install one that is being used - ergo one that was paid for? Thanks. ...Jake -- Jake Colman -- Android Tinkerer -- You received this message

[android-developers] Saving a NinePatch to Temp Storage

2011-06-21 Thread Jake Colman
for this kind of temporary file? Is there a better recommended way of doing what I am trying to do? -- Jake Colman -- Android Tinkerer -- 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

[android-developers] Setting Drawable Background Color

2011-06-20 Thread Jake Colman
a color value but But it's not clear to me how I should be setting the ColorFilter value. Can anyone help? TIA! -- Jake Colman -- Android Tinkerer -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android

[android-developers] Help Fixing a 9-patch

2011-06-20 Thread Jake Colman
in which it is being drawn and then email it back to me? I'd appreciate any help I can get. And I apologize for any imposition. Thanks. -- Jake Colman -- Android Tinkerer -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: Help Fixing a 9-patch

2011-06-20 Thread Jake Colman
such to check. KV -- Kostya KV 2011/6/20 Nikolay Elenkov nikolay.elen...@gmail.com On Mon, Jun 20, 2011 at 11:06 PM, Jake Colman col...@ppllc.com wrote: I realize that this is not a programming question but I'm hoping someone here can help with a quick solution. I

[android-developers] Re: Help Fixing a 9-patch

2011-06-20 Thread Jake Colman
android:background and remove any code that might touch that. KV -- Kostya KV 2011/6/20 Jake Colman col...@ppllc.com Using some new preference settings in my widget, the user can completely replace the background image with a color. When I do that, the painted area is quite a bit

[android-developers] Re: Help Fixing a 9-patch

2011-06-20 Thread Jake Colman
just to make sure nothing is interfering with your testing. KV -- Kostya KV 2011/6/20 Jake Colman col...@ppllc.com Kostya, The background is specified in XML exactly as you suggested. When I click and hold on the widget to drag it, Android's outline box is larger

[android-developers] Re: Help Fixing a 9-patch

2011-06-20 Thread Jake Colman
NE == Nikolay Elenkov nikolay.elen...@gmail.com writes: NE On Mon, Jun 20, 2011 at 11:06 PM, Jake Colman col...@ppllc.com wrote: I realize that this is not a programming question but I'm hoping someone here can help with a quick solution. I have a 9-patch file that I use

[android-developers] Re: Setting Drawable Background Color

2011-06-20 Thread Jake Colman
zvasv...@gmail.com writes: ZV To color a BW image, I use setColorFilter(color, Mode.MULTIPLY)) ZV On Jun 20, 9:42 pm, Jake Colman col...@ppllc.com wrote: Given that I have an integer value representing a color with an included alpha (opacity) value, how do I set that value

[android-developers] Unsetting the Widget Background

2011-06-17 Thread Jake Colman
of the image? This would be preferable to replacing my image entirely and just coloring the background. Thanks. -- Jake Colman -- Android Tinkerer -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Re: Implementing Auto-Update of an Application

2011-06-16 Thread Jake Colman
published in the WF Market. WF 2) Compare that to the version that is running. WF 3) If the Market version is newer present the user with a dialog WF asking if they want to update. WF 4) If they don take them to your app in the Market. WF On Jun 16, 12:53 am, Jake Colman col

[android-developers] Implementing Auto-Update of an Application

2011-06-15 Thread Jake Colman
to know there is a newer version. Has anyone else addressed this issue? Maybe there is a way to check the market for an updated link? Thanks. -- Jake Colman -- Android Tinkerer -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: Implementing Auto-Update of an Application

2011-06-15 Thread Jake Colman
a To unsubscribe from this group, send email to a android-developers+unsubscr...@googlegroups.com a For more options, visit this group at a http://groups.google.com/group/android-developers?hl=en -- Jake Colman -- Android Tinkerer -- You received this message because you are subscribed

[android-developers] Re: Implementing Auto-Update of an Application

2011-06-15 Thread Jake Colman
server. Can you expand on this? How would I use google code to do this? -- Jake Colman -- Android Tinkerer -- 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

[android-developers] Re: Implementing Auto-Update of an Application

2011-06-15 Thread Jake Colman
. Can you provide some more details on this suggestion? Thanks. -- Jake Colman -- Android Tinkerer -- 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

[android-developers] Re: Android LifeCycle and Singleton Instances

2011-06-03 Thread Jake Colman
@googlegroups.com MM To unsubscribe from this group, send email to MM android-developers+unsubscr...@googlegroups.com MM For more options, visit this group at MM http://groups.google.com/group/android-developers?hl=en -- Jake Colman -- Android Tinkerer -- You received this message

[android-developers] Android LifeCycle and Singleton Instances

2011-06-01 Thread Jake Colman
that had I been killed that getInstance() will create a new object? In other words, will my static instance variable have been reset to NULL or might my factory method give me back a stale pointer? ...Jake -- Jake Colman -- Android Tinkerer -- You received this message because you are subscribed

[android-developers] Re: Android LifeCycle and Singleton Instances

2011-06-01 Thread Jake Colman
. DH You can verify the behavior yourself just by using adb shell to DH kill your process. DH On Wed, Jun 1, 2011 at 5:39 PM, Jake Colman col...@ppllc.com wrote: I was pretty sure that I understood the Android lifecycle and how applications/processes might be start/stopped

[android-developers] Re: Widget-specific Preferences

2011-05-27 Thread Jake Colman
with two classes that are meant to be used KV together. KV You could even do an instanceof check before the cast, and throw KV an exception with a nice descriptive message if the check returns KV false :) KV -- KV Kostya Vasilyev KV 27.05.2011 1:56 пользователь Jake Colman col

[android-developers] Re: Widget-specific Preferences

2011-05-27 Thread Jake Colman
by the reality of how things work. KV My apologies for having wasted your time. KV -- Kostya KV 2011/5/27 Jake Colman col...@ppllc.com Kostya/String, Is nothing ever easy? So close, yet so far... :-) Some of my preferences have dependent keys. Since the keys are being

[android-developers] Re: Widget-specific Preferences

2011-05-27 Thread Jake Colman
keys. That should probably work. Jake == Jake Colman col...@ppllc.com writes: Jake Kostya, Jake You did not waste my time at all! First of all, this was a Jake great learning opportunity. Second of all, the suggestion was Jake great - this should have worked! Maybe I need to do

[android-developers] Re: Widget-specific Preferences

2011-05-26 Thread Jake Colman
S == String sterling.ud...@googlemail.com writes: S On Thursday, May 26, 2011 2:44:37 AM UTC+1, Jake Colman wrote: S The only issue is when I launch the Preference Activity from the widget it does not display the widget-specific value but displays the preference's default value

[android-developers] Re: Widget-specific Preferences

2011-05-26 Thread Jake Colman
(but this should not be necessary with KV overiding addPreference). KV -- Kostya KV 2011/5/26 Jake Colman col...@ppllc.com S == String sterling.ud...@googlemail.com writes: S On Thursday, May 26, 2011 2:44:37 AM UTC+1, Jake Colman wrote: S The only issue is when I launch

[android-developers] Re: Widget-specific Preferences

2011-05-26 Thread Jake Colman
in the XML. KV -- Kostya KV 2011/5/26 Jake Colman col...@ppllc.com Kostya, Maybe I'm missing something obvious here but where do I get an opportunity to provide Android with my extended PreferenceGroup or PreferenceScreen? I need to make sure that my addPreference

[android-developers] Re: Widget-specific Preferences

2011-05-26 Thread Jake Colman
the info on all this in the developer documentation? ...Jake Jake == Jake Colman col...@ppllc.com writes: Jake Now to Google and figure out how to use my own subclass in an Jake XML preferences file! Jake Thanks! Jake ...Jake KV == Kostya Vasilyev kmans...@gmail.com writes

[android-developers] Re: Widget-specific Preferences

2011-05-26 Thread Jake Colman
http://groups.google.com/group/android-developers?hl=en -- Jake Colman -- Android Tinkerer -- 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

[android-developers] Re: Widget-specific Preferences

2011-05-26 Thread Jake Colman
YourProjectNameWidgetOptionsActivity from KV WidgetOptionsActivity. KV -- Kostya KV 2011/5/27 Jake Colman col...@ppllc.com Thanks Kostya and String, these were great answers. I can see how I can create my own subclass and use them instead of my the android classes. My problem now

[android-developers] Re: Widget-specific Preferences

2011-05-26 Thread Jake Colman
...@googlegroups.com S For more options, visit this group at S http://groups.google.com/group/android-developers?hl=en -- Jake Colman -- Android Tinkerer -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Re: Career as an Andoid developer. Is there any point?

2011-05-25 Thread Jake Colman
rationale for your position. -- Jake Colman -- Android Tinkerer -- 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

[android-developers] Re: Widget-specific Preferences

2011-05-25 Thread Jake Colman
Jake == Jake Colman col...@ppllc.com writes: Jake I am looking to implemented widget-specific preferences in my Jake app. I have reviewed numerous blogs and posts, including Jake Kostya's, and am familiar with the overall approach of using Jake the widget ID as a suffix

[android-developers] Re: Career as an Andoid developer. Is there any point?

2011-05-24 Thread Jake Colman
at D http://groups.google.com/group/android-developers?hl=en -- Jake Colman -- Android Tinkerer -- 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

[android-developers] Re: Appwidget set background and set background transparency/alpha

2011-05-23 Thread Jake Colman
image. Can I still use setBackgroundColor? Or will this only work if there is no image? ...Jake -- Jake Colman -- Android Tinkerer -- 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

[android-developers] Re: Appwidget set background and set background transparency/alpha

2011-05-20 Thread Jake Colman
the background color and the transparency of that background? Would you mind sharing code or explaining what you did? -- Jake Colman -- Android Tinkerer -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android

[android-developers] Re: Appwidget set background and set background transparency/alpha

2011-05-20 Thread Jake Colman
-- Jake Colman -- Android Tinkerer -- 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

[android-developers] Re: Appwidget set background and set background transparency/alpha

2011-05-20 Thread Jake Colman
Preference code: N http://pastebin.com/r5LYfF2r N Doing set colour (with android version check): N http://pastebin.com/iyZEcSdM Where does the rgaView class come from? Is that from the source that you lifted from Google? -- Jake Colman -- Android Tinkerer -- You received this message

[android-developers] Re: Contacts App

2011-05-06 Thread Jake Colman
-source Android Code repository. It's a veritable wealth of information. -- Jake Colman -- Android Tinkerer -- 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

[android-developers] Re: Widget-specific Preferences

2011-05-04 Thread Jake Colman
made it this far. Thanks! -- Jake Colman -- Android Tinkerer -- 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

[android-developers] Re: Widget-specific Preferences

2011-05-03 Thread Jake Colman
KV == Kostya Vasilyev kmans...@gmail.com writes: KV Well, in that case you already know the widget id for a KV particular instance of your configuration activity - it's passed KV in as an intent extra. KV 25.04.2011 1:21 пользователь Jake Colman col...@ppllc.com написал: KV

[android-developers] Re: Widget-specific Preferences

2011-05-03 Thread Jake Colman
in Widget.onDeleted. KV -- Kostya KV 03.05.2011 17:12, Jake Colman пишет: Kostya, I've been noodling around thinking about this problem while working on other features but I'm stumped on one part of it. When the Preference Activity is launched as a Configuration Activity

[android-developers] Re: Widget-specific Preferences

2011-05-03 Thread Jake Colman
= appWidgetManager.getAppWidgetIds(provider); KV This widget id list need to be filtered for stale ones. KV -- Kostya KV 03.05.2011 23:58, Jake Colman пишет: Kostya, Gee, I hope I'm not revealing my ignorance here... I build my RemoteViews in an IntentService. I suppose I have

[android-developers] Timezone List

2011-05-03 Thread Jake Colman
here knows the answer, I'd appreciate a quick pointer to how find the code in the official Android source tree. I have not yet had to jump into Android source code to look for examples but maybe this is my opportunity. Thanks. ...Jake -- Jake Colman -- Android Tinkerer -- You received

[android-developers] Re: Setting Widget Background via RemoteView

2011-04-27 Thread Jake Colman
KV == Kostya Vasilyev kmans...@gmail.com writes: KV 12.04.2011 17:19, Jake Colman пишет: I have yet to figure this out so I though I'd try posting again. Given a widget with a background image specified in its layout, how can one set the background's transparency at runtime

[android-developers] Re: SimpleDateFormat Problem

2011-04-26 Thread Jake Colman
the string myself. -- Jake Colman -- Android Tinkerer -- 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

[android-developers] Re: Timezone Question

2011-04-24 Thread Jake Colman
@googlegroups.com BK To unsubscribe from this group, send email to BK android-developers+unsubscr...@googlegroups.com BK For more options, visit this group at BK http://groups.google.com/group/android-developers?hl=en -- Jake Colman -- Android Tinkerer -- You received this message

[android-developers] Widget-specific Preferences

2011-04-24 Thread Jake Colman
in and use it? -- Jake Colman -- Android Tinkerer -- 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

[android-developers] Re: Widget-specific Preferences

2011-04-24 Thread Jake Colman
(widgetId); KV preference.setKey(keyWithWidgetId); KV } KV Hope this helps. KV -- Kostya KV 24.04.2011 17:28, Jake Colman пишет: I currently use a Preference Activity and a preference XML file to manage my preferences. Since a Preference Activity handles edits on its own

[android-developers] SimpleDateFormat Problem

2011-04-24 Thread Jake Colman
Per the docs, I should be able to get a time formatted as follows: 7:33p with a format string of h:mma The result, however is 7:33PM Is this a documentation bug, a Jake bug, or is this not possible? -- Jake Colman -- Android Tinkerer -- You received this message because you

[android-developers] Re: Widget-specific Preferences

2011-04-24 Thread Jake Colman
KV == Kostya Vasilyev kmans...@gmail.com writes: KV 24.04.2011 19:35, Jake Colman пишет: If I use an onClickListener() and on SharedPreferenceChangeListener() to detect specific preference clicks or changes to a preference, I can parse out the widget ID from the key so that I

[android-developers] NPE in java.util.Calendar

2011-04-22 Thread Jake Colman
(DateFormat.SHORT).format(SunsetTime); What could possibly trigger an NPE in this code? Is there something I should be checking about SunsetTime before passing it in to be formatted? -- Jake Colman -- Android Tinkerer -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: NPE in java.util.Calendar

2011-04-22 Thread Jake Colman
if it is returning ae NULL, before using it in the next line. ae On Apr 22, 10:41 am, Jake Colman col...@ppllc.com wrote: The code that triggers this crash is as follows: ZmanimCalendar c = new ZmanimCalendar(l); Date SunsetTime = c.getSunset(); String SunsetTimeString

[android-developers] Timezone Question

2011-04-22 Thread Jake Colman
. He is from Chicago but is currently in Florida and my app is showing Chicago time for sunset instead of the time in Florida. What API should I be using to get the timezone of the current location as opposed to the timezone that he has forced the phone to use? Thanks. -- Jake Colman -- Android

[android-developers] Re: new to andriod

2011-04-14 Thread Jake Colman
in 2 days. If someone is not intelligent to at least google for how to begin Android development and to install the SDK and tutorials, how do they expect to accomplish anything? Sheesh... /soapbox -- Jake Colman -- Android Tinkerer -- You received this message because you are subscribed

[android-developers] Setting Widget Background via RemoteView

2011-04-12 Thread Jake Colman
frequenting this group. But I figure there is no harm in trying again. Thanks! ...Jake -- Jake Colman -- Android Tinkerer -- 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

[android-developers] Re: Setting Widget Background via RemoteView

2011-04-12 Thread Jake Colman
that does! Now let me go back and re-read your post and see what I can do. -- Jake Colman -- Android Tinkerer -- 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

[android-developers] Re: Setting Widget Background via RemoteView

2011-04-12 Thread Jake Colman
KV == Kostya Vasilyev kmans...@gmail.com writes: KV 12.04.2011 17:19, Jake Colman пишет: I have yet to figure this out so I though I'd try posting again. Given a widget with a background image specified in its layout, how can one set the background's transparency at runtime

[android-developers] Writing Version-Specific Code

2011-04-12 Thread Jake Colman
to indicate that the app runs on v1.6 but would prefer v2.2? I read up on MinSDK but I am not clear on how it works for this purpose. An RTFM answer is fine if appropriate. Thanks. -- Jake Colman -- Android Tinkerer -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Writing Version-Specific Code

2011-04-12 Thread Jake Colman
, for example, a preferences screen that enables/disable an option (probably with an appropriate summary text) based on OS version. -- Jake Colman -- Android Tinkerer -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: Widgets: Lanscape vs Portrait

2011-04-10 Thread Jake Colman
KV == Kostya Vasilyev kmans...@gmail.com writes: KV [ below ] KV 09.04.2011 0:12, Jake Colman пишет: KV == Kostya Vasilyevkmans...@gmail.com writes: KV 08.04.2011 19:25, Jake Colman пишет: I have a 2x1 widget with two textviews, aligned top and bottom

[android-developers] Widgets: Lanscape vs Portrait

2011-04-08 Thread Jake Colman
the same IDs on both layouts and updating that second textview id won't hurt anything? -- Jake Colman -- Android Tinkerer -- 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

[android-developers] Re: Widgets: Lanscape vs Portrait

2011-04-08 Thread Jake Colman
KV == Kostya Vasilyev kmans...@gmail.com writes: KV 08.04.2011 19:25, Jake Colman пишет: I have a 2x1 widget with two textviews, aligned top and bottom to the baseline, that display fine in Portrait. When I switch to landscape, there is insufficient room for the two textviews

[android-developers] Re: new developer questions

2011-04-05 Thread Jake Colman
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 -- Jake Colman -- Android Tinkerer

[android-developers] Re: new developer questions

2011-04-05 Thread Jake Colman
For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Jake Colman -- Android Tinkerer -- 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

[android-developers] Re: Amazon Market Stats down still - please everybody report it to them

2011-04-05 Thread Jake Colman
that Amazon is not already aware of this problem and that Developers won't be happy? Flooding them with emails will only take up more of their valuable time. IMHO. -- Jake Colman -- Android Tinkerer -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Layout Question

2011-04-04 Thread Jake Colman
with the PM below the time, which is fine. But it is aligned left within the layout. Why aren't the two lines of text centered horizontally and vertically? Thanks. -- Jake Colman -- Android Tinkerer -- You received this message because you are subscribed to the Google Groups Android Developers

  1   2   3   >