bug fix
authorsungmin82.ha <sungmin82.ha@samsung.com>
Mon, 13 Jun 2011 15:10:31 +0000 (00:10 +0900)
committersungmin82.ha <sungmin82.ha@samsung.com>
Mon, 13 Jun 2011 15:10:31 +0000 (00:10 +0900)
com.samsung.linuxplatform.injector/src/com/samsung/linuxplatform/injector/view/InjectorView.java

index 7d26911..e64dc4c 100644 (file)
@@ -207,6 +207,13 @@ public class InjectorView extends ViewPart implements
                        @Override\r
                        public IStatus runInUIThread(IProgressMonitor monitor) {\r
                                try {\r
+                                       TelephonySocket.getInstance().connect();\r
+                                       TelephonySocket.getInstance().sendAskData();\r
+                                       \r
+//                                     SensorTCPSocket.getInstance().connect();                                \r
+                                       SensorUDPSocket.getInstance().connect();\r
+                                       LocationSocket.getInstance().connect();\r
+                                       \r
                                        InjectorStateProvider\r
                                                        .changeSyslogState(InjectorStateProvider.STATE_ON);\r
                                        \r
@@ -215,13 +222,7 @@ public class InjectorView extends ViewPart implements
                                                        InjectorView.VIEW_ID);\r
                                        if (view != null)\r
                                                view.activate();\r
-\r
-//                                     TelephonySocket.getInstance().connect();\r
-//                                     TelephonySocket.getInstance().sendAskData();\r
-//                                     \r
-////                                   SensorTCPSocket.getInstance().connect();                                \r
-//                                     SensorUDPSocket.getInstance().connect();\r
-//                                     LocationSocket.getInstance().connect();\r
+                                       \r
                                } catch (Exception e) {\r
                                        DialogUtil.openErrorDialog(errorMessage);\r
                                }\r