Internet permission won't let application start

by The Savage Killer » Sun, 15 Mar 2009 13:13:23 GMT

Sponsored Links
 asically when i add internet permissions to my manifest file my
application refuses to even start.

03-13 18:05:59.262: DEBUG/AndroidRuntime(662): >>>>>>>>>>>>>>
AndroidRuntime START <<<<<<<<<<<<<<
03-13 18:05:59.262: DEBUG/AndroidRuntime(662): CheckJNI is ON
03-13 18:05:59.493: DEBUG/AndroidRuntime(662): --- registering native
functions ---
03-13 18:05:59.503: INFO/jdwp(662): received file descriptor 19 from
03-13 18:06:00.712: DEBUG/PackageParser(52): Scanning package: /data/
03-13 18:06:00.862: WARN/PackageManager(52): Attempt to re-install
dev.funnyrss without first uninstalling.
03-13 18:06:00.862: INFO/installd(27): unlink /data/dalvik-cache/
03-13 18:06:00.902: DEBUG/AndroidRuntime(662): Shutting down VM
03-13 18:06:00.902: DEBUG/dalvikvm(662): DestroyJavaVM waiting for non-
daemon threads to exit
03-13 18:06:00.913: INFO/dalvikvm(662): DestroyJavaVM shutting VM down
03-13 18:06:00.922: DEBUG/dalvikvm(662): HeapWorker thread shutting
03-13 18:06:00.922: DEBUG/dalvikvm(662): HeapWorker thread has shut
03-13 18:06:00.922: DEBUG/jdwp(662): JDWP shutting down net...
03-13 18:06:00.932: DEBUG/jdwp(662): +++ peer disconnected
03-13 18:06:00.932: INFO/dalvikvm(662): Debugger has detached; object
registry had 1 entries
03-13 18:06:00.952: DEBUG/dalvikvm(662): VM cleaning up
03-13 18:06:00.972: DEBUG/dalvikvm(662): LinearAlloc 0x0 used 529708
of 4194304 (12%)
03-13 18:06:01.252: DEBUG/dalvikvm(52): GC freed 5687 objects / 344760
bytes in 363ms
03-13 18:06:01.423: DEBUG/AndroidRuntime(670): >>>>>>>>>>>>>>
AndroidRuntime START <<<<<<<<<<<<<<
03-13 18:06:01.423: DEBUG/AndroidRuntime(670): CheckJNI is ON
03-13 18:06:01.653: DEBUG/AndroidRuntime(670): --- registering native
functions ---
03-13 18:06:01.672: INFO/jdwp(670): received file descriptor 19 from
03-13 18:06:02.842: DEBUG/PackageParser(52): Scanning package: /data/
03-13 18:06:02.992: DEBUG/PackageManager(52): Removing package
03-13 18:06:02.992: DEBUG/PackageManager(52): Activities:
dev.funnyrss.FRSS dev.funnyrss.FRSS2
03-13 18:06:03.002: DEBUG/PackageManager(52): Scanning package
03-13 18:06:03.012: INFO/PackageManager(52): /data/app/vmdl24072.tmp
changed; unpacking
03-13 18:06:03.022: DEBUG/installd(27): DexInv: --- BEGIN '/data/app/
vmdl24072.tmp' ---
03-13 18:06:03.252: DEBUG/dalvikvm(676): DexOpt: load 41ms, verify
39ms, opt 1ms
03-13 18:06:03.262: DEBUG/installd(27): DexInv: --- END '/data/app/
vmdl24072.tmp' (success) ---
03-13 18:06:03.272: DEBUG/PackageManager(52): Activities:
dev.funnyrss.FRSS dev.funnyrss.FRSS2
03-13 18:06:03.442: INFO/installd(27): move /data/dalvik-cache/
d...@app@vmdl24072....@classes.dex -> /data/dalvik-cache/
03-13 18:06:03.453: DEBUG/PackageManager(52): New package installed
in /data/app/dev.funnyrss.apk
03-13 18:06:03.672: DEBUG/AndroidRuntime(670): Shutting down VM
03-13 18:06:03.672: DEBUG/dalvikvm(670): DestroyJavaVM waiting for non-
daemon threads to exit
03-13 18:06:03.683: DEBUG/ActivityManager(52): Uninstalling process
03-13 18:06:03.692: INFO/dalvikvm(670): DestroyJavaVM shutting VM down
03-13 18:06:03.692: DEBUG/dalvikvm(670): HeapWorker

Other Threads

1. Android 1.5 upgrade

I am new to the android OS with my HTC Eris phone on the Verizon
network. My understanding is that Android 2.0 offers some improvements
such as turn by turn navigation for google maps. I have heard that
there may be an update for 1.5 to the 2.0 OS. Is there any truth to
this and if so any projected date?


2. Communication between AppWidgetProvider and Configuration Activity

I have a widget whose appearance will depend on information gained
from the user in the configuration activity. However, I'm uncertain
how (and in what section of code) to act on the information gained
from the user in the config.

Here is the target functionality from the user's perspective:

   When the user creates the widget, the config activity prompts for a
string (with an EditText). The user types it in and presses the submit
button. The config activity goes away and the widget appears on the
homescreen displaying the text the user entered. When the user touches
the widget, the browser is opened and goes to a particular URL that is
determined in part by the string the user entered.

Here is what I have implemented so far:

The config activity lets the user enter data and happily displays it
to me as a Toast message. Then the config goes away as desired and the
widget appears with the default widget icon. If you touch the widget,
it goes to a hardcoded URL. (code below)

My question:

How do I "connect" the info from the config activity with the code
that displays the widget itself? If I put the user's string in a
putExtra of the intent sent in setResult(), where do I write the code
to retrieve that extra? It seems like it ought to put it somewhere in
the AppWidgetProvider code, but where? (Or is there a better way to do

Here are the relevant portions of my code:

public class Widget extends AppWidgetProvider
    public void onReceive(Context context, Intent intent)
        String action = intent.getAction();
        if (AppWidgetManager.ACTION_APPWIDGET_UPDATE.equals(action))
                //Toast.makeText(context, "onReceive()",
            RemoteViews views = new RemoteViews(context.getPackageName
(), R.layout.widget);

            Intent i = new Intent(Intent.ACTION_VIEW, Uri.parse
            i.setComponent(new ComponentName("",
            PendingIntent pendingIntent = PendingIntent.getActivity
(context, 0, i, 0);
            views.setOnClickPendingIntent(, pendingIntent);

// end of

public class WidgetConfiguration extends Activity {

    EditText myEditText;

        public void onCreate(Bundle icicle) {

        Intent intent = new Intent();
        intent = getIntent();
        Bundle extras = intent.getExtras();
        int appWidgetId = extras.getInt

        // Set the view layout resource to use.

        // Find the EditText
        myEditText = (EditText)findViewById(;

            View.OnClickListener mOnClickListener = new View.OnClickListener
() {
                public void onClick(View v) {

                        Intent intent = new Intent();
                        intent = getIntent();
                        setResult(RESULT_OK, intent);
                        Toast.makeText(getBaseContext(), myEditText.getText(),

        // Bind the action for the submit button.

        // If they gave us an intent without the widget id, just bail.
        if (appWidgetId == AppWidgetManager.INVALID_APPWIDGET_ID) {
//end of


3. Querying Media Artists, coming up 1 short

4. Task List

5. Installing APK from Internet?

6. Bersama si "Buram"

7. (Wta) push email di hero