Google SubramanyamRaju Xamarin & Windows App Dev Tutorials
Showing posts with label Windows Phone 7. Show all posts
Showing posts with label Windows Phone 7. Show all posts

Friday, 6 March 2015

Windows Phone : Login application sample, beginners tutorials (C#-XAML)

Introduction:

Recently i recieved one question from one of our blog visitor and now-days login page is very important step for most of application.And it is very helpful for allowing only authenticated user's can use our app.

For example the process is like,
1. First user need to fill registration form.
2. Login with registered username & password
3. After login successfully ,app need to show the related login user details until SignOut
4. SignOut from the application,so that it will redirect to login page for another login.

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?".

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 .

Monday, 24 November 2014

WindowsPhone: Drag and Drop the control within parent layout, beginners tutorials (C#-Xaml)

Introduction:

Some times we may need to drag and drop the specific control around the screen.So it may chance to control will be not visible if drag & drop meets out of screen boundaries.However we can easily resolve this issue using "built-in Windows Phone behaviors" (In our sample we are using 'Motion behaviors' ,i.e MouseDragElementBehavior).

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, 22 October 2014

WindowsPhone: How to programmatically set TextBlock Foreground color with HexColor /Color Codes (C#-XAML)

Introduction:

Hi Guys,HAPPY DIWALI TO YOU AND TO ALL YOUR FAMILY MEMBERS...!As a long time i wrote my previous article .Now i am back to write my next article ,Ok all right!
In this article i want share a simple tip for "How to programmatically set TextBlock Foreground color with Hex Color(Ex:#5490CC) in WindowsPhone "

Friday, 22 August 2014

WindowsPhone :Get X and Y coordinates of user tap/touch relative to screen(C#-XAML)

Introduction:

This article is explained about "how to get the X Y coordinates of a touch/tap on a touchscreen device powered by WindowsPhone".And we are very lucky,there are tons of guides on how to add a touch handle to a specific screen windows,but I would like to take advantage of "Touch.FrameReported" event is defined in the namespace "System.Windows.Input" and the event occurs when a touch message is sent from the UI.

Note:Manipulation events are the recommended way to handle user input. Unless you have a specific need, you should avoid using mouse events in your Silverlight applications for Windows Phone for performance and hardware compatibility reasons. Instead, you should use manipulation events.

Thursday, 19 June 2014

WindowsPhone ListBox Search: HightLight the search result text with specific color(C#-XAML)

Introduction:

In prev post i was explained about get child items in windowsphone,this post is explained about "How to filter/search the listbox items based on text entered in SearchTextBox?" & "How to highlight the search text color in every mapped listbox items?".Oh apart from these two questions ,for the first question there is lot of resources are available to do that,in other hand second question is very interesting requirement and it is little bit complicated to dynamically highlight listbox items text color  which is mapped by text entered in SearchTextBox . Because indirectly it is the way of communication between SearchTextBox & ListBox DataTemplate controls,so we need to get child items of listbox datatemplate and then dynamically format the child items text color with " Run " object element.However this post will gives you simple solution for above both two questions.

Wednesday, 28 May 2014

WindowsPhone Facebook Integration:How to post message/image to FaceBook Fan Page(C#-XAML)

Introduction:


Now its time to a requirement is "How to post message/image to Facebook Fan Page from windows phone".Actually there is lot of resources is available for posting message on facebook profile wall page.But for posting message on facebook fan page,there is no resources available.However we will talk with this post.

Tuesday, 13 May 2014

WindowsPhone HttpWebRequest vs WebClient:Post JSON data to WebService Beginners Tutorial(C#-XAML)

Introduction:

What is webservice?

Web services allow different applications from different sources to communicate with each other without time-consuming custom coding, and because all communication is in XML, Web services are not tied to any one operating system or programming language.

For example, Java can talk with Perl, Windows applications can talk with UNIX applications.and it is way of integrating Web-based applications using the XML, SOAP, WSDL and UDDI open standards over an Internet protocol backbone

Tuesday, 6 May 2014

WindowsPhone TilePanel: Repeating(Tiling) image background(C#-XAML)

Introduction:
Sometimes we may need to make repeat single image(ex.21x20) across the windows phone background.It is very simple process and also may be useful requirement for you in future.Because it is good way for providing nice background in a page.lets understand the sample

Monday, 28 April 2014

WindowsPhone KeyBoard: Prevent page screen scrolling up when soft keyboard is opened(C#-XAML)

Problem:
​Generally in windows phone when TextBox is focus soft-keyboard will be open ,but here problem is by default page screen to shift upwards when keyboard opened and again shift previous position when user closed the keyboard by tap on screen.Actually this question is raised at MSDN WindowsPhone Development Forums.Even  lot of times this question is raised by developers and however more resource's available for solving this issue. 
   Requirement :Page UI having header,body and footer. In page UI there is a TextBox  just above the footer. When user focus on this TextBox the page header is going to invisible.But user doesn't want to page header shift upwards when keyboard is opened


Note: This Sample is targeted on WindowsPhone 7.1

Thursday, 27 March 2014

WindowsPhone 8: Crop Image Area with Different Shapes using Clip Property And Image selection with Crop Using PhotoChooserTask(C#-XAML)

Introduction

In this post i am going to explain about "How to crop a portion of image area with Clip Property in windows phone" (and)"How to crop  album image selection area with PhotoChosserTask".Guys its quit interesting concepts,and i hope this sample will be definitely helpful for you in future windows phone  apps

Tuesday, 25 March 2014

Windows Phone ImageMergings: Merging Image with Text/Multiple Images(C#-XAML)

Introduction


Hi guys! its quit very interesting concept for me is "Merging multiple image on single image control in windows phone" or "Merging image with text" .However in this post i am going to explain how can we achieve these two Requirements in our windows phone app with c#

Wednesday, 26 February 2014

Formatted text in a TextBlock in Windows Phone C#

You can also display a series of strings in a TextBlock, where each string has a different formatting. You can do this by using a Run element to display each string with its formatting and by separating each Run element with a LineBreak element.
The following XAML shows how to define several differently formatted text strings in a TextBlock by using Run objects separated with a LineBreak.

Monday, 24 February 2014

Top Windows Phone interview questions c# - Part1

                 Windows Phone Basic Questions
1. LifeCycle Of WindowsPhone:
  App Launching=>Running=> OnNavigatedFrom(NavigationEventArgs)=>deactivated=>dormanent (stopped and no processing takes place)=>tombstoned(app has been terminated and it will be relaunched and the application can use the preserved data to restore state) =>Activated=> OnNavigatedTo(NavigationEventArgs) =>Closing=>raised when the user navigates backwards past the first page of an app

Tuesday, 28 January 2014

Coding4Fun:SuperImage Bindind Listbox with more Captured Images without out-of-memory -Part 2

Introduction

In Previous Part1 article we can resolve memory issue with listbox images,but unfortunate there is an issue In Listpage.xaml ,Because listbox Ui loads little bit slow when there are more caprtured images.The reason is in MainPage i was storing whole caprured imagesbytes in isolated storage and readed it on Listpage.xaml,it is little bit more complex for loading UI when reading whole captrured  imagebytes.
So that in this part i am going to introduce best solution is,Direclty reference the isostore image path instead of storing and reading whole image bytes using Coding4Fun Toolkit: Introducing SuperImage .

Monday, 27 January 2014

Windows Phone 8 Listbox Images out of memory exception c# - Part1

Introduction

Images are the best attraction for every mobile app.But Users have high expectations when it comes to using applications on their mobile devices. It is important to have good performance and quality in your applications and there are a number of things you can do to deliver great performance.So as s developer it is more quit difficult to overcome out of memory exception,however I’ll list a few that apply to memory, images, data binding and more.and i hope i will definately helpful for who are having same problem.

Monday, 6 January 2014

How to store ListBox items into IsolatedStorage in WindowsPhone 8 c#

Introduction

In every mobile app,there is requirement for storing data and accessing data. We need to store data in our Phones to persist data when the application is not running.However fortunatley Windows Phone 7 &windows phone 8 provides a secure way to store data into Isolated Store.Isolated Storage, as the name suggests is a special virtualized file system that every application can access for standard IO operations yet the file is unavailable to any other application. Hence the files stored by one application is isolated from another. 
Search Engine Submission - AddMe