Commit Graph

943 Commits

Author SHA1 Message Date
Android (Google) Code Review
f8a2fbab90 Merge change 9062 into donut
* changes:
  Adds call back to the SDK updater for SDK content notifications.
2009-07-29 17:45:11 -07:00
Xavier Ducrohet
9057041cf8 Adds call back to the SDK updater for SDK content notifications.
Make ADT reload the SDK when a new package is installed/removed through the
SDK Updater.
2009-07-29 17:36:21 -07:00
vchtchetkine
1db5502159 Copy legacy driver source code as a sample for custom USB drivers
The primary usage for this code is to provide vendors / customers who for some
reasons are not satisfied with WinUsb, with a sample custom driver code that is
compliant with our AdbWinApi.dll. So vendors / customers can build their own
custom USB driver that can be recognized by AdbWinApi, and can be accessible from
adb.exe
2009-07-29 16:25:34 -07:00
David 'Digit' Turner
eee1675aa4 Look for Android.mk in $(APP_PROJECT_PATH)/jni by default.
This gets rid of the 'sources' directory and allows all sources
of a given Android application to be in the same directory tree
without using a symlink trick.

Note that apps/<name>/Application.mk is still required though.
A later release of the NDK will get rid of it too, but the change
is too drastic for the upcoming release.

The change moves various source files from sources into their
app/<name>/project/jni directory as well.

The whole documentation is updated to reflect the change.
2009-07-29 19:04:44 +02:00
David 'Digit' Turner
197a8fea8e Add sample "san-angeles" program to demo OpenGL ES from native code.
Note that the app will only build against an android-4 SDK.
(Interestingly, the resulting binary runs very well under android-3).

This also adds missing license headers to the 'two-libs' sample.
2009-07-29 19:02:21 +02:00
David 'Digit' Turner
d7e5aaecd8 Add OpenGL ES headers to the android-4 platform/stable APIs. 2009-07-29 02:26:47 +02:00
David 'Digit' Turner
5c767bb977 Add android-4 sysroot and use project's default.properties to get the right target.
Note that for now, android-4 contains the same things than android-3.
Another patch will add OpenGL ES headers and libraries to it.
2009-07-29 02:26:31 +02:00
Xavier Ducrohet
91e0a8bb9c Fix minor typo and duplicated entry in sdk.atree 2009-07-28 16:28:09 -07:00
Android (Google) Code Review
8136f16112 Merge change 8885 into donut
* changes:
  Add notice file to platform folder.
2009-07-28 16:20:13 -07:00
Xavier Ducrohet
b519db4eed Add notice file to platform folder. 2009-07-28 16:19:23 -07:00
Android (Google) Code Review
807e5c325d Merge change 8637 into donut
* changes:
  Add host check for nawk/gawk in build/host-setup.sh
2009-07-28 15:00:12 -07:00
Android (Google) Code Review
01aee823d0 Merge change 8623 into donut
* changes:
  Add a "unit-tests" sample application to perform unit testing.
2009-07-28 15:00:00 -07:00
Android (Google) Code Review
3f3d6b85a0 Merge change 8622 into donut
* changes:
  Fix LOCAL_CFLAGS/CPPFLAGS handling to match full Android build system.
2009-07-28 14:59:44 -07:00
vchtchetkine
39164844f1 Add classes encapsulatinglegacy USB API
Added implementation for endpoints and overlapped I/O support for legacy API support.
2009-07-28 13:09:51 -07:00
Android (Google) Code Review
743b376b36 Merge change 8804 into donut
* changes:
  Fix SDK build break caused by including legacy support header into main API header
2009-07-28 11:00:39 -07:00
vchtchetkine
59fc68ba26 Fix SDK build break caused by including legacy support header into main API header
usb_windows.c doesn't build with adb_legacy_api.h included into adb_api.h
Since adb_legacy_api.h is not used anywhere outside AdbWinApi.dll project, the simplest
fix would be to remove its inclusion from adb_api.h
2009-07-28 10:07:09 -07:00
Android (Google) Code Review
d43d18015e Merge change 7938 into donut
* changes:
  New ntro image for camera.html that shows flow for video capture.
2009-07-27 16:25:47 -07:00
Xavier Ducrohet
c5b9a676e7 Prevent SDK Updater progress dialog from showing off screen. 2009-07-27 15:39:42 -07:00
Android (Google) Code Review
e30e98f821 Merge change 8699 into donut
* changes:
  Prevent SDK updater dialog from showing offscreen.
2009-07-27 15:26:38 -07:00
Xavier Ducrohet
bc8b16505e Prevent SDK updater dialog from showing offscreen. 2009-07-27 15:26:10 -07:00
Android (Google) Code Review
84c6ef8946 Merge change 8516 into donut
* changes:
  Refactor API classes to support both, WinUsb and Legacy API
2009-07-27 11:43:49 -07:00
David 'Digit' Turner
73aaee4171 Add host check for nawk/gawk in build/host-setup.sh
Store the result as HOST_AWK in out/host/config.mk
2009-07-27 15:47:09 +02:00
David 'Digit' Turner
4ddb7840c2 Add a "unit-tests" sample application to perform unit testing. 2009-07-27 12:26:17 +02:00
David 'Digit' Turner
747294cc4a Fix LOCAL_CFLAGS/CPPFLAGS handling to match full Android build system.
Also improve BUILD_SYSTEM directory detection logic in build/core/main.mk
2009-07-27 12:24:58 +02:00
vchtchetkine
8267511c96 Refactor API classes to support both, WinUsb and Legacy API
To support both, WinUsb and Legacy driver APIs we need to abstract classes
that depend on driver API details and then implement two sets of the
actual classes: one for WinUsb, and another for the Legacy drivers, so
we can choose in runtime which objects should be instantiated, depending
on what type of driver we have underneath this API.
2009-07-25 11:14:04 -07:00
Android (Google) Code Review
1ff4f596bf Merge change 8502 into donut
* changes:
  Rename ndk/build/platforms/android-1.5 into android-3 to match API levels
2009-07-25 09:10:50 -07:00
Android (Google) Code Review
e8c0bd070c Merge change 8501 into donut
* changes:
  Handle LOCAL_CPPFLAGS/CFLAGS/CXXFLAGS as claimed by the documentation.
2009-07-25 09:10:27 -07:00
Xavier Ducrohet
6675fec474 First pass at a WVGA skin. 2009-07-24 19:23:23 -07:00
Xavier Ducrohet
e0f85e6c73 Delete non rotating skins and create a QVGA rotating skin.
HVGA-P and HVGA-L were redundant with HVGA which supports both orientations.
QVGA-P and QVGA-L has been replaced with QVGA which supports both orientations.
2009-07-24 18:06:05 -07:00
Xavier Ducrohet
510248e2e1 Add Apache Commons Compress to ADT (required by sdklib) 2009-07-24 17:19:30 -07:00
Android (Google) Code Review
686fddb069 Merge change 8528 into donut
* changes:
  Allow override of default symbol location for native heap library resolution
2009-07-24 13:40:35 -07:00
Android (Google) Code Review
1b742290b6 Merge change 8537 into donut
* changes:
  Fix the update check for doc packages.
2009-07-24 13:40:05 -07:00
Xavier Ducrohet
b59daafde4 Fix the update check for doc packages. 2009-07-24 13:39:04 -07:00
Android (Google) Code Review
84c9d60322 Merge change 5271 into donut
* changes:
  Script to strip out unused translations when you change the base strings.xml.
2009-07-24 13:28:09 -07:00
Xavier Ducrohet
bf29a5e611 Allow override of default symbol location for native heap library resolution
Default location of the symbols is $ANDROID_PRODUCT_OUT/symbols.
Setting the env variable ANDROID_SYMBOLS allows you to override this location
so that DDMS goes look for the symbol in a different location when
resolving native heap addresses.
2009-07-24 13:19:24 -07:00
David 'Digit' Turner
fdc5ea243d Rename ndk/build/platforms/android-1.5 into android-3 to match API levels 2009-07-24 17:56:51 +02:00
David 'Digit' Turner
1715a1f877 Handle LOCAL_CPPFLAGS/CFLAGS/CXXFLAGS as claimed by the documentation.
The previous code did only use LOCAL_CFLAGS for both C and C++ sources.
2009-07-24 17:42:21 +02:00
Xavier Ducrohet
f74c1d2fb7 Add default version files into the SDK for docs/tools/platforms. 2009-07-23 18:25:41 -07:00
Xavier Ducrohet
e5bfd50ece Also filter the list of Archives to only show the compatible ones. 2009-07-23 18:02:07 -07:00
Android (Google) Code Review
ba29296c08 Merge change 8438 into donut
* changes:
  Add a checkbox to only show packages that are updates or new.
2009-07-23 17:08:46 -07:00
Xavier Ducrohet
fbeb74a610 Add a checkbox to only show packages that are updates or new. 2009-07-23 17:07:01 -07:00
Android (Google) Code Review
3e49a41539 Merge change 8402 into donut
* changes:
  Add test application
2009-07-23 15:35:12 -07:00
vchtchetkine
2be4a90641 Add test application 2009-07-23 15:28:06 -07:00
Xavier Ducrohet
ecc85daf7b Fix loading of user repository and add refresh when adding/removing. 2009-07-23 14:43:49 -07:00
Android (Google) Code Review
d74be2a969 Merge change 8377 into donut
* changes:
  Use Apache Commons Compress instead of java.util.zip
2009-07-23 14:11:42 -07:00
vchtchetkine
cd693f5739 Add build instructions, ignore list and remove obsolete .sln file 2009-07-23 13:38:37 -07:00
Xavier Ducrohet
797654a452 Use Apache Commons Compress instead of java.util.zip
When the SDK installer unarchives the zip files, it is important to keep
the permissions for executable (Linux/MacOS) or the tools required to
build applications (aapt, aidl, ...) won't work.

Since java.util.zip does not provide support for permissions, we now
use the Apache Commons Compress component that allows us to read the
permission from the archive.
2009-07-23 12:59:42 -07:00
vchtchetkine
d79c237203 Delete files irrelevant for the new driver model
:x
2009-07-23 10:41:24 -07:00
Android (Google) Code Review
3b1edb4d39 Merge change 8232 into donut
* changes:
  Refactor ADB API dll to support WinUsb
2009-07-23 09:37:13 -07:00
Android (Google) Code Review
633b5ed51b Merge change 8178 into donut
* changes:
  Ensure LOCAL_LDLIBS is cleared by the $(CLEAR_VARS) script
2009-07-23 01:26:26 -07:00