[android-developers] MediaCodec - MP4 license concerns

2014-04-29 Thread Sheado
Hi Android/Google, If my app uses MediaCodec to encode MP4 videos that our users create would I have to worry about licensing MP4 or is that covered by the device instead? I plan on using WebM wherever possible, but it seems that some devices are missing that encoder. Thanks! -- You

[android-developers] Google Play Game Services - Cloud Save

2013-12-18 Thread Sheado
Hi Android, Would it be considered bad practice to implement Cloud Save as simple backup/restore buttons in our game's menu? To clarify, user would press backup on the device with the data they want. Then press restore on the device they want to update. Quietly updating game content as

[android-developers] startActivity without intent chooser - weird behavior with multiple browsers

2012-10-30 Thread Sheado
hey peoples, On 4.0.3 if I start an activity for an ACTION_VIEW (for an http url) without an intent chooser then I get the following weird behavior in the following order: 1. start browser 2. my activity: onPause() 3. my activity: onResume() 4. my activity: onPause() 5. at this

[android-developers] compass-less devices =/

2012-10-12 Thread Sheado
Hi All, Looks like there are more and more devices out there with no compass. My game uses compass + accelerometer instead of the gravity sensor for control. So now I need to add gravity sensor support when there's no compass... so 2 questions: - Anybody have a list of compass lacking

[android-developers] Tablet system bar menu with targetSdk = 11?

2011-12-15 Thread Sheado
Hi All, Is it possible to enable the system bar menu icon on tablets without setting the targetSDK to less than 11? thanks, Chad -- 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] APK Signature Certificate Check

2011-11-10 Thread Sheado
Hi All, Sorry if this has already been answered, but searching for this is returning piles of LVL-related posts. We recently discovered that our app's apk is being unpacked, modified, then resigned and re-distributed without our approval. What's the proper way of checking for a modified apk

[android-developers] In-app Billing - not working on 1.6 2.1

2011-10-04 Thread Sheado
Hello, In-app billing doesn't seem to be working on 1.6 2.1. I'm testing with the Dungeons sample app and purchasing android.test.purchased. Same issue in my own app. Is billing unstable for those versions? Should I remove billing for 1.6 2.1 devices? Thanks! -Chad -- You received this

[android-developers] BitmapFactory.decodeResource returning null sometimes for local resource

2011-09-29 Thread Sheado
Hello, I'm getting some bug reports showing that BitmapFactory.decodeResource is returning null for local /res/drawable image resources. I can't reproduce the problem. Could this be due to a low memory situation? Usually I get OutOfMemoryException when that happens though. What could cause this

[android-developers] Re: BitmapFactory.decodeResource returning null sometimes for local resource

2011-09-29 Thread Sheado
Hi Joao, Here it is: BitmapFactory.Options opts = new BitmapFactory.Options(); opts.inScaled = false; Bitmap b = BitmapFactory.decodeResource( context.getResources(), R.drawable.testImage, opts ); b.getWidth(); // NPE This always works for me when I test it. Thanks, Chad On Sep 29,

[android-developers] Re: Just received Lodsys letter...

2011-09-01 Thread Sheado
Hi All, We just got our Lodsys notice as well. This is ridiculous and a direct obstacle to innovation in the US. Any other advice on how to handle this? Would it be possible for all of us developers to join together in a class-action lawsuit? -Chad On Aug 28, 9:56 am, Russell DuRoss

[android-developers] Re: ACTION_SEND Image from Memory?

2011-08-02 Thread Sheado
bump =] On Aug 1, 7:29 pm, Sheado chad...@gmail.com wrote: Hi All, Is it possible to create anACTION_SENDIntent and ContentProvider to send a compressed image directly from memory? I want to avoid having to the save the image to the SD card and then sharing it via its URI. Instead I would

[android-developers] ACTION_SEND Image from Memory?

2011-08-01 Thread Sheado
Hi All, Is it possible to create an ACTION_SEND Intent and ContentProvider to send a compressed image directly from memory? I want to avoid having to the save the image to the SD card and then sharing it via its URI. Instead I would like to write a ContentProvider and have the image data be

[android-developers] Replicating the results of the deprecated Sensor.TYPE_ORIENTATION

2011-06-08 Thread Sheado
) Math.toDegrees( values[2] ); } break; case Sensor.TYPE_MAGNETIC_FIELD: geomagnetic = event.values.clone(); break; } } Thanks! -Sheado

