Android :: DDMS - Lost The Tag Column

Jun 11, 2009

This is an incredibly dumb question. So, apologies. But I can't find the answer anywhere and it's driving me nuts.

In DDMS, I have lost the tag column, i.e. the first part of the message from Log.d(tag, message). I can see time, log type, process id, and message - but not tag!

Anyone know how to get it back? I've tried right-clicking the columns, looking through the menus, etc - no joy.

Android :: DDMS - lost the tag column


Android :: Select Max - Column - Returning Only Column Name

Jul 16, 2010

This has got me all confused! I'm trying to return the max value from a column in my database but the return value is always the name of the column.

The query I use:

private static final String SELECTMAX = "SELECT MAX(?) FROM " + TABLE_NAME ;

The (test) function to return the max value:

CODE:............

The column i'm querying is an INTEGER type but the result 's' is always the column name and not the desired value.

View 2 Replies View Related

Android :: Sdk - Jdk And Jre - Ddms

Dec 16, 2009

I am trying to debug my device from a windows system with no IDE, just the android sdk, jdk and jre. I am using the ddms to do so. I works fine. I can see the entries in the logcat in the ddms. Among others I can see 'Wrote stack trace to /data/anr/traces.txt". But when I select the Device->File Explorer... and try to open the data folder, there is nothing there. It looks like an empty data folder.

View 2 Replies View Related

Android :: Column Id Does Not Exist

Jul 29, 2010

the error in my logcat is such Logcat

08-29 08:20:57.961: ERROR/AndroidRuntime(1766): java.lang.RuntimeException: Unable to start activity ComponentInfo{one.two/one.two.Booking}: java.lang.IllegalArgumentException: column '_id' does not exist
08-29 08:20:57.961: ERROR/AndroidRuntime(1766): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2268)
08-29 08:20:57.961: ERROR/AndroidRuntime(1766): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2284).................

View 2 Replies View Related

Android :: SDK 2.0 Traceview In DDMS

Nov 20, 2009

I'm running the basic HelloActivity from the SDK 2. samples. When I try Trace view in the DDMS prespective its generate the trace file but can not opened. "'/sdcard/com.google.android.apps.uploader.trace': Permission denied". Do I need a permission to write in the SD card? 4:38.380: INFO/dalvikvm(10434): Debugger has detached; object registry had 1 entries 11-20 21:34:38.380: DEBUG/dalvikvm(10434): VM cleaning up 11-20 21:34:38.411: ERROR/AndroidRuntime(10434): ERROR: thread attach failed 11-20 21:34:38.466: DEBUG/VoiceDialerReceiver(1225): onReceive Intent { act=android.intent.action.PACKAGE_ADDED dat=package:com.example.android.helloactivity flg=0x20000000 cmp=com.android.voicedialer/.VoiceDialerReceiver (has extras) } 11-20 21:34:38.466: DEBUG/dalvikvm(10434): LinearAlloc 0x0 used 636716 of 5242880 (12%) 11-20 21:34:38.490: WARN/ResourceType(1015): Resources don't contain package for resource number 0x7f080000 11-20 21:34:38.490: WARN/ResourceType(1015): Resources don't contain package for resource number.....

View 4 Replies View Related

Android :: Add Column In Tablelayout

Oct 14, 2010

I had number of rows in my view now I want to add 2 columns for each row how to do this at runtime, I had tried but not succeed.

View 5 Replies View Related

Android :: Get Count Column

May 12, 2010

I'd like to get the value of Count column from cursor.

CODE:...............

I tried to get this count column value from cursor like below

Cursor cR = mDbHelper.getRCount(cplace);if (cR.getCount() > 0){long lCount = cR.getLong(0);}cR.close();}

I got the debug error. How to get it?

Could I use nested cursors?

View 2 Replies View Related

Android :: TableLayout - Row And Column

Mar 4, 2010

I want to design a table whose first column items remain fixed when user scrolls horizontally, but should scroll when the user scrolls vertically. Similarly the first row items remain fixed when user scrolls vertically, but should scroll when the user scrolls horizontally. Can this be achieved using a TableLayout? Or is there any other combination of widgets that I could use?

View 2 Replies View Related

Android :: SQLiteException - No Such Column -1

Jan 1, 2010

One of my android apps performs the following specific SQLite query:

CODE:................

Now that works on some Android phones, but on a few of them it crashes with the following error:

CODE:..................

For some reason, "-1" is interpreted as a column rather than a number... that doesn't make much sense and when I read the SQLite query language I see no need to escape this number in parentheses. Could it be an issue of a different version of SQLite? Would adding parentheses this help any? Instead, I'll probably rewrite it using >= 0 but still I'd like to understand what's going on.

View 1 Replies View Related

Android :: Column _id Does Not Exist

Jul 29, 2010

I'm having trouble with something that works in the Notepad example.

Here's the code from the NotepadCodeLab/Notepadv1Solution:

CODE:.................

This code seems to work fine. But just to be clear, I ran the adb utility and run sqlite3 I inspected the schema as follows:

CODE:...............

All seems good to me.

Now on to My App, which as far as I can see is basically the same with a few minor changes. I've simplified and simplified my code, but the problem persists.

CODE:..............

When I run my app, I get a RuntimeException and the following prints in LogCat from my Log.e() statement:

LogCat Message: java.lang.IllegalArgumentException: column '_id' does not exist

So, back to sqlite3 to see what's different about my schema:

CODE:.................

I don't see how I'm missing the '_id'.

Can anyone point out what I've done wrong?

One thing that's different between my app and the Notepad example is that I started by creating my application from scratch using the Eclipse wizard while the sample app comes already put together. Is
there some sort of environmental change I need to make for a new app to use a sqlite database?

View 1 Replies View Related

Android :: Two Column Table

Jul 29, 2010

I'm not big into UI programming so this may be an easy thing I overlooked. I am trying have a screen that shows 8 TextView in a 2 column x 4 row table. And, of course, I want the TextViews, that might have different lengths, to be centered. I tried this in a table layout, for obvious reasons but I feel like this is not the way to do it because it doesn't have much control where I put everything once it is in a row. Should I be using a different combinations of layouts or is there something I overlooked.

View 2 Replies View Related

Android :: Ddms And Emulator?

Oct 9, 2009

I'm new to eclipse and android, so I have not the correct experience, by now. I'd like to know which are the tipical debugging methods.

emulator ddms junits

I'd like to do step-by-step using eclipse-rcp, emulator and ddms.

I can see in DDMS perspective the thread of Helloworld example running.

I change perspective to debug and I set breakpoint, but the application doesn't stop.

View 4 Replies View Related

Android :: DDMS Won't Start?

Jul 12, 2010

Probably a stupid question with an obvious answer, but I can't figure it out by myself. Tutorial (http://source.android.com/source/using-eclipse.html) says to go to the root of the downloaded platform, and first start emulator (it starts successfully), and then run $ddms.

But when I'm trying to do so, it fails: ~/mydroid$ ddms No command 'ddms' found, did you mean: Command 'dkms' from package 'dkms' (main) Command 'xdms' from package 'xdms' (universe) Command 'dds' from package 'dds' (universe) ddms: command not found

View 2 Replies View Related

Android :: DDMS GPS Triggers Exactly Once

Sep 16, 2009

I'm having a problem where I am able to update the location in the Android Emulator from the Eclipse DDMS exactly once per time an activity is loaded, but no more.

