Gameplay video on android - android

I don't know where exactly to ask this question:
How can i make gameplay video from android device ?
I need to capture video with normal FPS on android, is it possible ?
I now about AVD on PC but it's to slow (on my PC maybe)

Maybe it's a bit late but... yeah, AVD is really slow with many computers. The main reason is that it doesn't use an x86 architecture, so everything has to be emulated.
But, if your game can run on Froyo, there is something you could do : try to use Android x86 projet within a VirtualBox (http://www.android-x86.org/documents/virtualboxhowto). Usually it improves performances a lot. I don't know if it'll be enough to run a game properly, but you should definitively try it.

I think you don't have mode for it, you only can make it from your computer directly.

Related

Phonegap: Fast way of testing Camera-Functions, without building app

I've decided to take a closer look at Phonegap, which means currently I'm not developing anything, but trying different things, e.g. the camera. Apparently this can't be tested with Ripple for Chrome - as far as I know it needs to be tested either in the emulator or on the device itself. My computer isn't slow, but building an app and installing it either on the emulator or the device still takes "a lot" of time (if you're just playing around).
So my question now: Is there any way of speeding up the process of testing applications e.g. in the computer's browser even if you are using things like camera?
Here are the things I've tried so far:
Using my Sony Xperia Mini Pro
Using Intel-Android-Image
Booting emulator from snapshot
Ripple (which can emulate a lot, but not the camera)
Thanks :)
I ended up building the app each time, it's kind of fast if you use build scripts.
But you can also try cordova browser https://play.google.com/store/apps/details?id=com.eas.cordova.browser
or Cordova Fast https://play.google.com/store/apps/details?id=org.Bellinux.CordovaFast
I haven't tried the latter myself though.
cheers

Best Android Emulator settings?

I'm on Windows 7 with i7 processor and I'm trying to use Android SDK Emulator. However, when I set pixel density to 320 and turn GPU emulation on it starts to lag and freeze and its browser is almost not usable (it's like 1 frame or less per second).
So far with the below settings it's much, much better and I would qualify it as 5 to 10FPS which is usable but it's not 30FPS (smooth usage).
Abstracted LCD Density - 120
GPU Emulation - NO
Keyboard Support - YES
Can anything else be done to make it work smooth except moving to Linux? I noticed that GPU emulation impacted the performance the most.
The most important setting is your architecture, make sure you are using an Intel emulator. The speedup is tremendous!
A how-to is posted here: https://stackoverflow.com/a/10772162/1741111
If you are trying to achieve that 30FPS mark, forget Android emulator and switch to Genymotion.
I was working on Android emulators for 6 or more months before i discovered Genymotion emulator and what difference that has made to the speed of development.
If you are still developing on Android emulator - go and give Genymotion a try. You will thank me for that. Its a huge difference.
There is a free version for individual developers.
Even though this is an old post. I think this needs a mention here.
You don't need to buy a phone. The emulator is a great tool, however very slow. You can enable hardware acceleration to make it run smoothly. Follow the steps on the developers page and you'll notice a remarkable difference in the speed. AFAIK the settings you mentioned do no have that great influence on the speed.
I have wrote a short blog post on speeding up the emulator and adding Google map support:
the first part will be relevant to you. try the Hardware acceleration and tell us what you think:
here is the post:
Speeding Up the Emulator
The best emulator is to buy a simple Android Smartphone and debug/run your apps on this device. I'm doing this and it works wonderfully with no laggs

Android deployment is slow, how to improve it?

I'm developing an android application, since there are many assets, the generated apk is near 10M. Now deploying it to a simulator is very slow, often takes me 3 or 4 minutes, which is unacceptable.
I've used Robolectric to test most of the logic, which is very fast. But sometimes I still need to use emulator(e.g. adjust the UI), which waste me a lot of time.
Is there any way to make it fast?
This is my experience, too. Debugging with the software emulator is very slow.
It is much faster to use a real device in debug mode. However, you may run in other limitations
Well since somebody suggested Android x86 as an alterante testing Emulator, I'll also present my favorite. This might not be an alternative for everyone but for me it's perfect! Use the Bluestacks Player. It runs Android 2.3.4 and is very fluent and fast. Sometimes even faster than a normal device. The only downsize is, that you can just test Apps on the API Level 10 and just on one screen size, but it's perfect just for testing if it's working or not. Just connect the Player with the adb by running
adb connect 127.0.0.1
After compiling it installs instantly. Very impressive, considering I have a rather average computer hardware(dual core with 4 GB of RAM)
I've found android-x86 image on VirtualBox many times faster for deployment than an emulator running on same machine, sometimes even faster than a USB device.
EDIT
Please use the android image provided by vmlite, not the one provided by android-x86, and refer to this important question: How to change the screen size of vmlite android?
Actually, I absolutly never use the Emulator, which is way too slow in every situations.
I test and debug my apps directly on real devices (and use the ADB screenshot features when I have to pixel-check some screens..)
Hope this helps...

Testing Android apps on device

What is the recommended way of testing an app on a device? The emulator is slow, mostly unresponsive and a cpu beast on my machine, so I use my phone to test my app. When I make a change to code, Eclipse builds it automatically, and then I debug it on the device. Is this the most efficient way to test small changes in code?
Android has some information on testing here. Personally I've found that testing code is much faster on a device. Other options without a device is to use something like Android x86 and run it in virtual environment like VirtualBox - this can be faster than the emulator. In my opinion, to really make sure your application is working as expected (especially with graphics and memory usage) is to test with the device(s) you intend to deploy the application on.
That's how I test my code, the emulators and on an actual device are the only ways I know of. I usually use an actual device, but I think you can keep an emulator running to speed up time a bit, but not too much.
It's in my opinion a good way to check the general functionality of your application. If everything works fine, I would use the emulator to check with different versions of android/screen sizes/resolutions etc. Maybe you can ask a friend who has a more powerful PC. The best possible thing is of course that friends/family/relatives etc. own Android devices so you can test your application / let it be tested on real devices.

How do I get started with developing for Android without an Android phone?

More or less as it says on the tin.
Before I even contemplate downloading the SDK, I was wondering if there was any way of testing Android apps that I'd write without an Android phone available to me? I'm unsure as to whether or not the tools that come with the SDK come with an emulator like VS does for Windows Mobile.
Sorry if this is a stupid question, but maybe I'm searching for the wrong thing.
Edit I don't suppose there's anything that'll let me write widgets on/for an emulated version of the interface HTC use on the Hero/G2 either is there? Not that it would matter that much.
There's an emulator available as part of the SDK.
http://developer.android.com/guide/developing/tools/emulator.html
I'd add that the emulator is really quite comprehensive. Things like camera previews don't actually display camera data, but they put block animations in their place. All in all it's one of the best mobile emulators I've seen to date. Probably better even than gasp the iPhone simulator.
As said above there's an emulator available,however with larger apps it gets fairly tedious to use the emulator.Its fine for learning the ins and outs but id suggest investing in an android phone once you've got a good grasp of the sdk,it really does make a difference!.

Categories

Resources