Android :: Double Buffering In 2D Animation / Games?

Jun 9, 2009

Do anyone here having experience of applying double-buffering in Android 2D animation/ games? I'm sure this is a pretty basic functionality people will discuss about when writing games on Android, but seems like the source I found on web was pretty little. The only one I found is using OpenGL blit (intro by Chris Pruett in Google IO 2009 session). If I want only a 2D, how do I do that?

Android :: Double Buffering in 2D Animation / Games?


Android :: Possible To Implement Double Buffering?

Oct 19, 2010

Is double buffering makes any sense on android? Can it be implemented?

View 1 Replies View Related

Android :: Alpha Animation - Staying In Last Animation Frame When Animation Is Completed

Nov 17, 2010

I'm fading out an imageview with alpha animation. I'd like the image to stay transparent after the animation. Tried with different combinations of fillAfter and fillEnabled, no luck. How can this be achieved?

View 1 Replies View Related

Android :: How To Use VideoView To Streaming Without Buffering?

Apr 11, 2010

When I use the VideoView to play the RTSP streaming, the VideoView will buffering some cache buffer. Is there any method to tell the VideoView DON'T buffer? My code:
String VideoUri = "rtsp://192.168.5.121:6666/live/h264"; mVideoView = (VideoView) findViewById(R.id.video_view); mVideoView.setVideoURI(Uri.parse(VideoUri)); mVideoView.start();

View 5 Replies View Related

Android :: Any Way To Minimize Buffering Lag With VideoView?

Jun 3, 2010

I am using VideoView to display a video in my app. The problem is that, once the layout gets created there is lag of almost 10-30 seconds before which the video starts to play. I can see in LogCat that the video is buffering during the lag. Is there a way I can minimize this lag, or tell MediaPlayer to play the video sooner?

View 1 Replies View Related

Android :: ESPN Radio App Buffering Settings

Sep 1, 2010

If you click on the top left corner, on the logo of whatever channel you are listening to, it gives you an options menu for buffering. But I really don't know what all these numbers and settings actually mean. You click on a "Start Buffer" and there are just 5 numbers to choose from. Can anyone explain what all these settings are?

View 1 Replies View Related

Android :: How To Change Video Buffering Size?

Aug 6, 2010

Is there a way to change the buffer size in the media player on Android? I'm trying to stream video to mobile devices over rtsp. It works fine, but on android v1.6+ the buffer overflows leading to degraded video quality. Is there any way to configure the media player to use a bigger buffer, or take any other measures to prevent overflow?

View 3 Replies View Related

Android :: How To Reduce Video Buffering Time?

Oct 14, 2010

I'm playing video on Android using media player via RTSP. The player takes about 12s to buffer before it starts playing. Anyone know how I can convince the player to buffer less? I have full control over the RTSP server and the SDP it returns.

View 1 Replies View Related

Android :: Showing Image While Video Buffering?

Jun 4, 2010

I have an app that displays a video using VideoView. The layout consists of a Clock and a VideoView laid out in a simple vertical LinearLayout. Here's my code snippet that I use:
VideoView mVideoView = new VideoView(this);
mVideoView.setVideoPath(myVideoURL);
mVideoView.requestFocus();
mVideoView.start();

Since the buffering of the video takes about 8-10 seconds, the layout comes up with the Clock, but the VideoView stays blank. What I want to achieve is this:
- Display an ImageView for the 10s while the video is buffering
- Detect when the video is ready to be played (onPrepared?)
- Show the Clock and VideoView and start the Video

View 1 Replies View Related

Android :: Animation.start - Or Animation.startNow - Does Not Start The Animation Immediately

Aug 30, 2010

I have a strange issue - from time to time the animation that should fade out my control (ImageButton) does not kick in immediately. I am using the fadeout animation to hide it and then in myListener on its end (onAnimationEnd) I put new resource as the image on the button.

Somewhere in my app code:

Animation a = AnimationUtils.loadAnimation(this,R.anim.fadeout); a.setAnimationListener(new myListener(location)); buttons[location].setAnimation(a); a.startNow(); // regardless if its start() or startnNow() it will work in most of the cases but not 100% reliable I actually can see in debug Log when its late, happens after few more clicks

Then in myListener.onAnimationEnd(Animation a):buttons[location].setImageResource(R.drawable.standard_button);

Seems there is a rule that the every 4th or 5th animation does not start ...

View 1 Replies View Related

Android :: Streaming Video Files Endless Buffering

Dec 14, 2009

I have a problem streaming live video files. When I stream a file say of duration 5 minutes, it stops after streaming 2 to 3 minutes and enters in to endless buffering state. The VideoViews's OnBufferingListener is endlessly executed, however it shows that the buffering is not progressing anymore : MediaPlayer's buffer says it has buffered for example 90% whereas when I call videoView.getBufferPercentage(), I get something very low, like 1% or 5% ... After a while in the buffering state, the application crashes. It seems like the buffering is taking all the memory.

View 2 Replies View Related

Android :: Buffering In Media Player - VideoView Blank For A While

Jun 2, 2010

I am using MediaPlayer to play a video in my app. The video takes a while to buffer and the videoview is blank for that time. Is there a way to start the buffering when the user is in the previous screen, so that when he comes to the video playing screen, the video is ready to play?

View 2 Replies View Related

General :: Removing Buffering Sound From Radio App For Android?

Jan 1, 2013

How do i remove the buffering sound from an radio app for android? My phone is rooted. I transferred the app to my pc and then I used apktools for extracting. The extracted .apk contains a few maps with a lot of xml and smali files and a few image files. I could'nt find any audio files in any of these maps (which could be the irritating loading sound that i want to remove).

View 3 Replies View Related

Android :: No Update Buffering When Media Player Play RTSP?

Sep 13, 2009

Why Update buffering is always 0% when mediaplayer play the rtsp? I try to play this both on the emulator and on the device. But eveytime it shows that the Update buffering is always 0%. Could anyone give me a reason?

At last it always shows the log
E/MediaPlayer( 1455): stop called in state 4
E/MediaPlayer( 1455): error (-38, 0)
E/PlayerDriver( 1088): Command (7) was canceled

View 2 Replies View Related

Android :: Buffering Background Image - Graphics Advice Sought

Mar 28, 2009

I am unsure of the jargon so please bear with me, I am seeking advice on the best way to go about drawing the graphics for an app I am developing. Imagine you are creating a game of checkers, where you can drag/drop one piece at a time to a blank space on the board. When the piece is being moved, it seems to me that you should not need to redraw all of the pieces that are not being moved. Using the LunarLander example, is there a way to store the background image and only draw the piece being moved over it? I have been trying to figure out a way to capture the canvas as an bitmap that is occasionally refreshed.

View 5 Replies View Related

Android :: Buffering While Reading H264 Video (Using HTTP Protocol)

Oct 13, 2010

I'm developing an application on Android 2.2. This application have to read some h264 videos using HTTP protocol. To read a video, I'm using following methods :

// INIT PART mMediaPlayer = new MediaPlayer(); mMediaPlayer.reset();
mMediaPlayer.setOnErrorListener(this); mMediaPlayer.setOnBufferingUpdateListener(this);
mMediaPlayer.setOnCompletionListener(this); mMediaPlayer.setOnPreparedListener(this);
mMediaPlayer.setOnSeekCompleteListener(this);
mMediaPlayer.setAudioStreamType(AudioManager.STREAM_MUSIC);

// SET DATASOURCE mMediaPlayer.reset(); mMediaPlayer.setDataSource(url);
mMediaPlayer.prepareAsync();
In prepareAsync callback : public void onPrepared(MediaPlayer mediaplayer) { mMediaPlayer.start();
}

View 2 Replies View Related

