Archive for April, 2011

Android ViewMap example – a beginner’s very basic observations


I’m just got an eclipse project containing code coming from but with slight changes. I wanted to run it here to help with debugging some problems. As I had never written an android project I had some very basic “insights”.

  • I had to generate my own MapKey. I got the information for that from: . For now I only got a MapKey for my  debug.keystore . You need keytool for it and it’s part of the Oracle SDK within the bin folder
  • Sometimes I might have executed the main.xml that produced an main.out.xml. I had to delete that, when it was there.
  • I wanted to have a look at the main.xml. It was not perfectly formatted. As I wasn’t sure whether it was correct on an XML-level I ran Source/Format on it. Then I was able to see that it was actually correct.
  • I had an error symbol on my project and I could run it. There were, however, no errors indicated in the log. So I ran Project/Clean and it got rid of the problem. (From: )
  • Then I had the error log: No command output when running: ‘am start -n -a android.intent.action.MAIN -c android.intent.category.LAUNCHER’ on device emulator” specifically

eclipse.buildId=M20100909-0800java.version=1.6.0_24java.vendor=Sun Microsystems Inc.BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DEFramework arguments:  -product org.eclipse.epp.package.jee.productCommand-line arguments:  -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.jee.product

ErrorSat Apr 09 15:56:54 CEST 2011No command output when running: 'am start -n -a android.intent.action.MAIN -c android.intent.category.LAUNCHER' on device emulator-5554	at	at	at Source)	at Source)	at Source)	at	at	at	at	at	at	at	at

. told me to just delete it or clean the project.

I’ll publish this now and might come back later

April 9, 2011 at 2:29 pm Leave a comment

Blog Stats

  • 17,854 hits