Skip to main content

Posts

iPhone Development on Windows XP / Vista

Few days back i have decided to burn my hands with iPhone Application development and googled around apple website. I was utterly disappointed by the fact that i would need Mac OS to develop iPhone application using iPhone SDK from Apple. I felt awful about this fact and cursed Apple for not providing SDK for Windows OS. ( But i think i need to understand that Apple wants to increase their MacOS sales with help of iPhone popularity ). Having said that there is NO iPhone SDK available for Windows i started searching Net for iPhone Dev on Windows and i happened to come across following USEFUL website. http://code.google.com/p/winchain/wiki/HowToUse I still need to explore. You may want to try this tool if you are interested in iPhone app development on Windows PC.

WinCE / Windows Mobile Show / Hide Taskbar

Hello Folks, I am back with yet another Win CE / Windows Mobile articles, i don't want call this as an articles rather i would like to call it as some quick peek into WinCE / Windows Mobile useful functions. Lately i have a requirement where i need to run my application in full screen mode which means i have to disable task bar to let my application run n full screen mode. Initially this sounds like BIG task but after peeping into MSDN i found that it is a cakewalk. Following snippet does the trick. You are welcome to use this Function and let me know if you need any help. // blnHide = true means HIDE and false means SHOW void ShowHideTaskBar(bool blnHide) { // Find the taskbar window. CWnd* pWnd = CWnd::FindWindow(L"HHTaskBar", L""); if( pWnd ) { if( blnHide ) pWnd->ShowWindow(SW_HIDE); else pWnd->ShowWindow(SW_SHOW); } return; } //ShowHideTaskBar Thats it ... simple right !!!!!

Windows Mobile / WinCE Custom Ping function

I am back and yet again Windows Mobile / WinCE tutorial but this time soemthing interesting and on networking side. Lately i was developing Wireless PDA Update application which requires me to check if server which contains ROM image files is reachble before attempting to download files from the same. I thought that there is a WinCE API available to perform this task but to my surprise there is NO direct API however helper API is available. Then i have constructed an API which takes parameters and returns true if ping successful. Here is the function .... If you require full application do let me know so that i can upload to any free server. int Ping(PWCHAR wszHostname, int iWaitTime) { WCHAR wszAdd[MAX_PATH] = L"\0"; in_addr addr; HANDLE hFile; IP_OPTION_INFORMATION ipInfo ; IPAddr ipAddress ; ICMP_ECHO_REPLY icmpEcho; int iRet = ...

Windows Mobile / Windows CE Device Power States

Hello Folks, I am back with yet another Windows Mobile / Windows CE article, this time on Power Management and Notifications. You must be wondering why i am posting lot of Windows CE related articles these days, reason is simple i am developing some WinCE device system related application where i need to explore lot of system level stuff. I thought of sharing this useful information to my buddies. I strongly believe that PDA / Touch Screen Mobiles / Professional Mobile / Dual Mode PDA are going to rule the world and believe me people want everything in this little damn piece of electronic device and many companies are working towards make this possible. Being obsessed with electronic gadgets, sometime i ask myself what i want from my Mobile, i explained to myself that i want following things 1. Robust Phone capabilities 2. High speed internet (preferably WLAN and 3G when i am not in WiFi coverage). 3. An Accurate GPS system with inbuilt Maps (It should latch to GPS satellites in no ti...

Kill Process for Windows Mobile / Pocket PC

Lately i was working on Windows CE process view and way to kill particuler process in WIndows Mobile. Interestly there is "Running Programs" option available uder Start -> Settings -> System -> Memory -> Running programs but unfortunately it does not show all system related / critical processes running, so ihave decided to comeup with my own Kill Process application. ToolHelp Library provides APIs which are usefule to handle processes. So we would need following header file and libraries to include in our solution / project. 1. Tlhelp32.h. 2. Kernel32.lib Steps: 1. Take snapshot of currently executing processes in the system using API "CreateToolhelp32Snapshot" which returns a handle to the snapshot for further usage 2. Then walk through the process list using Process32First() to get the details of the first process into a PROCESSENTRY32 predefined and iterate this process using Process32Next(). 3. After getting handle for first process compare ...

Video Tutorial - Programming Languages

As promised earlier that i will try to present some useful information on this blog, Here I present to you my findings on programming language video tutorials . I love C/C++ language and i believe it is mandatory for any enthusiastic programmer to learn C and C++. I found some good introductory video lectures on C++, Java, Perl, and Python. Needles to say i have collected these links from various websites and blog spots. Please post your findings so that others can benefit. Have fun!!!!!!!!!!! C/C++ Related video: ___________________ C++ Programming Tutorial C++ Video Tutorial 1 This video gives a brief introduction to basic commands and you get to make a program that takes 3 numbers that a user inputs and averages them. C++ Video Tutorial 2a C++ Video Tutorial 2b Tutorial going through loops, switch statements, if else statements and applying them to another fairly simple program. C++ Video Tutorial 3 C++ Video Tutorial 4a C++ Video Tutorial 4b Goi...

People in USA - Credit Score ,Facts & tips

I thought of sharing this useful information to all buddies who are in USA and concerned about Credit score. As you all now that Credit score play major role in USA. Let me explain you what is "Credit score" - A credit score is a numerical expression based on a statistical analysis of a person's credit files, to represent the credit worthiness of that person, which is the perceived likelihood that the person will pay debts in a timely manner. A credit score is primarily based on credit report information, typically sourced from credit bureaus / credit reference agencies. Lenders, such as banks and credit card companies , use credit scores to evaluate the potential risk posed by lending money to consumers and to mitigate losses due to bad debt. Lenders use credit scores to determine who qualifies for a loan, at what interest rate , and what credit limits. The use of credit or identity scoring prior to authorizing access or granting credit is an implementation of a tru...