[android-developers] Re: ICS Hardware Acceleration crash

2011-12-06 Thread webmonkey
at 12:04 PM, webmonkey webmonke...@gmail.com wrote: I see now that there are some websites that advise people to turn it on because it makes everything run smoother. Got any links? At least we can work on trying to get these posts updated, particularly if there's no SDK means of telling

[android-developers] ICS Hardware Acceleration crash

2011-12-05 Thread webmonkey
In my AndroidManifest.xml I have: uses-sdk android:minSdkVersion=3 android:targetSdkVersion=8 / And the Application and Activities all have android:hardwareAccelerated=false So the app should not be hardware accelerated. But in the Android Developer console I am getting the following

[android-developers] Re: ICS Hardware Acceleration crash

2011-12-05 Thread webmonkey
be hardware accelerated. Unfortunately I have no way of responding to these users who report this issue. On Dec 5, 5:35 pm, Romain Guy romain...@android.com wrote: They've probably checked the Force GPU setting in Developers Settings. On Mon, Dec 5, 2011 at 7:25 AM, webmonkey webmonke

[android-developers] Re: ICS Hardware Acceleration crash

2011-12-05 Thread webmonkey
Rendering” option. Though why you’d want to do that, I do not know, because with this option ON, all of your apps will run more efficiently. On Dec 5, 6:21 pm, Mark Murphy mmur...@commonsware.com wrote: On Mon, Dec 5, 2011 at 12:04 PM, webmonkey webmonke...@gmail.com wrote: I see now

[android-developers] Re: ICS Hardware Acceleration crash

2011-12-05 Thread webmonkey
wrote: On Mon, Dec 5, 2011 at 12:04 PM, webmonkey webmonke...@gmail.com wrote: I see now that there are some websites that advise people to turn it on because it makes everything run smoother. Got any links? At least we can work on trying to get these posts updated, particularly

[android-developers] Re: Android 3.2 with WXGA (720x1280) resolution bugs in portrait.

2011-08-24 Thread webmonkey
I think you are forgetting the System Bar at the bottom, it is always there and it is 48 pixels high On Aug 23, 11:14 pm, sblantipodi perini.dav...@dpsoftware.org wrote: Hi... I noticed that if I run my app on android 3.2 sdk with a 720x1280 resolution I have some important bugs. If I run

[android-developers] Re: Serious bug in 3.2 ResolverActivity

2011-08-18 Thread webmonkey
in all cases. On Aug 8, 5:55 pm, webmonkey webmonke...@gmail.com wrote: In Honeycomb 3.2 when you start an intent and there are multiple activities that are capable of handling the intent the ResolverActivity is displayed but it does not show the choice menu so the user is unable to do

[android-developers] Serious bug in 3.2 ResolverActivity

2011-08-08 Thread webmonkey
In Honeycomb 3.2 when you start an intent and there are multiple activities that are capable of handling the intent the ResolverActivity is displayed but it does not show the choice menu so the user is unable to do anything. This is quite a serious bug and I have got quite a few reports about it

[android-developers] Re: Loading Bitmaps in native heap

2011-06-09 Thread webmonkey
to take advantage of the memory when it is available. Also note that such memory use would be for periods where an image is loaded and edited, so it is not allocated all the time. On Jun 9, 12:30 am, Dianne Hackborn hack...@android.com wrote: On Wed, Jun 8, 2011 at 3:17 PM, webmonkey webmonke

[android-developers] Re: Loading Bitmaps in native heap

2011-06-08 Thread webmonkey
It is kind of ridiculous that you cannot just load a bitmap in full quality the size of the phone's camera capability, let alone edit it. Then you have to explain to users that you can't because you can only use 16/24/32 MB when their phones have 512MB. As open and powerful as Android is, I never

[android-developers] Re: Loading Bitmaps in native heap

2011-06-08 Thread webmonkey
How does the native heap actually tell you, will malloc return NULL if it cannot reserve enough space? And if you are a foreground app, you won't get in trouble will you (unless you use insane amounts of it) I can understand that a background app should not use more native memory than the limit.

[android-developers] Re: Loading Bitmaps in native heap

2011-06-08 Thread webmonkey
That works but I don't consider 16-bit to be full-resolution, color fidelity is just as important. On Jun 8, 10:25 pm, Streets Of Boston flyingdutc...@gmail.com wrote: I guess it's playing nice to other background apps. Even a foreground app can't gobble up all the memory and starve the

[android-developers] Re: Loading Bitmaps in native heap

