Re: [android-developers] How are credentials stored in the OS framework?

2010-11-10 Thread Connick
Just curious as to the underlying storage mechanism for the data itself. Dealing with rooting and access via API's is separate concern for IT. Cheers, Stace On Wed, Nov 10, 2010 at 9:11 AM, Marcin Orlowski webnet.andr...@gmail.comwrote: That's a privileged API, and can't be called by an

[android-developers] How are credentials stored in the OS framework?

2010-11-09 Thread Connick
Fielding questions from our IT dept around security and I didn't know this one off hand. Can anyone provide insight as to how credentials are stored in Android OS? (hashed, encrypted etc) Thanks, Stace -- You received this message because you are subscribed to the Google Groups Android

[android-developers] BitmapFactory.decode and Exif data in images

2010-10-18 Thread Connick
Hi folks, I'm downsampling an image via BitmapFactory.decode then base64 encoding the bytes to ship to the server. (long story on the latter part of that formula) It seems this process nukes all Exif data in the image data. Am I approaching this the wrong way or is this a fact of life? Thanks,

[android-developers] Re: BitmapFactory.decode and Exif data in images

2010-10-18 Thread Connick
option, I'm all ears. Thanks, Stace On Tue, Oct 19, 2010 at 12:01 AM, Connick oconn...@gmail.com wrote: Hi folks, I'm downsampling an image via BitmapFactory.decode then base64 encoding the bytes to ship to the server. (long story on the latter part of that formula) It seems this process

[android-developers] Users receiving warning on update

2010-10-13 Thread Connick
Hi folks, I've released an update to our app in the market but users are receiving an extra dialog warning stating that their previous version will be replaced. The upgrade happens successfully and data is retained but I'm at a loss as to why this dialog is coming up. Thanks! Stace -- You

Re: [android-developers] Users receiving warning on update

2010-10-13 Thread Connick
My bad, don't know how I missed that before. Thanks. On Wed, Oct 13, 2010 at 3:06 PM, TreKing treking...@gmail.com wrote: On Wed, Oct 13, 2010 at 12:43 PM, Connick oconn...@gmail.com wrote: I'm at a loss as to why this dialog is coming up. That's how it works

Re: [android-developers] Re: Synchronization period

2010-09-29 Thread Connick
I don't believe you can rely on a sync request to be executed on immediately. It will be added to the queue of accounts to be synchronized which means it may take a number of seconds before action is taken. Also, be sure that sync is not turned off under Accounts sync. Cheers, Stacy On Wed,

[android-developers] Confused over activities and creating new tasks

2010-08-31 Thread Connick
Hi folks, I'm launching a wizard as a series of views. (dialog theme) I need the user to be able to step back and forth through the series of views. When the final step is completed I'd like to return the to the original view that launched this new task. (i.e. close the series of dialogs) The

[android-developers] Can non-market app be updated from a market app later?

2010-08-26 Thread Connick
If I've got a non-market app installed can I later upgrade with a market version if they're signed with same cert? (Figuring out pre-release builds etc) Thanks! Stace -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Will user get notified of market update that matches package of a previously installed non-market app?

2010-08-26 Thread Connick
Sorry, follow-up question. Will user get notified of market update of an app that matches package of a previously installed non-market app? Cheers, Stace -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Ninepatch Error in Eclipse 3.5.2

2010-08-16 Thread Connick
Does it give any specific details? I've only seen this when there was something wrong with the markings on the outer 1 pixel border. -Stace On Mon, Aug 16, 2010 at 8:16 PM, Lorensius W. L. T lor...@londatiga.netwrote: Hello All, I'm using Eclipse 3.5.2 on win7 with latest sdk update. Every

Re: [android-developers] SampleSyncAdapter demo code -- 2 questions

2010-08-12 Thread Connick
The OS governs the sync process. As for interval, there's periodic sync but that's only as of 2.2. To work around that I ended up using alarm manager on 2.1 to request a sync at whichever interval. -Stace On Wed, Aug 11, 2010 at 5:30 PM, Tom Millett thomas.w.mill...@gmail.comwrote: I've read

