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

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

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

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

[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@goo

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

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

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

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

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

2011-08-02 Thread Sheado
bump =] On Aug 1, 7:29 pm, Sheado 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. In

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

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

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

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

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

2011-04-12 Thread Sheado
2009 18:30:42 any ideas 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 e

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

2011-02-25 Thread Sheado
ta is now allocated directly on the > Dalvik heap.) > > > > On Thu, Feb 24, 2011 at 12:42 PM, Sheado 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 loa

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

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

2010-11-23 Thread Sheado
hase, but was considering buying it if I add feature X.  OK, > right. > > These are the people I would like to stop with the LVL. > > On Nov 23, 5:17 am, Sheado wrote: > > > thanks for the feedback guys, > > > Pent - have you noticed if your sales have increased s

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

2010-11-22 Thread Sheado
convenient solution in Android Market to buy and sell apps 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 poi

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

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

2010-09-30 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
ep 11, 4:14 am, Mark Murphy wrote: > On Fri, Sep 10, 2010 at 10:11 PM, Sheado 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 i

[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] 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:

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

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

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

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

2009-12-12 Thread Sheado
m 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 wrote: > Help! > > I have some transparent graphics in my game. Up throu

[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

[android-developers] Re: ADC2 rank

2009-12-02 Thread Sheado
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 wrote: > > > howdy, > > > > Anybody know

[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 to the

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

2009-10-01 Thread Sheado
te by installing over the existing app an un-copy-protected update. Chad On Sep 29, 2:47 am, Mark Murphy 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 > &g

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

2009-09-28 Thread Sheado
supposed to know 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 wrote: > Hello, > > I'm

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

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

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

[android-developers] Re: testing uses-permission

2009-06-25 Thread Sheado
sions" or "Don't install the application 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 2

[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 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 recommended). Also,

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

[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" wrote: > Curious about this I tried the free spy camera app on the market. I > have Cupcake and it

[android-developers] Re: shut off shutter sound

2009-06-01 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 wrote: > The newest SDK automatically plays a shutter noise for the camera, > which inter

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

2009-06-01 Thread Sheado
droid/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 wrote: > hi sheado, >               can u post the code that u r using?? as

[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

[android-developers] Re: sdcard - remaining space

2009-05-07 Thread Sheado
awesome =) you rock! thanks! On May 7, 11:23 pm, Mark Anacker wrote: > search this forum for android.os.StatFs() > > On May 7, 10:50 pm, Sheado wrote: > > > hello, > > > sorry if this has already been answered (hard to search for this > > one).. > > is

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

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

2009-05-04 Thread Sheado
. but I guess I should've expected that. Any other suggestions? Thanks! On May 4, 10:40 pm, Yogini Pimpalgaonkar wrote: > getResources().getString(R.string.unknown_num) > > On Tue, May 5, 2009 at 11:06 AM, Sheado wrote: > > > hello, > > > anybody know if there's an

[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-23 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
this would be impractical to do in Java. > > On Apr 15, 11:16 pm,Sheado wrote: > > > 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

[android-developers] Direct Video Encoder Access?

2009-04-15 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 u

[android-developers] Re: Change to signature for Camera.setPreviewDisplay() in 1.5

2009-04-15 Thread Sheado
I'm having a similar issue with 1.5.. setPreviewDisplay(...) works once. If I try to re-run the app then I get the same exception or it simply stalls with no error messages. When it does manage to run I get a bunch of errors (see below)... Actually, I've noticed this is the case with the camera.