76
กก กกกก .. 2555 DPU

Apache2 Ubuntu Default Page: It workslibdoc.dpu.ac.th/thesis/145932.pdf · 2015. 3. 10. · This study is to implement an SMS-filtering program run on a mobile phone. The benefit

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

����ก��ก������ ����������������������������������

���� ������� ���!���������

�!��"#$� ���%��

� ��"��&������'��(��)�*����ก ��*ก+ , �)��ก��,��"��ก���� �,��) ��-.",

� �"# �"��ก�������"��,�����/������ �� �-/�"��ก���� �,��

�) �"�� ���&!�ก"0��-.",��

�.�. 2555

DPU

Software Filtering Short Message Service on Android Mobile Phone

based on Information in Phone book

SURAWIT SRITHAI

A Thematic Paper Submitted in Partial Fulfillment of the Requirements

for the Degree of Master of Engineering

Department of Computer and Telecommunication Engineering

Faculty of Engineering, Dhurakij Pundit University

2012

DPU

)

ก����ก������ก��

�� �������9��:)�$�4��(�( � ��! � � !( �������ก�$7��8��!4�! ��)ก �4��)�!� �.&�!�� ���-./-����� �)�!������*ก+� �!� ���� �����!#���9��-�9 /�� )�#����������"�#�ก�����������"�#���ก4%"�� )�! �������-�$7 �4��)�!� �.��-��� )����� �!� ��-�4��)�!� �.�)�)� ���-�� &�)� 'ก ) ก���ก����� ���� g*���-������8�ก���ก����� ���� ��-( �#������ ��:������8���-�!&��/4���� )�! �������#������"������8���-�!&���ก4%"�� )�!�� !/�� ��ก)ก��� %"� � )�!�������-�$7�7)�!��$ก 5 �4�#�.�� & � ��ก����/�� ���( �=4!�� ����"��ก4%"�� )�!/�� �-!-���ก��*ก+

%"�� )�!�������-�$7 �)�����������ก��!������$ก�4� #�.�� &� ��ก����/�� �����! #�����&4�!����� /�� )���-�9ก�-���ก�#�ก��9��#���ก4%"�� )�! ��! �����

%"�� )�!�������-�$7 �$7� � &�! ��4�h��� %"�)� ก�4��%� /.�7i����/ ��� �! �� +�� ก� �������� )9ก� (��&�) ���#���9��-�9 &4�!�������-4��� �#�ก��9� )�!��������)�9��:)�$�4��( � ��! �

%"�� )�!������$7������ 5 �4���� &�$ก�����&4�!�������-#��ก9���#)ก������ /�� �-!-���ก��*ก+

��!$ ��� %"�� )�!��ก�������-�$7 �$7�4� �$7��4 ���( �����!� "��-�������������! ��8�ก9���#)��-#��ก�����$�%"�� )�!#��$ก 5 ������)��)�9��:)ก��*ก+

$�� &'� ���(�!

DPU

h

������ ����

���� !4�.+(�!lllllllllllllllllllllllllll. 6

���� !4�.+���กm+lllllllllllllllllllllllll.... � ก // ก�����-ก�llllllllllllllllllllllllll..... ) ���'/��lllllllllllllllllllllllllllll. h

���'.�llllllllllllllllllllllllllllll n �����

1. ���9lllllllllllllllllllllllllllll 1 1.1 �����8����-���9��'����o'�lllllllllllll.... 1 1.2 ��/=$��-������ก�� )�!lllllllllllllllllll... 3 1.3 ��/ ;����ก�� )�!llllllllllllllllllll... 3 1.4 ��-�!&������ �4)-( ����lllllllllllllllllll 3 2. ���� �m+<� ��-%���� )�!����ก��!�����lllllllllllllll 4 2.1 ���� ��-�m+<�����ก��!�����llllllllllllllllll. 4 2.2 ��-��/ �-���< ��/ ก���� ��! �lllllllllllllll.. 4 2.3 =�o/!ก��������� ��! �lllllllllllllllll.. 6 2.4 Short Message Service (SMS)lllllllllllllllll... 10 2.5 � !���� Spamlllllllllllllllllllllll. 11 2.6 ����� ��&������ก��!�����llllllllllllllllllll 14 3. �-���!�� ��� )�!lllllllllllllllllllllllll.. 18 3.1 �����ก�� )�!��-��t�llllllllllllllllll... 18 3.2 �������������#&�#���� )�!llllllllllllllllllll 18 3.3 �%�ก� 9�� ���llllllllllllllllllllll 19 3.4 ����/��ก� 9�� ���� )�!lllllllllllllllllll 20 4. ����ก��ก����������������������������������� ��! �� !���!����"�#�

�$ ��������lllllllllllllllllllllllll...

27 4.1 .����ก��9������-��llllllllllllllllll 27

DPU

&

������ (���)

����� ���� 4.2 ���ก9�� �������ก��ก������������llllllllllll... 27 4.3 ����/��ก��9���������ก��ก������������lllllllll.. 28 5. %�ก�� )�!lllllllllllllllllllllllllll. 41 5.1 ก�/ /�������� ��&��llllllllllllllllllll.. 41 5.2 ก�ก������������lllllllllllllllllllll. 43 5.3 ก�)� ก����/ � /��������� ��&��lllllllllllllll. 45 5.4 ����!����!������ ��&��lllllllllllllllllll.. 52 5.5 %�ก�� ���llllllllllllllllllllllll 53 6. �$�%�ก��*ก+��-� )�!lllllllllllllllllllll. 54 6.1 �$�%�ก��*ก+��-� )�!lllllllllllllllllll.. 54 6.2 ��������-��-��� )�!#����/lllllllllllllll.. 54 ���7�$ก��lllllllllllllllllllllllllll......... 55 .�%��กllllllllllllllllllllllllllllll... 59 ก &$ �!&�����-�����!/���!4����$ ��������lllllllllll 60 � %�ก�ก���������������(�4���!&����!"4#��$ ��������llllllll 63 ��-��/ %"����!�lllllllllllllllllllllllllllll. 66

DPU

g

����������

���� ��� ����

2.1 ����� ��&����� Anti SMS Bomber lllllllllllll........... 14 2.2 ����� ��&����� Blacklist lllllllllllllllllll... 15 2.3 ����� ��&����� Blacklist Free lllllllllllllllll... 15 2.4 ����� ��&����� Anti Spam SMS lllllllllllll...lll 16 2.5 ����� ��&����� SMS Filter llllllllllllllllll... 16 2.6 ����� ��&����� Anti SMS Spam & Text Filter lllllllllll. 17 3.1 �%�ก� 9�� ���llllllllllllllllllll..ll.. 20 3.2 ก���$'/#�����=*�����"������������� (SMS)llllllllll... 21 4.1 ก���$'/#�����=*�����"������������� (SMS)llllllll......l. 28 5.1 ����!����!������ ��&��#�/� lllllllllllll.llll 52 5.2 &$ ����"�� �����( �����*ก�����$ ��������llllll..llll... 53 5.3 &$ ����"����(�4( �����*ก���$ ��������llllllllllll..ll 53

DPU

n

������"�#

"�#��� ����

1.1 )9���4����4���ก�/� ����/4�-�-���< ��/ ก�llll..l........... 2 2.1 �����)�����:�(g/� Android Developer llll..lllllllll... 5 2.2 =�o/!ก�������-����� ��! �lllllllllllllll..... 6 2.3 =�o/!ก���&�������� ��&��lllllllllllll...lll..l 6 2.4 =�o/!ก���&�������� ��&���y���� ���llllllllllll..l... 7 2.5 =�o/!ก���&���� �$กg���������lllllllll.llllllll. 9 2.6 =�o/!ก��������� ��! ������-��llllllllllll..ll.. 9 2.7 ก�4� SMS )ก mobile Phone A (�!�� Mobile Phone B lllllll... 11 3.1 �����������;��������ก�����#&���t�llllllll................l. 23 3.2 =�-��� Activity llllllllllllllllll.llll 25 4.1 ��������������ก��ก����������������������������������� ��! �.. 27 4.2 ��)�&�� /��� Broadcast Receiverlllllllllllllll.ll 29 4.3 %����ก������-/��)�����������llllllllllllll... 30 4.4 %����ก�/��)�����$ ������������-��lllllll.........ll 32 4.5 %����ก��������������ก�4������������-��llllllll..... 33 4.6 �9��� OpenOrCreateDatabase llllllllll.llllllll. 33 4.7 ก����/��;�����"���-ก�����*ก����"�llll.lllll..ll.. 34 4.8 ก��� ������"���#�;�����"�llllllllllllllllll... 34 4.9 ก��9��������� onCreate()llllll...llllllll......l. 35 4.10 ก��9��������� onItemClick()lllllllllllll......l. 36 4.11 ก��9��������� onItemLongClick()ll...llllllll......l. 36 4.12 ก��9��������� onCreateContextMenu()l...lllllll......l. 36 4.13 ก��9��������� onContextItemSelected()l..lllllll......l. 37 4.14 ก��9��������� onActivityResult()lllllllllll......l. 38 4.15 ����/��ก��9���������ก��.!#��������} ����ก��lllll.ll 39 4.16 �����������-��4���llllllllllllll...ll..ll 40

DPU

'

������"�# (���)

"�#��� ����

5.1 .������ ��&�������/ /���%4�! USB lllllllllll........... 41 5.2 .������ ��&�������/ /���%4���4�!���)9.!��ก (SD-Card)ll..l... 42 5.3 �!�-���! ����� ��&�����������������������������llllll...lll 43 5.4 Log ก��9������������������="ก4�����lllllllllll.l... 44 5.5 �!ก������!����� *���ก�)ก;�����"�������� ��&��llll.ll. 45 5.6 Log ก��9���������ก���} ����� ��&��lllllllllll..ll.. 45 5.7 ก��4����������llllllllllllllllllllll... 46 5.8 Log ก��9���������} �4��!�-���! ������lllllllll......l. 46 5.9 ก��� ���!&���lllllllllll...lllllllll.llll 47 5.10 Log ก��9��������� ���!&���lllllllllllll..llll... 48 5.11 ก����!&���lllllllllllllll.lllllll..ll 49 5.12 Log ก��9����������!&������������!llllllllll.ll... 49 5.13 ก������������!4�!llllllllllllll.lll...lll 50 5.14 Log ก��9����������������������!������� 5lllll..lll... 51

DPU

�������� ���� ����ก��ก����������������������������������� ��! � � !���!����"�#��$ ��������

%"����!� $�� &'� ���(�! �)�!������*ก+ �)�!� �. &�!�� ���-./-����� �� & � ��ก������� ��/�����-�������� �0ก��*ก+ 2555

��������

