.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

Location-Based Services Using CellID in Android

Posted By: Syed Shakeer Hussain     Posted Date: April 01, 2011    Points: 2   Category :Others
An earlier article about Android showed you how to interface with GPS receivers to obtain the geographical position of a device. However, not all today's mobile devices have built-in GPS receivers. Moreover, GPS does not work indoors. This seriously limits the usefulness of applications built around GPS technologies. One good way to expand the utility of your LBS services is to use your device's cell ID. This article will show you how to obtain the cell ID of an Android device and then use the Google Maps API to translate this cell ID value into latitude and longitude.

View Complete Post

More Related Resource Links

services based architecture


was giving a though on using ajax enabled wcf services as part of architecture

generally wht im using

is UI-> BL-> data access


is it suggestable to use wcf services layer instead

of BL

nd hv UI-> services-> data access

related to asp.net


would like to no pro's and con's of doing this thing.

is it suggestable to do it. 

Contract-First Web Services: Schema-based Development with Windows Communication Foundation


Schema- first contract-first modeling of Web Services gives you the ability to model your contracts with an XML-centric mindset. This process keeps you focused on universally acceptable types and the hierarchical data structures that can be represented in XML.

Christian Weyer, Buddhike de Silva

MSDN Magazine October 2009

Geneva Framework: A Better Approach For Building Claims-Based WCF Services


Here we introduce Microsoft Code Name "Geneva," the new framework for building claims-based applications and services, and federated security scenarios.

Michele Leroux Bustamante

MSDN Magazine December 2008

Service Station: Authorization In WCF-Based Services


Windows Communication Foundation (WCF) provides an easy role-based system and a more powerful and complex claims-based API for implementing authorization in services.

Dominick Baier and Christian Weyer

MSDN Magazine October 2008

Web Services: Capturing and Analyzing Client Transaction Metrics for .NET-Based Web Services


This article presents a general-purpose client quality reporting mechanism that can be used in any .NET-based transaction system that employs HTTP/SOAP. The design uses client response time and quality recording, upload of logs as SOAP headers attached to new transaction requests, and server handoff of these headers to a low priority queue for logging and analysis. This technique gives an enterprise near real-time information on actual end-user response times. These response times reflect network delays, client application overhead and server delays. By using this technique, enterprises can avoid the need to develop custom software to mine HTTP logs.

Brian Connolly

MSDN Magazine July 2004

Location-Based Metadata #sp2010plaintalk

