Friday, November 15, 2013

New Windows Phone App – GuruNanak Mantra

 

Dear All,

It give me immense pleasure to introduce Indiandotnet’s new windows phone app which is GuruNanak Mantra.

This app help you in many ways to make your cool calm and happy.

GuruNanakMantra

Download app by below url

Gurunanak app

Enjoy.

Regards,

Rajat Jaiswal

Wahe Guru da Khalsa Wahe Guru di Fathe.

Monday, October 28, 2013

Sai mantra – New Windows app for peace, prosperity and joy download now

Dear All,

It give me immense pleasure to introduce new windows app  “Sai Mantra”.

Enjoy the sai mantra.

saiMantra_app

You can download the windows app from http://www.windowsphone.com/en-us/store/app/saimantra/653b08fc-36b4-4312-a754-8536a2398892

Thanks & Best Regards,

Rajat Jaiswal

Friday, October 25, 2013

New Windows Phone App – Mata Mantra Hurry up and download now.

 

Dear All,

How are you ?

It give me pleasure to introduce a new application develop by  “Indiandotnet”.  The application is all about “Durga Mantra” which increase peace, prosperity  so enjoy by downloading following windows app with following link.

http://www.windowsphone.com/en-us/store/app/mataji-mantra/dcfa42bd-09fc-4c9e-bd66-a9caa5e75864

Mataji_app

Enjoy :)

Thanks & Best Regards,

Rajat Jaiswal

Monday, October 21, 2013

New windows App from Indiandotnet in to increase peace, prosperity and success enjoy downloading it and share.

 

Dear All,

it give me immense pleasure to introduce that “Indiandotnet” release first version of  peace mantra “Ganesha Mantra”

This mantra help you in many ways.

I would like to thank many friends “SK”, “SV” who helped me in this idea and thanks all the other team member who helped me and provided feedback.

so why are you waiting enjoy by downloading  http://www.windowsphone.com/en-us/store/app/ganesha-mantra/6c8225fa-26f9-4cc5-ac20-09a67c9c851a

GaneshaMantra_Indiandotnet

So Just download and enjoy & share

Many more to come in this week.

Enjoy learning, enjoy sharing.

|| Shri Ganeshaye namah ||

 

Thanks

Indiandotnet Team

Tuesday, October 15, 2013

How to check whether music already running in windows phone or not when you are trying to play music from your app?


Dear Friends,
Once your app is complete and  you have some background music you try to run it on simulator and you think everything working.
When you submit the app in app store you get error test case  6.5 failed.
Which Says
When the user is already playing music on the phone when the app is launched, the app must not pause, resume, or stop the active music in the phone” So next question arises how to pass this test. so its fairly simple Just follow below steps assuming that your page has a media player control with name  mplayer. Step 1:- Add reference of Microsoft.Xna.Framework & Microsoft.Xna.Framework.Media on your page Step 2: You need to write following line
   1: FrameworkDispatcher.Update();

   2:  

   3: f(MediaPlayer.GameHasControl)

   4: mplayer.play()}else if(MessageBox.Show("Isitoktostopcurrentlyplayingmusicandplaychant?")==MessageBoxResult.OK)

   5:  

   6:  

   7: player.play();}


Now your issue is resolved.
to test this just play music in your app then run your app. It will give you popup. which we wrote above.
I hope you can submit your app now.
Thanks
Rajat Jaiswal









Monday, September 9, 2013

How to set Windows Phone Page orientation in 5 minutes

Dear Friends,

Today we start with some basic but important feature for Windows Phone which is Orientation of screen.  As we know windows mobile phone is handy device a user can handle it any ways like portrait or landscape. Our main aim here is to change our screen orientation according to user action. Windows phone page has two properties for this activity.

When you open the XAML of the page in the phone application page you will find SupportedOrientations and Orientation by default these properties having value Portrait.

Support Orientations can have following property

a) Landscape  (It support Landscape view only)

b) Portrait     ( It support Portrait View only)

c) PortraitOrLandScape  (It support both View )

While Orientation can have following values

a) Landscape

b) Portrait

c) LandscapeLeft

d) LandscapeRight

e) PortraitUp

f) PortraitDown

g) None

To change the page layout we need to set  supportOrientation property to “portraitOrLandscape” And design the page in such a way that it automatically resize according to screen and take their position else you have to do programming for it to put control at proper place.

In current example I have use stack panel and in this stack panel I have used image control. To enable page orientation I have just change the support orientation property.  To know we are seeing which orientation I have added an event which is page orientation event.

You can say it will be simplest example for more information please download the project. (indiandotnet_Wp7_PageOrientation.zip)

https://skydrive.live.com/?cid=1eda2012469ff8ad&id=1EDA2012469FF8AD!243

 

Thanks & Best Regards,

Rajat Jaiswal

Simple code for calling from Windows Phone 7 using C# code

Hello friends,

Today I will explain how to make call using your C# code in Windows Phone.

It is very easy code you just need to write few lines and you are good to go. I will explain the concept of chooser and launchers later on please don’t worry about that right now.

So we start with a new project in which we add reference of Microsoft.Phone.Tasks.

On the screen we have added few names & there phone numbers textboxes.

We have added a call button for each name. Please see the below snap for design. Now in button click event you need to do following

  PhoneCallTask callTask = new PhoneCallTask();

callTask.DisplayName = this.txtName1.Text;

callTask.PhoneNumber = this.txtPhone1.Text;

callTask.Show();

Now when you click the call button you will find now you will get following screen which is a confirmation screen. In confirmation screen you will find the Display Name “Rajat Jaiswal” and phone number is there.

Now you can press call button and you will find you are calling Rajat Jaiswal at given number .

You can download the code at https://skydrive.live.com/?cid=1eda2012469ff8ad&id=1EDA2012469FF8AD!243

Enjoy calling

Rajat Jaiswal