Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I am working with automation.I want to start DDMS through my program and take the heap dump of the application programmatically . That is,instead of the clicking on the heap dump button i want to take the dump through program.Is that possible? how?
Use Debug.dumpHprofData(String) to generate a heap dump.
Dump "hprof" data to the specified file. This may cause a GC.
No DDMS needed.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
Facing out of memory issue when shows large thumbnails in each row of listview.
Clearly you're doing this wrong. Android gives you an extremely limited memory space. You should show thumbnails in your listview and only load the full images into memory (from the sdcard) when they've been selected. Also remember to recycle() your Bitmaps if you're loading them manually.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
Hey friends,i am doing one android application:
-in that i want to read value from the users during an installation of application.
if any code for that please share a code and steps
Thank you.
in that i want to read value from the users during an installation of application.
This is not possible. Your app will not run at all until the user runs it from the home screen's launcher. At that point, you are welcome to prompt the user to supply you with information.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
How do I automatically categorise an android application ? I need to write a code to do it.
There exists an api & android application CatApplus http://forum.xda-developers.com/showthread.php?t=1419810.
But it is not freely available.
Can anyone suggest any alternative or any other way to solve this problem ?
You can use this api to get apps category then you categorize them the way you like.
Android-market-api
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
How can I trace the path of an SQLite database created in an application in android? Can anybody have any better suggestion?
Use getDatabasePath(DataBaseHelper.dbName) to get the absolute path on the filesystem where a database created
See docs
Example
Log.i("Data base path",getDatabasePath("name_of_yourdb.db").toString());
Here is the path :
data/data/Application_Name/databases/
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
In my application i have a share option. when i clicked on that will show a list of applications, If i selected on of the application then that application will be stated.
Now from that application if user select share and touch my app icon then that shared information needs to be shown in my activity is this scenario possible in android? if possible what is the best of doing this.
Here are three easy lessons: Sharing Content.