2011-06-08 Thread webmonkey
a high performance game) On Jun 8, 11:56 pm, Dianne Hackborn hack...@android.com wrote: On Wed, Jun 8, 2011 at 1:15 PM, webmonkey webmonke...@gmail.com wrote: How does the native heap actually tell you, will malloc return NULL if it cannot reserve enough space? No, as I said, your app

[android-developers] Re: Market sales stuck again

2011-06-01 Thread webmonkey
They are aware of it, see http://www.google.com/support/androidmarket/developer/bin/static.py?page=known_issues.cs There is also a Report button there to indicate that you are affected by this. On May 31, 9:34 pm, Simon Platten simonaplat...@googlemail.com wrote: This is happening to

[android-developers] Re: Comments/Ratings not showing up on Market

2011-05-21 Thread webmonkey
Maybe they are working on a comment rating system like Amazon? When they improve something, it usually breaks first, so it could be good sign ;-) On May 21, 8:39 am, Zsolt Vasvari zvasv...@gmail.com wrote: Yes, same for me -- I even had the user blow away the cached Market data and still, he

[android-developers] Weird crash report on 2.3.3 Nexus One

2011-04-06 Thread webmonkey
A few users sent me an app crash report on build number GRI40 It crashes on the following: W/dalvikvm( 903): VFY: unable to resolve virtual method 291: Landroid/ graphics/Canvas;.drawText (Ljava/lang/String;IIFFLandroid/graphics/ Paint;)V java.lang.NoSuchMethodError:

[android-developers] Re: Amazon Appmarket is now open!

2011-03-22 Thread webmonkey
Angry Birds Rio is getting a lot of 1-star reviews form non-US users who are unable to get the app. I have even seen a review from an iPad user who was unable to download the app via Safari. How on earth is it possible that these users can review the app! It is the Android Market all over again.

[android-developers] Re: Amazon Appmarket is now open!

2011-03-22 Thread webmonkey
It appears the Amazon DRM has already been cracked. There is an APK of Angry Birds RIO that removes the Amazon check. On Mar 22, 6:16 pm, PatternMusic richardlw...@gmail.com wrote: It is true you may not distribute an app through Android Market whose primary purpose is distributing apps. I

[android-developers] Re: Amazon Appmarket is now open!

2011-03-22 Thread webmonkey
, Mar 22, 2011 at 12:55 PM, webmonkey webmonke...@gmail.com wrote: It appears the Amazon DRM has already been cracked. There is an APK of Angry Birds RIO that removes the Amazon check. Source

[android-developers] Re: How to take advantage of dual-core processing

2011-03-04 Thread webmonkey
Can you determine the number of cores at all? On Mar 3, 10:29 pm, webmonkey webmonke...@gmail.com wrote: Let's say you have a task that is suitable for parallel processing. Can you detect the number of cores in Android and then make sure that the threads you create run on each separate core

[android-developers] Re: How to take advantage of dual-core processing

2011-03-04 Thread webmonkey
Thanks fadden, don't know how I missed this obvious API. When Honeycomb is open-sourced will we be able to see (and copy) how RenderScript schedules these tasks, or is that handled to deep in the system. On Mar 4, 9:08 pm, fadden fad...@android.com wrote: On Mar 3, 1:29 pm, webmonkey webmonke

[android-developers] How to take advantage of dual-core processing

2011-03-03 Thread webmonkey
Let's say you have a task that is suitable for parallel processing. Can you detect the number of cores in Android and then make sure that the threads you create run on each separate core. How would you do this without using RenderScript? (Also, how does RenderScript do it) -- You received this

[android-developers] Re: Which device(s) is/are XHDPI?

2011-03-03 Thread webmonkey
The Japanese Sharp ISO3 has a 3.5-inch 640x960 screen. Although I am not sure if they have set it at xhdpi On Mar 4, 3:15 am, Zsolt Vasvari zvasv...@gmail.com wrote: Ah ok, I guess the morale of the story is not to believe everything you read and do the calculations yourself. On Mar 4, 8:53 

[android-developers] Re: Render Script samples does't show anything

2011-02-28 Thread webmonkey
non-graphical ones (HelloCompute) don't run either in the emulator. You get: ERROR/RenderScript(514): 0x14fdd0, couldn't find an EGLConfig matching the screen format And then a fatal crash in LibRS.so On Feb 28, 8:17 am, Romain Guy romain...@android.com wrote: You must run them on a device,

