Re: [mono-android] Building a package with a jar bindings library strips the jar file from the assembly

2013-12-02 Thread Vladimir Dimitrov
The types I need are in the posindev.jar I included in the jar bindings 
project. It is marked as EmbededJar but the types from it are not in the 
classes.dex and it causes the runtime error I am talking about. I have 
sent you the whole library project so you can see if I am doing 
something wrong, but the project is pretty empty with only the jar file 
inside so I don't see what I can do wrong here.


- Vladimir

On 1.12.2013 г. 23:49 ч., Jonathan Pryor wrote:

On Nov 28, 2013, at 11:29 AM, Vladimir Dimitrov  wrote:

So after looking at the classes.dex it turns out that this library types are not in 
there. Having in mind that this mean that "that's a problem. :-)" what should 
be done to fix this problem?

1. Determine which .jar those types come from.
2. Ensure that "somehow" that .jar is included within your app.

(2) has a variety of solutions. You could use AndroidJavaLibrary within the Application 
project, EmbeddedJar or EmbeddedReferenceJar within a Binding project, or  
if it's a "platform-provided" type (this is the case for Google Maps v1, and certain 
Amazon libraries IIRC, meaning those types will _never_ appear within classes.dex, and that's 
OK.)

  - Jon

___
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] PulltoRefresh with load more java library project binding

2013-12-02 Thread venkatesh
Hi,

I am trying to make a jar bindings project that I use  in my application. 

For this

1. I created a jar binding project. 
2. Added the .jar file in the Jars folder. 
3. Made it an EmbeddedJar 
4. Build the project 
5. Create the android application project which reference the above created
dll 
6.Add the pulltorefresh component in the application listview.


http://schemas.android.com/apk/res/android";
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<*com.costum.android.widget.PullAndLoadListView*
android:id="@+id/listview"
android:layout_width="fill_parent"
android:layout_height="fill_parent" />


7.Build the project
8. run the application in debug mode.
i get a java.lang.NoClassDefFoundError followed by
android.view.InflateException: Binary XML file line #1: Error inflating
class com.costum.android.widget.PullAndLoadListView

Please suggest me on this.

I have enclosed all the details for your reference.

1. Java PullToRefresh and load more library project 

android-pulltorefresh-and-loadmore-master.zip

  

2.diagnostic build output  output.txt
  

Thanks





--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/PulltoRefresh-with-load-more-java-library-project-binding-tp5713629.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