Wednesday, August 29, 2007

Apple Will Introduce New iPods

Apple's iPod would be updated to wide screen at an event scheduled for Sept. 5. Today Apple shares jump to 132.65. I think new iPod should be like iPhone wide screen, with multitouch. But if this was true maybe the iPhone sales might go down. What do you think about?.

Read More about Apple shares: http://biz.yahoo.com/ap/070829/apple_mover.html?.v=1

Friday, August 24, 2007

Take a Look At The Beautiful View



From the Lafayette Stores. A free view of Paris.

Learning COCOA-Objective-C

If you want an easy way to learn COCOA Objetive-C, you can visit http://www.cocoacast.com. This web site provides a set of videocast explaining how to develope in COCOA - Objective C, with X-Code.

Using an iPod as Mac Os X Start Up Disk

It's very easy. Only we need to put the iPod as disk mode, an then install the OS in the iPod. You can install it, without restart the computer, using the next executable in the Mac Os X DVD : \System\Installation\Packages\OSInstall.mpkg.

The next steep to start from the ipod is restart the computer, pushing alt key to select the start disk. This utilitie will find bootable OS in all the computer units. And the iPod must appear.

I test it with FireWire 400 Mbps and it runs well. You can use it if you want to have different OS versions.

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
}

Monday, August 20, 2007

Guggenheim Bilbao


On July I had the opportunity to visit the Guggenheim museum, the permanent collection are very interesting mainly Richar Serra's "The Matter of Time", there are a few of big sculptures with shapes not present in nature. The sensations while you are walking throuth the artwork are amazing. Installed in the largest gallery of the Frank Gehry museum.

KTL's myspace

This punk band is the most important in the Independent Republic of Moncayo. The songs are very fine. I recommend you. Follow this link:
KTL

Warning on Web 2.0

Few days ago a notice was published a notice, about Wikipedia. It told about wikipedia has been used to write fake articles and rewrite another true articles. Some institutions like CIA, FBI and other writes fakes in the free encyclopedia. An app called WikiScanner writed by a Hacker, allow make searchs, and discover through IP address who writes or updates the article.

First Entry

Welcome to my new blog, I try to write about technology, but also about music, life, films, art....