Internet permission crash

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


Sponsored Links
 hen i add internet permissions to my manifest file my
application refuses to even start and i get this in my console:

[2009-03-13 20:06:17 - Funny RSS] ActivityManager: Starting: Intent
{ comp={dev.funnyrss/dev.funnyrss.FRSS} }
[2009-03-13 20:06:17 - Funny RSS] ActivityManager: [1]
Killed am start -D -n d...

Can someone please help me fix this? heres my logcat, thanks.

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
ADB
03-13 18:06:00.712: DEBUG/PackageParser(52): Scanning package: /data/
app/vmdl24071.tmp
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/
d...@app@vmdl24071....@classes.dex
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
down
03-13 18:06:00.922: DEBUG/dalvikvm(662): HeapWorker thread has shut
down
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
ADB
03-13 18:06:02.842: DEBUG/PackageParser(52): Scanning package: /data/
app/vmdl24072.tmp
03-13 18:06:02.992: DEBUG/PackageManager(52): Removing package
dev.funnyrss
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
dev.funnyrss
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/
d...@app@dev.funnyrss....@classes.dex
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-1



Internet permission crash

by Brad Gies » Sun, 15 Mar 2009 18:58:09 GMT


 hat happens when you start it manually? Generally, it just means that
Eclipse can't start it, so just click on your app in the emulator/phone
after Eclipse after Eclipse has installed it and killed it.




Sincerely,

Brad Gies


-----------------------------------------------------------------
Brad Gies
27415 Greenfield Rd, # 2,
Southfield, MI, USA
48076
www.bgies.com www.truckerphone.com
www.EDI-Easy.com www.pricebunny.com
-----------------------------------------------------------------

Moderation in everything, including abstinence
-----Original Message-----
From: android-beginners@googlegroups.com
[mailto:android-beginn...@googlegroups.com] On Behalf Of The Savage Killer
Sent: Saturday, March 14, 2009 4:33 AM
To: Android Beginners
Subject: [android-beginners] Internet permission crash


When i add internet permissions to my manifest file my
application refuses to even start and i get this in my console:

[2009-03-13 20:06:17 - Funny RSS] ActivityManager: Starting: Intent
{ comp={dev.funnyrss/dev.funnyrss.FRSS} }
[2009-03-13 20:06:17 - Funny RSS] ActivityManager: [1]
Killed am start -D -n d...

Can someone please help me fix this? heres my logcat, thanks.

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
ADB
03-13 18:06:00.712: DEBUG/PackageParser(52): Scanning package: /data/
app/vmdl24071.tmp
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/
d...@app@vmdl24071....@classes.dex
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
down
03-13 18:06:00.922: DEBUG/dalvikvm(662): HeapWorker thread has shut
down
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
ADB
03-13 18:06:02.842: DEBUG/PackageParser(52): Scanning package: /data/
app/vmdl24072.tmp
03-13 18:06:02.992: DEBUG/PackageManager(52): Removing package
dev.funnyrss
03-13 18:06:02.992: DEBUG/PackageManager(52): Activities:
dev.funnyrss.FRSS dev.funnyrss.FRSS2
03-13 18:06:03.002: DEBUG/Package


Sponsored Links


Other Threads

1. suspend/resume issues still unsolved

I've returned to looking at the resume issue with our current
Android port (generic build of 2.3.2, with a 2.6.37 android
kernel with support added for our board).

The problem is, as previously stated that the system immediately
shuts itself back down when you hit a resume source. We have fixed
this by adding a patch to the resume path to do the following:

--- a/kernel/power/suspend.c
+++ b/kernel/power/suspend.c
@@ -248,6 +248,9 @@ int suspend_devices_and_enter(suspend_state_t state)
  */
 static void suspend_finish(void)
 {
+#ifdef CONFIG_EARLYSUSPEND
+       request_suspend_state(PM_SUSPEND_ON);
+#endif
        suspend_thaw_processes();
        usermodehelper_enable();
        pm_notifier_call_chain(PM_POST_SUSPEND);

To ensure that the main android power driver does not decide that it
needs to suspend again, and re-run the suspend process.

I've checked through the android source tree, and it seems the only
two places where /sys/power/state is referenced is in the powerd sources
(system/core/toolbox/powerd.c) and the init.rc.

The powerd source does not seem to be built into the toolbox, and 
there's no mention in my build. Is this some form of problem known

to the "generic" build?

I've tried changing one of my resume buttons to send the POWER key
to see if this is required, but it does not make any difference to
the result.

The init.rc script has a service statement which should also make
sure that the power state is set, but it does not seem to be executed.

service zygote /system/bin/app_process -Xzygote /system/bin --zygote --start-system-server socket zygote stream 666 onrestart write /sys/android_power/request_state wake onrestart write /sys/power/state on onrestart restart media onrestart restart netd
See:

2. customlistview not getting click events when there is only one item in list?

hi,


this code works fine with 1.6 and 2.2  but doesnt work with 2.1 update
when there is only one element in list.
lvTrackData.setOnItemClickListener(new OnItemClickListener()
                {
                        @SuppressWarnings("static-access")
                        public void onItemClick(AdapterView<?> arg0, View v, int
position,long id)
                        {}
             }

is there a bug for 2.2 update?


regards,
hitendrasinh gohil

-- 

3. Not finding proxy and port values in the settings.db (Gingerbread)

4. Eclipse/ADT not rebuilding correctly

5. Tweaking android for fast boot up

6. Export contact to vCard

7. what these logs specify