[android-developers] Possible to increase size of hit area for a View?

2010-08-10 Thread Connick
Users are finding it difficult to register clicks on text links ...is there any way I can increase the hit area for a given view? Thanks, Stace -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Re: Possible to increase size of hit area for a View?

2010-08-10 Thread Connick
That'll do it, thanks! On Tue, Aug 10, 2010 at 11:56 PM, Sarwar Erfan erfanonl...@gmail.comwrote: On Aug 11, 7:35 am, Connick oconn...@gmail.com wrote: Users are finding it difficult to register clicks on text links ...is there any way I can increase the hit area for a given view? Hi

[android-developers] How can I measure FPS?

2010-08-03 Thread Connick
Is there a way to measure frames per second? Would be helpful in evaluating perf tweaks. Thx! Stace -- 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

Re: [android-developers] Re: How can I measure FPS?

2010-08-03 Thread Connick
Thanks! Will give that a shot ... On Tue, Aug 3, 2010 at 11:46 AM, mrqzzz marcus.ob...@gmail.com wrote: Here is an example (in my case, using Canvas) where in the game loop i call the doDraw(Canvas canvas) to repeatedly paint the scene: private long now; private int framesCount=0; private

[android-developers] HTTPClient hanging on occasion + really bizarre solution

2010-08-01 Thread Connick
I have a service that is loading images from a server. Almost every time the service runs it gets hung up on what seems to be misfire with the connection to the server. On closer inspection it looks as though HTTPClient spontaneously decides to hang as the last successful request from the server

[android-developers] Re: HTTPClient hanging on occasion + really bizarre solution

2010-08-01 Thread Connick
Forgot to mention, it's hanging on httpClient.execute( request ) On Sun, Aug 1, 2010 at 5:23 PM, Connick oconn...@gmail.com wrote: I have a service that is loading images from a server. Almost every time the service runs it gets hung up on what seems to be misfire with the connection

[android-developers] Re: HTTPClient hanging on occasion + really bizarre solution

2010-08-01 Thread Connick
into this prob. -S On Sun, Aug 1, 2010 at 5:29 PM, Connick oconn...@gmail.com wrote: Forgot to mention, it's hanging on httpClient.execute( request ) On Sun, Aug 1, 2010 at 5:23 PM, Connick oconn...@gmail.com wrote: I have a service that is loading images from a server. Almost every time

Re: [android-developers] Adding headers to listview for cursor with grouped results

2010-07-31 Thread Connick
*and* a row layout. On Fri, Jul 30, 2010 at 3:02 PM, Connick oconn...@gmail.com wrote: I'm with you on that ...re: header part of hierarchy, that's the direction I'm going but I was worried about position mapping ...you're suggestion to include the header view with a row item would solve

[android-developers] Throttling change notifications

2010-07-31 Thread Connick
Is there a way to throttle change notifications emanating from a content provider? Was thinking some sort of timer solution but that could get messy. e.g. if the last notification isn't made then data on the UI will be inaccurate. Thanks, Stace -- You received this message because you are

[android-developers] Adding headers to listview for cursor with grouped results

2010-07-30 Thread Connick
Requirement: Display query results in a list with a header view atop each group. (results grouped from database) Looking at Mark's MergeAdapter. Wondering if I might be able to use a single cursor and have each adapter filter on the group field? That a viable approach? Cheers, Stacy -- You

Re: [android-developers] Adding headers to listview for cursor with grouped results

2010-07-30 Thread Connick
Knowing it's possible is enough for me to go on and start digging. :) Will post back if I figure it out! On Fri, Jul 30, 2010 at 2:32 PM, Mark Murphy mmur...@commonsware.comwrote: On Fri, Jul 30, 2010 at 2:29 PM, Connick oconn...@gmail.com wrote: Requirement: Display query results in a list

