Mera källkod

This commit is contained in:
2013-02-26 09:56:14 +01:00
parent d456207fb8
commit a863f3e18d
7 changed files with 138 additions and 49 deletions

67
DinDag/AndroidManifest.xml Normal file → Executable file
View File

@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="se.hv.dindag"
package="se.hv.crille"
android:versionCode="1"
android:versionName="1.0" >
@@ -7,11 +8,71 @@
android:minSdkVersion="9"
android:targetSdkVersion="17" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:clearTaskOnLaunch="true"
android:icon="@drawable/icon_gubben"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
android:theme="@style/hvTheme" >
<activity
android:name="se.hv.dindag.Start"
android:clearTaskOnLaunch="true"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name="se.hv.dindag.WebReader"
android:clearTaskOnLaunch="true"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.WEBREADER" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity
android:name="se.hv.dindag.Login"
android:clearTaskOnLaunch="true"
android:label="@string/app_name" >
</activity>
<activity
android:name="se.hv.dindag.MyDay"
android:clearTaskOnLaunch="true"
android:label="@string/app_name" >
</activity>
<activity
android:name="se.hv.dindag.DinDagMenu"
android:clearTaskOnLaunch="true"
android:label="@string/app_name" >
</activity>
<activity
android:name="se.hv.dindag.AboutUs"
android:clearTaskOnLaunch="true"
android:label="Om appen"
android:theme="@android:style/Theme.Dialog" >
<intent-filter>
<action android:name="se.hv.dindag.ABOUT" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity
android:name="se.hv.dindag.TwitterFeed"
android:clearTaskOnLaunch="true"
android:label="@string/twitterTitle" >
<intent-filter>
<action android:name="se.hv.dindag.TWITTER" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
</application>
</manifest>

View File

@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="se.hv.dindag"
package="se.hv.crille"
android:versionCode="1"
android:versionName="1.0" >
@@ -7,11 +8,71 @@
android:minSdkVersion="9"
android:targetSdkVersion="17" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:clearTaskOnLaunch="true"
android:icon="@drawable/icon_gubben"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
android:theme="@style/hvTheme" >
<activity
android:name="se.hv.dindag.Start"
android:clearTaskOnLaunch="true"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name="se.hv.dindag.WebReader"
android:clearTaskOnLaunch="true"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.WEBREADER" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity
android:name="se.hv.dindag.Login"
android:clearTaskOnLaunch="true"
android:label="@string/app_name" >
</activity>
<activity
android:name="se.hv.dindag.MyDay"
android:clearTaskOnLaunch="true"
android:label="@string/app_name" >
</activity>
<activity
android:name="se.hv.dindag.DinDagMenu"
android:clearTaskOnLaunch="true"
android:label="@string/app_name" >
</activity>
<activity
android:name="se.hv.dindag.AboutUs"
android:clearTaskOnLaunch="true"
android:label="Om appen"
android:theme="@android:style/Theme.Dialog" >
<intent-filter>
<action android:name="se.hv.dindag.ABOUT" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity
android:name="se.hv.dindag.TwitterFeed"
android:clearTaskOnLaunch="true"
android:label="@string/twitterTitle" >
<intent-filter>
<action android:name="se.hv.dindag.TWITTER" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
</application>
</manifest>

View File

@@ -1 +1,2 @@
/se
/.gitignore

View File

@@ -1,6 +0,0 @@
/** Automatically generated file. DO NOT MODIFY */
package se.hv.dindag;
public final class BuildConfig {
public final static boolean DEBUG = true;
}

View File

@@ -1,36 +0,0 @@
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* aapt tool from the resource data it found. It
* should not be modified by hand.
*/
package se.hv.dindag;
public final class R {
public static final class attr {
}
public static final class drawable {
public static final int ic_launcher=0x7f020000;
}
public static final class string {
public static final int app_name=0x7f030000;
}
public static final class style {
/**
Base application theme, dependent on API level. This theme is replaced
by AppBaseTheme from res/values-vXX/styles.xml on newer devices.
Theme customizations available in newer API levels can go in
res/values-vXX/styles.xml, while customizations related to
backward-compatibility can go here.
*/
public static final int AppBaseTheme=0x7f040000;
/** Application theme.
All customizations that are NOT specific to a particular API-level can go here.
*/
public static final int AppTheme=0x7f040001;
}
}

10
DinDag/res/values/strings.xml Normal file → Executable file
View File

@@ -1,5 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">DinDag</string>
<string name="app_name">Din Dag på HV</string>
<string name="hello_world">Hello world!</string>
<string name="menu_settings">Settings</string>
<string name="btnLoginText">Logga in</string>
<string name="usernameHint">Användarnamn</string>
<string name="passwordHint">Lösenord</string>
<string name="txtAbout">Denna app har utvecklats av Crille, Malin, Johan och Viktor. Om du visste hur mycket blod som ligger bakom utvecklingen av den här appen skulle du omedelbart springa hit och bjuda oss på kaffe.</string>
<string name="twitterTitle">Tweets från Högskolan Väst</string>
</resources>

0
DinDag/res/values/styles.xml Normal file → Executable file
View File