Share via E-Mail
Share on Google Buzz
Share on Twitter
Share on Facebook
E-junkie Blog
E-junkie FaceBook Page
E-junkie @ Twitter

E-junkie Ecommerce Forums » E-junkie Discussions

Tag Cloud for this topic:

Download URL on Android G1 browser



orcking
member
Posts: 5


I am testing e-jnkie with google checkout
everything is ok

when I browse to download the file from my G1 Android phone and click on the link
it starts downloading the file and then says download unsuccessful

if I do it from IE or Firefox on my PC it downloads OK
I think it has something to do with the javascript, because its not a direct link

any ideas???


#
POSTED ON: September 4, 2009 @ 16:51 GMT -7




orcking
member
Posts: 5




#
POSTED ON: September 4, 2009 @ 17:17 GMT -7




E-junkieNinja
E-Junkie Crew
Posts: 636


Our development team is looking in to this issue.


#
POSTED ON: September 5, 2009 @ 12:21 GMT -7




E-junkieChef
E-Junkie Crew
Posts: 936


Is this only for .apk files?


#
POSTED ON: September 5, 2009 @ 12:22 GMT -7




orcking
member
Posts: 5


The web server needs to send the mime type to the browser...
I have tried it with apk files , if you look at the post above, simply adding the mime type to the web server configuration file will solve the issue


Thanks


#
POSTED ON: September 5, 2009 @ 13:26 GMT -7




E-JunkieRocketSurgeon
E-Junkie Crew
Posts: 36


We have been able to reproduce the problem using the emulator from the Android SDK (nobody in the office actually has an Android device).

We're now working on figuring out the right way for us to fix this; for various reasons it's not as simple as just setting a mime type on the web server (although the mime type *is* the issue).

Please bear with us while we finish developing, implementing, and testing a solution.


#
POSTED ON: September 5, 2009 @ 17:47 GMT -7




orcking
member
Posts: 5


great..

thanks for the quick turn around

waiting to hear form you...


there is a similar thread:

http://groups.google.com/group/android-developers/browse_thread/ thread/759bb05d7d18343e

Thanks much


#
POSTED ON: September 5, 2009 @ 18:05 GMT -7




E-junkieChef
E-Junkie Crew
Posts: 936


Thanks for your patience. This is done.

Please note, you will need to re-upload your APK file though.


#
POSTED ON: September 6, 2009 @ 17:23 GMT -7




orcking
member
Posts: 5


Thanks much

I tested it and its working perfectly..

I see that you changed the web server location.

for future downloads it should always go there??
and can you tell me if adding the mime type solved the issue

Thanks again


#
POSTED ON: September 6, 2009 @ 18:19 GMT -7




E-junkieChef
E-Junkie Crew
Posts: 936


orcking
I see that you changed the web server location.


We have several servers, so file be will initially served from one of those, till we push it to amazon S3 (within 15 minutes or so normally) and then the files gets from there. So we have changed our download code to serve APK files with specific mime type and also our push-to-S3 code to add that mime type to the meta data of the object we put in our s3 bucket.

orcking
and can you tell me if adding the mime type solved the issue
Thanks again


Yes. Thank you!! :)


#
POSTED ON: September 7, 2009 @ 04:43 GMT -7




text-connect
member
Posts: 14


I'm about to upload some files for BlackBerry devices and wondered if this issue has been resolved for these devices too?

According to our developers, the mime-type for BlackBerry install\application files should be:

.jad files: text/vnd.sun.j2me.app-descriptor

.cod files: application/vnd.rim.cod


Many thanks


David


#
POSTED ON: November 15, 2010 @ 09:54 GMT -7




text-connect
member
Posts: 14


ok - I can report that the mime types are set incorrectly, so the phone doesn't recognise the file as an install file.

Is it possible to fix this ?


#
POSTED ON: November 18, 2010 @ 05:13 GMT -7




E-junkieGuru
E-Junkie Crew
Posts: 3483


This matter would rests in our Development team's hands, so I've brought your inquiry to their attention and can only wait on a response from them.


#
POSTED ON: November 18, 2010 @ 18:12 GMT -7




E-JunkieRocketSurgeon
E-Junkie Crew
Posts: 36


After sitting on this for entirely too long (we were waiting to roll it out with some other related code, which hasn't happened), we have finally incorporated it into the existing system.

The system will not automatically assign the new MIME types to existing files--we didn't want to trigger a sudden, unexpected change in behavior. To get the system to assign them the new MIME types, you'll need to do one of two things:
1. re-upload the .jad/.cod files in question
2. (if you have enough files for that to be a pain) send us a support request and we'll tickle the system to make the change.

Sorry for the wait!


#
POSTED ON: January 26, 2011 @ 19:29 GMT -7


You must be logged in to make a post. Please click here to login.

30 Day Money Back Guarantee
PayPal Certified Integration
Google Checkout Certified Integration
Slam the Online Scam