[android-developers] Re: Render Script samples does't show anything

2011-02-28 Thread webmonkey
it. On Mon, Feb 28, 2011 at 12:02 AM, webmonkey webmonke...@gmail.com wrote: non-graphical ones (HelloCompute) don't run either in the emulator. You get: ERROR/RenderScript(514): 0x14fdd0, couldn't find an EGLConfig matching the screen format And then a fatal crash in LibRS.so On Feb 28

[android-developers] Re: Bug in Honeycomb solves Bitmaps with XRGB_8888

2011-02-25 Thread webmonkey
I see the 'bug' is still there in the final HC SDK. It is not by design is it? On Jan 31, 5:39 pm, webmonkey webmonke...@gmail.com wrote: Just as I suspected there is a bug in Honeycomb that allows me to work around not having a setHasAlpha function. Using the new inMutable option

[android-developers] Re: Bug in Honeycomb solves Bitmaps with XRGB_8888

2011-01-31 Thread webmonkey
be the easiest solution :-) On Jan 25, 10:57 pm, webmonkey webmonke...@gmail.com wrote: Hi Romain Looking further into the Android source code when you create a 32-bit color bitmap the system always assumes you have alpha and there is no way to turn it off. Only when you load a JPEG

[android-developers] SurfaceView and Honeycomb UI Hardware Acceleration

2011-01-26 Thread webmonkey
When you do all your drawing in a separate thread using a SurfaceView and lockCanvas how do you then take advantage of the new UI Hardware Acceleration in Honeycomb? (without using GLSurfaceView or RSSurfaceView) -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: SurfaceView and Honeycomb UI Hardware Acceleration

2011-01-26 Thread webmonkey
26, 2011 at 2:26 PM, webmonkey webmonke...@gmail.com wrote: When you do all your drawing in a separate thread using a SurfaceView and lockCanvas how do you then take advantage of the new UI Hardware Acceleration in Honeycomb?  (without using GLSurfaceView or RSSurfaceView) -- You

[android-developers] Re: Bitmaps with XRGB_8888 ?

2011-01-25 Thread webmonkey
that can easily be avoided. For Honeycomb could you please make the setHasAlpha public or provide an XRGB_ config. For the upcoming tablets we are going to draw even more and bigger bitmaps. On Jan 24, 10:01 pm, webmonkey webmonke...@gmail.com wrote: But that seems to be the only way to tell

[android-developers] Bitmaps with XRGB_8888 ?

2011-01-24 Thread webmonkey
Now that Gingerbread has moved to 32-bit windows is there a way to create a 32-bit bitmap without alpha to improve drawing performance of opaque bitmaps? Something like Bitmap.createBitmap( 512, 512, Bitmap.Config.XRGB_ ) Or does the system somehow detect that the bitmap is opaque? -- You

[android-developers] Re: Bitmaps with XRGB_8888 ?

2011-01-24 Thread webmonkey
...@android.com wrote: The system can detect when a ARGB_ bitmap is opaque (see Bitmap.hasAlpha()). On Mon, Jan 24, 2011 at 8:26 AM, webmonkey webmonke...@gmail.com wrote: Now that Gingerbread has moved to 32-bit windows is there a way to create a 32-bit bitmap without alpha to improve

[android-developers] Re: Bitmaps with XRGB_8888 ?

2011-01-24 Thread webmonkey
...@android.com wrote: No you cannot. Methods marked @hide are not part of the public API. They are not present in ADT's android.jar so you cannot compile against it. We also might rename or remove such APIs at any point in the future. On Mon, Jan 24, 2011 at 12:42 PM, webmonkey webmonke

[android-developers] Re: Accessing /udisk

2011-01-19 Thread webmonkey
You probably mean that it must correctly implement Android's External Storage API . The Nexus S does not have an SD card ;-) On Jan 19, 8:18 pm, Dianne Hackborn hack...@android.com wrote: No SD card means it is not a compatible device, so can't have Market for just this reason. On Wed,

[android-developers] Re: Maximum size of APK that can Upload to Android Market

2010-12-15 Thread webmonkey
You are in for a disappointment, from the Android Market Client Update blog post at: http://android-developers.blogspot.com/2010/12/android-market-client-update.html We are also increasing the maximum size for .apk files on Market to 50MB It is currently 25MB On Dec 15, 8:05 am, revanth

[android-developers] New Android Market Client Update

2010-12-11 Thread webmonkey
From the blog post at: http://android-developers.blogspot.com/2010/12/android-market-client-update.html Since most users who request a refund do so within minutes of purchase, we will reduce the refund window on Market to 15 minutes. Funny, this is also my experience but not because they do not

[android-developers] Re: New Android Market Client Update

2010-12-11 Thread webmonkey
My issue is that all the changes are cosmetic. After 2 years they still haven't improved the actual buying experience for users. Orders are declined, downloads won't start, and users have no idea what to do. On Dec 11, 1:19 pm, Zsolt Vasvari zvasv...@gmail.com wrote: By the way, the 15 mins is

[android-developers] Re: High resolution icon require to make my app not Mature - What the heck?

2010-12-11 Thread webmonkey
It is an unfortunate decision that they are now using the promo image for the details page. The icon is what identifies your app. From the point where the search starts for an app to the point where it is up on the user's home screen, it should be the same icon. The promo image should just be for

[android-developers] Re: High resolution icon require to make my app not Mature - What the heck?

2010-12-11 Thread webmonkey
Just look at the screenshot on the blog post, it now says Google Sky Map two times. Totally unnecessary. Why not just put the hi-res icon there. On Dec 11, 2:17 pm, webmonkey webmonke...@gmail.com wrote: It is an unfortunate decision that they are now using the promo image for the details page

[android-developers] Specs say High Resolution Application Icon has alpha, it doesn't

2010-12-07 Thread webmonkey
There is an updated post titled Graphic Assets for your Application at http://market.android.com/support/bin/answer.py?hl=enanswer=1078870 for the hi-res app icon it says: Specs: 512x512, 32-bit PNG with alpha; Max size of 1024KB. But the Market console says (no alpha) and the preview does not

[android-developers] Re: 60% payment declined on Android Market today!

2010-12-06 Thread webmonkey
declined for 2 days or so I suppose google must know this and be working hard to fix it. On Dec 4, 11:32 pm, webmonkey webmonke...@gmail.com wrote: What is going on today! Out of a 100 orders, more than 50 are declined, and it is not stopping, all I see is red payment declined orders

[android-developers] Re: Transferred my app to a new country - Sales dropped 50%

2010-12-05 Thread webmonkey
Is this only in the past 24hours, because something is seriously wrong with the Market this weekend. We are seeing more than 60% payment declined orders. See also this thread and please report it: http://www.google.com/support/forum/p/Android+Market/thread?tid=03351bf9107148eahl=en As a non-US

[android-developers] Re: 60% payment declined on Android Market today!

2010-12-05 Thread webmonkey
, 6:32 pm, webmonkey webmonke...@gmail.com wrote: What is going on today! Out of a 100 orders, more than 50 are declined, and it is not stopping, all I see is red payment declined orders.- Hide quoted text - - Show quoted text - -- You received this message because you are subscribed

[android-developers] Re: 60% payment declined on Android Market today!

2010-12-05 Thread webmonkey
Good someone from the Android Engineering Team who is reading this please notify the Market Team! I woke up and it still all payment declined orders for non-US sellers! On Dec 5, 8:03 pm, webmonkey webmonke...@gmail.com wrote: As if it isn't bad enough, if this is only affecting non-US

[android-developers] 60% payment declined on Android Market today!

2010-12-04 Thread webmonkey
What is going on today! Out of a 100 orders, more than 50 are declined, and it is not stopping, all I see is red payment declined orders. -- 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] Re: Localization: no compression... huge APK...

2010-11-29 Thread webmonkey
Try looking at the Android source code, look for the resource handling parts. Maybe you can copy some parts. On Nov 29, 9:35 am, Pent tas...@dinglisch.net wrote: The reason for the big difference is that strings in res/values are stored uncompressed in UTF16. They can then be memory mapped.

[android-developers] Re: Localization: no compression... huge APK...

2010-11-28 Thread webmonkey
The reason for the big difference is that strings in res/values are stored uncompressed in UTF16. They can then be memory mapped. (The Android dev team later said if would have been better if they went with UTF8 for size) Perhaps you could leave one language (the most used) in res/values for

[android-developers] Re: Licensing on multiple devices

2010-11-25 Thread webmonkey
http://market.android.com/support/bin/answer.py?hl=enanswer=113410 On Nov 25, 7:01 pm, jb cona...@gmail.com wrote: Hi, I have a general licensing question. If a user buys my app, can he install it on multiple android devices that he owns or is it limited to 1 license 1 device. Thanks,

[android-developers] Re: Background for hi-res 512x512 app icon?

2010-11-18 Thread webmonkey
Yes, it just ignores the alpha channel and that is why transparent pixels or black. I'll just add a white background for now. On Nov 18, 9:14 am, String sterling.ud...@googlemail.com wrote: On Nov 18, 6:27 am, Zsolt Vasvari zvasv...@gmail.com wrote: I just upscaled my normal icon alpha

[android-developers] Re: 512x512 high res icon required?

2010-11-18 Thread webmonkey
I also dispute the whole notion of a 512px icon. By definition, an icon is a simple image which looks good at a small size. Even if you have the source graphics, an icon which works well at 48px is likely to look stupid when upsized to 512px. /grumble Perhaps this will help:

[android-developers] Re: Android ARM Direct SD Card I/O

2010-11-18 Thread webmonkey
Have you looked at fcntl ? @TreKing without cache means that the OS does not read the file into the cache to improve subsequent reading operations. Sometimes you don't want this. On Nov 18, 3:33 pm, TreKing treking...@gmail.com wrote: On Tue, Nov 16, 2010 at 3:47 AM, meconin meco...@gmail.com

[android-developers] Background for hi-res 512x512 app icon?

2010-11-17 Thread webmonkey
The new hi-res app icon cannot have an alpha channel, so what should we use as the background, just white? Or can we use anything, like a colored gradient for example. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Crash report for ActivityThread.createThumbnailBitmap

2010-11-01 Thread webmonkey
I got a crash report in my Android Market Publisher console for android.app.ActivityThread.createThumbnailBitmap I thought that function was not used and the system should never call it, it not enabled in 2.3 is it? -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: MotionEvent HistorySize and multiple Pointers

2010-10-16 Thread webmonkey
Hi Dianne, (Also, even caring about the historical data is rare.  If all you need is the most recent positions, just ignore the historical data.) Is the historical data device dependent? So are there any devices that always set the amount to 0? Historical data is mostly used for smooth

[android-developers] Android (dalvik) performance question for API design

