Skip to content

Commit 2918198

Browse files
committed
added script for How to create VirtualHost in Linux Ubuntu 10.04 Lucid Lynx post
1 parent 273cef6 commit 2918198

File tree

23 files changed

+622
-0
lines changed

23 files changed

+622
-0
lines changed

android/Mp3player/.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
bin
22
gen
3+
.settings
4+
.git
5+
target
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
bin
2+
gen
3+
.settings
4+
.git
5+
target
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.hrupin.edu.androidEx2" android:versionCode="1" android:versionName="0.0.1-SNAPSHOT">
3+
<uses-permission android:name="android.permission.INTERNET" />
4+
<uses-permission android:name="android.permission.CAMERA" />
5+
6+
<application android:icon="@drawable/icon" android:label="@string/app_name">
7+
<uses-library android:name="com.google.android.maps" android:required="true"></uses-library>
8+
<activity android:name=".HelloAndroidActivity">
9+
<intent-filter>
10+
<action android:name="android.intent.action.MAIN" />
11+
<category android:name="android.intent.category.LAUNCHER" />
12+
</intent-filter>
13+
</activity>
14+
15+
<activity android:name=".video.VideoSample" android:screenOrientation="landscape" android:theme="@android:style/Theme.NoTitleBar"></activity>
16+
</application>
17+
18+
</manifest>
19+
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# File used by Eclipse to determine the target system
2+
# Project target.
3+
target=android-8

android/streamingVideoPlayer/pom.xml

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3+
<modelVersion>4.0.0</modelVersion>
4+
<groupId>com.hrupin.edu</groupId>
5+
<artifactId>androidEx2</artifactId>
6+
<version>0.0.1-SNAPSHOT</version>
7+
<packaging>apk</packaging>
8+
<name>androidEx2</name>
9+
10+
<dependencies>
11+
<dependency>
12+
<groupId>com.google.android</groupId>
13+
<artifactId>android</artifactId>
14+
<version>2.2.1</version>
15+
<scope>provided</scope>
16+
</dependency>
17+
18+
<!-- Google Maps -->
19+
<dependency>
20+
<groupId>com.google.android.maps</groupId>
21+
<artifactId>maps</artifactId>
22+
<version>8_r2</version>
23+
<scope>provided</scope>
24+
</dependency>
25+
26+
<!-- Gson 1.6: -->
27+
<dependency>
28+
<groupId>com.google.code.gson</groupId>
29+
<artifactId>gson</artifactId>
30+
<version>1.6</version>
31+
<scope>compile</scope>
32+
</dependency>
33+
34+
<!-- JUnit 4 -->
35+
<dependency>
36+
<groupId>junit</groupId>
37+
<artifactId>junit</artifactId>
38+
<version>4.0</version>
39+
<scope>test</scope>
40+
</dependency>
41+
</dependencies>
42+
43+
<build>
44+
<plugins>
45+
<plugin>
46+
<groupId>com.jayway.maven.plugins.android.generation2</groupId>
47+
<artifactId>maven-android-plugin</artifactId>
48+
<version>2.8.3</version>
49+
<configuration>
50+
<androidManifestFile>${project.basedir}/AndroidManifest.xml</androidManifestFile>
51+
<assetsDirectory>${project.basedir}/assets</assetsDirectory>
52+
<resourceDirectory>${project.basedir}/res</resourceDirectory>
53+
<nativeLibrariesDirectory>${project.basedir}/src/main/native</nativeLibrariesDirectory>
54+
<sdk>
55+
<platform>8</platform>
56+
</sdk>
57+
<deleteConflictingFiles>true</deleteConflictingFiles>
58+
<undeployBeforeDeploy>true</undeployBeforeDeploy>
59+
</configuration>
60+
<extensions>true</extensions>
61+
</plugin>
62+
63+
<plugin>
64+
<artifactId>maven-compiler-plugin</artifactId>
65+
<version>2.3.2</version>
66+
<configuration>
67+
<source>1.5</source>
68+
<target>1.5</target>
69+
</configuration>
70+
</plugin>
71+
</plugins>
72+
</build>
73+
</project>
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<set xmlns:android="http://schemas.android.com/apk/res/android">
3+
<alpha android:fromAlpha="1.0" android:toAlpha="0.0" android:duration="400" />
4+
</set>
Loading
Loading
Loading
Loading

0 commit comments

Comments
 (0)