Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

0 comments on commit aa46377

Please sign in to comment.
Something went wrong with that request. Please try again.