Re: [mono-android] jar binding with 4.2 package name issue

2012-06-06 Thread Jens Bjarke Pedersen


Hi thank you for the answer. That was exactly the issue. It is all working now 
as expected:)

Regards

On 06/06/2012, at 19.03, "Jonathan Pryor"  wrote:

> The problem is that you didn't add the .jar as an AndroidJavaLibrary to your 
> Application project:
> 
>http://stackoverflow.com/a/10914223/83444
> 
> - Jon
> 
> On Jun 6, 2012, at 5:54 AM, bjarke wrote:
> 
>> Hey Guys.
>> 
>> I am trying to bind a jar(zubhium sdk jar) file to my mono droid project. I
>> have followed the guide on xamarins website and created a new binding
>> project which I reference I my mono droid project. I am having some issues
>> with package names. I get the following error:
>> 
>> Error   3package com.zubhium.interfaces does not exist
>>  * com.zubhium.interfaces.ZubhiumListener*
>> 
>> C:\Users\jbp\Desktop\ny\CmsApp.Droid\obj\Debug\android\src\mono\com\zubhium\interfaces\ZubhiumListenerImplementor.java
>>  
>> 8   25  CmsApp.Droid
>> 
>> From the genrated source:
>> package mono.com.zubhium.interfaces; 
>> 
>> public class ZubhiumListenerImplementor
>>   extends java.lang.Object
>>   implements
>>   mono.android.IGCUserPeer,
>> *  com.zubhium.interfaces.ZubhiumListener*
>> 
>> The error seems to be caused by the project automaticly adds
>> mono(.com.zubhium) to the package name. I cant find how to remove this
>> mono or if i can set a rule to add this part.
>> 
>> I tried to put > name="managedName">mono.com.zubhium.interfaces in the xmldata.xml
>> file but that did not work.
>> 
>> Do you guys have any sugestions?
>> 
>> Regards
>> 
>> --
>> View this message in context: 
>> http://mono-for-android.1047100.n5.nabble.com/jar-binding-with-4-2-package-name-issue-tp5710171.html
>> Sent from the Mono for Android mailing list archive at Nabble.com.
>> ___
>> Monodroid mailing list
>> Monodroid@lists.ximian.com
>> 
>> UNSUBSCRIBE INFORMATION:
>> http://lists.ximian.com/mailman/listinfo/monodroid
> 
> ___
> Monodroid mailing list
> Monodroid@lists.ximian.com
> 
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
___
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid


[mono-android] Image caching

2012-06-20 Thread Jens Bjarke Pedersen
Hey Guys,


We are working with mono droid and are developing a app where we are using a 
lot of downloaded images at the same time, which results in memory issues.


Now I want to implement a image handler which caches the most used images and 
clears images not used when the app is hitting low memory warning.


I thought about reference counting and call disposal on bitmaps when they are 
not used. Or do mono droid have any tricks I can use instead :)


Have you any suggestion to this approach.

Venlig hilsen / Best regards
Bjarke Pedersen

___
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid