I build an Android Application on my Nvidia Shield Tablet.
Now I want profile my application, not only to improve the performance but specially to analyze the power consumption.
I saw this link, but I really don't like this suggestion because is necessary root the device.
I installed Nvidia Gameworks and AndroidStudio to develop the application and my OS is Ubuntu 14.04.
I'm not expert about how to use profiling tools given by GameWorks so I would ask someone how to proceed to profile my application and investigate about power consumption.
I have not found easy and useful tutorials on the net so far
Thanks for the help.
I have tried Trepn Profiler, but for some reason it's not profiling the apps as it should on my Shield as it does on other devices. That said, it could be some weird setting on my devices, as overlay applications don't work well on my device in general. Thus, give it a try and see if the app works on your tablet. It does the best job for app power profiling on other Android devices, to my experience.
Related
We're starting exploring Xamarin.Form as a mobile development using Visual Studio 2015 on Surface Pro 2 machine with 8 GB RAM. We found that when we debugged/deployed into Visual Studio Emulator for Android. It takes a bit time to deploy.
I'm just wondering if we have a proper phone ie. Android device or iPhone will this make faster in term of deploying/debugging speed?
I'm appreciated your feedback.
Thanks
Isadewa
Sure when you use real device you are using the phones's cpu , Gpu , ram to run your app but when you try to use your pc every time you are starting a vm that takes resources from your computer and slows it down so you are probably using and ide and you may have some chrome tabs open so if you are that guy who open alot of chrome tabs , launch alot of apps at once defintly debug on your phone.
for sure testing and debuging your application on mobile device is much better for the reasons below:
Emulators are virtual machine that consumes memory and processing power from you computer which makes you computer much slower, which doesn't hapen when you debug on Mobile.
Mobile devices are better when your app is developed to consume and access mobile resources like camera , contact, push notification ... etc.
The only reason that you can make benefit of emulator , if you want to test your application on a specific mobile device and you don't have it for the moment , then I would prefer to configure an emulator with the specific mobile aspects and test my app on it .
Definitely real device debugging fast as compare to emulatore because emulator taking lot of time to launch even though you configure different cpu, and more ram but real device will be feasible for debugging.
Prefer always real devices because its properly give response while debugging.
Hello
For Windows Phone I use Windows Phone Developer Power Tools and I'm looking for alternative for Android. I want to monitor cpu, ram, I/O and others parameters from Android device(or virtual devices) connected to my PC. There is some application that has features I'm talking about ?
With Android Studio Android Monitor you are able to monitor Memory, CPU|GPU and Network...
If you want something more elaborate we are developing a performance monitoring platform for Android and iOS you can use to know what's going on with your app performance in prodcution. Monitoring thousand of different users with different devices and different Android OS versions or your own app different verisons.
The platform is still under development but you can join the mailing list if you want to know when the final release is published.
Once we finish the project you could see something like this:
I am profiling a JNI Android Application . So far I managed to profile it with Android-NDK-profiler. It is very simple so I want to go further and get info of the hardware too, like cache misses, bus speed etc.
I have read that the NVidia Tegra profiler is very powerfull but there is not much info about the devices that support it. I know that it needs Tegra 4, and that for example this device supports it: http://shield.nvidia.com/.
The problem is thta it has no camara integrated so it is not valid for me.
Has anybody tried any device like a mobile or tablet that is compatible with Nvidia Tegra profiler??
normally any Tegra4 and K1 based device should work, but I would recommend the Shield/Note from Nvidia for your work, not only are they quit cheap, but their android is left very much vanilla (aside from some stylus things on the note) which makes it easier to work with.
There is also the advantage (so far) of a "usable" update policy.
I've developed an Android application and I'm running it on a android virtual machine in order to get a faster execution of my application, but how can I compare the virtual emulator performances to those of a real device?
Thanks
This answer may not be what your looking for. I dont think you can compare performance between an emulator and any real device. Firstly because your software isnt running on the target hardware. The emulator may be doing all sorts of additional things to make it look like that hardware. there will be layers of software running your software generally making your programme run slow.
The best thing you could do is do some performance profiling https://stackoverflow.com/questions/2713940/eclipse-java-profiler which would show you where bottle necks are and give you some idea of performance.
There's no real substitute for running on the target hardware. emulation will show you your software is functionally working but it may hide timing bugs it you have time critical code.
the virtualbox is just an emulater. it wont carry out the application's full preformance, as it has to go through multiple layers of software. for testing out apps, a real android device is necassesary.
Is it possible to install Android in a normal mobile phone?
I have Sony Ericsson Naite which has only key pad interface (No touch). I would like to install Android in my phone for experimenting with it. It will be great if its possible to dual boot Android with Symbian :-).
Do we need any other special hardware to install operating system in a mobile phone? Will Android work on a key-pad mobile?
Any pointer/suggestion is appreciated.
Thank you in advance.
The Naite is a fairly simple handset running on the Sony Ericsson JP8 platform.
End users are not supposed to be able to update the firmware on the phone.
Only Sony-Ericsson partners are supposed to get the PC software to update the firmware and only Sony-Ericsson is supposed to be able to create new firmwares.
(maybe you can hack the phone so you get it to boot on android or symbian but that's going to be unsupported behavior that nobody will guarantee)
If you want to experiment with creating your own android firmwares, I suggest buying an ADP2 handset from google.
If you want to experiment with creating your own Symbian firmwares, I suggest buying a Texas Instrument Zoom 2 device since it is the reference platform for Symbian.
The Zoom 2 seems to also support Android, by the way.
If you just want to experiment with application development on both platforms, I suggest using the two SDKs and emulators first.
There are some pretty cheap Symbian phones out there, particularly in the Series60 3rd edition range and, depending on where you live, you might even be able to find a Pay-As-You-Go Android phone like the Pulse.
I STRONGLY encourage you to go visit the XDA Forums and visit their Android sections for this kind of information.