-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit f9f8206
Showing
65 changed files
with
5,296 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<classpath> | ||
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/> | ||
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/> | ||
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/> | ||
<classpathentry exported="true" kind="lib" path="libs/alljoyn.jar" sourcepath="libs/alljoyn.jar"/> | ||
<classpathentry kind="src" path="src"/> | ||
<classpathentry kind="src" path="gen"/> | ||
<classpathentry kind="output" path="bin/classes"/> | ||
</classpath> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>AllChat</name> | ||
<comment></comment> | ||
<projects> | ||
</projects> | ||
<buildSpec> | ||
<buildCommand> | ||
<name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>com.android.ide.eclipse.adt.PreCompilerBuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>org.eclipse.jdt.core.javabuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>com.android.ide.eclipse.adt.ApkBuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
</buildSpec> | ||
<natures> | ||
<nature>com.android.ide.eclipse.adt.AndroidNature</nature> | ||
<nature>org.eclipse.jdt.core.javanature</nature> | ||
</natures> | ||
</projectDescription> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
eclipse.preferences.version=1 | ||
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled | ||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 | ||
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve | ||
org.eclipse.jdt.core.compiler.compliance=1.7 | ||
org.eclipse.jdt.core.compiler.debug.lineNumber=generate | ||
org.eclipse.jdt.core.compiler.debug.localVariable=generate | ||
org.eclipse.jdt.core.compiler.debug.sourceFile=generate | ||
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error | ||
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error | ||
org.eclipse.jdt.core.compiler.source=1.7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
package="sword.allchat" | ||
android:versionCode="1" | ||
android:versionName="1.1"> | ||
<uses-sdk android:minSdkVersion="10" /> | ||
<!-- Permission required to use the TCP transport --> | ||
<uses-permission android:name="android.permission.INTERNET"></uses-permission> | ||
<uses-permission android:name="android.permission.CHANGE_WIFI_MULTICAST_STATE"></uses-permission> | ||
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"></uses-permission> | ||
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE"></uses-permission> | ||
<!-- Permission required to use the Bluetooth transport --> | ||
<uses-permission android:name="android.permission.BLUETOOTH"></uses-permission> | ||
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN"></uses-permission> | ||
|
||
<uses-permission android:name="android.permission.CAMERA"/> | ||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> | ||
|
||
<application | ||
android:theme="@android:style/Theme.Holo.Light.NoActionBar" | ||
android:icon="@drawable/icon" | ||
android:label="@string/app_name" | ||
android:name=".ChatApplication"> | ||
|
||
<activity | ||
android:name=".StartActivity" | ||
android:label="AllJoyn Chat Begin" > | ||
<intent-filter> | ||
<action android:name="android.intent.action.MAIN" /> | ||
|
||
<category android:name="android.intent.category.LAUNCHER" /> | ||
</intent-filter> | ||
</activity> | ||
|
||
<activity | ||
android:name=".TabWidget" | ||
android:label="@string/app_name"> | ||
|
||
|
||
</activity> | ||
|
||
<activity | ||
android:name=".HostActivity" | ||
android:windowSoftInputMode="adjustResize" | ||
android:label="AllJoyn Chat Channel Hosting"> | ||
</activity> | ||
|
||
<activity | ||
android:windowSoftInputMode="stateHidden" | ||
android:name=".UseActivity" | ||
|
||
android:label="AllJoyn Chat Channel Usage"> | ||
</activity> | ||
|
||
<service | ||
android:icon="@drawable/icon_small" | ||
android:name="AllJoynService"> | ||
</service> | ||
|
||
</application> | ||
</manifest> |
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
/** Automatically generated file. DO NOT MODIFY */ | ||
package sword.allchat; | ||
|
||
public final class BuildConfig { | ||
public final static boolean DEBUG = true; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
/* 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 sword.allchat; | ||
|
||
public final class R { | ||
public static final class attr { | ||
} | ||
public static final class drawable { | ||
public static final int background=0x7f020000; | ||
public static final int camera=0x7f020001; | ||
public static final int chatfrom_bg_normal=0x7f020002; | ||
public static final int chatsystem_bg=0x7f020003; | ||
public static final int chatto_bg_normal=0x7f020004; | ||
public static final int empty_photo=0x7f020005; | ||
public static final int ic_tab_host=0x7f020006; | ||
public static final int ic_tab_host_disabled=0x7f020007; | ||
public static final int ic_tab_host_enabled=0x7f020008; | ||
public static final int ic_tab_use=0x7f020009; | ||
public static final int ic_tab_use_disabled=0x7f02000a; | ||
public static final int ic_tab_use_enabled=0x7f02000b; | ||
public static final int icon=0x7f02000c; | ||
public static final int icon_small=0x7f02000d; | ||
public static final int image=0x7f02000e; | ||
public static final int message=0x7f02000f; | ||
public static final int more=0x7f020010; | ||
} | ||
public static final class id { | ||
public static final int ListView=0x7f050017; | ||
public static final int MessageEditText=0x7f050019; | ||
public static final int NameEditText=0x7f050018; | ||
public static final int btn_left_text=0x7f050011; | ||
public static final int btn_right_text=0x7f050013; | ||
public static final int changeMode=0x7f050022; | ||
public static final int edittext=0x7f050021; | ||
public static final int enterNickname=0x7f05001a; | ||
public static final int errorDescription=0x7f050000; | ||
public static final int errorOk=0x7f050001; | ||
public static final int fromCamera=0x7f050015; | ||
public static final int fromPhoto=0x7f050016; | ||
public static final int hostChannelName=0x7f050002; | ||
public static final int hostChannelStatus=0x7f050003; | ||
public static final int hostNameCancel=0x7f05000a; | ||
public static final int hostNameChannel=0x7f050008; | ||
public static final int hostNameOk=0x7f050009; | ||
public static final int hostQuit=0x7f050007; | ||
public static final int hostSetName=0x7f050004; | ||
public static final int hostStart=0x7f050005; | ||
public static final int hostStartCancel=0x7f05000c; | ||
public static final int hostStartOk=0x7f05000b; | ||
public static final int hostStop=0x7f050006; | ||
public static final int hostStopCancel=0x7f05000e; | ||
public static final int hostStopOk=0x7f05000d; | ||
public static final int iv_left_image=0x7f050010; | ||
public static final int iv_right_image=0x7f050012; | ||
public static final int sendMessage=0x7f050024; | ||
public static final int sendPic=0x7f050025; | ||
public static final int startBtn=0x7f05001b; | ||
public static final int tv_nickname=0x7f05000f; | ||
public static final int tv_user_message=0x7f050014; | ||
public static final int useChannelName=0x7f05001c; | ||
public static final int useChannelStatus=0x7f05001d; | ||
public static final int useHistoryList=0x7f050026; | ||
public static final int useJoin=0x7f05001e; | ||
public static final int useJoinCancel=0x7f050028; | ||
public static final int useJoinChannelList=0x7f050027; | ||
public static final int useLeave=0x7f05001f; | ||
public static final int useLeaveCancel=0x7f05002a; | ||
public static final int useLeaveOk=0x7f050029; | ||
public static final int useMessage=0x7f050023; | ||
public static final int useSelectCancel=0x7f05002c; | ||
public static final int useSelectList=0x7f05002b; | ||
public static final int userName=0x7f050020; | ||
} | ||
public static final class layout { | ||
public static final int alljoynerrordialog=0x7f030000; | ||
public static final int host=0x7f030001; | ||
public static final int hostnamedialog=0x7f030002; | ||
public static final int hoststartdialog=0x7f030003; | ||
public static final int hoststopdialog=0x7f030004; | ||
public static final int list_item_left_iamge=0x7f030005; | ||
public static final int list_item_left_text=0x7f030006; | ||
public static final int list_item_right_iamge=0x7f030007; | ||
public static final int list_item_right_text=0x7f030008; | ||
public static final int list_user_message_text=0x7f030009; | ||
public static final int main=0x7f03000a; | ||
public static final int pickphotodialog=0x7f03000b; | ||
public static final int slchat=0x7f03000c; | ||
public static final int slmessage=0x7f03000d; | ||
public static final int start=0x7f03000e; | ||
public static final int use=0x7f03000f; | ||
public static final int usejoindialog=0x7f030010; | ||
public static final int useleavedialog=0x7f030011; | ||
public static final int useselectdialog=0x7f030012; | ||
} | ||
public static final class string { | ||
public static final int app_name=0x7f040000; | ||
public static final int enterMessageHint=0x7f040002; | ||
public static final int enterNickName=0x7f040001; | ||
} | ||
} |
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<lint> | ||
<issue id="NewApi" severity="ignore" /> | ||
</lint> |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# This file is automatically generated by Android Tools. | ||
# Do not modify this file -- YOUR CHANGES WILL BE ERASED! | ||
# | ||
# This file must be checked in Version Control Systems. | ||
# | ||
# To customize properties used by the Ant build system edit | ||
# "ant.properties", and override values to adapt the script to your | ||
# project structure. | ||
# | ||
# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): | ||
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt | ||
|
||
# Project target. | ||
target=android-19 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<selector xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<!-- When selected, use grey --> | ||
<item android:drawable="@drawable/ic_tab_host_enabled" | ||
android:state_selected="true" /> | ||
<!-- When not selected, use white--> | ||
<item android:drawable="@drawable/ic_tab_host_disabled" /> | ||
</selector> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<selector xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<!-- When selected, use grey --> | ||
<item android:drawable="@drawable/ic_tab_use_enabled" | ||
android:state_selected="true" /> | ||
<!-- When not selected, use white--> | ||
<item android:drawable="@drawable/ic_tab_use_disabled" /> | ||
</selector> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:orientation="vertical" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content"> | ||
|
||
<View | ||
android:layout_width="match_parent" | ||
android:layout_height="5dip"> | ||
</View> | ||
|
||
<TextView | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" | ||
android:gravity="center" | ||
android:text="AllJoyn出现了错误: " | ||
/> | ||
|
||
<TextView | ||
android:id="@+id/errorDescription" | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" | ||
android:gravity="center" | ||
android:text="No error (ER_OK)" | ||
/> | ||
|
||
<LinearLayout | ||
android:orientation="horizontal" | ||
android:gravity="center" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_marginTop="5dp"> | ||
|
||
<Button | ||
android:id="@+id/errorOk" | ||
android:layout_width="120dp" | ||
android:layout_height="wrap_content" | ||
android:text="OK" | ||
/> | ||
|
||
</LinearLayout> | ||
</LinearLayout> |
Oops, something went wrong.