Space character in URI

by Beta Mike » Tue, 20 May 2008 21:27:25 GMT

Sponsored Links
 I need to incorporate a space character in a URI but android
automagicaly converts spaces into URL encoding (i.e. %20).  how can I
prevent this or encode  a link to the URI so that it is converted into
' ' not '%20'?

i want - content://my app
don't want - content://my%20app

i know this sounds absurd but I need it to work this way.

any thoughts?

Space character in URI

by [EMAIL PROTECTED] » Wed, 21 May 2008 11:56:54 GMT

 a uri may never contain space characters... has nothing to do with
android but you should be thankful android do check for it.

.mattias rost


Sponsored Links

Other Threads

1. How to start a background service on install

I have an app which runs as a background service only. I'l like it to
start up when its installed.
As its just a background service it doesnt show up on the pane of
installed apps. So there is no way for the user to manually start it.
I've already regietered for the BOOT_COMPLETED intent which works but
I dont want the user to have to power off the phone after the app has
been installed, just so as they can start it.

I've looked at the following intents: ACTION_PACKAGE_ADDED/CHANGED/
but it doesnt seem that you can register to listen for them from my

Any idea how I can start my background service without a power off/on?


2. How to use system () call

Hi All
(I am working for an OEM so I have access to full source code)

I have written a daemon and included in the rom (\system\bin
\mydaemon)  I also created another lib and JNI interface (Which I will
call from Android connection Manager)

Now when I get a call from JAVA (through jni) I wanted to start my
I am doing the following  but not working
r= system ("(\system\bin\mydaemon")

Also I tried it using  script, I created /system/etc/ and done
chmod 0777 in init.rc still it is not working

Please help


3. Keyboard log for reference

4. how to fill the irregular shape with the red color?

5. Sms that Allow Permission

6. develop mp3 player on android platform

7. Distributing free licenses to paid apps