[android-developers] Memory Leaks? references help by ApplicationContext and DecorView ok?

2011-05-26 Thread Sheado
Hi All, I've been using Eclipse MAT to find a memory leak in my app. Using the histogram I was able to discover that my Activity had multiple instances if I ran the app twice and then ran the hprof dump. Using that info I fixed one of the context leaks shown by Show GC roots without weak

[android-developers] Ads + Android1.6 = WebView SIGSEGV

2011-04-12 Thread Sheado
would be awesome! thanks, Sheado -- 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 this group, send email to android-developers+unsubscr...@googlegroups.com

[android-developers] Re: Out of memory - despite being way under 16mb

2011-02-25 Thread Sheado
heap.) On Thu, Feb 24, 2011 at 12:42 PM, Sheado chad...@gmail.com wrote: Hello. I tried posting this earlier, but it didn't seem to stick (so sorry if it double posts). My app occasionally runs out of memory when loading bitmaps. I call recycle() on every bitmap I'm done with and even set

[android-developers] Out of memory - despite being way under 16mb

2011-02-24 Thread Sheado
Hello. I tried posting this earlier, but it didn't seem to stick (so sorry if it double posts). My app occasionally runs out of memory when loading bitmaps. I call recycle() on every bitmap I'm done with and even set them to null. As far as diagnostics: * I ran ddms and never saw the heap go

[android-developers] Re: LVL - Yay or Nay?

2010-11-23 Thread Sheado
. These are the people I would like to stop with the LVL. On Nov 23, 5:17 am, Sheado chad...@gmail.com wrote: thanks for the feedback guys, Pent - have you noticed if your sales have increased since adding LVL? I know it's different on a case-by-case basis, but I always like hearing specific

[android-developers] Re: LVL - Yay or Nay?

2010-11-22 Thread Sheado
the old fashioned way. Based on that, perhaps think about giving away the app for three, which serves as a vehicle for in-app payment that points back to you (and only your), and that allows you to control authorization at the point of payment. On Nov 19, 4:09 pm, Sheado chad...@gmail.com wrote

[android-developers] LVL - Yay or Nay?

2010-11-19 Thread Sheado
Hi All, Sorry for starting yet another post on this subject. We're trying to decide on whether to go with LVL or just un-protect our apps altogether (currently using the copy protection feature). So my question: * Are you copy protecting/DRM/LVL licensing your apps? Some of our concerns

[android-developers] Re: LG Ally from Verizon 2.1-update1 has broken apps

2010-10-01 Thread Sheado
Hi Pete, I got about 6 reports from LG Ally users having this same issue with my app since the OTA update. Unfortunately, I have not figured out if there's anything I can do from my end to prevent this from happening in the future. Anybody have any info on this? Thanks! -Chad On Sep 26, 10:50 

[android-developers] Re: SQLiteDatabase.update() super slow

2010-09-11 Thread Sheado
:14 am, Mark Murphy mmur...@commonsware.com wrote: On Fri, Sep 10, 2010 at 10:11 PM, Sheado chad...@gmail.com wrote: The issue: SQLiteDatabase.update(...) takes anywhere from 30ms to 700ms on a simple update (on a Motorola Droid). I'm not sure why there's such a huge range in the timing

[android-developers] SQLiteDatabase.update() super slow

2010-09-10 Thread Sheado
Hi All, There are other posts on this subject, but no real answer anywhere. The issue: SQLiteDatabase.update(...) takes anywhere from 30ms to 700ms on a simple update (on a Motorola Droid). I'm not sure why there's such a huge range in the timing, but despite that it still means that in the best

[android-developers] Camera Issues on Samsung Galaxy S

2010-09-08 Thread Sheado
Hello! I'm stuck on this one: On Samsung Galaxy S - Camera preview starts but call to autofocus or takePicture fails returning 0 in the onError callback. Some things I tried (with no luck) * Not adjusting Camera Parameters - some people reported that this helped them. * compiling at different

[android-developers] Re: Camera Issues on Samsung Galaxy S

2010-09-08 Thread Sheado
the call back in to setErrorCallback() and try ignoring errors when they're id is 0. Somewhat unsatisfying, as I still don't know what's causing the errors - but it'll have to do for now. btw - Rubber Ducking: http://en.wikipedia.org/wiki/Rubber_duck_debugging On Sep 8, 5:07 pm, Sheado chad

[android-developers] onPause - might occasionally be interrupted or not called?

2010-08-30 Thread Sheado
Hi all, I'm getting reports from some of my app's users that on occasion they are loosing data (e.g. no save occurs). I cannot reproduce the issue, but I have a feeling it's because my save operation is taking too long in onPause() resulting in a process kill in lower memory situations. I've

[android-developers] Motorola Droid - white balance issues

2010-04-04 Thread Sheado
Howdy all, I've developed a camera-based app, but am experiencing apparent white balance (over balance?) issues on Motorola Droid. I'm using previews and auto-focus before taking the picture - with takePicture() being called from a thread within onAutoFocus(). If I pass the camera in front of a

[android-developers] Scaling Transparent Graphics in 2.0.1

2009-12-12 Thread Sheado
either. How can I fix this? Any suggestions are greatly appreciated!! Thanks in advance, Sheado -- 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 this group

[android-developers] Re: Scaling Transparent Graphics in 2.0.1

2009-12-12 Thread Sheado
or something like that), the you need to disable dithering on the given image. In my case disabling it on the Drawable was satisfactory: drawable.setDither( false ); Cheers, Sheado On Dec 12, 9:40 pm, Sheado chad...@gmail.com wrote: Help! I have some transparent graphics in my game. Up through

[android-developers] Re: ADC2 rank

2009-12-02 Thread Sheado
to last too.. Also, does anyone know how many apps have entered the adc 2 in total? (if you know for each category it would be perfect) cheers!! On Tue, Dec 1, 2009 at 2:22 AM, Sheado chad...@gmail.com wrote: howdy, Anybody know if the ADC2 top apps gallery (e.g. http

[android-developers] ADC2 rank

2009-11-30 Thread Sheado
howdy, Anybody know if the ADC2 top apps gallery (e.g. http://code.google.com/android/adc/gallery_media.html ) is in order from 1st to last? I want to write a blog post and say what rank my app had in the ADC2. Thanks! Sheado -- You received this message because you are subscribed

[android-developers] Re: Cannot write SharedPreferences after update!! Help!

2009-10-01 Thread Sheado
by installing over the existing app an un-copy-protected update. Chad On Sep 29, 2:47 am, Mark Murphy mmur...@commonsware.com wrote: Sheado wrote: So if I test by installing and upgrading via the browser only instead of the browser/market combination then things work out ok - I don't get

[android-developers] Cannot write SharedPreferences after update!! Help!

2009-09-28 Thread Sheado
Hello, I'm trying to prepare an update to one of my apps and I just realized that the updated version cannot read or write over the previous version's SharedPreferences. Some details: * I'm using the 1.6 SDK and compiling for 1.5.3. * My androidmanifest.xml does not have a sharedUserId (I

[android-developers] Re: Cannot write SharedPreferences after update!! Help!

2009-09-28 Thread Sheado
or care at this layer of abstraction? And one last question! If all upgrades are performed exclusively through the market (with copy protection) will I have to worry about all this uid business? help! thanks! Chad On Sep 28, 9:32 am, Sheado chad...@gmail.com wrote: Hello, I'm trying to prepare

[android-developers] Re: Hmm... at last ADC2 is out of our way ... tell about your app and experience

2009-09-05 Thread Sheado
Howdy. Hopefully it's not too late for this reply (fyi to any google people: my RSS reader (Akregator) stopped reading the feed from this forum). App:Time-Lapse Category: Media Description:Allows you to easily record time-lapse videos directly to .mov files

[android-developers] scalable vector graphics

2009-06-26 Thread Sheado
hola, i think the answer is no.. but want to make sure. Does the current API support scalable vector graphics? If so which file formats? If not, will it be added in the future? I ask because I'd like my animations to based off of SVGs - in order to better support different screen resolutions

[android-developers] Re: testing uses-permission

2009-06-25 Thread Sheado
and disallow all permissions (no installed app = no permissions of course :P). You won't be asked every time you access the camera if you want to allow it like on regular Java mobile phones On Jun 24, 10:08 am, Sheado chad...@gmail.com wrote: howdy, i'm prepping my first app

[android-developers] testing uses-permission

2009-06-24 Thread Sheado
howdy, i'm prepping my first app for publishing and am a bit confused about how to properly test my uses-permission tags.. if i don't specify any permissions my app runs with no complaints on my G1. I tried installing it via adb install as well as with the eoeAppInstaller (as somebody had

[android-developers] Re: shut off shutter sound

2009-06-04 Thread Sheado
not happy with this solution (since it disables all notification sounds!), but it works: ((AudioManager)systemService).setStreamMute ( AudioManager.STREAM_SYSTEM, true/false ); make sure you re-enable this at onPause or you'll piss some people off! =) On Jun 2, 9:31 am, Wayne Wenthin

[android-developers] Re: shut off shutter sound

2009-06-02 Thread Sheado
bump.. i'm stuck on this too. I've registered for every callback (especially ShutterCallback like the docs say).. but no matter what, the phone still makes its own shutter sound =( On Jun 1, 9:49 pm, ivan istas...@gmail.com wrote: The newest SDK automatically plays a shutter noise for the

[android-developers] Re: shut off shutter sound

2009-06-02 Thread Sheado
bump =) still stuck.. i even tried: ((AudioManager)context.getSystemService (Context.AUDIO_SERVICE)).unloadSoundEffects(); but no luck =( On Jun 2, 9:57 am, admin.androidsl...@googlemail.com admin.androidsl...@googlemail.com wrote: Curious about this I tried the free spy camera app on the

[android-developers] Restarting Camera Preview - Garbled for some resolutions

2009-06-01 Thread Sheado
Howdy Peoples, When I set the camera picture size to 176x144 or 352x288 the camera preview gets garbled/discolored after (it's fine at first) onPictureTaken (onPictureTaken calls startPreview after saving the JPEG in order to restart the preview). This does not happen with any other resolution I

[android-developers] Re: Restarting Camera Preview - Garbled for some resolutions

2009-06-01 Thread Sheado
/hardware/Camera.html * Set the size by getting paramaters, changing them, and then setting them back * e.g. camera.getParameters() and camera.setParameters(...) On Jun 1, 10:32 pm, Sujay Krishna Suresh sujay.coold...@gmail.com wrote: hi sheado,               can u post the code that u r

[android-developers] Re: sdcard - remaining space

2009-05-08 Thread Sheado
awesome =) you rock! thanks! On May 7, 11:23 pm, Mark Anacker closecr...@riven.tzo.com wrote: search this forum for android.os.StatFs() On May 7, 10:50 pm, Sheado chad...@gmail.com wrote: hello, sorry if this has already been answered (hard to search for this one).. is there any

[android-developers] sdcard - remaining space

2009-05-07 Thread Sheado
hello, sorry if this has already been answered (hard to search for this one).. is there any way to detect remaining space on the sdcard through the API? I prefer not to make native or shell calls. Thanks! --~--~-~--~~~---~--~~ You received this message because

[android-developers] Re: static getString()??

2009-05-05 Thread Sheado
should've expected that. Any other suggestions? Thanks! On May 4, 10:40 pm, Yogini Pimpalgaonkar yogin...@gmail.com wrote: getResources().getString(R.string.unknown_num) On Tue, May 5, 2009 at 11:06 AM, Sheado chad...@gmail.com wrote: hello, anybody know if there's anyway way I to access

[android-developers] static getString()??

2009-05-04 Thread Sheado
hello, anybody know if there's anyway way I to access the String values of String resources statically? e.g. a static equivalent of Context.getString(...)? thanky in advance! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] JPEG PixelFormat

2009-04-24 Thread Sheado
Hi, Is the JPEG image returned by Camera.takePicture(...) always going to be in the same color space, regardless of the phone Android is on? Thank in Advance! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Direct Video Encoder Access?

2009-04-17 Thread Sheado
Thanks for your response.. one more question, to which I think the answer is no: If I write my own JNI code to access the phone's encoders, would I be able to run it? Or does the Android virtual machine prohibit JNI- supporting native code? For example, I'm thinking to write a shared object

[android-developers] Direct Video Encoder Access?

2009-04-16 Thread Sheado
Howdy, Does anybody know of a way to directly access the Video Encoders provided by the (android.media.MediaRecorder) API? I'd like to make changes to the raw camera data before it gets encoded. Thanks in advance!! --~--~-~--~~~---~--~~ You received this message

[android-developers] Emulator Camera Issues in 1.5

2009-04-15 Thread Sheado
Howdy, sorry if this turns into a crosspost - a previous post i attempted never showed up. I'm developing in Eclipse with dev kit 1.5 on Kubuntu 9.04 (64bit) My camera-based app and the included camera app are behaving strangely - sometimes they simply lock up - regardless of whether they lock