Skip to content

Commit 68fe33a

Browse files
committed
first commit
0 parents  commit 68fe33a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+4555
-0
lines changed

AndroidManifest.xml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3+
package="de.hdmstuttgart.yaxim" android:versionCode="1"
4+
android:versionName="1.0.0">
5+
<uses-permission android:name="android.permission.INTERNET" />
6+
<uses-permission android:name="android.permission.VIBRATE" />
7+
<uses-permission android:name="android.permission." />
8+
<application android:icon="@drawable/icon"
9+
android:debuggable="true" android:label="@string/app_name">
10+
11+
<activity android:name=".MainWindow" android:label="@string/app_name"
12+
android:launchMode="singleTask">
13+
<intent-filter>
14+
<action android:name="android.intent.action.MAIN" />
15+
<category android:name="android.intent.category.LAUNCHER" />
16+
</intent-filter>
17+
</activity>
18+
19+
<activity android:name=".chat.ChatWindow" android:label="@string/app_name"
20+
android:alwaysRetainTaskState="true">
21+
</activity>
22+
23+
<activity android:name=".preferences.MainPrefs"
24+
android:label="@string/app_name">
25+
</activity>
26+
27+
<activity android:name=".preferences.AccountPrefs"
28+
android:label="@string/app_name">
29+
</activity>
30+
31+
<service android:name=".service.XMPPService">
32+
<intent-filter>
33+
<action android:name="de.hdmstuttgart.yaxim.XMPPSERVICE" />
34+
</intent-filter>
35+
</service>
36+
</application>
37+
</manifest>

default.properties

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# This file is automatically generated by Android Tools.
2+
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
3+
#
4+
# This file must be checked in Version Control Systems.
5+
#
6+
# To customize properties used by the Ant build system use,
7+
# "build.properties", and override values to adapt the script to your
8+
# project structure.
9+
10+
# Project target.
11+
target=android-3
12+
# apk configurations. This property allows creation of APK files with limited
13+
# resources. For example, if your application contains many locales and
14+
# you wish to release multiple smaller apks instead of a large one, you can
15+
# define configuration to create apks with limited language sets.
16+
# Format is a comma separated list of configuration names. For each
17+
# configuration, a property will declare the resource configurations to
18+
# include. Example:
19+
# apk-configurations=european,northamerica
20+
# apk-config-european=en,fr,it,de,es
21+
# apk-config-northamerica=en,es
22+
apk-configurations=

libs/smack.jar

712 KB
Binary file not shown.

res/drawable/ic_menu_block.png

2.32 KB
Loading

res/drawable/ic_menu_view_off.png

2.26 KB
Loading

res/drawable/icon.png

6.04 KB
Loading
2.62 KB
Loading
2.21 KB
Loading

res/layout/accountprefs.xml

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<PreferenceScreen
3+
xmlns:android="http://schemas.android.com/apk/res/android">
4+
<PreferenceCategory android:title="@string/account_settings_title">
5+
<EditTextPreference
6+
android:id="@+id/account_jabberID"
7+
android:key="account_jabberID"
8+
android:title="@string/account_jabberID_title"
9+
android:summary="@string/account_jabberID_sum"
10+
android:dialogTitle="@string/account_jabberID_sum"
11+
android:textAppearance="?android:attr/textAppearanceLarge"
12+
android:singleLine="true"
13+
/>
14+
<EditTextPreference
15+
android:id="@+id/account_jabberPW"
16+
android:key="account_jabberPW"
17+
android:title="@string/account_jabberPW_title"
18+
android:summary="@string/account_jabberPW_sum"
19+
android:dialogTitle="@string/account_jabberPW_sum"
20+
android:singleLine="true"
21+
android:password="true"
22+
/>
23+
</PreferenceCategory>
24+
<PreferenceCategory android:title="@string/account_settings_title">
25+
<EditTextPreference
26+
android:id="@+id/account_port"
27+
android:key="account_port"
28+
android:title="@string/account_port_title"
29+
android:summary="@string/account_port_summ"
30+
android:dialogTitle="@string/account_port_title"
31+
android:textAppearance="?android:attr/textAppearanceLarge"
32+
android:singleLine="true"
33+
android:numeric="integer"
34+
/>
35+
<EditTextPreference
36+
android:id="@+id/account_resource"
37+
android:key="account_resource"
38+
android:title="@string/account_resource_title"
39+
android:summary="@string/account_resource_summ"
40+
android:textAppearance="?android:attr/textAppearanceLarge"
41+
android:dialogTitle="@string/account_resource_dialog_title"
42+
android:singleLine="true"
43+
/>
44+
<EditTextPreference
45+
android:id="@+id/account_prio"
46+
android:key="account_prio"
47+
android:title="@string/account_prio_title"
48+
android:summary="@string/account_prio_summ"
49+
android:dialogTitle="@string/account_prio_title"
50+
android:textAppearance="?android:attr/textAppearanceLarge"
51+
android:singleLine="true"
52+
android:numeric="integer"
53+
/>
54+
</PreferenceCategory>
55+
<PreferenceCategory android:title="@string/account_options_title">
56+
<CheckBoxPreference
57+
android:id="@+id/connstartup"
58+
android:key="connstartup"
59+
android:title="@string/connstartup_title"
60+
android:summary="@string/connstartup_summary"
61+
/>
62+
<CheckBoxPreference
63+
android:id="@+id/reconnect"
64+
android:key="reconnect"
65+
android:title="@string/reconnect_title"
66+
android:summary="@string/reconnect_summary"
67+
/>
68+
</PreferenceCategory>
69+
</PreferenceScreen>

