Android : How To Decode Camera Data From PreviewCallback?

May 27, 2009

Does anyone know how to decode the camera data from the PreviewCallback? I need to capture camera preview frames and process the bitmap obtained by decoding the frames before displaying.

Android : How to decode camera data from PreviewCallback?


Android :: Decode Video Raw Data On Droid?

Sep 16, 2010

I would like to build a live streaming and viewer.
The streaming is H264/MEPG4 raw data.
How to decode these raw data on Android?
I can not find usable API in Android SDK to do it.

View 2 Replies View Related

Android :: BitmapFactory.decode And Exit Data In Images

Oct 19, 2010

I'm downsampling an image via BitmapFactory.decode then base64 encoding the bytes to ship to the server. (long story on the latter part of that formula) It seems this process nukes all Exif data in the image data. Am I approaching this the wrong way or is this a fact of life?

View 2 Replies View Related

Android :: Way To Decode Video Raw Data / Use Ffmpeg In Droid?

Sep 15, 2010

Is there any good way to decode video raw data such as H264 and MPEG4? I try to develop a live viewer which receives video frame from Internet. So, I need a decoder to decode these raw data. Porting ffmpeg library seems a good idea, but there are only few information about this. There are two questions: 1. How to porting ffmpeg to android? 2. How to use ffmpeg in android(Hello world example)? Any suggestion is welcome.

View 6 Replies View Related

Android :: Decode MP3 Audio Data To PCM Audio Format In Android

Dec 9, 2009

I am streaming an MP3 audio and instead making this MP3 audio to play, I want it to be converted to PCM format and pass this PCM audio to AudioTrack(as it takes PCM data as input.) instead of passing my MP3 stream to MediaPlayer. Can anyone please help me to convert the MP3 to PCM stream?

View 3 Replies View Related

How To Decode A File And Get Its Content To Android App

Jul 18, 2013

I'm working on an Android app, that connects to a .crl file on the Internet and gets some data from it. I need to be able to decode this file (like the ASN.1 JavaScript decoder) and then use the decoded data.

how can I access the decoded data from my Android app? Is there some way to reference the decoded text online?

View 2 Replies View Related

Android :: Decoder - Decode Returned False

Mar 29, 2010

In my application during downloading of images, for some of the images i got the error like

D/skia (374): --- decoder->decode returned false

View 2 Replies View Related

Android :: Decode Large Resolution Images?

May 5, 2009

I want to decode high resolution pics something like 8 mega pixel images and view it. when I try to decode them I get out of memory exception. Decoding of single 8 mega pixel also fails . From the Imagamanager code and other post I could use BitmapFactory.Options inJustDecodeBounds I could get a scaled down version of the Image . code...

Is there any way to decode part of the Image and fill it on the screen and by scrolling decode other region of the image and display it.

View 3 Replies View Related

Android :: Decode Html Entities In Droid?

May 27, 2010

I need to decode HTML entities, e.g. from ¶ to ¶, and & to &.

URLEncoder.decode(str) does not do the job (convert from % notations). TextUtils has a HTMLencode, but not a HTMLdecode.

Are there any function for decoding HTML entities?

View 1 Replies View Related

Android :: BitmapFactory: Decoder - Decode Returned False

Oct 27, 2009

For my current application I collect images from different "event providers" in Spain.

However, when downloading images from salir.com I get the following logcat output: 13970 Gallery_Activity

I Fetching image 2/8 URL: http://media.salir.com/_images_/verticales/a/0/1/0/2540-los_inmortale... 13970 ServiceHttpRequest

I Image [url] fetched in [146ms] 13970 skia D --- decoder->decode returned false

Searching for that error message didn't provide much useful results.

View 4 Replies View Related

Android :: Cannot Decode Images From Sd Card Using BitmapFactory.Options

Jun 19, 2009

I am tring to get a image from the images stored on the sdcard of my Android but i am getting a skia error using BitmapFactory When I just take the image directly without using BitmapFactory class I get the image. But the purpose of using BitmapFactory is scaling down the image size by using inSample =4;

but I get skia as the error..................

View 3 Replies View Related

Android :: Want To Decode Image Bitmap Retrieved From Picture App

Jan 24, 2009

Will anybody guide me, I want to decode image bitmap picked from Picture application(on a android phone), so How should I achieve this. First thing is how to retrieve image from Picture application, after picking it, if I assign it to temp image variable, is there any method in Bitmap.Factory to decode this image into bitmap.

View 2 Replies View Related

Android : How To Decode Html Returned As Json Response?

Sep 23, 2010

I am getting following encoded html as a json response and has no idea how to decode it to normal html string, which is an achor tag by the way.

View 2 Replies View Related

Android : Get Bitmap Infomation Before Decode An Image File?

Jun 4, 2009

I want to know an image's width before decode it, so that I can set Options.inSampleSize if the image is too large. Any advice to do that?

View 3 Replies View Related

Android :: Skia Decoder Fails To Decode Remote Stream / What To Do?

May 7, 2010

I am trying to open a remote Stream of a JPEG image and convert it into a Bitmap object code...
The decoder returns null and in the logs I get the following message:

DEBUG/skia(xxxx): --- decoder->decode returned false

Note:
1. the content length is non-zero and content type is image/jpeg
2. When I open the URL in browser I can see the image.

What is that I am missing here?

View 1 Replies View Related

Android :: Way To Get Image Data From Camera?

Apr 10, 2009

I am working on image processing in mobile. When Camera,takePicture(null,null,pictureCallback) called I am getting (640*480) JPEG image data, its taking 1 second delay.When I try to get raw data it returns null value.I am interested only on delay.

View 2 Replies View Related

Android : Way To Handle Camera Preview Data Without A SurfaceView?

Mar 25, 2009

I want to receive the data from the preview of the Camera, but without having to set a SurfaceView with a SurfaceHolder in the view of my application. I want to do something like this: Camera cam = Camera.open(); cam.setPreviewCallback(new MyPreviewCallback()); cam.startPreview(); This will not work because I need to call setPreviewDisplay (SurfaceHoler) before I start the preview. I can get a SurfaceHolder from a SurfaceView, but I don't want a SurfaceView, because I don't need one. I just want to handle the preview data by myself.

View 2 Replies View Related

Android : Pass Camera Data To Native Layer?

Nov 3, 2009

In my application i want to pass the camera data to native layer. what is the best possible approach for doing the same.

I know it can be done 2 ways.

1.start the camera in application and pass the preview data to native layer. But i feel this may consume lot of resources.

2.Start the camera directly in native layer and use it. So JNI will come less into picture. and not much resource loading also.But dont want to take any risk by using the lower layer code which may change in future.

Is there any other approach ? start the camera and tap the data in native layer. I think this wont be proper approach, Can any one suggest ?

View 3 Replies View Related

General :: Audio Codec - Decode / Decrypt FLAC Correctly?

Nov 6, 2011

I have a couple of videos, that I would like to strip the audio from, and was planning to use FLAC, and/or similar lossless codec; but before I do this, what codecs can Andriod decrypt? According to Android Central, it can decode FLAC, but only in Android 4.0 and higher, and I'm currently on Android 2.3.4 on a HTC Amaze 4G...

Is there any software I could get, in order for it to decode/decrypt FLAC correctly?

I don't mind using any other lossless audio codec, as long as Android 2.3.4 supports it...

View 5 Replies View Related

HTC Hero :: Camera Not Working - Message The Application Camera Process Com.android.camera Has Stopped Unexpectedly Please Try Again

Dec 6, 2009

My camera stopped working. When I click my camera application I get the message "The application camera (process com.android.camera) has stopped unexpectedly. Please try again". It's just a blank screen?

View 3 Replies View Related

BitmapFactory - (decode Returned False) For Internal Image Files Extracted From Zip

Apr 19, 2012

Need to display images downloaded and extracted from a zip into the "/files" directory of the app. the images are getting in there properly as far as i can tell - i am able to extract them from the emulator and view/open them from my desktop. but every attempt, every variation of code i have found and tried so far has failed (Tag: skia / Text: --- decoder->decode returned false).

My latest construct, which does work for image files downloaded separately and uncompressed :

Code:

String imgFile = new File(getFilesDir(), "myImage.jpg").getAbsolutePath();
ImageView myImageView = new ImageView(this);
Bitmap bm = null;
try{
bm = BitmapFactory.decodeFile(imgFile);
myImageView.setImageBitmap(bm);
} finally{
mainLayout.addView(myImageView);
}