This is the first post in a series of SharePoint 2010 plaintalk (#sp2010plaintalk) aimed at SharePoint professionals who are exploring features of the platform, typically to do feasibility assessments for applying platform features in projects. With every new version of the platform I tend to spend a lot of time digging through the marketing and technical content of the new features to understand what a new feature *really* does. We'll start out with a small one on Location-Based Metadata (sounds...(read more)

summing value in dataset2 based on location group in dataset1

I have two datasets where I pull date from for this report...dataset1 has sales by month and location and trans dataset has trans spend by locaiton and supplier.  I want to include sales in a location groups but only sales for that location in the group....right now it seems to sum up all the sales even though I put the sales figure inside the location group... how do I do that...do I use a iif function?? do I need to do something with parameters?

Data Bindings are Disappearing and reappearing based on location of other bindings on page

Using Dreamweaver CS3 to design a classic ASP page connected to MSSQL db.  When recordset is tested with a default value, all db fields are returned successfully, but when web page is viewed, random data values won't display.  If bindings are moved around on the page, this can cause other bindings to disappear with no recognizable pattern making troubleshooting the issue next to impossible.  I have never seen this before and wondering why this might be happening.  If anyone can help me, i would sincerely appreciate it!

URL location of the WSDL File for Web Services File Task

I am finding that in order to have the Web Services Task work successfully the location of the WSDL file has to be on a local drive that SSIS is executing upon.  Is the current intended behavior? In my SSIS task I use a URL path to store information extracted from the Web Service.  The information is stored on a different server than the one that SSIS is running upon.  This works properly without error. I have confirmed that SSIS has appropriate permissions to read/write to that directory on that server.  When I attempt to reference the WSDL file (located in the same URL directory that I am saving the information) I get a web services error, 'The Web Services Name is empty, Verify that a valid web service name is available." When I update the Web Service Task attribute to point to the WSDL file located on a local drive it works correctly.  I have confirmed that both WSDL documents are exactly the same. The behavior seems a little strange...so I must be missing something subtle. ...cordell...

Find location based on longitude and latitude



can you explain a bit more about  using google map api in asp.net3.5 using c#.

and please tell me one thing how to give latitude and longitude and identify the location (from givinglongitude and latitude).

Setting .net windows control location based on Screen width

I am developing an windows application in 20 inch moniter. I am positioning the controls in WPF like this

scrollViewer1.Height = Screen.PrimaryScreen.Bounds.Height / 5;

If I run this application in 15 inch monitor whether it will change the position of the control or it will give the look and feel what i expected.

Please clarify?

If it will chnage the positioning,please suggest how to poistion the control to support all screens widths.

Report Model based on Analysis Services Cube doesn't work


Hi all,

I am working in BIDS and would like to create a Report Model based on a cube.

Creating a Data Source based on SSAS goes well, but when I want to make a Data Source View, the earlier created Data Source doesn't show up, which is necessary for the final resulting Report Model.

Could somebody help me out in solving this issue? (And also tell me why this is issue is rising?)


SQL Server 2008 & BIDS 2008 (Version 9.0.3x)

Is there a way to query entity based on multiple filter criteria? WCF Data Services, Linq to Entiti


Instead of:

DW_CMSOPEN dwc = new DW_CMSOPEN(new Uri("http://acctdev02/WCFDataService/EmployeeService.svc"));

dwc.Credentials = System.Net.CredentialCache.DefaultCredentials;

var employees = from emp in dwc.Employees 
             where emp.DEPT == "123"
             select emp;

I'd like the linq query to resemble:

var employees = from emp in dwc.Employees
              where emp.DEPT // in {"123", "456", etc}
              select emp;

Exposing all ASP.Net Provider-based classes over WCF Services


We are adopting an architecture completely based on WCF Services, thereby allowing us to decouple our presentation layer from our Business Logic layer.  However, everything that we currently know about traditional Web Forms seems to go out the door by adopting this model since traditional Web Forms assumes direct access to the database and to the Business Logic tier.

As a first step, we would like to figure out how to provide a default serialization mechanism for our SiteMap data so that it can be consumed by the SiteMapDataSource on the ASP.Net client side code, but eventually we would like to be able to serialize all of our ASP.Net providers such as our MembershipProviders, Personalization and Profile Providers so that they are all available via our WCF Services.

Are there any samples/examples anyone can provide on how to serialize all of our existing Provider classes over WCF Services so that they can be appropriately consumed by our ASP.Net web forms clients?  Is it supposed to work as simply as marking all of our classes with System.Runtime.Serialization and the appropriate serialization attributes or is it significantly more involved than that?



Windows Identity Foundation (Claims Based Authentication) for Reporting Services



I see that SQL Server 2008 R2 Reporting Services now supports Claims Based Authentication in Sharepoint 2010, meaning that end users can authenticate with Sharepoint using Claims Based Authentication, and use the same security tokens to connect through to Reporting Services.

I assume that behind the scenes Sharepoint is using Windows Identity Foundation (WIF - formerly codenamed "Geneva") to handle the authentication, and passing this on to Reporting Services.

I'm keen to use Windows Identity Foundation to authenticate with Reporting Services without Sharepoint. We have an existing ASP.NET web application, and we'd like to call Reporting Services from that, passing on the Windows Identity Foundation credentials of the user logged into our web application.

I've done some work on setting up a custom security extension using Forms Authentication (based on the sample), but am not sure how to proceed from there.

Google/Bing hasn't been helpful. Can you please point me to some guidance on how to set up Windows Identity Foundation authentication for Reporting Services?<

Claims Based Authentication (CBA) and Web Services Authentication


I'm planning to use CBA to do authentication and authorization to a document library.  For example, if you have the claim type 'location' equal to 'London' then you are granted access to a folder.  Simple, and it works great from the out-of-the-box web browser interface. 

The question is, can the Web Services interfaces also accept a signed SAML token and use those attribute to do authentication and authorization?  I would prefer to use the CMIS interface where possible.  I understand that the web services are based on WCF, which leads me to believe I can just modify the web.config to add in WCF directives for ws2007HttpBinding->security->message, but will the SP web services code respond by using the identity in the message? 

What I have noticed so far, is that the CMIS interface has directives for only impersonation only.  Since CBA identities do not map to windows accounts, I thinking I'm barking up the wrong tree.  I'm not dead set on CMIS, so if there are other web services available to do CBA, I'm all ears.

There's not a lot of practical material on this, and I'm currently working on a PoC to acheive this goal.  Any help would be greatly appreciated. 



How to Programmatically Upload the files based on the current location in the document library?


how can programmatically to upload a file to document library based on the current location for example when i was inside the subfolders and click on the custom button in ribbon it should upload file to current location entered to document library not hardcoding the subfolders name 

Thanks in advance

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend