Simulate incoming call with Android emulator

September 14th, 2010 by Christian 1 comment »

First be sure that an emulator is running.
Then open up the console with Start >> Run (or press Windows + ‘r’) and type in ‘cmd‘.
This will bring you to something like:

 

Like shown above, type in ‘telnet‘ and press enter. The result will look like:

 

Here type in ‘o localhost 5554‘ as shown here:

 

This will establish a connection to the emulator.
You can see the port number to be entered in the title bar of the emulator window.
If this succeeds, it will open the Android Console:

 

Here you can use all kinds of commands.
To simulate a call, type ‘gsm call 066712345‘:

 

The result is an incoming call at the emulator:

 

To cancel the call, type ‘gsm cancel 066712345‘.
See http://developer.android.com/guide/developing/tools/emulator.html#telephony for more information about gsm operations.

Use ‘exit‘ to exit the Android Console and ‘quit‘ to quit telnet.
Hope that helps!

Level Master 2000 is live@google code!

August 23rd, 2010 by Christian 1 comment »

Level Master 2000: Logo

Level Master 2000: screenshot0001

Level Master 2000: screenshot0001

Today I prepared the initial launch of Level Master 2000 at google code: http://code.google.com/p/levelmaster2000/. There are still a lot of features missing, as the project page states:

August 24th, 2010. Commited as is. Consider this more a preview/announcement rather than a real release. A major restructuring will occur within the next months, but anyway – here it is!

Nevertheless, it’s a good feeling finally having it on air and getting some feedback!

Android & Eclipse “Could not find *.apk”

August 21st, 2010 by Christian 4 comments »

If you’re using Eclipse to develop Android applications and get the error:

[2010-08-16 19:56:41 - xxx] ------------------------------
[2010-08-16 19:56:41 - xxx] Android Launch!
[2010-08-16 19:56:41 - xxx] adb is running normally.
[2010-08-16 19:56:41 - xxx] Could not find xxx.apk!
[2010-08-16 19:58:04 - xxx] ------------------------------

after importing a project (maybe doing some reconfiguring), just remove the project (only the project from Eclipse, not from disk!).
Then simply re-import it and it should work again!

Update March 14th: according to Sean, you can get this error also by having the emulator already running and changing the project SDK. The solution then is to close the emulator and run it again from eclipse. Thanks for the info!

Level Master 2000: OSX test succeeded!

August 15th, 2010 by Christian No comments »

Since I use Qt and Qt Creator, I thought: “why not try a OS X build?”. I didn’t plan to invest much time in it, as time is rare, but I was simply too curious to resist. So I installed Qt SDK and Qt Creator on a Mac, opened up the Level Master 2000-project and…. CRASH =)
Qt Creator reported, that some files couldn’t be found, but when clicking on the include statement in code, the path seemed to be correct, as I could open the header file with F2.
So here’s what fixed it:

  1. Clean all targets
  2. Regenerate the qMake file via Qt Creator
  3. Rebuild the project
  4. Install the latest Flashplayer and add the app/AS3/bin directory to Flash Player’s local trusted

That was it! See for yourself:

Level Master 2000: running on OS X

Level Master 2000: running on OS X

The GUI needs a bit work though (e.g. the “delete entity” button), but all in all I’m really impressed how easy this was.

I am on twitter now…

August 10th, 2010 by Christian No comments »

For a long time, I tried to not use it…but as with most trendy things, it sooner or later catches up to you. So I’m on twitter now: hr_zog – Follow me if you like! I might also implement a retweet function to my blog posts.