Google SubramanyamRaju Xamarin & Windows App Dev Tutorials
Showing posts with label Windows phone 8. Show all posts
Showing posts with label Windows phone 8. Show all posts

Tuesday, 13 December 2016

Visual Studio 2013: Consuming local .asmx webservice with windowsphone device (C#-Xaml)

Introduction:

Hi guys! I hope all you are doing good. Today this article can explain following topics:
  • Creating .asmx webservice in visual studio 2013.
  • Publishing .asmx webservice to IIS(Internet Information Services). So that we can access local webservice in same netwotk.
  • Creating new windowsphone 8 project.
  • Consuming local .asmx webservice with windowsphone 8 device.

Tuesday, 17 May 2016

Windows App Enterprise Code Signing: Install & Export Symantec Certificate

Introduction:

Enterprise or company distribution is the great feature introduced from Windows Phone 8 is the ability to self-publish and distribute applications within an organization. Users can install apps published by their company only after they enroll their phones for app distribution from their company, and only users that are enrolled for app distribution from the company can install the company apps.
There are some general steps that companies must follow to establish a company account, enroll devices, and distribute apps to their enrolled devices. The following sections provide an overview of this process:

Wednesday, 6 January 2016

Silverlight WindowsPhone : How to communicate with C# code from WebBrowser javascript and vice versa, beginners tutorials (C#-XAML)

Introduction:

We can use WebBrowser control in silverlight windows phone(8.0 &8.1) for displaying html content, and so some times we may need to communicate windows phone native code (C#) from webbrowser html content.
For example, lets assume there is one html button in webbrowser content, and when clicking on html button we need to navigate to another windows phone native page. Which means we need to trigger windowsphone native program(i.e, C# code) from javascript function and then navigate to another page.

Also from this article we can learn how to call javascript function from windows phone C# code.

Sunday, 27 December 2015

WindowsPhone Silverlight (8.0 & 8.1) : Upload files to SFTP Server (C# - XAML)

Introduction:

In previous article, I was explained about "Uploading files to FTP server" and this article can explain about "How to access SFTP server from windows phone programming"

WindowsPhone Silverlight (8.0 & 8.1) : Upload files to Ftp Server (C# - XAML)

Introduction:

I am very happy to write an article about FTP server access from windows phone programming using c#.net, there are no direct APIs available for leveraging FTP services in a Windows phone app. From an enterprise perspective, this makes it rather difficult for employees to access files over their phones. Fortunately we have socket support for windows phone to communicate with a multitude of different services, making users feel more connected and available than ever.

Wednesday, 20 May 2015

Windows Phone 8.0: How to post Multipart Data (Text & Image) to a web service (C#-Xaml)

Introduction:

Hi guys I hope all you guys are doing well?. After a long break I am writing this post on my blog and i am really says sorry to my dear visitors, due to my busy work last two months i was not active in my blog. However this post will be explain about 'Multi Part post to webservice in windows phone 8.0' .

This article has following steps:
  •  Read in the byte array contents of the file ( If we are trying to post image to server ) 
  •  Construct the request in the form of dictionary objects ( For both string parameters and image type)
  •  Set up the request message headers /content type
  •  Set the Multipart content of the request 
  •  Send the request to the web service & get the response

Monday, 2 March 2015

WindowsPhone : Instantiating a Custom Object as a resource in XAML, Beginners Tutorials (C#-XAML)

Introduction:

Fortunately in xaml, we can create elements that come from the standard Silverlight and XAML namespaces. And also we can create objects that are instances of our own custom classes, or standard .NET classes in other namespaces. However in this article i am going to explain about 'How to create objects for our custom classes from xaml?".

Tuesday, 3 February 2015

WindowsPhone: Working with exisitng SQLite database (C#-Xaml)

Introduction:

Recently i got some few question from our blog visitors,as they want to work with already existing sqlite database file.So their requirement is they need to import existing database file to windowsphone application and then performing all Sqlite CRUID(Create,Read,Update,Insert,delete) operations.Ok lets assume from previous article we are adding some contacts into 'ContactsManager.sqlite' file like below:

Friday, 30 January 2015

WindowsPhone 8.0 : Change default Emulator skin border with Skin Switcher,Beginners Tip

Introduction:

Are you got bored with the default skin of Windows Phone 8 Emulator? You can change the look of your Windows Phone 8 emulator by using the WP8 Emulator Skin Switcher to make it look like a Nokia Lumia 920, HTC 8X or Samsung Ativ S.

Wednesday, 17 December 2014

WindowsPhone : Working with ListBox Items having Hyperlinks (C#-Xaml)

Introduction:

Sometimes we may need to detect hyperlinks from given message.For example I have a Listbox which is binding with multiple message items,but here problem is when user sent hyperlinks to listboxitem message ,then we need to detect hyperlinks from message content and provide action for hyperlink to navigate to linked page.So this post is explained about "How to work with ListboxItems having hyperlinks?". At present this post may not be useful for you,but i am sure it will definitely helpful for you in future :)

Wednesday, 26 November 2014

WindowsPhone: Image crop with rectangle ,Beginners Tutorials (C#-XAML)

Introduction:

Especially for photo apps,we may need to crop the image with rectangle which is little bit difficult to implement through the code.However i will explained very clearly in this post with help of WriteableBitmap .

Friday, 21 November 2014

WindowsPhone: Write Text on Image (C#-XAML)

Introduction:

Recently one of my blog follower was requested for a sample as 'he want to write text on image with MouseMove event'.For this question my previous article is enough but not efficient.Because there i was set text on image at static (x,y) co-ordinates with help of WriteableBitmap. In this sample we need to write text on dynamic (x,y) co-ordinates and so i thought 'WriteableBitmapEx' library is best match for this requirement.Because this library adds more extensions to WriteableBitmap,there by we can do direct manipulation of a bitmap and could be used to generate fast procedural images by drawing directly to a bitmap. 

Monday, 17 November 2014

WindowsPhone : Making nice custom loader/rotator with related text (C#-XAML)

Introduction:

I already posted this kind of article here.And it is very nice example for making custom loader.However we need to provide some kind of progress/loaders until user data is loaded.And it is good practices user should knowing about his data is still loading from web.In previous article i introduce loader without related text.But now I thought It's better to showing related text with loader,So user can get an idea about for which date he is waiting so far..

Wednesday, 13 August 2014

WindowsPhone Dev centre:Wow! now most of app "Publishers" can respond to app customers reviews in windowphone store:

Introduction:

How it is sweet to listen?and i am very happy to share this info to my blog visitors.Microsoft again one step forward is now most of developers/publishers can respond to reviews of our WindowsPhone apps directly from Dev Center. And this feature appeared in the Google Play Store last year and has been highly popular with developers, so it's good to see it coming to Microsoft's app stores as well. So far the main concern is to help you maintain closer contact with users to inform them of new features, bugs you’ve addressed, as well as get feedback and ideas to improve your app.
More Windows Phone developers are now able to respond to comments and reviews from customers in the Windows Phone Store. Since April, certain developers had the ability to answer inquiries related to a specific app. The rollout of this feature has been taking place slowly, with more developers supported each month, and is now proceeding at a quicker pace.

Windows Phone 8 Battery API:Retreiving the Remaining time of device battery c#

Introduction:

The Battery class is available from "Windows.Phone.Devices.Power" namespace which includes the property "RemainingDischargeTime" which is a read only property that gets the time left for the windows phone device battery to be fully discharged.Get the access to the Battery instance with the Battery.GetDefault() and then use the property RemainingDischargeTime to retreive the time left.The Battery API makes a nice addition to the WP8 SDK.I can see in the near future that some applications will display the battery metrics on a Live Tile or in the application that hides the System Tray.

Monday, 4 August 2014

WindowsPhone 8 SQLite: How to Store Data in DataBase for Beginners Tutorial(C#-XAML)

Introduction:

In our daily development,some times we may need to store data and access it for later use.So as developer choice we need to decide "which way is best to store data?" and this decision making would be change based on amount of data to be store.However windowsphone is very good at this case . Because windowsphone is provided following ways to store  our application data.

Tuesday, 15 July 2014

WindowsPhone: Get the controls which are visible with in the screen bounds(C#-XAML)

Introduction:

This post is explained about "How to get child items in windowsphone " as well "How to get the controls which are visible with in the screen bounds?".


Friday, 11 July 2014

Windows App Development Tips:Top Basics for Beginners (C#-XAML)

This post is only for knowing about tips which is helpful in our daily development ,some times basic tips will be very silly,but if you don't know about them,then those makes may be one day or much time to learn them .And it is very very important thing is to knowing some useful tips ,which are helpful to boost up our development without wastage of our valuable time.I thought this post is going to much useful for blog visitors.So i just add the new tip when i got it in my development.Stay tuned up-coming tips by book mark this post. 

WindowsPhone 8.0 vs WindowsPhone 8.1: Alternative way to get screen resolutions(C#-XAML)

Introduction:

There may be many cases ,in which you need to supply higher quality images that should be fit into current device screen resolutions and its makes nice attractions for app users. Fortunately windowsphone is very good at detecting screen resolutions.However previously in windowsphone 8.0,to determine screen resolutions we are using the "App.Current.Host.Content.ScaleFactor" .But now its not working in windowsphone 8.1,So this post is explained about what is the alternative way for detecting screen resolutions in windowsphone store 8.1.

Tuesday, 24 June 2014

WindowsPhone 8.0 vs WindowsPhone 8.1:New ways for detecting Page Orientations on Phone(C#-XAML)

Introduction:

It is very important that your app looks good and functions perfectly in all orientations .And it is the best way to attract app users,fortunately windows phone can provide best strategies for making our app in all orientations ,but in some times we may need to  detect page orientations(portrait up, portrait down, landscape left, landscape right) and dynamically change the our UI design.However previously in windowsphone 8.0 we are detecting page orientations with help of 'OrientationChanged' event,but  in windowsphone store 8.1 this event is directly no longer available,so this post is explained about 'What are the alternative ways for detecting page orientation in wp8.1".In addition this post is explained about "SimpleOrientation" sensor class and how it is useful for detecting page orientations in windows phone store 8.1.
Search Engine Submission - AddMe