Install .apk file from webserver and not android market

Put your problem here if it does not fit any of the other categories.

Install .apk file from webserver and not android market

Postby tripmills » Sat Jun 06, 2009 1:39 pm

I searched through here and can not find the solution, although i sware i have seen the solution somewhere.

Is there a way to offer an .apk file(for install) via my web server and not the market? i sware i saw somewhere that it was just a matter of adjusting the mime type for apk. i just can't find the answer anywhere.

beer is on me for any help....thanks.
tripmills
Freshman
Freshman
 
Posts: 5
Joined: Sat May 02, 2009 3:00 pm

Top

Postby WarrenFaith » Sat Jun 06, 2009 2:42 pm

Simply upload your apk and access it with the android browser. The browser will offer you the installation...
The link should look like this: http://www.example.com/application.apk
WarrenFaith
Moderator
Moderator
 
Posts: 227
Joined: Fri Mar 13, 2009 10:59 am
Location: Berlin, Germany

Postby tripmills » Sat Jun 06, 2009 4:46 pm

WarrenFaith wrote:Simply upload your apk and access it with the android browser. The browser will offer you the installation...
The link should look like this: http://www.example.com/application.apk


i hear ya and i thought that is all it took except i get a 'the request is not supported' error in the android browser. i remember reading somewhere that the mime for .apk had to be defined. i'm just not sure what to mime .apk as.

thanks

edit:
forgot to mention that i run my own web servers so adjusting a mime is no problem, and since i am not a hosting firm i wouldn't be surprised if my mime mapping is not up-to-date with the current stuff
tripmills
Freshman
Freshman
 
Posts: 5
Joined: Sat May 02, 2009 3:00 pm

Postby tripmills » Sat Jun 06, 2009 4:56 pm

Double Positing because i found the answer
MIME type for .apk = application/x-gsarcade-usersvc

works like a charm now.....
tripmills
Freshman
Freshman
 
Posts: 5
Joined: Sat May 02, 2009 3:00 pm

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 30 guests