[android-developers] Re: ICS Hardware Acceleration crash

2011-12-06 Thread webmonkey
developers so they could easily test their application with hardware > acceleration turned on. > > You can easily check whether your app is hardware accelerated on startup > and warn the user it's not supported. > > > > > > > > > > On Mon, Dec 5, 2011

[android-developers] Re: ICS Hardware Acceleration crash

2011-12-05 Thread webmonkey
5, 2011 at 9:21 AM, Mark Murphy wrote: > > On Mon, Dec 5, 2011 at 12:04 PM, webmonkey 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 try

[android-developers] Re: ICS Hardware Acceleration crash

2011-12-05 Thread webmonkey
the “Force GPU 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 wrote: > On Mon, Dec 5, 2011 at 12:04 PM, webmonkey wrote: > > I see now that there are some w

[android-developers] Re: ICS Hardware Acceleration crash

2011-12-05 Thread webmonkey
an 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 wrote: > They've probably checked the "Force GPU" setting in Developers Settings. > > > > > > > > > > On Mon

[android-developers] ICS Hardware Acceleration crash

2011-12-05 Thread webmonkey
In my AndroidManifest.xml I have: 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 crash report from Galaxy Nexus users with ICS: java.lang.UnsupportedO

[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 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 the app in landscape (72

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

2011-08-18 Thread webmonkey
in all cases. On Aug 8, 5:55 pm, webmonkey 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 anything. T

[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 fr

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

2011-06-09 Thread webmonkey
balance here 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 wrote: > On Wed, Jun 8, 2011 at 3:17 PM, webmonkey wrote: > >

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

2011-06-08 Thread webmonkey
x27;s choice to do this (just like he would play a high performance game) On Jun 8, 11:56 pm, Dianne Hackborn wrote: > On Wed, Jun 8, 2011 at 1:15 PM, webmonkey wrote: > > How does the native heap actually tell you, will malloc return NULL if > > it cannot reserve enough space? >

[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 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 background apps. > > I figu

[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
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: 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 wrote: > This is happening to frequently and there doesn't seem to

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

2011-05-20 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 wrote: > Yes, same for me -- I even had the user blow away the cached Market > data and still, he says he can see his

[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.graphics.Canvas.dra

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

2011-03-22 Thread webmonkey
12:55 PM, webmonkey 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: 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 wrote: > It is true you may not distribute an app through Android Market whose > primary purpose is distributing apps. > > I suspect we will see t

[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: 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 wrote: > On Mar 3, 1:29 pm, webmonkey wrote: > > &

[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 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: 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 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 am, Dianne Hackb

[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 m

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

2011-02-28 Thread webmonkey
> > > > On Mon, Feb 28, 2011 at 12:02 AM, webmonkey 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 >

[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 wrote: > You must run them on a device, they won't work on the

[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 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 in B

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

2011-01-31 Thread webmonkey
This would be the easiest solution :-) On Jan 25, 10:57 pm, webmonkey 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 J

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

2011-01-26 Thread webmonkey
this. > > On Wed, Jan 26, 2011 at 2:26 PM, webmonkey 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 o

[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 "Andro

[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 wrote: > But that seems to be the only way to tell the system that

[android-developers] Re: Bitmaps with XRGB_8888 ?

2011-01-24 Thread webmonkey
: > 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, we

[android-developers] Re: Bitmaps with XRGB_8888 ?

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

[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: 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 wrote: > No SD card means it is not a compatible device, so can't have Market for > just this reason. > > > > > > On Wed, Jan 19, 2011 a

[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] 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 wrote: > It is an unfortunate decision that they are now using the promo image > for the details page.

[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: 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 wrote: > By the way, the 15 mins is the standard Google

[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 n

[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=en&answer=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 n

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

2010-12-06 Thread webmonkey
nts 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 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 pay

[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 wrote: > As if it isn't bad enough, if this is only affecting non-US > publishers, what

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

2010-12-05 Thread webmonkey
that Google have released yet more untested code > > into the Android Market? > > > On Dec 4, 6:32 pm, webmonkey 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 &g

[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=03351bf9107148ea&hl=en As a non-US p

[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-developer

[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 wrote: > > 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 d

[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 safet

[android-developers] Re: Licensing on multiple devices

2010-11-25 Thread webmonkey
http://market.android.com/support/bin/answer.py?hl=en&answer=113410 On Nov 25, 7:01 pm, jb 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, > > jb --

[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 wrote: > On Tue, Nov 16, 2010 at 3:47 AM, meconin wrote: > > I need to directly read/w

[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: http://deve

[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 wrote: > On Nov 18, 6:27 am, Zsolt Vasvari wrote: > > > I just upscaled my normal icon alpha channel and all and had no > > problem uploading

[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, s

[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 "A

[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 paint

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

2010-10-07 Thread webmonkey
; > access is, and there's potential for a 100:1 variation there.) > > > In any event, the amount of time 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 sin

[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 t

[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 Uni

[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 wrote: > Hi, > > I just released my fir

[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 i

[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 wrote: > Yes, you could. But don't spam the users be careful :-) > > On Sep 25, 6:30 am, sblantipodi wrote: > > > > > Excellent, so am I authorized to send email to tha

[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 Fr

[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 wrote: > My guess is that both External and Internal are mounted and unmoun

[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 wrote: > Exactly.

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

2010-04-27 Thread webmonkey
ready see the emails 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 wrote: > webmonkey wrote: > > Does anyone gave any update on this iss

[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 wrote: > "Maybe not when you connect your phone to a PC an

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

2010-04-20 Thread webmonkey
ED ?" > Maybe not when you connect your phone to a PC and select 'Mount', for > example... > > On Apr 19, 2:44 pm, webmonkey wrote: > > > > > According to this post: > > >http://groups.google.com/group/android-developers/msg/7b8a78c9d32309ab > > &

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

2010-04-19 Thread webmonkey
StorageState() state function, does it always return MEDIA_MOUNTED ? On Apr 19, 7:54 pm, Mark Murphy wrote: > webmonkey wrote: > > Here is a screenshot of the "SD card & phone storage" screen from > > phandroid.com > > >http://phandroid.com/wp-content/uploads/2

[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 wrote: > String wrote: > > On Apr 19, 4:38 pm, webmonkey wrote: > &g

[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 have

[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 wrote: > For your storePict

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

2010-03-15 Thread webmonkey
> There is an inconsistency in their Uri handling... The app accepts > > > > only content:// Uris but provides the result as a file:// Uri... so it > > > > can't edit it's own result again without us having to work this > > > > around... &

[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 code

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

2009-11-02 Thread webmonkey
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 wrote: > > > It seems to be an issue with 2.0 &

[android-developers] Re: Android WVGA support

2009-11-02 Thread webmonkey
/> > > > Folder drawable-240dpi-v6: > > Same "example_image.xml" with the following inside: > > http://schemas.android.com/apk/res/android"; > > android:src="@drawable/example_image_hdpi" > > /> > > > Folder drawable-nodpi

[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 wrote: > Hi all, > > I've been looking at some issues with the background of our > application, p

[android-developers] Re: Android WVGA support

2009-11-02 Thread webmonkey
awable/example_image_hdpi" > /> > > Folder drawable-nodpi: > example_image_hdpi.png (the hdpi 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 wrote: > > > draw

[android-developers] Re: Android WVGA support

2009-10-30 Thread webmonkey
here is a subtle reason why this workaround does > > not work. Can anyone confirm? > > > On Thu, Oct 29, 2009 at 11:22 PM, Artem Petakov wrote: > > >> Ah, that's too bad. Bugs happen. > > >> I am trying to understand the solution... Somehow having a -v5 versi

[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: Running on a WVGA854 emulator with density 240 and API 5, I get the following results: drawable-hdpi-v4 is ignored drawable-hdpi-v5 is ignored, very strange drawable-hdp

[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: Upgrade issue with WRITE_EXTERNAL_STORAGE permission

2009-10-26 Thread webmonkey
TE_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 wrote: > > > > > If you have an app that targets 1.6 ( using targetSdkV

[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

[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 l

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

2008-10-31 Thread webmonkey
d.MODEL (or one of the other strings 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

[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 Androi

[android-developers] Re: Activity Question

2008-08-27 Thread webmonkey
pp the problem 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 a

[android-developers] Re: Manually restarting an Activity

2008-08-27 Thread webmonkey
t > on doing anything at all 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

[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
cause the emulator to change orientation > and do the same 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 <[EMAI

[android-developers] Re: Manually restarting an Activity

2008-08-27 Thread webmonkey
A configuration change as described in: http://code.google.com/android/reference/android/app/Activity.html#ConfigurationChanges "Unless you specify otherwise, a configuration change (such as a change in screen orientation, language, input devices, etc) will cause your current activity to be dest

[android-developers] Manually restarting an Activity

2008-08-27 Thread webmonkey
Is there a way for an Activity to restart itself, so that you go trough a similar cycle that you get when there is a configuration change? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" g

[android-developers] Re: Activity Question

2008-08-27 Thread webmonkey
Hi Gil, You probably have the exactly same issue that is discussed in: http://groups.google.com/group/android-developers/browse_thread/thread/112f3eb6b9b47d29# Like Justin said, there is no need to use singleTask, singleTop or any other special flags. It has something to do with the way Eclipse

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

2008-08-26 Thread webmonkey
t; On Wed, Aug 20, 2008 at 9:40 AM, webmonkey <[EMAIL PROTECTED]> wrote: > > > First, a separate question about the Camera app. When I open it it > > tells me "Press Capture button to take picture". Where is the capture > > button on the emulator or how do I simulate

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

2008-08-26 Thread webmonkey
ould, > therefore, have different styles so users can immediately know > visually what they're dealing with. > > Cheers, > Justin > Android Team @ Googl > > On Aug 25, 8:11 am, webmonkey <[EMAIL PROTECTED]> wrote: > > > > > Hello Hackbod, > > > I i

[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 u

[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: Creating a Dialog Activity with default OK and Cancel buttons

2008-08-25 Thread webmonkey
t; > If you are specifically looking 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 dia

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

2008-08-22 Thread webmonkey
do 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 <[E

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

2008-08-22 Thread webmonkey
How do I create a dialog activity that looks exactly the same as when you build a dialog with the AlertDialog class, including the buttons panel at the bottom. Basically, I want the same sort of activity that you get when you add a Bookmark in the Browser app. I checked the APIDemos > Activity >

[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

  1   2   >