Creating Mobile Website Page To Download Symbian .sis File To Mobile Unable To Download Properly
Dec 10, 2010
i m creating asp.net Mobile website page to download symbian .sis file to mobile ,but its not geting download properly.its working perfectly on desktop.
View 2 Replies
Similar Messages:
Jul 5, 2010
I've some files stored in a SQL database. When a user visits a url with the given ID, the BLOB data is retrieved from the database to the webbrower via:
Byte[] myData = b.BlobContent;
Response.Clear();
Response.ContentType = "application/octet-stream";
Response.AddHeader("content-disposition", "attachment; filename=" + fileName);
Response.AddHeader("Content-Length", b.SizeInBytes.ToString());
Response.BinaryWrite(myData);
Response.End();
However, the iPhone (Safari) can't download a *.txt and *.doc file. It says: "Safari can't download this file". A pdf can(!) be downloaded and viewed.
On Android none of the files can be downloaded.
Is this because the iPhone and Android just can't handle all files? Or am I doing something wrong in the Response.
View 1 Replies
Jan 28, 2010
i m using asp.net fileUploader controle to upload file in mobile application but file is not uploading.
View 1 Replies
Mar 26, 2010
Response.Clear();
mFileName = "ABC.jad";
mPath = ResolveUrl("~/" + mFileName);
Response.ContentType = "text/vnd.sun.j2me.app-descriptor";
Response.TransmitFile(Server.MapPath(mPath));
Response.Flush();
Response.End();
this code is not work in blackbarry mobile but work in nokia & windows mobile.how can i do for blackbarry mobile.
View 3 Replies
Mar 24, 2010
i have been searching for this MMIT for visualstudio 2008. but i am not to get the this toolkit anywhere in MSDN or micrsoft website and new to this mobile development. and also let me know from where i can get this MMIT ?? but for now i have downloaded windows mobile sdk latest version but it does not include mobile web pages or mobile web control so what should i do?? is there any other way that i can develope a mobile website in asp.net..
View 3 Replies
Oct 18, 2010
I have created a simple app with a page having a server side form, three fields and a button that submits and performs two operations - 1) adds the form fields to the database table 2) sends an email. Now everything works fine on the web browser on my machine but when I access the app through my mobile, the page does not seem to work. the UI and all are set but the button click functionality doesnt seem to be working and also the label which is set after a successful submit is already visible and showing the "thank you" message. Am i doing something wrong here? I have checked the app on Nokia Smartphone browser, android phone, and iphone simulator.
View 2 Replies
Dec 3, 2013
I have one mobile website using ASP.NET with c# language. The problem which i have rise you that, I have two websites with same domain name, they are Desktop websites and mobile website
1. Desktop websites ->www.****.com -> this is i have used to view full websites in IE,FIREFOX,CHROME,etc...
2.mobile website ->www.****.com -> this is i have used to display mobile website using any mobile devices like iphone, stc, nokia, samsung, etc...
In my mobile website have one button which is for "view full website" . If i click on that from mobile the link which i want to show full website with the same mobile device what devices i have using.
View 1 Replies
Feb 13, 2011
creating a mobile version of the website I have created in WebMatrix. I have created the website and the email form and the data input forms and all seems to work ok with the SQL Server Compact 4 database, but I now want to create a version to run on my smartphone (it's a htc hd2 running windows mobile 6.5.3, though I think I may have to produce it to run on windows mobile 7 -feel free to comment).
There are some good tutorials out there for WebMatrix generally but I have yet to find anything covering the scenario above.
The other query relates to deploying the WebMatrix site. I know there is webhosting offered on WebMatrix, but I can't find a simple guide to what spec to be looking for in any package offering webhosting. (poor student looking for cheapest offer for trialling practise sites) I think I have come to the conclusion that if they offer Microsoft ASP.NET 4 then that should be ok for the Razor syntax and cope with the cshtml, and that at the basic level I am working at I don't need an SQL database as part of the hosting package as the compact travels as a file with the rest of the site.
View 4 Replies
Feb 7, 2011
I am trying to start a new mobile web application project but cannot find the mobile page template originally available on VS 2005, nor can I get the mobile web controls to display in the toolbox even though I have then all selected in the tool-> select toolbox items why? and what can I do?
View 1 Replies
Oct 13, 2010
I'm about to submit my pad file to multiple sharware sites but the pad file has to have a direct link to the download file and can't link to a download page which is what I would like to do, so I can track the traffic and get the downloader's email before allowing the download. I am running an ASP.NET site in VB. Is there a way to tell the web app to redirect to a specific aspx page when it receives a request for a specific file?
View 1 Replies
Aug 26, 2010
I am beginner at mobile Pages with ASP.NET. And ı want to make an application with contains a few TextBox that have different size.
it's my sample code here:
<%@Page Inherits= "System.Web.UI.MobileControls.MobilePage" Language= "C# " %>
View 6 Replies
Aug 10, 2010
I am developing a web based application for a Motorolla Mc 9090, it is a wireless barcode scanner running windows mobile 5.0.
The idea is to centralize the inventory in one database, by scanning items, serials, bins etc.
I have a set of pages each containg forms, where the user will have to scan an item, and automaticall the scanner has a carriege return (ENTER key) the idea was to have the user simply scan, and the page would automatically click the button posting to server for processing and then the server would reply.
For some reason i cannot get the focus() to work as well as the defaultbutton propperty of the form. There is also 1 more problem, the readOnly textboxes look the same as the non readOnly textboxes, even with the backcolor property changed.(guessing this is just MS)
View 3 Replies
Aug 8, 2010
I have an assignment to develop a mobile application for My company's customers (around 250000). its could be download from our website or we can also provide to our customers those are visiting our branches, on their demand.Requirments:
View 5 Replies
May 24, 2010
I'm developing a office site but i wnt to include popup in tht but all mobile is not support fully to javascript & jquery . ........
View 1 Replies
Mar 8, 2010
i want to develop an asp.net mobile web application whith Ajax features. i dont khnow whether these technologies are supported in mobile developpement?
what stups should i follow to make such project ( IDE + SDK....) . finally what are free windows mobile emulator ( except Microsoft ones)?
View 7 Replies
May 7, 2015
How to get current location of mobile using any mobileno.It is possible using Asp.net?
View 1 Replies
Jan 4, 2010
i am using amazon s3 service. now i want to show download dialog box in my asp.net application when user come on download page. i am using amazon sdk.
View 1 Replies
Jun 10, 2013
I have added linkbutton inside gridview to download, below is my code..
protected void lnkDownload_Click(object sender, EventArgs e)
{
try
{
[Code].....
its giving me following error
"Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack"
View 1 Replies
Sep 2, 2013
I need to download  a .mp3 file from a folder. during download a new blank page should open and after downloading it should close automatically.
View 1 Replies
May 26, 2010
I am developing a mobile application that requires text entry in a mobile:textbox component. I want it to only accept numeric and "#*". when I press the "1" key on my mobile phone it should enter a "1", not "a", "b", "c", etc.
View 29 Replies
Apr 30, 2010
I have developed one website in asp.net and now I want to open the same website in mobile devices.now i want to develop that for mobile users. I tried with .net mobile controls but it is not full filling my requirements. In the web page if combine the .net mobile controls with Asp.net controls Is it give any problem in the browser (at the time of rendering the controls in browser) in any of the devices like Nokia, iphone, BB. If use html controls in application
View 19 Replies
Nov 8, 2010
I am downloading a file from remote server by using the following code.
[code]....
If we paste the remote url in browser then it is downloadding the file without any error/warning.
View 9 Replies
Jan 26, 2011
In our ASP.NET web site we have developed an aspx page that allows the user to download a file. The file path is sent as a parameter and then the file contents are read and written to the response stream. The code that we have used is the following:
string filepath = HttpContext.Current.Request.Params["FilePath"];
Response.Clear();
Response.ContentType = "application/octet-stream";
Response.AddHeader("Content-Disposition", "attachment; filename=" + Path.GetFileName(filepath));
Response.TransmitFile(filepath);
Response.Flush();
Everything works as expected in our development environment, but when we use this piece of code in our production server, we noticed that when trying to download almost all kind of files, nothing happens in the browser. It just opens a new window for that aspx page, but then it gets closed almost inmediately. It is very weird since we have tried downloading .pdf, .doc, .xls, .txt and image files with no luck, except with some (not all) .msg files.
We have being looking for a clue sniffing the HTTP traffic that reach to the browser with Fiddler, but we have seen nothing strange. In all cases the file contents are sent to the browser with no differences, so it seems that it is the browser doesn´t show the open/save/cancel dialog. Here is a sample of the headers received in the browser with a failing file:
HTTP/1.1 200 OK Proxy-Connection:
Keep-Alive Connection: Keep-Alive
Content-Length: 421395 Via: 1.1
IBISA01 Date: Wed, 26 Jan 2011
12:02:54 GMT Content-Type:
application/octet-stream Server:
Microsoft-IIS/7.5 Cache-Control:
private Content-Disposition:
attachment;filename=P08-0656 Interflex
Especificación Inteface SGA ERP
Version 0.1.pdf X-AspNet-Version:
4.0.30319 X-Powered-By: ASP.NET
And these are the headers of a file that can be downloaded:
HTTP/1.1 200 OK Proxy-Connection:
Keep-Alive Connection: Keep-Alive
Content-Length: 290816 Via: 1.1
IBISA01 Date: Wed, 26 Jan 2011
12:03:29 GMT Content-Type:
application/octet-stream Server:
Microsoft-IIS/7.5 Cache-Control:
private Content-Disposition:
attachment;filename=Acalaracion final
Fichero ascii proveedores
Interflex.msg X-AspNet-Version:
4.0.30319 X-Powered-By: ASP.NET
In all cases, the full contents of the file appear after the headers with apparently no problems related to encoding. We are wondering if there is some possibility to debug or trace the Internet Explorer activity to see why is rejecting to download the files. The web server has Windows Server 2008 R2 and IIS 7.5. The browsers that we are using are IE 8.0 over Windows 7.
View 3 Replies
Jul 1, 2010
i am going to start first mobile application.Already Vs 2008 installed, but no Mobile SDK.So please tell which SDK i have to install to start up my first mobile application?Or some VS 2008 plugin requires for Mobile application
View 3 Replies
Mar 1, 2011
I'm currently trying to implement a controller where you can download files from (more specifically jar-archives). The files are stored on disk and not in database. So far I have come up with this:
public FilePathResult GetFile(String fileName)
{
return File(Path.Combine(Server.MapPath("~/App_Data/Bundles"), fileName), "application/java-archive");
}
Nevermind the lack of error handling and such at this time. The file do get downloaded this way, however it gets the wrong name. Instead of, for example, "sample.jar" the file gets the controller's name, "GetFile", (without extension).
View 3 Replies