2010-10-07 Thread webmonkey
Taking into account JIT and non-JIT devices, what would be most efficient on Android for returning multiple values from functions: an array like this: float[] bestSize(float [] result) { // calculations... result[0] = width; result[1] = height; return result; } or a final class like

[android-developers] Re: Android (dalvik) performance question for API design

2010-10-07 Thread webmonkey
difference you're talking about is negligible compared to many other operations that go on inside a typical Android application.  A single tweak of a single character on the display would be thousands of times greater. On Oct 7, 10:34 am, webmonkey webmonke...@gmail.com wrote: Taking

[android-developers] Paid apps in new countries are live!

2010-10-05 Thread webmonkey
Here is the list of countries that can now be enabled in the Locations list Argentina Australia Austria Belgium Brazil Canada Czech Republic Denmark Finland France Germany India Israel Italy Japan Mexico Netherlands New Zealand Norway Poland Portugal Russia South Korea Spain Sweden Switzerland

[android-developers] Re: Is the Market having problems today (October 3, 2010)?

2010-10-03 Thread webmonkey
Welcome to the Android Market. This is business as usual. If your app is successful expect a lot more of these emails so I suggest you make an e-mail template for a quick response. And consider yourself lucky to be a US developer. On Oct 3, 5:20 pm, Nikhil nik...@superfacts.org wrote: Hi, I

[android-developers] Re: New countries, but not possible to move existing account?

2010-10-01 Thread webmonkey
I would also like to know this. But you may actually want to switch to a US account if you can. A few days ago the SwiftKey app switched from UK£0.60 to US$0.99 because like many non-US developers they were getting a lot of payment declined US orders. http://www.swiftkey.net/blog/?p=102 So it is

[android-developers] Re: Android market and customers email...

2010-09-25 Thread webmonkey
If the order has Email Marketing: set to NO, you should not use it for those purposes On Sep 25, 4:42 pm, Streets Of Boston flyingdutc...@gmail.com wrote: Yes, you could. But don't spam the users be careful :-) On Sep 25, 6:30 am, sblantipodi perini.dav...@dpsoftware.org wrote:

[android-developers] Re: Why aren't the 2D graphics API UI toolkit hardware accelerated?

2010-09-16 Thread webmonkey
I don't think a lot of developers would need the entire 2D drawing API to be hardware accelerated. If we could just render stuff to bitmaps/ layers that we can freely move around and send those to the GPU compositor that would be great for animation, scrolling, etc. On Sep 16, 7:50 pm, Romain Guy

[android-developers] Froyo still breaks compatibility

2010-06-30 Thread webmonkey
You can no longer send the ACTION_ATTACH_DATA intent with an image URI to a custom content provider without crashing the Gallery app. This bug was reported more than a month ago. http://code.google.com/p/android/issues/detail?id=8543 It is a stupid bug that is super easy to fix, and as soon as

[android-developers] Re: HTC Incredible no default external storage?

2010-05-21 Thread webmonkey
Any more info on how to correctly handle the HTC incredible's extra internal storage? Android 2.2 does add new default folders but not an extra API for additional internal storage. On Apr 30, 6:21 pm, webmonkey webmonke...@gmail.com wrote: My guess is that both External and Internal are mounted

[android-developers] Re: HTC Incredible no default external storage?

2010-04-30 Thread webmonkey
My guess is that both External and Internal are mounted and unmounted at the same time. Another question is the WRITE_EXTERNAL_STORAGE permission. Does it also apply to the internal storage, or is there a new separate permission for this. On Apr 30, 4:51 am, Streets Of Boston

[android-developers] Re: HTC Incredible no default external storage?

2010-04-27 Thread webmonkey
and comments from users Why does this app need an SD card, I have 8GB internal storage. Why don't you do it like the apps that came with the phone. On Apr 26, 9:18 pm, Mark Murphy mmur...@commonsware.com wrote: webmonkey wrote: Does anyone gave any update on this issue? Apparently Verizon

[android-developers] Re: HTC Incredible no default external storage?

2010-04-26 Thread webmonkey
Does anyone gave any update on this issue? Apparently Verizon is now adding a 2GB micro SD card: http://www.engadget.com/2010/04/25/droid-incredible-comes-with-limited-introductory-offer-of-2gb/ On Apr 20, 4:51 pm, webmonkey webmonke...@gmail.com wrote: Maybe not when you connect your phone

[android-developers] Re: HTC Incredible no default external storage?

2010-04-20 Thread webmonkey
connect your phone to a PC and select 'Mount', for example... On Apr 19, 2:44 pm, webmonkey webmonke...@gmail.com wrote: According to this post: http://groups.google.com/group/android-developers/msg/7b8a78c9d32309ab the Samsung Galaxy uses /sdcard for the internal storage and a special

[android-developers] HTC Incredible no default external storage?

2010-04-19 Thread webmonkey
the HTC incredible is now available for pre order at Verizon. Engadget has already done a review at: http://www.engadget.com/2010/04/19/droid-incredible-review/ They mention that there is a storage issue with a lot of apps because it does not come with an external SD card by default. It does

[android-developers] Re: HTC Incredible no default external storage?

2010-04-19 Thread webmonkey
Here is a screenshot of the SD card phone storage screen from phandroid.com http://phandroid.com/wp-content/uploads/2010/04/incredibleinternalstorage-550x372.jpg On Apr 19, 6:24 pm, Mark Murphy mmur...@commonsware.com wrote: String wrote: On Apr 19, 4:38 pm, webmonkey webmonke...@gmail.com

[android-developers] Re: HTC Incredible no default external storage?

2010-04-19 Thread webmonkey
function, does it always return MEDIA_MOUNTED ? On Apr 19, 7:54 pm, Mark Murphy mmur...@commonsware.com wrote: webmonkey wrote: Here is a screenshot of the SD card phone storage screen from phandroid.com http://phandroid.com/wp-content/uploads/2010/04/incredibleinternalsto... Well, at least

[android-developers] Re: Photoshop.com Mobile editor now available as an Intent

2010-03-15 Thread webmonkey
... They could have added the result to the MediaStore and returned that uri... I'll have to do it myself or my edit button disappears after editing a picture... I think Adobe should fix this. Kevin On 11 mar, 16:43, webmonkey webmonke...@gmail.com wrote

[android-developers] Re: Photoshop.com Mobile editor now available as an Intent

2010-03-15 Thread webmonkey
There is also a bug in PS mobile, and one more reason why you should not assume anything about the resulting intent data. When you send a PNG file for editing, PS returns a file with the PNG extension but it is actually a JPEG. On Mar 15, 4:54 pm, webmonkey webmonke...@gmail.com wrote: For your

[android-developers] Re: Photoshop.com Mobile editor now available as an Intent

2010-03-11 Thread webmonkey
The document provided by Adobe does not mention how you should read the returned Uri. For compatibility with future versions and other image editors, you should not assume that it is a 'file:' scheme Uri, it could also be a 'content:' scheme Uri. The ContentResolver will handle it. here is the

[android-developers] Re: Android WVGA support

2009-11-02 Thread webmonkey
30, 2009 at 1:36 PM, webmonkey webmonke...@gmail.com wrote: drawable-hdpi-v6 does indeed work in the 2.0 emulator but not in a 1.6 emulator. And because it is not exactly clear what the problem is I do not recommend using it. I am still hoping to find a solution where I can just use

[android-developers] Re: Gradient banding on high DPI devices

2009-11-02 Thread webmonkey
It seems to be an issue with 2.0 If I draw a dithered gradient on a 1.6 emulator it looks fine, but if I use the same code to draw it on a 2.0 emulator it has banding. On Nov 2, 7:19 pm, Christopher ch...@orr.me.uk wrote: Hi all, I've been looking at some issues with the background of our

[android-developers] Re: Android WVGA support

2009-11-02 Thread webmonkey
version of image) Yes, it's very ugly. Any better ideas are very welcome. Artem On Fri, Oct 30, 2009 at 1:36 PM, webmonkey webmonke...@gmail.com wrote: drawable-hdpi-v6 does indeed work in the 2.0 emulator but not in a 1.6 emulator. And because it is not exactly clear what the problem is I

