Server Interface With A Hardware Device?

Dec 14, 2010

I've currently developing a web application in asp.net and a smsgateway moderm connected to my server (currently my laptop). is there a way for the asp.net to interface with the moderm that is connected to the server? so i'll be able to send/receive message in a web interface

View 1 Replies


Similar Messages:

Mobiles :: Send A Get Method From Server To Device To Trigger

Mar 14, 2011

i have a gprs device that logs data to a webpage.i am using get method for the data transfer from device to web application. This function is working perfectly. what i want to do now is by clicking a button to send a get method from server to device in order to triggger it to do some actions. the device is correctly receiving the get method and sends a responce. The problem is that the http responce the device is sending might be wrong because the browser is waiting until timeout and then it displays the responce. does anyone knows what is the http responce format?

View 1 Replies

Mobiles :: Connecting To Localhost And Also Directly To SQL Server 2005 From A Mobile Device

Jan 23, 2010

Is it possible to connect to SQL Server 2005 ( not SQL Server 2005 CE) from a mobile device?

View 6 Replies

Mobiles :: Simulate A Proxy Server To Test Mobile Device C# Application

Nov 17, 2010

I need to simulate a proxy server to test mobile device c# application.

Is there a way to do this? how should I do this.

View 2 Replies

Architecture :: Handling Asynchronous Server To Server Interface?

Mar 11, 2010

So this interface allows one server to request data from another server. The catch is that all xml for the interface is transmitted entirely over http posts followed by an empty status code 200 response. No data is sent in a response. So if my application wants to requests data, we send an http post with the xml request and receive a blank 200. Then, shortly after our request, we'll receive an http post to a predetermined URL with the xml data which we then send a blank 200. This data will then be stored in a SQL database. This interface cannot be altered.

The reason this is problematic is because our server is handling requests from clients that need that data in the response. If a user requests for data that isn't available in our database, it needs to be requested from the interface and then returned in the response. I'm just not sure how to get this to work out. I've thought about polling the database, but I'm worried about thread pool issues. I've also looked into using ManualResetEvent.WaitOne to halt the processing of the client request and then calling Set when the interface sends the data (as a request). I've read that wait threads are shared, but just don't know if this will scale well. Does anyone have any insight or I'm pretty much stumped on this one...

View 4 Replies

C# - Ajax Server Process With Live Interface Progress Status?

Oct 24, 2010

I have a process that retrieves html from a remote site and parses it. I pass several URL's into the method, so I would like to ajaxify the process and give a screen notification each time a URL completes parsing. For example, this is what I am trying to do:

List<string> urls = ...//load up with arbitary # of urls
foreach (var url in urls)
{
string html = GetContent(url);
//DO SOMETHING
//COMPLETED.. SEND NOTIFICATION TO SCREEN (HOW DO I DO THIS)
}
public static string GetContent(string url)
{
HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url);
request.Method = "GET"
using (var stream = request.GetResponse().GetResponseStream())
{
using (var reader = new StreamReader(stream, Encoding.UTF8))
{
return reader.ReadToEnd();
}
}
}

In each iteration in the loop, I want to show the URL was completed and moving on to the next one. How can I accomplish this?

View 1 Replies

Custom Server Controls :: Implementing An Interface From A Class Library In A Custom Control?

Jul 8, 2010

I'm building an n-tier application, with the web client and the class library separate. I'm also using the factory pattern of development, using interfaces to act as containers for different objects they are associated with. The problem I'm expreriencing is that I declared a public interface class in the class library and I can create an instance of it in in my aspx pages but whenever I declare it in my custom control code-side, i get an error, like so:

Error 20 The type or namespace name 'IContentMaker' could not be found (are you missing a using directive or an assembly reference?)

notge that I have inherited the class library namespace using the 'using' keyword just in case you are wondering. My code is like so:

using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using TQO_Classes ; //importing the class library project
public partial class PageContentMgr : System.Web.UI.UserControl
{
private IContentMaker _data; //this line throws the error, it works fine on aspx pages

View 1 Replies

Configuration :: Server Trust Level And Twitter Application Interface - Error "System.Security.Permissions.SecurityPermission, Mscorlib"

Oct 14, 2010

There seems to be an issue with the "Trust" level when executing within a "Cloud" environment. In order for the following app to work it needs a trust level of at least "Medium." This web app is developed using VB.NET 3.5, and Visual Studio 2008. The app works perfectly on my local sever but when deployed/published to the "Cloud" it returns the error: System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. I have added all 4 required values, ConsumerKey, ConsumerSecret, OAuthToken, and OAuthTokenSecret to the web.config file in the "appSettings" section of the "configuration"

[Code]....

If found that by going to [URL] and signing into the account that is using the application, then go to the "Settings" page, go to the bottom of the page and click on the "API" menu option. Once the API page appears you will clik on the button "2", Register An App. On the right side on the new page, you will see a button "View Your Applications." If you have previously registered your app, click this button, If not fill out the appliction for a new app. Now at the View your Applications page, select the app you want to get the authorization keys for where is says "Edit Details". Now click on the button to the right that says, "Application Detail." Here you will find your Consumer Key and your Consumer Secret Key. On the right side of this page you will see the menu option "My Access Token", click it and you will find your oauth_token and your oauth_token_secret keys! Not that you have all the keys, put them in the "appSettings" section of the web.config file. Add "Dim twConn As New TwitterVB2.TwitterAPI" at the top of the page.

I then created a subroutine where I pass in the Tweet:

[Code]....

This code works great in an enviornment that allows at least a "Medium" trust level. However it appears that many of the "new" hosting envrionments such as "Cloud Hosting" and others do not allow this trust level automatically!However if the trust level is less than "Medium" on your host you will likely receive the error message: "Twitter Returned: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed." If anyone has found a fix for this "Trust Level"

View 9 Replies

Is There A Way To Track A GPS Device Using PHP

Jun 2, 2010

In my upcoming project, I need to track GPS device attached to vehicles. Is there any way this is possible through PHP or ASP.Net

View 2 Replies

Apply Different Css Based On Device?

Dec 16, 2010

I'm just starting to learn the basics of ASP.NET and have encountered a problem I don't know how to solve. I'm used to PHP and if I want a different css based on the device (Android or iPhone) used to browse my website i would do something like this:

<?php
#Check device used
$agent = $_SERVER['HTTP_USER_AGENT'];
if( strstr($agent, "Android") or strstr($agent, "iPhone") )
{
echo(" <link rel="stylesheet" type="text/css" media="screen" href="handheld.css" />
");
}
else
{
?>
<?php } ?>

But how is this done in asp.net? I have no clue.

View 1 Replies

Mobiles :: Register Dll On Device?

Sep 19, 2010

I have an activex component on my webpage, which is built specifically fro Windows Mobile. This activeX component has a dll which needs to be registered on the device. How Do I register it?

View 1 Replies

C# - Read Sms From Mobile Device With .net Application?

Mar 16, 2010

How can I read SMS from mobile with my .net application? i have a Nokia 5310 mobile phone. Can you tell me from where i can download Nokia SDK or source code or Nokia API etc?

I want to make a custom application which reads SMS and at the same time sends a response to the sender's mobile number.

View 1 Replies

Control A Users USB Device Via A Webpage?

Feb 8, 2010

I'm wondering if there is a way to create an asp.net webpage that will connect a visitors USB device to an application on the windows bases server? This way we avoid having to install a software on the visitors computer to control a USB device update that they purchase form us.

All they have to do is visit our update page, plug their deivce to the USB, and have our site update the usb hardware. Possible? or am I dreaming? :)

i found software like: USB over IP, and few others. But not show ure its possible to create a C# or vb.net based ASP.net page to control the visitors USB device.

View 5 Replies

Mobiles :: Device Details With .net Code?

Mar 23, 2010

details of device by which I can get the input for GPS location independently without a fixed ic chip? I want to write the code myself for that then display on the screen; like many gps street locator or any other device available in market. I need initial level of code for chip and intial level code example for .net.

Apart from this I know the something about this like attach the device in the port . Detect the the port with device and read the data using API or dll whatever and start processing and then display on the output device.

View 1 Replies

Mobiles :: Call An Exe From Mobile Device?

Jul 21, 2010

I am working on a web mobile application in which i want to call an exe which is installed in the mobile from web application running on that mobile by clicking a link. How can i do that?

View 3 Replies

How To Alert A User Of A New Message Using Some Kind Of USB Device

Jan 18, 2010

I want to alert a user of a new message using some kind of USB device (e.g. a flashing light). Is it possible to control a USB device from ASP.NET or Silverlight?

View 3 Replies

How To Patch The Mobile Device Browser File

Jan 29, 2010

Nexus One is not currently supported by the Mobile Device Browser File, which leads to the Nexus One being identified as a non mobile device.

I know the user agent, and the capabilities are pretty similar to other Android terminals. With this information, how do I patch the MDBF to have the N1 be recognized as a mobile device?

View 3 Replies

Does The Mobile Device Browsing File Live On

Oct 26, 2010

[URL]

"Due to the organizational restructuring of the team that developed and supported the Mobile Device Browser file, we will no longer have the resources to support and update this CodePlex project. The team will be providing two more releases - one on the 27th July 2010 and the final release on the 24th August 2010. who used our product over the past year and a half. We would also like to thank everyone who contributed to the discussions and raised issues on our data."

Does this project live on someplace else or is there an equivelent project?

View 1 Replies

C# - MVC Route Based On Web Browser / Device Like IPhone

May 27, 2010

Is it possible, from within ASP.NET MVC, to route to different controllers or actions based on the accessing device/browser? I'm thinking of setting up alternative actions and views for some parts of my website in case it is accessed from the iPhone, to optimize display and functionality of it. I don't want to create a completely separate project for the iPhone though as the majority of the site is fine on any device.

View 2 Replies

Mobiles :: Smart Device Project - Can Run On Emulator

Oct 8, 2010

I am working on a smart device project and want to run on emulator.i have completed the application.but now i want to run it on Emulator in vs2008.

View 1 Replies

Configuration :: Access A Hardware Device From The Client?

Oct 27, 2010

I am using Biometric Device for Login in my application. It is working fine when I am running it from Visual Studio 2008 on Server but when I am Publishing the Project and trying to run, it is not showing any popup for verifying thumb expression nor it is giving any error.

Also the published application should be able to run from different Workstations as well.

View 1 Replies

Mobiles :: Get Address Book From A Blackberry Device?

Dec 20, 2010

Is there any way to get the address book contacts from a blackberry device in a .net web application?We have a .net web application that can be accessible from a Blackberry device.What we need is a way of getting the Blackberry contacts list from a blacberry device the same way when you send an email:When you send an email you can type some characters on the "To" field then hit "enter" and the blackberry device is doing a lookup function returning a list of contacts based on the keywork you typed. Maybe there is a way of calling a blackberry API from a javascript function that would perform the same way described.

View 2 Replies

System.IO.IOException: The Device Is Not Ready Error?

Mar 25, 2011

I have written a code to write some information to text file and save this file on disk. However i have harcoded the path on which to save the file. I am getting System.IO.IOException: The device is not ready. error Is it because of that hardcoded the path. How to get path to folder on server?? On my local machine I am giving path "D:/telephone_management/AMS/files/" and within files folder i m saving my text files On server machine, the drvive is E, so path is wrong. Is there any way I can dynamically get path to my files folder on server ??

View 1 Replies

VS 2008 / SetFocus Not Working With One Mobile Device?

Sep 29, 2011

I have an asp.net website I wrote just for mobile devices. They all are running Windows Mobile 6.1 with Internet Explorer but they are different brand of devices such as PSION and others. On one device the site works great. I am using SetFocus in the code behind to set focus to buttons and textboxes after postbacks depending on the situation. On the other device the controls do not get the focus set.

Is there another method i should be using? I think I can set focus using javascript but can I call it at the end of a sub in the code behind? I'll have to look that up now.

View 1 Replies

Mobiles :: Change Aspx Pages For Blackberry Device

Jan 21, 2011

Mobile web is no longer supported in latest version of Visual Studio. Please do following with Vs2008 or VS2010

- Create standard ASP.NET website with standard "Web Forms"

- Design the content of web forms for your mobile pages based on device family that are
going to access your website. For e.g. iPhone, Andriod

- Add a detector process, which detects from where request is coming. If it is mobile than redirect user to mobile optimized pages.

- Different mobile has different capabilities (e.g screen size, image support, html support, xhtml support etc.). So it is very important that you know what type of device is trying to access your website and accordingly render required HTML/XHTML supported by the mobile device. [URL] So I have a basic website with .aspx pages. When they are on a blackberry the words wrap on top of the second line over the TEXTBOXES. Is there a basic place that can tell me how to fix this? Or what to use in the place of the CSS that are causing this on the blackberry devices?

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved