[android-developers] Re: Unexpected Resumes Running Under 2.0

2009-12-01 Thread Matt Kanninen
On Oct 29, 1:08 pm, Nmix nepean...@gmail.com wrote: Elsewhere in the log, I found something in the logs put out by the system process that from their timestamp may be correlated with the uninstall/install process initiated by ADB: 10-29 20:33:14.391:

[android-developers] java.lang.OutOfMemoryError: bitmap size exceeds VM budget

2009-11-25 Thread Matt Kanninen
This: private static final int[] glowDrawableIds={ R.drawable.graphic_microphoneglow_01, R.drawable.graphic_microphoneglow_02, R.drawable.graphic_microphoneglow_03, R.drawable.graphic_microphoneglow_04,

[android-developers] Re: java.lang.OutOfMemoryError: bitmap size exceeds VM budget

2009-11-25 Thread Matt Kanninen
a href=http://code.google.com/p/android/issues/detail?id=5045;Issue 5045/a http://code.google.com/p/android/issues/detail?id=5045 On Nov 25, 9:37 am, Matt Kanninen mathias...@gmail.com wrote: This:         private static final int[] glowDrawableIds

[android-developers] Re: Accessing images from gallery

2009-11-25 Thread Matt Kanninen
This happens with small images as well, it has to do with the Bitmap cache, it's a recurring issue, and it's still in 2.0. On Nov 24, 9:52 am, Mark Murphy mmur...@commonsware.com wrote: JasonMP wrote: Ok, I'm getting a couple things that look funny. snip 11-24 10:28:52.758:

[android-developers] Re: java.lang.OutOfMemoryError: bitmap size exceeds VM budget

2009-11-25 Thread Matt Kanninen
, if possible. Use BitmapFactory.decode and set the 'inSampleSize' of your bitmap-options to scale down the size of the bitmap to be loaded and rendered on the screen. On Nov 25, 12:46 pm, Matt Kanninen mathias...@gmail.com wrote: a href=http://code.google.com/p/android/issues/detail?id=5045

[android-developers] Re: java.lang.OutOfMemoryError: bitmap size exceeds VM budget

2009-11-25 Thread Matt Kanninen
this error means you have too many graphics loaded at once, or are unloading and loading a lot of graphics in a row so the finalizer can't reclaim the bitmap memory in time. Matt On Nov 25, 12:46 pm, Matt Kanninen mathias...@gmail.com wrote: a href=http://code.google.com/p/android/issues/detail?id

[android-developers] Re: java.lang.OutOfMemoryError: bitmap size exceeds VM budget

2009-11-25 Thread Matt Kanninen
the limit and the GC doesn't get to the bitmaps in time. Matt On Wed, Nov 25, 2009 at 2:37 PM, Matt Kanninen mathias...@gmail.com wrote: Matt, So in this case I definitely am frequently loading and unloading small images.  Those 10 id's all point at different states in our animation.  I can

[android-developers] Re: Using FLAG_ACTIVITY_CLEAR_TOP, but don't restart target activity?

2009-11-21 Thread Matt Kanninen
I had never seen so much use required of OR until I started doing Android application development. On Nov 21, 5:07 pm, Mark Murphy mmur...@commonsware.com wrote: Mark Wyszomierski wrote: Hi, I'd like to use FLAG_ACTIVITY_CLEAR_TOP to launch an activity in my app. It has one feature I

[android-developers] Re: Random phone restarts, anyone else experience this?

2009-11-21 Thread Matt Kanninen
My Droid restarts about once a day. This discussion probably belongs another board, perhaps Android discuss, or as a bug report. On Nov 21, 6:38 am, Mark Wyszomierski mar...@gmail.com wrote: Hi, Not sure if anyone else is experiencing this. My G1 will randomly restart itself up to two times

[android-developers] Bitmap memory errorsn, static strings becoming null, MediaRecorder.release hangs

2009-11-21 Thread Matt Kanninen
If my app runs for more then half an hour on the G1 it will fail on inflating views from xml, giving an error about insufficient memory creating a bitmap. Another issue, which may be a side effect is that global static strings that are assigned at startup become null. I have worked around that

[android-developers] Re: Getting Google order number programmatically after app is bought from Market

2009-11-20 Thread Matt Kanninen
Awesome! Could this be an apache licensed project hosted on google code? -MK On Nov 20, 8:25 am, polyclefsoftware dja...@gmail.com wrote: Hi UBZack, I'm currently working on a Google Checkout client for Android that generates simple sales reports based on a date range and order status,

[android-developers] Re: market.android.com app listings

2009-11-20 Thread Matt Kanninen
Good question but I think this: http://www.google.com/support/forum/p/Android+Market/ is where you should be looking for the answer. On Nov 20, 9:20 am, rcs rsar...@gmail.com wrote: Does anyone know how to change one's app listing onhttp://market.android.com? We've updated our Android Market

[android-developers] Re: How to configure your application to ensure proper display on Motorola Droid?

2009-11-20 Thread Matt Kanninen
You should be able to compile against 1.6 right? That seemed to give us all tools necessary to support Long displays. My plan is to compile against 1.6, but only use 1.5 APIs. Put the droid layouts in res/layout-long, and test on 1.6 and 2.0 devices, and a 1.5 emulator. It seems the browser

[android-developers] Re: Choosing Dev Phone

2009-11-13 Thread Matt Kanninen
The only problem I see with the G1 is the doubts I've seen expressed about whether it will get Android 2.0. -- 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

[android-developers] Re: Widget Layout Frustration

2009-11-11 Thread Matt Kanninen
When I'm 2px off I find negative layout margins help immensely. http://developer.android.com/reference/android/view/ViewGroup.MarginLayoutParams.html On Oct 29, 8:40 pm, Evan Ruff evan.r...@gmail.com wrote: Hey Guys, I was hoping someone could help me with a home screen widget I'm trying to

[android-developers] Re: Start app from browser

2009-11-03 Thread Matt Kanninen
I believe you'll want to register a URI pattern that your application handles. You can look for content provider samples for that. Then on your own page display a link that matches that URI pattern. You still depend on the user clicking the link. You can google for how people link to their

[android-developers] Re: Android User Experience and UI refinements

2009-10-27 Thread Matt Kanninen
I always found it easier to implement my own tabs, using whatever drawable.xml and pngs I want with the various states. You can continue to do that for any image, button view or background image you want. That way if you don't like the giant orange highlight in your color scheme you don't have

[android-developers] Problem with setting a previously transparent backgrount white in onPageFinished

2009-10-20 Thread Matt Kanninen
I have a webview which I like to be transparent, until the first page loads. I set it transparent like so: mWebView.setBackgroundColor(0); then I set it to use this WebViewClient private class OurWebViewClient extends WebViewClient { public void

[android-developers] Re: Text wrapping around image

2009-10-20 Thread Matt Kanninen
I spent a fair amount of time doing the same thing. Html.fromHTML is helpful, but it seems to basically take each img tag it encounters and add it to the textview like a character. So you can have one line of text to the left, and one line to the right, but you cant have multiple lines of text

[android-developers] Re: Keep pressing screen slow down the app very much

2009-10-20 Thread Matt Kanninen
Is this really the best way to solve this problem? Sleeping in an on*Event just sounds wrong. On Oct 19, 8:50 pm, Nightwolf mikh...@gmail.com wrote: Try this solution public boolean onTouchEvent(final MotionEvent event) {                 try {                         Thread.sleep(50);    

[android-developers] Re: Uniquely identifying a phone via an Http request

2009-10-09 Thread Matt Kanninen
You may be depended on carrier specific custom headers, best way to know is to grab a handset, hit a server, and look at the headers. A group that may have a better answer on this sort of issue is: http://tech.groups.yahoo.com/group/wmlprogramming/ -MK On Oct 9, 1:55 pm, stanlick

[android-developers] Re: put() in ResponseCache invoked with a wrong URI?

2009-09-18 Thread Matt Kanninen
I am seeing the same thing. On Aug 3, 12:27 am, Guitou drumsensati...@gmail.com wrote: Hi, I extended ResponseCache as follow : public class DataLoader extends ResponseCache {         @Override         public CacheResponse get(URI uri, String arg1,                         MapString,

[android-developers] Re: put() in ResponseCache invoked with a wrong URI?

2009-09-18 Thread Matt Kanninen
(DataLoader, Put() + conn.getURL); return null; } On Sep 18, 5:43 pm, Matt Kanninen mathias...@gmail.com wrote: I am seeing the same thing. On Aug 3, 12:27 am, Guitou drumsensati...@gmail.com wrote: Hi, I extended ResponseCache as follow : public class DataLoader

<    1   2