Android :: Access Frame Buffer Directly In Droid?

Jul 14, 2009

In Linux, we can get the framebuffer directly by "open("/dev/fb0", O_RDWR);"

Is there any way I can call the similar function via JNI in Android or how can I access the frame buffer directly in Android?

Android :: Access frame buffer directly in droid?


Android :: Read The Current Frame Buffer?

Nov 16, 2010

Is there a method to read the frame buffer of the current screen? I searched some data about the frame buffer. Some one used the glReadPixels method, but the information was not enough. Does anyone know how to read the current frame buffer in detail?

View 4 Replies View Related

Android :: How To Read The Current Frame Buffer

Nov 16, 2010

Is there a method to read the frame buffer of the current screen? I searched some data about the frame buffer. Some one used the glReadPixels method, but the information was not enough. Does anyone know how to read the current frame buffer in detail?

View 1 Replies View Related

Android :: How To Record Audio From Mic In Raw Pcm Format Into A Buffer Using Native Libraries Directly

Oct 9, 2009

My application cannot handle the JNIE overhead, as I need to make 2 JNIE calls to the native C/C++ code for every 20msec. So I am trying to use the native media libraries and the realted C/C++ files provided by Android in the folder "//external/srec/audio/test" of the donut build. Ex. AudioHardwareRecord, AudioInRecord etc.. I am implementing all the calls in the native layer.

I am using the sampling rate as 8000 and want to read 160 samples (320 bytes) at a time.

I used the following values to create the AudioRecord..

CODE:..........

It says "success" after creating this interface but I am getting the error "Bad Value" if I am doing the InitCheck.

And it is crashing once I start reading the samples or if I try to retrieve the configured sampling rate.

Has anybody tried to access this native code?

View 4 Replies View Related

HTC Droid Eris :: Cannot Access Gmail Directly Through Application

Jan 31, 2010

Had my phone two days and I've already managed to screw it up. Gmail through the browser works fine. Notifications of new mail work fine; I can pull down the notifications bar up top, click on the mail note, and read/mark everything fine from there. But I'm screwed once I exit that. See, I can't just access gmail directly through the app. If I click on it, I get a black screen saying "your mail will appear shortly" and a note in the bar up top saying "waiting for sync". Just cleared Gmail data.

View 4 Replies View Related

Android : Access To Native Screen Buffer From Java

Jul 29, 2010

Is it possible, from within my android java app, to capture an image of what is on the screen, even if it was written using native (ndk)? I do not wish to take screen shots of other apps, just my own. I can already capture and image of a canvas that I am aware of, but is there a view or canvas or something like it that always represents what is on the screen, so that a) I don't have to capture the separate views images and recompile them, and b) I can see what my native (jni) code is doing with the graphics too?

View 1 Replies View Related

Android : Command To Access Directly A Key Into An App?

Sep 2, 2009

Is there a command that i can access directly a key into an application? I don't wanna capture when user press the key, i wanna access it without press.

View 3 Replies View Related

Android :: Loading And Showing A Lot Of Images In ImageView - Frame By Frame Animation - Hangs In Certain Moments

Feb 18, 2010

I've created an application that show around 250 images in ImageView. Images are loaded one after another, 15-30 images per second. Basically the whole thing gives an illusion of a rotating 3D object, at least it should.

