How to download android source code in windows machine

by Abhijeet Rukmangad » Wed, 17 Feb 2010 05:12:31 GMT


Sponsored Links
 Hello,

Any Idea how to download Android code on a windows machine..?

It is mentioned on google site that code cannot be downloaded on windows
machine.. So Is there any torrent available for same..?

please let me know if anyone of you has downloaded the source code on
windows machine..?

Thanks in appreciation !!

-- 
Best Regards,
Abhijeet Rukmangad

--



Other Threads

1. Unit Tests

Hi,

I am having problems with the Unit test framework. I have the
following files in the "tests" directory:


AndroidManifest.xml

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.fryit.pkh.tests"
    >

    <application>
        <uses-library name="android.test.runner"/>
    </application>

    <instrumentation
android:name="android.test.InstrumentationTestRunner"
        android:targetPackage="com.fryit.pkh"
        android:label="Unit Tests"
    />
</manifest>


src/com/fryit/pkh/AllTests.java:
----------------------------------------

package com.fryit.pkh;

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();
    }
}


src/com/fryit/pkh/test/SanityTest.java:
-------------------------------------------------

package com.fryit.pkh.test;

import junit.framework.Assert;

import android.test.AndroidTestCase;
import android.test.suitebuilder.annotation.SmallTest;


public class SanityTest extends AndroidTestCase {
    @SmallTest public void testSimpleAssert() throws Exception {
        assertTrue(true);
    }
}


After installing both the main app "com.fryit.pkh" and the tests
"com.fryit.pkh.tests", I try to run the tests, but get the following
error:

$ adb -e shell am instrument -w com.fryit.pkh.tests/
android.test.InstrumentationTestRunner
INSTRUMENTATION_RESULT: shortMsg=Unable to instantiate instrumentation
ComponentInfo{com.fryit.pkh.tests/
android.test.InstrumentationTestRunner}:
java.lang.ClassNotFoundException:
android.test.InstrumentationTestRunner in loader
dalvik.system.pathclassloa...@44e7a8b8
INSTRUMENTATION_RESULT: longMsg=java.lang.RuntimeException: Unable to
instantiate instrumentation ComponentInfo{com.fryit.pkh.tests/
android.test.InstrumentationTestRunner}:
java.lang.ClassNotFoundException:
android.test.InstrumentationTestRunner in loader
dalvik.system.pathclassloa...@44e7a8b8
INSTRUMENTATION_CODE: 0


Where am I going wrong?

Regards,
Keean.

-- 

2. screen size compatibility

Hi,

I want to make my app compatible to different screen sizes. I am right
now developing on the Droid and need to know how can I import the
screen image on eclipse emulator? I don't have a droid phone but want
to make sure my app layout doesn't change on the Droid.

Any suggestions?

Abhi

-- 

3. LocalServiceBinding.java

4. Customising Spinner Popup Lists (horizontalDivider)

5. DB location

6. Detecting the presence of a mute switch

7. when do we get "Timeout of broadcast BroadcastRecord" message?