Showing posts with label Windows Mobile. Show all posts
Showing posts with label Windows Mobile. Show all posts

Wednesday, April 2, 2008

Microsotf Will Introduce A New Mobile Browser

Microsoft will improve the IE Mobile, following the same philosophy that the iPhone Browser, showing the web pages like a desktop browser. I think this is an important way to the mobile browsers, I have talk anytime about the fragmentation of the mobile browsers and the problems for developers to make cross browser pages. What do you think about this topic?

Also Microsoft will improve the navegation system throught menus in the Windows Mobile 6.1 version. The revolutionary iPhone interface will make that every manufacturer improve the OS version of mobile device, and unique winner of this figth is the final user with better products an a lot of alternatives.

Monday, February 25, 2008

iPhone Widgets Platform SDK


What do you think about develope your own widgets in the iPhone. Perhaps with the SDK presentation a Widget platform will be introduced. In the XCode 3.0 there are an interesing SDK to develope our own widgets. Perhaps take advantage with Dahscode is to use it on the iPhone.


And also a lot of widgets already developed could be used on the iPhone. I think the use of dashcode on the iPhone is really interesting for the industry and every important mobile company as Nokia or Microsoft has their own widget platform. Apple must to take part in the mobile widget market.

The Microsoft widget platform is zumobi. This solution is only for Windows Mobile based phones.

What do you think about Widgets?

Wednesday, December 5, 2007

O.S. & Browser Market Share

The use of iPhone browser is growing rapidly. Is interesting view as the iPhone with is sort cycle life is more used than Windows Mobile.

Also the use of Mac OS X has increased and Windows XP is falling slowly. Perhaps in a few years the most used OS sill be Mac OS X.

View the complete report.

Saturday, October 13, 2007

Vodafone Mobile Script 2.0. New Release


The Vodafone Mobile Script v2.0 is now avaliable to download. You can download the code or the binaries at the next link :
Mobile Script Forge . To view a example of this utilitie view the next link : Mobile Script Video

Friday, August 24, 2007

How to: FullScreen in a Windows Mobile APP C#

Legal Note: This code is based on the code of Oleg Levin. You can find the original in the next Link : Source Code

using System;
using System.Runtime.InteropServices;
using System.Windows.Forms;

[Flags()]
public enum FullScreenFlags : int
{
SwHide = 0,
ShowTaskbar = 0x1,
HideTaskbar = 0x2,
ShowSipButton = 0x4,
HideSipButton = 0x8,
SwRestore = 9,
ShowStartIcon = 0x10,
HideStartIcon = 0x20

}
static class FullScreen
{

#region Win32 API Calls

///
/// The GetCapture function retrieves a handle to the window
///

///
[DllImport("coredll.dll")]
private static extern IntPtr GetCapture();

///
/// The SetCapture function sets the mouse capture to
/// the specified window belonging to the current thread
///

///
///
[DllImport("coredll.dll")]
private static extern IntPtr SetCapture(IntPtr hWnd);

///
/// This function can be used to take over certain areas of the screen
/// It is used to modify the taskbar, Input Panel button,
/// or Start menu icon.
///

///
///
///
[DllImport("aygshell.dll", SetLastError = true)]
private static extern bool SHFullScreen(IntPtr hwnd, int state);

///
/// The function retrieves the handle to the top-level
/// window whose class name and window name match
/// the specified strings. This function does not search child windows.
///

///
///
///
[DllImport("coredll.dll", SetLastError = true)]
private static extern IntPtr FindWindowW(string lpClass, string
lpWindow);

///
/// changes the position and dimensions of the specified window
///

///
///
///
///
///
///
///
[DllImport("coredll.dll", SetLastError = true)]
private static extern IntPtr MoveWindow(IntPtr hwnd, int x, int y, int
w, int l, int repaint);
#endregion

#region General Methods

///
/// obtain the window handle of a .Net window or control
///

///
///
public static IntPtr GetHWnd(Control c)
{
IntPtr hOldWnd = GetCapture();
c.Capture = true;
IntPtr hWnd = GetCapture();
c.Capture = false;
SetCapture(hOldWnd);
return hWnd;



}

///
/// Set Full Screen Mode
///

///
public static void StartFullScreen()
{

//Set Full Screen For Windows CE Device

//Normalize windows state
//form.WindowState = FormWindowState.Normal;
// Here we must to put the windows name
IntPtr iptr = FindWindowW(null, "WindoName");
SHFullScreen(iptr, (int)FullScreenFlags.HideStartIcon & (int)FullScreenFlags.HideTaskbar & (int)FullScreenFlags.HideSipButton);


//detect taskbar height
MoveWindow(iptr, 0 , -40, 240, 395, 1);
//int taskbarHeight = Screen.PrimaryScreen.Bounds .Height - Screen.PrimaryScreen.WorkingArea.Height;

//// move the viewing window north taskbar height to get rid of the command
////bar
iptr = FindWindowW("menu_worker", null);
SHFullScreen(iptr, (int)FullScreenFlags.SwHide);
MoveWindow( iptr, 0, 0, 0, 0, 1);

iptr = FindWindowW("MS_SIPBUTTON", null);
SHFullScreen(iptr, (int)FullScreenFlags.SwHide);
MoveWindow(iptr, 0, 0, 0, 0, 1);

//// move the task bar south taskbar height so that its not visible anylonger
IntPtr iptrTB = FindWindowW("HHTaskBar", null);
SHFullScreen(iptrTB, (int)FullScreenFlags.SwHide);
MoveWindow(iptrTB, 0, 0, 0, 0, 1);



}


///
/// Stop Full Screen Mode
///

///




#endregion
}