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"?>
<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">
<activity android:name=".MultiSmsSender" android:label="@string/app_name">
<intent-filter>
@ -15,11 +15,11 @@
<activity android:name="ListEntryActivity"></activity>
<receiver android:name=".MessageReceiver" android:enabled="true" >
<intent-filter>
<action android:name="com.openwide.android.SMS_RECEIVED"/>
<data android:mimeType="com.openwide.android.item/entry"/>
<action android:name="com.hectorone.multismssender.SMS_RECEIVED"/>
<data android:mimeType="com.hectorone.multismssender.item/entry"/>
</intent-filter>
</receiver>
<provider android:authorities="com.openwide.android" android:name="EntryContentProvider"></provider>
<provider android:authorities="com.hectorone.multismssender" android:name="EntryContentProvider"></provider>
</application>
<uses-sdk android:minSdkVersion="5" />
<uses-permission android:name="android.permission.READ_CONTACTS"></uses-permission>

View File

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

View File

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

View File

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

View File

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

View File

@ -7,7 +7,7 @@ import android.net.Uri;
import android.util.Log;
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 DEBUG_TAG="-------MessageReceiver--------";

View File

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

View File

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

View File

@ -1,6 +1,5 @@
package com.hectorone.multismssender;
import com.openwide.android.R;
import android.app.ListActivity;
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.content.Intent;