Internet Permission crashes my app

by The Savage Killer » Sun, 15 Mar 2009 13:12:37 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 crashes my app

by MrSnowflake » Sun, 15 Mar 2009 19:21:07 GMT


 ave you registered the permission at the correct spot in the
manifest?

On 14 mrt, 09:38, The Savage Killer <thesavage.kil...@gmail.com>
wrote:
--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. intents getting incrementing each time received?

Hi all,

I have started using custom intents in my application and I have come
across a bit of a problem.

When I send a custom intent I register a Broadcast Receiver and I
catch the intent no problem.

However problems seem to appear when I send the intent again, the
Broadcast Reciever seems to register two events of the intent and so
on so if the intent is sent a third time I recieve it 3 times.

This is causing major problems in my application and was wondering is
it normal and there is some way I have to deal with it?

Here is my code:

To Send the Intent:

Intent i = new Intent();
i.setAction(SIP_INCOMING_CALL_CANCEL_INTENT);
sendBroadcast(i);

To receive the Intent:

sipIncomingListener = new BroadcastReceiver(){

@Override
public void onReceive(Context context, Intent intent) {
String action = intent.getAction();

if(CallDialogActivity.SIP_INCOMING_CALL_ANSWER_INTENT.equals(action)){

Log.d("SIPENGINE", "CALL CONNECTED SENT FROM INITINCOMINGLISTENER()");

      }
};
IntentFilter filter = new
IntentFilter(CallDialogActivity.SIP_INCOMING_CALL_CANCEL_INTENT);
registerReceiver(sipIncomingListener, filter);

Is there anyway to make sure the Intent is only fired once??

-- 

2. data cepet abis di jakart

Kebiasaan di Bali yang 3Gnya ga stabil jadi saya cuman pake Edge aja,
speednya sesabarnya. Begitu landing di jakarta wiken kemaren, langsung set
3G idup terus dan memang kuenceng banget. Tapi ya konsekuensinya paket data
internet prabayar IM3 yang mingguan abis dalam 2 hari doang.

Nanya dong, sama Jakartans, berarti pada pake yang bulanan 2 gitu yah?

http://www.indosat.com/IM3

-- 
I design kickass websites - http://priapurnama.me/

-- 
"Indonesian Android Community [id-android]" 

3. Segmentation fault while running a sample application which is dynamically linked to Android OpenGL libraries

4. Why is English the only Locale my Phone has in Settings

5. after referring the group锛宼ouch screen can only respond at top bar

6. Koprol apps for Android

7. Kalo Goole Earth Di HTC Magic Jalan ga yah? saya make Eclair 2.1...