Re: [android-developers] Adding headers to listview for cursor with grouped results

2010-07-30 Thread Connick
The grouping itself is no problem ...its tossing in the arbitrary view to act as a header to each group within that list. From the looks of the client it doesn't use any type of headers in its list ...but thanks for the suggestion! On Fri, Jul 30, 2010 at 2:38 PM, Kostya Vasilyev

Re: [android-developers] Adding headers to listview for cursor with grouped results

2010-07-30 Thread Connick
I'm with you on that ...re: header part of hierarchy, that's the direction I'm going but I was worried about position mapping ...you're suggestion to include the header view with a row item would solve that problem! Gracias, will give that a shot. Cheers S On Fri, Jul 30, 2010 at 2:53 PM, Kostya

Re: [android-developers] Re: R cannot be resolved

2010-07-21 Thread Connick
I often get those errors when importing projects ...and I have to do an explicit clean on the project then that error goes away. Don't know if you're seeing the same behavior (on OS X) but hope that helps. On Wed, Jul 21, 2010 at 2:00 PM, Kacee komal...@gmail.com wrote: Try creating a

Re: [android-developers] Re: Is there anyone know why Google allow only 4 connections on Android?

2010-07-21 Thread Connick
Imagine having 5 apps each attempting to make 30 connections... On Wed, Jul 21, 2010 at 8:29 PM, Frank Weiss fewe...@gmail.com wrote: You said that more than 4 connections would give better performance. How much faster would it be with a 5th connection? -- You received this message because

Re: [android-developers] Re: Permanent socket connection drains battery

2010-07-15 Thread Connick
Possible to leverage Googles cloud messaging instead? You can push intents down to the device. On Thu, Jul 15, 2010 at 9:41 AM, Namrata puranik.namr...@gmail.com wrote: Do you really need to have a socket open at all times? yes, my application is based on push technique for which I always

Re: [android-developers] Re: Speech to text not working behind corporate firewall

2010-07-14 Thread Connick
To replace googles built-in facilities? Leveraging what google has baked into the OS is very simple to use. If you know how to fire an intent, you're 90% of the way there. Stace On Wed, Jul 14, 2010 at 3:18 PM, Maxood maqs...@salsoft.net wrote: I have a simple question here: Is it possible to

[android-developers] Not sure if this is a bug? RelativeLayout + fill_parent

2010-07-12 Thread Connick
Found a quirk and wondering if I'm missing something. I have a View inside of a RelativeLayout which has its background color set at runtime. I'm finding in this case I need to set an explicit height otherwise the view will not show. i.e. if I set the layout_height=fill_parent, it's not visible.

Re: [android-developers] NSPredicate-like functionality for Collections?

2010-07-11 Thread Connick
Not to my knowledge. I will typically rely on a local database with the appropriate filter clause. (Would be nice if we had a lightweight ORM framework to leverage though) -Stace On Sun, Jul 11, 2010 at 12:05 PM, gpasq g...@pasq.net wrote: Anyone know of any libs for Collections that are

Re: [android-developers] ProgressDialog fills screen in Froyo 2.2

2010-07-11 Thread Connick
I've noticed progress dialogs being wider (i.e. extra padding) but it's not extending the width of the screen. (same size in portrait and landscape) -Stace On Sun, Jul 11, 2010 at 5:16 PM, Rmac ry...@me.com wrote: I am not sure if this is a bug or new feature so I'd like feedback if others

[android-developers] Possible to achieve using relative layout?

2010-07-10 Thread Connick
I have a relative layout with an imageview aligned to parent left and a textview centered horizontally/vertically in the parent. Is there a way I can indicate that the textview should not overlap the imageview should the text be long enough to fill the parent? Cheers, Stace -- You received this

Re: [android-developers] Re: Possible to achieve using relative layout?

2010-07-10 Thread Connick
to the right and not all the way to the left, the text would appear off-center. On Jul 10, 5:29 pm, Connick oconn...@gmail.com wrote: I have a relative layout with an imageview aligned to parent left and a textview centered horizontally/vertically in the parent. Is there a way I can indicate

