Why Few Mobiles Have Multiple Frame Buffers
Dec 27, 2013
We are new to Android development. We have written small code which reads /dev/graphics/fb0 and sends frames to other application through network. We are successful if /dev/graphics/fb0 is available. But some android devices have fb0 and fb1(ex - Samsung Galaxy Grand - GT- I9082, Android version 4.2.2). luckly sending fb0 frames is sufficient to get required frames. We are not able to understand why fb1 exist and what is significance of the fb1. We also found few mobiles have fb0, fb1, ... , fb13. How to find which is main framebuffer?
View 2 Replies
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
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
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
Jun 16, 2009
In a process of switching from indirect to direct buffers for OpenGL geometry specification I've found a problem with the following function in java.nio.IntBuffer class: IntBuffer put(int[] src, int off, int len) this function is supposed to do a bulk transfer of int data from the given array starting at the specified offset. It should be an optimized version of the following code: for (int i = 0; i < len; i++) {buffer.put(src[off + i]);}
View 2 Replies
View Related
Aug 30, 2010
I'm using MediaRecorder.setOutputFile(FileDescriptor fd) over a UNIX socket, so that local code on the device can see the encoded stream in real time (for video streaming out).
What I observed is that the encoder doesn't write encoded frames continuously, when they are produced, but by "bursts", exactly one second apart. I tried both containers (THREE_GPP and MPEG_4) and all three available codecs (MPEG_4_SP, H263, H264), the behavior is always the same. This one-second period is notably unrelated to framerate or bitrate, so it is not flushing by size; rather, it seems to be flushing by time (possibly to mask SD card write overheads ? Bummer, I 'm not using the SD here !). Is it a known limitation ? Is there a known workaround ?
View 2 Replies
View Related
Jul 21, 2009
When using Protocol Buffers with Android (running in the Windows VM) I'm noticing that the first time I instantiate a protocol buffer based class Android lags for some time. When I step through it looks like it's spending a lot of time dynamically loading the protocol buffer classes. Is there something I can do to speed up this process? I haven't tested yet on a physical device, so the delay might not be as bad but in the VM it takes about 30 - 45 seconds to load all the classes and get past that first message instantiation. What I did was downloaded the Protocol Buffers source code. Compiled the.java files. Stuffed them into a .jar. Added the .jar as an external library to my Eclipse project. Generated the .java classes from the .proto files. Added the generated .java files to my project. Ran my project. I'm not sure if I'm doing something wrong it terms of how to reference external libraries with an Android project, but 30-45 seconds seems like a very long time to wait on a 2.6GHz machine. Also, I recently learned that android uses Protocol Buffers internally. Will this cause any sort of conflicts with my included .jar that could be the problem? I *think* the namespace is different but I'm not entirely sure. Lastly. Why did Google use Protocol Buffers internally and not make it available to SDK developers. This makes me very sad knowing that it's all right there and I can't use it.
View 20 Replies
View Related
Dec 8, 2009
for all those gl*Pointer functions you need to create bytebuffers through ByteBuffer.allocatedirect. when you want to load a texture through glteximage2d you need to supply a bytebuffer, too. can this be a "normal" bytebuffer or do I have to create this one too via allocatedirect?
View 2 Replies
View Related
Apr 8, 2010
I can't seem to find the proper audio source for recording/analyzing/receiving the currently played music track (or just any playing media). I'm not talking about the Mic.
The spectrum live wallpaper does this on the Nexus One AFAIK.
How can I keep receiving wave buffers of the currently playing media?
(I would like to support everything from 1.5, but 2.1 specific solutions are also welcome)
View 1 Replies
View Related
Jan 24, 2010
i want to develop an application on android,webos,wince. how to develop application that should run on all paltform with developing each paltform
View 2 Replies
View Related
Oct 18, 2010
My friend is after a new mobile and I pointed him towards the Desire HD & Desire (there's the only relevance). He is quite adamant about having a Dual Sim mobile. Anybody know anything about them? Benefits? Ones to look out for? I don't know anything about them, but he's come to me for geeky knowledge. He's having a look at these android ones:
Reach Tech (Xiamen) Co., LTD amongst a few others.
View 3 Replies
View Related
Nov 14, 2013
The other day i was thinking while flashing a rom onto my galaxy nexus and i thought Why thres no one only android that can be installed in all the mobile phones, i mean like when you install linux you can choose between a lot but it can be installed on every computer it adapts itself to the computer. Why can't it be done in android?, its because that will take a lot of space?
View 2 Replies
View Related
Oct 4, 2010
I cant phone mobiles but I can phone landlines can anyone help?
View 1 Replies
View Related
Jun 19, 2010
Is it possible to show only mobile phone numbers in the messaging contacts section. I seem to get multiple versions of the same contact showing up depending on how much info I have for them - 1 for mobile, 1 for landline, 1 for email, but in the phonebook section, all this info shows up under 1 contact.
View 1 Replies
View Related
Jun 15, 2010
Android developers can check this code to check the network status on wifi and 3g mobile
You need the following permission to get status view source print? 1 <uses-permission android:name="android.permission.INTERNET"></uses- permission> 2 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"></uses- permission>
View 2 Replies
View Related
Jan 5, 2012
I want to read SDCard data from android mobiles using eclipse(programmatically).
For that i want to open SDCard in binary mode,So that i can read SDCard sector by sector.
the problem is when i am debuging a programm using JNI in c++ its not going to take access in binary mode..
How to open a sdcard in binary mode using eclipse or java programming.
View 1 Replies
View Related
Aug 16, 2010
Recently i got 2 android phones by samsung. One is Samsung Galaxy i5801 Apolo and the other Samsung i5500(Galaxy 5).
Both these mobiles don't have a front camera in it. Is it possible to make a video call from these devices without a front camera?
Any options through android apps or etc?
View 11 Replies
View Related
Oct 29, 2010
To help the forum and the users, when you have the 2.1 installed please post in this topic.
Just add brief and simple details like:
Where you live.
Network carrier
What FW are you using (eg generic, t mobile,o2 etc)
This will then help other people to know when the update is ready for them instead of keep trying Sunday evening onwards to get it
View 26 Replies
View Related
Aug 22, 2010
Is there any way to turn off T-mobiles frigging splash screens without rooting the phone. They are way too loud!
View 15 Replies
View Related
Oct 8, 2009
The following what written on the Android 1.6 Platform Highlights: Android 1.6 includes the updated OpenCore 2 media engine, which has: * Support for OpenMAX encoders * Support for additional audio codecs in AuthorEngine * Improved buffering model supports shared buffers allocated in the decoder Could someone explain to me how this affects us the developers? Does this mean now we can play other media types? What in reality is new to us on Android 1.6 in regards to OpenCore?
View 2 Replies
View Related
Jun 27, 2010
I am a n00b to all things android. But I'm up to speed on rooting. What I am not up to speed on is the frame rate.I want to keep this phone so bad because I love it. But you know what the one thing the iPhone has over us? Smooth transitions and stuff. I know that has to do with fps.I figure if it has been done before it can be done again. Has fps ever been lifted before? Or are we spitting in one hand and wishing in another?
View 4 Replies
View Related
Oct 9, 2012
How I can see frame "fps" on my android device?
View 1 Replies
View Related
Feb 15, 2010
Anyone knows how to increase the fps in android?? I am developing a 2D game using rokon engine but i am getting only 7-8 fps. How can i increase the frame rate, is there any method to set the fps ....
View 3 Replies
View Related
May 21, 2010
Will Google allow Android applications to grab and process individual video frames of the currently selected channel in Google TV sets? I would be interested in that, and the process can be very similar to capturing preview images from a (second) camera.
View 3 Replies
View Related
Sep 2, 2010
I'm starting to use a web interface (java from what I can tell) to stream my tv to my phone. Everything works great, except the channel list is it's own frame, and I cant scroll it. I can only see the first 15 out of 100 channels. I've searched google and cant find any information about this. I've also tried Skyfire and Dolphin, but with no luck. Does anyone know a workaround to scroll within a frame? The iphone and ipad can scroll within a frame by using two fingers in stead of one. There must be a workaround for android.
View 3 Replies
View Related
Nov 7, 2010
I there a photo frame widget that offers alot of different sizes. I went from a DX to a SF. I really miss the widget that came with the DX. Anyone have the apk or something comparable?
View 1 Replies
View Related
Mar 17, 2010
So I waste a bit of screen real estate on my Droid with a few photos of my family. I just like to have a photo on each page. I was wondering if anyone has run across a Photo Frame app that is clickable to a defined action like "Call Wife".
Anyone run across an app like that?
Seems like a pretty easy app to write, but I am having a hard time finding one...
View 3 Replies
View Related
Sep 27, 2010
I'm looking for a photo frame widget that scrolls through photos. I had Turtle Photoframe, but it was using up to 9% of my battery on my Epic, while most other apps like Touiteur and Tasker were using 2-3%.
View 3 Replies
View Related
May 20, 2010
Fastest 2D frame rate possible with android NDK, my try included, better options available?
I used the NDK and OpenGL ES 2.0 to display a frame as a texture on a GL_TRIANGLE_STRIP. This was done on a HTC Desire, same hardware as Nexus One. I tried to load multiple GL_RGBA textures and switch between the textures, because the normal fill rate with a single texture was disappointingly low:
CODE:.........................
I think even 30.32 fps RGBA is still too slow.
So is this the way to go to achieve the fastest 2D frame rate (with same quality)?
Any suggestions to speed it up?
Here is the relevant code, it is based on the hello-gl2 NDK example:
CODE:........................
View 1 Replies
View Related
Feb 11, 2009
How to get the first frame of a video file ? Are there such APIs in OPENCORE?
View 13 Replies
View Related