The problem is next, app hangs when loading certain images(i.e. I see a few seconds of fluid animation and then animation hangs, jump 10-15 frames(images) ahead and continues. It always happens at the same places in animation cycle.

I though that Android might not have enough resources to handle something like this, so I've resized images to half their size, but it did't help. I've tried buffering images but that did't help either(actually, maybe a little, I think that animation looks a little bit smoother).

And now the weirdest thing. I use the touch screen to allow users to "rotate" the 3D object on those images, and while rotating I again experience those hangs at exactly the same places as with the animation.

All images are in .png format and their size vary from 15kB to 40kB.

I use the following code for the animation:

CODE:.....................

View 1 Replies View Related

Android :: Access A Database Server Directly

Sep 6, 2010

Is there any way to access the a database server directly in Android? If not, why? Also, are there any external tools for this?

View 1 Replies View Related

Android :: Access The Camera's LEDs Directly

Jul 2, 2010

I'm still pretty new to using Android, but I decided that my first application would be a simple flashlight app for my new Incredible. Unfortunately, it seems to be more difficult than I had originally thought.

It seems that there's no way to access the LEDs through the SDK, at least not without a bunch of weird hacks to make the phone pretend that it's taking a picture. Even then, I can only get the LEDs to turn on. They only turn off if the phone is put on hold, and doing so breaks all camera-related apps until the phone is rebooted.

So, I was wondering if accessing the LEDs through the NDK was possible, or if there was any other camera-related APIs that would seem to do what I want.

I've looked at other code for other flashlights, so it looks like it's a hardware-based problem. I figured I'd give up because it doesn't appear to be possible, but I thought I should ask here first on the off-chance somebody knows something that I don't.

View 1 Replies View Related

Android :: Access Sensors Data Directly

Nov 13, 2010

I am looking for a way to get sensors' data ( especially Accelerometer) directly without using Listener approach. Actually I need to have the data really fast! I can not find any way to read sensor data by myself. Anybody knows anything about it? Is it possible to read data with more than 50Hz?

View 9 Replies View Related

Android :: Access Oracle Database Directly From Application

Oct 11, 2010

I'm new to the android application development. I found some packages java.sql and javax.sql packages in the API of android while going through it. My doubt is can I access the Oracle Database directly using drivers. So what type of driver is used to connect.

View 11 Replies View Related

Android :: App That Provides Playback Of Video At A Frame By Frame Rate?

Dec 18, 2009

I would prefer to not have to purchase a Flip Video Recorder to provide me the frame by frame playback needed (coaching girls softball) for instant instruction at practice. Is there an app that provides playback of video at a frame by frame rate?

View 1 Replies View Related

Android :: Directly Access Jpeg's File Metadata Without Having To Go Through ImageManager Services?

Feb 6, 2009

Is there a way to directly access a Jpeg's file metadata, without having to go through the ImageManager services?

View 4 Replies View Related

Building A Frame By Frame Live Wallpaper

May 19, 2012

I'm trying to build a live wallpaper using frames. I can't find any good tutorials on how to even build a live wallpaper. When I run app from eclipse i get these errors.

[2012-05-19 22:26:32 - LiveWallpaper] No Launcher activity found!
[2012-05-19 22:26:32 - LiveWallpaper] The launch will only sync the application package on the device!

It does install to the emulator. It all seems to work. I go in to the live wallpaper menu, find my live wallpaper in there open it, it loads. but its not moving through the frames. It only shows the last frame. I set it as wallpaper. It also doesn't do anything. Also would like to center the images.

import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Canvas;
import android.service.wallpaper.WallpaperService;
import android.view.SurfaceHolder;
[code]...

View 3 Replies View Related

Android :: Set Custom Frame Of Tab In Droid?

Nov 24, 2010

Is it possible to set height and width of tabs in android? I tried setting customized textview as the indicator of tabspec setting its height and width to different values but no matter what its height and width value is, it's always set to the default height and width value.

View 1 Replies View Related

Android :: Read Each Frame From A Movie File In Droid?

Nov 3, 2010

My application want to read each frame from a movie file and used to other.
How can I do it?

View 1 Replies View Related

Android :: Insert Frame Title And Subtitle For Image In Droid?

Sep 26, 2010

I want to add frame to image with title and subtitle. The thing that I want to do is as follows : There are number of styled frames available and user selects any picture from the phone memory or takes a picture from camera, now on selecting any frame that picture should be in that frame. Also below that frame there should be title and subtitle of the image.

I hope I have made it clear of what I want to know.

View 1 Replies View Related

Android :: Create A Custom Button In Droid That Animates With A Frame Animation?

Aug 6, 2010

Is it possible to create a custom button in Android, where the button is idly animating using a frame animation (AnimationDrawable)?

View 1 Replies View Related

HTC Droid Eris :: Picture Frame Widget

Jun 12, 2010

so i decided i want to use the picture frame widget again after not using it for a while... but now when i go to choose a photo it uses astro as the browser this would be ok but as soon as I select which picture i would like to use it says: "Sorry! The application Photos has stopped unexpectedly. Please try again."Then it force closes and I can't use the widget.Anyone else using Astro with this problem? Any solutions on how to use the default picture browser instead?

View 1 Replies View Related

Android : Way To Get Data Buffer Of Screen In Screen Stack In Droid?

Jun 11, 2010

Currently I want to develop one Activity to allow the user to see the screens/activites of all running tasks , then the user can select one of them to switch it to foreground. As I known, HTC Sence seems already to have this implementation for Home screen, to display the thumbnail of all Home panels in one screen. Does anybody know how to access screen stack in Android?

View 1 Replies View Related

Android :: Install Droid Software Development Kit Directly?

Sep 9, 2010

I am quiet new in the field of Android please anyone tell me that how should i install the sdk of Android..

View 2 Replies View Related

Android : Droid App Doesn't Communicate Directly With PC Software

Jul 17, 2010

I noticed on their Facebook page that in February of this year, they had a service outage. Does that mean that you have to rely on their backend for the software to make a connection - on other words: the android app doesn't communicate directly with the PC software?

View 1 Replies View Related

Android :: Any MIDP App Such As Game Run On Droid ( Google Phone ) Directly?

Aug 15, 2009

Can any MIDP app such as game run on android ( google phone ) directly ?

View 4 Replies View Related

Android : Launch Third-party Droid Apps I Installed Through Intent Directly?

Nov 15, 2010

My question is how to launch the third-party android applications I installed through Intent directly?

View 2 Replies View Related

Android :: Data Buffer Pass By Jni

Aug 4, 2009

Have some tryed to pas databuffer on android by jni?

View 6 Replies View Related

Android :: System Log Buffer Size

Feb 11, 2009

I have the following problem: I'd like to see the system log of two days ago and I cannot. I see only 3 last hours. How can I configure the system log size, location, severity?

View 6 Replies View Related

Android :: Alpha Buffer Support On G1

Mar 21, 2009

Is it possible to generate an EGL Config with an alpha buffer on the G1? When I request a non-zero number of bits for the alpha buffer I can get a R5G5B5A1 or R8G8B8A8 visual, but neither of them renders correctly to the screen. I assume that's because the G1 only supports R5G6B5 visuals. It does surprise me that I can even get those visuals though. It's fairly obvious looking at the 32bpp visual artifacts that the frame buffer is indeed laid out with 32bpp, but display hardware is treating it as 16bpp, resulting in the left and right halves of my scene rendering in alternate scan lines, with distorted colors. So does anyone know if there is any way to get an alpha buffer on the G1? I've tried using FBO's but they don't seem to be implemented either. Or I'm using them incorrectly. If I call glGenFrameBuffersOES on a GL11ExtensionPack reference I get an UnsupportedOperationException. I am getting my GL11ExtensionPack reference by casting the return value from my EGLContext.getGL() call.

View 2 Replies View Related

Android :: Alpha Buffer Support

May 24, 2009

Since Google groups doesn't let you add posts to threads more than 60 days old, and I want to leave a solution to the problem I encountered a while back, I'm posting this message with the same title in hopes that anyone running into the problem I had will find this message as well. I was having trouble getting my G1 to render an RGBA_8888 OpenGL context to the screen. Everything was twice the size it should be because the 8888 pixels were being interpreted as two 565 pixels. The colors were obviously wrong as well. I had missed a critical function call. You must configure the Surface that is being used by EGL using the SurfaceHolder method setFormat. The pixel format needs to be TRANSLUCENT, or more specifically you can use RGBA_8888.

View 2 Replies View Related

Android :: How To Empty The Logcat Buffer

Jul 23, 2010

How can I empty the logcat buffer in Android? I use adb logcat from command line and pipe the output to a file, since the DDMS has a very limited buffer. At the moment, when I restart my app (after fixing bugs etc) the logcat buffer has data from the previous launch as well. Even uninstalling the app does not clear the buffer. The only way I've found so far to clear the buffer, is reboot. This is effective, but would like to know if there's an easier way.

View 1 Replies View Related







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