Permalink
Browse files

- Deleted Android project (Created on new branch)

- Fixes PM
- Fixes Linkkai Protocol
  • Loading branch information...
1 parent a49307a commit 08440287a75f255ac80ce5d9801cc510ca990bb7 @netonjm committed Oct 11, 2012
Showing with 2,810 additions and 11,527 deletions.
  1. +5 −0 .gitignore
  2. +2,598 −2,598 SharpPcap/docs/Api/SharpPcap.xml
  3. +0 −27 XBSlink.Android/AboutActivity.cs
  4. +0 −19 XBSlink.Android/Assets/AboutAssets.txt
  5. +0 −31 XBSlink.Android/BroadcastService.cs
  6. +0 −20 XBSlink.Android/Libs/ActivityManager.cs
  7. +0 −18 XBSlink.Android/Libs/AlertMessage.cs
  8. +0 −228 XBSlink.Android/Libs/AndroidClientEngine.cs
  9. +0 −91 XBSlink.Android/Libs/AndroidClientEngineProcess.cs
  10. +0 −81 XBSlink.Android/Libs/AudioManagement.cs
  11. +0 −26 XBSlink.Android/Libs/ChatItem.cs
  12. +0 −112 XBSlink.Android/Libs/DB/DBCommandsConfiguration.cs
  13. +0 −30 XBSlink.Android/Libs/DB/DBHelper.cs
  14. +0 −167 XBSlink.Android/Libs/EnvironmentEx.cs
  15. +0 −74 XBSlink.Android/Libs/Grid/CloudsItem.cs
  16. +0 −60 XBSlink.Android/Libs/Grid/CloudsListAdapter.cs
  17. +0 −29 XBSlink.Android/Libs/Grid/PMItem.cs
  18. +0 −59 XBSlink.Android/Libs/Grid/PMListAdapter.cs
  19. +0 −81 XBSlink.Android/Libs/Grid/UsersItem.cs
  20. +0 −59 XBSlink.Android/Libs/Grid/UsersListAdapter.cs
  21. +0 −51 XBSlink.Android/Libs/LogManager.cs
  22. +0 −131 XBSlink.Android/Libs/NetworkCardManager.cs
  23. +0 −91 XBSlink.Android/LogActivity.cs
  24. +0 −296 XBSlink.Android/MainActivity.cs
  25. +0 −216 XBSlink.Android/MainChatActivity.cs
  26. +0 −239 XBSlink.Android/MainCloudsActivity.cs
  27. +0 −74 XBSlink.Android/MainPMActivity.cs
  28. +0 −140 XBSlink.Android/MainSettingsActivity.cs
  29. +0 −106 XBSlink.Android/MainUsersActivity.cs
  30. +0 −49 XBSlink.Android/Pages/MasterActivity.cs
  31. +0 −48 XBSlink.Android/Pages/MasterTab.cs
  32. +0 −217 XBSlink.Android/Pages/MasterTabContainer.cs
  33. +0 −19 XBSlink.Android/Properties/AndroidManifest.xml
  34. +0 −41 XBSlink.Android/Properties/AssemblyInfo.cs
  35. +0 −18 XBSlink.Android/Resources/Drawable/CustomSelector.xml
  36. BIN XBSlink.Android/Resources/Drawable/Icon.png
  37. BIN XBSlink.Android/Resources/Drawable/Icon2.png
  38. BIN XBSlink.Android/Resources/Drawable/email.png
  39. BIN XBSlink.Android/Resources/Drawable/email_go.png
  40. BIN XBSlink.Android/Resources/Drawable/email_open.png
  41. BIN XBSlink.Android/Resources/Drawable/ic_tab_artists_grey.png
  42. BIN XBSlink.Android/Resources/Drawable/ic_tab_artists_white.png
  43. BIN XBSlink.Android/Resources/Drawable/icon_key.png
  44. +0 −25 XBSlink.Android/Resources/Layout/About.axml
  45. +0 −35 XBSlink.Android/Resources/Layout/CloudView.axml
  46. +0 −32 XBSlink.Android/Resources/Layout/CustomListItem.axml
  47. +0 −20 XBSlink.Android/Resources/Layout/Log.axml
  48. +0 −21 XBSlink.Android/Resources/Layout/MainTab.axml
  49. +0 −37 XBSlink.Android/Resources/Layout/MainTabChat.axml
  50. +0 −82 XBSlink.Android/Resources/Layout/MainTabClouds.axml
  51. +0 −18 XBSlink.Android/Resources/Layout/MainTabPM.axml
  52. +0 −84 XBSlink.Android/Resources/Layout/MainTabSettings.axml
  53. +0 −18 XBSlink.Android/Resources/Layout/MainTabUsers.axml
  54. +0 −35 XBSlink.Android/Resources/Layout/PMView.axml
  55. +0 −38 XBSlink.Android/Resources/Layout/Test1.axml
  56. +0 −56 XBSlink.Android/Resources/Layout/TestButtons.axml
  57. +0 −35 XBSlink.Android/Resources/Layout/UsersView.axml
  58. BIN XBSlink.Android/Resources/Raw/incoming_chat_msg.mp3
  59. BIN XBSlink.Android/Resources/Raw/new_node.mp3
  60. BIN XBSlink.Android/Resources/Raw/node_left.mp3
  61. +0 −356 XBSlink.Android/Resources/Resource.Designer.cs
  62. +0 −6 XBSlink.Android/Resources/Values/Colors.xml
  63. +0 −5 XBSlink.Android/Resources/Values/Strings.xml
  64. +0 −160 XBSlink.Android/Test2Activity.cs
  65. +0 −93 XBSlink.Android/TestActivity.cs
  66. +0 −201 XBSlink.Android/XBSlink.Android.csproj
  67. BIN XBSlink.Android/bin/Debug/XBSLink.Client.Android-Signed.apk
  68. BIN XBSlink.Android/bin/Debug/XBSLink.Client.Android.apk
  69. BIN XBSlink.Android/bin/Debug/XBSLink.Client.Android.dll
  70. BIN XBSlink.Android/bin/Debug/XBSLink.Client.Android.dll.mdb
  71. BIN XBSlink.Android/bin/Debug/XBSLink.Client.Android.pdb
  72. BIN XBSlink.Android/bin/Debug/XBSlink.Android.dll
  73. BIN XBSlink.Android/bin/Debug/XBSlink.Android.dll.mdb
  74. BIN XBSlink.Android/bin/Debug/XBSlink.Android.pdb
  75. BIN XBSlink.Android/obj/Debug/DesignTimeResolveAssemblyReferences.cache
  76. BIN XBSlink.Android/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
  77. +0 −37 XBSlink.Android/obj/Debug/XBSLink.Client.Android.csproj.FileListAbsolute.txt
  78. BIN XBSlink.Android/obj/Debug/XBSLink.Client.Android.dll
  79. BIN XBSlink.Android/obj/Debug/XBSLink.Client.Android.pdb
  80. +0 −37 XBSlink.Android/obj/Debug/XBSlink.Android.csproj.FileListAbsolute.txt
  81. BIN XBSlink.Android/obj/Debug/XBSlink.Android.dll
  82. BIN XBSlink.Android/obj/Debug/XBSlink.Android.pdb
  83. +0 −22 XBSlink.Android/obj/Debug/acw-map.txt
  84. +0 −42 XBSlink.Android/obj/Debug/android/AndroidManifest.xml
  85. BIN XBSlink.Android/obj/Debug/android/assets/Mono.Android.dll
  86. BIN XBSlink.Android/obj/Debug/android/assets/Mono.Android.dll.mdb
  87. BIN XBSlink.Android/obj/Debug/android/assets/Mono.Security.dll
  88. BIN XBSlink.Android/obj/Debug/android/assets/Mono.Security.dll.mdb
  89. BIN XBSlink.Android/obj/Debug/android/assets/System.Core.dll
  90. BIN XBSlink.Android/obj/Debug/android/assets/System.Core.dll.mdb
  91. BIN XBSlink.Android/obj/Debug/android/assets/System.Xml.dll
  92. BIN XBSlink.Android/obj/Debug/android/assets/System.Xml.dll.mdb
  93. BIN XBSlink.Android/obj/Debug/android/assets/System.dll
  94. BIN XBSlink.Android/obj/Debug/android/assets/System.dll.mdb
  95. BIN XBSlink.Android/obj/Debug/android/assets/XBSLink.Client.Android.dll
  96. BIN XBSlink.Android/obj/Debug/android/assets/XBSLink.Client.Android.dll.mdb
  97. BIN XBSlink.Android/obj/Debug/android/assets/XBSlink.Android.dll
  98. BIN XBSlink.Android/obj/Debug/android/assets/XBSlink.Android.dll.mdb
  99. +0 −273 XBSlink.Android/obj/Debug/android/assets/machine.config
  100. BIN XBSlink.Android/obj/Debug/android/assets/mscorlib.dll
  101. BIN XBSlink.Android/obj/Debug/android/assets/mscorlib.dll.mdb
  102. BIN XBSlink.Android/obj/Debug/android/bin/XBSLink.Client.Android.apk
  103. BIN XBSlink.Android/obj/Debug/android/bin/classes.dex
  104. BIN XBSlink.Android/obj/Debug/android/bin/classes/xbslink/android/AboutActivity.class
  105. BIN XBSlink.Android/obj/Debug/android/bin/classes/xbslink/android/BroadcastService.class
  106. BIN XBSlink.Android/obj/Debug/android/bin/classes/xbslink/android/LogActivity.class
  107. BIN XBSlink.Android/obj/Debug/android/bin/classes/xbslink/android/LogActivity_MyRunnable.class
  108. BIN XBSlink.Android/obj/Debug/android/bin/classes/xbslink/android/MainActivity.class
  109. BIN ...ndroid/obj/Debug/android/bin/classes/xbslink/android/MainActivity_ActivityBroadcastReceiver.class
  110. BIN XBSlink.Android/obj/Debug/android/bin/classes/xbslink/android/MainChatActivity.class
  111. BIN XBSlink.Android/obj/Debug/android/bin/classes/xbslink/android/MainChatActivity_MyRunnable.class
  112. BIN XBSlink.Android/obj/Debug/android/bin/classes/xbslink/android/MainChatActivity_UpdateUI.class
  113. BIN XBSlink.Android/obj/Debug/android/bin/classes/xbslink/android/MainCloudsActivity.class
  114. BIN XBSlink.Android/obj/Debug/android/bin/classes/xbslink/android/MainPMActivity.class
  115. BIN XBSlink.Android/obj/Debug/android/bin/classes/xbslink/android/MainSettingsActivity.class
  116. BIN XBSlink.Android/obj/Debug/android/bin/classes/xbslink/android/MainUsersActivity.class
  117. BIN XBSlink.Android/obj/Debug/android/bin/classes/xbslink/android/MasterTab.class
  118. BIN XBSlink.Android/obj/Debug/android/bin/classes/xbslink/android/MasterTabContainer.class
  119. BIN XBSlink.Android/obj/Debug/android/bin/classes/xbslink/android/MyService.class
  120. BIN XBSlink.Android/obj/Debug/android/bin/classes/xbslink/android/R$color.class
  121. BIN XBSlink.Android/obj/Debug/android/bin/classes/xbslink/android/R$drawable.class
  122. BIN XBSlink.Android/obj/Debug/android/bin/classes/xbslink/android/R$id.class
  123. BIN XBSlink.Android/obj/Debug/android/bin/classes/xbslink/android/R$layout.class
  124. BIN XBSlink.Android/obj/Debug/android/bin/classes/xbslink/android/R$raw.class
  125. BIN XBSlink.Android/obj/Debug/android/bin/classes/xbslink/android/R$string.class
  126. BIN XBSlink.Android/obj/Debug/android/bin/classes/xbslink/android/R.class
  127. BIN XBSlink.Android/obj/Debug/android/bin/classes/xbslink/android/Test2Activity.class
  128. BIN XBSlink.Android/obj/Debug/android/bin/classes/xbslink/android/TestActivity.class
  129. BIN XBSlink.Android/obj/Debug/android/bin/classes/xbslink/android/grid/CloudsListAdapter.class
  130. BIN XBSlink.Android/obj/Debug/android/bin/classes/xbslink/android/grid/PMListAdapter.class
  131. BIN XBSlink.Android/obj/Debug/android/bin/classes/xbslink/android/grid/UsersListAdapter.class
  132. BIN XBSlink.Android/obj/Debug/android/bin/classes/xbslink/client/android/AboutActivity.class
  133. BIN XBSlink.Android/obj/Debug/android/bin/classes/xbslink/client/android/LogActivity.class
  134. BIN XBSlink.Android/obj/Debug/android/bin/classes/xbslink/client/android/LogActivity_MyRunnable.class
  135. BIN XBSlink.Android/obj/Debug/android/bin/classes/xbslink/client/android/MainActivity.class
  136. BIN XBSlink.Android/obj/Debug/android/bin/classes/xbslink/client/android/MainChatActivity.class
  137. BIN ...nk.Android/obj/Debug/android/bin/classes/xbslink/client/android/MainChatActivity_MyRunnable.class
  138. BIN XBSlink.Android/obj/Debug/android/bin/classes/xbslink/client/android/MainChatActivity_UpdateUI.class
  139. BIN XBSlink.Android/obj/Debug/android/bin/classes/xbslink/client/android/MainCloudsActivity.class
  140. BIN XBSlink.Android/obj/Debug/android/bin/classes/xbslink/client/android/MainPMActivity.class
  141. BIN XBSlink.Android/obj/Debug/android/bin/classes/xbslink/client/android/MainSettingsActivity.class
  142. BIN XBSlink.Android/obj/Debug/android/bin/classes/xbslink/client/android/MainUsersActivity.class
  143. BIN XBSlink.Android/obj/Debug/android/bin/classes/xbslink/client/android/MasterTab.class
  144. BIN XBSlink.Android/obj/Debug/android/bin/classes/xbslink/client/android/MasterTabContainer.class
  145. BIN XBSlink.Android/obj/Debug/android/bin/classes/xbslink/client/android/MyService.class
  146. BIN XBSlink.Android/obj/Debug/android/bin/classes/xbslink/client/android/R$attr.class
  147. BIN XBSlink.Android/obj/Debug/android/bin/classes/xbslink/client/android/R$color.class
  148. BIN XBSlink.Android/obj/Debug/android/bin/classes/xbslink/client/android/R$drawable.class
  149. BIN XBSlink.Android/obj/Debug/android/bin/classes/xbslink/client/android/R$id.class
  150. BIN XBSlink.Android/obj/Debug/android/bin/classes/xbslink/client/android/R$layout.class
  151. BIN XBSlink.Android/obj/Debug/android/bin/classes/xbslink/client/android/R$raw.class
  152. BIN XBSlink.Android/obj/Debug/android/bin/classes/xbslink/client/android/R$string.class
  153. BIN XBSlink.Android/obj/Debug/android/bin/classes/xbslink/client/android/R.class
  154. BIN XBSlink.Android/obj/Debug/android/bin/classes/xbslink/client/android/Test2Activity.class
  155. BIN XBSlink.Android/obj/Debug/android/bin/classes/xbslink/client/android/TestActivity.class
  156. BIN XBSlink.Android/obj/Debug/android/bin/classes/xbslink/client/android/libs/db/DBHelper.class
  157. BIN ...nk.Android/obj/Debug/android/bin/classes/xbslink/client/android/libs/grid/CloudsListAdapter.class
  158. BIN XBSlink.Android/obj/Debug/android/bin/classes/xbslink/client/android/libs/grid/PMListAdapter.class
  159. BIN ...ink.Android/obj/Debug/android/bin/classes/xbslink/client/android/libs/grid/UsersListAdapter.class
  160. BIN XBSlink.Android/obj/Debug/android/bin/packaged_resources
  161. BIN XBSlink.Android/obj/Debug/android/bin/resources_and_assemblies
  162. +0 −68 XBSlink.Android/obj/Debug/android/src/mono/MonoRuntimeProvider.java
  163. +0 −19 XBSlink.Android/obj/Debug/android/src/mono/android/Seppuku.java
  164. +0 −46 XBSlink.Android/obj/Debug/android/src/xbslink/android/AboutActivity.java
  165. +0 −54 XBSlink.Android/obj/Debug/android/src/xbslink/android/BroadcastService.java
  166. +0 −46 XBSlink.Android/obj/Debug/android/src/xbslink/android/LogActivity.java
  167. +0 −54 XBSlink.Android/obj/Debug/android/src/xbslink/android/LogActivity_MyRunnable.java
  168. +0 −64 XBSlink.Android/obj/Debug/android/src/xbslink/android/MainActivity.java
  169. +0 −46 XBSlink.Android/obj/Debug/android/src/xbslink/android/MainActivity_ActivityBroadcastReceiver.java
  170. +0 −46 XBSlink.Android/obj/Debug/android/src/xbslink/android/MainChatActivity.java
  171. +0 −54 XBSlink.Android/obj/Debug/android/src/xbslink/android/MainChatActivity_MyRunnable.java
  172. +0 −109 XBSlink.Android/obj/Debug/android/src/xbslink/android/MainChatActivity_UpdateUI.java
  173. +0 −46 XBSlink.Android/obj/Debug/android/src/xbslink/android/MainCloudsActivity.java
  174. +0 −46 XBSlink.Android/obj/Debug/android/src/xbslink/android/MainPMActivity.java
  175. +0 −46 XBSlink.Android/obj/Debug/android/src/xbslink/android/MainSettingsActivity.java
  176. +0 −46 XBSlink.Android/obj/Debug/android/src/xbslink/android/MainUsersActivity.java
  177. +0 −46 XBSlink.Android/obj/Debug/android/src/xbslink/android/MasterTab.java
  178. +0 −73 XBSlink.Android/obj/Debug/android/src/xbslink/android/MasterTabContainer.java
  179. +0 −46 XBSlink.Android/obj/Debug/android/src/xbslink/android/MyService.java
  180. +0 −119 XBSlink.Android/obj/Debug/android/src/xbslink/android/R.java
  181. +0 −46 XBSlink.Android/obj/Debug/android/src/xbslink/android/Test2Activity.java
  182. +0 −46 XBSlink.Android/obj/Debug/android/src/xbslink/android/TestActivity.java
  183. +0 −73 XBSlink.Android/obj/Debug/android/src/xbslink/android/grid/CloudsListAdapter.java
  184. +0 −73 XBSlink.Android/obj/Debug/android/src/xbslink/android/grid/PMListAdapter.java
  185. +0 −73 XBSlink.Android/obj/Debug/android/src/xbslink/android/grid/UsersListAdapter.java
  186. +0 −46 XBSlink.Android/obj/Debug/android/src/xbslink/client/android/AboutActivity.java
  187. +0 −46 XBSlink.Android/obj/Debug/android/src/xbslink/client/android/LogActivity.java
  188. +0 −54 XBSlink.Android/obj/Debug/android/src/xbslink/client/android/LogActivity_MyRunnable.java
  189. +0 −46 XBSlink.Android/obj/Debug/android/src/xbslink/client/android/MainActivity.java
  190. +0 −46 XBSlink.Android/obj/Debug/android/src/xbslink/client/android/MainChatActivity.java
  191. +0 −54 XBSlink.Android/obj/Debug/android/src/xbslink/client/android/MainChatActivity_MyRunnable.java
  192. +0 −109 XBSlink.Android/obj/Debug/android/src/xbslink/client/android/MainChatActivity_UpdateUI.java
  193. +0 −46 XBSlink.Android/obj/Debug/android/src/xbslink/client/android/MainCloudsActivity.java
  194. +0 −46 XBSlink.Android/obj/Debug/android/src/xbslink/client/android/MainPMActivity.java
  195. +0 −46 XBSlink.Android/obj/Debug/android/src/xbslink/client/android/MainSettingsActivity.java
  196. +0 −46 XBSlink.Android/obj/Debug/android/src/xbslink/client/android/MainUsersActivity.java
  197. +0 −46 XBSlink.Android/obj/Debug/android/src/xbslink/client/android/MasterTab.java
  198. +0 −73 XBSlink.Android/obj/Debug/android/src/xbslink/client/android/MasterTabContainer.java
  199. +0 −46 XBSlink.Android/obj/Debug/android/src/xbslink/client/android/MyService.java
  200. +0 −119 XBSlink.Android/obj/Debug/android/src/xbslink/client/android/R.java
  201. +0 −46 XBSlink.Android/obj/Debug/android/src/xbslink/client/android/Test2Activity.java
  202. +0 −46 XBSlink.Android/obj/Debug/android/src/xbslink/client/android/TestActivity.java
  203. +0 −55 XBSlink.Android/obj/Debug/android/src/xbslink/client/android/libs/db/DBHelper.java
  204. +0 −73 XBSlink.Android/obj/Debug/android/src/xbslink/client/android/libs/grid/CloudsListAdapter.java
  205. +0 −73 XBSlink.Android/obj/Debug/android/src/xbslink/client/android/libs/grid/PMListAdapter.java
  206. +0 −73 XBSlink.Android/obj/Debug/android/src/xbslink/client/android/libs/grid/UsersListAdapter.java
  207. +0 −119 XBSlink.Android/obj/Debug/android/xbslink/android/R.java
  208. +0 −119 XBSlink.Android/obj/Debug/android/xbslink/client/android/R.java
  209. BIN XBSlink.Android/obj/Debug/assemblies/Mono.Android.dll
  210. BIN XBSlink.Android/obj/Debug/assemblies/Mono.Android.dll.mdb
  211. BIN XBSlink.Android/obj/Debug/assemblies/Mono.Security.dll
  212. BIN XBSlink.Android/obj/Debug/assemblies/Mono.Security.dll.mdb
  213. BIN XBSlink.Android/obj/Debug/assemblies/System.Core.dll
  214. BIN XBSlink.Android/obj/Debug/assemblies/System.Core.dll.mdb
  215. BIN XBSlink.Android/obj/Debug/assemblies/System.Xml.dll
  216. BIN XBSlink.Android/obj/Debug/assemblies/System.Xml.dll.mdb
  217. BIN XBSlink.Android/obj/Debug/assemblies/System.dll
  218. BIN XBSlink.Android/obj/Debug/assemblies/System.dll.mdb
  219. BIN XBSlink.Android/obj/Debug/assemblies/XBSLink.Client.Android.dll
  220. BIN XBSlink.Android/obj/Debug/assemblies/XBSLink.Client.Android.dll.mdb
  221. BIN XBSlink.Android/obj/Debug/assemblies/XBSlink.Android.dll
  222. BIN XBSlink.Android/obj/Debug/assemblies/XBSlink.Android.dll.mdb
  223. BIN XBSlink.Android/obj/Debug/assemblies/mscorlib.dll
  224. BIN XBSlink.Android/obj/Debug/assemblies/mscorlib.dll.mdb
  225. 0 XBSlink.Android/obj/Debug/link.flag
  226. +0 −1 XBSlink.Android/obj/Debug/res/drawable/customselector.xml
  227. BIN XBSlink.Android/obj/Debug/res/drawable/email.png
  228. BIN XBSlink.Android/obj/Debug/res/drawable/email_go.png
  229. BIN XBSlink.Android/obj/Debug/res/drawable/email_open.png
  230. BIN XBSlink.Android/obj/Debug/res/drawable/ic_tab_artists_grey.png
  231. BIN XBSlink.Android/obj/Debug/res/drawable/ic_tab_artists_white.png
  232. BIN XBSlink.Android/obj/Debug/res/drawable/icon.png
  233. BIN XBSlink.Android/obj/Debug/res/drawable/icon2.png
  234. BIN XBSlink.Android/obj/Debug/res/drawable/icon_key.png
  235. +0 −1 XBSlink.Android/obj/Debug/res/layout/about.axml
  236. +0 −1 XBSlink.Android/obj/Debug/res/layout/cloudview.axml
  237. +0 −1 XBSlink.Android/obj/Debug/res/layout/log.axml
  238. +0 −1 XBSlink.Android/obj/Debug/res/layout/maintab.axml
  239. +0 −1 XBSlink.Android/obj/Debug/res/layout/maintabchat.axml
  240. +0 −1 XBSlink.Android/obj/Debug/res/layout/maintabclouds.axml
  241. +0 −1 XBSlink.Android/obj/Debug/res/layout/maintabpm.axml
  242. +0 −1 XBSlink.Android/obj/Debug/res/layout/maintabsettings.axml
  243. +0 −1 XBSlink.Android/obj/Debug/res/layout/maintabusers.axml
  244. +0 −1 XBSlink.Android/obj/Debug/res/layout/pmview.axml
  245. +0 −1 XBSlink.Android/obj/Debug/res/layout/test1.axml
  246. +0 −1 XBSlink.Android/obj/Debug/res/layout/testbuttons.axml
  247. +0 −1 XBSlink.Android/obj/Debug/res/layout/usersview.axml
  248. BIN XBSlink.Android/obj/Debug/res/raw/incoming_chat_msg.mp3
  249. BIN XBSlink.Android/obj/Debug/res/raw/new_node.mp3
  250. BIN XBSlink.Android/obj/Debug/res/raw/node_left.mp3
  251. +0 −6 XBSlink.Android/obj/Debug/res/values/colors.xml
  252. +0 −5 XBSlink.Android/obj/Debug/res/values/strings.xml
  253. +0 −1 XBSlink.Android/obj/Debug/resolved_assemblies.txt
  254. +0 −15 XBSlink.Android/obj/Debug/uploadflags.txt
  255. +11 −1 XBSlink.sln
  256. +17 −3 XBSlink/DebugWindow.Designer.cs
  257. +6 −2 XBSlink/DebugWindow.cs
  258. +7 −7 XBSlink/Form1.Designer.cs
  259. +45 −181 XBSlink/Form1.cs
  260. +1 −12 XBSlink/XBSlink.csproj
  261. +19 −11 XBSlink/xbs_node_list.cs
  262. +22 −6 XBSlink/xbs_udp_listener.cs
  263. +0 −44 XBSlink/xlink/msg/xlink_client_send_chat_message.cs
  264. +0 −50 XBSlink/xlink/msg/xlink_create_cloud_create_join_message.cs
  265. +0 −45 XBSlink/xlink/msg/xlink_get_clouds_message.cs
  266. +0 −50 XBSlink/xlink/msg/xlink_server_create_cloud_message.cs
  267. +0 −63 XBSlink/xlink/msg/xlink_server_info_message.cs
  268. +0 −44 XBSlink/xlink/msg/xlink_server_my_chat_message.cs
  269. +0 −45 XBSlink/xlink/msg/xlink_server_my_pm_message.cs
  270. +0 −48 XBSlink/xlink/msg/xlink_server_user_chat_message.cs
  271. +0 −45 XBSlink/xlink/msg/xlink_server_user_offline_message.cs
  272. +0 −48 XBSlink/xlink/msg/xlink_server_user_online_message.cs
  273. +0 −45 XBSlink/xlink/msg/xlink_server_user_pm_message.cs
  274. +1 −176 XBSlink/xlink/xlink_client_messages_helper.cs
  275. +1 −1 XBSlink/xlink/xlink_delegates.cs
  276. +24 −246 XBSlink/xlink/{msg → }/xlink_msg.cs
  277. +46 −118 XBSlink/xlink/xlink_server.cs
  278. +7 −23 XBSlink/xlink/xlink_server_console_process.cs
