Browse files

version up. support sk CMS.

remove null point exception.

	modified:   .classpath
	modified:   AndroidManifest.xml
	deleted:    default.properties
	modified:   src/beonit/NaverMoneySync/SmsReceiver.java
  • Loading branch information...
1 parent ebacf22 commit aa463772bd36063b5333fbecb0b2e3326d1beb05 beonit committed Dec 5, 2011
Showing with 8 additions and 15 deletions.
  1. +1 −1 .classpath
  2. +2 −2 AndroidManifest.xml
  3. +0 −11 default.properties
  4. +5 −1 src/beonit/NaverMoneySync/SmsReceiver.java
View
2 .classpath
@@ -3,5 +3,5 @@
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="gen"/>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
- <classpathentry kind="output" path="bin"/>
+ <classpathentry kind="output" path="bin/classes"/>
</classpath>
View
4 AndroidManifest.xml
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="beonit.NaverMoneySync"
- android:versionCode="21"
+ android:versionCode="23"
android:debuggable="true"
- android:versionName="1.3.13" android:installLocation="auto">
+ android:versionName="1.3.15" android:installLocation="auto">
<uses-sdk android:minSdkVersion="8"/>
<uses-permission android:name="android.permission.RECEIVE_SMS"></uses-permission>
<uses-permission android:name="android.permission.INTERNET"></uses-permission>
View
11 default.properties
@@ -1,11 +0,0 @@
-# This file is automatically generated by Android Tools.
-# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
-#
-# This file must be checked in Version Control Systems.
-#
-# To customize properties used by the Ant build system use,
-# "build.properties", and override values to adapt the script to your
-# project structure.
-
-# Project target.
-target=android-8
View
6 src/beonit/NaverMoneySync/SmsReceiver.java
@@ -61,7 +61,8 @@ public void onReceive(Context context, Intent intent) {
for( SmsMessage msg : messages ) {
// 전화번호에서 숫자만 뽑아온다.
numStr = new StringBuffer();
- for( char c : msg.getDisplayOriginatingAddress().toCharArray() )
+ String addr = new String( msg.getDisplayOriginatingAddress() );
+ for( char c : addr.toCharArray() )
if( Character.isDigit(c) )
numStr.append(c);
// 카드문자인지 확인
@@ -172,6 +173,9 @@ private boolean isCardSender(String sender, Context context ) {
nums.add("15882588"); // 기업은행
nums.add("15662566"); // 기업은행
+ nums.add("025158245"); // sk증권 cma
+ nums.add("0318618245"); // sk증권 cma
+
for( String num : nums ){
if( sender.contains(num) ){
// Log.i("beonit", "cell phone num matched");

0 comments on commit aa46377

Please sign in to comment.