Open GoogleCodeExporter opened 9 years ago
I'm having this issue to, seems like there is something wrong with either
placing or reading something from the cache. Changing the cache from a file
system cache to a memory based cache doesn't seem to matter.
Original comment by jethroborsje
on 25 Apr 2013 at 9:00
on Android i fixed this problem with
Caller.getInstance().setCache(null);
Caller.getInstance().setUserAgent("tst");
Original comment by Z4H...@gmail.com
on 25 Apr 2013 at 9:06
I'm using Android as well and tried the solution of comment #2. Setting the
cache to null was enough to get rid of the CallException. The
setUserAgent("tst") call didn't seem to be needed.
Original comment by jethroborsje
on 25 Apr 2013 at 9:25
Thanks for that.
Will give it a go.
Original comment by danwms1...@gmail.com
on 26 Apr 2013 at 4:09
You are getting this exception because you are using this code that is not made
for android.
Today I will make a patch if possible
Original comment by stermi
on 7 May 2013 at 11:03
Would be great, because this is a great library for android.
Original comment by jethroborsje
on 7 May 2013 at 11:08
I agree, this would be great if it could be optimised for Android.
Original comment by danwms1...@gmail.com
on 7 May 2013 at 11:11
On Android use Caller.setCache(new FileSystemCache(new
File(Environment.getExternalStorageDirectory() + "/.lastfm")));
Or any other directory you want to use for the cache
Original comment by bolge...@gmail.com
on 27 Mar 2014 at 2:59
The problem is that the default filecache wants to place the files in the
homefolder. To use the android internal storage for the cache use this in an
activity:
Caller.getInstance().setCache(new FileSystemCache(new
File(getCacheDir().getAbsolutePath())));
Original comment by svensktd...@gmail.com
on 28 Jul 2014 at 3:57
Original issue reported on code.google.com by
braatb...@gmail.com
on 21 Dec 2012 at 11:13