“Chanakya Neeti” – accumulated 2000+ rating in ‘windows phone India’ market.


I am happy to share the news that one of my windows phone app has been downloaded 60,000+ times and has accumulated over 2000+ reviews in the Windows Phone India app store.

I would like to say many thanks to WP users who downloaded my apps and gave their valuable feedback and reviews to make this app better. Here I am putting some wonderful reviews that Chanakaya Neeti got in recent days.

cnreviewpic

 

If you have windows phone and love to learn lessons of life, then this is must having app for you. If you haven’t downloaded this app, I request you to go and download “chanakya neeti” to explore all the 17 lessons of life.

Chanakya Neeti is also listed in best rated – book + reference category.
top-rated-apps/books-reference/booksandreference

cnreview2

 

App Link – Chanakya Neeti [ Click Me ]

Posted in General, Windows Phone, Windows Phone App | Tagged , | Leave a comment

“10 Legends 1000 Quotes” – A free app for Windows Phone users.


Here come update of my app “10 Legends 1000 Quotes” in the windows phone store. This application is free for all windows phone users. If you love to read quotes and would like to read best quotes said by world famous legends then you should try this app.

About App -

10 Legends and 1000 Quotes is best Windows Phone 8 app for those who love legends and get inspiration from their quotes.

Legends are :- Mahatma Gandhi, Albert Einstein, Gautam Buddha, Martin Luther, Nelson Mandela, Dalai Lama, Abraham Lincoln, Aristotle, William Shakespeare and Oscar Wild.

Features -
** Detail biography of 10 Legends
** Around 100 quotes of each legends
** 1000 Quotes Collections.
** You Share quotes to Social Sites.
** You can message quotes to others.
** Copy and Paste features, You can copy each and every quotes to share on other places.

Download App -
Get Free 10 Legends 1000 Quotes

Note – WP users are really loving this app. I got many feedback regarding to add more legends and their biography. so stay tuned to get more features in coming version.

Screenshots -

Posted in General, Uncategorized, Windows Phone, Windows Phone App | Tagged , , , | Leave a comment

“Compare World Time” – A free app for Windows Phone Users to find and compare date and time of different countries and places


Here come my one more windows phone application in the windows phone store. This application is free for all windows phone users. With the help of this application, someone can easily find the exact time of any places and moreover they can compare time between different places. Its works simply as World Time Converter.

About App -
A simple yet elegant World Time application with almost all countries and their capital to add. Compare World Time app help you to view times of different places around the globe.It provides a list of predefined zones from which you can select and you can also add custom defined zones.
Features -
* One screen application. Add and delete from the same screen.
* Search for a city or country
* Long Press on a row to Delete

Download App -
Get free Compare World Time App -[Download]

Note – I am going to implement some more and Interesting features in this app. If you have any suggestions or feedback. please ping me. I’ll happy to listen your Ideas.

Screenshot -

I hope you liked this app. :)

Posted in General, Windows Phone, Windows Phone App | Tagged , , | 1 Comment

How to solve “Not enough memory” error and Windows Phone 8 Emulator does not start in Windows 8.1


If you are a Windows Phone developer and have upgraded your system from windows 8 to windows 8.1 then you might have faced “Not enough memory” error problem. If you are facing same problem then stop worrying, Microsoft exposed the symptom, reasons and solution of “Not enough memory” error message and Windows Phone 8 Emulator does not start in Windows 8.1
Here is the link – http://support.microsoft.com/kb/2911380

Reason -

If you are a windows 8.1 user and your system having less than 8 GB ram and moreover you are simultaneously running many programs with developing apps for windows phone, then it is quite obvious that Windows Phone 8 emulator won’t start and will throw a message as given below :

The Windows Phone Emulator wasn’t able to ensure the virtual machine was running: Something happened while starting a virtual machine: ‘Emulator Name’ could not initialize. (Virtual machine ID GUID) Not enough memory in the system to start the virtual machine Emulator Name with ram size 1024 megabytes. (Virtual machine ID GUID)”

rrk-wpmemoryerror

Ok fine, but a question can stuck in your mind that,
How same program used to run in windows 8 platform but it fails on windows 8.1 ?
Microsoft stated that this problem occurs in Windows 8.1 because the operating system is more conservative than the Windows 8 version about how it allocates memory to maintain consistently high performance. In Windows 8.1, Hyper-V memory management accounts for the memory that is consumed by programs before it starts any emulator instances. Hyper-V did not make this consideration in Windows 8.

Solution -

If the emulator still does not start, you can disable the Hyper-V runtime memory monitoring functionality by adding a MemoryReserve registry.

To do this, follow these steps:

Step 1) Start Registry Editor.
Step 2) Locate the following registry subkey: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Virtualization
Step 3) Right-click the Virtualization folder, point to New, and then click DWORD Value.
Step 4) Type MemoryReserve, and then press Enter.
Step 5) Double-click MemoryReserve,
Step 6) Under Value data field, type 2048
Step 7) Select Decimal option and click OK
Step 8) Close Registry Editor
Step 9) Restart your system.

Note : Before you modify anything in registry file, make sure that you made the back up the registry for restoration in case any problems occur.

Posted in CodeProject, Tips&Tricks, Windows 8, Windows Phone | Tagged , , | Leave a comment

How to Save Image in Local Photos album of Windows Phone ?


Sometimes you may want to develop a windows phone app which containing many images to view like WallPaper app for Windows Phone LockScreen, Celebrity album, etc . It is quite easy to display images by using Image Control and passing source path to respective Image Control, but is it enough to just give functionality to see images only ? User always like to keep good images in their phone. so, In that condition user should have an app that can provide facility of save images also. This blog simply shows how you can write code that would allow user to save Image locally in their Save Image Photo album.

Implementation -

Here, you can see some piece of code which containing a function SaveImageToPhotoHub with few statements and a parameter type WriteableBitmap. This SaveImageToPhotoHub function returns either true or false output. To work with this function you just need to pass needed Image as parameter in SaveImageToPhotoHub function.

 private bool SaveImageToPhotoHub(WriteableBitmap bmp)
        {

            using (var mediaLibrary = new MediaLibrary())
            {
                using (var stream = new MemoryStream())
                {
                    var fileName = string.Format("Gs{0}.jpg", Guid.NewGuid());
                    bmp.SaveJpeg(stream, bmp.PixelWidth, bmp.PixelHeight, 0, 100);
                    stream.Seek(0, SeekOrigin.Begin);
                    var picture = mediaLibrary.SavePicture(fileName, stream);
                    if (picture.Name.Contains(fileName)) return true;
                }
            }
            return false;
        }

WriteableBitmap provides a BitmapSource that can be written to and updated. To declare WritableBitmap class you must include System.Windows.Media.Imaging namespace

using System.Windows.Media.Imaging;

MediaLibrary is a class which is used to access songs, playlists, and pictures in the device’s media library. To acess MediaLibrary class you need to include Microsoft.Xna.Framework.Media namespace

using Microsoft.Xna.Framework.Media;

SaveJpeg is an Extentions method which is responsible to encodes a WriteableBitmap object into a JPEG stream, with parameters for setting the target width and height of the JPEG file.

SavePicture is a method of MediaLibrary class which saves the image contained in the stream object to the media library, and then returns that saved image as a picture object.

To acess MemoryStream class you need to include System.IO namespace.

using System.IO;

Now take a look how to use the above method for saving image.

private void Save_Click(object sender, EventArgs e)
        {
            WriteableBitmap bmp = new WriteableBitmap(imgview, null);
            if (SaveImageToPhotoHub(bmp))
            {
                MessageBox.Show("Image Saved", "Information", MessageBoxButton.OK);
            }
            else
            {
                MessageBox.Show("Error : Image Not Saved", "Information", MessageBoxButton.OK);
            }
        }

Here, imgView is an Image Control which is placed in xaml part


Note :- To run this code properly your app should have capabilities to access Windows Phone windows phone media library hub. You can simply do this by checking ID_CAP_MEDIALIB_PHOTO from capabilities tab of WMAppManifest.xml

Isn’t it so easy to learn how to save image locally on Windows Phone device. I hope you liked this article and this will help you while writing code for your app.

Posted in C#, CodeProject, Tips&Tricks, Windows Phone, Windows Phone App | Tagged , , , , | Leave a comment