���*ก+�����)$ ��-���������������ก��ก�������������������������������� ������ ��-�3��ก�����������/4� 5 �&4� �������!- �����������6+7( � ��!���-��������������$'/#���������#�ก�4�������������/������������� )-��8��������������������!����&���%"�/ /4�����"�)�ก#��$ ����������4���� ��-�������������������(�4�������!�!"4#��$ �������� ����ก��)-�9ก�ก�����-�ก:�(��#�;�����"��������ก��/4�(� � !����ก���������*���9�����������������������-���< ��/ ก���� ��! � )กก�� ����-#&�������ก�� ���4��=ก������������( ��!4���"�7�����)กก�)9���ก��9����-��������������������)� �

6

DPU

Thematic Paper Title Software Filtering Short Message Service on Android Mobile Phone based on Information in Phone book

Author Surawit Srithai Thematic Paper Advisor Chaiyaporn Khemapatapan, Ph.D. Department Computer and Telecommunication Engineering Academic Year 2012

ABSTRACT

This study is to implement an SMS-filtering program run on a mobile phone. The benefit of this program is to reduce spam SMS messages such as junk message or advertisement message. SMS messages sent by the senders who are in contact list of mobile phone will be allowed and passed to be in an SMS inbox. However, SMS messages sent by others not in the contact list will be blocked and stored in the program in database. The program will operate on an Android phone. The testing results from simulation and real environment found that the program can work correctly.

DPU

1

����� 1

����

1.1 �� ���� ����� ������������

��ก�������� �������������� ������������ก��� ���� !������"� �� #$�%� !�� �&���ก�������� �'(&�'�����'� )*&�+�� ,! ��ก �� �,�-�� �*&������� +������ ���.�$/��(&���& ��+� ,!��� �ก+�� ������������% "�����!� ��.�$/��(&���&+�ก��$�0��� ,!������� ��ก��+��.�$/��(&���& '�+��1�����-�%����ก���� !���� � ������2� ������"ก ���*ก���+,� 3!��� +� ��.�$/������ ��ก�� +��4���.�$/��(&���& �&������ก���3������� ��ก �� �� ��ก��ก�%'�+��1����� �(�����ก-��� ��'�+��1���'!�������+'��� ������++����+��� -�% ��'�+��1�3����ก�����'!����+,����+�"�',��������.�$/��(&���& ��(&������ ��ก��� ���������%���5�����ก�� 2�� ���.�$/��(&���& '�+��1�3���� �(�2���� � �!� ��+$�����/�����"ก��� )*&�����������ก"+��%���5�����ก���!�� 6 2��������.�$/��(&���&�!�� 6 ���3!� �%���5�����ก��)�+��� � (Symbian) ������/ �+�� (Windows Mobile) ���/+ ���' (Palm OS) �� ���' (i-OS) -��"�����& (BlackBerry) ����� (Bada) -�% -����� �/ (Android) ���&����%��ก�!��1*��%���5�����ก��-����� �/ )*&��4��%���5�����ก���&ก2 ��� � �4��&�� +������������� ��ก�� � � �'�+��1$�0��-�$$�� �3�� (Application)������ )*&���ก�� ������� $��!� �%���5�����ก��-����� �/+�'!��-�!�ก�������4��2���� 51.7% ��++���� �����' 37% (Nielsen, 2012)

DPU

2

����� 1.1 �2����'!��-�!���ก���������-�!�%�%���5�����ก�� ��� : Operating System Share-All Smartphone Consumers vs. Recent Smartphone Acquirers (3Mo) [online] : ���1*� 4 ก.$. 2555. ��ก http://blog.nielsen.com/nielsenwire/consumer/more-us-consumers-choosing-smartphones-as-apple-closes-the-gap-on-android/

+(&������ ���.�$/��(&���&+�ก��$�0��+�ก�*�� 2�� �ก��3!����� +! 6 ���ก��2�g��ก�� ���5�'g�+!����!� ���ก�����'!�������+'��� (Short Message Service) +�ก��������-�%�3����� !���!��(&�� '�&��& ��ก��& ��+!���ก��ก���3�������ก�!���(� ������+� %�!�� 6 �&��������.�$/�+!����ก�� 2�� �ก��ก����ก�� �2����-�%'� �����ก���������������+� % �!���� ��ก��� ������4�������+�&�+!��%'��/�� ������+�!���� �(�������+�&���ก!�� �ก�����+'� � ��h� ������ �ก'�+��1�(�ก���������+'��� ��ก������&�,���ก ก"�%'�+��1�����+'�& ���ก �� 6 ��i�����������+�ก$�'+��� )*&��%'�+��1�����!� �(�ก���������+'������ �� �%������.� -�$$���3�����+�3!� ���ก�� �(�ก���������+��� �!����ก!�� ���������ก��.*กj�����*�+�!�'����-�$$���3�&��&'�+��1ก���������+'��� �� ��.� ���+,���ก�� 3(&�i,�����!���'+����.�$/3!� ��ก�����'����

DPU

3

1.2 �� !"�#����$���ก#�&'�(

1. $(&�����ก����ก-��-�%$�0��-�$$���3��� �'�+��1ก���������+'��� ����.�$/��(&���&�&�������%���5�����ก��-����� �/���

2. $(&�� �'�+��1ก���������+'���#$�% +� ���&� ,!��'+����.�$/ i!�����+���ก�!��������+������

3. $(&����2����������+'����&�+!����ก�� �(�������+� %��ก������(&��&�+!+�� ,!��'+����.�$/���

1.3 � &*����ก#�&'�(

'�+��1ก���������+'��� �� � �-'��������+��ก�!��������+���#$�%�� +� �&������*ก��'+����.�$/���!����� '!���� +� �(&� 6 �(�������+�(&� 6 �%����1,กก"������-�$$���3�� ��+1*�'�+��1���ก��ก��������+'��� �!��������

1.4 �#�,(-�$����.�/'�0.1#��

'�+��1$�0��-�$$���3�����%���5�����ก��-����� �/ ��+1*�ก��ก���������+ $(&���������+� %-�% ��'�+��1�k��ก��-�%�����+'�& ����������+������ �(�������+��ก��+���

DPU

4

����� 2

���� � ��� ����������������ก�������

2.1 �������� �������ก�������

��ก������ก ��������������������ก����������ก���ก����� ���������������ก���ก��ก�� !�� �����!���������"#����$�������������%�#�&���!������ก�������ก��������'(���$����ก ���)*���'ก�+&���%�#�&���!�����ก,����-���#�.���#!��/�� ����)������ก�������������0�� ��!���ก��#�.���������1��&����&���� ก,-���#�.���������2�3-&���&���� ����,�0����ก/�'4������� ������%�#�&���!�������ก��������� -$��/5����� ����)����������1��&����&���2�3-&���&�#!��5$��5�� $����$����ก��-���������/�ก��$��6ก����'7����� �ก-����$���5$� ���8�� ���ก� 9��-���%�#�&��������ก� /5�����':���-�ก��2������ ���8����'�';� 9��-���%�#�& 0��3���!�0��#� �'(�-�� /5�����':���-�ก��0� (i-OS) ���8����2� ��� ��5��� (RIM) 9��-���%�#�&���,������ /5�����':���-�ก�����,������ (Blackberry OS) ���8��0����2�3-& ���������#�.�� ����':���-�ก��������&����� (Windows Mobile OS) ����T������������&�3���� ����� T�����!� ����':���-�ก����������& ���������#�.��������8��ก6�ก�� 2*���'(�2�3-&���&�';� (Open-source OS) ����)�T����0�������%�#�&���!��������� W ������������ W ��$�

��!���ก��������-���-�������1��&����&���2�3-&���&���� �����-�����!���ก� ���X��ก�� ��96�/�����ก�� ���6���!��� (Content) -$�� W ���)*�ก��/5�����'��ก�� ��#!�[�� �����6$�����%�#�&���!�������ก����������!� ก��/5���� ������ �� ��!� SMS ������� ����� ���6���!��� ��ก *���$�/� ก���\8+���!�ก���5��5��9$�����ก�� ������ �� ก,�� ����)�T�0���$�� *� ��!����ก������ ������ �����'(����-���-$�96�/5����� ������9�ก���� ��ก��� ��X����� �]�# 0��

2.2 � ��!� ��������!�ก� ���� ���"

��������& (Android) �'(�2�3-&���&������� ��������������2�����!���� �-,ก 2*������������':���-�ก�� ����������& �����##����5���� T����� ��0������ก���#!��/5� T������T��������'ก�+&#ก#�����"#�� �5$� ���%�#�&�!�)!� �'(�-�� ก���T���� ����������&��

DPU

5

#!�[����6$����������ก2&����&��� 2*��/5� Android SDK �'(����!����!� T�����ก��#�.����##����5�� ������':���-�ก����������& ���/5�]�8����� (Java) /�ก��#�.��

��������&�����#�.��������8����������&���-$���0��9��ก� ��ก�����8�� ก6�ก�� (Google) 2*��/���!��#f%��ก��� #.%. 2550 0���ก���$���!�ก������$�����8��5���T���กก�$� 33 ���8���#!��#�.��������������& ������8��96�/�����ก�����%�#�&���!����� ���8��96�9��-��'ก�+&���%�#�&���!����� ���8��2�3-&���& ������8����ก5� -$�� W �5$� HTC, LG, Motorola, Samsung, China Mobile Communications, KDDI, DoCoMo, Sprint/Nextel, T-Mobile, Telecom Italia, Telefonica, Audience, Broadcom, Intel, Marvel, NVidia, eBay, Packet Video, TAT ��� Wind River �'(�-�� ���/5�5!��ก��$��$� OHA (Open Handset Alliance) ���� OHA 0���$���!�ก��#�.����-�[�� T�����ก��#�.��2�3-&���&�����';� (Open System) ��!����#$�2��& (Open Source) ������ ��X�w-�� Apache Version 2 license 2*�����ก�� ��X�w �� Apache �������-/��96�#�.�� ����)�T����������6$0'#�.��-$�0�� ���/� $�� �����ก����� (Commercial) ��!�2�3-&���&ก��� ��X�w (Proprietary) ������/5�3���!�3����& (Freeware) ก,0�� ��� ����)%*ก8���!�����&����2�3���&0����ก��,�02-& http://developer.android.com (��ก�5�� � �����& ��� #�8&%X� �����&���, 2554)

#�$��� 2.1 �����#� ����,�02-& Android Developer

DPU

6

2.3 &'��(!�ก )������� ���" )�'4-�ก��� ��ก����ก�����������& (#�������% ��$�����-�, 2555) )6ก��$�

��ก�'(��T����5����!������ก�$�������& (Layer) ������-$��5�������ก/5����ก����ก�����5������6$�����$�� ��-����� 2*�� ����)��$���ก�'(� 4 5�����ก �!� 5������ก2&����&��� (Linux Kernel) 5��0������ (Library) 5����##����5���3������&� (Application Framework) ���5����##����5�� -��]�#�� 2.2

#�$��� 2.2 )�'4-�ก��� ��������������&

2.3.1 5����##����5�� (Application) �'(�5���� �� ������ ������������& 2*���'(� $�� ����##����5����#�.�� *���/5���� �5$� ��##����5�����- $� ����& ��##����5�����%�#�& (Phone Dial) ��##����5����,������2��& (Web Browser) �'(�-�� �����'��ก��/�5����##����5������6$/��6'��� ��03�& .apk 2*���������0'��������6$/�0���,���� data/app �����%�#�&���!����� -��]�#�� 2.3

#�$��� 2.3 )�'4-�ก���5����##����5��

DPU

7

2.3.2 5����##����5���3������&� (Application Framework) ���'ก-�������ก#�.�� ����)���ก/5������������&9$�� API (Application Programming Interface) 0�� 2*����������&0����ก���0���#!��������2T�2���/�ก��/5����2T� �� Application Component 2*���-����$����##����5���3������&� ����

2.3.2.1 Activity Manager �'(� $������������5��- ����##����5�� 2.3.2.2 Window Manager ���ก���'��ก�� �� Windows ������ 2.3.2.3 Content Providers �'(� $��������ก��� ��)*� �� ���6����ก��/5����0��

�$��ก������$����##����5�����-ก-$��ก�� �5$� ���6�96�/5� (Contact) 2.3.2.4 View System �'(� $��������ก���T���� T�����ก�� ������##����5�� �5$�

lists, grids, text boxes, buttons ��� embeddable web browser 2.3.2.5 Package Manager �'(�ก�����ก���'��ก�� ����������&����6$/�����

������ 2.3.2.6 Telephony Manager ���ก��34�ก&5�����������ก��� ���ก�����%�#�& 2.3.2.7 Resource Manager �'(� $���6��ก��� ��/5� ���6�-$�� W ��0�$/5$���� �5$�

localized string, graphics ��� layout 2*������6$/�0���,���� res/ 2.3.2.8 Location Manager �'(� $���6���$�-T����$� ����'ก�+&#ก#����!����� 2.3.2.9 Notification Manager �'(� $����������-�ก��+&-$�� W ��� �����)�

)��� �5$� ก�+��0����� ���������ก�������-!��-$�� W

#�$��� 2.4 )�'4-�ก���5����##����5���3������&�

DPU

8

2.3.3 5��0����� (Library) ��������&0��������ก��$� ��0�����-$�� W �� T�������������T��'(�-$�ก��#�.���'��ก�� 2*��)6ก� ��0������]�8�2 (C) ��� 2#�� #�� (C++) ���-����$�� ��0������� T���������

2.3.3.1 System C library �'(�ก��$� ��0�������-�[������6$��#!�[�� ��]�8�2 0����� (libc)

2.3.3.2 Media Libraries �'(�ก��$�ก���T�������-����� �5$� ������ ����� ���)*��6']�#-$�� W �5$� MPEG4, H.264, MP3, AAC, AMR, JPG ��� PNG

2.3.3.3 Surface Manager �'(�ก��$�ก�����ก���6'��� �����������ก�����������

2.3.3.4 2D/3D Libraries �'(�ก��$� ��ก��3;ก��� 2 ��-� ��!� SGL (Scalable Graphics Library) ������ 3 ��-� ��!� OpenGL

2.3.3.5 Free Type �'(�ก��$� ����-��' (Bitmap) �������-��& (Vector) T�����ก���������&]�#

2.3.3.6 SQLite �'(�ก��$� ��[�� ���6� 2*���'(�����[�� ���6���/5��5$�����ก��ก��2�3���& Firefox ��� Apple iPhone 2*�� ����)/5�[�� ���6���#!���ก,� ���6� ����##����5��-$�� W 0��

2.3.3.7 Browser Engine �'(�ก��$� ��ก��� ��9�����,������2��&�����6$��#!�[�� �� Webkit T�����ก�����ก/5���##����5��-$�� W /�5��0����� ��0�$ ����)���ก/5�0�����/����������ก��-�����0�� �����-������ก/5���##����5�� /�5���� 6�ก�$���$�����*��� ����)���ก/5�0�� ��ก��ก�/�5��0������ ��������&�����$��'(�5���$�������ก�$� Android Runtime 2*��'��ก��0'���� 2 $�����ก����

2.3.3.8 Dalvik VM (Virtual Machine) $���)6ก� ������]�8����� �#!��/5��"#��ก��/5������'ก�+&#ก#����!����� ���������!����!���5!���$� dx �T�������/�ก���������� ���� ����03�& .dex ��� ���ก��������������� �ก����'ก�+&#ก#���กก�$� .class ����"#����$������'�� ��X�]�#/�ก��/5�#��������ก��-�-���

2.3.3.9 Core Java Library $����'(�0�������-�[�� �-$ก,��������-ก-$����ก0����� �� Java SE ��� Java ME

2.3.4 5������ก2&����&��� (Linux Kernel) ������������&��6$��#!�[�� ������':���-�ก������ก2& ���5������ก2&����&��� ����34�ก&5��ก���T�������� W $�� 2*���-$�� $��)6ก#�.�� *�����]�8�2 �5$� ก�����ก����$�������T� ก�����ก���#��2 ก���5!���-$����!� $��

DPU

9

���34�ก&5��ก���T���� $���!�����ก��� ���ก������':���-�ก����� )�'4-�ก��� ����������&�������-��]�#�� 2.6

#�$��� 2.5 )�'4-�ก���5������ก2&����&���

#�$��� 2.6 )�'4-�ก��� ����������&�������

DPU

10

2.4 Short Message Service (SMS) /�'����%0���ก�������/5����/����!� $�����%�#�&���!��������� GSM -���-$'�

1992 -$����ก��/5����/����!� $�����%�#�&���!��������� CDMA /���ก ���0��ก�$��)*����กก�� $� ������ SMS ���������!� $�����%�#�&���!�����2*��'��ก������ ������ (Message) 96� $� (Sender) ���!� $��ก�� !�� �� (Network) ��� 96���� (Receiver)

2.4.1 Message ���� ���� �� ������/����� SMS '��ก������-����ก8���� ASCII ��� 7 ��- ����)�����-����ก8�]�8����กf80���T���� 160 -����ก8�-$� ������ �����ก8��-$��-��������-ก-$��ก�� 126 ��� 2*������-����ก8�]�8����กf8-��#��#&��,ก -��#��#&/��$ -���� ��� ����ก8+&#��%8-$�� W ��� ����)�����0���T���� 70 -����ก8�-$� ������/���� Unicode ��� 16 ��- �5$� ]�8�0�� �'(�-��

2.4.2 Sender ����)��$�0�� 2 '���]� 0���ก$ 2.4.2.1 96� $��� $� ��������ก���%�#�&���!�������!���'ก�+&���!������!�� W 2.4.2.2 96� $��� $� ������9$���������&��,- ���96�/�����ก�����%�#�&���!�����

(Operator) ����';�/�����ก�� $� ������9$���'��-��� TCP/IP ���ก��/������&�����'��ก�� T����� $� SMS ����"#��96� $�ก��$��������!����$� 6�/�ก�� $� ������ ��� $�0������������ ������ �5$� ก�� $� SMS ��ก���#����� �#!���-!��/����0 ���-����� ��!�ก��������X��ก������ก������ �'(�-��

��ก]�#�� 2.7 �'(�ก�� $� SMS ��ก96� $� A 0'���96���� B ��� ����)��$���ก�'(� 2 $�� 0���ก$ $����ก �!� A �4��96� $� (Mobile Originating) ��!� MO '��ก������ Base Station (BS) ���T����������ก����!������)������ ��� $�� ��0'��� Short Messaging Service Center (SMSC) ��96� $� A ���������ก�����)6ก $�-$�0'������� SMSC ��96���� B (Mobile Terminating) ��!� MT

DPU

11

#�$��� 2.7 ก�� $� SMS ��ก mobile Phone A 0'��� Mobile Phone B

2.4.3 Short Messaging Service Center (SMSC) �T��������'(�-��ก�����/5�/�ก��)$����� �ก,� ��� $�-$� SMS (Store and Forward) 2*����-���������$��5!��)!� 6� ������96�/5���� Message Throughput 0���T������ก ��ก��ก���������� ����) ���ก��-�� ���-$�����-���ก��/5���� SMS ���#��� *�0���$��

2.4.4 Receiver 96�����!����!������%�#�&���!�����'������ ��!��96�����';�/5���� ���!������%�#�&��� ��0'���������� Home Location Register (HLR) ���ก��-$�� W ���ก�� *�ก$����96�����';����!��� �5$� SMS ��!� MMS ������-T����$� �����!���96���� ����T�����ก�� $�/��ก��96������$��)6ก-���

2.5 ����)��� Spam

������������� ����� (SIU., 2553) Spam �'(�5!����/5����ก � ��������0�$0�����ก����/�� $�� ��)6ก $�9$�� !������,ก�����ก & /��6'���-$�� W �5$� ����������,ก�����ก & (Email) ������ �� (SMS) ���������-����� (MMS) ��!� �������$�� (Instant Messaging) /����ก�+�����������)*���� �� (Fax) �����5$�ก�� ��� SMS Spam ก,���'(�-���$���ก�$��'(� Spam �� $�9$������ ������ �� (SMS) �����%�#�&���!�����

2.5.1 Spam �����%�#�&���!����� (SMS Spam) ���-����$�� �� ��������� �� $�� spam �������%�#�&���!����������

2.5.1.1 ������ �� �������!����ก��

DPU

12

2.5.1.2 ��������� SMS ���$����ก /��96�������� ��0'��������� ����������$����/�������-$��0'��ก'ก-�

2.5.1.3 ��������� ���$����ก/��96���� $� ���6� $���������!� ���6����ก������ �� ����)/5��T�X��ก���0��

2.5.2 ��-�ก��'7��ก�� SMS Spam /�'4������ (SIU., 2553) 2.5.2.1 ก������������ ����0�$��� ������ �� ��X��T�����������ก������

Do-not-call Service �����/5�'�� ����� T���,�ก��ก���\8+�9$�����%�#�& ��-���!� 96�/5����%�#�&�!�)!�-������������� ���� ��-����� �#!�������$�0�$-���ก����� ������ ����� SMS 2*��96� $� ��������0�$ ����) $� ������0'��������� ���������� ���0�$0����������-�$������0�� ��"�����������9�����ก����� ��Xก��������$��-����0�$ ����)'7��ก�� ������ ����!�ก�����%�#�&�#!�� �� �����0�������กก�+ �5$�ก��-��-$���ก������ -$��'����% �'(�-��

2.5.2.2 ก�� ����5$����������� SMS spam /�'����%������% 96�/�����ก�����%�#�&�!�)!�]��/�'����% 0��5�ก5��/��96�0����� SMS spam �T�ก�� $�-$� (forward) ������0'���%6��& stop-spam �������� 33700 �#!�������� ��������)!��$��'(� spam 9����ก�� *��!�0����� ������ ��)*� 500,000 ���� $�9�/�� ����) ���';��� �������%�#�&���'(�96� $� ������ ��0�� 300 �� ���� ��������-!������ ���� �����!�� W �ก�'(��T������ก/������ $� ������ ��

2.5.2.3 ก�� ����[�� ���6� SMS spam ���������5�-� ����� GSM Association 0��#�.������ก�������$� ������/��'(� SMS spam (GSMA Spam Reporting Service) �#!��96�/�����ก�����%�#�&���!�����������ก ����)������ ���6�� ��0'���[�� ���6�ก����������ก0���������� 7726 ก�������� ���6�/����������5�-� ��5$��/��ก����������&�6'������#f-�ก��� ��96� $� ������ ���T�0����$��T���ก *� +������ GSMA Spam Reporting Service กT������6$/�5$�������/5����96�/�����ก�����%�#�&�!�)!����/��$�����$� �5$� AT&T �� ���[�����ก� Korea Telecom ���ก���/-� ��� SFR ��������% �'(�-��

2.5.2.4 ก�� ���� ��-ก����!��-������$��96�/�����ก�����%�#�&�!�)!� �����$����� GSM Association 2*���'(� ���� ��96�/�����ก�����%�#�&�!�)!�/����������5�-� 0����ก�T�����T������ก�$� �Mobile Spam Code of Practice� �#!���'(���������-��/�����8��96�/�����ก�����%�#�&�!�)!����'(� ��5�ก �� ���� 0���T�0'':���-��#!����'4��� SMS spam �ก$96�/5� �T�����T��0�$/5$ �������� �� GSM Association 96�/�����ก�� ����)':���-�-��0��-������

DPU

13

����/� ����������� SMS spam 3 �6'��� 0���ก$ �������5��ก������� $������96���� ���0�$0����������- �������5��ก��������5��5��/��96�����T�ก�������!� $� ������� ��0'��������� ���������#��%8 ��� ������9��ก������� $�0'���96�����T������ก �5$� '����'��5!��96� $�/��� ��/�9�� ��!��$���� ���6� $�������

2.5.2.5 ก��/5�2�3-&���&ก��� SMS spam ���4���2��&3����& ���96�/�����ก�����%�#�&���!����������� 0�������-��-��2�3-&���&ก��� SMS spam ���4���2��&3����& ��96�/�����ก����� -����$���5$� ���8�� Pakistan Mobile Communications Limited ���� �����ก�� Mobilink GSM 0��-��-��2�3-&���& TekMedia Anti-Spam Firewall �#!��ก��� ������ �� /���!��ก�ก:��� �.%.2008 ��� China Mobile 0��'��ก�%�$��� �ก� ������/� SMS ��ก"����� $�9$�����!� $�� �#!��-��� ���$�� ��������0�$0����������-��ก��[�����!�0�$

2.5.2.6 ก��/5�2�3-&���&ก��� SMS spam ���4�����!������%�#�& ��������%�#�&�!�)!������$��������-/��96�/5�-��-���'��ก���#����-�����0�� ����)-��-���'��ก��5$��ก��� SMS spam ���4��96�/5�0�� ��ก8+�ก���T�������������*�ก��-��ก�������&

2.5.2.7 ก��';����ก�� SMS �'(����'���]� /����'����% �5$� ���[�����ก� 96�/5�������%�#�&�!�)!� ����)';�ก��0�$��� SMS �'(����'���]�0�� �5$� ��!�ก0�$��� SMS �� $���ก����&��!� $���ก������,� 2*�����ก� �'(� SMS spam 6�ก�$� ��� ����)� ��0'��!�ก';�����,�02-& ��96�/�����ก���!�)!���/5���6$

2.5.2.8 ก��';����ก��0�$/5���� SMS ��กก�+ �!�';�ก��/5���� SMS ������ ���0�$ �/��$��'(� ������5���/� 2*��96�/�����ก�����%�#�&�!�)!� $����ก�����-/���T�0��

2.5.3 SMS spam /�'����%0�� ��ก���������ก�� T���� ���6� �� SMS spam ��ก96�/5����%�#�&�!�)!�/�'����%0�� ��ก��,����&� Pantip.com ���� MBK (SIU., 2553) #��$�96�/5����%�#�&�!�)!�������'4��� SMS ��ก��� �����'(��T������ก ����

2.5.3.1 �96�������'4��� SMS spam � ������� 3 ���!� $�����ก �!� AIS DTAC ��� TrueMove �T���� �������"�����96�/5�������%�#�&�����*��������6$'����+ 4-7 ������-$����

2.5.3.2 96�/5����%�#�&�����*��0�������������� ����0�����-�����!�� ������ 2553 0����� �� 41 ��������!�����"�������� 1.32 ������

2.5.3.3 96�/5����%�#�&�����*���������$�0����� ��������ก True Sport ����� 4-5 ������ ������ก�������� 5.35 �����������$�0�$0�� ����/5����ก��/� W

2.5.3.4 ���%�#�&�ก!���������������$� 0�$��� �������ก���#!����� SMS ���$�����

DPU

14

2.5.4 5��� �� ������ SMS Spam /�'����%0�� ����)�T���ก ������0���'(�����ก��$�����

2.5.4.1 ��������ก96�/�����ก�����-�� ��ก�'(� ������'��5� ��#��X&���ก�� �����!� $�� ������������� ���%�#�& T����� ��)�� ���6��#����-�� 2*��0�$����$����ก��

2.5.4.2 �'(� ��������ก96�/�����ก�����-�� �-$�'(� ������'��5� ��#��X&���ก�� �����!� $��������$�/5����ก�� /����ก�+��� �� $��ก��5���5� ���'��5� ��#��X&�$� $� ������ก���0'��������� ��กT������ก��$�/� ก,������� ��X�w��������5���ก *�

2.5.4.3 �'(� ������'��5� ��#��X&��ก�������� ���8�� ������� ������� ��#��X&���X��ก��ก��96�/�����ก�����!� $�����-��

2.5.4.4 �'(� ������'��5� ��#��X&��ก�������� ���8�� �������-$�� W ��0�$������$5���$������ ��#��X&�5��X��ก��ก��96�/�����ก�����!� $����!�0�$ �-$�'(����8�� ������� ���5!��� ��/� ���� ����'(����6���กก������0' -���$���5$� ���!����8�� GMM ��� RS 2*������/�����ก�������#��9$�����%�#�&�!�)!� ��!���������� Sizzler ��/�� $� �������#!��5���5�

2.5.4.5 ������������ก ���8�� �������� ��0�$�'(����6���กก����ก��ก ���/����ก�+0�$0����5!��96� $� �-$���'(������� ���%�#�&��� �������ก!����ก5���'(�ก��'��5� ��#��X&���ก��9$�����%�#�&�!�)!� �5��5��/�� $� SMS �#!��5���5� ��� ���������ก8+� $�0')*���!����#% $����� ��ก��'��5� ��#��X&��ก�'(���!������5�-� �����!��� $��2��2��/���ก���������

2.6 ��$$���?������ก�������

2.6.1 Anti SMS Bomber (provost, 2012)

!� ����� 2.1 ��##����5�� �� Anti SMS Bomber

���� ����) ��,�ก ������ ����2T�ก����ก96� $����� W ��0�� ���ก�6'����-� ������0�� ��ก ������ �����$���'�$�0��

����-���ก�� ������ Android: 2.0 ��!� 6�ก�$�

��$�'4������ 1.1

���03�& 132 k

DPU

15

!� ����� 2.1 (-$�) ��##����5�� �� Anti SMS Bomber

��ก#�.�� Sabastian pruvost

2.6.2 Blacklist (Anttek, 2012)

!� ����� 2.2 ��##����5�� �� Blacklist

���� ����) ��,�ก ก�����/ ������ �� ��ก���ก���� ����0�� ��,�ก ก�����/ ������ �� T������� ������0�$�6���ก0�� ���#��&- ������%�#�&/'����-�ก�����/ ������ ������6$/� ��,�ก�� 0�� ����)���ก��'����-�ก����,�ก0��

����-���ก�� ������ Android: 2.0 -2.2

��$�'4������ 0.97

���03�& 167 k

��ก#�.�� Anttek

2.6.3 BlackList free (Ming, 2012)

!� ����� 2.3 ��##����5�� �� Blacklist Free

���� ����) ��,�ก ก�����/ ������ �� ��,�ก ก����� T������� ������0�$�6���ก ก��� ������ �����/5� �T��"#�� '7��ก��������� 9$��

����-���ก�� ������ Android: 1.6 ��!� 6�ก�$�

��$�'4������ 1.8.1

���03�& 269 k

DPU

16

!� ����� 2.3 (-$�) ��##����5�� �� Blacklist Free

��ก#�.�� Ming Software

2.6.4 AntiSpamSMS (Airplanez, 2012)

!� ����� 2.4 ��##����5�� �� Anti Spam SMS

���� ����) ��,�ก Spam ������ �� ��,�ก�� ������0�$�ก��� ��

����-���ก�� ������ Android: 1.6 ��!� 6�ก�$�

��$�'4������ 1.02

���03�& 322 k

��ก#�.�� airplanez '����%�ก���

2.6.5 SMS Filter (Nachev, 2012) !� ����� 2.5 ��##����5�� �� SMS Filter

���� ����) �#���/�� �� ������ก���ก�����,ก�� 0�� ����*ก'����-�ก����,�ก�'(�03�&0�� � ��/���� '����-� �� ������� ��0��

����-���ก�� ������ Android 1.5 ��!� 6�ก�$�

��$�'4������ 1.0.1

���03�& 35 k

��ก#�.�� Tsvetan Nachev

DPU

17

2.6.6 Anti SMS Spam & Text Filter (Droid Mate, 2012)

!� ����� 2.6 ��##����5�� �� Anti SMS Spam & Text Filter

���� ����) �T��"#�����,ก�� ���ก���� ��������,�ก ��,�ก�� ������0�$�6���ก

����-���ก�� ������ Android: 2.0 ��!� 6�ก�$�

��$�'4������ 0.96

���03�& 162 k

��ก#�.�� Droid Mate

DPU

18

����� 3

������� �����

3.1 ������ก��������������

��������� ���������������������ก����ก������� ��������!�� ก��ก���"�������� � ��#$�%�$��������$�� $�������������&�����ก�����'��('� )*������+ก���"�������� ��,��*��(��"$�����(-.)����'#$�%�$�/'������'01����"�������� �$��/�.����ก�� # ' ( � �. �"� ����ก��$1������ก��2� 3 �.�� '����

3.1.1 %5ก6�"���-�$���/� ���ก��'��( *��กก��$1����"�������&�����ก�����'��('� ���ก��� ��������!�������'��('� ����������$��)!�)�ก��� ��������!�� ������ก���!�����.�������0�����*�.��ก��$1����"��������!��ก��ก���"�������� �ก������"�������� ������'��('�

3.1.2 ��ก���������!���1�*���ก��ก���"�������� ���#$�%�$��������$�����'��('� )�ก����ก���������!���������&�����ก�����'��('��� �0�����)!���������������!.�()�ก��� �� $� �'���"��ก���!�����.�ก����*�.�� ������!��ก��#$�%�$��������$�����'��('� ����"�������� �ก��������!��ก��ก���"������ ���ก��0�'ก��ก��"�������� �$��/'�ก���/��

3.1.3 � ��������!��ก��ก���"�������� � ���$��/'���ก���/�� ����ก�/"��������������!��)*������+$1����/'�������+��������$��/'����/�� #'($'���ก�����-������������#$�%�$��������$��0���

3.2 ������������� !���������

3.2.1 #$�%�$��������$��$�������� �����&�����ก�����'��('� 01���� 1 ������� /'��ก. Samsung Galaxy S II���� WCDMA/HSPA 850/900/1900/2100 MHz.

#���".�( 3G WCDMA/HSPA+ ������Q�����$�����Q� '����#*�' 21 Mbps ��#*�' 5.76 Mbps *���0� 4.3 �� � WVGA Super AmoLED Plus ���������('*���0� 480x800 �ก�]� 16 ������

DPU

19

*�.�(������^� 1.2 ก�กก��_���]� '-������� *�.�(����01�`�()� 16 ก�กก�/�$� ก����+.�(�-� 8 �����ก�]� ����������#��#aก�� ��-$- V3.0 + A2DP Wi-Fi 802.11 b/g/n �����&�����ก�� Android 2.3 Gingerbread "������ SMS ��� MMS ������ POP3/IMAP/SMTP 0��� MIDP emulator �������� ����(�/���� 1650 ���������i

3.2.2 ������������������.������� 01���� 1 ������� ����j������'���� CPU Intel Core i5-2410M (2.30 GHz, 3 MB L3 Cache) RAM 4 GB DDR3 HARD DISK 640 GB 5400 RPM Graphic Chip nVidia GeForce GT 520M (1 GB GDDR3) DVD +/-RW Drive USB 2.0 Display 14.1 inch WXGA (1366x768) LED MS Windows 7

3.2.3 ]�a�������1�*���)!�)�ก��� �� Java Development Kit (JDK) #���ก�� Eclipse Android SDK Android Development Tools Plugin

3.3 �"�ก��#$�������

)�ก����ก������� ������ก���"�������� ��,����"*��(�� � ���^�ก��'1��������'�������$�� 3.1

DPU

20

%������� 3.1 �^�ก��'1��������

��ก6j���� ���������"��#���ก��

(�'���$��) 1 2 3 4 5 6 7 8

1. %5ก6�ก��$1����"�������&�����ก�����'��('�

2. %5ก6����ก���������������$��)!�)�ก��� �� ������!���������&�����ก�����'��('�

3. ��ก���������!���������&�����ก�����'��('�

4. � �����ก��ก���"�������� �$��)!�� ��������!�� 5. $'���������!�� 6. �ก�/""��^�'��'�����������)*����-�j�

3.4 '�(�%��ก��#$�����������

3.4.1 ������"���-����%5ก6�ก��$1����"�������&�����ก�����'��('� 1. ����`$"��!�']�a������ ������0�ก���'��('��� ���x')*���ก� ���"��/�'-�*��

���,���/'� $1�)*���^-�� ��0�ก*��(yz�(�1�����*�����,�����������.� �����������'��('�)����,���"�������"5 � 05���.�����`$"�����'��('���ก/'���2� 3 ����`$ (0�ก�!�( #����$�� ��� �6�%� 0��$��(�(, 2554) '���.�/��� ���

1.1) Android Open Source Project (AOSP) ��2����'��('�����`$��ก$��ก-�ก����x')*������+�1� |���,��������x'} /���'�� ����)!����)����ก�j��.�� ~ /'�#'(/�.�������(�.�)!�0.�(

1.2) Open Handset Mobile (OHM) ��2����'��('�$��/'����ก��� ���.��ก��ก��.����6�$^-�^������ก�j�ก� $���"���.��ก��ก-�ก��)���� Open Handset Alliances (OHA) ]5�����6�$�*�.��� 0�� �����'��('�)����,���"������ก�� #'(�-��.��*�����ก����'�^� ���a����!���ก��)!���� 0���������2���ก��ก6j� �������"��$����2�"���� ����/'������$��)�ก�������ก��������.�� ~ 0�กก-�ก�� $�����(ก�.� Google Mobile Service (GMS) ]5����2����ก�������$��$1�)*����'��('��������$�`� ��2�/����0�'�������"�����'��('� ��.ก��0�/'���]5�� GMS �� � ^-�^���0�����$1�ก��$'������� ���"�������ก��$��ก-�ก��ก.�� 05�0��1����������ก�-.���'/'�

DPU

21

1.3) Cooking *��� Customize ��2����'��('�$����ก� ���1�����*�����,���0�ก�*�.��.�� ~ ��������.� )����,���"������� #'(0�����$1�ก����'�Q����$��ก��)!�������ก�j� *��� Unlock �������ก.�� 05�0������+��'�� �/'� #'(���'��('�����`$�� +����2�����`$$�������������+��ก$����' �$.�$�����ก�j���������� � ~ 0�������/'� ������0�ก/'����ก��������.�)*��"��ก�����ก�j��� � ~ 0�ก^-�)!����0���

