Characters problem in Bit.ly
- by Fevos
Hello,
When i try to shorten a link with "#,&" Character i got an exception.
is there a way to handle them .
this is a sample of code that works
String shortUrl = bitly.getShortUrl("http://z"); //Works
but if i add for example '&' or '%25' to the string it will produce exption :
- String shortUrl = bitly.getShortUrl("http://z%26"); // Exception
- String shortUrl = bitly.getShortUrl("http://z&"); // Exception
the getShortUrl function form this Java class:
http://github.com/finnjohnsen/BitlyAndroid/raw/master/src/com/finnjohnsen/bitlyandroid/test/BitlyAndroid.java
Thanks