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. PVMFFailure when using MediaPlayer for radio streams

I am trying to build streaming radio into my app, which works fines
streaming files over the internet, but when i try to use a shoutcast
url in get the error below, which from the soruce code looks liek the
mediaPlayer is looking for the duration in the header. Does anyone
know if shoutcast urls will work withthe default media player? Or do i
have to download chunks into a ping-pong buffer sor something? The url
has no porblems downloading via the browser.

the error is:-

09-01 11:53:25.634 E/MediaPlayer(16972): stop called in state 1
09-01 11:53:27.324 D/BatteryWidget(15623): Updating Views
09-01 11:53:30.445 E/PlayerDriver(   35): Command PLAYER_INIT
completed with an error or info PVMFFailure
09-01 11:53:30.445 E/MediaPlayer(16972): error (1, -1)
09-01 11:53:30.504 I/NotificationService(   55): enqueueToast
pkg=net.robmunro.mypod callback=android.app.ITransientNotification$Stub
$pr...@4323b8f8 duration=1000
09-01 11:53:30.514 W/System.err(16972): java.io.IOException: Prepare
failed.: status=0x1
09-01 11:53:30.644 W/System.err(16972): at
android.media.MediaPlayer.prepare(Native Method)
09-01 11:53:30.644 W/System.err(16972): at
net.robmunro.mypod.util.MediaPlayerWrapper.playMedia
(MediaPlayerWrapper.java:111)

the code i use is:-
try {
        mPlayer.stop();
        mPlayer.reset();
} catch (Exception e) {
        e.printStackTrace();
}
this.source=source;
if (source.equals(Globals.SOURCE_LOCAL)) {
         mPlayer.setDataSource(f.path);
         buffered = 0;
} else if (source.equals(Globals.SOURCE_STREAM)) {
        mPlayer.setDataSource(f.remoteUrl);
         buffered = 100;
}
mPlayer.prepare();
mPlayer.start();


--~--~---------~--~----~------------~-------~--~----~

2. Android design issue about cts test case "testThreadCpuTimeNanos"?

Hi,
I met a problem on this test case which finally get "current" thread cpu-run
time.
If you know details,please comment here.
thanks
--wang xingchao

--~--~---------~--~----~------------~-------~--~----~

3. How to draw 3D objects on a MapView

4. changing the shape of Button

5. Android activity as overlay over other app

6. How android translate kernel input events to userland input eventsé”›

7. Change backround of the view embedded in the ListView item