2. ��$��)�ก��)!�������� �!.��'�(�ก�������&�����ก��$���/� $����ก��01�ก�'ก��)!���� ���ก���"��+5��.���.�� ~ `�()����� �����������' �̀("������ ��� ^-�)!���� ���ก�j�$����'�� ��������'��('�05���ก��01�ก�'��$��/�� (������./'�$1�ก����'�Q����$�� *��� root �����������) �����+��.���$��"��^-�)!�)�ก���"��+5�����/'�'���.�/���

2.1) ��$�� root ��$��ก��)!�)!������'����ก ]5��+���.���2���ก���"������ 05������������+)�ก���"��+5�$�ก ~ �.��"������

2.2) ��$�� ADB (Android Develop Bridge) ��ก� �������+�"��+5��.���.�� ~ "������/'�^.����$����

2.3) Application & System ��$��"��#���ก��)�ก���"��+5����� �����$��"������)�ก���"��+5����ก�j�#'(��$���*�.��� �������0���2����0�'ก��������+����$�� ���������/"$��ก1�*�']5��0�+-ก��.�(.�(��ก��2�*��(*��"��

%������� 3.2 ก��������)*��"��+5�"���-�"��"�������� � (SMS)

ก��������$���ก��(�ก��#$�%�$� ���+�������� android.permission.RECEIVE_SMS ������)*�������!�������+���0���"�������� �$��

�"����/'� android.permission.READ_SMS ������)*�������!�������+�.��"�������� �$���"����

/'� android.permission.SEND_SMS ������)*�������!�������+�.�"�������� �/'� android.permission.WRITE_SMS ������)*������+�"�(�"�������� �����������!��

