Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

clean up

  • Loading branch information...
commit a6a2b45f31d554acc43e15b620e206cb95259fb8 1 parent ddfcc77
@Mparaiso authored
Showing with 3 additions and 4,760 deletions.
  1. +3 −1 .gitignore
  2. BIN  bin/res/Touch_320x480/AlertBg_57bc81e3d22db5e9b3f194ab98e46f96768cf8d3.png
  3. BIN  bin/res/Touch_320x480/ButtonD_fcf6805238d1cec27994a70da2ac09a68bb441ee.png
  4. BIN  bin/res/Touch_320x480/ButtonF_5577c44ad35653b1bec0c1d0e1352dd8b767de8b.png
  5. BIN  bin/res/Touch_320x480/ButtonN_7c311555670f1f3070bcfffadf4b60c1330168dc.png
  6. BIN  bin/res/Touch_320x480/ButtonPD_f7b22c1aae5cb60146c4c306a23a8174e3c3dac1.png
  7. BIN  bin/res/Touch_320x480/ButtonPF_de9728c009dc6f76ad686877e27c1cc335749e44.png
  8. BIN  bin/res/Touch_320x480/ButtonP_a75a92e4c260e41834293bb76b323c112729f3e1.png
  9. BIN  bin/res/Touch_320x480/Button_6e6a4cc658f360593ba50d1253d64fe171e16186.png
  10. BIN  bin/res/Touch_320x480/CheckBoxD_5eaf8dc73fbb6570992029b050180f83977ab286.png
  11. BIN  bin/res/Touch_320x480/CheckBoxF_324bc2facd8df08cadf4f981a642370df9a991f3.png
  12. BIN  bin/res/Touch_320x480/CheckBoxN_180159f67f25d808f7d90dbd064e7dc9fb9a31c6.png
  13. BIN  bin/res/Touch_320x480/CheckBoxOD_8eed03152257630f4b58f545f41069cc6cc20f77.png
  14. BIN  bin/res/Touch_320x480/CheckBoxOF_ff287901cbef2b4f2506220f1f8aa02c3a98f3da.png
  15. BIN  bin/res/Touch_320x480/CheckBoxON_9abef7705ab4b25396760a0088fba9b80c2c203e.png
  16. BIN  bin/res/Touch_320x480/CheckBoxOP_13be530424b95799f39b59b597287453c1ce9ad5.png
  17. BIN  bin/res/Touch_320x480/CheckBoxP_429a625399af54e788ffa1886ee967481e3790e8.png
  18. BIN  bin/res/Touch_320x480/CheckBox_2ee875e9839469ef368a502ed9a3561f085230d1.png
  19. BIN  bin/res/Touch_320x480/Cursor_Hand_1db85c04a63f7799c2613c9092fa14fcb776d4d3.png
  20. BIN  bin/res/Touch_320x480/EditBoxD_d7cba54388629b981d42b354aa3032dcb9825bc0.png
  21. BIN  bin/res/Touch_320x480/EditBoxN_6eb10f0efc74c8a83a6a25330a0275255475c0ab.png
  22. BIN  bin/res/Touch_320x480/FocusedBackgroundImage_2b442466f313c9f28188d52b3039f2ded34a2bd0.jpg
  23. BIN  bin/res/Touch_320x480/FormBg_fefdc67e0880a064296b153c0716a1e55ef84aaa.jpg
  24. BIN  bin/res/Touch_320x480/MenuCursor_c5d6f8d9285b4b266ced93535f2e8b00a8225754.png
  25. BIN  bin/res/Touch_320x480/ScrollBarHThumbP_e70f6d0841a9f65461b20ed8957a78db336046a0.png
  26. BIN  bin/res/Touch_320x480/ScrollBarVThumbN_c5de7e900d9a6f83d3e12fdcb84280d5c867eb48.png
  27. BIN  bin/res/Touch_320x480/SliderDownArrowBtnD_f406da588ae157805dafbbc199bbd8da2467d06d.png
  28. BIN  bin/res/Touch_320x480/SliderDownArrowBtnF_a099e4368aa13dc2274eee5fbce9999b876eed97.png
  29. BIN  bin/res/Touch_320x480/SliderDownArrowBtnN_c93271034332ce5c364d36fffcad943aad853d5d.png
  30. BIN  bin/res/Touch_320x480/SliderDownArrowBtnP_c50705b9a4fdbb69e913497e9e536dbb04e708a1.png
  31. BIN  bin/res/Touch_320x480/SliderHBG_6956ab35f1c5b0c2ee894ff14b4bc27ab6110e51.png
  32. BIN  bin/res/Touch_320x480/SliderHThumbD_768f85c5cff6be549beb68e06362aaaa3c1a413b.png
  33. BIN  bin/res/Touch_320x480/SliderHThumbF_5cdfed3a218823711491db648ec63927496d4031.png
  34. BIN  bin/res/Touch_320x480/SliderHThumbN_e367515f575fc0dc5378af0c29a223a29e76fd69.png
  35. BIN  bin/res/Touch_320x480/SliderHThumbP_4cff8345ff173158b9babf1bc4d86bcbb1a753a1.png
  36. BIN  bin/res/Touch_320x480/SliderLeftArrowBtnP_9eddd6935c6487369f48270ef8a547a4e52c8809.png
  37. BIN  bin/res/Touch_320x480/SliderRightArrowBtnD_637d6ae07b4198831c1509acda88d35a02700488.png
  38. BIN  bin/res/Touch_320x480/SliderRightArrowBtnF_67a2413d5cb9f1f4f07076a4c332b6ce53fdf78e.png
  39. BIN  bin/res/Touch_320x480/SliderRightArrowBtnN_91a2d07bf6e6f935d8cae226d412a97fbb942fcb.png
  40. BIN  bin/res/Touch_320x480/SliderRightArrowBtnP_3899ebdcf879cee39a0274067d2ffffe1f9991e5.png
  41. BIN  bin/res/Touch_320x480/SliderUpArrowBtnD_5d1d9fd456a4a229d7d98312784a9f339d217b91.png
  42. BIN  bin/res/Touch_320x480/SliderUpArrowBtnN_be42d215ad5f760bd134d9b382ac4fe087d34640.png
  43. BIN  bin/res/Touch_320x480/SliderUpArrowBtnP_6643a26981b76150fd84d223c1a285ba8baeb1e7.png
  44. BIN  bin/res/Touch_320x480/SliderVBG_f5200b66096f627c6a28038cc18037ee0ef45db0.png
  45. BIN  bin/res/Touch_320x480/SliderVThumbD_93cbdfb1b9c6ac0d47ab0584d60b41c308f7e849.png
  46. BIN  bin/res/Touch_320x480/SliderVThumbF_cb0562a777f3856589577e9279e7c9363f2bccde.png
  47. BIN  bin/res/Touch_320x480/SliderVThumbN_47a79a3aa75f2a6c9d2fd399739c66165e0cc62b.png
  48. BIN  bin/res/Touch_320x480/SliderVThumbP_9208274b1a0d97dc20e64db71096b04a890d4499.png
  49. BIN  bin/res/Touch_320x480/SpinBoxLeftArrowBtnD_f9cffb4e06103e14b6da1aa9056f74c294e46f05.png
  50. BIN  bin/res/Touch_320x480/SpinBoxLeftArrowBtnF_a58263f1ba10b8b205064a308c0494a899033c55.png
  51. BIN  bin/res/Touch_320x480/SpinBoxLeftArrowBtnN_e4dd083b66824637d629ea9814134453e9d3bbf5.png
  52. BIN  bin/res/Touch_320x480/SpinBoxUpArrowBtnF_fef236257731095bffd440b764a6efdce3be6268.png
  53. BIN  bin/res/Touch_320x480/_Title_bfbd35a8e747551285da744df398b5188592c2c1.png
  54. BIN  bin/res/Touch_320x480/_alert_00e5d3e0fb60005eb1a3f2a7dcdb667da482384d.png
  55. BIN  bin/res/Touch_320x480/_blueBg1_027f3ec3926f940751045ecac307d3b114482c5b.jpg
  56. BIN  bin/res/Touch_320x480/_defaultAvatar_f9c46735c7151c5f0eb6449100fa0aa3368200f1.jpg
  57. BIN  bin/res/Touch_320x480/_h1_9f1e2ec93c4b6530e838e3caecbee5f06da076a0.png
  58. BIN  bin/res/Touch_320x480/_h2_ea6a9548d126d3dd951a35d19e53aaa54721f04d.png
  59. BIN  bin/res/Touch_320x480/_inputButtonActive_542c4dcfc3261cb8f8652920c3d1cbe6ebdd2f4d.png
  60. BIN  bin/res/Touch_320x480/_inputButton_8b280af71728720e436e7dd62424271852daf273.png
  61. BIN  bin/res/Touch_320x480/_textBox1_5ed1720ec97398431d812e9774033a5c020b29dd.jpg
  62. BIN  bin/res/Touch_320x480/_twitterLogo_b20537f6fb6c58297bc69546822229d40237a68c.png
  63. BIN  bin/res/Touch_320x480/_vScrollBarOff_c0ab15e4bdedef6002d75f10cf140827f8747370.jpg
  64. BIN  bin/res/Touch_320x480/_vScrollBarOn_45e578fd7f039e3ca54475460e64585f6a47b123.jpg
  65. BIN  bin/res/Touch_320x480/backgroundImage_784a9998471db1f61eed7aaaa5f191cf8587d54c.jpg
  66. BIN  bin/res/Touch_320x480/mouseOut_04a0bf7f74fc3ec4dd27588262b21ea34f9fa39e.png
  67. BIN  bin/res/Touch_320x480/mouseOver_6b7d624887a4390a3e25ce47d4754e5b89f7465f.png
  68. BIN  bin/res/Touch_320x480/toolTip1_bec43362a7dae1c6d3fcd7f637a213bcb33b7286.png
  69. +0 −29 bin/tweet/businessobjects/.svn/all-wcprops
  70. +0 −164 bin/tweet/businessobjects/.svn/entries
  71. +0 −28 bin/tweet/businessobjects/.svn/text-base/ModelVO.java.svn-base
  72. +0 −15 bin/tweet/businessobjects/.svn/text-base/TweetVO.java.svn-base
  73. +0 −43 bin/tweet/businessobjects/.svn/text-base/TweetVOCollection.java.svn-base
  74. +0 −33 bin/tweet/businessobjects/.svn/text-base/UserInfoVO.java.svn-base
  75. BIN  bin/tweet/businessobjects/ModelVO.class
  76. BIN  bin/tweet/businessobjects/TweetVO.class
  77. BIN  bin/tweet/businessobjects/TweetVOCollection.class
  78. BIN  bin/tweet/businessobjects/UserInfoVO.class
  79. +0 −11 bin/tweet/controller/.svn/all-wcprops
  80. +0 −65 bin/tweet/controller/.svn/entries
  81. +0 −36 bin/tweet/controller/.svn/text-base/tweetController.java.svn-base
  82. +0 −11 bin/tweet/controller/subcontrollers/.svn/all-wcprops
  83. +0 −62 bin/tweet/controller/subcontrollers/.svn/entries
  84. +0 −72 bin/tweet/controller/subcontrollers/.svn/text-base/SubController1.java.svn-base
  85. BIN  bin/tweet/controller/subcontrollers/SubController1.class
  86. BIN  bin/tweet/controller/tweetController.class
  87. +0 −35 bin/tweet/events/.svn/all-wcprops
  88. +0 −198 bin/tweet/events/.svn/entries
  89. +0 −8 bin/tweet/events/.svn/text-base/Alerts.java.svn-base
  90. +0 −14 bin/tweet/events/.svn/text-base/ControllerEvents.java.svn-base
  91. +0 −21 bin/tweet/events/.svn/text-base/GenericEvents.java.svn-base
  92. +0 −15 bin/tweet/events/.svn/text-base/TwitterServiceEvent.java.svn-base
  93. +0 −27 bin/tweet/events/.svn/text-base/ViewEvents.java.svn-base
  94. BIN  bin/tweet/events/Alerts.class
  95. BIN  bin/tweet/events/ControllerEvents.class
  96. BIN  bin/tweet/events/GenericEvents.class
  97. BIN  bin/tweet/events/TwitterServiceEvent.class
  98. BIN  bin/tweet/events/ViewEvents.class
  99. +0 −11 bin/tweet/model/.svn/all-wcprops
  100. +0 −62 bin/tweet/model/.svn/entries
  101. +0 −198 bin/tweet/model/.svn/text-base/tweetModel.java.svn-base
  102. BIN  bin/tweet/model/tweetModel.class
  103. BIN  bin/tweet/platform/Main.class
  104. BIN  bin/tweet/platform/PlatformApplicationEnvironment.class
  105. +0 −17 bin/tweet/services/.svn/all-wcprops
  106. +0 −96 bin/tweet/services/.svn/entries
  107. +0 −183 bin/tweet/services/.svn/text-base/TwitterService.java.svn-base
  108. +0 −233 bin/tweet/services/.svn/text-base/TwitterServiceHelper.java.svn-base
  109. BIN  bin/tweet/services/TwitterService.class
  110. BIN  bin/tweet/services/TwitterServiceHelper.class
  111. +0 −11 bin/tweet/utils/.svn/all-wcprops
  112. +0 −62 bin/tweet/utils/.svn/entries
  113. +0 −57 bin/tweet/utils/.svn/text-base/CustomLogger.java.svn-base
  114. BIN  bin/tweet/utils/CustomLogger.class
  115. +0 −17 bin/tweet/view/.svn/all-wcprops
  116. +0 −99 bin/tweet/view/.svn/entries
  117. +0 −56 bin/tweet/view/.svn/text-base/tweetResources.java.svn-base
  118. +0 −39 bin/tweet/view/.svn/text-base/tweetView.java.svn-base
  119. +0 −53 bin/tweet/view/controls/.svn/all-wcprops
  120. +0 −306 bin/tweet/view/controls/.svn/entries
  121. +0 −38 bin/tweet/view/controls/.svn/text-base/Avatar_Container_48_48.java.svn-base
  122. +0 −13 bin/tweet/view/controls/.svn/text-base/ITweetPanelDelegate.java.svn-base
  123. +0 −14 bin/tweet/view/controls/.svn/text-base/IViewControlDelegate.java.svn-base
  124. +0 −192 bin/tweet/view/controls/.svn/text-base/MyCustomControl.java.svn-base
  125. +0 −71 bin/tweet/view/controls/.svn/text-base/TweetPanelDelegate.java.svn-base
  126. +0 −130 bin/tweet/view/controls/.svn/text-base/UserDetailView.java.svn-base
  127. +0 −113 bin/tweet/view/controls/.svn/text-base/ViewControlDelegate.java.svn-base
  128. +0 −315 bin/tweet/view/controls/.svn/text-base/tweetPanel.java.svn-base
  129. BIN  bin/tweet/view/controls/Avatar_Container_48_48.class
  130. BIN  bin/tweet/view/controls/ITweetPanelDelegate.class
  131. BIN  bin/tweet/view/controls/IViewControlDelegate.class
  132. BIN  bin/tweet/view/controls/MyCustomControl.class
  133. BIN  bin/tweet/view/controls/TweetPanelDelegate.class
  134. BIN  bin/tweet/view/controls/UserDetailView.class
  135. BIN  bin/tweet/view/controls/ViewControlDelegate.class
  136. +0 −23 bin/tweet/view/controls/customcontrol/.svn/all-wcprops
  137. +0 −130 bin/tweet/view/controls/customcontrol/.svn/entries
  138. +0 −80 bin/tweet/view/controls/customcontrol/.svn/text-base/CustomTileControlDisplayItem.java.svn-base
  139. +0 −30 bin/tweet/view/controls/customcontrol/.svn/text-base/CustomTileListControlDisplayItemFactory.java.svn-base
  140. +0 −34 bin/tweet/view/controls/customcontrol/.svn/text-base/CustomTileListControlItem.java.svn-base
  141. BIN  bin/tweet/view/controls/customcontrol/CustomTileControlDisplayItem.class
  142. BIN  bin/tweet/view/controls/customcontrol/CustomTileListControlDisplayItemFactory.class
  143. BIN  bin/tweet/view/controls/customcontrol/CustomTileListControlItem.class
  144. +0 −29 bin/tweet/view/controls/data/.svn/all-wcprops
  145. +0 −164 bin/tweet/view/controls/data/.svn/entries
  146. +0 −83 bin/tweet/view/controls/data/.svn/text-base/Avatar_Container_48_48Data.java.svn-base
  147. +0 −276 bin/tweet/view/controls/data/.svn/text-base/MyCustomControlData.java.svn-base
  148. +0 −236 bin/tweet/view/controls/data/.svn/text-base/UserDetailViewData.java.svn-base
  149. +0 −401 bin/tweet/view/controls/data/.svn/text-base/tweetPanelData.java.svn-base
  150. BIN  bin/tweet/view/controls/data/Avatar_Container_48_48Data.class
  151. BIN  bin/tweet/view/controls/data/MyCustomControlData.class
  152. BIN  bin/tweet/view/controls/data/UserDetailViewData.class
  153. BIN  bin/tweet/view/controls/data/tweetPanelData.class
  154. BIN  bin/tweet/view/controls/tweetPanel.class
  155. BIN  bin/tweet/view/data/loaders/Touch_320x480Loader.class
  156. BIN  bin/tweet/view/data/styles/Touch_320x480_Alert.class
  157. BIN  bin/tweet/view/data/styles/Touch_320x480_Button.class
  158. BIN  bin/tweet/view/data/styles/Touch_320x480_CheckBox.class
  159. BIN  bin/tweet/view/data/styles/Touch_320x480_Container.class
  160. BIN  bin/tweet/view/data/styles/Touch_320x480_EditBox.class
  161. BIN  bin/tweet/view/data/styles/Touch_320x480_Form.class
  162. BIN  bin/tweet/view/data/styles/Touch_320x480_GridControl.class
  163. BIN  bin/tweet/view/data/styles/Touch_320x480_HScrollBar.class
  164. BIN  bin/tweet/view/data/styles/Touch_320x480_HSlider.class
  165. BIN  bin/tweet/view/data/styles/Touch_320x480_HSpinBox.class
  166. BIN  bin/tweet/view/data/styles/Touch_320x480_HTMLControl.class
  167. BIN  bin/tweet/view/data/styles/Touch_320x480_HorizontalContainer.class
  168. BIN  bin/tweet/view/data/styles/Touch_320x480_ImageControl.class
  169. BIN  bin/tweet/view/data/styles/Touch_320x480_Label.class
  170. BIN  bin/tweet/view/data/styles/Touch_320x480_LabeledImageControl.class
  171. BIN  bin/tweet/view/data/styles/Touch_320x480_ListControl.class
  172. BIN  bin/tweet/view/data/styles/Touch_320x480_Menu.class
  173. BIN  bin/tweet/view/data/styles/Touch_320x480_PopupMenu.class
  174. BIN  bin/tweet/view/data/styles/Touch_320x480_ProgressBar.class
  175. BIN  bin/tweet/view/data/styles/Touch_320x480_TileListControl.class
  176. BIN  bin/tweet/view/data/styles/Touch_320x480_ToggleButton.class
  177. BIN  bin/tweet/view/data/styles/Touch_320x480_VScrollBar.class
  178. BIN  bin/tweet/view/data/styles/Touch_320x480_VScrollBar1.class
  179. BIN  bin/tweet/view/data/styles/Touch_320x480_VSlider.class
  180. BIN  bin/tweet/view/data/styles/Touch_320x480_VSpinBox.class
  181. BIN  bin/tweet/view/data/styles/Touch_320x480_VerticalContainer.class
  182. BIN  bin/tweet/view/data/styles/Touch_320x480_VerticalContainer1.class
  183. BIN  bin/tweet/view/data/styles/Touch_320x480__toggleButton.class
  184. BIN  bin/tweet/view/data/styles/Touch_320x480_browserButton.class
  185. BIN  bin/tweet/view/tweetResourceLoader.class
  186. BIN  bin/tweet/view/tweetResources.class
  187. BIN  bin/tweet/view/tweetStyles.class
  188. BIN  bin/tweet/view/tweetView.class
View
4 .gitignore
@@ -1 +1,3 @@
-output
+output
+bin
+.project
View
BIN  bin/res/Touch_320x480/AlertBg_57bc81e3d22db5e9b3f194ab98e46f96768cf8d3.png
Deleted file not rendered
View
BIN  bin/res/Touch_320x480/ButtonD_fcf6805238d1cec27994a70da2ac09a68bb441ee.png
Deleted file not rendered
View
BIN  bin/res/Touch_320x480/ButtonF_5577c44ad35653b1bec0c1d0e1352dd8b767de8b.png
Deleted file not rendered
View
BIN  bin/res/Touch_320x480/ButtonN_7c311555670f1f3070bcfffadf4b60c1330168dc.png
Deleted file not rendered
View
BIN  bin/res/Touch_320x480/ButtonPD_f7b22c1aae5cb60146c4c306a23a8174e3c3dac1.png
Deleted file not rendered
View
BIN  bin/res/Touch_320x480/ButtonPF_de9728c009dc6f76ad686877e27c1cc335749e44.png
Deleted file not rendered
View
BIN  bin/res/Touch_320x480/ButtonP_a75a92e4c260e41834293bb76b323c112729f3e1.png
Deleted file not rendered
View
BIN  bin/res/Touch_320x480/Button_6e6a4cc658f360593ba50d1253d64fe171e16186.png
Deleted file not rendered
View
BIN  bin/res/Touch_320x480/CheckBoxD_5eaf8dc73fbb6570992029b050180f83977ab286.png
Deleted file not rendered
View
BIN  bin/res/Touch_320x480/CheckBoxF_324bc2facd8df08cadf4f981a642370df9a991f3.png
Deleted file not rendered
View
BIN  bin/res/Touch_320x480/CheckBoxN_180159f67f25d808f7d90dbd064e7dc9fb9a31c6.png
Deleted file not rendered
View
BIN  bin/res/Touch_320x480/CheckBoxOD_8eed03152257630f4b58f545f41069cc6cc20f77.png
Deleted file not rendered
View
BIN  bin/res/Touch_320x480/CheckBoxOF_ff287901cbef2b4f2506220f1f8aa02c3a98f3da.png
Deleted file not rendered
View
BIN  bin/res/Touch_320x480/CheckBoxON_9abef7705ab4b25396760a0088fba9b80c2c203e.png
Deleted file not rendered
View
BIN  bin/res/Touch_320x480/CheckBoxOP_13be530424b95799f39b59b597287453c1ce9ad5.png
Deleted file not rendered
View
BIN  bin/res/Touch_320x480/CheckBoxP_429a625399af54e788ffa1886ee967481e3790e8.png
Deleted file not rendered
View
BIN  bin/res/Touch_320x480/CheckBox_2ee875e9839469ef368a502ed9a3561f085230d1.png
Deleted file not rendered
View
BIN  bin/res/Touch_320x480/Cursor_Hand_1db85c04a63f7799c2613c9092fa14fcb776d4d3.png
Deleted file not rendered
View
BIN  bin/res/Touch_320x480/EditBoxD_d7cba54388629b981d42b354aa3032dcb9825bc0.png
Deleted file not rendered
View
BIN  bin/res/Touch_320x480/EditBoxN_6eb10f0efc74c8a83a6a25330a0275255475c0ab.png
Deleted file not rendered
View
BIN  bin/res/Touch_320x480/FocusedBackgroundImage_2b442466f313c9f28188d52b3039f2ded34a2bd0.jpg
Deleted file not rendered
View
BIN  bin/res/Touch_320x480/FormBg_fefdc67e0880a064296b153c0716a1e55ef84aaa.jpg
Deleted file not rendered
View
BIN  bin/res/Touch_320x480/MenuCursor_c5d6f8d9285b4b266ced93535f2e8b00a8225754.png
Deleted file not rendered
View
BIN  bin/res/Touch_320x480/ScrollBarHThumbP_e70f6d0841a9f65461b20ed8957a78db336046a0.png
Deleted file not rendered
View
BIN  bin/res/Touch_320x480/ScrollBarVThumbN_c5de7e900d9a6f83d3e12fdcb84280d5c867eb48.png
Deleted file not rendered
View
BIN  bin/res/Touch_320x480/SliderDownArrowBtnD_f406da588ae157805dafbbc199bbd8da2467d06d.png
Diff not rendered
View
BIN  bin/res/Touch_320x480/SliderDownArrowBtnF_a099e4368aa13dc2274eee5fbce9999b876eed97.png
Diff not rendered
View
BIN  bin/res/Touch_320x480/SliderDownArrowBtnN_c93271034332ce5c364d36fffcad943aad853d5d.png
Diff not rendered
View
BIN  bin/res/Touch_320x480/SliderDownArrowBtnP_c50705b9a4fdbb69e913497e9e536dbb04e708a1.png
Diff not rendered
View
BIN  bin/res/Touch_320x480/SliderHBG_6956ab35f1c5b0c2ee894ff14b4bc27ab6110e51.png
Diff not rendered
View
BIN  bin/res/Touch_320x480/SliderHThumbD_768f85c5cff6be549beb68e06362aaaa3c1a413b.png
Diff not rendered
View
BIN  bin/res/Touch_320x480/SliderHThumbF_5cdfed3a218823711491db648ec63927496d4031.png
Diff not rendered
View
BIN  bin/res/Touch_320x480/SliderHThumbN_e367515f575fc0dc5378af0c29a223a29e76fd69.png
Diff not rendered
View
BIN  bin/res/Touch_320x480/SliderHThumbP_4cff8345ff173158b9babf1bc4d86bcbb1a753a1.png
Diff not rendered
View
BIN  bin/res/Touch_320x480/SliderLeftArrowBtnP_9eddd6935c6487369f48270ef8a547a4e52c8809.png
Diff not rendered
View
BIN  bin/res/Touch_320x480/SliderRightArrowBtnD_637d6ae07b4198831c1509acda88d35a02700488.png
Diff not rendered
View
BIN  bin/res/Touch_320x480/SliderRightArrowBtnF_67a2413d5cb9f1f4f07076a4c332b6ce53fdf78e.png
Diff not rendered
View
BIN  bin/res/Touch_320x480/SliderRightArrowBtnN_91a2d07bf6e6f935d8cae226d412a97fbb942fcb.png
Diff not rendered
View
BIN  bin/res/Touch_320x480/SliderRightArrowBtnP_3899ebdcf879cee39a0274067d2ffffe1f9991e5.png
Diff not rendered
View
BIN  bin/res/Touch_320x480/SliderUpArrowBtnD_5d1d9fd456a4a229d7d98312784a9f339d217b91.png
Diff not rendered
View
BIN  bin/res/Touch_320x480/SliderUpArrowBtnN_be42d215ad5f760bd134d9b382ac4fe087d34640.png
Diff not rendered
View
BIN  bin/res/Touch_320x480/SliderUpArrowBtnP_6643a26981b76150fd84d223c1a285ba8baeb1e7.png
Diff not rendered
View
BIN  bin/res/Touch_320x480/SliderVBG_f5200b66096f627c6a28038cc18037ee0ef45db0.png
Diff not rendered
View
BIN  bin/res/Touch_320x480/SliderVThumbD_93cbdfb1b9c6ac0d47ab0584d60b41c308f7e849.png
Diff not rendered
View
BIN  bin/res/Touch_320x480/SliderVThumbF_cb0562a777f3856589577e9279e7c9363f2bccde.png
Diff not rendered
View
BIN  bin/res/Touch_320x480/SliderVThumbN_47a79a3aa75f2a6c9d2fd399739c66165e0cc62b.png
Diff not rendered
View
BIN  bin/res/Touch_320x480/SliderVThumbP_9208274b1a0d97dc20e64db71096b04a890d4499.png
Diff not rendered
View
BIN  bin/res/Touch_320x480/SpinBoxLeftArrowBtnD_f9cffb4e06103e14b6da1aa9056f74c294e46f05.png
Diff not rendered
View
BIN  bin/res/Touch_320x480/SpinBoxLeftArrowBtnF_a58263f1ba10b8b205064a308c0494a899033c55.png
Diff not rendered
View
BIN  bin/res/Touch_320x480/SpinBoxLeftArrowBtnN_e4dd083b66824637d629ea9814134453e9d3bbf5.png
Diff not rendered
View
BIN  bin/res/Touch_320x480/SpinBoxUpArrowBtnF_fef236257731095bffd440b764a6efdce3be6268.png
Diff not rendered
View
BIN  bin/res/Touch_320x480/_Title_bfbd35a8e747551285da744df398b5188592c2c1.png
Diff not rendered
View
BIN  bin/res/Touch_320x480/_alert_00e5d3e0fb60005eb1a3f2a7dcdb667da482384d.png
Diff not rendered
View
BIN  bin/res/Touch_320x480/_blueBg1_027f3ec3926f940751045ecac307d3b114482c5b.jpg
Diff not rendered
View
BIN  bin/res/Touch_320x480/_defaultAvatar_f9c46735c7151c5f0eb6449100fa0aa3368200f1.jpg
Diff not rendered
View
BIN  bin/res/Touch_320x480/_h1_9f1e2ec93c4b6530e838e3caecbee5f06da076a0.png
Diff not rendered
View
BIN  bin/res/Touch_320x480/_h2_ea6a9548d126d3dd951a35d19e53aaa54721f04d.png
Diff not rendered
View
BIN  bin/res/Touch_320x480/_inputButtonActive_542c4dcfc3261cb8f8652920c3d1cbe6ebdd2f4d.png
Diff not rendered
View
BIN  bin/res/Touch_320x480/_inputButton_8b280af71728720e436e7dd62424271852daf273.png
Diff not rendered
View
BIN  bin/res/Touch_320x480/_textBox1_5ed1720ec97398431d812e9774033a5c020b29dd.jpg
Diff not rendered
View
BIN  bin/res/Touch_320x480/_twitterLogo_b20537f6fb6c58297bc69546822229d40237a68c.png
Diff not rendered
View
BIN  bin/res/Touch_320x480/_vScrollBarOff_c0ab15e4bdedef6002d75f10cf140827f8747370.jpg
Diff not rendered
View
BIN  bin/res/Touch_320x480/_vScrollBarOn_45e578fd7f039e3ca54475460e64585f6a47b123.jpg
Diff not rendered
View
BIN  bin/res/Touch_320x480/backgroundImage_784a9998471db1f61eed7aaaa5f191cf8587d54c.jpg
Diff not rendered
View
BIN  bin/res/Touch_320x480/mouseOut_04a0bf7f74fc3ec4dd27588262b21ea34f9fa39e.png
Diff not rendered
View
BIN  bin/res/Touch_320x480/mouseOver_6b7d624887a4390a3e25ce47d4754e5b89f7465f.png
Diff not rendered
View
BIN  bin/res/Touch_320x480/toolTip1_bec43362a7dae1c6d3fcd7f637a213bcb33b7286.png
Diff not rendered
View
29 bin/tweet/businessobjects/.svn/all-wcprops
@@ -1,29 +0,0 @@
-K 25
-svn:wc:ra_dav:version-url
-V 60
-/svn/!svn/ver/12387/trunk/ksutweet/src/tweet/businessobjects
-END
-UserInfoVO.java
-K 25
-svn:wc:ra_dav:version-url
-V 76
-/svn/!svn/ver/12387/trunk/ksutweet/src/tweet/businessobjects/UserInfoVO.java
-END
-ModelVO.java
-K 25
-svn:wc:ra_dav:version-url
-V 73
-/svn/!svn/ver/12387/trunk/ksutweet/src/tweet/businessobjects/ModelVO.java
-END
-TweetVOCollection.java
-K 25
-svn:wc:ra_dav:version-url
-V 83
-/svn/!svn/ver/12406/trunk/ksutweet/src/tweet/businessobjects/TweetVOCollection.java
-END
-TweetVO.java
-K 25
-svn:wc:ra_dav:version-url
-V 73
-/svn/!svn/ver/12387/trunk/ksutweet/src/tweet/businessobjects/TweetVO.java
-END
View
164 bin/tweet/businessobjects/.svn/entries
@@ -1,164 +0,0 @@
-10
-
-dir
-12397
-https://ksutweetnew.svn.codeplex.com/svn/trunk/ksutweet/src/tweet/businessobjects
-https://ksutweetnew.svn.codeplex.com/svn
-
-
-
-2011-11-11T03:42:16.043000Z
-12387
-unknown
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-555e8bc2-ad3d-4a22-a156-a42dcab9bd6f
-
-UserInfoVO.java
-file
-
-
-
-
-2011-11-11T04:17:35.751306Z
-b655250d206b3cf9dcfc9ce828cbf181
-2011-11-11T03:42:16.043000Z
-12387
-unknown
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-940
-
-ModelVO.java
-file
-
-
-
-
-2011-11-11T04:17:35.726304Z
-faf26dd4d5062a7cca0342096fcfb08c
-2011-11-11T03:42:16.043000Z
-12387
-unknown
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-1036
-
-TweetVOCollection.java
-file
-12406
-
-
-
-2011-11-11T16:43:59.271484Z
-1512c8edf59cc888f85bba5dc2b6844d
-2011-11-11T17:10:15.913370Z
-12406
-unknown
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-1515
-
-TweetVO.java
-file
-
-
-
-
-2011-11-11T04:17:35.734305Z
-f605100f136fb85d9622ace9a4855dd7
-2011-11-11T03:42:16.043000Z
-12387
-unknown
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-306
-
View
28 bin/tweet/businessobjects/.svn/text-base/ModelVO.java.svn-base
@@ -1,28 +0,0 @@
-package tweet.businessobjects;
-
-import particle.core.network.HTTP;
-import particle.core.tools.ByteBuffer;
-import particle.core.tools.DOM;
-
-public class ModelVO
-{
- public final int MAX_FOLLOWERS_NUMBER = 20;
- // d�crit le mod�le
- public ByteBuffer byteBuffer;// buffer the request result
- public HTTP httpRequest = null;
- public final String REQUEST_URL = "http://search.twitter.com/search.json?q=";
- public String searchKeyWord = "Particle";
- public DOM tweets = null;
- public final String REQUEST_TWEETS_MESSAGE = "Searching for tweets";
- public final String DEFAULT_KEYWORD = "particle";
- public TweetVOCollection tweetVOCollection; // contient les
- // tweetValueObjects sous forme
- // de tableau;
- public UserInfoVO currentUserInfo;
- public int page = 10;
- public String alertMessage = "";
- public String DefaultStatusMessage = "Enter some keywords (ex: keywords , from:user , ...)";
- public String statusMessage = DefaultStatusMessage;
- public String interactiveAlertMessage = "";
-
-}
View
15 bin/tweet/businessobjects/.svn/text-base/TweetVO.java.svn-base
@@ -1,15 +0,0 @@
-package tweet.businessobjects;
-
-public class TweetVO
-{
- // d�crit un objet tweet
- public String expanded_url;
- public String url;
- public String text;
- public String from_user_id;
- public String from_user;
- public String profile_image_url;
- public String iso_language_code;
- public int id;
-
-}
View
43 bin/tweet/businessobjects/.svn/text-base/TweetVOCollection.java.svn-base
@@ -1,43 +0,0 @@
-package tweet.businessobjects;
-
-import particle.core.tools.DOM;
-import particle.core.tools.DOMNode;
-import tweet.utils.CustomLogger;
-
-public class TweetVOCollection
-{
- public TweetVO Collection[] = new TweetVO[500];
-
- public static TweetVOCollection createFromDom(DOM dom)
- {
-
- int domLength = dom.getSize("results");
- TweetVO tvoa[] = new TweetVO[domLength];
- for (int i = 0; i < domLength; i++)
- {
- // transforme un object DOM en un TweetVO
- TweetVO tvo = new TweetVO();
- tvo.id = dom.getValueInt("results[" + i + "].id");
- tvo.iso_language_code = dom.getValueString("results[" + i + "].iso_language_code");
- tvo.profile_image_url = dom.getValueString("results[" + i + "].profile_image_url");
- tvo.from_user = dom.getValueString("results[" + i + "].from_user");
- tvo.from_user_id = dom.getValueString("results[" + i + "].from_user_id");
- tvo.text = dom.getValueString("results[" + i + "].text");
- DOMNode urls = dom.getNode("results[" + i + "].entities.urls");
- if (urls!=null)
- {
- tvo.expanded_url = urls.getValueString("[0].expanded_url");
- CustomLogger.getInstance().log(tvo.expanded_url);
- CustomLogger.getInstance().log("expanded_url : " + tvo.expanded_url);
- tvo.url = urls.getValueString("[0].url");
- CustomLogger.getInstance().log(tvo.url);
- CustomLogger.getInstance().log("url : " + tvo.url);
- }
- tvoa[i] = tvo;
-
- }
- TweetVOCollection tvoc = new TweetVOCollection();
- tvoc.Collection = tvoa;
- return tvoc;
- }
-}
View
33 bin/tweet/businessobjects/.svn/text-base/UserInfoVO.java.svn-base
@@ -1,33 +0,0 @@
-package tweet.businessobjects;
-
-import java.util.Vector;
-
-import particle.core.tools.DOM;
-
-public class UserInfoVO
-{
- public String name;
- public String screen_name;
- public int friendsCount;
- public Boolean $protected;
- public String description;
- public String profile_image_url;
- int id;
- public Vector followers;
-
- public static UserInfoVO createFromDom(DOM dom)
- {
- // /EN parse dom to extract fields for UserInfoVO
- // /FR parcours le dom et extrait les champs pour UserInfoVO
- UserInfoVO uivo = new UserInfoVO();
- uivo.name = dom.getValueString("name");
- uivo.screen_name = dom.getValueString("screen_name");
- uivo.friendsCount = dom.getValueInt("friendsCount");
- uivo.description = dom.getValueString("description");
- uivo.profile_image_url = dom.getValueString("profile_image_url");
- uivo.id = dom.getValueInt("id");
- uivo.$protected = dom.getValueBool("protected");
- return uivo;
- }
-
-}
View
BIN  bin/tweet/businessobjects/ModelVO.class
Binary file not shown
View
BIN  bin/tweet/businessobjects/TweetVO.class
Binary file not shown
View
BIN  bin/tweet/businessobjects/TweetVOCollection.class
Binary file not shown
View
BIN  bin/tweet/businessobjects/UserInfoVO.class
Binary file not shown
View
11 bin/tweet/controller/.svn/all-wcprops
@@ -1,11 +0,0 @@
-K 25
-svn:wc:ra_dav:version-url
-V 55
-/svn/!svn/ver/12387/trunk/ksutweet/src/tweet/controller
-END
-tweetController.java
-K 25
-svn:wc:ra_dav:version-url
-V 76
-/svn/!svn/ver/12406/trunk/ksutweet/src/tweet/controller/tweetController.java
-END
View
65 bin/tweet/controller/.svn/entries
@@ -1,65 +0,0 @@
-10
-
-dir
-12397
-https://ksutweetnew.svn.codeplex.com/svn/trunk/ksutweet/src/tweet/controller
-https://ksutweetnew.svn.codeplex.com/svn
-
-
-
-2011-11-11T03:42:16.043000Z
-12387
-unknown
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-555e8bc2-ad3d-4a22-a156-a42dcab9bd6f
-
-subcontrollers
-dir
-
-tweetController.java
-file
-12406
-
-
-
-2011-11-11T16:43:58.257431Z
-42f169cc7f2c75a10a1d192a97aad176
-2011-11-11T17:10:15.913370Z
-12406
-unknown
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-988
-
View
36 bin/tweet/controller/.svn/text-base/tweetController.java.svn-base
@@ -1,36 +0,0 @@
-package tweet.controller;
-
-import particle.core.controller.MainController;
-import particle.core.platform.Platform;
-import tweet.controller.subcontrollers.SubController1;
-import tweet.utils.CustomLogger;
-
-public class tweetController extends MainController
-{
- private SubController1 subController1;
-
- public tweetController()
- {
- super();
-
- CustomLogger.getInstance().log("application starts");
- //CustomLogger.getInstance().isEnable(false);
- }
-
- @Override
- protected boolean onCreate()
- {
- // TODO create sub controllers only fin onCreate event
- super.onCreate();
-
- subController1 = new SubController1();
- subController1.create();
- subController1.start();
- Platform.getInstance().logLoadedImages();
- //CustomLogger.log(Platform.getInstance().getCapabilities().toString());
- //CustomLogger.log(Platform.getInstance().getNetwork().toString());
- // Object[] log = {"application is created"};
- // CustomLogger._log(log);
- return true;
- }
-}
View
11 bin/tweet/controller/subcontrollers/.svn/all-wcprops
@@ -1,11 +0,0 @@
-K 25
-svn:wc:ra_dav:version-url
-V 70
-/svn/!svn/ver/12387/trunk/ksutweet/src/tweet/controller/subcontrollers
-END
-SubController1.java
-K 25
-svn:wc:ra_dav:version-url
-V 90
-/svn/!svn/ver/12396/trunk/ksutweet/src/tweet/controller/subcontrollers/SubController1.java
-END
View
62 bin/tweet/controller/subcontrollers/.svn/entries
@@ -1,62 +0,0 @@
-10
-
-dir
-12397
-https://ksutweetnew.svn.codeplex.com/svn/trunk/ksutweet/src/tweet/controller/subcontrollers
-https://ksutweetnew.svn.codeplex.com/svn
-
-
-
-2011-11-11T03:42:16.043000Z
-12387
-unknown
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-555e8bc2-ad3d-4a22-a156-a42dcab9bd6f
-
-SubController1.java
-file
-
-
-
-
-2011-11-11T08:21:25.557904Z
-59145e5c22eeba28a353cb4f04be27ca
-2011-11-11T12:08:26.045764Z
-12396
-unknown
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-2031
-
View
72 bin/tweet/controller/subcontrollers/.svn/text-base/SubController1.java.svn-base
@@ -1,72 +0,0 @@
-package tweet.controller.subcontrollers;
-
-import particle.core.controller.Controller;
-import particle.core.model.Model;
-import particle.core.network.URI;
-import particle.core.platform.Platform;
-import particle.core.view.IViewEventHandler;
-import particle.core.view.ViewEvent;
-import tweet.events.ControllerEvents;
-import tweet.events.ViewEvents;
-import tweet.model.tweetModel;
-
-public class SubController1 extends Controller implements IViewEventHandler
-{
-
- public SubController1()
- {
- // TODO Auto-generated constructor stub
- super();
- }
-
- @Override
- public void onViewEvent(ViewEvent viewEvent)
- {
-
- switch (viewEvent.id)
- {
- case ViewEvents.SEARCH_BUTTON_PRESSED:
- ((tweetModel) Model.getInstance()).setSearchKeyword(viewEvent.data.str);
- ((tweetModel) Model.getInstance()).requestTweets();
- break;
- case ViewEvents.USER_PROFILE_IMAGE_PRESSED:
- ((tweetModel) Model.getInstance()).requestUserInfo(viewEvent.data.str);
- break;
- case ViewEvents.TO_TWEET_LIST:
- dispatchControllerEvent(ControllerEvents.TO_TWEET_LIST);
- break;
- case ViewEvents.GET_TWEETS_FROM_USER_BUTTON_PRESSED:
- // viewEvent.data.str est �gal � screen_name du current user.
- ((tweetModel) Model.getInstance()).setSearchKeyword("from:" + viewEvent.data.str);
- ((tweetModel) Model.getInstance()).requestTweets();
-
- break;
- case ViewEvents.NAVIGATE_TO_URL_BUTTON_CLICKED:
- URI uri = new URI();
- Boolean success = uri.parse(viewEvent.data.str);
- if (success)
- {
- Platform.getInstance().launchApp(Platform.AppWebBrowser, uri.toString(), 1, 1, new Object());
- }
- break;
- case ViewEvents.FOLLOWER_IMAGE_PRESSED:
- ((tweetModel) Model.getInstance()).requestFollowerInfo(viewEvent.data.str);
- break;
- case ViewEvents.REQUEST_CANCELLED:
- ((tweetModel)Model.getInstance()).CancelRequests();
- break;
- default:
-
- break;
- }
- }
-
- @Override
- protected boolean onCreate()
- {
- // super.onCreate();
- addViewEventHandler(this);
- return true;
- }
-
-}
View
BIN  bin/tweet/controller/subcontrollers/SubController1.class
Binary file not shown
View
BIN  bin/tweet/controller/tweetController.class
Binary file not shown
View
35 bin/tweet/events/.svn/all-wcprops
@@ -1,35 +0,0 @@
-K 25
-svn:wc:ra_dav:version-url
-V 51
-/svn/!svn/ver/12387/trunk/ksutweet/src/tweet/events
-END
-ViewEvents.java
-K 25
-svn:wc:ra_dav:version-url
-V 67
-/svn/!svn/ver/12387/trunk/ksutweet/src/tweet/events/ViewEvents.java
-END
-GenericEvents.java
-K 25
-svn:wc:ra_dav:version-url
-V 70
-/svn/!svn/ver/12387/trunk/ksutweet/src/tweet/events/GenericEvents.java
-END
-TwitterServiceEvent.java
-K 25
-svn:wc:ra_dav:version-url
-V 76
-/svn/!svn/ver/12389/trunk/ksutweet/src/tweet/events/TwitterServiceEvent.java
-END
-ControllerEvents.java
-K 25
-svn:wc:ra_dav:version-url
-V 73
-/svn/!svn/ver/12387/trunk/ksutweet/src/tweet/events/ControllerEvents.java
-END
-Alerts.java
-K 25
-svn:wc:ra_dav:version-url
-V 63
-/svn/!svn/ver/12387/trunk/ksutweet/src/tweet/events/Alerts.java
-END
View
198 bin/tweet/events/.svn/entries
@@ -1,198 +0,0 @@
-10
-
-dir
-12397
-https://ksutweetnew.svn.codeplex.com/svn/trunk/ksutweet/src/tweet/events
-https://ksutweetnew.svn.codeplex.com/svn
-
-
-
-2011-11-11T03:42:16.043000Z
-12387
-unknown
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-555e8bc2-ad3d-4a22-a156-a42dcab9bd6f
-
-ViewEvents.java
-file
-
-
-
-
-2011-11-11T04:17:36.324339Z
-4e46ce57ff91e7bded0a0fc43f879c1b
-2011-11-11T03:42:16.043000Z
-12387
-unknown
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-866
-
-GenericEvents.java
-file
-
-
-
-
-2011-11-11T04:17:36.307338Z
-789993aefc4290b5194c005e4f8cc15e
-2011-11-11T03:42:16.043000Z
-12387
-unknown
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-1013
-
-TwitterServiceEvent.java
-file
-
-
-
-
-2011-11-11T05:11:46.072513Z
-59642d7f11c33d342ae9c92f16e7fe6d
-2011-11-11T05:23:11.515251Z
-12389
-unknown
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-348
-
-ControllerEvents.java
-file
-
-
-
-
-2011-11-11T04:17:36.300337Z
-ce442a8f473cbad6254c72c514300482
-2011-11-11T03:42:16.043000Z
-12387
-unknown
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-571
-
-Alerts.java
-file
-
-
-
-
-2011-11-11T04:17:36.286336Z
-46c65a982becb9eb8b82af11d3462819
-2011-11-11T03:42:16.043000Z
-12387
-unknown
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-167
-
View
8 bin/tweet/events/.svn/text-base/Alerts.java.svn-base
@@ -1,8 +0,0 @@
-package tweet.events;
-
-import particle.core.view.controls.Alert;
-
-public class Alerts
-{
-public final static int NAVIGATE_TO_URL_ALERT = Alert.CustomFirst+1;
-}
View
14 bin/tweet/events/.svn/text-base/ControllerEvents.java.svn-base
@@ -1,14 +0,0 @@
-package tweet.events;
-
-import particle.core.controller.ControllerEvent;
-
-public class ControllerEvents
-{
-
- public static final int DisplayTweets = ControllerEvent.CustomFirst;
- public static final int DisplayTweetDetail = ControllerEvent.CustomFirst + 1;
- public static final int RequestTweets = ControllerEvent.CustomFirst + 2;
- public static final int GetRequestedTweets = ControllerEvent.CustomFirst + 3;
- public static final int TO_USER_DETAIL = ControllerEvent.CustomFirst + 4;
- public static final int TO_TWEET_LIST = ControllerEvent.CustomFirst + 5;
-}
View
21 bin/tweet/events/.svn/text-base/GenericEvents.java.svn-base
@@ -1,21 +0,0 @@
-package tweet.events;
-
-public class GenericEvents
-{
- public static final int TWITTER_SERVICE_REQUESTING_TWEETS = 0;
- public static final int GET_REQUESTED_TWEETS = 1;
- public static final int UPDATE_RESULT_COUNT_DISPLAY = 2;
- public static final int TWITTER_SERVICE_ON_TWEET_SEARCH_COMPLETE = 3;
- public static final int TWITTER_SERVICE_REQUESTING_USERDATAS = 4;
- public static final int TWITTER_SERVICE_ON_USER_DATA_SEARCH_COMPLETE = 5;
- public static final int MODEL_REQUESTING_TWEETS = 6;
- public static final int MODEL_REQUESTING_USER_DATAS =7;
- public static final int MODEL_SEARCHKEYWORDCHANGED = 8;
- public static final int MODEL_TWEET_SEARCH_SUCCESS = 9;
- public static final int MODEL_TWEET_SEARCH_FAILURE = 10;
- public static final int TWITTER_SERVICE_REQUESTING_USER_FOLLOWERS = 11;
- public static final int MODEL_USER_DATA_REQUEST_SUCCESS = 12;
- public static final int MODEL_USER_DATA_REQUEST_FAILURE = 13;
- public static final int MODEL_FOLLOWERS_DATA_REQUEST_SUCCESS = 14;
-
-}
View
15 bin/tweet/events/.svn/text-base/TwitterServiceEvent.java.svn-base
@@ -1,15 +0,0 @@
-package tweet.events;
-
-import particle.core.tools.GenericEvent;
-
-public class TwitterServiceEvent extends GenericEvent
-{
- private static final int CustomFirst = 2000;
- public static final int TWITTER_SERVICE_HELPER_ON_FOLLOWER_DETAILS_READY = CustomFirst + 1;
-
- public TwitterServiceEvent()
- {
- super();
- this.setAsync(true);
- }
-}
View
27 bin/tweet/events/.svn/text-base/ViewEvents.java.svn-base
@@ -1,27 +0,0 @@
-package tweet.events;
-
-import particle.core.view.ViewEvent;
-
-public class ViewEvents
-{
- public static final int SEARCH_BUTTON_PRESSED = ViewEvent.CustomFirst;
-
- public static final int ShowTweet = ViewEvent.CustomFirst + 1;
-
- public static final int ShowTweetList = ViewEvent.CustomFirst + 2;
-
- public static final int SHOW_ALERT = ViewEvent.CustomFirst + 3;
-
- public static final int USER_PROFILE_IMAGE_PRESSED = ViewEvent.CustomFirst + 4;
-
- public static final int TO_TWEET_LIST = ViewEvent.CustomFirst + 5;
-
- public static final int GET_TWEETS_FROM_USER_BUTTON_PRESSED = ViewEvent.CustomFirst + 6;
-
- public static final int NAVIGATE_TO_URL_BUTTON_CLICKED = ViewEvent.CustomFirst + 7;
-
- public static final int REQUEST_CANCELLED = ViewEvent.CustomFirst + 8;
-
- public static final int FOLLOWER_IMAGE_PRESSED = ViewEvent.CustomFirst+9;
-
-}
View
BIN  bin/tweet/events/Alerts.class
Binary file not shown
View
BIN  bin/tweet/events/ControllerEvents.class
Binary file not shown
View
BIN  bin/tweet/events/GenericEvents.class
Binary file not shown
View
BIN  bin/tweet/events/TwitterServiceEvent.class
Binary file not shown
View
BIN  bin/tweet/events/ViewEvents.class
Binary file not shown
View
11 bin/tweet/model/.svn/all-wcprops
@@ -1,11 +0,0 @@
-K 25
-svn:wc:ra_dav:version-url
-V 50
-/svn/!svn/ver/12387/trunk/ksutweet/src/tweet/model
-END
-tweetModel.java
-K 25
-svn:wc:ra_dav:version-url
-V 66
-/svn/!svn/ver/12396/trunk/ksutweet/src/tweet/model/tweetModel.java
-END
View
62 bin/tweet/model/.svn/entries
@@ -1,62 +0,0 @@
-10
-
-dir
-12397
-https://ksutweetnew.svn.codeplex.com/svn/trunk/ksutweet/src/tweet/model
-https://ksutweetnew.svn.codeplex.com/svn
-
-
-
-2011-11-11T03:42:16.043000Z
-12387
-unknown
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-555e8bc2-ad3d-4a22-a156-a42dcab9bd6f
-
-tweetModel.java
-file
-
-
-
-
-2011-11-11T10:53:45.688631Z
-38ce79c1f61f4486324d8c8fb1f29247
-2011-11-11T12:08:26.045764Z
-12396
-unknown
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-6034
-
View
198 bin/tweet/model/.svn/text-base/tweetModel.java.svn-base
@@ -1,198 +0,0 @@
-package tweet.model;
-
-import java.util.Vector;
-
-import particle.core.model.Model;
-import particle.core.tools.DOM;
-import particle.core.tools.GenericEvent;
-import particle.core.tools.GenericEventData;
-import particle.core.tools.IGenericEventDispatcher;
-import particle.core.tools.IGenericEventHandler;
-import tweet.businessobjects.ModelVO;
-import tweet.businessobjects.TweetVOCollection;
-import tweet.businessobjects.UserInfoVO;
-import tweet.events.GenericEvents;
-import tweet.events.TwitterServiceEvent;
-import tweet.services.TwitterService;
-import tweet.services.TwitterServiceHelper;
-import tweet.utils.CustomLogger;
-
-public class tweetModel extends Model implements IGenericEventDispatcher, IGenericEventHandler
-{
- // PRIVATE
- GenericEvent _genericEvent;
- TwitterService twitterService;
- TwitterServiceHelper twitterServiceHelper;
- Vector _serviceList;// stock les requetes pour trouver les followers d'un
- // utilisateur de tweeter.
- // PUBLIC
- public ModelVO modelVO;
- private String screenName;
-
- public tweetModel()
- {
- super();
- }
-
- @Override
- protected void onCreate()
- {
- super.onCreate();
- // this.getConfig().
- modelVO = new ModelVO();
- this.twitterService = new TwitterService(this);
- _genericEvent = new GenericEvent();// init genericEvent
- _genericEvent.setAsync(true);
-
- }
-
- public void requestTweets()
- {
- CustomLogger.getInstance().log("searchTweetsByKeyWord","lightblue");
- twitterService.searchTweetsByKeyWord(getSearchKeyWord());
- }
-
- public void requestUserFollowers(String screen_name)
- {
- CustomLogger.getInstance().log("requestUserFollowers","red");
- twitterServiceHelper = new TwitterServiceHelper(this, screen_name);
- }
-
- public void requestUserInfo(String userName)
- {
- CustomLogger.getInstance().log("requestUserInfo","green");
- this.screenName= userName;
- twitterService.getUserInfo(userName);
- }
-
- @Override
- public void addGenericEventHandler(IGenericEventHandler handler)
- {
- _genericEvent.addHandler(handler);
- }
-
- @Override
- public void dispatchGenericEvent(int id, GenericEventData data)
- {
- // TODO Auto-generated method stub
- _genericEvent.id = id;
- _genericEvent.data = data;
- _genericEvent.dispatch(this);
-
- }
-
- @Override
- public void removeGenericEventHandler(IGenericEventHandler eventHandler)
- {
- // TODO Auto-generated method stub
- this.removeGenericEventHandler(eventHandler);
-
- }
-
- public void setSearchKeyword(String str)
- {
- this.modelVO.searchKeyWord = str;
- GenericEventData ged = new GenericEventData();
- ged.obj = this.modelVO;
- this.dispatchGenericEvent(GenericEvents.MODEL_SEARCHKEYWORDCHANGED, ged);
- }
-
- public String getSearchKeyWord()
- {
- if (this.modelVO.searchKeyWord == "")
- {
- this.modelVO.searchKeyWord = this.modelVO.DEFAULT_KEYWORD;
- }
- return this.modelVO.searchKeyWord;
- }
-
- @Override
- public void onGenericEvent(Object sender, GenericEvent genericEvent)
- {
- DOM tweets;
- Boolean success;
- GenericEventData genericEventData= new GenericEventData();
- genericEventData.obj=this.modelVO;
- switch (genericEvent.id)
- {
- case GenericEvents.TWITTER_SERVICE_REQUESTING_USERDATAS:
- modelVO.alertMessage = "Requesting user datas...";
- this.dispatchGenericEvent(GenericEvents.MODEL_REQUESTING_USER_DATAS,genericEventData);
- break;
- case GenericEvents.TWITTER_SERVICE_REQUESTING_TWEETS:
- // dispatch event to the view.
- modelVO.alertMessage = this.modelVO.REQUEST_TWEETS_MESSAGE + " " + this.getSearchKeyWord();
- this.dispatchGenericEvent(GenericEvents.MODEL_REQUESTING_TWEETS, genericEventData);
- break;
- case GenericEvents.TWITTER_SERVICE_ON_TWEET_SEARCH_COMPLETE:
-
- tweets = new DOM();
- success = tweets.fromJSON(genericEvent.data.str);
- if (!success)
- {
- modelVO.interactiveAlertMessage = "twitter json parsing failed";
- } else
- {
- this.modelVO.tweetVOCollection = TweetVOCollection.createFromDom(tweets);
- this.dispatchGenericEvent(GenericEvents.MODEL_TWEET_SEARCH_SUCCESS, genericEventData);
- }
- break;
- case GenericEvents.TWITTER_SERVICE_ON_USER_DATA_SEARCH_COMPLETE:
- tweets = new DOM();
- success = tweets.fromJSON(genericEvent.data.str);
- if (!success)
- {
- this.modelVO.interactiveAlertMessage = "No userDatas :(";
- this.dispatchGenericEvent(GenericEvents.MODEL_USER_DATA_REQUEST_FAILURE, genericEventData);
- } else
- {
- this.modelVO.currentUserInfo = UserInfoVO.createFromDom(tweets);
- modelVO.currentUserInfo.followers = new Vector();
- this.requestUserFollowers(this.screenName);
- this.dispatchGenericEvent(GenericEvents.MODEL_USER_DATA_REQUEST_SUCCESS, genericEventData);
- }
- break;
- case TwitterServiceEvent.TWITTER_SERVICE_HELPER_ON_FOLLOWER_DETAILS_READY:
- CustomLogger.getInstance().log("---------------------------------------");
- CustomLogger.getInstance().log("Le modele a recu la liste des followers");
- CustomLogger.getInstance().log("---------------------------------------");
- Vector followerList = (Vector) genericEvent.data.obj;
-
- CustomLogger.getInstance().log("r�initialisation de modelVO.currentUserInfo.followers");
- for (int i = 0; i < followerList.size(); i++)
- {
- DOM user = new DOM();
- success = user.fromJSON(followerList.elementAt(i).toString());
- if (success)
- {
- this.modelVO.currentUserInfo.followers.add(UserInfoVO.createFromDom(user));
- } else
- {
- CustomLogger.getInstance().log("Erreur de parsing pour l'�lement :" + followerList.elementAt(i).toString());
- }
- }
- this.dispatchGenericEvent(GenericEvents.MODEL_FOLLOWERS_DATA_REQUEST_SUCCESS, genericEventData);
- break;
- default:
- break;
- }
- }
-
- public TweetVOCollection getTweetVOCollection()
- {
-
- return this.modelVO.tweetVOCollection;
- }
-
- public void CancelRequests()
- {
- this.twitterService.cancelRequests();
-
- }
-
- public void requestFollowerInfo(String str)
- {
- twitterService.getFollowerInfo(str);
-
- }
-}
View
BIN  bin/tweet/model/tweetModel.class
Binary file not shown
View
BIN  bin/tweet/platform/Main.class
Binary file not shown
View
BIN  bin/tweet/platform/PlatformApplicationEnvironment.class
Binary file not shown
View
17 bin/tweet/services/.svn/all-wcprops
@@ -1,17 +0,0 @@
-K 25
-svn:wc:ra_dav:version-url
-V 53
-/svn/!svn/ver/12387/trunk/ksutweet/src/tweet/services
-END
-TwitterService.java
-K 25
-svn:wc:ra_dav:version-url
-V 73
-/svn/!svn/ver/12399/trunk/ksutweet/src/tweet/services/TwitterService.java
-END
-TwitterServiceHelper.java
-K 25
-svn:wc:ra_dav:version-url
-V 79
-/svn/!svn/ver/12406/trunk/ksutweet/src/tweet/services/TwitterServiceHelper.java
-END
View
96 bin/tweet/services/.svn/entries
@@ -1,96 +0,0 @@
-10
-
-dir
-12397
-https://ksutweetnew.svn.codeplex.com/svn/trunk/ksutweet/src/tweet/services
-https://ksutweetnew.svn.codeplex.com/svn
-
-
-
-2011-11-11T03:42:16.043000Z
-12387
-unknown
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-555e8bc2-ad3d-4a22-a156-a42dcab9bd6f
-
-TwitterService.java
-file
-12399
-
-
-
-2011-11-11T12:26:30.198903Z
-25ee28864938fd6ddee131d629c0b6d3
-2011-11-11T12:27:20.638228Z
-12399
-unknown
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-6784
-
-TwitterServiceHelper.java
-file
-12406
-
-
-
-2011-11-11T16:43:59.107476Z
-b84da43183af0b539ea6ff2863f2944d
-2011-11-11T17:10:15.913370Z
-12406
-unknown
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-6433
-
View
183 bin/tweet/services/.svn/text-base/TwitterService.java.svn-base
@@ -1,183 +0,0 @@
-package tweet.services;
-
-//import particle.core.model.Config;
-import particle.core.network.HTTP;
-import particle.core.network.HTTPRequestCompleteEvent;
-import particle.core.network.IHTTPRequestCompleteEventHandler;
-import particle.core.tools.ByteBuffer;
-import particle.core.tools.GenericEvent;
-import particle.core.tools.GenericEventData;
-import particle.core.tools.IGenericEventDispatcher;
-import particle.core.tools.IGenericEventHandler;
-import particle.core.tools.StringUtils;
-import tweet.events.GenericEvents;
-import tweet.utils.CustomLogger;
-
-public class TwitterService implements IHTTPRequestCompleteEventHandler, IGenericEventDispatcher
-{
- // PRIVATE
- private final String REQUEST_URL = "http://search.twitter.com/search.json?&include_entities=true&result_type=mixed&rpp=40&page=1&q=";
- private final String REQUEST_USER_DATA_BY_SCREEN_NAME_URL = "https://api.twitter.com/1/users/show.json?screen_name=";
- //private final String REQUEST_USER_DATA_BY_SCREEN_NAME_URL = "http://afrobytes.free.fr/projects/ksutweet/flash/proxy.php?screen_name=";
- //http://afrobytes.free.fr/projects/ksutweet/flash/
- private final String REQUEST_USER_DATA_BY_USER_ID_URL = "https://api.twitter.com/1/users/show.json?user_id=";
- //private final String REQUEST_USER_DATA_BY_USER_ID_URL = "http://afrobytes.free.fr/projects/ksutweet/flash/proxy.php?user_id=";
- private final String REQUEST_USER_FOLLOWERS = "https://api.twitter.com/1/followers/ids.json?&screen_name=";
- //private final String REQUEST_USER_FOLLOWERS = "http://afrobytes.free.fr/projects/ksutweet/flash/proxy.php?&screen_name=";
- private GenericEvent genericEvent;
- private IGenericEventHandler eventHandler;
- HTTP _searchTweetsByKeyWordRequest;
- HTTP _searchTweetsByUser;
- HTTP _searchUserDatas;
- HTTP _searchUserFollowers;
- HTTP _searchUserDatasById;
- HTTP _searchFollowerDatasById;
-
- // PUBLIC
-
- public TwitterService(IGenericEventHandler eventHandler)
- {
- super();
- genericEvent = new GenericEvent();
- genericEvent.setAsync(true);
- this.eventHandler = eventHandler;
- this.addGenericEventHandler(this.eventHandler);
- }
-
- @Override
- public void onHTTPRequestComplete(HTTP sender, HTTPRequestCompleteEvent _event)
- {
- GenericEventData ged = new GenericEventData();
-
- if (sender == _searchTweetsByKeyWordRequest)
- {
- ged.str = sender.getReceiveBuffer().toString();
- dispatchGenericEvent(GenericEvents.TWITTER_SERVICE_ON_TWEET_SEARCH_COMPLETE, ged);
- } else if (sender == _searchUserDatas || sender == _searchUserDatasById)
- {
- ged.str = sender.getReceiveBuffer().toString();
- this.dispatchGenericEvent(GenericEvents.TWITTER_SERVICE_ON_USER_DATA_SEARCH_COMPLETE, ged);
- CustomLogger.getInstance().log("TWITTER_SERVICE_ON_USER_DATA_SEARCH_COMPLETE","red");
- }
- }
-
-
-
- @Override
- public void addGenericEventHandler(IGenericEventHandler handler)
- {
- genericEvent.addHandler(handler);
- }
-
- @Override
- public void dispatchGenericEvent(int id, GenericEventData data)
- {
- genericEvent.data = data;
- genericEvent.id = id;
- genericEvent.dispatch(this);
- }
-
- @Override
- public void removeGenericEventHandler(IGenericEventHandler eventHandler)
- {
- genericEvent.removeHandler(eventHandler);
- }
-
- public void searchTweetsByKeyWord(String words)
- {
- ByteBuffer byteBuffer = new ByteBuffer();
- _searchTweetsByKeyWordRequest = HTTP.newHTTP();
- _searchTweetsByKeyWordRequest.setURIString(REQUEST_URL + StringUtils.urlEncode(words));
- _searchTweetsByKeyWordRequest.setMethod(HTTP.MethodGet);
- _searchTweetsByKeyWordRequest.addRequestCompleteEventHandler(this);
- _searchTweetsByKeyWordRequest.sendRequest(byteBuffer);
- this.dispatchGenericEvent(GenericEvents.TWITTER_SERVICE_REQUESTING_TWEETS, new GenericEventData());
- }
-
- public void getUserInfo(String userName)
- {
-
- ByteBuffer byteBuffer = new ByteBuffer();
- this._searchUserDatas = HTTP.newHTTP();
- this._searchUserDatas.setURIString(this.REQUEST_USER_DATA_BY_SCREEN_NAME_URL + userName);
- this._searchUserDatas.setMethod(HTTP.MethodGet);
- this._searchUserDatas.addRequestCompleteEventHandler(this);
- this._searchUserDatas.sendRequest(byteBuffer);
- GenericEventData ged = new GenericEventData();
- this.dispatchGenericEvent(GenericEvents.TWITTER_SERVICE_REQUESTING_USERDATAS, ged);
- CustomLogger.getInstance().log("TWITTER_SERVICE_REQUESTING_USERDATAS","yellow");
- }
-
- public void getUserInfoByUserId(int user_id)
- {
- GenericEventData ged = new GenericEventData();
- this.dispatchGenericEvent(GenericEvents.TWITTER_SERVICE_REQUESTING_USERDATAS, ged);
- ByteBuffer byteBuffer = new ByteBuffer();
- this._searchUserDatasById = HTTP.newHTTP();
- this._searchUserDatasById.setURIString(this.REQUEST_USER_DATA_BY_SCREEN_NAME_URL + user_id);
- this._searchUserDatasById.setMethod(HTTP.MethodGet);
- this._searchUserDatasById.addRequestCompleteEventHandler(this);
- this._searchUserDatasById.sendRequest(byteBuffer);
- }
-
- public void getUserFollowers(String screen_name)
- {
- GenericEventData ged = new GenericEventData();
- this.dispatchGenericEvent(GenericEvents.TWITTER_SERVICE_REQUESTING_USER_FOLLOWERS, ged);
- ByteBuffer bb = new ByteBuffer();
- this._searchUserFollowers = HTTP.newHTTP();
- this._searchUserFollowers.setURIString(this.REQUEST_USER_FOLLOWERS + screen_name);
- this._searchUserFollowers.setMethod(HTTP.MethodGet);
- this._searchUserFollowers.addRequestCompleteEventHandler(this);
- this._searchUserFollowers.sendRequest(bb);
- }
-
- public void getFollowerByUserId(int id)
- {
- ByteBuffer byteBuffer = new ByteBuffer();
- this._searchFollowerDatasById = HTTP.newHTTP();
- this._searchFollowerDatasById.setURIString(this.REQUEST_USER_DATA_BY_USER_ID_URL + id);
- this._searchFollowerDatasById.setMethod(HTTP.MethodGet);
- this._searchFollowerDatasById.addRequestCompleteEventHandler(this);
- this._searchFollowerDatasById.sendRequest(byteBuffer);
- }
-
- public void cancelRequests()
- {
- if (this._searchTweetsByKeyWordRequest != null)
- {
- this._searchTweetsByKeyWordRequest.cancelRequest();
- }
- if (this._searchFollowerDatasById != null)
- {
- this._searchFollowerDatasById.cancelRequest();
- }
- if (this._searchTweetsByUser != null)
- {
- this._searchTweetsByUser.cancelRequest();
- }
- if (this._searchUserDatas != null)
- {
- this._searchUserDatas.cancelRequest();
- }
- if (this._searchUserDatasById != null)
- {
- this._searchUserDatasById.cancelRequest();
- }
- if (this._searchUserDatasById != null)
- {
- this._searchUserDatasById.cancelRequest();
- }
- if (this._searchUserFollowers != null)
- {
- this._searchUserFollowers.cancelRequest();
- }
-
- }
-
- public void getFollowerInfo(String str)
- {
- // TODO Auto-generated method stub
-
- }
-}
View
233 bin/tweet/services/.svn/text-base/TwitterServiceHelper.java.svn-base
@@ -1,233 +0,0 @@
-package tweet.services;
-
-import java.util.Vector;
-
-import particle.core.network.HTTP;
-import particle.core.network.HTTPDataReceiveEvent;
-import particle.core.network.HTTPRequestCompleteEvent;
-import particle.core.network.HTTPRequestDataEvent;
-import particle.core.network.HTTPStatusEvent;
-import particle.core.network.IHTTPDataReceiveEventHandler;
-import particle.core.network.IHTTPRequestCompleteEventHandler;
-import particle.core.network.IHTTPRequestDataEventHandler;
-import particle.core.network.IHTTPStatusEventHandler;
-import particle.core.tools.ByteBuffer;
-import particle.core.tools.DOM;
-import particle.core.tools.GenericEvent;
-import particle.core.tools.GenericEventData;
-import particle.core.tools.IGenericEventDispatcher;
-import particle.core.tools.IGenericEventHandler;
-import tweet.events.TwitterServiceEvent;
-
-/**
- *
- * @author mark prades
- *
- * Cette classe permet le recuperer le profile des followers d'un user
- * de twitter. les profiles sont stock�s dans un talbeau de JSON
- * strings.
- *
- */
-public class TwitterServiceHelper implements IGenericEventDispatcher, IGenericEventHandler, IHTTPRequestDataEventHandler, IHTTPRequestCompleteEventHandler, IHTTPStatusEventHandler,
- IHTTPDataReceiveEventHandler
-{
- HTTP userFollowersRequest = null;
- int MAX_FOLLOWER_REQUESTS = 6;
- String FOLLOWER_ID_LIST_REQUEST_URL = "https://api.twitter.com/1/followers/ids.json?screen_name=";
- //String FOLLOWER_ID_LIST_REQUEST_URL = "http://afrobytes.free.fr/projects/ksutweet/flash/proxy.php?ids=&screen_name=";
- String USER_DETAILS_BY_ID_REQUEST_URL = "https://api.twitter.com/1/users/show.json?user_id=";
- //String USER_DETAILS_BY_ID_REQUEST_URL = "http://afrobytes.free.fr/projects/ksutweet/flash/proxy.php?user_id=";
- TwitterServiceEvent twitterServiceEvent = null;
- Vector FollowersIdList = null;
- /**
- * contient les informations de chaque follower sous forme de JSON
- */
- Vector Followers = null;
- /**
- * contient les requetes pour chaque follower
- */
- Vector FollowerHttpRequests = null;
- /**
- * le screen_name de l'utilisateur
- */
- String screen_name = "";
-
- /**
- *
- * @param handler
- * @param userScreenName
- */
- // recuperer la liste des followers d'un user.
- public TwitterServiceHelper(IGenericEventHandler handler, String userScreenName)
- {
-
-
- twitterServiceEvent = new TwitterServiceEvent();
- Followers = new Vector();
- FollowersIdList = new Vector();
- this.screen_name = userScreenName;
- this.FollowerHttpRequests = new Vector();
- this.addGenericEventHandler(handler);
- this.requestUserFollowersByScreenName(this.screen_name);
-
- }
-
- @Override
- public void onHTTPDataReceive(HTTP arg0, HTTPDataReceiveEvent arg1)
- {
-
-
- }
-
- @Override
- public void onHTTPStatus(HTTP sender, HTTPStatusEvent statusEvent)
- {
- switch (statusEvent.status)
- {
- case HTTPStatusEvent.StatusConnectionTimeout:
-
- break;
- default:
- break;
-
- }
-
- }
-
- @Override
- public void onHTTPRequestComplete(HTTP sender, HTTPRequestCompleteEvent httpEvent)
- {
- if (sender == this.userFollowersRequest)
- {
-
- // get event bytebuffer.
- String response = sender.getReceiveBuffer().toString();
-
- // transform the response into a parsable DOM object
- DOM dom = new DOM();
- Boolean success = dom.fromJSON(response);
- if (success)
- {
-
- // recupere chaque id de follower dans FollowersIdList
- int idListLength = dom.getSize("ids");
- for (int i = 0; i < idListLength; i++)
- {
-
- this.FollowersIdList.add(dom.getValueInt("ids[" + i + "]"));
-
- }
- // pour chaque element dans followersIdList , prepare une
- // requete
- // associee
- for (int i = 0; i < this.FollowersIdList.size() && i < MAX_FOLLOWER_REQUESTS; i++)
- {
- HTTP followerRequest = HTTP.newHTTP();
- followerRequest.setMethod(HTTP.MethodGet);
- followerRequest.addRequestCompleteEventHandler(this);
- followerRequest.setURIString(this.USER_DETAILS_BY_ID_REQUEST_URL + this.FollowersIdList.elementAt(i));
- this.FollowerHttpRequests.add(followerRequest);
- }
- this.GetFollowersUserDetails(this.FollowerHttpRequests);
- } else
- {
-
- }
- } else if (sender == FollowerHttpRequests.elementAt(FollowerHttpRequests.lastIndexOf(sender)))
- {
- String response = sender.getReceiveBuffer().toString();
-
- // recupere la reponse dans un tableau de chaines
- this.Followers.add(response);
- // enleve la requete concern�e du talbeau de requetes.
- this.FollowerHttpRequests.remove(sender);
-
- GetFollowersUserDetails(this.FollowerHttpRequests);
- } else
- {
-
- }
-
- }
-
- private void GetFollowersUserDetails(Vector requests)
- {
- if (requests.size() > 0)
- {
- ByteBuffer bb = new ByteBuffer();
- ((HTTP) requests.firstElement()).sendRequest(bb);
- } else
- {
-
- GenericEventData ged = new GenericEventData();
- ged.obj = this.Followers;
- this.dispatchGenericEvent(TwitterServiceEvent.TWITTER_SERVICE_HELPER_ON_FOLLOWER_DETAILS_READY, ged);
- }
-
- }
-
- @Override
- public void onHTTPRequestData(HTTP arg0, HTTPRequestDataEvent arg1)
- {
- // TODO Auto-generated method stub
-
- }
-
- @Override
- public void addGenericEventHandler(IGenericEventHandler handler)
- {
- twitterServiceEvent.addHandler(handler);
-
- }
-
- @Override
- public void dispatchGenericEvent(int id, GenericEventData data)
- {
- twitterServiceEvent.id = id;
- twitterServiceEvent.data = data;
- twitterServiceEvent.dispatch(this);
- }
-
- @Override
- public void removeGenericEventHandler(IGenericEventHandler handler)
- {
- this.twitterServiceEvent.removeHandler(handler);
-
- }
-
- @Override
- public void onGenericEvent(Object arg0, GenericEvent arg1)
- {
- // TODO Auto-generated method stub
-
- }
-
- public void requestUserFollowersByScreenName(String screen_name)
- {
-
- ByteBuffer bb = new ByteBuffer();
- this.userFollowersRequest = HTTP.newHTTP();
- this.userFollowersRequest.setMethod(HTTP.MethodGet);;
- this.userFollowersRequest.setURIString(this.FOLLOWER_ID_LIST_REQUEST_URL + screen_name);
- this.userFollowersRequest.addRequestCompleteEventHandler(this);
- this.userFollowersRequest.sendRequest(bb);
- }
-
- public void requestUserById(int id)
- {
-
- }
-
- public void AddFollower(String follower)
- {
- this.Followers.add(follower);
- }
-
- public Vector getFollowerVector()
- {
- return Followers;
- }
-
-
-
-}
View
BIN  bin/tweet/services/TwitterService.class
Binary file not shown
View
BIN  bin/tweet/services/TwitterServiceHelper.class
Binary file not shown
View
11 bin/tweet/utils/.svn/all-wcprops
@@ -1,11 +0,0 @@
-K 25
-svn:wc:ra_dav:version-url
-V 50
-/svn/!svn/ver/12387/trunk/ksutweet/src/tweet/utils
-END
-CustomLogger.java
-K 25
-svn:wc:ra_dav:version-url
-V 68
-/svn/!svn/ver/12406/trunk/ksutweet/src/tweet/utils/CustomLogger.java
-END
View
62 bin/tweet/utils/.svn/entries
@@ -1,62 +0,0 @@
-10
-
-dir
-12397
-https://ksutweetnew.svn.codeplex.com/svn/trunk/ksutweet/src/tweet/utils
-https://ksutweetnew.svn.codeplex.com/svn
-
-
-
-2011-11-11T03:42:16.043000Z
-12387
-unknown
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-555e8bc2-ad3d-4a22-a156-a42dcab9bd6f
-
-CustomLogger.java
-file
-12406
-
-
-
-2011-11-11T16:43:58.936470Z
-73f1fde1cdd6fc86bb35bea70262e49a
-2011-11-11T17:10:15.913370Z
-12406
-unknown
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-1053
-
View
57 bin/tweet/utils/.svn/text-base/CustomLogger.java.svn-base
@@ -1,57 +0,0 @@
-package tweet.utils;
-
-import particle.core.view.controls.HTMLControl;
-
-public class CustomLogger
-{
- private static CustomLogger customLogger = null;
- private HTMLControl output;
-
- /*
- * public static void log(String message) { // System.out.println(message);
- * }
- */
-
- public static CustomLogger getInstance()
- {
- if (customLogger == null)
- {
- customLogger = new CustomLogger();
- }
- return customLogger;
- }
-
- public void setOutput(HTMLControl control)
- {
-
- this.output = control;
-
- }
-
- public void log(Object message, String color)
- {
-
- /*if (output != null)
- {
- if (output.getHTML().length() >= 40000)
- {
- output.setHTML("");
- }
-
- message = message.toString().substring(0,
- message.toString().length() > 100 ? 100 : message.toString().length());
- output.addHTML("<br><font color=\"" + color + "\">" + message.toString() + "</font><br>");
-
- } else
- {
- Logger.log(message.toString());
-
- }*/
- }
-
- public void log(Object message)
- {
- log(message, "white");
- }
-
-}
View
BIN  bin/tweet/utils/CustomLogger.class
Binary file not shown
View
17 bin/tweet/view/.svn/all-wcprops
@@ -1,17 +0,0 @@
-K 25
-svn:wc:ra_dav:version-url
-V 49
-/svn/!svn/ver/12387/trunk/ksutweet/src/tweet/view
-END
-tweetResources.java
-K 25
-svn:wc:ra_dav:version-url
-V 69
-/svn/!svn/ver/12406/trunk/ksutweet/src/tweet/view/tweetResources.java
-END
-tweetView.java
-K 25
-svn:wc:ra_dav:version-url
-V 64
-/svn/!svn/ver/12387/trunk/ksutweet/src/tweet/view/tweetView.java
-END
View
99 bin/tweet/view/.svn/entries
@@ -1,99 +0,0 @@
-10
-
-dir
-12397
-https://ksutweetnew.svn.codeplex.com/svn/trunk/ksutweet/src/tweet/view
-https://ksutweetnew.svn.codeplex.com/svn
-
-
-
-2011-11-11T03:42:16.043000Z
-12387
-unknown
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-555e8bc2-ad3d-4a22-a156-a42dcab9bd6f
-
-controls
-dir
-
-tweetResources.java
-file
-12406
-
-
-
-2011-11-11T16:56:58.264718Z
-75842e6416d6e33d8c02ba86826c0683
-2011-11-11T17:10:15.913370Z
-12406
-unknown
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-2253
-
-tweetView.java
-file
-
-
-
-
-2011-11-11T04:17:37.924611Z
-967595a00482531e9de45b738cb9c763
-2011-11-11T03:42:16.043000Z
-12387
-unknown
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-684
-
View
56 bin/tweet/view/.svn/text-base/tweetResources.java.svn-base
@@ -1,56 +0,0 @@
-//timestamp:1321030616639
-package tweet.view;
-import particle.core.tools.Color;
-import particle.core.view.assets.Animation;
-import particle.core.tools.Size;
-import particle.core.view.assets.SoundEffect;
-import particle.core.tools.Rect;
-import particle.core.view.assets.Font;
-import particle.core.tools.Point;
-import particle.core.view.assets.Image;
-import particle.core.view.assets.BackgroundMusic;
-
-public class tweetResources
-{
- public static Image image__textBox1=null;
- public static Image image__defaultAvatar=null;
- public static Image image_FocusedBackgroundImage=null;
- public static Image image_mouseOut=null;
- public static Image image_toolTip1=null;
- public static Image image__twitterLogo=null;
- public static Image image__input=null;
- public static Image image__vScrollBarOn=null;
- public static Image image__vScrollBarOff=null;
- public static Image image_mouseOver=null;
- public static Image image__inputButton=null;
- public static Image image__blueBg1=null;
- public static Image image_backgroundImage=null;
- public static Image image__inputButtonActive=null;
- public static Image image__alert=null;
- public static String text_REQUEST_TWEETS_MESSAGE="";
- public static String text_DEFAULT_FOLLOWER_LIST_EMPTY_TEXT="";
- public static String text_NO_TWEET_FOUND="";
- public static String text_DEFAULT_KEYWORD="";
- public static String text_EnterSearchKeyWords="";
- public static int color_LightBlue=0;
- public static int color_White=0;
- public static int color_BlueBg=0;
- public static int color_Transparent=0;
- public static Font font_h2=null;
- public static Font font__Tahoma_11=null;
- public static Font font__p_14=null;
- public static Font font__p=null;
- public static Font font__input=null;
- public static Font font__Arial_11=null;
- public static Font font__input_16=null;
- public static Font font__Title=null;
- public static Font font_Arial_15=null;
- public static Font font_Arial_13=null;
- public static Font font_Arial_12=null;
- public static Font font__h2=null;
- public static Font font__h4=null;
- public static Font font__h1=null;
- public static Font font__h3=null;
- public static Font font__p1=null;
-
-}
View
39 bin/tweet/view/.svn/text-base/tweetView.java.svn-base
@@ -1,39 +0,0 @@
-package tweet.view;
-
-import particle.core.controller.ControllerEvent;
-import particle.core.view.View;
-import tweet.view.controls.tweetPanel;
-
-public class tweetView extends View
-{
- private tweetPanel m_mainPanel = null;
-
- public tweetView()
- {
- }
-
- protected void onDestroy()
- {
- if (null != m_mainPanel)
- {
- m_mainPanel.destroy();
- m_mainPanel = null;
- }
- }
-
- public void onControllerEvent(ControllerEvent p_event)
- {
- switch (p_event.id)
- {
- case ControllerEvent.Start:
- m_mainPanel = new tweetPanel();
- m_mainPanel.create();
- addTopLevelControl(m_mainPanel);
-
- break;
-
- default:
- super.onControllerEvent(p_event);
- }
- }
-}
View
53 bin/tweet/view/controls/.svn/all-wcprops
@@ -1,53 +0,0 @@
-K 25<