res/layout/addrosteritemdialog.xml

Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
3+
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
4+
android:id="@+id/statusLayout"
5+
android:orientation="vertical"
6+
android:layout_width="fill_parent"
7+
android:minWidth="200px"
8+
android:layout_height="fill_parent">
9+
10+
<ScrollView android:layout_marginBottom="50dip"
11+
android:id="@+id/StatusDialog_ScrollView"
12+
android:layout_height="wrap_content"
13+
android:layout_width="fill_parent" >
14+
<LinearLayout
15+
android:id="@+id/AddContact_ScrollLayout"
16+
android:layout_width="fill_parent"
17+
android:layout_height="wrap_content"
18+
android:orientation="vertical"
19+
>
20+
<TextView
21+
android:id="@+id/Addcontact_Title"
22+
android:layout_width="fill_parent"
23+
android:layout_height="wrap_content"
24+
android:text="@string/addFriend_Summ"
25+
android:padding="10sp"
26+
/>
27+
<EditText
28+
android:id="@+id/AddContact_EditTextField"
29+
android:layout_width="fill_parent"
30+
android:layout_height="wrap_content"
31+
android:padding="10sp"
32+
android:gravity="left"
33+
android:singleLine="true"
34+
android:textSize="18sp"
35+
android:maxWidth="200sp"
36+
android:hint="foo@jabber.bar.com"/>
37+
38+
<EditText
39+
android:id="@+id/AddContactAlias_EditTextField"
40+
android:layout_width="fill_parent"
41+
android:layout_height="wrap_content"
42+
android:padding="10sp"
43+
android:gravity="left"
44+
android:singleLine="true"
45+
android:textSize="18sp"
46+
android:maxWidth="200sp"
47+
android:hint="@string/addFriend_aliasHint"
48+
/>
49+
50+
51+
<Spinner android:id="@+id/AddContact_GroupSpinner"
52+
android:prompt="@string/AddContact_SpinnerPrompt"
53+
android:layout_width="fill_parent"
54+
android:layout_height="wrap_content">
55+
56+
</Spinner>
57+
58+
<EditText
59+
android:id="@+id/AddRosterItem_NewGroup_EditTextField"
60+
android:layout_width="fill_parent"
61+
android:layout_height="wrap_content"
62+
android:visible="false"
63+
android:enabled="false"
64+
android:padding="10sp"
65+
android:gravity="left"
66+
android:singleLine="true"
67+
android:textSize="18sp"
68+
android:maxWidth="200sp"
69+
android:hint="@string/NewGroup_EditTextField_Hint"
70+
/>
71+
</LinearLayout>
72+
</ScrollView>
73+
<LinearLayout
74+
android:layout_marginTop="-50dip"
75+
android:id="@+id/AddContact_ButtonLayout"
76+
android:layout_width="fill_parent"
77+
android:layout_height="wrap_content"
78+
android:layout_gravity="center_horizontal">
79+
<Button
80+
android:id="@+id/AddContact_OkButton"
81+
android:layout_width="120sp"
82+
android:layout_height="wrap_content"
83+
android:text="@string/Global_OK"
84+
android:clickable="false"
85+
/>
86+
87+
<Button
88+
android:id="@+id/AddContact_CancelButton"
89+
android:layout_width="120sp"
90+
android:layout_height="wrap_content"
91+
android:text="@string/Global_Cancel"
92+
/>
93+
94+
</LinearLayout>
95+
</LinearLayout>

0 commit comments

Comments
 (0)