I discovered the problem in my application where Activity2 (which accesses the GPS) is started by Activity1 (which doesn't do anything particularly interesting); when Activity2 is started, I can update the GPS position using the Manual input in Location Controls in the DDMS and everything works fine. However, then I get a LogCat message "TTFF: XXXX" where XXXX is an apparently random number, and then the GPS will no longer update. However, if I click the Back button in the emulator to return to Activity1, and then use Activity1 to restart Activity2, I can enter a new GPS location. But, I can't enter a second one; tries to do so result in no apparent action. My application works perfectly well on a real device with a real GPS signal.

To test things further, I closed and reopened the emulator, immediately closed my application (from Activity1, which doesn't do anything besides load an XML layout and attach an onClick listener to a button), and loaded Google Maps. I observed the same behavior here; I could send one position that Google Maps would respond to, but any subsequent attempts to update position fail. When I close Google Maps and reopen it, I am able to send exactly one more location update from DDMS.

The distance between my subsequent location updates is usually 0.02 degrees, but I have tried it with up to 5 degrees also. My application does not use ACCESS_MOCK_LOCATION because I want to switch back and forth between testing on a physical device and testing on the emulator without having to update the manifest for each build, plus it seems like setting a permission for my application shouldn't have anything to do with Google Maps on the emulator.

I would try loading up a GPX path, but the DDMS seems broken there too: http://groups.google.com/group/android-developers/browse_thread/threa...

View 2 Replies View Related

HTC Eris :: What Exactly Is The Ddms In Android SDK

Jun 24, 2010

What does the ddms do? I see it is the Dalvik Debug Monitor, but what does it do? I have my phone plugged in and it is just zooming along. I am not touching any buttons on the phone, and it appears the phone is asleep.

View 2 Replies View Related

Android :: KLM File That Works In DDMS

Oct 19, 2009

Could anyone upload a small example file that will work? Every file I've tried fails. Is this function completely broken? All attempts result in no points being listed. No errors reported.

View 4 Replies View Related

Android :: DDMS - File Explorer

May 26, 2009

In the DDMS, I had used FileExplorer and visited /data/app folder to see the .apk files installed in the emulator. After that I had minimized the data folder and thus stopped that process.

But I am observing that this /data/app folder is opening again and again automatically. I dont know what is the reason and how to stop it.

View 2 Replies View Related

Android :: Where Is DDMS Allocation Tracker?

Nov 13, 2009

I can't find the DDms allocation tracker in the DDMS perspective in eclipse. I search the view doing Window > show view I look to the android view but i have no allocation tracker view there. I use search view tool and I can't find any Where is this View ? (If it's obvious, i am sorry because i reallu can't find it)

View 4 Replies View Related

Android :: Using Allocation Tracker In DDMS

Oct 4, 2010

I have an Activity that is running out of memory in CreateSurface. The logcat looks like this: 10-04 17:55:52. 574 : ERROR/SurfaceFlinger(1086): createSurface() failed, generateId = -12 10-04 17:55:52.574: WARN/ Window Manager (1086): OutOfResourcesException creating surface 10-04 17:55:52.574: INFO/WindowManager (1086): Out of memory for surface! Looking for leaks. 10-04 17:55:52.574: WARN/WindowManager (1086): No leaked surfaces; killing applicatons! 10-04 17:55:52.574: WARN/ActivityManager (1086): Killing processes Free memory at adjustment 0 I'm trying to use DDMS to figure out what's going on but when the application gets killed DDMS aborts the Allocation Tracker. Is there a way to cause the application to do a core dump and is there a tool for analyzing dumps? I have SDK version 8, which does not allow simultaneous use of DDMS and the Eclipse debugger so I need to get creative.

View 5 Replies View Related

Android :: Merge A Rows In Column

Jun 15, 2009

In my activity i am using table layout.I have 5 rows and 5 colums. To merge (or) span a columns in a row we use android:layout_span='2' I want to merge (or) span 2 rows in one column.

View 2 Replies View Related

Android :: Id Column In List Adapter

Feb 2, 2009

I am trying to use a list adapter. While querying, i need to have a column called "_id" which helps to scroll through the database. I have an other primary key in this table. Can I use a custom column name, or am i bound to the "_id" column.

View 3 Replies View Related

Android :: Aligning Right Column In The List

Dec 2, 2009

I am having multiple choice list where I have three column like below ************************* Col1 Col2 Col3 ************************* Col2 and Col3 should be right aligned with a gap of 10 px in between

code:................

View 3 Replies View Related

Android :: Add A Data Column To Contacts Db

Aug 6, 2009

Can I add a column of data to the Contacts db, such as birthday, favorite color, whatever. Or does the platform/ framework make this difficult? If possible, would I do it through the contacts content provider?

View 4 Replies View Related

Android :: ID Column In Contacts Database

Nov 12, 2010

I read that the different entries in different tables are linked via the _ID column in that table. For example a contact might have an _ID = 1 I get via

ContactsContract.Contacts._ID

And now I want to read the phone number of that contact using

CODE:.............

This works fine, but what I would expect is that if the _ID of the contact is 1 that the _ID of the phone number is as well one since they belong together, but they are not equal. So the question is how does Android match these entries?

View 1 Replies View Related

Android :: Bug In Eclipse Emulator DDMS?

Sep 30, 2010

I accepted that it was bug in Helios but I now find that I'm now getting the same error under Eclipse 3.5
When I send a location from the DDMS perspective using the emulator control tab. I have a standard listener:

onLocationChanged(Location location){...}

If I break on the first line of this, having sent the lat/lon pair of 53.5/-3.0 from the DDMS tab, then the mLatitude/mLongitude in the location argument have changed to 53.508833/-3.005000 (6 dec places only shown).
The Android SDK is 2.2 in both and the target is Google APIs level 7. Does anybody else experience this or could offer a possible explanation? (It amounts to quite a big error in terms of metres on the map.)

View 1 Replies View Related

Android :: Make Second DDMS Work On PC

May 16, 2009

When one person debugging android application on a PC, emulator-5554 <===> DDMS A <===> Eclipse A can communicate well. When the second person want to debug application on another emulator on the same PC emulator-5556 <===> DDMS B <====> Eclipse B. The DDMS B can't communicate to emulator-5556 rightly. Seems emulator-5554 and emulator-5556 both controlled by DDMS A. How to resolve this problem?

View 4 Replies View Related

Android :: Getting All Of Long String In DDMS?

Mar 29, 2010

I'm getting a server response back in ddms,But I'm finding that ddms logs only show about the first 50 lines of the response,then cuts everything else off, which isn't very helpful,since it means I can't see any of the useful info. I don't have much control over the content of the response it's a standard Django debug page, i.e. quite long. Does anyone know how I can get ddms to show the whole thing?

View 5 Replies View Related

Android :: Nexus One DDMS Only Two Processes

May 1, 2010

I'm having trouble using the nexus one in DDMS on Fedora 12. It is detected fine and I can see two processes, cooliris and uploader.These are the only two that show up. The emulator shows up just fine and i can debug from there. Does anyone have suggestions on how to get the nexus to connect properly?

View 2 Replies View Related

Android :: DDMS Does Not List Processes

Feb 15, 2009

I've been trying to locate some excessive object creation to deal with hiccuping caused by the garbage collector (any word on upcoming improvements to this, btw?), and have discovered that DDMS is the tool for the job.I shut down eclipse and booted up DDMS, and it finds my device, but lists no processes running (no matter what I run).Initially, it did list the "powermanager" app that I had installed, so I assumed this was causing some kind of conflict and uninstalled it and rebooted my device.Now it simply lists no processes.

View 4 Replies View Related

Android :: Why Won't DDMS Launch For Phone?

Jun 19, 2010

I have searched and searched for help and am not finding anything. Well i take that back I have found countless guides on how to do it. tried many of them, didn't work, deleted everything, tried another , didn't work so now I am asking for help.I am trying to do screen captures using the SDK and eclipse and whatever else the guides say to download. Whenever i double click the ddms file a command box flashes up on the screen for a split second and thats it . Can't go any further if the commab box won't stay up. I think a windows window is supposed to pop up after that so I can choose my phone.

View 3 Replies View Related







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