[android-developers] Re: Dalvikvm exception instantiating org.apache.http.entity.mime.content.FileBody

2012-07-27 Thread jclove
Hi DennisG: I can upload image file to server by source solution now. I will try new method.Thanks a lot. DennisG於 2012年7月26日星期四UTC+8下午3時14分03秒寫道: Sorry to all. Please forget about sources solution. Just put .JAR file into /libs folder of the project and add link to this JAR file to the

[android-developers] Re: Dalvikvm exception instantiating org.apache.http.entity.mime.content.FileBody

2012-07-26 Thread jclove
Hi DennisG: I copy sources into my project. I can see three package in the src folder. Is it right? When I keyinHttpClient client = new DefaultHttpClient();,it had error. I fix this error by import org.apache.http.client.HttpClient; Is it right? I saw all java code in the 2 packages that copy

[android-developers] Re: Dalvikvm exception instantiating org.apache.http.entity.mime.content.FileBody

2012-07-26 Thread DennisG
Sorry to all. Please forget about sources solution. Just put .JAR file into /libs folder of the project and add link to this JAR file to the Project | Properties | Jaba Build Path On Tuesday, April 10, 2012 3:49:38 PM UTC+3, DennisG wrote: Hi, I used to use

Re: [android-developers] Re: Dalvikvm exception instantiating org.apache.http.entity.mime.content.FileBody

2012-05-07 Thread Slawomir Krupa
I know your pain man. That what I did 1. go http://hc.apache.org/httpcomponents-client-ga/httpmime/source-repository.html 2. check out src code using TortoiseSVN. 3. open folder that you checked out src code to: in my case httpmime on desktop 4. open src folder 5. open main folder 6. open java

[android-developers] Re: Dalvikvm exception instantiating org.apache.http.entity.mime.content.FileBody

2012-05-06 Thread blackrat
Um, sorry, i tried to put all the stuffs in src into src of my project but it did not work T_T just to make sure, this is the tree: myprojectname/src/ theStuffsThatNeedToBeCopy I download this: httpcomponents-client-4.1.3 , go into the src folder and do da stuff you said but no good. I also add

[android-developers] Re: Dalvikvm exception instantiating org.apache.http.entity.mime.content.FileBody

2012-05-06 Thread DennisG
Yes, you should copy sources into yourproject/src folder. The final directiry structure should be like yourproject/src/org/apache/http/entity/mime/... You should not mix jar libraries and sources files these libraries created from. Everythihng works fine for me, so just do it carefully. On

Re: [android-developers] Re: Dalvikvm exception instantiating org.apache.http.entity.mime.content.FileBody

2012-05-03 Thread Slawomir Krupa
Hi Dennis, Is it link that you got your src code form: http://grepcode.com/snapshot/repo1.maven.org/maven2/org.apache.httpcomponents/httpmime/4.0.1? Thank you for info All the best Slav 2012/5/2 DennisG denn.gub...@gmail.com Hi, This is pretty easy. Download httpmime archieve from apache with

Re: [android-developers] Re: Dalvikvm exception instantiating org.apache.http.entity.mime.content.FileBody

2012-05-03 Thread Slawomir Krupa
Dennis it WORKED thank you brother for your time :) 2012/5/3 Slawomir Krupa slawomir01kr...@gmail.com Hi Dennis, Is it link that you got your src code form: http://grepcode.com/snapshot/repo1.maven.org/maven2/org.apache.httpcomponents/httpmime/4.0.1? Thank you for info All the best Slav

Re: [android-developers] Re: Dalvikvm exception instantiating org.apache.http.entity.mime.content.FileBody

2012-05-03 Thread DennisG
No, I got httpmime as part of httpclient here: http://hc.apache.org/downloads.cgi On Thursday, May 3, 2012 9:05:14 PM UTC+3, Slawomir Krupa wrote: Hi Dennis, Is it link that you got your src code form:

[android-developers] Re: Dalvikvm exception instantiating org.apache.http.entity.mime.content.FileBody

2012-05-02 Thread DennisG
Hi, This is pretty easy. Download httpmime archieve from apache with source codes and copy content of src folder to your project src folder. This is all you need to do in eclipse. вторник, 1 мая 2012 г., 13:31:06 UTC+3 пользователь Slawomir Krupa написал: Hi Dennis, I am struggling with the

[android-developers] Re: Dalvikvm exception instantiating org.apache.http.entity.mime.content.FileBody

2012-05-01 Thread Slawomir Krupa
Hi Dennis , Can you please explain step by step how you have overcome that problem because I tried everything and it is not working. Can post printscreen of your project and show me how you have organized your photos, please W dniu wtorek, 10 kwietnia 2012 13:49:38 UTC+1 użytkownik DennisG

[android-developers] Re: Dalvikvm exception instantiating org.apache.http.entity.mime.content.FileBody

2012-05-01 Thread Slawomir Krupa
Hi Dennis, I am struggling with the same problem and it seems like there is no step by step solution published on the web:( Could you please post the printscreen of how did you embedded those .java files into you project? Did you have to do it by downloading every single file form

[android-developers] Re: Dalvikvm exception instantiating org.apache.http.entity.mime.content.FileBody

2012-05-01 Thread Slawomir Krupa
Hi Dennis, Can you please describe what you have done because I have the very same problem. I tried to embbed source code but it didnt work. What did you do with annotations i.e. @ThredSafe ect. Can you post printscreen from your project showing where exacly you put source code? Thank you

[android-developers] Re: Dalvikvm exception instantiating org.apache.http.entity.mime.content.FileBody

2012-04-15 Thread DennisG
Problem solved by using source code of httpmime module embedded into the project. I suspect that tehre is a problem converting jar library into dex code. вторник, 10 апреля 2012 г., 15:49:38 UTC+3 пользователь DennisG написал: Hi, I used to use org.apache.http.entity.mime.content.FileBody