View
@@ -1,2 +1,7 @@
/XBSlink.suo
/XBSlink.userprefs
+XBSlink/obj
+XBSlink.Android/
+XBSlink/bin
+/*.suo
+/*.userprefs

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -1,27 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-
-using Android.App;
-using Android.Content;
-using Android.OS;
-using Android.Runtime;
-using Android.Views;
-using Android.Widget;
-
-namespace XBSlink.Android
-{
- [Activity(Label = "About XBSLink for Android")]
- public class AboutActivity : Activity
- {
- protected override void OnCreate(Bundle bundle)
- {
- base.OnCreate(bundle);
-
- // Create your application here
-
- SetContentView(Resource.Layout.About);
- }
- }
-}
@@ -1,19 +0,0 @@
-Any raw assets you want to be deployed with your application can be placed in
-this directory (and child directories) and given a Build Action of "AndroidAsset".
-
-These files will be deployed with you package and will be accessible using Android's
-AssetManager, like this:
-
-public class ReadAsset : Activity
-{
- protected override void OnCreate (Bundle bundle)
- {
- base.OnCreate (bundle);
-
- InputStream input = Assets.Open ("my_asset.txt");
- }
-}
-
-Additionally, some Android functions will automatically load asset files:
-
-Typeface tf = Typeface.CreateFromAsset (Context.Assets, "fonts/samplefont.ttf");
@@ -1,31 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Text;
-using Android.App;
-using Android.Content;
-
-namespace XBSlink.Android
-{
- [Service]
- public class BroadcastService : IntentService
- {
- public const string ACTION_NEW_TWEETS = "action.NEW_TWEETS";
- public long LastSinceId { get; set; }
- public BroadcastService() : base()
- {
- this.LastSinceId = 0;
- }
- protected override void OnHandleIntent(Intent intent)
- {
- var lastSinceId = this.LastSinceId;
- //var tweets = Search.SearchTweets(lastSinceId, “#MonoDroid”);
- //this.LastSinceId = tweets.Max(t => t.Id);
- //if (tweets.Exists(t => t.Id > lastSinceId))
- //{
- // var newTweetsIntent = new Intent(ACTION_NEW_TWEETS);
- // newTweetsIntent.PutExtra("oldSinceId", lastSinceId);
- // SendBroadcast(newTweetsIntent);
- //}
- }
- }
-}
@@ -1,20 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Text;
-using Android.App;
-
-namespace XBSlink.Android.Managers
-{
- public class ActivityManager
- {
-
- public LogActivity GetLogActivity(Activity activity)
- {
- return null;
- //activity.
- //return (LogActivity)LocalActivityManager.GetActivity("log");
- }
-
-
- }
-}
@@ -1,18 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Text;
-using Android.Content;
-using Android.Widget;
-
-namespace XBSlink.Android
-{
- class AlertMessage
- {
-
- public static void ShowAlert(Context context, string message)
- {
- Toast.MakeText(context, message, ToastLength.Short).Show();
- }
-
- }
-}
@@ -1,228 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Net;
-using System.Text;
-using System.Threading;
-using Java.Net;
-using XBSlink.XlinkKai;
-
-namespace XBSlink.Android
-{
- public class AndroidClientEngine
- {
-
- public const int standard_port = 31415;
- public const int standard_kay_port = 34522;
- public const int standard_kay_client_port = 34523;
-
- public int udp_kay_socket_port;
- public EndPoint _local_endpoint;
-
-
- public string KAI_CLIENT_LOCAL_DEVICE = "00242BECE7A0";
- public string KAI_CLIENT_LOCAL_NAME = "magurin";
-
- public bool is_exiting;
- public IPAddress _xbs_link_ip;
-
- private Thread sender_thread = null;
-
-
- //public delegate void XlinkDebugMessageHandler(string message_debug, xlink_msg.xbs_message_sender sender);
- //public event XlinkDebugMessageHandler XlinkDebugMessage;
-
- public delegate void ProcessReceivedMessageHandler(xlink_msg msg);
- public event ProcessReceivedMessageHandler ProcessReceivedMessage;
-
-
- List<xlink_msg> sender_msg = new List<xlink_msg>();
-
- public AndroidClientEngine()
- {
- ChangeIPAddresPort( standard_kay_port);
- // InitializeSocket();
- }
-
- public DatagramSocket s;
-
- Thread receive_thread;
-
-
- public void Start()
- {
- is_exiting = false;
- sender_thread = new Thread(new ThreadStart(while_sender));
- sender_thread.IsBackground = true;
- sender_thread.Priority = ThreadPriority.Normal;
- sender_thread.Start();
-
- try
- {
- s = new DatagramSocket(standard_kay_client_port);
- }
- catch (Exception)
- {
- }
-
- System.Console.WriteLine(" * initialized CONSOLE udp listener on port " + udp_kay_socket_port);
- //ProcessDebugMessage(" * initialized CONSOLE udp listener on port " + udp_kay_socket_port, xlink_msg.xbs_message_sender.UDP_LISTENER);
-
- receive_thread = new Thread(new ThreadStart(Receive));
- receive_thread.IsBackground = true;
- receive_thread.Priority = ThreadPriority.Normal;
- receive_thread.Start();
-
-
- }
-
-
- void while_sender()
- {
- while (!is_exiting)
- {
- udp_sender();
- Thread.Sleep(400);
- }
-
- }
-
- void udp_sender()
- {
- if (sender_msg.Count > 0)
- {
- SendMessage(sender_msg[0]);
- sender_msg.Remove(sender_msg[0]);
- }
- }
-
- public void SendMessage(xlink_msg msg)
- {
- if (msg.src_ip != null)
- {
- SendMessage(s, msg.src_ip, msg.src_port, msg.Data);
- }
-
- }
-
-
-
- public static void SendMessage(DatagramSocket s, IPAddress Ip, int port, string msgText)
- {
- var Data = xlink_msg.getUTF8BytesFromString(msgText);
- SendMessage(s, Ip, port, Data);
- }
-
-
- public static void SendMessage(DatagramSocket s, string Ip, int port, string msgText)
- {
- SendMessage(s, IPAddress.Parse(Ip), port, msgText);
- }
-
- public static void SendMessage(DatagramSocket s, IPAddress Ip, int port, byte[] message)
- {
- InetAddress local = InetAddress.GetByName(Ip.ToString());
- //int msg_length = message.Length;
- //byte[] message = StrToByteArray(messageStr);
- DatagramPacket p = new DatagramPacket(message, message.Length, local, port);
- s.Send(p);
- }
-
-
- public static void SendMessage(DatagramSocket s, InetAddress Ip, int port, byte[] message)
- {
- DatagramPacket p = new DatagramPacket(message, message.Length, Ip, port);
- s.Send(p);
- }
-
- int ByteArray = 4096;
-
-
- void Receive()
- {
-
- is_exiting = false;
-
- string text;
-
- byte[] message;
- int Port=-1;
- string HostAddress = "";
-
- DatagramPacket p;
-
- while (!is_exiting)
- {
- message = new byte[ByteArray];
- p = new DatagramPacket(message, message.Length);
-
- try
- {
- s.Receive(p);
- text = ByteArrayToStr(p.GetData()).Replace("\0", "").Replace("\0", string.Empty); //new String().Trim().ToCharArray(), 0, p.Length);
- message = StrToByteArray(text);
- HostAddress = p.Address.HostAddress;
- Port = p.Port;
- //s.Close();
- }
- catch (Exception)
- {
- }
-
- if (message.Length > 0)
- PacketReceived(HostAddress, Port, message);
-
- }
- //Log.d("Udp tutorial", "message:" + text);
- //s.Close();
-
- }
-
-
- public void PacketReceived(string IpAdress, int Port, byte[] message)
- {
- xlink_msg msg = new xlink_msg(message);
- if (msg != null)
- {
- //remote_endpoint = (IPEndPoint)ep;
- msg.src_ip = IPAddress.Parse(IpAdress);
- msg.src_port = Port;
-
- //ProcesamosMSG
- if (ProcessReceivedMessage != null)
- ProcessReceivedMessage(msg);
- }
- }
-
-
- public void Close()
- {
-
- }
-
- public void ChangeIPAddresPort( int console_port)
- {
- // _xbs_link_ip = IPAddress.Parse(xbs_link_ip);
- udp_kay_socket_port = console_port;
- }
-
- public void Listen(int port)
- {
-
- }
-
- public static string ByteArrayToStr(byte[] str)
- {
- //var buf = Encoding.Convert(Encoding.GetEncoding("iso-8859-1"), Encoding.UTF8, str);
- return Encoding.UTF8.GetString(str);
- }
-
- public static byte[] StrToByteArray(string str)
- {
- System.Text.UTF8Encoding encoding = new System.Text.UTF8Encoding();
- return encoding.GetBytes(str);
- }
-
-
-
- }
-}
Oops, something went wrong.

0 comments on commit 0844028

Please sign in to comment.