Skip to main content

Posts

Showing posts from December, 2010

Location sharing and updating in iphone iOS 4

iOS Devices (iPhone, iPod touch, iPad) On the native application, which you can download from the App Store: Enable location services on your device by going from your Home screen to Settings >General and turning "Location Services" to On. Open the application and sign in to your Google Account if you haven't yet (Google Apps users learn more). Enable background location reporting by going to Settings > Background updating > and turning to On. Note: the native application will run on the iPhone 3GS, iPhone 4, iPad, and iPod touch (3rd/4th generation), with iOS 4+. However, background location updating is only supported on the iPhone 3GS, iPhone 4, and iPad 3G. Your location will only update in the background when you're moving (exceptions: when you switch the app from foreground to background mode, or go from a "moving" to a "stationary" state, the app will continue to update your location for a few minutes). The background locatio...

Async in c#, web service Credential

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="SimActivation.aspx.cs"  Async="true" Inherits="SimActivation" %> com.att.wireless.eod.Provision p = new com.att.wireless.eod.Provision(); p.Credentials = new System.Net.NetworkCredential("xx", "xx", "costudio.com"); p.Activate_SIM_PPUCompleted +=new com.att.wireless.eod.Activate_SIM_PPUCompletedEventHandler(UpdatePhoneNumber); p.Activate_SIM_PPUAsync(koreId, "VRG1", activateDate, "lbt", string.Empty, string.Empty, string.Empty, string.Empty, string.Empty, string.Empty, 99, string.Empty); public void UpdatePhoneNumber(object o, com.att.wireless.eod.Activate_SIM_PPUCompletedEventArgs e) { if (e.Result.Status_Code.Equals("1")) dm.ActivateWithPhone(koreId, e.Result.MSISDN); Response.Write("Status Code: " + e.Result.Status_Code + ", MSISDN:" + e.Result.MSISDN + ", Batch_Identi...