[android-developers] Re: Camera Access through WebView

2011-02-16 Thread Joe McCann
Camera INTENT is available thru the WebView with Phonegap. However, if you want a *custom* Camera (SurfaceView) you'll need to write it natively. You could probably attempt to build the bridge to the WebView with your custom Camera but is certainly a non-trivial exercise. On Feb 16, 2:50 am,

[android-developers] Re: Camera preview Api

2011-02-15 Thread Joe McCann
I recommend using getExternalStorageDirectory() http://developer.android.com/reference/android/os/Environment.html#getExternalStorageDirectory() On Feb 15, 3:10 am, Jayanthi jaia...@gmail.com wrote: Hi,    I am trying to save images in sd card which is taken from camera in emulator, the

[android-developers] Re: Programmatically Update Flash Setting (or any Camera.Parameters)

2011-02-11 Thread Joe McCann
); _poladroidCamera.surfaceChanged(null, 0, 0,0); // this is the magic sauce } Let me know if you have any questions. On Feb 10, 3:00 pm, Joe McCann joseph.is...@gmail.com wrote: Kevin, You are spot on and I'm yet to find the right/most efficient solution.  I really don't want to have

[android-developers] [Camera API] Programmatically Update Flash Setting (or any Camera.Parameters)

2011-02-10 Thread Joe McCann
I'm trying to avoid having to rewrite the Android source for the native camera app (as it is a cluster***k of code), but am curious as to the proper, most efficient away of being able to update the Camera Parameters AFTER the SurfaceView of the Camera has been created and opened. For example, if

[android-developers] Re: Programmatically Update Flash Setting (or any Camera.Parameters)

2011-02-10 Thread Joe McCann
, Camera.setParameters() should do what you need. Hope this helps. Stephen Lebed Developer http://apps.mechnology.com On Feb 10, 9:28 am, Joe McCann joseph.is...@gmail.com wrote: I'm trying to avoid having to rewrite the Android source for the native camera app (as it is a cluster***k

[android-developers] Re: Camerapreview

2011-02-08 Thread Joe McCann
Seriously, did you google it? There are loads of examples. On Feb 8, 3:12 am, Jayanthi jaia...@gmail.com wrote: Hi,     I am new to android I want to send mail with image attached to it I need solution for two question 1.How to get the path of image saved in sd card using camera preview

[android-developers] Re: data upload java script

2011-02-02 Thread Joe McCann
JavaScript does not handle uploading; you'll need to have some code written on the server to handle a POST request with the data you are posting. Inside a WebView, you can use the XHR object to make your call to your server asynchronously, but JavaScript itself can't actually do the uploading of

[android-developers] Re: Force Close Does Not Release Camera Resource

2011-01-26 Thread Joe McCann
an exception occurs in your app. On Jan 25, 10:41 pm, Joe McCann joseph.is...@gmail.com wrote: So while developing a custom camera application I've realized on rare occasions and on various devices if the app has to force close, it does not always release the camera resource. Is there a way

[android-developers] [Camera API] Force Close Does Not Release Camera Resource

2011-01-25 Thread Joe McCann
So while developing a custom camera application I've realized on rare occasions and on various devices if the app has to force close, it does not always release the camera resource. Is there a way to find/detect the process that is holding onto this resource and kill it? Or some other technique?

[android-developers] Re: Camera properties

2011-01-16 Thread Joe McCann
Fairly certain you'll have to include the permissions declaration. The other parts would require some hackery, I suppose. On Jan 15, 4:15 am, b_t bartata...@gmail.com wrote: Hi, is there any way to get camera properties without open it? I want to display camera properties but don't want to

[android-developers] Re: webview inside the dialogbox.

2011-01-14 Thread Joe McCann
It's a bug. You'll need to create an Activity that uses the Dialog theme and re-create the dialog including buttons, etc. while also containing the Webview. activity android:name=.TwitterForm

[android-developers] [BUG] Easily Reproducable Bug in Regards to Bitmaps, Memory, and Recycling [sample project included]

2011-01-07 Thread Joe McCann
In a nutshell, I have/am trying to create reusable UI components in XML. I created a dead simple project that only fires an activity to show the UI. It can be downloaded here: http://dl.dropbox.com/u/409429/Bitmap%20Bg%20Test.zip I have a base_form.xml component that is referenced

[android-developers] Re: [BUG] Easily Reproducable Bug in Regards to Bitmaps, Memory, and Recycling [sample project included]

2011-01-07 Thread Joe McCann
bitmap management and calling recycle yourself in BaseForm I would suspect a bug in your code. On Fri, Jan 7, 2011 at 9:44 AM, Mark Murphy mmur...@commonsware.com wrote: On Fri, Jan 7, 2011 at 12:36 PM, Joe McCann joseph.is...@gmail.com wrote: Also, it appears this is a bug

[android-developers] Re: [BUG] Easily Reproducable Bug in Regards to Bitmaps, Memory, and Recycling [sample project included]

2011-01-07 Thread Joe McCann
If you comment out the cleanupDrawables() method, you'll get the exception mentioned in the bug. I'm assuming you simply responded instead of looking/trying that out? On Jan 7, 11:44 am, Mark Murphy mmur...@commonsware.com wrote: On Fri, Jan 7, 2011 at 12:36 PM, Joe McCann joseph.is

[android-developers] Re: [BUG] Easily Reproducable Bug in Regards to Bitmaps, Memory, and Recycling [sample project included]

2011-01-07 Thread Joe McCann
on 2.2 emulators and devices??? Cheers. joe On Jan 7, 12:14 pm, Mark Murphy mmur...@commonsware.com wrote: On Fri, Jan 7, 2011 at 12:36 PM, Joe McCann joseph.is...@gmail.com wrote: In a nutshell, I have/am trying to create reusable UI components in XML.  I created a dead simple project that only

[android-developers] Re: [BUG] Easily Reproducable Bug in Regards to Bitmaps, Memory, and Recycling [sample project included]

2011-01-07 Thread Joe McCann
recycle() is called twice on the same bitmap. Considering you are doing your own bitmap management and calling recycle yourself in BaseForm I would suspect a bug in your code. On Fri, Jan 7, 2011 at 9:44 AM, Mark Murphy mmur...@commonsware.com wrote: On Fri, Jan 7, 2011 at 12:36 PM, Joe

[android-developers] Re: What is a 512 by 512 App icon high resolution

2010-11-28 Thread Joe McCann
Pretty sure it is for Google TV apps. 512 x 512 is pretty standard for scaling png files for icons on hi-res displays. --joe http://subprint.com On Nov 27, 4:51 am, ses stew...@ssims.co.uk wrote: On Nov 27, 9:56 am, TreKing treking...@gmail.com wrote: The people that know the answer to

[android-developers] [Image] jMagick on Android

2010-11-28 Thread Joe McCann
Anyone been able to get this to run/build? I'm trying to apply a Polaroid effect to an image and the jMagick seems to have that option. Thanks in advance. -- 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: Voice recognition and voice decoding

2010-01-12 Thread Joe McCann
Speech-to-text is processed in the cloud and the resulting data is returned. On Jan 11, 5:36 am, tina lincon tina.theresalin...@wipro.com wrote: How is it possible to implement voice recognition on android phones? Also to decode the voice and convert the male voice to female voice and vice