[android-developers] ListView not refreshing on back button when cursor is changed

2010-07-08 Thread Connick
My user has a menu option to jump from a list activity to a preference screen which has options for filtering and/or sorting visible data in the aforementioned list activity. When the user hits the back button, inside onResume() I am calling cursor.managedQuery() with the new sort/filter params.

Re: [android-developers] ListView not refreshing on back button when cursor is changed

2010-07-08 Thread Connick
On Thu, Jul 8, 2010 at 4:20 PM, Mark Murphy mmur...@commonsware.com wrote: On Thu, Jul 8, 2010 at 3:14 PM, Connick oconn...@gmail.com wrote: My user has a menu option to jump from a list activity to a preference screen which has options for filtering and/or sorting visible data

Re: [android-developers] Re: Can load html from assets but loading JS, CSS from within that HTML is another story ...

2010-07-08 Thread Connick
, 2010 at 2:55 AM, Maxood maqs...@salsoft.net wrote: Look into the WebViewDemo here: http://code.google.com/p/apps-for-android/ Maqsood On Jul 7, 10:21 pm, Connick oconn...@gmail.com wrote: I'm loading html into a webview from my assets folder, works no problem. In my second experiment I've

[android-developers] How would I include non-class files in my apk?

2010-07-07 Thread Connick
I'm looking to load some JS and CSS into a webview (via content provider) which is all well and good ...but how should these files be packaged in the APK such that I can reference them from the provider impl at runtime? i.e. com.domain.myprovider/foo.js Thanks! Stace -- You received this

[android-developers] Re: How would I include non-class files in my apk?

2010-07-07 Thread Connick
More specifically ...have the files show up: /data/data/com.mydomain.foo/media/foo.js Is this something I would have to provision programatically at runtime? On Wed, Jul 7, 2010 at 1:35 PM, Connick oconn...@gmail.com wrote: I'm looking to load some JS and CSS into a webview (via content

[android-developers] Re: How would I include non-class files in my apk?

2010-07-07 Thread Connick
Part of the answer. res/raw Now just need to figure out where those end up. :) On Wed, Jul 7, 2010 at 1:51 PM, Connick oconn...@gmail.com wrote: More specifically ...have the files show up: /data/data/com.mydomain.foo/media/foo.js Is this something I would have to provision programatically

[android-developers] Re: How would I include non-class files in my apk?

2010-07-07 Thread Connick
R.raw Case closed. :) On Wed, Jul 7, 2010 at 1:56 PM, Connick oconn...@gmail.com wrote: Part of the answer. res/raw Now just need to figure out where those end up. :) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

Re: [android-developers] Re: How would I include non-class files in my apk?

2010-07-07 Thread Connick
, Jul 7, 2010 at 1:56 PM, Connick oconn...@gmail.com wrote: Part of the answer. res/raw Now just need to figure out where those end up. :) -- 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] Can load html from assets but loading JS, CSS from within that HTML is another story ...

2010-07-07 Thread Connick
I'm loading html into a webview from my assets folder, works no problem. In my second experiment I've loaded HTML from a database (after pulling from remote source) and displayed in a webview (also no prob) ...Now I'm trying to change the baseref inside the html to have all JS and CSS references

Re: [android-developers] Re: How to set sync interval for accounts in pre-froyo

2010-07-06 Thread Connick
I ended up using a hybrid solution. Alarm manager to perform a requestSync. I believe auto is feasible if you have the option of leveraging their cloud-device messaging. On Tue, Jul 6, 2010 at 6:55 PM, Carlos Silva r3...@r3pek.org wrote: On Tue, Jul 6, 2010 at 23:50, baka rkabhi1...@gmail.com

[android-developers] Speech to text not working behind corporate firewall

