Posts mit dem Label Android werden angezeigt. Alle Posts anzeigen
Posts mit dem Label Android werden angezeigt. Alle Posts anzeigen

Donnerstag, 20. Mai 2010

Google I/O 2010 - Day 1 ... and the Android day?

As an Android developer Day 1 of Google I/O was not that interesting. Of course the parts of HTML5 and the opensourced Video-Codec WebM (VP8 + Vorbis) were pretty killer but there hasn't been a single real word  about Android.



So I got the confirmation today May 20th, 2010 is going to be the Android day. Also there is going to be
... more than one surprise!
 What crazy amazing Android stuff can expect in today's keynote? This is the most probable stuff:

  1. Android Froyo 2.2
    1. JIT Compiler
    2. An Update to the Android Market?
    3. Solution to the Android Fragmentation
  2. Google/Android for TVs. Codename Dragonpoint
  3. Official Android Tablet
  4. so much more...
Google even made the keynote start 30 minutes earlier - an indicator to that all they want to show is going to make their timeframe pretty much explode.

If you are as excited as I am, stay tuned for a live stream of the day 2s keynote at: http://www.youtube.com/user/GoogleDevelopers

Sonntag, 16. Mai 2010

Android controlling 6 legged robot!

Today I dusted off my closet and found my old robot 'AMSEL' (Autonomous Mobile Spider Electrical Locomotion) that I had built right before I ever had been taught anything about Computer Science.


Meanwhile I was missing my Android action figure - I found it in a symbiosis with my robot!!!


The only conclusion a rational thinking mind can make:
Androids are going to take control over the whole world!!!

Mittwoch, 12. Mai 2010

Android JUnit Test Runner - java.lang.ClassNotFoundException

Today I've been setting up a test project for my upcoming android-project. First thing I did was using the Eclipse wizard to create a new Android test project for an existing android project.
I quickly threw in a TestSuite that would run all Tests 'below' the current package...
package org.anddev.andengine.test;

import junit.framework.Test;
import junit.framework.TestSuite;
import android.test.suitebuilder.TestSuiteBuilder;

public class AllTests extends TestSuite {
 public static Test suite() {
  return new TestSuiteBuilder(AllTests.class).includeAllPackagesUnderHere().build();
 }
}
... and a dummy TestCase ...
package org.anddev.andengine.test.bla;

import junit.framework.Assert;
import android.test.AndroidTestCase;

public class SomeTest extends AndroidTestCase {

    public void testSomething() throws Throwable {
       Assert.assertTrue(1 + 1 == 2);
    }

    public void testSomethingElse() throws Throwable {
       Assert.assertTrue(1 + 1 == 3);
    }
}

Either running the Android test project right from Eclipse or from the command-line resulted in:
E:\sdk\android\tools>adb shell am instrument -w org.anddev.andengine.test/android.test.InstrumentationTestRunner


INSTRUMENTATION_RESULT: shortMsg=Unable to instantiate instrumentation ComponentInfo{org.anddev.andengine.test/android.test.InstrumentationTestRunner}: java.lang.ClassNotFoundException: android.test.InstrumentationTestRunner in loader dalvik.system.PathClassLoader@4001b4f8
INSTRUMENTATION_RESULT: longMsg=java.lang.RuntimeException: Unable to instantiate instrumentation ComponentInfo{org.anddev.andengine.test/android.test.InstrumentationTestRunner}: java.lang.ClassNotFoundException: android.test.InstrumentationTestRunner in loader dalvik.system.PathClassLoader@4001b4f8
INSTRUMENTATION_CODE: 0

So what was the problem and how did I fix this?

Due to the fact that the project I wanted to test was a kind of libary, which had no need for an application or activity tag or similar i had deleted it from the AndroidManifest.xml, like this:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
 package="org.anddev.andengine"
 android:versionCode="1"
 android:versionName="1.0">

 <uses-sdk android:minSdkVersion="4" />
</manifest> 
... so the only thing I had to change was an empty <application> tag to the AndroidManifest.xml !
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
 package="org.anddev.andengine"
 android:versionCode="1"
 android:versionName="1.0">

 <uses-sdk android:minSdkVersion="4" />
 <application />
</manifest> 

Hope this helps =)

Best Regards,
Nicolas

Sonntag, 7. Februar 2010

Mobile World Congress 2010 - Barcelona

Hi guys,

I have good news (for me =P)!
Some days ago Google opened the Sign-Up for their Android Developer Labs on the Mobile World Congress. I decided to apply for that technical session amongst other Android developers, knowing I would never win anything. The even better thing about this was that 'winners' would also receive a Complimentary MWC Pass worth $700 !

Et voilà - a few days later I had the invitation in my inbox!

Be sure I'll take some great pictures of never before seen gadgets, talks and people with my new Canon EOS 450D!

Best Regards,
Nicolas

Mittwoch, 27. Januar 2010

Multitouch Graph Solving Game - or - Math Can Be Fun!

Hello folks,

in long long ago 2009 I had that little project with a multitouch-table, which I think might be worth sharing. Actually it handles the problem making a so called graph planar.
Don't run... it's a math problem! But its fun!


The videos show best how it is played...






On the project blog you can find valueable information (in German, sorry) about the project, what tools were used and how the lightning was setup up.

You can actually download it (for free) from the Android Market if you have a supersized multitouch table to call your own:

Cheers,
Nicolas