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
Nov 3, 2009
How can we display a buffer on screen?
Currently I create a bitmap using Bitmap's CreateBitmap() and render it on screen using canvas' drawBitmap().
Is there any other way of doing this in Java layer?
View 8 Replies
View Related
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
Aug 4, 2009
Have some tryed to pas databuffer on android by jni?
View 6 Replies
View Related
Sep 24, 2009
I am working on a packet switched network. I want to capture the audio data from mic into a buffer at a desired sample rate.How can I capture the audio data from mic into a buffer instead of a file? Also how can I control the audio capture rate as per the desired sample rate?
View 2 Replies
View Related
Oct 10, 2010
I'm trying to add a custom data field and MIME type to the Contacts screen. Is there a way to do this such that when a user views a contact with my data saved on it, my field appears there? This is something I've seen other apps do--how do the Facebook, Twitter, Last.fm, etc. apps add their status information to contacts, for example? I can't seem to figure it out from the Contacts API documentation.
View 1 Replies
View Related
Mar 16, 2010
I have experienced some trouble using VBOs, since the method glBufferData crashes when I try to copy data to the vertex buffer. Below is the smallest snippet of code that I found to generate the crash:
int numVert = 32; GL11 gl11 = (GL11)gl; testArray = new int[numVert * 3]; testBuffer = IntBuffer.wrap(testArray); gl11.glGenBuffers(1, testID, 0); gl11.glBindBuffer(GL11.GL_ARRAY_BUFFER, testID[0]); final int siz = testBuffer.capacity() * Integer.SIZE; gl11.glBufferData(GL11.GL_ARRAY_BUFFER, siz, testBuffer, GL11.GL_STATIC_DRAW); gl11.glBindBuffer(GL11.GL_ARRAY_BUFFER, 0);
testArray, testBuffer and testID are members of the class containing this code, declared as follows:
int[] testArray; IntBuffer testBuffer; int[] testID = {0};
I tried this code in several OpenGL applications which don't show any problem otherwise. The crash occurs specifically at the glBufferData() method call. If numVert is set to zero, then the crash doesn't occur.
View 4 Replies
View Related
Apr 1, 2010
I'm using this kind of code for my TCP/IP connection:
sock = new Socket(host, port);
sock.setKeepAlive(true);
din = new DataInputStream(sock.getInputStream());
dout = new DataOutputStream(sock.getOutputStream());
Then, in separate thread I'm checking din.available() bytes to see if there are some incoming packets to read. The problem is, that if a packet bigger than 2048 bytes arrives, the din.available() returns 2048 anyway. Just like there was a 2048 internal buffer. I can't read those 2048 bytes when I know it's not the full packet my application is waiting for. If I don't read it however - it'll all stuck at 2048 bytes and never receive more. Can I enlarge the buffer size of DataInputStream somehow? Socket receive buffer is 16384 as returned by sock.getReceiveBufferSize() so it's not the socket limiting me to 2048 bytes. If there is no way to increase the DataInputStream buffer size - I guess the only way is to declare my own buffer and read everything from DataInputStream to that buffer?
View 4 Replies
View Related
Jun 2, 2009
I just want to capture the updated screen data instead of reading all data from framebuffer. Can I get this data by what method?
View 4 Replies
View Related
Mar 31, 2010
I am designing a home screen widget. I ran this widget on a HTC Hero device, which has a screen of 320 pixels * 480 pixels with mdpi. It ran perfect on HTC Hero. The widget takes 3 cells * 2 cells space, i.e. 240 pixels * 200 pixels.Then I ran this widget on a Nexus One device, which has a screen of 480 pixels * 800 pixels, mdpi. Since Nexus One also is mdpi, so I though 240dip is equivalent to 240 pixels on Nexus One and 200dip is equivalent to 200 pixels on Nexus One, so the widget will not take 3 cells * 2 cells space on Nexus One device. To my surprise, when running on Nexus One device, the widget take exact 3 cells * 2 cells, about 360 pixels * 300 pixels, on Nexus One device.I am confused. The layout xml above specifies 240dip in width and 200dip in height for the widget, but why did it take 360 pixels * 300 pixels on Nexus One Device? What am I missing?
View 2 Replies
View Related
May 22, 2010
How do I go to previous screen from current screen in Android app? I know there is a back button on phone, but it takes me to beginning screen of my app and I want my buttons on app to work for going back to previous screen.
View 1 Replies
View Related
Apr 12, 2010
I was thiking of buying either a screen protector from verizon or best buy. I was wondering which is the best to buy out of the two or if there is a better protector? Also what is the best case for the motorola droid? Lastly, when I make phone calls my screen goes black so it is hard for me to end calls. How can i fix this? I don't see any settings for this on the droid.
View 11 Replies
View Related
Jan 18, 2010
I am going crazy here... I've had this thing since it launched and everything is great except I keep hitting buttons with my face during calls! I mute, sometimes end calls, start 3 way calls etc and I have no idea how to prevent it. Is there any way I can make the screen lock during phone calls or change the call screen altogether?
View 12 Replies
View Related
Aug 6, 2010
This morning my alarm started unexpectedly at 6am. The lock screen turned into the snooze/stop screen. Dragging down didn't stop it it.. It came on every ten minutes for the next hour. My alarms were set to 9:45am and 8:30pm as usual. Even turning the phone off and on didn't stop the beeping. It was my 9:45am ringtone even. (The two are set differently)
Anyone else see anything like this? I'm on OTA 2.1
View 4 Replies
View Related
Jul 29, 2010
I'm having an issue with my phone. Most of the time my lock screen is focused on screen 4 (I use 5 screens) instead of on whatever screen I go to when unlocked. Does anybody else have this problem? I'm using Launcherpro if that makes a difference.
View 2 Replies
View Related
Nov 15, 2010
My nephew was playing with my phone and evidently set a password on the phone to wake it up. He told me the password and I can use it to wake the phone up just fine but I use the slide screen, but now there is both password unlock and the slide screens. I cant figure how to remove the password one
View 10 Replies
View Related
Jul 18, 2010
Is there any way to change when these 3 things happen separately? Can I make it so my screen fades earlier but still takes just as long to go completely black? Is there a way to extend the time between total blackout and locking? Is there a way to turn off auto screen lock all together but keep the auto fade out and auto black out? I am always able to remember to manually lock the screen and the auto lock is annoying but I still like the power saving of the screen fade and black out.
View 3 Replies
View Related
Oct 21, 2010
So I recently got a set of screen protectors and put one on.All was well just noticed a few bubbles and so I tried to work them out.They weren't going away, so I figured I would try again so I removed it and to my astonishment the bubbles were still there. It's like they formed under the screen somehow when I put the protector on, they were absolutely not there before.There are 2 in the center of the screen and a few along the edges. At first I just thought it was a water spot but I cannot wipe them off.The ones on the edge of the screen I can"push out" to the edge to almost make them disappear.When you touch them with the pads of your fingers you can feel a slight "bump" in the screen (very minute but still there).They bubbles are easily visible when the screen is off and almost go away when the screen is on but you can still tell they are there.Is this a defect in the phone or did I cause this trying to install the protector? I didn't push down hard on the screen, just applied the protector and they appeared.
View 2 Replies
View Related
Sep 11, 2010
I bought a new droid for $20 haha lucky i think until i notice that the touch screen only works for the middle of the screen to the left so if yu cut the screen into thirds only the middle and left work assuming that yu cut it from top to bottom with the lights at the bottom for the home button etc. I opened it up cleaned all the flex cable with alcohol and waited for it to dry and it still does the same thing so my question is = do i need a new digitizer or is it a software problem or something that i dont even know?
View 9 Replies
View Related
Jan 26, 2010
I posted this in the Support and Troubleshooting forum but didn't get any replies, so I thought I'd post it in the main forum.Hopefully some of you guys/gals/aliens (illegal or not, I don't mind) can help me out with this one.
View 5 Replies
View Related
Jan 18, 2010
I accidentally opened a screen and can not get rid of it. I was looking at corporate calendar and now I have a large white no calendar events on my favorite screen that I can not get rid of. I do not have an exchange server to sync too at work.
View 2 Replies
View Related
Dec 13, 2009
I was messaging around today and found where to shut of the screen while charging, but I wanted to turn it back on and can't find where it is? Also before the update I could have sworn there was an option on the screen timeout to set it to never. Now I don't have that option.
View 2 Replies
View Related
Sep 28, 2010
when i take my phone out of my pocket and unlock it the screen will be in landscape mode and it usually will take a good 5 to 10 seconds for it to go back to normal.. i usually have to shake the phone for it to even respond..
has anyone had this problem? know of any quick fixes for it?
View 4 Replies
View Related
Nov 24, 2009
I'm currently using the phantom skinz line and although I like the body protectors I think the screen protector has reduced some of the screen's clarity/sharpness. This wasn't an issue with the static protectors I got from verizon. The only reason I replaced the verizon ones is because they didn't cover the buttons along the bottom of the screen. Anyone find a static protector they like that covers the whole screen?
View 18 Replies
View Related
Jan 20, 2010
Alot of android phones use the capacitive touchscreen technology. I was wondering if there is away to access any sort of information related to this sensor.
In other words I want to get the voltage potential related to the distance that you push down on the screen.
I know this is probably really deep into the hardware technology and it's probably proprietary, but I want to know if someone has figured out how to access this data or if there is a way around it.
View 3 Replies
View Related
Oct 21, 2010
RT Actually I wanna detect the shape of touch point, i.e. the shape of finger touch on the screen
Seems that the only information I can get in touch event is the size of the touch point(by event.getSize())
By the implementation of the screen, the shape(and pressure of each point in the shape) of the touching finger should be the first raw data that the hardware can detect
So, how could I get these raw data?
View 4 Replies
View Related
Feb 23, 2010
So through a weird assortment of events i managed to crack the screen on my Eris. But this is the trippy part, I didnt break the glass but the touch sensors underneath. So now i am unable to use the menu or home buttons and the entire left part of my screen and more. I am unable to unlock my device in anyway that i know(menu button, the slider). Is there any other way to unlock it? I now have 11 unread texts and 4 voicemails that I desperately want to view. Oh and I know some of you won't be happy about what I'm about to say but.... I took the leap to the moto droid. I had the chance to get it on a 1 year because I didnt get insurance and I went for it. I will really miss my Eris but the keyboard lag was just killing me.
View 11 Replies
View Related
Mar 2, 2010
Looked around a bit and I can't seem to find any other posts about it but sometimes when i go to unlock my phone its at the default lock screen instead of my lock 2.0 screen. Anyone else have issues with that? If so how do i fix it?
View 8 Replies
View Related
Dec 27, 2009
I don't know if I'm missing something in the settings or what, but every time I shake my Eris while running an app the screen automatically goes back th the home screen. This gets really annoying when using apps that require such actions. Anyone else having this issue or know what I'm doing wrong. Maybe an app that's causing it.
View 2 Replies
View Related
Jan 26, 2010
you know how you can scroll sideways from screen to screen? i want one of my screens to be Handcent Sms instead of just having it as an icon....is this possible? If it is, how do I do it?
View 2 Replies
View Related