[android-developers] Tying a live wallpaper to home screen swipes

2013-10-28 Thread Matt Schoen
Hi there, I'm making a live wallpaper that I would like to change when the user swipes the screen. I have a TouchListener set up, but I have had trouble precisely matching the behavior of the home screen. In other words, sometimes when I swipe the screen, the home screen will change pages but

Re: [android-developers] Activity being started with old bundle data

2012-07-19 Thread Matt Schoen
g fired, and the a pending intent is created the next time. > > Or use intent.setData(Uri.parse(intent.toUri(Intent.URI_INTENT_SCHEME))) > to give your intent a unique data Uri that contains the extras in an > encoded form. > > -- K > > 2012/7/19 Matt Schoen > >&g

Re: [android-developers] Activity being started with old bundle data

2012-07-19 Thread Matt Schoen
No, I did not. Should I? There are currently no flags on the intent. On Wednesday, July 18, 2012 10:33:46 PM UTC-4, Dianne Hackborn wrote: > > Did you use PendingIntent.FLAG_CANCEL_CURRENT? > > On Wed, Jul 18, 2012 at 7:55 AM, Matt Schoen wrote: > >> Hi there, >> >

Re: [android-developers] Re: Forcing lower resolution drawables on phones with big screens and small RAM

2012-07-18 Thread Matt Schoen
context.getResources(), new TypedValue(), >> context.getAssets().open("flame_high/" + String.format(file_name, i)), >> "test"); > > On Wednesday, July 18, 2012 6:09:46 PM UTC-4, Fran wrote: > > Use they Assets folder instead. Take a look on A

[android-developers] Activity being started with old bundle data

2012-07-18 Thread Matt Schoen
Hi there, I'm having an issue with an activity, which is started via a notification, which is spawned by an alarm. I've added debug outputs to determine whether the right data is being sent, and it is. What's happening is this: The alarm fires, which picks a random entry from my database, and

[android-developers] Re: Forcing lower resolution drawables on phones with big screens and small RAM

2012-07-17 Thread Matt Schoen
verlays on the > view's canvas. > > Maybe you can get away with that solution and don't need to implement a > streaming technique. > > > On Tuesday, July 17, 2012 9:28:59 AM UTC-5, Matt Schoen wrote: >> >> Hey, thanks for the reply. >> >> I gu

[android-developers] Re: Forcing lower resolution drawables on phones with big screens and small RAM

2012-07-17 Thread Matt Schoen
cording to the available amount of free memory. You wouldn't > risk OOM crashes on any device with that technique. > > Alternatively you could create a video based on your frames and play that > one back instead. > > > On Friday, July 13, 2012 10:54:46 PM UTC-5, Matt Schoe

[android-developers] Forcing lower resolution drawables on phones with big screens and small RAM

2012-07-13 Thread Matt Schoen
Hey there, I've tried to find info on this, but it seems like a pretty esoteric case. I'll admit that I'm probably completely off-base to start, but the app is 99% done, so I'd rather not change my implementation from it's current state. I have an animation that I'm using a big list of drawab