$�������"5 �/'� �����: Android Developer [online] : �"��+5� 15 �.�. 2554. 0�ก http://developer.android.com/reference/android/Manifest.permission.html

DPU

22

2.4) End-user ^-�)!����"� ���'$��( $��)!�ก���"��+5��.���.�� ~ "������^.��!.��$����$��$��#���ก��/'������ก$� #'(0�+-ก01�ก�'/�.)*��"��+5�)��.��$����2�������(�.��ก�����������ก�j�

3.4.2 %5ก6�����������$��)!�)�ก��� ��������!���������&�����ก�����'��('� (0�ก�!�( #����$�� ��� �6�%� 0��$��(�(, 2554)

1. Java Development Kit (JDK) ��2�!�'�1�����)�ก��� ��#���ก��'��(`�6�0��� #'(!�'� ��#���ก�� JDK ���ก��'��( 3 ��.�'����

1.1) Java SE (Standard Edition) �1�*���� ��#���ก���������������������$���/�

1.2) Java ME (Micro Edition) �1�*���� ��#���ก�������ก�j�ก� �!.�#$�%�$����+�� *��� �'��� �.����ก)!��1�*����"�(�#���ก���ก���

1.3) Java EE (Enterprise Edition) �1�*���� ��#���ก��)�����ก�)*�. ~ *�����"���"�"��#���ก��$��ก������ก !�'� ��#���ก�� JDK �� � ��2��������$��+-กก1�*�'#'(���6�$ ]�� /�#��]����Q��� �����^-�� ��!�'#���ก�� JDK ��ก����ก��( �!.� ]�� /�#��]����Q��� /�����Q� ��� ������ ]����Q���

2. #���ก��$��)!��1�*����"�(�#���ก��`�6�0��� (Java)(Eclipse) ��2�����������$��!.�(��������)�ก��� ��]�a������ #'(�,��`�6�0��� ���$���1���� eclipse ��2�]�a�����������x' (open source) $��� ��"5 �����)!�#'(��ก� ����� $1�)*�����ก���*���)�ก��� ��"�� eclipse ��2�/��(.���.������������'��Q� Eclipse ���������ก��*��ก$�����(ก�.� Eclipse Platform ]5��)*����ก��"� �� ����*��ก�1�*��������������������.�� ~ 0�ก`�(��ก)*������+�"����$1�����.��ก��)��`���'�����'�(�ก�� ������������ก��$�����(ก�.� plug-in development (PDE) ]5��)!�)�ก���������������+)�ก��� ��]�a��������ก"5 � ����������`�(��ก0�+-ก� ��)��-����$�����(ก�.� Eclipse plug-ins '���� �*�ก����ก��)*� Eclipse $1����)'�������� กQ��(���.� �� plug-in �1�*�������� �"5 ��� ����1� plug-in �� �����'�� ���������)*�ก�� Eclipse $�����(-.�$.��� � Eclipse plug-in $��������ก�� �������ก��'����#*�'����� ���กกQ����������ก��$�� ���(ก�.� Java Development Toolkit (JDT) ]5����2�����������)�ก���"�(���� debug #���ก��`�6�0���

3. Android Development Tool (ADT) #���ก�������$��$1�)*�� �����'��('� �� Eclipse /'� $1�*���$����2�����!������*�.�� Android SDK ��� Eclipse )*������+$1������������2�����������!� ��'�(�ก�� *�ก)!� Eclipse ����/�.��� ADT /�'��(กQ�*����ก��/�./'�)!����������+

DPU

23

"�� Eclipse ��( #'(�����+'����#*�'��/'�0�ก http://developer.android.com/sdk/adt_down load.html

4. Android SDK (.���0�ก Android Software Development Kit ]5����2�!�'#���ก��$��ก-�ก��� ����ก�������0ก0.�()*���ก� ��������!�� *���^-���)0/�'����#*�'�����1���)!�ก�� #'(/�.���.�)!�0.�( ]5��)�!�' SDK �� �0���#���ก�����/��������.�� ~ $��01���2��.�ก��� ��������!�������'��('� �(.���!.� Emulator ]5��$1�)*�^-�)!������+�����������!������1���$'�����������-�������ก.�� #'(���`���'�����*�������+��$������(-.�������&��������'��('�0��� ~

3.4.3 ��ก������� ��������!���������&�����ก�����'��('� 1. #��������� ����"�����'��('� (android project structure)

*����� 3.1 #��������� ����"��#���ก��$��)!�� ��

1.1) src (Source Code) ��2��.��"��]��#��'$�������"5 �����"�(�"5 ���2�/a�� .java #'(0���$� �!������� ���$������� ������'

1.2) gen (Generated Java Files) ��2��.��$��+-ก�����"5 �#'(���#����� �!.�/a�� R.java ]5��`�()����ก��'��( text ��� UI Element #'(+-ก�1��"��/�(��#���0Q���^.�� android plug-in ]5��/a���� 0���2��*�������!� (pointer) /�(�� drawable, layout, values directories

DPU

24

1.3) res (Resource) 0���2��.��"��ก����'�^�"��/a������ ~ $���1�����2��.�����ก�� �.��ก��#��'$���"�(�"5 � #'(���'��('�0���ก����.�/a�����!��'"�� resource �� � #'($���������ก�������#���0Q���"5 ���)*�.0��� directory (.�( ~ ��ก 5 directory ���

1.4) drawable-hdpi/drawable-ldpi/drawable-mdpi ]5��)!��1�*����กQ�`� 1.5) layout )!��1�*���0�'��� view �.�� ~ 1.6) values )!��1�*���0�'ก���.��.�� ~ $���1�/�)!�)�������!�� $� ��� กQ(�������+

����� directory �.�� ~ "5 ���������กQ�"���-����� ~ $��0�)!�)�������!��/'�'��( 1.7) AndroidManifest.xml ��2�#��������"�� xml /a�� ]5��)� xml �� �0���2�ก��

ก1�*�'��j������ ���ก���� ��.��.�� ~ "��������!�� �!.� !���"��������!�� �����!���"��#��'ก��ก1�*�'��$�� �.�� ~ )�ก���"��+5�������!��

2. �������ก��"�����'��('�������!�� (Android Application Components) (�������% *�.���0���, 2555)

2.1) Activity (User Interface) �������$��)!�)�ก����'�^� ����)*� -̂�)!����/'��*Q����/'�)!���� #'()���.��������!���� � ��0�� activity �'�(� *���*��( activity กQ/'� �������$���(-.)� activity �� �0����(ก�.� view ]5��กQ���(-.)�*��( ~ �-���� �!.� buttons, text, fields, scroll bars, menu items, check boxes ������� ~ ��ก��ก��(

2.2) Service (Service Provider) �������$��/�.���.��"��ก����'�^� ��.+-ก���(ก)*����)���ก6j�"�� background process #'( service �� � ��0��ก��ก��$1���/�����(.�� �!.� ��'�.�����.�"���-�^.�������".�( *����1���j�.��.�� ~ ����กQ�.�^������ �/���'�(�� activity กQ/'�

2.3) Broadcast receiver (Data Provider) ������$��)!��1�*�����(��� �����������.��*��ก��j��.�� ~ $���ก�'"5 � �!.� ����������������1� -̂�)!�$1�ก�������(�`�6� ��ก��#$���ก ��"�������"�� ������� ~ +5���� broadcast receiver 0�/�.���.��"��ก����'�^� ��.กQ�����+���(ก activity "5 �����'�^�)*�^-�)!�/'� *�����00�)!�����$�����(ก�.� Notification Manager ]5��0���2����$���0�������)��-����"��ก������ ก����'�/aก�����$��*���0� *���ก���.����(���ก��0�ก�1�#� #'(0���/���� ��'��(-.�� status bar ����)*�^-�)!��"��/�ก'����'-�*��ก��j�$���ก�'"5 �

2.4) Content Provider (System Event Listenner) ���ก��.�"��"���-�$�������"5 �0�ก������!�� ����)*�������!������ ~ /'��1�/�)!� #'(ก��0�'�กQ�"���-�"�� content provider �� �0��(-.)���ก6j�"��/a�� ���"���-� SQLite ������� ~ ����(.��������!��$��)!���� Content Provider $���*Q��'.�!�'$����'���#���ก�� Contacts $����'���(!���)� contact �������

DPU

25

3. Activity Life Cycle ��*���$��)�ก����������������ก��$1����"��*���0� ����#�����ก��^-�)!���� ]5��0�����. activity �'�(��$.��� �$��#�����ก��^-�)!����)�"j�)'"j�*�5�� #'(��.�� activity ��.�����0�����0�!������2�"������� #'(��.���2��+���'����

*����� 3.2 �+���"�� Activity �����: Activity Lifecycle [online] : �"��+5� 5 �.�. 2554. 0�ก http://developer.android.com/reference/android/app/Activity.html

DPU

26

3.1) Running ��2��+���$�� activity ก1����$1����)�"j��� � 3.2) Pause ��2��+���$�� activity ���ก&�(-.��*���0���./�./'�$1����)�"j��� � 3.3) ��2��+���$�� activity /�.���ก&��*���0� 3.4) Kill ��2��+���$�� activity +-ก$1���(/���������� activity �(-.)��+��� pause

*��� stop activity �����+ +-ก$1���(/'�#'(���� 3.5) onCreate(Bundle) 0�+-ก���(ก����� activity ��ก���������������� ���ก ��2���

�'�1����)�ก�������*���0�ก��$1�����.�� ~ 3.6) onRestart() 0�+-ก���(ก*���0�ก$�� activity ก�����0�ก�+��� stop ���������

$1����)*�.��ก��� � 3.7) onStart() 0�+-ก���(ก����� activity �������'�)*�^-�)!�����*Q� 3.8) onResume() 0�+-ก���(ก����� activity �����+#�����ก��^-�)!����/'� 3.9) onPause() 0�+-ก���(ก������� activity ����ก1����$1������2����' )�ก���กQ�

"���-�$���1����*���$1�ก����.�(*�.�(����01�����)*� activity ���� /'�)!���� 3.10) onStop() 0�+-ก���(ก����� activity /�.���ก&��*���0� ����0��"���-.�+���

stop 3.11) onDestory() 0�+-ก���(ก����� activity ก1����0�+-ก$1���( 3.12) onSaveInstaneState(Bundle) 0�+-ก���(กก.�� onPause() �����กQ��+����.�� ~

"�� activity /��)!������ activity �� /'�ก�����$1������ก��� � 3.13) onRestoreInstanceState(Bundle) 0�+-ก���(กก.�� onResume() �����1��+���

�.�� ~ "�� activity $���กQ�/����)!����

DPU

27

����� 4

��ก�ก ��� ���������������������� ���� �� ���

��� ������ � �!���"��������

4.1 %����ก��&����� �'��

%����� 4.1 ����������� ��ก��ก�������������������������������������� ��

ก��!������"�����#���$���ก� %� 2 �$�� ���&���� 4.1 *+���,$�"�$����� �"��� ����,$�# ���

4.1.1 ����������������������# (MS) �!1�����$���������� �������� �������������������������� �����#�,2�,��������2��3��ก�ก�������������� ��� ���4�5���6���������

4.1.2 �����2��3�� �!1����ก������������������ �� ��� ���4�5���6���������� %�,��ก���

4.2 �� ก&�)��� ���ก�ก ��� �������� 4.2.1 �������������������74ก�$��8ก����������������������# ��� �����2��3��8"�!ก�

,��8����$���1� ����$����������������� ��ก�����+ก3���� 4$5���6���������1���#�$ 1ก��ก�����+ก �������������ก98"��ก�$������������,��������� ก,2 �,$1ก#�$��3�������+ก� 4$5���6��������� �������������ก98"74ก�ก9�#�5������2��3��

DPU

28

4.2.2 ก��!��& 5������2��3�� 8"��2��,����,$�������ก�� ;������2��3�� �� �!ก��$����4�8ก<����4�����1�� ����!�����5�� ก� (list) *+��8"� %��������������1����������2��3��#�ก���#� �� ���7����ก��# ���,$�"� ก� ������4������������ก���#�����,$�"���1� �� 5��,$�"� ก�8"���7��2�����1� ��"����+ก� 3�����5�<����4�������������������#� *+��8"� %�ก� ��� �6���6���������5�,��������� ������� �����7��������������� 4$5������2��3��#��� 1ก#�$,��ก��ก9��������������#� 4.3 ����+ �ก��&����� ���ก�ก ��� ��������

ก��!��8"��2��,��+�� ������ ��ก��#�74ก,2�,��� (Installed) ���������������������������� �� ��"8"�!����,����,2������������51�$������ ��������������� �� ��� ก�"���ก���"����,��ก��!��������

4.3.1 �!ก����"��� ������� ;���2ก�ก������������ �!1���ก���G������2��3�� ���� H 8",����ก�,����$ก���6I, (Permission) � %�ก�51�2�N2,$� H ก�������2��3��,�,����� 4.1 *+��8"�!��#O�� AndroidManifest.xml

+������ 4.1 ก���6I,51��7+����4������������� (SMS)

ก���6I,����ก�� �ก���������� ��,76 �"���� android.permission.RECEIVE_SMS ��6I,51�����2��3�����7,��8���������������

���#� android.permission.READ_SMS ��6I,51�����2��3�����7�$����������������

#� android.permission.SEND_SMS ��6I,51�����2��3�����7�$����������#� android.permission.WRITE_SMS ��6I,51���7��� �������������������2��3��

�������+��#� �����: Android Developer [online] : ��7+� 15 ,.�. 2554. 8ก http://developer.android.com/reference/android/Manifest.permission.html

DPU

29

4.3.2 ก�53����������� (SMS) 5��O����2�������"�� c2��,2ก������� ��8"��#�������� �ก�� ����ก��ก�53��2ก���������� ������ SmsManager 8"� 4$5���9��ก8 android.telephony �� 8"�����������"�� GSM ��"�"�� CDMA ���7+�ก� �"ก� Broadcast Receiver �����,��88���������������$���� �� ����8�3��2,��� Broadcast Receiver ,�&���� 4.2

%����� 4.2 ��8�3��2,��� Broadcast Receiver

4.3.3 Oj�ก�3�� onReceive() 8"74ก��� ก53���������ก�������4���� �� �!ก�,��8����$���4������������� %����4� �"�&����������1���#�$ 5�ก�,��88��������������74ก�$��������8"53�$��� PDU (Protocol Description Unit) *+�� �"ก���� ��������� �$,$� H ���535�ก��$��� �ก9�#�5������ �����89� (object) ��"��N�� createFromPdu() *+��8"53� �����4������ �����89� # � %� SmsMessage ��"53�!���� getOriginatingAddress() ������$��$���1� �����������q4�$� ��"53�!���� getMessageBody() ������$��$����� 1���8ก����8"�!�$���1� �������� # ,��8���ก����N�� isHaveContact() ����� ContactPhone ������ �� ���� ����1� �"1�$����1� ������������51�$ ��"���1� ����6�������������"�� *+��1ก,��8������#�$�� ก98"�!�$�������1� ����� ��������"��� # ��2��5�<����4���������2��3�� ��"��# �����������������ก�$�������������"�� �� 53��N�� deleteSMS() ����� SMSReceive ,�&���� 4.3

DPU

30

%����� 4.3 q����ก������",��8������������

DPU

31

�!1���ก�,��8������1� 5���6��������� ,�&���� 4.4 #�� ก $� ก��!����ก� �� ������ isHaveContact() � %�,��,��8������1� ���������������� H ก�����1� 1���� 3�������6�������������"�� �� 53�4 ��� PhoneNumberUtils.formatNumber �������� ก�����������!1���8��ก���6�����������"ก!1���4 ������,����� �� ก!1���7�"��2��,�� %� false 1���8ก����8"53������*��� 5�ก������ (query) ���4� �� ก!1�� Phone.NUMBER � %�1� ����������� ��" Phone.DISPLAY_NAME � %�3����������������1� ���� H �� 5�ก����������8" ������*���# ���7���ก������4����� �� ���� ����4� 1ก,��ก��8"�$��$ก���� %� true ��" ������*���# ��,!�1�$�7��# *+��1ก�7������ %��7��6�� ก98"1 6�ก���1 ��"8"�$��$ก�������7�"ก���1 ��"�����#��!ก���2�����4���5�<����4���� 8",��51�����2��3����# �����������������ก�$�������������"�� �� 53��N�� deleteSMS() ����� SMSReceive �� 8"��# �!����,����,2 q$�ก���� ก53 URI �!1���ก���7+����4�5� Content Provider (wcontent://sms/inboxy) ��"8"53�!���� query 5� URI �� ���$ ID, thread_id, date, body ��"8"��# ��5��$����� conversations �� ���2�8ก���1� ���� H ,�&���� 4.5

DPU

32

%����� 4.4 q����ก�,��8�������6�������������"��

DPU

33

%����� 4.5 q����ก��������������ก�$�����������"��

2.3.4 ก�53��<����4� SQLite (�8��� �,�� ��" ������ �,, 2554) �� 5��"�� c2��,2ก������� ������ ��ก�,2�,����"��<����4� SQLite ��� ��� *+�� SQLite ����ก|}"� %�<����4��32�������N� �� ���753�!���� SQL 5�ก���������4�#� ������2��3�����53�� SQLite ����8"���2���,�*����<����4�� %����,����� ��"���7��7+�#�8ก�����2��3����$���� 5��$����������2��3����� ��ก�53�� SQLite ���� ���<����4� ��2�����4� ��� ก�4���4� �����4� �� ��� �"��� �������

4.3.4.1 ก����<����4� ��ก� �"ก�,��� � �����53�ก9�,�����4� �� �"�63���,��<����4���" �"ก�,��� �3������<����4� �� �"�63���#O�����<����4� �� �!ก����<����4�& 5,3���<����4����#� �"ก�#� �� 53�4 ����!����,�&���� 4.6

%����� 4.6 �!���� openOrCreateDatabase

5�ก����<����4�8"53�!���� execSQL ��������,���� ก!1��3���,�� ��"O;���������4�,�&���� 4.7

DPU

34

%����� 4.7 ก����,��<����4���"ก�����+ก���4�

4.3.4.2 ก���2�������������5�<����4� 8"53�!���� ContentValues.put ������!�$��# ��O;���������4� MSG_ID, PHONE_NUMBER, MESSAGE ������#� ��"53�!���� insert() �� ก����2�,�����4� ��"�!�$���4����� 4$5� ContentValue # ��2�����4���5�<����4� ,�&���� 4.8

%����� 4.8 ก���2�����4���5�<����4�

4.3.4.3 ก���� ก�4���4� (getDataSMS()) ������������4����1� 8!������������,$����1� ��"��������� �� 53�!���� openOrCreateDatabase() �������7+�<����4� ��"53�!���� SQLiteDatabase.rawQuery() �� MSG_ID, PHONE_NUMBER, MESSAGE ��,�����4� �� ก�6$���� PHONE_NUMBER ��"��� ก53��� getSizeDatailSMS �����,��8�����"���8!������������,$����1� ���� H

4.3.4.4 ก���� ก�4� �"��� �������4� (getDataDetailSMS()) ������������4�� � � � � ��� � � � 5 3 �! ��� � openOrCreateDatabase() ���� � �� 7+ � < � � � �4 � � � " 5 3 �! ��� �SQLiteDatabase.rawQuery() �� MSG_ID, PHONE_NUMBER, MESSAGE ��,�����4� �� PHONE_NUMBER

DPU

35

4.3.4.5 ก�������� 8"� %�ก�������� 1 ����� �����1� ���� H �� 53�!���� SQLiteDatabase.delete() ���,�����<����4� �� �1�� MSG_ID 5�ก����2��������

4.3.4.6 ก������������1��,$����1� ���� H �� 53�!���� SQLiteDatabase. delete() ���,�����<����4� �� PHONE_NUMBER 5�ก����2�����������������1�������1� ���� H

4.3.5 ก�ก!1��ก��!���������2�2,��,$� H ����� MainActivity �� ��ก�ก!1����,��2�2�,�����ก�� ����ก����� ��"��ก��!�������N��,$� H ������

4.3.5.1 ��N�� onCreate() 8"��ก���� ก53���������2�2,�� ��2���!����"8"��ก���� ก53�������� ก��!#O�� main.xml ���� %�1�8���������2��3�� ��"��ก��������89ก,�3��� smsReceive ����� SMSReceive(), ����89ก,�3��� db ����� DataBase(),����89ก,�3��� conP ����� ContactPhone() ��"��ก���� ก53��N�� isPhoneContact() ����� ContactPhone() ��"�!ก�1�1�� (id) 8ก#O�� list_sms.xml ���q$�ก�"���ก� (process) ����N�� onCreate() ���7+�ก���� ก�$8ก��N�� getDataSMS() ����� DataBase ��ก9��� vData ,�&���� 4.9

%����� 4.9 ก��!�������N�� onCreate()

4.3.5.2 ��N�� onItemClick() 8"� %�ก���� กก�����N���������ก�����ก� ก�5� AdapterView �� 8"�3��������2�2,��,$� H ��"�$�q$����4�ก���"1�$�����2�2,���� 53 Intent �� �!1���8ก��ก�����ก ���8+�# �!������ DetailActivity ��"������2��ก��!�� ,�&���� 4.10

DPU

36

%����� 4.10 ก��!�������N�� onItemClick()

4.3.5.3 ��N�� onItemLongClick() 8"� %�ก���� กก�����N���������ก�����ก�� ก�ก���#���� ก�5� AdapterView ��"8"ก!1�� view ���53�� Context menu ��

%����� 4.11 ก��!�������N�� onItemLongClick()

4.3.5.4 ��N�� onCreateContextMenu() 8"� %�ก�������41��ก �������ก����q��1�8� �� ��ก�������4�+��� 2 ���4��� ���4 wAdd Contacty �������2��� 3���������6����������������������������� �� ���1�� (id) = 0 ��"���4 wDelete Contacty ����������1� �����ก8ก<����4��������2��3�� �� ���1�� (id) = 1 ,�&���� 4.12

%����� 4.12 ก��!�������N�� onCreateContextMenu()

4.3.5.5 ��N�� onContextItemSelected() 8"�!���������ก�����ก� ก����4 �� 1ก����ก�1�� (id) = 0 *+��ก9������4 wAdd Contacty 8"53 Intent ������3����# ������2�2,�� ACTION �����

DPU

37

��2�����4� ��"����51 ActivityForResult �!��,$� 1���1ก����ก�1�� (id) = 1 *+��ก9������4 wDelete Contacty 8"������� �ก��+�����7�#,�,2���$ wDELETE SMS MESSAGEy ��"�����1����� wDo you want to delete message?y �� �� 6�� wOKy ��" wCANCELy �������#�,����$51 6�� wOKy � %� positive *+��8"�� Oj��1,6ก�}��������ก���2ก �� �������ก���2ก 6�� wOKy 8"� %�ก���� ก53��N�� deleteDataNumberSMS() ����� DataBase ���������������������1� ���� ����1�� ��"��ก� ��� �6����4��� ก���� ก53��N�� getDataSMS() ����� DataBase �����ก9�#����,��� � vData ����� ��� �6�� ก�51�$ �,$1ก����ก 6�� wCANCELy *+��,����$� %� Negative #� *+���������ก���2กก98"�!� ก�����1������#��1������2�

%����� 4.13 ก��!�������N�� onContextItemSelected()

4.3.5.6 ��N�� onActivityResult() 8"�!��,$�8ก��N�� onContextItemSelected() *+���ก2�8กก�����ก���4 wAdd Contacty �� �!ก�ก!1������89ก,� cp ����� ContactPhone() ��"��� ก# ����N�� getDataDetailSMS() �������� ก���4� ����� DataBase ��"�!�$# �ก9�#���� vdata ��",��8���8!����������������1�������1� ���� ����!# ��� �����6�

DPU

38

���������� q$���N�� writeSMS() ����� ContactPhone() *+�������4� ���1� �������� ��������� �1����������� 8ก��� DataElement() �������� ��������������ก�$��������������������� 1���8ก����8"��� ก53��N�� deleteDataNumberSMS() ����� DataBase ���������ก8ก�����2��3�� ��" ��� �6�� ก���<����4������2��3��

%����� 4.14 ก��!�������N�� onActivityResult() ��"����,��ก��!������1�������� ;������2��3�� ���78��ก��!��#�,�&���� 4.15

DPU

39

%����� 4.15 ����,��ก��!������ ��ก��& 5������� ;�� ��ก��

4.3.6 ���������N��"1�$���� ����,�&���� 4.16 4.3.6.1 ��� MainActivity �!1��������6���"�3����,$�ก���$��,2�,$�q453 �3$� 8"

�!���������ก���2ก ��2ก�� ����ก#���� (item) 1������4 $� � %�,� 4.3.6.2 ��� DetailActivity �!1������� Intent �8ก ��� MainActivity ��"

�3����,$�ก���$��,2�,$�q453 �� ก�����ก#������#� ��"�!��,�ก�$���,,�����#�,����$#� 4.3.6.3 ��� SMSReceive �!1������ก8�� service ,����#�ก!1�� event #� ��"�!

1����,��8���ก����6��������� ��"�������������,����,2 4.3.6.4 ��� ContactPhone �!1������1���4�5���6�����������"�!�

,��8���ก�����1� ������ �$��� 4$1���#�$ ��"�!ก���� ���������������"�������� �� �������ก���� ก53 activity ��2��� 3���,2�,$�

DPU

40

4.3.6.5 ��� Database �!1����8��ก�ก��<����4�����1���� SQLite �3$� ก����<����4� ก���2�����4� ก������4� ��"ก���1���4� �� 8"�3����,$�ก����� DataElement

4.3.6.6 ��� DataElement �!1�����ก9����4�8ก<����4� ��"�3����,$�ก����� Database

4.3.6.7 ��� List �!1��������q����4� �� ก�������8ก��� ListView �� ����q����4� ���1� ����� ��" ���������

4.3.6.8 ��� ListDetail �!1��������q����4��3$���� �ก����� List �� ก�������8ก��� ListView �� ����q����4� ����� ��" ���������

%����� 4.16 ���������N��"1�$����

DPU

41

����� 5

��ก�� ���

4 ��ก���� 5.1 ก�� ���������� �����

��������������������������������� ���� ��� �� ����!���ก (Export) �*�� .apk ./�������0�1��2�����ก���1����32��ก�� (Emulator) ����������� 7 8�����39�:��9��������9������;�;�� !��2��<

5.1.1 ก���1��*�� .apk �2 ; �<���39�:��9��������9�����3; �!���� USB 1. ������ !�39�:��9�����A��ก�������������� ����!���� USB ./���� ��� ; �<��;�

����A���������39�:��9���<� 7 ก!�� 2. �����1����� Cadb install <.apk file>M N� Command Prompt 3. �����9���������39�:��9��������9�����กR��2��กS���������� ��;�A/<� ��

T��9�� 5.1

����� 5.1 T����������������� ; �<��!���� USB

DPU

42

5.1.2 ก���1��*�� .apk �2 ; �<���39�:��9��������9�����3; �!��8�! ����1�T� ��ก (SD-Card) 8����!��3*��;���;���38�;

1. �1��*�� .apk �2N�!��9��8�! ����1�T� ��ก (SD-Card) 2. �2W;�*�� .apk 3. �������A���X!8�����ก�� ; �<����������� 3; ��ก9��2YZ� CInstallM ��ก��<���

��ก��9��������� ; �<��������������R� ��T��9�� 5.2 ���T��9�� 5.3

����� 5.2 T����������������� ; �<��!��8�! ����1�T� ��ก (SD-Card)

DPU

43

����� 5.3 �� ����� ;�������������������39�:��9��������9��

5.1.3 ก���� ���!�����������!�� กX�ก� ��� � �3 �� (Google Play Store) 3; ก��N�������<��� ����������_���X�N�����A/<��� ./�����!�`������ �N�ก��N�����2����a 25 ;������ � !N������ �<���< �X��� ��!�;��� ���!�����������!�� กX�ก� ��� � �3 �� 5.2 ก�ก���!"���#$���

����� ; �<����������������������39�:��9��������9����� ����������������91������ 3��� 3; 8�กA�������<�9���A�����2b�8�� ��A9����!��� X!N���Y;39�:��9� ������������91�ก��;/�A�������<���<� �A�����กR���c��A���X������������� ���91�ก����A�������<���<���ก��กก�!��A������A�� (Inbox) ���������39�:��9��������9�� ��T�� Log File 9�� 5.4

DPU

44

����� 5.4 Log ก��91�����������A�������<�0Xก�!��A����

DPU

45

5.3 ก����ก����� � ���������� �����

5.3.1 ก���2W;����������ก��ก���A�������<� N8�����ก8����������29������������ CSimple Spam SMSM ��8������������39�:��9��������9�� ������������91�ก��;/�A���X���กc��A���X� (SQLite) ����;������������� ��T��9�� 5.5 ���T�� Log File 9�� 5.6

����� 5.5 �� ก����A8�� �����;/���ก����กc��A���X�A�����������

����� 5.6 Log ก��91�����������ก���2W;����������

DPU

46

5.3.2 ก���!��A�������<� ���������������;/�A�������<�����กc��A���X���� �����0�!��A�������<���ก8�����ก��<�;� 8���8�ก����กก!� 1 A�������<� !���A8�� �����0��ก�A���2;X�� ����� ;�;� ��T��9�� 5.7 ���T�� Log File 9�� 5.8

����� 5.7 ก���!��A�������<�

����� 5.8 Log ก��91����������2W;�!���� ����� ;A�����

5.3.3 ก�������� ���� (Add Contact) N�ก�a�9�� ���ก��������A8�� ������Y;39�:��9� �����N8��2b�A�������<�2ก 9�����9/ก�����������39�:��9��������9�� ��������9/ก8��������� �������

DPU

47

������������91�ก���A� �A�������<�9�<�8�;��ก��A8�� ��<�����ก�!��A������A�� (Inbox) ���������39�:��9��������9�� ���������A8�� ��0/�A�������<���<� ��ก��กc��A���X�A������������ ��T��9�� 5.9 ���T�� Log File 9�� 5.10

(ก) (A) (�)

(�) (�) ����� 5.9 ก�������� ����

DPU

48

����� 5.10 Log ก��91��������������� ����

5.3.4 ก������ ���� (Delete Contact) N�ก�a�9�� �������A8�� 9���;�ก�������ก �����091��;�3; ��9�<���A8�� ./����91�N8�A�������<�9��0Xก�!�����ก��A8�� ��< 0Xก��9<�9�<�8�; ��T��9�� 5.11 ��� T�� Log File 9�� 5.12

DPU

49

����� 5.11 ก������ ����

����� 5.12 Log ก��91������������� ����8�����A8��

DPU

50

����� 5.12 ( !�)

5.3.5 ก����A�������<� !� N�ก�a�9�� �����A�������<����A�����A��8�� ��A��<� 7 �����091��;�3; ����ก�A���29����A8�� ��<� 7 �������กA�������<�9�� ���ก���� ��T��9�� 5.13 ��� T��9�� 5.14

����� 5.13 ก����A�������<� !�

DPU

51

����� 5.14 Log ก��91�����������A�������<���8�� ��A��<� 7

DPU

52

5.4 �+�������������� �����

��ก��กX�ก� ��� � �3 �� (Google play store) �2b� ��;;���38�;���������� N8������0���8����������� !�� 7 �������ก ; �<��;���ก ��� � �3 �� �����0��8��� ; �<��!��8����R� 3; N�Aa���<������������N8�����ก;���38�;��กก!� 675,000 ���������� 9�<���<����������9���ก�� A���ก��ก��ก���A�������<�N�กX�ก� ��� � �3 �� ������9� �ก������������N������ �<���< ��!������091�����;��8����ก������ ก !��ก��N�8�� ก�a� �� ����9�� 5.1

������ 5.1 �2�� ��9� �����������N� ��;

��������0 / ���������� Simple Spam SMS

Anti SMS Bomber

Black list

Black list Free

Anti Spam SMS

SMS Filter

Anti SMS Spam

1. ��q��A�����.<1�ก�� 2. ��� ก;X2��� A����� 3. ;�กA�������<�9��!�� 4. ��q����A8�� 9����!�X���ก 5. ก����1��r��� 6. ����/�� ��A8�� ��ก

�� ก�����R���

7. ��;�/���� 2��� A�������<�

8. ��;��� ก����A8�� 9����R��

���#: Google Play Sore [online] : �A��0/� 5 ก.�. 2555. ��ก https://play.google.com/store

DPU

53

5.5 ��ก������

5.5.1 �Y;A���X�9;�����Y;39�:��9� 91�ก��9;���3; N�����X��� ��� ./�������0ก1�8�;�� ����������Y;39�:��9���������09;���ก���!�A�������<��;�;� 3; N���Y;A���X�9;��� �1��� 107 �� ���� �� ����9�� 5.2

������ 5.2 �Y;A���X�9;���9���;����9/ก������Y;39�:��9�

������ก������ �������������� ������

�����ก��� �� !"#$�#�����ก�� 7

��� ���&��' 4-9 ��ก 8

�����ก�� ��,� !"# ����� �� 18

�� ����$� 74

107

5.5.2 �Y;A���X�9;���9����!��� X!N���Y;39�:��9� 91�ก��9;���3; ก�����Y �Y;A���X�

�� !�� 9�������8��ก8�� A����;A���X��1��� 103 �� !�� �� ����9�� 5.3

������ 5.3 �Y;A���X�9����!�;����9/ก����Y;39�:��9�

��;��A8�� �1������<�9��N���!� �1������<�9��ก����;� ��A8�� ��:w 3 8��ก 5 5 ��A8�� ��:w 4 8��ก 12 12 ��A8�� ��:w 5 8��ก 12 12 ��A8�� ��:w 6 8��ก 15 15 ��A8�� ��:w 9 8��ก 20 20 ��A8�� 39�:��9�9���2 10 8��ก 12 12 ��A8�� !��2���9: ��กก!� 10 8��ก 18 18 ��A8�� ��ก����;3� �9R� 9 9 103 103

DPU

54

����� 6

����ก����ก���������� 4 �����ก��� ก��������� 6.1 ����ก����ก����������

��กก�����������������������ก��ก��� �����!��"�#�$������%��&'���('��������%$������� ��!)*��!��$������%��"� ������������!��+ก��� �����!��"� ��,!��� �('-!.!(��).*��!��$������%-����.���!#)�/% $��-���0�ก��������"�ก�#$���ก�!�0��� (Emulator) ��$������%��&'���('���� ; '���!��+ก��� �����!�('+)ก�.�!���ก� ,!��-��,���)��## ��.� � ,!��$������% 10 ,�ก��'�-� � ,!���('!(���&'��,!��#�ก (+) �0�,��� � ,!������� 4 ?�� ,�&� 5 ?�� � ,!����ก?.�������� � ,!���('!�กก�.� 10 ,�ก � ,!���('-!.#��� ก����&'� � ,!���('#��� ก�&'���� ,!��$������%!�กก�.� 1 � ,!�� � ,!���('#��� ก�&'���@���ก ������� ��� ,!���('!(ก��������@��&'����� ,!��กA��!��+ก���-�� 100% 6.2 ����� �� ����!� �����" � �#$

6.2.1 ��กก���������������� ��!��+ก��� �����!-�� �?.��@�ก��� � �����!��"���กก.�� �����!� �� (Inbox) #����&'��$������% ���� �� ��-�# �����!��"���"���ก��กก.�� �����!� �� ��"��("��@�������&'��!���ก��##��������% -!.���J�?*,�� (�� �����!��"��#�����������$��?��

6.2.2 �����������("�0�ก��ก�����ก� ,!�� �('-!.!(��).*��!��$������% �0�*,�*�#��ก�/( ������ก�����(�,�&��ก���#-�� ��.����.� �����!��"�ก�������?&����.����*,� ,�&������?&���!&'��ก���,?�K����#�?� ; '� �����!�,.��("-��+)ก�.���ก� ,!���('-!.!(ก��#��� ก-��*��!��$������% �0�*,��)�*�������-!.���# ��!)�,.��(" ; '�#��� ก-��#�����������

DPU

55

�������ก��

DPU

56

�������ก��

���� �

�������

��ก��� �� ����, ��� ������� �������. (2554). Basic Android App Development. ���� �!: #�

$!%!&.

'�(�� �)!�, ���'����� ). (2554). ������� Android App [The Android Developer8s Cookbook]

(#��>�� �?��$ @ABCCD�) , E>F�A����'�!�'�!�) ก� �'��&: ��> $ � )�� G��'�F���

����� (!'$!. ()F�H���� (�� AI G.�. 2010).

��F�('� � L�M�? � )�. (2555). ������� !"#$�% Android &'()�*+,����-.�/�#. ก� �'��&: A�? ��N�.

��� O>( � �� @. (2554). ก(�� !"#�1�$ก�����2*%34���5��+#$%6/7��4� Android *8#%�8#9(#. ก� �'��&: �PD��กQRก���(�����S�D����Dก�� GG� (LD? �D��'�G��!(LD�G�

��ก��������ก ����ก��

����ก�� My Computer Law ก���������������� !"!#�$%�%&. (2554). ���������...���

��� ����ก�� �����ก���� �� �����ก�������. -.!�/&��.0� 16 ก"&���& 2554, 4�ก

http://mycomputerlaw.in.th/2011/07/spam-sms-opt-in-opt-out/

%"��@A� ����!@��. (2554). ��ก � ������ ����ก����ก�� android &'� ��(����) �*��. -.!�/&��.0� 17

ก"&���& 2554, 4�ก http://androidthai.in.th/

!��C"D -�����&�DEE��4&F��G&�� 4H�ก"I. (2554). ������+,�ก����-���.�+ก���ก�-/01� SMS

Spam ���ก61�����+&����. -.!�/&��.0� 16 ก"&���& 2554, 4�ก http://www.

siamintelligence.com/sms-spam-research-project/

-@LM -@I#�$�-��N. (2554). Android Development. -.!�/&��.0� 23 �ก���� 2555, 4�ก https://

bitbucket.org/ssutee

MyComsci.com. (2554). Android SQLite: ก����+�*ก����@��+ SQLite ��ก��'*�����@����('�

�+ ListView. -.!�/&��.0� 3 �@E��� 2554, 4�ก http://www.mycomsci.com/?Mod=

view&aid=126

DPU

57

������ก��

BOOK

Reto Meier. (2009). Professional Android Application Development, Indiana: Wiley

Publishing, Inc.,

ELECTRONIC SOURCES

Airplanez, (2011). AntiSpamSMS Apps. Retrieved February 6, 2012, from

https://play.google.com/store/apps/details?id=net.airplanez.antispamsms&feature=se

arch_result#?t=W251bGwsMSwxLDEsIm5ldC5haXJwbGFuZXouYW50aXNwYW

1zbXMiXQ..

Android developer. (2009). Manifest permission. Retrieved October 15, 2011, from

http://developer.android.com/reference/android/Manifest.permission.html

Anttek company. (2011). Blacklist Apps. Retrieved February 5, 2012, from

https://play.google.com/store/apps/details?id=org.baole.app.blacklist&feature=search

_result#?t=W251bGwsMSwxLDEsIm9yZy5iYW9sZS5hcHAuYmxhY2tsaXN0Il0.

Droid Mate, (2011). Anti SMS Spam & Text Filter Apps. Retrieved February 6, 2012, from

https://play.google.com/store/apps/details?id=org.baole.app.antismsspam&feature=se

arch_result#?t=W251bGwsMSwxLDEsIm9yZy5iYW9sZS5hcHAuYW50aXNtc3N

wYW0iXQ..

Marakana company. (2012). Architecting Android Apps. Retrieved March 3, 2012, from

http://marakana.com/s/architecting_android_apps,1178/index.html

Ming software, (2011). Blacklist free Apps. Retrieved February 6, 2012, from

https://play.google.com/store/apps/details?id=vc.software.blacklist&feature=more_fr

om_developer#?t=W251bGwsMSwxLDEwMiwidmMuc29mdHdhcmUuYmxhY2tsa

XN0Il0.

Nielsen company. (2012). Operating System Share-All Smartphone Consumers vs.Recent

SmartphoneAcquirers (3Mo). Retrieved February 4, 2012, from

DPU

58

http://blog.nielsen.com/nielsenwire/consumer/more-us-consumers-choosing-

smartphones-as-apple-closes-the-gap-on-android/

Sabastien provost. (2011). Anti SMS Bomber Apps. Retrieved February 5, 2012, from

https://play.google.com/store/apps/details?id=com.anti.sms.pro&feature=search_resu

lt#?t=W251bGwsMSwxLDEsImNvbS5hbnRpLnNtcy5wcm8iXQ..

Tsvetan Nachev, (2011). SMS Filter Apps. Retrieved February 6, 2012, from

https://play.google.com/store/apps/details?id=com.nachev.apps.smsfilter&feature=se

arch_result#?t=W251bGwsMSwxLDEsImNvbS5uYWNoZXYuYXBwcy5zbXNma

Wx0ZXIiXQ..

DPU

59

������ก

DPU

60

������ก ก

��� ������������ ���� ����������� �!�"

DPU

61

������#� ก.1 ���� ��������������� ����� ������ �!"�#��$�% ลําดับ ช่ือ เบอรโทร

1 1111

2 0801111111

3 0882222222

4 0803333333

5 0804444444

0873333333

0873334444

0873335555

0873336666

0873337777

0873338888

0873339999

8 CAT Contact Center 1322

9 DTAC call center 1678

10 Qwerty 50069

11 Qwerty6 112233

12 Qwerty7 4802777

13 Qwerty8 08642010

14 Klom Kub Kum Rok 025903333

15 my Contact Center 024012222

16 Mr.wit 0864201035

17 Mr.Test1 0819999999

18 Mr.Test2 0820000000

19 Mr.Test3 0820000001

20 Mr.Test4 0820000002

21 Mr.Test5 0820000003

22 Mr.Test6 0820000004

23 Mr.Test7 0820000005

24 Mr.Test8 0820000006

25 Mr.Test9 0820000007

26 Mr.Test10 0820000008

27 Miss.Test2 0865555555

28 Miss.Test3 0865555556

29 Miss.Test4 0865555557

30 Miss.Test5 0865555558

31 Miss.Test6 0865555559

32 Miss.Test7 0865555560

33 Miss.Test8 0865555561

34 Miss.Test9 0865555562

6

7

ลําดับ ช่ือ เบอรโทร

35 Miss.Test10 0865555563

36 Miss.Test11 0865555564

37 Miss.Test12 0865555565

38 Miss.Test13 0865555566

39 Miss.Test14 0865555567

40 นายทดสอบ1 0882951628

41 นายทดสอบ2 0882951629

42 นายทดสอบ3 0882951630

43 นายทดสอบ4 0882951631

44 นายทดสอบ5 0882951632

45 นายทดสอบ6 0882951633

46 นายทดสอบนามสกุล7 0882951634

47 ##นายทดสอบ8 0882951635

48 _@_นายทดสอบ9 0882951636

49 นายทดสอบ10 0882951637

50 นายทดสอบ11 0882951638

51 นายทดสอบ12 0882951639

52 นายทดสอบ13 0882951640

53 นายทดสอบ14 0882951641

54 นายทดสอบ15 0882951642

55 นายทดสอบ16 0882951643

56 นายทดสอบ17 0882951644

57 นายทดสอบ18 0882951645

58 นายทดสอบ19 0882951646

59 นายทดสอบ20 0882951647

60 Khun android 1 0894567890

61 Khun android 2 0894567891

62 Khun android 3 0894567892

63 Khun android 4 0894567893

64 Khun android 5 0894567894

65 Khun android 6 0894567895

66 Khun android 7 0894567896

67 Khun android 8 0894567897

68 Khun android 9 0894567898

69 Khun android 10 0894567899

70 Khun android 11 0894567900

71 Khun android 12 0894567901

72 Khun android 13 0894567902

73 Khun android 14 0894567903

DPU

62

ลําดับ ช่ือ เบอรโทร

0864444444

0864445555

0864446666

0864447777

0864448888

0864449999

Mix2106

Mix3107

������#� ก.1 ("$�) ���� ��������������� ����� ������ �!"�#��$�% ลําดับ ช่ือ เบอรโทร

74 Khun android 15 0894567904

75 Khun android 16 0894567905

76 Khun android 17 0894567906

77 Khun android 18 0894567907

78 Khun android 19 0894567908

79 Khun android 20 0894567909

80 Khun android 21 0894567910

81 Khun android 22 0894567911

82 Khun android 23 0894567912

83 Khun android 24 0894567913

84 Khun android 25 0894567914

85 Khun android 26 0894567915

86 Khun android 27 0894567916

87 Khun android 28 0894567917

88 Khun android 29 0894567918

89 Khun android 30 0894567919

90 mobile 0845557788

91 mobile2 0845557789

92 mobile3 0845557790

93 work1 0845557791

94 work2 0845557792

95 work3 0845557793

96 other1 0845557794

97 other2 0845557795

98 other3 0845557796

0845557797

0845557798

0845557799

0845557800

0845557801

0845557802

0845557803

0845557804

0845557805

0845557806

0845557807

0845557808

0867777777

0867778888

0867779999

Mix1105

Mobile&Work2102

Work&other1103

104 Work&other2

Home&Mobile199

Home&Mobile2100

Mobile&Work1101

DPU

63

������ก �

��ก��ก����&�������'��#�(���#�� ���� )�*������� �!�"

DPU

64

������#� �.1 +�ก��ก��%��-#� ��.��/�0 $ /����������$1�� ������ �! MSG_ID PHONE_NUMBER MESSAGE

1339735146215 5009 Test Sending SMS

1339735505540 2222 Test Sending SMS 4

1339735987827 500699 Test Sending SMS 14

1339736859346 48027778 Test Sending SMS 21

1339750633410 +6680867778888 Test send no have in contact

1339751105831 189 Call center for complaints

1339751141141 189 Call center for complaints 2

1339751148622 189 Call center for complaints 3

1339751203118 189 Call center for complaints 4

1339751208163 189 Call center for complaints 5

1339751265052 1166 The Office of Consumer Protection 1

1339751273259 1166 The Office of Consumer Protection 2

1339751280359 1166 The Office of Consumer Protection 3

1339751286555 1166 The Office of Consumer Protection 4

1339751291957 1166 The Office of Consumer Protection 5

1339751746937 50062 VAS Service of CAT CDMA Service 1

1339751754639 50062 VAS Service of CAT CDMA Service 2

1339751759467 50062 VAS Service of CAT CDMA Service 3

1339751763977 50062 VAS Service of CAT CDMA Service 4

1339751768773 50062 VAS Service of CAT CDMA Service 5

1339751859246 025137070 Department of Export Promotion Center 1

1339751990091 025137070 Department of Export Promotion Center 2

1339751995583 025137070 Department of Export Promotion Center 3

1339752000824 025137070 Department of Export Promotion Center 4

1339752007285 025137070 Department of Export Promotion Center 5

1339752143349 0816678899 Sent from the subscriber. That is not listed in the phone book 1

1339752150120 0816678899 Sent from the subscriber. That is not listed in the phone book 2

1339752156061 0816678899 Sent from the subscriber. That is not listed in the phone book 3

1339752162265 0816678899 Sent from the subscriber. That is not listed in the phone book 4

1339752167874 0816678899 Sent from the subscriber. That is not listed in the phone book 5

1339752498312 0909990009 Sent from the subscriber. That is not listed in the phone book. And for whom more than 10 digits 1

1339752515808 0909990009 Sent from the subscriber. That is not listed in the phone book. And for whom more than 10 digits 2

1339752521113 0909990009 Sent from the subscriber. That is not listed in the phone book. And for whom more than 10 digits 3

1339752656858 0909990009 Sent from the subscriber. That is not listed in the phone book. And for whom more than 10 digits 4

1339752662681 0909990009 Sent from the subscriber. That is not listed in the phone book. And for whom more than 10 digits 5

1339768963707 +66810160171160171 Sent from the subscriber. That is not listed in the phone book. And for whom more than 10 digits 6

1339768971842 +66810160171160171 Sent from the subscriber. That is not listed in the phone book. And for whom more than 10 digits 7

1339768978097 +66810160171160171 Sent from the subscriber. That is not listed in the phone book. And for whom more than 10 digits 8

1339768984591 +66810160171160171 Sent from the subscriber. That is not listed in the phone book. And for whom more than 10 digits 9

1339768991273 +66810160171160171 Sent from the subscriber. That is not listed in the phone book. And for whom more than 10 digits 10

1339769859342 500000 May the distance betaween us would not change your mind 1

1339769870100 500000 May the distance betaween us would not change your mind 2

1339769877092 500000 May the distance betaween us would not change your mind 3

1339769883711 500000 May the distance betaween us would not change your mind 4

1339769888716 500000 May the distance betaween us would not change your mind 5

1339769897423 500000 May the distance betaween us would not change your mind 6

1339769901768 500000 May the distance betaween us would not change your mind 7

1339769906196 500000 May the distance betaween us would not change your mind 8

1339769914689 500000 May the distance betaween us would not change your mind 9

1339769920131 500000 May the distance betaween us would not change your mind 10

1339770502382 500000 Free! Pure Food dummy call 02-456-2134

1339770525191 500000 Free! Pure Food dummy call 02-456-2135

1339770530878 500000 Free! Pure Food dummy call 02-456-2136

1339770537667 500000 Free! Pure Food dummy call 02-456-2137

1339770769480 +668171234567790 The intensive courses www.pec9.com fresh and Grade 4 - 6 m starting 1 Jun 55

DPU

65

������#� �.1 ("$�) +�ก��ก��%��-#� ��.��/�0 $ /����������$1�� ������ �! MSG_ID PHONE_NUMBER MESSAGE

1339770831212 +6681712876777 Chance to sell the crabs. Round the world just to get my daily press * 298 * 193 # (4 I / day) 022 076 888

1339770850029 022076888 Chance to sell the crabs. Round the world just to get my daily press * 298 * 193 # (4 I / day) 022 076 888

1339770864800 022076888 Chance to sell the crabs. Round the world just to get my daily press * 298 * 193 # (4 I / day) 022 076 888

1339770870752 022076888 Chance to sell the crabs. Round the world just to get my daily press * 298 * 193 # (4 I / day) 022 076 888

1339770875169 022076888 Chance to sell the crabs. Round the world just to get my daily press * 298 * 193 # (4 I / day) 022 076 888

1339770882532 022076888 Chance to sell the crabs. Round the world just to get my daily press * 298 * 193 # (4 I / day) 022 076 888

1339770954309 027302424 Good!! Free for 15 days plus the Most Popular Mono * Please call 45223111110/027302424

1339770962513 027302424 Good!! Free for 15 days plus the Most Popular Mono * Please call 45223111110_027302424

1339770971831 027302424 Good!! Free for 15 days plus the Most Popular Mono * Please call 45223111110/027302424

1339770976432 027302424 Good!! Free for 15 days plus the Most Popular Mono * Please call 45223111110/027302424

1339770979322 027302424 Good!! Free for 15 days plus the Most Popular Mono * Please call 45223111110/027302424

1339770982856 027302424 Good!! Free for 15 days plus the Most Popular Mono * Please call 45223111110/027302424

1339771079961 50100 Send me a voice VoiceSMS free to call 50100 31 Mar 56 (regional)

1339771121328 50100 ReSend me a voice VoiceSMS free to call 50100 31 Mar 56 (regional)

1339771126867 50100 ReSend me a voice VoiceSMS free to call 50100 31 Mar 56 (regional)

1339771130285 50100 ReSend me a voice VoiceSMS free to call 50100 31 Mar 56 (regional)

1339771139564 50100 ReSend me a voice VoiceSMS free to call 50100 31 Mar 56 (regional)

1339771142230 50100 ReSend me a voice VoiceSMS free to call 50100 31 Mar 56 (regional)

1339771196454 028848692 I race to win the gold weight and cross unlimited number of unit names Pinklao 028848692

1339771261868 028848692 I race to win the gold weight and cross unlimited number of unit names Pinklao 028848692

1339771300950 028848692 I race to win the gold weight and cross unlimited number of unit names Pinklao 028848692

1339771391021 +66845475844030303 Free Bag of 350 B show ticket booth TMBMoneyExpo 8-11 Jul 55_ Ready Cash

1339771397971 +66845475844030303 Free Bag of 350 B show ticket booth TMBMoneyExpo 8-11 Jul 55_ Ready Cash

1339771404054 +66845475844030303 Free Bag of 350 B show ticket booth TMBMoneyExpo 8-11 Jul 55_ Ready Cash

1339771407609 +66845475844030303 Free Bag of 350 B show ticket booth TMBMoneyExpo 8-11 Jul 55_ Ready Cash

1339771409746 +66845475844030303 Free Bag of 350 B show ticket booth TMBMoneyExpo 8-11 Jul 55_ Ready Cash

1339771412423 +66845475844030303 Free Bag of 350 B show ticket booth TMBMoneyExpo 8-11 Jul 55_ Ready Cash

1339771416638 +66845475844030303 Free Bag of 350 B show ticket booth TMBMoneyExpo 8-11 Jul 55_ Ready Cash

1339771499310 1900190065 Inside! Precision: What's your time to. Look decide to call 1900190065

1339771503472 1900190065 Inside! Precision: What's your time to. Look decide to call 1900190065

1339771506969 1900190065 Inside! Precision: What's your time to. Look decide to call 1900190065

1339771513617 1900190065 Inside! !Precision: What's your time to. Look decide to call 1900190065

1339771514996 1900190065 Inside! !Precision: What's your time to. Look decide to call 1900190065

1339771519328 1900190065 Inside! !Precision: What's your time to. Look decide to call 1900190065

1339771567855 1375 More than one year 0% interest free transfer of a mortgage: Call 1375

1339771575086 1375 More than one year 0% interest free transfer of a mortgage: Call 1375

1339771579221 1375 More than one year 0% interest free transfer of a mortgage: Call 1375

1339771842703 1900190088 May I have your monthly fortune or paving round the world have the answers, press * 4988 very accurately

1339771867506 1900190088 May I have your monthly fortune or paving round the world have the answers, press * 4988

1339771890285 1900190088 May I have your monthly fortune or paving round the world have the answers, press * 4988

1339771948824 +6678901122334455 I see from CD 100 Rock Uncensored BKK and get ready for signature

1339771960924 +6678901122334455 I see from Rock Uncensored BKK and get ready for signature

1339771986276 +6678901122334455 I see from Rock Uncensored BKK and get ready for signature

1339772146183 1234 Running

1339772163798 1234 Please!!Running

1339772780748 0882951624 qwertyuioplkjhgfdsazxccvbnm

1339772892066 0887773456 DPU Love Love Hero

DPU

66

���������� ��

����-��ก � � ������ ������

��� ����� ���ก�� 24 ก� 2523

��#��$�ก��%ก& �'��()ก��%ก&�#��*�����$�� )ก +#

����ก����$�� �,�������ก���--.

/��������� 0�0���/� �

��ก��%ก& 2546

$'1/�231�#�4�����'3��5)) *�� ����ก��#��* 6

�2��6��$7�+8���$������

9:�;�<�6��$7�+8���������=��

*��&�� ก�� 0�� � )'ก�� (/��)

DPU