Android :: Frame Animation Callback When Animation Is Complete

Jul 29, 2010

Is it possible in Android to get a callback when a Frame Animation (AnimationDrawable) has completed playing its frame sequence? I know when a Tween Animation has completed, it calls onAnimationEnd(), but is there something similar for frame by frame animations?

View 1 Replies View Related

General :: Android 4.4 - WiFi Is Intermittent / Buffering / Dropping Connections On Nexus Devices

Jan 6, 2014

I've recently upgraded my Nexus 4, Nexus 7 and Nexus 10 all to Android 4.4 and as soon as I upgraded my Wi-Fi has been awful.The Wi-Fi is incredibly unstable, steaming media has major buffering / intermittency issues, messages sent over instant messaging apps are sometimes instant and sometimes take 30+ seconds to send.

Skype is the most telling of the issues as it randomly loses connection and my notifications literally never come through..Router Wi-Fi Settings: I've tried Channels, 1, 2, 4, 6, 8, 10 and 11

I've also tried adding
Code:
gDataInactivityTimeout=200

to the WCNSS_qcom_cfg.ini file as found:URL>...Wi-Fi is Always On, Wi-Fi Frequency is Auto or 2.4, Wi-Fi Optimization is Off.The wireless / wifi works fine on other tablets, laptops and wireless devices just my nexus devices on 4.4

View 5 Replies View Related

General :: YouTube App Constant Buffering?

Dec 31, 2013

I got this weird issue on all my devices where after a certain point the video freezes, buffers for ~8 seconds, plays for a couple and repeat. This is not video specific and changing the quality does not fix this, it just makes the problem appear later on. In HQ quality, after about 1:45 minutes of playing flawlessly it starts buffering the whole damn time. SQ quality can play up to 3-4 minutes before any issues arise.

This is on a broad range of devices, both mine and those of friends. My own Samsung Galaxy S2 running CM10.1 and Cube U30GT running CM10, but had the issue on stock, and a stock Galaxy Note and HTC Hero 2.

Other info. It's not network related. Happens on both wifi and 3g and on different connections/ISPs. My own Internet connection clocks up to 20mbps and has no problem playing any YT video on my PC. Other "streaming" video stuff work great. Twitch.tv plays great as does dailymotion. Other players, other than the default YT app, have no issues playing videos even on HQ. YT through the browser works fine but somehow doesn't let me switch to HQ and the "UI" generally feels bad. Feedly (which is great btw), has a sort of plugin that uses the YT app to play videos natively. Any videos played in the feedly app, using this "plugin" play great even in HQ, which is weird. I've tried reinstalling, uninstalling, stalling, killing, maiming, clearing data+cache, completely wiping the devices and sacrificing firstborns to Lucifer.

This feels like a caching issue of the youtube app. It feels like it starts caching up to a point (playing great in the process) and at some points cache fills up and starts deleting in order to make space to cache further. That leads to the pause and buffering of the video.

View 2 Replies View Related

General :: Adobe Flash Player Stops Buffering Mid Way Through Video

Apr 1, 2013

I can start streaming a video perefectly. However, if i pause it to go do something, or to let it pre-buffer, and i play it again, it will play for a little then stop. I look at the seekbar and it says its fully buffered. However, its not and it doesnt play anything and just sits their saying its buffering.

My guessing, well first attempt and finding the culprit, is that the service that is processing the video gets prematurely terminated and restarted thus returning that the buffer is complete.

View 3 Replies View Related

General :: Zeiki Tablet ‎TB782B Video Stops - Buffering Improvement?

Jun 6, 2013

I know the zeiki ‎TB782B is cheap decent tablet but the video buffering from streaming websites is just a killer some sites are better than others Its not my internet speed that's good,but is there anyway I can improve this issue by downloading an app or some kind of hack or update?

View 1 Replies View Related

Android : Back Button - Disable In Buffering Or Should Prevent The Player Tostart If Back Is Clicked

