missing files for package renam...

Its too late to code....!
This commit is contained in:
Mathieu Maret 2010-12-12 03:06:07 +01:00
parent 15b84aab16
commit f51212fa08
10 changed files with 11 additions and 16 deletions

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.openwide.android" android:versionName="1.1.5" android:versionCode="9"> package="com.hectorone.multismssender" android:versionName="1.1" android:versionCode="1">
<application android:label="@string/app_name" android:icon="@drawable/multisms"> <application android:label="@string/app_name" android:icon="@drawable/multisms">
<activity android:name=".MultiSmsSender" android:label="@string/app_name"> <activity android:name=".MultiSmsSender" android:label="@string/app_name">
<intent-filter> <intent-filter>
@ -15,11 +15,11 @@
<activity android:name="ListEntryActivity"></activity> <activity android:name="ListEntryActivity"></activity>
<receiver android:name=".MessageReceiver" android:enabled="true" > <receiver android:name=".MessageReceiver" android:enabled="true" >
<intent-filter> <intent-filter>
<action android:name="com.openwide.android.SMS_RECEIVED"/> <action android:name="com.hectorone.multismssender.SMS_RECEIVED"/>
<data android:mimeType="com.openwide.android.item/entry"/> <data android:mimeType="com.hectorone.multismssender.item/entry"/>
</intent-filter> </intent-filter>
</receiver> </receiver>
<provider android:authorities="com.openwide.android" android:name="EntryContentProvider"></provider> <provider android:authorities="com.hectorone.multismssender" android:name="EntryContentProvider"></provider>
</application> </application>
<uses-sdk android:minSdkVersion="5" /> <uses-sdk android:minSdkVersion="5" />
<uses-permission android:name="android.permission.READ_CONTACTS"></uses-permission> <uses-permission android:name="android.permission.READ_CONTACTS"></uses-permission>

View File

@ -8,4 +8,4 @@
# project structure. # project structure.
# Project target. # Project target.
target=android-3 target=android-7

View File

@ -16,7 +16,7 @@ import android.net.Uri;
* *
*/ */
public class EntryContentProvider extends ContentProvider{ public class EntryContentProvider extends ContentProvider{
public static final String PROVIDER_NAME="com.openwide.android"; public static final String PROVIDER_NAME="com.hectorone.multismssender";
public static final Uri CONTENT_URI = public static final Uri CONTENT_URI =
Uri.parse("content://"+PROVIDER_NAME+ "/entries"); Uri.parse("content://"+PROVIDER_NAME+ "/entries");
@ -43,9 +43,9 @@ public class EntryContentProvider extends ContentProvider{
public String getType(Uri uri) { public String getType(Uri uri) {
switch (uriMatcher.match(uri)){ switch (uriMatcher.match(uri)){
case ENTRIES: case ENTRIES:
return "com.openwide.android.dir/entry "; return "com.hectorone.multismssender.dir/entry ";
case ENTRY_ID: case ENTRY_ID:
return "com.openwide.android.item/entry "; return "com.hectorone.multismssender.item/entry ";
default: default:
throw new IllegalArgumentException("Unsupported URI: " + uri); throw new IllegalArgumentException("Unsupported URI: " + uri);
} }

View File

@ -2,7 +2,6 @@ package com.hectorone.multismssender;
import java.util.HashSet; import java.util.HashSet;
import com.openwide.android.R;
import android.app.ListActivity; import android.app.ListActivity;
import android.content.Context; import android.content.Context;

View File

@ -1,6 +1,5 @@
package com.hectorone.multismssender; package com.hectorone.multismssender;
import com.openwide.android.R;
import android.app.ListActivity; import android.app.ListActivity;
import android.content.Context; import android.content.Context;

View File

@ -7,7 +7,7 @@ import android.net.Uri;
import android.util.Log; import android.util.Log;
public class MessageReceiver extends BroadcastReceiver{ public class MessageReceiver extends BroadcastReceiver{
public static final String MESSAGE_RECEIVED = "com.openwide.android.SMS_RECEIVED"; public static final String MESSAGE_RECEIVED = "com.hectorone.multismssender.SMS_RECEIVED";
public static final String ANDROID_MESSAGE_RECEIVED = "android.provider.Telephony.SMS_RECEIVED"; public static final String ANDROID_MESSAGE_RECEIVED = "android.provider.Telephony.SMS_RECEIVED";
public static final String DEBUG_TAG="-------MessageReceiver--------"; public static final String DEBUG_TAG="-------MessageReceiver--------";

View File

@ -5,7 +5,7 @@ import java.util.ArrayList;
import java.util.Date; import java.util.Date;
import java.util.HashSet; import java.util.HashSet;
import com.openwide.android.R;
import android.app.Activity; import android.app.Activity;
import android.app.AlertDialog; import android.app.AlertDialog;
@ -220,7 +220,7 @@ public class MultiSmsSender extends Activity {
public void sendMessage(Handler handler) { public void sendMessage(Handler handler) {
MySMSManager manager = new MySMSManager(); MySMSManager manager = new MySMSManager();
String message = mEditor.getText().toString(); String message = mEditor.getText().toString();
mManyMessageContinue = false; mManyMessageContinue = true;
if("".equals(message)) { if("".equals(message)) {
{ {

View File

@ -2,7 +2,6 @@ package com.hectorone.multismssender;
import java.util.HashSet; import java.util.HashSet;
import com.openwide.android.R;
import android.app.ListActivity; import android.app.ListActivity;
import android.content.Context; import android.content.Context;

View File

@ -1,6 +1,5 @@
package com.hectorone.multismssender; package com.hectorone.multismssender;
import com.openwide.android.R;
import android.app.ListActivity; import android.app.ListActivity;
import android.content.Intent; import android.content.Intent;

View File

@ -2,7 +2,6 @@ package com.hectorone.multismssender;
import com.openwide.android.R;
import android.app.ListActivity; import android.app.ListActivity;
import android.content.Intent; import android.content.Intent;