And here is the construct i am using to handle the zip extraction. I assume this is where the problem lies but i am clueless as to what i could possibly do differently and to what effect:

Code:
ZipInputStream zis = new ZipInputStream(fis);
BufferedInputStream in = new BufferedInputStream(zis, 8192);
ZipEntry ze;
while ((ze = zis.getNextEntry()) != null){
File dest_file = new File(getFilesDir(), ze.getName());

[code]....

View 2 Replies View Related

Motorola Droid :: Duplicate Camera Application With Different Data Size

Feb 26, 2010

I was scrolling through the Settings for my Droid, and I noticed that under Manage Applications (after changing the filter options to ALL) that Camera was listed twice. Same icon and version (6) but different data size (124 KB and 192KB). Is this normal? I was thinking it might just be for video and photos to separate the two, but I was hoping to get experts opinions.

View 5 Replies View Related

Android :: Save Data From Camera To Disk Using MediaStore On Android?

Mar 16, 2009

I'd been using my own Camera class for taking images and my own database but soon enough I couldn't really keep up with changes and I decided to use the built in camera application in Android to do the job, but I can't seem to get it to save file. What am I missing here? The application seems to save the file but it's just 0 bytes. I looked up the source code of the Camera application and it's looking for the "output" in Extras to save the file.

Public class CameraTest extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);...............

View 5 Replies View Related

Android :: YUV Decode Function Error Or Hardware Error?

Oct 27, 2010

I get the YUV to RGB function 1&2 (from stack overflow)but the result is wrong like this http://163.18.62.32 /device.jpg I dont understand what's wrong in the step my device is Moto Milestone with 2.1 update 1 function 1 public int[] decodeYUV420SP( byte[] yuv420sp, int width, int height) function 2 int[] rgbBuf = new int[height width];decodeYUV(rgbBuf,_height ,.width);than convert to Bitmap and show on Bitmap bm = Bitmap.createBitmap (rgbBuf,width, height) ;View01.setImageBitmap(bm);

View 1 Replies View Related

General :: Lost Password Of Galaxy Camera EK-GC100 / How To Unlock Without Lose All Data

Apr 13, 2014

I have a galaxy samsung camera ek-gc100, i lost the password.

How can i unlock it without losing the data?

View 1 Replies View Related

Android :: Best Way To Store Application Data / When Data Stored / Data Format Could Change In Future Versions?

Mar 4, 2010

I'm making an Android Java app game (although this question applies to all languages really) and hope to release the first version soon. I'm nervous about how I save data in my game. My problem is that, if in a later update, I decide to store more data or store the same data in a different way, I need to be careful I don't lose or corrupt data for users that upgrade (i.e. I want users to be able to use data created by an old version in the new version, like their high scores from before).For example, say I want to save high scores in version 1.

View 3 Replies View Related

Android :: Need A Camera App That Makes Magic Camera Not Suck?

Nov 15, 2009

Whats a camera app that will actually work and not take 30 seconds to take the picture after clicking to take it?

View 2 Replies View Related

Android :: How Can Camera API Support To Two Camera Device?

Feb 1, 2010

The android camera API is bound to one camera device, but in some situation we have lots of camera device in a netbook or handset. We can't use the same application with different camera device dynamically. For example, we can select the camera device in the VLC (Video LAN Client) on windows because there is direct show on it, but we can't do that on android by camera API without changing the framework. Guys, is there any mistake at my understand? Is there any plan to modify framework to support this situation ?

View 3 Replies View Related

Samsung Fascinate :: Front Facing Camera / Camera Flash?

Aug 4, 2010

If you could only choose one of these, which would you have chosen for the Fascinate? (Obviously it would be best to have both).

View 8 Replies View Related

Motorola Droid X :: Why Camera Button Is Tiggering Volume And Not Camera?

Aug 19, 2010

I cant figure out why my camera button is tiggering the volume and not the camera. Every time I press it to use my camera it keeps lowering my ringer volume and when im in the camera mode(from app) it wont snap any pics, it just takes me back to my main page and lower the volume. Can anyone help me out?

View 8 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved