Christopher Ferris
0e2da18081
Fix up the makefiles and some samples.
...
Add LOCAL_DEX_PREOPT := false to force the samples to build actual apks.
In addition, fix a couple of other small issues:
- TtsEngine didn't have the api level set properly.
- SimpleJNI used a non-ndk library and was using libc++.
Change-Id: I1fd7c187956eed4620049bb746f4d62babcd648a
2016-04-19 14:32:13 -07:00
Narayan Kamath
56d7f3949e
Build against the specified targetSdkVersion.
...
bug: 18027885
Change-Id: Id8a1f979b1d7d28bb4a0428aed6adff1c568f72e
2014-12-12 14:04:49 +00:00
Gilles Debunne
968c2e4918
Fixed the XMLAdapters example
...
Provider package name was incorrect, resulting in a crash at startup
Also added static to the cache
http://stackoverflow.com/questions/10135261/possible-bug-in-android-imagedownloader-class-shardbitmapcache-not-static-when
Change-Id: I833589645f053be52fbc11aec89dd02b6f2f2787
2012-04-18 17:18:24 -07:00
Andy McFadden
0da366d78a
Use Map.Entry, not LinkedHashMap.Entry
...
Map.Entry is the defined return value from entrySet().
LinkedHashMap.Entry shouldn't be used directly.
Change-Id: Ib23ceac365c85cdec6ab1688e8f8168ce882bc90
2012-01-20 14:38:08 -08:00
Brett Chabot
e2e7ec9429
Build all samples against SDK.
...
Change-Id: I9ea35c07a7f9d2e2a42d952101e99528fd68fb6c
2011-07-15 17:31:33 -07:00
Gilles Debunne
e27049a31a
XmlAdapters sample example no longer depends on hidden XmlDocumentProvider
...
Bug 4477831
New changes. Copied code from protected methods to make the example stand-alone.
Change-Id: Ic6592811251090a634743d3d0383b4fd7b046c2f
2011-06-13 18:30:35 -07:00
Gilles Debunne
3fc9318ce5
Made XmlAdapter sample a standalone application.
...
Change-Id: If34f2086da65f81968f630a42e4b9e725cb65efe
2011-01-07 08:38:50 -08:00
Dianne Hackborn
ab88ed55d7
Hide XML adapter sample, since the APIs are now gone.
...
Also tweak API demos to use the new pretty background.
Change-Id: Idbb523880fff81f6e0f3ca241e4bdaa1dbc2f8f2
2011-01-04 17:28:02 -08:00
Gilles Debunne
fa640af482
Improved ImageDownloader code.
...
Integrate comments from the blog article.
Change-Id: If51d27a4ef3eb0df0bc660ea37a85cc39fd18064
2010-07-08 16:25:05 -07:00
Gilles Debunne
55f4a60aa0
New XmlAdapter sample example.
...
This sample illustrate the use of the news Xml Adapters definition, as well
as the use on the new XmlDocumentProvider class.
Change-Id: Ie9738b5f0a0f00df2af643890a48573bace19311
2010-06-24 09:44:57 -07:00
Romain Guy
0dd05fa9a8
Add sample for XML-defined Adapters.
...
Change-Id: I31f4f93eeea0f0cac4485ce76d9188608567f071
2010-03-31 19:39:13 -07:00