Oct 11, 2010

In my android application i have a video list screen,a buffering screen and a videoplayer screen.
As soon as the user clicks an item from videolist screen ,he is navigated to buffering screen and then to videoplayer.
In the buffering screen i am using Async task and doing the loading process in on background process.

Now my issue is like the user if has selested a video then gets navigated to buffering screen.But if the user clicks back when he is in buffering screen then initially he is getting navigated to videolist screen but immediately after that again he is navigated to videoplayer screen.

What i would like to have is either the back button should be made disable in buffering or should prevent the player tostart if back is clicked.

View 2 Replies View Related

Games :: How Come Emulator Games Look Better Than Android Games?

Jul 10, 2010

Seriously, emulation is not good for performance, but most roms running on gensoid look and play better that games developed for Android. Sonic 3 looks lovely, runs at 60fps and never stutters. It even seems to look higher rez than most Android apps.Android platformer games are nowhere near as good looking or smooth.So what the hell is going on? The hardware on top end Android phones (Desire, galaxy etc) is clearly capable.

View 11 Replies View Related

Games :: Need For Speed Shift / High Profile Games Coming To Android

May 13, 2010

Apparently EA is bringing NFS to android! Engadget say it was demoed on the EVO yesterday. Are there any videos on the net of it? Also this might well mean we'll be seeing more high profile games coming to Android!

View 2 Replies View Related

Games :: Android Games Similar To Castle Clout Or Angry Birds

Jun 10, 2010

I really like the PC flash game called castle clout "http://www.maxgames.com/game/castle-clout.html" and the iphone game "angry birds" http://itunes.apple.com/us/app/angry-birds/id343200656?mt=8" basically a game that u launch objects into structures and try to destroy them.. i was hoping android would have such a game when i bought my new EVO

View 6 Replies View Related

Games :: Any Good Games Like Farm Frenzy Or Tycoon Games Like Lemonade Tycoon?

Nov 13, 2009

Is there any games like Farm Frenzy, or any tycoon games like Lemonade Tycoon ?

View 1 Replies View Related

Games :: Play Palm Pilot Games On Android

Aug 11, 2010

Is it possible to play palm pilot games on an android? I would assume it wouldn't be too difficult since they both use touch. I wouldn't care if it didn't fit my whole screen. There are some games that I really want to play again (Space Trader, Strategic Commander (does anyone know of another game like this)).

View 1 Replies View Related

Games :: Iphone Has Awesome Games - Why Doesn't Android

Nov 15, 2010

someone showed me their iphone I have to admit, my jaw dropped and I was drooling when I saw some of their games (i would that all games were freebie versions)

Question: why does the android platform not have games that are as good??

I remember seeing one games, I think it was called scooter - the whole damn screen moved as u mived the iphone left and right I only played for a minute - but it looked damn awesome why dont we have as good games! the persons phone: heck, it was only an iphone 3g - so u cant say it was better hardware or anything angry birds - I like - apart from that, I haven't seen any games I would even rate (ok, so angry birds is just worms game reinvented - but the subtle use of great graphics make it brilliant)

Important: I have an x10 mini pro which is STILL running android 1.6 - is this the reason why? are there better games on 2.1 and 2.2? or is it to do with the fact that there are better developers for the iphone?

View 49 Replies View Related

Games :: Multiplayer Interactive Games For Android & IPhone

Aug 30, 2010

Are there any multiplayer interactive games where someone with an Android phone can play with someone who has an iPhone? I'm looking for something like Words With Friends where two people who have iPhones can play scrabble together.

View 2 Replies View Related

Games :: List Of High Quality 3D Games For Android

Sep 14, 2010

I only know 2 high quality 3D games using OpenGL ES I found on the market:
- Hockey Nations Shoutout
- Deadly Chambers, Anybody here have any suggestion / addition to that list ?? would like to install any awesome 3D games lol

View 33 Replies View Related







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