2010-07-05 Thread Connick
I've noticed that speech to text only works on cellular or WiFi connections not behind corporate firewalls. I'm guessing it uses non-standard ports of some kind? Anyone else seen this? -Stace -- You received this message because you are subscribed to the Google Groups Android Developers group.

Re: [android-developers] Re: Speech to text not working behind corporate firewall

2010-07-05 Thread Connick
nexus one doesnt have a wifi/data signal, speech to text does not work. Only when a connection is present does it work. Eddie On Jul 5, 10:59 am, Connick oconn...@gmail.com wrote: I've noticed that speech to text only works on cellular or WiFi connections not behind corporate firewalls. I'm

Re: [android-developers] Re: Speech to text not working behind corporate firewall

2010-07-05 Thread Connick
I'm wondering if it's because it's waiting for a return intent (async process) from the server? Google follks? :) On Mon, Jul 5, 2010 at 2:39 PM, Connick oconn...@gmail.com wrote: Yeah, it needs to reach google ...only prob is if you have a connection but it's wifi behind a firewall, you're

[android-developers] Android developer opportunity, Ottawa, Canada

2010-07-02 Thread Connick
Hi folks, We're looking to augment our mobile team and are looking for an additional contractor for Android development. (on-site in Ottawa) Please contact me off list ( styo...@adobe.com ) if you're interested and/or would like more information. Cheers, Stacy Young Adobe Systems -- You

[android-developers] Activity saved state not always working?

2010-07-02 Thread Connick
I've got a TextView which keeps losing it's previous value between intent invocations. If I enter some text, hit the home button then relaunch the app the text is restored as expected. If I change orientation, onCreate fires and again text is restored as expected. However if I navigate elsewhere

Re: [android-developers] Activity saved state not always working?

2010-07-02 Thread Connick
That's what's throwing me for a loop. onDestroy is never called ...and I don't believe there's any reason it'd be killed off forcefully. On Fri, Jul 2, 2010 at 3:31 PM, Mark Murphy mmur...@commonsware.com wrote: On Fri, Jul 2, 2010 at 3:30 PM, Connick oconn...@gmail.com wrote: However if I

Re: [android-developers] Activity saved state not always working?

2010-07-02 Thread Connick
On Fri, Jul 2, 2010 at 3:48 PM, Mark Murphy mmur...@commonsware.com wrote: On Fri, Jul 2, 2010 at 3:46 PM, Connick oconn...@gmail.com wrote: That's what's throwing me for a loop. onDestroy is never called ...and I don't believe there's any reason it'd be killed off forcefully. Are you

Re: [android-developers] Activity saved state not always working?

2010-07-02 Thread Connick
Whereas calling startActivity( intent ) from within an application implies a reset state and will not have the same affect as navigating back in the activity stack. Calling startActivity() usually creates a new instance of the activity, which by definition has no saved state.

[android-developers] Possible to hang help/hint bubbles off views?

2010-07-01 Thread Connick
I'm considering the use of hints on TextViews but curious to know if hint * bubbles* are possible? (out of the box) Thanks, Stace -- 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] Best way to change text styles in a list? (performance)

2010-06-30 Thread Connick
Hi all, Ever since I added conditional text formatting on my list items I've noticed a performance drop. It's still usable but I'm somewhat obsessive about performance/experience so I would really like to tweak my approach as best I can. The following snippet is how I'm achieving my conditional

Re: [android-developers] Best way to change text styles in a list? (performance)

2010-06-30 Thread Connick
and bold Typeface objects) On Wed, Jun 30, 2010 at 10:29 AM, Connick oconn...@gmail.com wrote: Ever since I added conditional text formatting on my list items I've noticed a performance drop. It's still usable but I'm somewhat obsessive about performance/experience so I would really like

Re: [android-developers] Camera in Froyo emulator crashes

2010-06-28 Thread Connick
Don't know if it's related but the camera app crashes every one of our Nexus one's. (actual hardware) -Stace On Mon, Jun 28, 2010 at 6:57 AM, Fina Mesina fina.mes...@gmail.com wrote: Hello! We are exploring the default applications in Froyo and we found out that the Camera app always

[android-developers] TextView showing invisible chars in 2.0 - 2.1

2010-06-27 Thread Connick
In testing my app across different OS versions I've noticed what appears to be carriage returns showing as visible squares in TextView. This doesn't happen on Froyo ...wondering if anyone knows how get around this in previous versions? Thanks, Stace -- You received this message because you are

Re: [android-developers] Re: sqlite3 in adb not in 2.2?

2010-06-27 Thread Connick
Hmm it should work as I've been using it for some time in 2.2. Try to su root first. On Sun, Jun 27, 2010 at 11:50 PM, Vincent Tsao caojunvinc...@gmail.comwrote: On May 24, 7:41 am, Mark Murphy mmur...@commonsware.com wrote: schwiz wrote: So I just watched the talk at Google I/O where

Re: [android-developers] Re: Using SyncAdapter for syncing application data

2010-06-24 Thread Connick
p.s. I should add to this that if u set to sync automatically ...it can respond to a network tickle pre-2.2. At least according to the docs. I would guess this would work via google's cloud messaging. -Stace On Wed, Jun 23, 2010 at 8:25 AM, Connick oconn...@gmail.com wrote: I've been using

Re: [android-developers] Re: Using SyncAdapter for syncing application data

2010-06-23 Thread Connick
I've been using a sync adapter for application data and it worked out really well. The downside is that there is no API to set the sync interval unless you're targeting froyo. (at least to my knowledge) Kind of defeats the purpose. I've had to roll with alarm manager for pre-froyo clients. My main

Re: [android-developers] Sleep mode - technical documentation?

2010-06-23 Thread Connick
One thing I've noticed on froyo, and this could be due to my lack of understanding, is that network connections sometimes fail over wifi even with cpu and wifi lock. Wifi reports its connected yet calls fail immediately. The second I wake up the phone, back in business. (if I disable wifi and

[android-developers] How to set sync interval for accounts in pre-froyo

2010-06-22 Thread Connick
Hi folks, Does anyone know if there's a way to set the sync interval on accounts via sync adapter in pre-froyo? They've added the API to do so in 2.2 but I'm curious to know if there is a workaround in 2.0-2.1. (My backup plan is the alarm manager) What's odd is there doesn't even seem to be any

Re: [android-developers] New tutorials up - feedback welcome

2010-06-22 Thread Connick
Very cool. Setting up continuous integration was on my to-do this week and u just made my life easier. Cheers! :) On Tue, Jun 22, 2010 at 1:53 PM, Matt matthew.quig...@gmail.com wrote: Hi everyone. I've started my first blog to document my experience with Android development, and so far

[android-developers] Fwd: OnSharedPreferenceChangeListener never receives callback

2010-06-20 Thread Connick
as the new sort was applied. Cheers, Stace -- Forwarded message -- From: FrankG frankgru...@googlemail.com Date: Thu, Jun 17, 2010 at 8:15 AM Subject: Re: OnSharedPreferenceChangeListener never receives callback To: Connick oconn...@gmail.com Hello Connick, sorry to bother you

[android-developers] Making TextViews Spannable causes ListView performance to tank

2010-06-18 Thread Connick
Hi all, I've got a list few which I've optimized in every possible way. Performance matches the exchange email client so I'm happy in that respect. It's very fluid regardless of the number of records. The problem is the moment I introduce some conditional formatting of TextViews (think bold for

[android-developers] Should I bother with my own sync adapter?

2010-06-17 Thread Connick
In my current app I decided to integrate into account management and create a sync adapter. I'm wondering if it's worth doing this over an alarm manager approach as I don't believe it's supported below 2.0? Even worse I'm currently using a 2.2 API to set the sync interval (not possible before ??)

Re: [android-developers] ListView with sections from a SINGLE Cursor

2010-06-16 Thread Connick
I'm facing this exact challenge this morning! +1 On Wed, Jun 16, 2010 at 11:33 AM, sasq jonas.minnb...@gmail.com wrote: I've been looking around a lot on how to separate a ListView into sections with headers, and all solutions are based on using multiple adapters. I have only a single

[android-developers] Setting background color on row layout prevents display of highlight on select

2010-06-16 Thread Connick
I'm setting background color based on a given state of an object in each row in a list. That part is working just fine but when I set the background color on the outermost layout the row no longer highlights when selected. Probably a specific attribute I'm not setting/changing? Thanks, Stace --

[android-developers] Implementing Filterable Cursor Adapter: How to I invoke/refresh filter?

2010-06-15 Thread Connick
Hi folks I've overriden runQueryOnBackgroundThread and done what I've needed to do for the corrent query to be excuted with a given constraint. My current challenge is figuring out how to actually pass in the constraint. I've got an ActivityList which I'd like to filter on a stored preference.

[android-developers] OnSharedPreferenceChangeListener never receives callback

2010-06-15 Thread Connick
Hi folks, I'm trying to listen for preference changes from an activity (see below). It never fires. Is it due to the fact that the activity in question is not in focus when the change event fires? sharedPrefs = PreferenceManager.getDefaultSharedPreferences( getApplicationContext() );

Re: [android-developers] OnSharedPreferenceChangeListener never receives callback

2010-06-15 Thread Connick
, Mark Murphy mmur...@commonsware.comwrote: On Tue, Jun 15, 2010 at 4:25 PM, Connick oconn...@gmail.com wrote: I'm trying to listen for preference changes from an activity (see below). It never fires. Is it due to the fact that the activity in question is not in focus when the change event

Re: [android-developers] OnSharedPreferenceChangeListener never receives callback

2010-06-15 Thread Connick
Interesting, it only works if used within an activity that extends PreferenceActivity. Crap. On Tue, Jun 15, 2010 at 4:40 PM, Connick oconn...@gmail.com wrote: No effect. I'm registering the listener in onCreate of my activity, not sure if that has any implications. I've also been assuming

Re: [android-developers] OnSharedPreferenceChangeListener never receives callback

2010-06-15 Thread Connick
Will file a big, thx! On Tue, Jun 15, 2010 at 4:45 PM, Mark Murphy mmur...@commonsware.comwrote: On Tue, Jun 15, 2010 at 4:42 PM, Connick oconn...@gmail.com wrote: Interesting, it only works if used within an activity that extends PreferenceActivity. Crap. So long as all components

Re: [android-developers] OnSharedPreferenceChangeListener never receives callback

2010-06-15 Thread Connick
Cancel that, I just grasped what you were getting at. :) On Tue, Jun 15, 2010 at 5:18 PM, Connick oconn...@gmail.com wrote: Will file a big, thx! On Tue, Jun 15, 2010 at 4:45 PM, Mark Murphy mmur...@commonsware.comwrote: On Tue, Jun 15, 2010 at 4:42 PM, Connick oconn...@gmail.com wrote

[android-developers] ListView no longer responding to select when checkbox added to row view

2010-06-10 Thread Connick
I'm sure this is an obvious one but I'm at a loss. I'm using my own layout for list rows, all well and fine ...but the moment I add a checkbox view to the rows layout only the checkbox responds to user selection. I'd like for the checkbox to change state if the user taps anywhere within a given

[android-developers] Possible to receive notification of account removal?

2010-06-07 Thread Connick
Hi folks, Been doing some digging but so far it's not apparent on how I can have my app be notified (via intent possibly?) on when an account type associated with my app is removed from the manager. When this happens I need to perform data cleanup for that account in a local database etc. Any

[android-developers] SyncAdapter - sync frequency?

2010-05-19 Thread Connick
Hi all, I've looked at the SampleSyncAdapter project that ships with the SDK and I've implemented my own sync service successfully. However I've noticed there does not seem to be any public APIs for controlling sync frequency. Did I miss something obvious? Thanks! Stacy -- You received this