Index: /trunk/autoquest-plugin-android/src/main/java/de/ugoe/cs/autoquest/plugin/android/AndroidLogParser.java
===================================================================
--- /trunk/autoquest-plugin-android/src/main/java/de/ugoe/cs/autoquest/plugin/android/AndroidLogParser.java	(revision 1802)
+++ /trunk/autoquest-plugin-android/src/main/java/de/ugoe/cs/autoquest/plugin/android/AndroidLogParser.java	(revision 1803)
@@ -26,4 +26,5 @@
 import java.util.List;
 import java.util.Map;
+import java.util.logging.Level;
 
 import javax.xml.parsers.ParserConfigurationException;
@@ -108,5 +109,5 @@
 	/**
 	 * <p>
-	 * internal handle to the parsed GUI structure, stored in a GUIElementTree
+	 * Internal handle to the parsed GUI structure, stored in a GUIElementTree
 	 * </p>
 	 */
@@ -115,5 +116,5 @@
 	/**
 	 * <p>
-	 * internal handle to the specification currently parsed for a GUI element
+	 * Internal handle to the specification currently parsed for a GUI element
 	 * </p>
 	 */
@@ -136,10 +137,5 @@
 	private List<Event> currentSequence;
 
-	/**
-	 * <p>
-	 * Internal handle to the event sequence that is currently being parsed.
-	 * </p>
-	 */
-	// private List<Event> currentSequence;
+	
 
 	/**
@@ -159,4 +155,9 @@
 	private Collection<List<Event>> sequences;
 
+	/**
+	 * 
+	 */
+	private Boolean showSteps = false;
+	
 	/**
 	 * <p>
@@ -288,10 +289,11 @@
 	public void startElement(String uri, String localName, String qName,
 			Attributes atts) throws SAXException {
+		showSteps("start element: " + qName, true);
 		if (qName.equals("sessions")) {
-			 currentSequence = new LinkedList<Event>();
+			currentSequence = new LinkedList<Event>();
 			if (currentGUIElementTree == null) {
 				currentGUIElementTree = new GUIElementTree<Long>();
 			}
-			
+
 		}
 
@@ -301,9 +303,8 @@
 			currentGUIElementSpec.setHashCode((int) currentGUIElementHash
 					.longValue());
-			
+
 		} else if (qName.equals("event")) {
 			currentEventId = atts.getValue("id");
 			currentEventParameters = new HashMap<String, String>();
-			
 
 		} else if (qName.equals("param")) {
@@ -346,5 +347,7 @@
 	public void endElement(String uri, String localName, String qName)
 			throws SAXException {
-		
+
+		showSteps("end element: " + qName, true);
+
 		if (qName.equals("sessions")) {
 			if (currentSequence != null) {
@@ -365,5 +368,5 @@
 			currentParentHash = null;
 		} else if (currentEventId != null && qName.equals("event")) {
-			
+
 			IGUIElement currentGUIElement;
 			currentGUIElement = currentGUIElementTree.find(currentEventSource);
@@ -373,9 +376,11 @@
 			// onclick event is processed as a mouse click
 			if (currentGUIElement == null) {
-				
+
 			} else {
-				
-				event = new Event(instantiateInteraction(currentEventId, currentEventParameters), currentGUIElement);	
-				ANDROIDGUIElement currentEventTarget = (ANDROIDGUIElement) event.getTarget();
+
+				event = new Event(instantiateInteraction(currentEventId,
+						currentEventParameters), currentGUIElement);
+				ANDROIDGUIElement currentEventTarget = (ANDROIDGUIElement) event
+						.getTarget();
 				currentEventTarget.markUsed();
 				event.setTimestamp(currentEventTimestamp);
@@ -406,22 +411,40 @@
 	 */
 	private IInteraction instantiateInteraction(String event,
-							Map<String, String> eventParameters) 
-			throws SAXException 
-		{
-		
-		switch(event)
-		{
+			Map<String, String> eventParameters) throws SAXException {
+
+		switch (event) {
 		case "onClick":
-			int x = Integer.parseInt(currentEventParameters.get("X"));
-			int y = Integer.parseInt(currentEventParameters.get("Y"));
+			/*
+			 * due to the reason that android uses float instead of integer it
+			 * is necessary to parse the float values to integer values
+			 * this is simply done by removing the dot
+			 */
+
+			int x = Integer.parseInt(currentEventParameters.get("X").replace(".", ""));
+			int y = Integer.parseInt(currentEventParameters.get("Y").replace(".", ""));
 			MouseButtonInteraction.Button button = null;
 			button = MouseButtonInteraction.Button.LEFT;
 
 			return new MouseClick(button, x, y);
-			
+
 		default:
-            throw new SAXException("unhandled event id " + event);
-		}
-
+			throw new SAXException("unhandled event id " + event);
+		}
+
+	}
+
+	private void showSteps(String message, Boolean ln) {
+		if (showSteps) {
+			if (ln) {
+				Console.traceln(Level.INFO, message);
+			} else {
+				Console.trace(Level.INFO, message);
+			}
+
+		}
+	}
+
+	public void setShowSteps(Boolean showSteps) {
+		this.showSteps = showSteps;
 	}
 