[android-developers] Re: Gradient banding on high DPI devices

2009-11-02 Thread webmonkey
), running on a high density 1.6 emulator as described in my first post. What screen density and resolution are you running on both emulators, or at least the 1.6 one that works fine? Chris On Nov 2, 8:33 pm, webmonkey webmonke...@gmail.com wrote: It seems to be an issue with 2.0 If I draw

[android-developers] Re: Android WVGA support

2009-10-30 Thread webmonkey
there is a subtle reason why this workaround does not work. Can anyone confirm? On Thu, Oct 29, 2009 at 11:22 PM, Artem Petakov p.ar...@gmail.com wrote: Ah, that's too bad. Bugs happen. I am trying to understand the solution... Somehow having a -v5 version in there does not help (as webmonkey

[android-developers] Re: PNG optimization on packaging process

2009-10-29 Thread webmonkey
To do a true comparison of what the PNG is like after 'optimization' take it out of the final APK, it is just a zip archive. The banding artifacts you see are because the device and the emulator are displaying in 16-bit 565 pixel format, they can't display all the colors. Have you tried painting

[android-developers] Re: Android WVGA support

2009-10-29 Thread webmonkey
Hi Dianne, The v flag does indeed not work, I am using the Android 2.0 SDK with the following AndroidManifest settings: uses-sdk android:minSdkVersion=3 android:targetSdkVersion=5 / Running on a WVGA854 emulator with density 240 and API 5, I get the following results: drawable-hdpi-v4

[android-developers] Re: Upgrade issue with WRITE_EXTERNAL_STORAGE permission

2009-10-26 Thread webmonkey
WRITE_EXTERNAL_STORAGE is not working.      The targetSdkVersion and minSdkVersion is indicating 4 for both.      Any idea?      Thanks. As. On Oct 23, 12:06 pm, webmonkey webmonke...@gmail.com wrote: If you have an app that targets 1.6 ( using targetSdkVersion=4 ) and that is still

[android-developers] Upgrade issue with SD card write permission

2009-10-23 Thread webmonkey
If you have an app that targets 1.6 ( using targetSdkVersion=4 ) and that is still backward compatible with 1.5 (using minSdkVersion=3) , and it has the new WRITE_EXTERNAL_STORAGE permission because it writes to the SD card, there is a problem when the OS is upgraded to 1.6. If a user has

[android-developers] Is Bitmap.compress thread safe?

2008-12-04 Thread webmonkey
Because the Bitmap.compress(Bitmap.CompressFormat format, int quality, OutputStream stream) function can sometimes take a long time I am calling it in a separate thread with low priority. During this time I am drawing the same bitmap in the UI thread using Canvas.drawBitmap (Bitmap bitmap, float

[android-developers] Getting the Model Number field

2008-10-31 Thread webmonkey
In Settings About phone there is a field Model Number which now obviously says T-Mobile G1. But to already be device-independent for the future, is there a way in the SDK to get this field. I will not be using it to identify the device but simply to form a string that says I am running Android

[android-developers] Re: Getting the Model Number field

2008-10-31 Thread webmonkey
in the Build class, such as DEVICE).Would be interesting to know which is which, the emulator is a bit 'generic' here. Ludwig 2008/10/31 webmonkey [EMAIL PROTECTED] In Settings About phone there is a field Model Number which now obviously says T-Mobile G1. But to already be device-independent

[android-developers] Re: Manually restarting an Activity

2008-08-27 Thread webmonkey
thing, see the emulator docs for more information on this. What are you trying to accomplish though? Cheers, Justin Android Team @ Google On Aug 27, 11:52 am, webmonkey [EMAIL PROTECTED] wrote: A configuration change as described in: http://code.google.com/android/reference/android

[android-developers] Re: Errors with android httpclient (Thread forbids HTTP requests)

2008-08-27 Thread webmonkey
If you run the call in a separate thread it will work. On Aug 27, 9:51 pm, androidETuser [EMAIL PROTECTED] wrote: I am trying to make HTTP requests thru android APis. But I am getting some error. Did any one saw this error before? Can someone help me out here? Here is the code I am

[android-developers] Re: Manually restarting an Activity

2008-08-27 Thread webmonkey
with FEATURE_OPENGL until you can run it on hardware that could take advantage of it. That said, sorry, there is no way to force a configuration change of your activity when the configuration doesn't actually change. On Aug 27, 12:49 pm, webmonkey [EMAIL PROTECTED] wrote: I want to switch OpenGL

[android-developers] Re: Activity Question

2008-08-27 Thread webmonkey
above arises unless you use the steps described above. On Aug 27, 11:00 pm, hackbod [EMAIL PROTECTED] wrote: On Aug 27, 1:37 pm, Gil [EMAIL PROTECTED] wrote: Justin: Given what webmonkey stated I removed all the launch flags from all the activities in the manifest file. The behavior seems

[android-developers] Re: Creating a Dialog Activity with default OK and Cancel buttons

2008-08-26 Thread webmonkey
visually what they're dealing with. Cheers, Justin Android Team @ Googl On Aug 25, 8:11 am, webmonkey [EMAIL PROTECTED] wrote: Hello Hackbod, I indeed looked at the API demo you refer to, but I want to get the same type of buttons panel at the bottom so that I am consistent

[android-developers] Re: Calling the native Camera app to get a picture

2008-08-26 Thread webmonkey
already stores pictures in the media store on the sdcard. I think this would also solve a lot of problems people are having in the developer forum about getting a picture from the camera. Thanks On Aug 20, 11:34 pm, Megha Joshi [EMAIL PROTECTED] wrote: On Wed, Aug 20, 2008 at 9:40 AM, webmonkey

[android-developers] Re: Creating a Dialog Activity with default OK and Cancel buttons

2008-08-25 Thread webmonkey
for the functionality of AlertDialog in an activity, unfortunately for 1.0 we are not going to have time to implement this. On Aug 22, 9:36 am, webmonkey [EMAIL PROTECTED] wrote: How do I create a dialog activity that looks exactly the same as when you build a dialog with the AlertDialog class, including

[android-developers] Re: alwaysRetainTaskState - Some questions

2008-08-25 Thread webmonkey
I have the same problem but I can solve it temporarily doing a clean restart: using Windows XP that is: 1. Closing Eclipse. 2. Clearing the folder C:\Documents and Settings\username\Local Settings\Application Data\Android 3. Starting Eclipse and running my App. (Clearing using just wipe-data

[android-developers] Re: alwaysRetainTaskState - Some questions

2008-08-25 Thread webmonkey
I got it to work now, but only when I do the following: 1. I run my app in Eclipse using Run Run History myApp. The app opens up with the home activity 2. I hit the Back button. The Android home screen with the app menu is displayed 3. I start my app from the Android app menu. The app opens up

[android-developers] Re: Images Cursor Problem

2008-08-22 Thread webmonkey
-Any idea what is causing this? Does the column name actually exist? No this field does not exist. It is a bug that should be reported. In the mean time you can simply use: Cursor cursor = getContentResolver().query( extras.getData(), null, null, null, null); On Aug 22, 2:06 am, Gil [EMAIL

[android-developers] Re: Creating a Dialog Activity with default OK and Cancel buttons

2008-08-22 Thread webmonkey
this? I hope you understand what I am trying to achieve. Thanks On Aug 22, 7:09 pm, Justin (Google Employee) [EMAIL PROTECTED] wrote: APIDemos App Dialog Cheers, Justin Android Team @ Google On Aug 22, 9:36 am, webmonkey [EMAIL PROTECTED] wrote: How do I create a dialog activity