Android :: Use Eclipse TPTP Profiling Apps?
Jun 24, 2009Can I use Eclipse TPTP (Test and Performance Tools Platform) to profile android applications?

Can I use Eclipse TPTP (Test and Performance Tools Platform) to profile android applications?
How do we profile an android application's memory ?
View 2 Replies View RelatedOne of the new features mentioned in the 1.5 SDK is "Easier application performance profiling". Can somebody shed some light on what new profiling features are available in the new SDK? Are those enhancements to TraceView, DDMS, or new profiling APIs ?
View 2 Replies View RelatedCan you please tell me how can I do memory profile for an android application? I want to find out how are the objects created and where did those created.
View 1 Replies View RelatedI need to find where the bottlenecks are in my Android app.
What profiling tools or techniques can I use?
I've been running Eclipse on Mac OS X for android development. Since I'm new to eclipse I'm not sure how to profile my apps. Especially Memory usage. Could some one guide me to a direction please?
View 16 Replies View RelatedI'm the developer of PowerTutor, a power profiling tool for the system. This tool profiles the system power consumption and decomposes power consumption on hardware components (e.g. LCD, Wi-Fi, CPU and etc.). It also assigns power consumption to individual application as the application is running alone in the system. In this way, it could potentially help developers to profile the app and detect energy inefficiency usage behavior in the application.
More details could be found at http://powertutor.org.
Note that PowerTutor is free to download and no advertisement is embedded. I'm posting this here to so that the Android community can be aware of it. Any one who cares about power consumption of their applications will find it useful.
I have a requiirement of finding out the max RAM usage of my application. I tried installing the Memory Profilers in eclipse but I was not able to use it with my application. Please let me know how can I find the RAM usage of my application on the 'emulator'.
View 4 Replies View RelatedHow do I find out how much memory my openGL application is using at any given moment, including sounds, textures, and everything else? I've been wrestling with DDMS for hours and all it seems to show me is basic object allocation counts. I must be missing something, but I haven't had any luck searching. LONG VERSION: I've got an otherwise operational beta Android game which crashes out after a while on my device (Droid X). I'm fairly sure my problem is that my textures are not being properly cleared from memory. I'd like to confirm this fact before I start blindly making changes. My game does fairly frequent level transitions. During these transitions I typically dump a texture file, wait a bit, then load a new one.
Over time the application performance degrades. After 10 or so transitions frame rate starts to take a nose dive. 10 or so more and it usually dies. Prior to dying I see log messages like this: 08-23 12:26:58.038: DEBUG/Cursor(1265): fillWindow is not executed because Cursor object is closed. 08-23 12:27:27.186: INFO/ActivityManager(1239): Low Memory: No more background processes. And then eventually: 08-23 12:27:46.952: INFO/ActivityManager(1239): Process com.thup.lunchbox (pid 4927) has died. There are no specific error messages of any sort. I've got lots of ideas for things to try to fix this (e,g, glDeleteTextures), but I really want a way to measure before I start trying to fix.
I started my emulator with ./emulator -trace profile -avd emulator_15. I then tracked down the trace files to ~/.android/avd/rodgers_emulator_15.avd/traces/profile, where there are six files: qtrace.bb, qtrace.exc, qtrace.insn, qtrace.method, qtrace.pid, qtrace.static. I can't figure out what to do with these files. I've tried both dmtracedump and traceview on all of the files, but none seem to generate any output I can do anything with.
How can I view the proportion of time taken by native method calls on Android?
My game - Tower Raiders - is continually floating fairly close to running out of bitmap memory. Unfortunately, I haven't found good information on profiling bitmap memory usage so that I can optimize / make informed decisions / add new content if it allows / etc.
I'm aware that bitmap memory is not heap memory, as it's allocated natively. But that it is accounted for somehow in the VM and influences garbage collection. Maybe it's an oversimplification of how bitmap memory works - but I'd like to find a tool etc or some way of determining I as the game is running right now, there are no more than X bytes of usable bitmap memory remaining.
So, if anyone has any advice etc that would help me in these respects I would greatly like to hear about a workflow for this.
Is there a way to let eclipse compile always a signed app and run it on the mobile/emulator
I nearly never use debug and so always when i switch between my developing app and the app i publish i have to deinstall the app. quit nerving.
Would be way cool if there is an option to automate the signing so i always work with the same packet.
At first, I thought it was just a problem with my code, but I've since discovered that this problem applies even to the default, unmodified app templates I can choose from when creating a project in Eclipse. Every app only takes up a fraction of the screen. Here's my layout for an example, but again, it affects all of them:
CODE:.....
The specified screen resolution is, as in the droid, 854x480. It shows up in the emulator in horizontal or vertical mode. The map starts about a third of the way from the left and ends about a third of the way from the right. It starts at the top and ends about a third of the way from the bottom of the screen. I have no clue why that would happen, as I specified "fill_parent".
I've tried a variety of things. I switched to a linearlayout, as one page I saw recommended. I tried spelling out absolute layout widths. I tried all sorts of stuff. The map stubbornly remains surrounded by black on all sides. One thing I noticed was that when I specified widths and heights that were really large, way bigger than the screen, the map showed up as pure white instead of as a map. But it still had the black all around the map as described above. The title bar likewise is truncated by the black bars on either side and only takes up 1/3 of the width, whether in landscape or portrait mode.
The apps that come by default on the emulator take up the fullscreen, but everything I install from Eclipse does not.
I recently got into programming as a result of attending a summer camp where we wrote a rudimentary Android app using AppInventor (fantastic program to start programming by the way).
Anyway, I decided to dabble in some real programming for Android, and I hit a (minor) hurdle. As I was going through the Android Developer tutorial, I tried to run the app on my phone. Eclipse threw this at me:
[HIGH][2013-07-16 02:36:43 - MyFirstApp] Uploading MyFirstApp.apk onto device 'HT26FHX05561'
[2013-07-16 02:36:43 - MyFirstApp] Installing MyFirstApp.apk...
[2013-07-16 02:36:44 - MyFirstApp] Success![code].....
Except NOTHING happened on my phone. No app popped up, nothing in my app drawer, nothing happened. I have USB Debugging enabled, I've used ADB with this phone and laptop at least a thousand times, and I've even been in fastboot. Why Eclipse says everything is okay, but it really isn't?
I am trying to profile native android code, but I am getting the following error.I am running the code on a linux machine.
CODE:............
If anyone knows how to debug this issue...
I want to get started with an Android application but can't download the plug-in.
Anyone know where else I can get this?
I can't seem to get anything back from https://dl-ssl.google.com/android/eclipse/ - even accessing from a browser just gives a 404.
View 6 Replies View RelatedI would like to know whats some free ringer apps? browser apps? fb apps? music apps? and theme apps?
View 4 Replies View RelatedI would like to know how and where I can get the latest Eclipse "AKA CocoaClipse" beta. I can't find the file and would appreciate a link to the DMG Directly. Being Visually Impared I have no luck with the Carbon Build of Eclipse.
View 3 Replies View RelatedI am having problems with Eclipse (3.5.x Galileo) crashing after installing ADT 0.9.7, so I want to try a downlevel version of the Android ADT (with Android SDK r06_windows) to better isolate the issue. When I try to 'check for software' at https://dl-ssl.google.com/android/eclipse/ I can only select 0.9.7? Is there a trick to get the older version or an archive of the older version?
View 3 Replies View RelatedI am running Eclipse Galileo on an Intel Mac and after using it for a bit, it becomes very slow. By slow I mean switching between tabs and scrolling through source becomes nearly unusable. I have to close Eclipse and re-open it, and that usually only solves the problem for a short time.
View 11 Replies View RelatedI have mostly been avoiding debugging when I can because of these two problems, so hopefully someone here has suggestions to avoid them:
1. It seems that I have to build the SDK (`make sdk`) and copy it off to a directory for Eclipse to use almost every time I want to debug. I haven't followed through the "sdk" directive, so I'm not clear on why this is necessary instead of just having Eclipse read from the source in my directory. Isn't there some way for it to do this? FYI: I have a (modified) full checkout of Donut, not just the SDK.
2. How can I debug without using Eclipse? I would really like to be able to use something like gdb/jdb.
I'm trying to develop plugin for eclipse that should draw my custom view inflated from XML. Everything works fine until eclipse tries to instantiate any class from android.jar library. It fails with Runtime exception without any other helpful information (stub!).
View 2 Replies View RelatedI am using a laptop with Windows 7 Home Prem x64. I have installed Java JDK1.6.0_18 and Eclipse Gallileo. I have downloaded and installed the latest version of Android SDK with several Platforms loaded and a AVD defined. I can install the Android Eclipse plugin from the remote site stated in the instructions. The plugin installation performs without any errors and I can verify that the plugins are indeed installed. My problem begins when I go to Windows -> Preferences, there is no Android section to configure. And when I go to File -> New -> Project, there is no Android Project to choose. I have uninstalled the plugin and reinstalled at least 10 times, trying different things and still no luck. I originally had the 64 bit version of the JDK installed, but removed it and installed the 32 bit version. Is it because I am using Windows 7?
View 3 Replies View RelatedI've installed the android SDK, Eclipse and the ADT plugin (got all the latest versions from the official websites: eclipse 3.4.2 from which I installed the ADT plugin and SDK 1.1_r1 from google).
I've set the SDK in eclipse and also added it to the PATH environment variable (I'm running Win XP SP2) and have entered the necessary Run configurations settings in eclipse.
Yet trying to open each of the sample projects and create a Hello Android project of my own consistently gets the following error from eclipse: R cannot be resolved.
I still don't know much about the framework but have read that the R.java is suppose to be generated automatically. Eclipse suggests adding an import to android.R, but the tutorial I'm reading seems to have no such import and even if I add the import the problem persist as the 'main' class simply isn't there.
I've changed the relevant code so to omit the use of the R class from this:
public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main);
to this:
TextView tv = new TextView(this); tv.setText("Hello, Android"); setContentView(tv);
While this did make the aforementioned error go away I still couldn't run the project since eclipse doesn't seem to work well with the ADT plugin (that's my guess at least) and the doesn't build the project.
When I Run it I get the following output on the console:
[2009-03-08 09:19:09 - Hello Android] ---------------------- [2009-03-08 09:19:09 - Hello Android] Android Launch! [2009-03-08 09:19:09 - Hello Android] adb is running normally. [2009-03-08 09:19:09 - Hello Android] Could not find Hello Android.apk!
The emulatore doesn't start of course. It seems to me like there's a problem with the ADT and Eclipse so that the projects aren't created properly (that R.java file is suppose to be created automatically according to what I've read).
In Eclipse, after I import an existing project, I don't see the "Android 1.5" directory. I see the libs, src, gen, etc, but I don't know how to get the Android one.
View 3 Replies View RelatedI use Eclipse for my development. The problem with it is, I find it incredibly memory hungry... it often takes ages to load up, when I save a file it hangs for a while (saying "Building workspace" in the bottom right hand corner), and is just generally slow.I wondered if anyone had any tips for streamlining it for Android. I don't use it for anything else (if necessary, I will install a separate instance for general Java stuff) so I can't help thinking there are lots of modules and stuff I could get rid of which may help it run more smoothly.
View 14 Replies View RelatedI am new application development. I am using Eclipse for making applications. When trying to create new project using Eclipse It is not creating simple res/drawable/ instead its creating three drawable folder. i.e. 1] drawable-hdpi 2] drawable-ldpi, 3]drawable-mdpi What is this all three for? General scenario as per Google it needs res/drawable/ to save icon image. Now on Eclise where to save icons? On all folder or?
View 4 Replies View RelatedAccording to official documentation Google says that "Once you've defined your Drawable in XML, save the file in the res/drawable/ directory of your project." is the way to add a XML drawable to the project. But when I created the project ADT created 3 different drawable folders for mdpi, hdpi, and ldpi. So when I wanted to create my XML drawable, I right click on my drawable-hdpi folder and select "Add new Android XML file", and there I have to select what kind of XML file I want to create, but there isn't "drawable" to select. If I create new text file and save it as button_drawable.xml Eclipse says that there is an Error in the file and that It can't build my project.
View 3 Replies View Relatedwhen ever I'm running little program that I write on the emulator I'm getting: "Hello android, program_name" for example: I'm writing a little program could udp_client and I'm getting: "Hello android, udp_client" can someone tell me if this is the way it should be?
View 2 Replies View Related