From 54158d9b017dae6a75d813a96463d05e1153ae31 Mon Sep 17 00:00:00 2001 From: jsdelfino Date: Wed, 17 Sep 2008 06:59:35 +0000 Subject: Starting to clean up android branch, creating subsets of samples, demos, tutorials that can be ported to android. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@696177 13f79535-47bb-0310-9956-ffa450edef68 --- branches/sca-android/samples/photo-gallery/README | 28 -- .../sca-android/samples/photo-gallery/build.xml | 79 ------ .../samples/photo-gallery/photo-gallery.png | Bin 15670 -> 0 bytes .../samples/photo-gallery/photo-gallery.svg | 304 --------------------- branches/sca-android/samples/photo-gallery/pom.xml | 148 ---------- .../src/main/java/launch/LaunchGallery.java | 34 --- .../src/main/java/launch/LaunchGalleryJCR.java | 34 --- .../src/main/java/services/Album.java | 29 -- .../src/main/java/services/AlbumImpl.java | 95 ------- .../src/main/java/services/jcr/AlbumImpl.java | 159 ----------- .../photo-gallery/src/main/resources/gallery.html | 135 --------- .../src/main/resources/gallery/boston/dsc00368.jpg | Bin 32808 -> 0 bytes .../src/main/resources/gallery/boston/dsc00369.jpg | Bin 35980 -> 0 bytes .../src/main/resources/gallery/boston/dsc00370.jpg | Bin 44614 -> 0 bytes .../src/main/resources/gallery/boston/dsc00371.jpg | Bin 40745 -> 0 bytes .../src/main/resources/gallery/boston/dsc00373.jpg | Bin 76470 -> 0 bytes .../src/main/resources/gallery/boston/dsc00375.jpg | Bin 34834 -> 0 bytes .../src/main/resources/gallery/boston/dsc00376.jpg | Bin 38797 -> 0 bytes .../src/main/resources/gallery/boston/dsc00377.jpg | Bin 35776 -> 0 bytes .../src/main/resources/gallery/boston/dsc00378.jpg | Bin 35248 -> 0 bytes .../src/main/resources/gallery/boston/dsc00379.jpg | Bin 55042 -> 0 bytes .../src/main/resources/gallery/boston/dsc00380.jpg | Bin 55236 -> 0 bytes .../photo-gallery/src/main/resources/index.gif | Bin 564 -> 0 bytes .../photo-gallery/src/main/resources/index_on.gif | Bin 577 -> 0 bytes .../photo-gallery/src/main/resources/next.gif | Bin 535 -> 0 bytes .../src/main/resources/next_disabled.gif | Bin 536 -> 0 bytes .../photo-gallery/src/main/resources/next_on.gif | Bin 542 -> 0 bytes .../src/main/resources/photo-gallery-jcr.composite | 47 ---- .../src/main/resources/photo-gallery.composite | 47 ---- .../photo-gallery/src/main/resources/prev.gif | Bin 534 -> 0 bytes .../src/main/resources/prev_disabled.gif | Bin 536 -> 0 bytes .../photo-gallery/src/main/resources/prev_on.gif | Bin 541 -> 0 bytes .../src/main/resources/show_slide.gif | Bin 533 -> 0 bytes .../photo-gallery/src/main/resources/space.gif | Bin 116 -> 0 bytes .../photo-gallery/src/main/resources/styles.css | 121 -------- 35 files changed, 1260 deletions(-) delete mode 100644 branches/sca-android/samples/photo-gallery/README delete mode 100644 branches/sca-android/samples/photo-gallery/build.xml delete mode 100644 branches/sca-android/samples/photo-gallery/photo-gallery.png delete mode 100644 branches/sca-android/samples/photo-gallery/photo-gallery.svg delete mode 100644 branches/sca-android/samples/photo-gallery/pom.xml delete mode 100644 branches/sca-android/samples/photo-gallery/src/main/java/launch/LaunchGallery.java delete mode 100644 branches/sca-android/samples/photo-gallery/src/main/java/launch/LaunchGalleryJCR.java delete mode 100644 branches/sca-android/samples/photo-gallery/src/main/java/services/Album.java delete mode 100644 branches/sca-android/samples/photo-gallery/src/main/java/services/AlbumImpl.java delete mode 100644 branches/sca-android/samples/photo-gallery/src/main/java/services/jcr/AlbumImpl.java delete mode 100644 branches/sca-android/samples/photo-gallery/src/main/resources/gallery.html delete mode 100644 branches/sca-android/samples/photo-gallery/src/main/resources/gallery/boston/dsc00368.jpg delete mode 100644 branches/sca-android/samples/photo-gallery/src/main/resources/gallery/boston/dsc00369.jpg delete mode 100644 branches/sca-android/samples/photo-gallery/src/main/resources/gallery/boston/dsc00370.jpg delete mode 100644 branches/sca-android/samples/photo-gallery/src/main/resources/gallery/boston/dsc00371.jpg delete mode 100644 branches/sca-android/samples/photo-gallery/src/main/resources/gallery/boston/dsc00373.jpg delete mode 100644 branches/sca-android/samples/photo-gallery/src/main/resources/gallery/boston/dsc00375.jpg delete mode 100644 branches/sca-android/samples/photo-gallery/src/main/resources/gallery/boston/dsc00376.jpg delete mode 100644 branches/sca-android/samples/photo-gallery/src/main/resources/gallery/boston/dsc00377.jpg delete mode 100644 branches/sca-android/samples/photo-gallery/src/main/resources/gallery/boston/dsc00378.jpg delete mode 100644 branches/sca-android/samples/photo-gallery/src/main/resources/gallery/boston/dsc00379.jpg delete mode 100644 branches/sca-android/samples/photo-gallery/src/main/resources/gallery/boston/dsc00380.jpg delete mode 100755 branches/sca-android/samples/photo-gallery/src/main/resources/index.gif delete mode 100755 branches/sca-android/samples/photo-gallery/src/main/resources/index_on.gif delete mode 100755 branches/sca-android/samples/photo-gallery/src/main/resources/next.gif delete mode 100755 branches/sca-android/samples/photo-gallery/src/main/resources/next_disabled.gif delete mode 100755 branches/sca-android/samples/photo-gallery/src/main/resources/next_on.gif delete mode 100644 branches/sca-android/samples/photo-gallery/src/main/resources/photo-gallery-jcr.composite delete mode 100644 branches/sca-android/samples/photo-gallery/src/main/resources/photo-gallery.composite delete mode 100755 branches/sca-android/samples/photo-gallery/src/main/resources/prev.gif delete mode 100755 branches/sca-android/samples/photo-gallery/src/main/resources/prev_disabled.gif delete mode 100755 branches/sca-android/samples/photo-gallery/src/main/resources/prev_on.gif delete mode 100644 branches/sca-android/samples/photo-gallery/src/main/resources/show_slide.gif delete mode 100644 branches/sca-android/samples/photo-gallery/src/main/resources/space.gif delete mode 100755 branches/sca-android/samples/photo-gallery/src/main/resources/styles.css (limited to 'branches/sca-android/samples/photo-gallery') diff --git a/branches/sca-android/samples/photo-gallery/README b/branches/sca-android/samples/photo-gallery/README deleted file mode 100644 index c66edea985..0000000000 --- a/branches/sca-android/samples/photo-gallery/README +++ /dev/null @@ -1,28 +0,0 @@ -Photo-Gallery Sample -====================================== - -This is a sample store scenario that is used as a getting started guide -for Tuscany SCA. For detailed information, please see: - -http://tuscany.apache.org/getting-started-with-tuscany.html - -or - -http://tuscany.apache.org/getting-started-with-tuscany-using-tuscany-eclipse-plugin.html - - -Building And Running The Sample Using Ant ------------------------------------------ -With the binary distribution the sample can be built using Ant as follows: - -cd store -ant compile - -and then, to run: - -ant run - -Once the store application is running use your browser to visit the following -URL: - -http://localhost:8080/gallery/ diff --git a/branches/sca-android/samples/photo-gallery/build.xml b/branches/sca-android/samples/photo-gallery/build.xml deleted file mode 100644 index 652afc3570..0000000000 --- a/branches/sca-android/samples/photo-gallery/build.xml +++ /dev/null @@ -1,79 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/branches/sca-android/samples/photo-gallery/photo-gallery.png b/branches/sca-android/samples/photo-gallery/photo-gallery.png deleted file mode 100644 index da413edeee..0000000000 Binary files a/branches/sca-android/samples/photo-gallery/photo-gallery.png and /dev/null differ diff --git a/branches/sca-android/samples/photo-gallery/photo-gallery.svg b/branches/sca-android/samples/photo-gallery/photo-gallery.svg deleted file mode 100644 index 74f8ecd36d..0000000000 --- a/branches/sca-android/samples/photo-gallery/photo-gallery.svg +++ /dev/null @@ -1,304 +0,0 @@ - - - - - - - - - - image/svg+xml - - - - - - - - store - ufs - - ShoppingCart - - CurrencyConverter - - - - - - - - - - CurrenyCode HTTP JSONRPC Atom - - Catalog - - - - diff --git a/branches/sca-android/samples/photo-gallery/pom.xml b/branches/sca-android/samples/photo-gallery/pom.xml deleted file mode 100644 index 1c258b47c8..0000000000 --- a/branches/sca-android/samples/photo-gallery/pom.xml +++ /dev/null @@ -1,148 +0,0 @@ - - - - 4.0.0 - - org.apache.tuscany.sca - tuscany-sca - 1.4-SNAPSHOT - ../pom.xml - - sample-photo-gallery - Apache Tuscany SCA Getting Started Online Store Sample - - - - apache.incubator - http://people.apache.org/repo/m2-incubating-repository - - - - - - org.apache.tuscany.sca - tuscany-host-embedded - 1.4-SNAPSHOT - - - - org.apache.tuscany.sca - tuscany-data-api - 1.4-SNAPSHOT - - - - org.apache.tuscany.sca - tuscany-implementation-java-runtime - 1.4-SNAPSHOT - runtime - - - - org.apache.tuscany.sca - tuscany-implementation-widget-runtime - 1.4-SNAPSHOT - runtime - - - - org.apache.tuscany.sca - tuscany-binding-atom-abdera - 1.4-SNAPSHOT - runtime - - - - org.apache.tuscany.sca - tuscany-binding-jsonrpc-runtime - 1.4-SNAPSHOT - runtime - - - - org.apache.tuscany.sca - tuscany-binding-http-runtime - 1.4-SNAPSHOT - runtime - - - - org.apache.tuscany.sca - tuscany-host-jetty - 1.4-SNAPSHOT - runtime - - - - org.apache.derby - derby - 10.2.1.6 - - - - org.slf4j - slf4j-api - 1.3.0 - - - - org.slf4j - slf4j-log4j12 - 1.3.0 - - - - org.slf4j - jcl104-over-slf4j - 1.3.0 - - - - javax.jcr - jcr - 1.0 - - - - org.apache.jackrabbit - jackrabbit-core - 1.4 - - - - org.apache.jackrabbit - jackrabbit-api - 1.4 - - - - junit - junit - 4.2 - test - - - - - - ${artifactId} - - - diff --git a/branches/sca-android/samples/photo-gallery/src/main/java/launch/LaunchGallery.java b/branches/sca-android/samples/photo-gallery/src/main/java/launch/LaunchGallery.java deleted file mode 100644 index 1007cd49b0..0000000000 --- a/branches/sca-android/samples/photo-gallery/src/main/java/launch/LaunchGallery.java +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package launch; - -import org.apache.tuscany.sca.host.embedded.SCADomain; - -public class LaunchGallery { - public static void main(String[] args) throws Exception { - System.out.println("Starting ..."); - SCADomain scaDomain = SCADomain.newInstance("photo-gallery.composite"); - System.out.println("photo.gallery.composite ready for big business !!!"); - System.in.read(); - System.out.println("Stopping ..."); - scaDomain.close(); - System.out.println(); - } -} diff --git a/branches/sca-android/samples/photo-gallery/src/main/java/launch/LaunchGalleryJCR.java b/branches/sca-android/samples/photo-gallery/src/main/java/launch/LaunchGalleryJCR.java deleted file mode 100644 index d07dc63592..0000000000 --- a/branches/sca-android/samples/photo-gallery/src/main/java/launch/LaunchGalleryJCR.java +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package launch; - -import org.apache.tuscany.sca.host.embedded.SCADomain; - -public class LaunchGalleryJCR { - public static void main(String[] args) throws Exception { - System.out.println("Starting ..."); - SCADomain scaDomain = SCADomain.newInstance("photo-gallery-jcr.composite"); - System.out.println("photo.gallery.composite ready for big business !!!"); - System.in.read(); - System.out.println("Stopping ..."); - scaDomain.close(); - System.out.println(); - } -} diff --git a/branches/sca-android/samples/photo-gallery/src/main/java/services/Album.java b/branches/sca-android/samples/photo-gallery/src/main/java/services/Album.java deleted file mode 100644 index 5257d0e703..0000000000 --- a/branches/sca-android/samples/photo-gallery/src/main/java/services/Album.java +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package services; - -import org.osoa.sca.annotations.Remotable; - -@Remotable -public interface Album { - - public String[] getPictures(); - -} diff --git a/branches/sca-android/samples/photo-gallery/src/main/java/services/AlbumImpl.java b/branches/sca-android/samples/photo-gallery/src/main/java/services/AlbumImpl.java deleted file mode 100644 index dd2b086e29..0000000000 --- a/branches/sca-android/samples/photo-gallery/src/main/java/services/AlbumImpl.java +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package services; - -import java.io.File; -import java.io.FilenameFilter; -import java.net.URL; -import java.util.ArrayList; -import java.util.List; - -import org.osoa.sca.annotations.Init; -import org.osoa.sca.annotations.Property; - -public class AlbumImpl implements Album { - private String gallery; - private String album; - private String location; - private List pictures = new ArrayList(); - - @Property - public void setGallery(String gallery) { - this.gallery = gallery; - this.location = null; - } - @Property - public void setAlbum(String album) { - this.album = album; - this.location = null; - } - - protected String getLocation() { - if (location == null) { - location = gallery + "/" + album + "/"; - } - return location; - - } - - @Init - public void init() { - try { - URL albumURL = this.getClass().getClassLoader().getResource(getLocation()); - if(albumURL != null) { - File album = new File(albumURL.toURI()); - if (album.isDirectory() && album.exists()) { - String[] listPictures = album.list(new ImageFilter(".jpg")); - for(String image : listPictures) { - image = getLocation() + image; - pictures.add(image); - } - } - } - } catch (Exception e) { - // FIXME: ignore for now - e.printStackTrace(); - } - } - - public String[] getPictures() { - String[] pictureArray = new String[pictures.size()]; - pictures.toArray(pictureArray); - return pictureArray; - } - - /** - * Inner fileFilter class - */ - private class ImageFilter implements FilenameFilter { - String afn; - ImageFilter(String afn) { this.afn = afn; } - public boolean accept(File dir, String name) { - // Strip path information: - String f = new File(name).getName(); - return f.indexOf(afn) != -1; - } - } ///:~ - -} diff --git a/branches/sca-android/samples/photo-gallery/src/main/java/services/jcr/AlbumImpl.java b/branches/sca-android/samples/photo-gallery/src/main/java/services/jcr/AlbumImpl.java deleted file mode 100644 index ac4e6f52f4..0000000000 --- a/branches/sca-android/samples/photo-gallery/src/main/java/services/jcr/AlbumImpl.java +++ /dev/null @@ -1,159 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package services.jcr; - -import java.io.File; -import java.io.FilenameFilter; -import java.io.InputStream; -import java.net.URL; -import java.util.ArrayList; -import java.util.List; - -import javax.jcr.Node; -import javax.jcr.NodeIterator; -import javax.jcr.Repository; -import javax.jcr.Session; -import javax.jcr.SimpleCredentials; - -import org.apache.jackrabbit.core.TransientRepository; -import org.osoa.sca.annotations.Init; -import org.osoa.sca.annotations.Property; - -import services.Album; - -public class AlbumImpl implements Album { - private String gallery; - private String album; - private String location; - private Repository repository=null; - private Session session=null; - - @Property - public void setGallery(String gallery) { - this.gallery = gallery; - this.location = null; - } - @Property - public void setAlbum(String album) { - this.album = album; - this.location = null; - } - - protected String getLocation() { - if (location == null) { - location = gallery + "/" + album + "/"; - } - return location; - - } - - @Init - public void init() { - try { - URL albumURL = this.getClass().getClassLoader().getResource(getLocation()); - if(albumURL != null) { - repository = new TransientRepository(); - session = repository.login( - new SimpleCredentials("username", "password".toCharArray())); - try { - File album = new File(albumURL.toURI()); - if (album.isDirectory() && album.exists()) { - String[] listPictures = album.list(new ImageFilter(".jpg")); - for(String image : listPictures) { - Node root=session.getRootNode(); - Node picNode=root.addNode(image); - InputStream inFile = getClass().getClassLoader().getResourceAsStream(getLocation()+image); - picNode.setProperty("image", inFile ); - picNode.setProperty("name", image); - picNode.setProperty("location", getLocation()+image); - //image = getLocation() + image; - //pictures.add(image); - } - } - - session.save(); - }catch (Exception e){ - // FIXME: ignore for now - e.printStackTrace(); - } - } - } catch (Exception e) { - // FIXME: ignore for now - e.printStackTrace(); - } - } - - public String[] getPictures() { - List pictures = new ArrayList(); - - try{ - Node root=session.getRootNode(); - NodeIterator nodes = root.getNodes(); - - while(nodes.hasNext()){ - Node node=nodes.nextNode(); - if(node.getPath().equals("/jcr:system")) continue; - - pictures.add(node.getProperty("location").getString()); - //System.out.println(node.getProperty("name").getString()); - //System.out.println(node.getPath()); - } - }catch (Exception e) { - // FIXME: ignore for now - e.printStackTrace(); - } - - String[] pictureArray = new String[pictures.size()]; - pictures.toArray(pictureArray); - removeNodes(); - return pictureArray; - } - - - public void removeNodes(){ - try{ - Node root=session.getRootNode(); - NodeIterator nodes = root.getNodes(); - while(nodes.hasNext()){ - Node node=nodes.nextNode(); - if(node.getPath().equals("/jcr:system")) continue; - else node.remove(); - } - session.save(); - }catch (Exception e) { - // FIXME: ignore for now - e.printStackTrace(); - } - - } - /** - * Inner fileFilter class - */ - private class ImageFilter implements FilenameFilter { - String afn; - ImageFilter(String afn) { this.afn = afn; } - public boolean accept(File dir, String name) { - // Strip path information: - String f = new File(name).getName(); - return f.indexOf(afn) != -1; - } - } ///:~ - -} diff --git a/branches/sca-android/samples/photo-gallery/src/main/resources/gallery.html b/branches/sca-android/samples/photo-gallery/src/main/resources/gallery.html deleted file mode 100644 index f6566e88ec..0000000000 --- a/branches/sca-android/samples/photo-gallery/src/main/resources/gallery.html +++ /dev/null @@ -1,135 +0,0 @@ - - - -Photo Gallery - - - - - - - - - -
-

Apache Tuscany Photo Gallery

-
-
- - -
- - - - - -
- - - - - - - - -
-
- - - - - -
- -
- -
- - - diff --git a/branches/sca-android/samples/photo-gallery/src/main/resources/gallery/boston/dsc00368.jpg b/branches/sca-android/samples/photo-gallery/src/main/resources/gallery/boston/dsc00368.jpg deleted file mode 100644 index 9437b321e2..0000000000 Binary files a/branches/sca-android/samples/photo-gallery/src/main/resources/gallery/boston/dsc00368.jpg and /dev/null differ diff --git a/branches/sca-android/samples/photo-gallery/src/main/resources/gallery/boston/dsc00369.jpg b/branches/sca-android/samples/photo-gallery/src/main/resources/gallery/boston/dsc00369.jpg deleted file mode 100644 index 07f37ec505..0000000000 Binary files a/branches/sca-android/samples/photo-gallery/src/main/resources/gallery/boston/dsc00369.jpg and /dev/null differ diff --git a/branches/sca-android/samples/photo-gallery/src/main/resources/gallery/boston/dsc00370.jpg b/branches/sca-android/samples/photo-gallery/src/main/resources/gallery/boston/dsc00370.jpg deleted file mode 100644 index 2193784271..0000000000 Binary files a/branches/sca-android/samples/photo-gallery/src/main/resources/gallery/boston/dsc00370.jpg and /dev/null differ diff --git a/branches/sca-android/samples/photo-gallery/src/main/resources/gallery/boston/dsc00371.jpg b/branches/sca-android/samples/photo-gallery/src/main/resources/gallery/boston/dsc00371.jpg deleted file mode 100644 index 1532ee2c1b..0000000000 Binary files a/branches/sca-android/samples/photo-gallery/src/main/resources/gallery/boston/dsc00371.jpg and /dev/null differ diff --git a/branches/sca-android/samples/photo-gallery/src/main/resources/gallery/boston/dsc00373.jpg b/branches/sca-android/samples/photo-gallery/src/main/resources/gallery/boston/dsc00373.jpg deleted file mode 100644 index 17ffd73aec..0000000000 Binary files a/branches/sca-android/samples/photo-gallery/src/main/resources/gallery/boston/dsc00373.jpg and /dev/null differ diff --git a/branches/sca-android/samples/photo-gallery/src/main/resources/gallery/boston/dsc00375.jpg b/branches/sca-android/samples/photo-gallery/src/main/resources/gallery/boston/dsc00375.jpg deleted file mode 100644 index 19e9ec37df..0000000000 Binary files a/branches/sca-android/samples/photo-gallery/src/main/resources/gallery/boston/dsc00375.jpg and /dev/null differ diff --git a/branches/sca-android/samples/photo-gallery/src/main/resources/gallery/boston/dsc00376.jpg b/branches/sca-android/samples/photo-gallery/src/main/resources/gallery/boston/dsc00376.jpg deleted file mode 100644 index 022416dbce..0000000000 Binary files a/branches/sca-android/samples/photo-gallery/src/main/resources/gallery/boston/dsc00376.jpg and /dev/null differ diff --git a/branches/sca-android/samples/photo-gallery/src/main/resources/gallery/boston/dsc00377.jpg b/branches/sca-android/samples/photo-gallery/src/main/resources/gallery/boston/dsc00377.jpg deleted file mode 100644 index c78a974714..0000000000 Binary files a/branches/sca-android/samples/photo-gallery/src/main/resources/gallery/boston/dsc00377.jpg and /dev/null differ diff --git a/branches/sca-android/samples/photo-gallery/src/main/resources/gallery/boston/dsc00378.jpg b/branches/sca-android/samples/photo-gallery/src/main/resources/gallery/boston/dsc00378.jpg deleted file mode 100644 index a98070925a..0000000000 Binary files a/branches/sca-android/samples/photo-gallery/src/main/resources/gallery/boston/dsc00378.jpg and /dev/null differ diff --git a/branches/sca-android/samples/photo-gallery/src/main/resources/gallery/boston/dsc00379.jpg b/branches/sca-android/samples/photo-gallery/src/main/resources/gallery/boston/dsc00379.jpg deleted file mode 100644 index dc83889116..0000000000 Binary files a/branches/sca-android/samples/photo-gallery/src/main/resources/gallery/boston/dsc00379.jpg and /dev/null differ diff --git a/branches/sca-android/samples/photo-gallery/src/main/resources/gallery/boston/dsc00380.jpg b/branches/sca-android/samples/photo-gallery/src/main/resources/gallery/boston/dsc00380.jpg deleted file mode 100644 index 0e33548135..0000000000 Binary files a/branches/sca-android/samples/photo-gallery/src/main/resources/gallery/boston/dsc00380.jpg and /dev/null differ diff --git a/branches/sca-android/samples/photo-gallery/src/main/resources/index.gif b/branches/sca-android/samples/photo-gallery/src/main/resources/index.gif deleted file mode 100755 index 7599ac7686..0000000000 Binary files a/branches/sca-android/samples/photo-gallery/src/main/resources/index.gif and /dev/null differ diff --git a/branches/sca-android/samples/photo-gallery/src/main/resources/index_on.gif b/branches/sca-android/samples/photo-gallery/src/main/resources/index_on.gif deleted file mode 100755 index 153e9879d6..0000000000 Binary files a/branches/sca-android/samples/photo-gallery/src/main/resources/index_on.gif and /dev/null differ diff --git a/branches/sca-android/samples/photo-gallery/src/main/resources/next.gif b/branches/sca-android/samples/photo-gallery/src/main/resources/next.gif deleted file mode 100755 index 002eaf6951..0000000000 Binary files a/branches/sca-android/samples/photo-gallery/src/main/resources/next.gif and /dev/null differ diff --git a/branches/sca-android/samples/photo-gallery/src/main/resources/next_disabled.gif b/branches/sca-android/samples/photo-gallery/src/main/resources/next_disabled.gif deleted file mode 100755 index 38b1298453..0000000000 Binary files a/branches/sca-android/samples/photo-gallery/src/main/resources/next_disabled.gif and /dev/null differ diff --git a/branches/sca-android/samples/photo-gallery/src/main/resources/next_on.gif b/branches/sca-android/samples/photo-gallery/src/main/resources/next_on.gif deleted file mode 100755 index 4e5bb3e7ef..0000000000 Binary files a/branches/sca-android/samples/photo-gallery/src/main/resources/next_on.gif and /dev/null differ diff --git a/branches/sca-android/samples/photo-gallery/src/main/resources/photo-gallery-jcr.composite b/branches/sca-android/samples/photo-gallery/src/main/resources/photo-gallery-jcr.composite deleted file mode 100644 index 23190de555..0000000000 --- a/branches/sca-android/samples/photo-gallery/src/main/resources/photo-gallery-jcr.composite +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - - - - - - - - - - - gallery - boston - - - - - - - - - diff --git a/branches/sca-android/samples/photo-gallery/src/main/resources/photo-gallery.composite b/branches/sca-android/samples/photo-gallery/src/main/resources/photo-gallery.composite deleted file mode 100644 index 0bb3c4b4db..0000000000 --- a/branches/sca-android/samples/photo-gallery/src/main/resources/photo-gallery.composite +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - - - - - - - - - - - gallery - boston - - - - - - - - - diff --git a/branches/sca-android/samples/photo-gallery/src/main/resources/prev.gif b/branches/sca-android/samples/photo-gallery/src/main/resources/prev.gif deleted file mode 100755 index 4eea10f1dc..0000000000 Binary files a/branches/sca-android/samples/photo-gallery/src/main/resources/prev.gif and /dev/null differ diff --git a/branches/sca-android/samples/photo-gallery/src/main/resources/prev_disabled.gif b/branches/sca-android/samples/photo-gallery/src/main/resources/prev_disabled.gif deleted file mode 100755 index 7e35f07076..0000000000 Binary files a/branches/sca-android/samples/photo-gallery/src/main/resources/prev_disabled.gif and /dev/null differ diff --git a/branches/sca-android/samples/photo-gallery/src/main/resources/prev_on.gif b/branches/sca-android/samples/photo-gallery/src/main/resources/prev_on.gif deleted file mode 100755 index 3ef9a776bb..0000000000 Binary files a/branches/sca-android/samples/photo-gallery/src/main/resources/prev_on.gif and /dev/null differ diff --git a/branches/sca-android/samples/photo-gallery/src/main/resources/show_slide.gif b/branches/sca-android/samples/photo-gallery/src/main/resources/show_slide.gif deleted file mode 100644 index a5b6a15c2b..0000000000 Binary files a/branches/sca-android/samples/photo-gallery/src/main/resources/show_slide.gif and /dev/null differ diff --git a/branches/sca-android/samples/photo-gallery/src/main/resources/space.gif b/branches/sca-android/samples/photo-gallery/src/main/resources/space.gif deleted file mode 100644 index 170fe82b65..0000000000 Binary files a/branches/sca-android/samples/photo-gallery/src/main/resources/space.gif and /dev/null differ diff --git a/branches/sca-android/samples/photo-gallery/src/main/resources/styles.css b/branches/sca-android/samples/photo-gallery/src/main/resources/styles.css deleted file mode 100755 index d23d949858..0000000000 --- a/branches/sca-android/samples/photo-gallery/src/main/resources/styles.css +++ /dev/null @@ -1,121 +0,0 @@ -body { - font-family: Verdana, Arial, Helvetica, sans-serif; - font-size: 12px; - color: #888888; - background-color: #000000; - margin-top: 0px; -} - -html { - scrollbar-face-color:#444444; - scrollbar-highlight-color:#000000; - scrollbar-3dlight-color:#000000; - scrollbar-darkshadow-color:#000000; - scrollbar-shadow-color:#000000; - scrollbar-arrow-color:#888888; - scrollbar-track-color:#000000; -} - -a:link { - text-decoration: none; - color: #AAAAAA; -} - -a:visited { - text-decoration: none; - color: #AAAAAA; -} - -a:hover { - text-decoration: none; - color: #FFFFFF; -} - -.current { - font-weight: bold; - color: #AAAAAA; - background-color: #666666; -} - -.cthumb { - background-color: #666666; - border: 0px; border-width: 0px; -} - -.thumb { - background-color: #333333; - border: 0px; border-width: 0px; -} - -.image { margin: 0px; border-width: 1px; border: 1px solid;} -a:link .image { border-color: #aaaaaa; color: #aaaaaa;} -a:visited .image { border-color: #666666; color: #666666;} -a:hover .image { border-color: #ffffff; color: #ffffff;} - -.slideImage { border-width: 0px; border: 0px solid; border-color: #ffffff;} -a:link .slideImage { border-color: #ffffff;} -a:visited .slideImage { border-color: #ffffff;} - -.title { - font-family: Verdana, Arial, Helvetica, sans-serif; - font-size: 14px; - font-weight: bold; - color: #000000; -} - -.title a:link { - text-decoration: none; - color: #000000; -} - -.title a:visited { - text-decoration: none; - color: #000000; -} - -.title a:hover { - text-decoration: none; - color: #ffffff; -} - -.infotable { - border: 1px solid #444444; - border-collapse: collapse; -} - -.infotable td { - border: 1px solid #444444; -} - -.infotable table td { - border: 0px; -} - -.dirname { - font-size: 12px; - font-weight: bold; - color: #AAAAAA; -} - -.comment { - color: #CCCCCC; - font-weight: bold; - font-size: 12px; -} - -.smalltxt { - color: #888888; - font-size: 11px; -} - -.xsmalltxt { - color: #888888; - font-size: 9px; -} - -.newlabel { - font-size: 8px; - font-weight: bold; - color: #EEEEEE; - background-color: #558800; -} \ No newline at end of file -- cgit v1.2.3