Tweak-uri pt Windows Mobile 5.0

13 464 vizualizări
244 răspunsuri
Marius
MW Addicted
6998 mesaje
din 05/06/2005
13 martie 2007, 11:21:18
Ce aiurea :lol:
Publicitate
Publicitate
Blandu
Art Director
6161 mesaje
din 25/08/2005
20 aprecieri
Windows CE
13 martie 2007, 11:50:20
vox ia incearca sa trimiti cu smart sau resco explorer sau cu real bluejack si in timp ce trimite apasa tasta home!
florinet4
MW Addicted
1917 mesaje
din 29/08/2006
13 martie 2007, 12:08:38
daca dai cancel sau exit e foarte probabil sa anuleze transferul. tasta home tocmai pt asta e... iesi dintr-o aplicatie dar fara a o inchide!!!
[IMG]http://www.speedtest.net/result/510584718.png[/IMG]
******HTC TOUCH PRO - MicroSDHC 6Gb / HTC TOUCH DIAMOND / HTC TOUCH DUAL******
voxxx
MW Addicted
2144 mesaje
din 31/03/2006
5 aprecieri
Windows CE
13 martie 2007, 12:42:11
tnk blandu,cu resco explorer nu se intrerupe!  :D/florinet, pe tasta home apas,si se intrerupe!..
Nick_White
MW Liker
58 mesaje
din 20/04/2006
25 martie 2007, 15:01:54
La mine nu mai vrea sa iasa deloc din ecranul cu "Beam" dupa ce trimit cu succes fisierul la alt telefon/calculator!
Cand apas "Quit", nu se intampla nimic sau cateodata se blocheaza.

Pot sa revin in File Manager doar daca:
1) apas tasta "Home";
2) dezactivez Bluetooth si "Receive incoming beams";
3) revin in File Manager si merge.

Mentionez ca am SPV C500 cu WM5 versiunea 4.1 si File Manager-ul este cel integrat.

As prefera sa nu instalez 1000 de programe pt 1000000 de task-uri, ci sa le rezolv pe cele integrate in sistem de operare.
EviL
MW Moderator
3089 mesaje
din 25/11/2005
181 aprecieri
25 martie 2007, 21:29:24
da nu tre sa nstalezi 100 de programe cu 1000 de task-uri foloseste SmartExplorer-ul e si aici pe forum uploadat ... e cel mai bunt pentru trimitere de fisiere prin bt .... dar deja deviem de la titlul topicului :offtopic:
.................................
ABSENT NEMOTIVAT !!!
Adevarul se afla dincolo de noi ...
Nick_White
MW Liker
58 mesaje
din 20/04/2006
15 aprilie 2007, 23:55:12
DSF 10-03-2006 01:55:38
Marirea performantei cu 20% (??)
[HKLM\System\StorageManager\FATFS]
CacheSize = 4096
EnableCache = 1
[HKLM\System\StorageManager\Filters\fsreplxfilt] ReplStoreCacheSize = 4096
Acest tweak nu are impact doar asupra cardului de memorie (care e FAT FS)? Memoria interna e BINFS daca nu ma insel.
cosmo1
MW Addicted
1438 mesaje
din 29/04/2005
Windows CE
08 mai 2007, 10:21:02
cu ce program pot restaura registri dintrun fisier .reg cu regedit nu merge
Geo2000
MW Addicted
1101 mesaje
din 31/08/2005
Windows CE
08 mai 2007, 10:28:13
cosmo1 08-05-2007 10:21:02
cu ce program pot restaura registri dintrun fisier .reg cu regedit nu merge
Cu Resco Registy
[img]http://www.fightersoft.ro/mts_user.gif[/img] [img]http://forum.clubford.ro/download/file.php?avatar=13069_1321567490.gif[/img]
Blandu
Art Director
6161 mesaje
din 25/08/2005
20 aprecieri
Windows CE
08 mai 2007, 12:24:15
il gasesti pe mobileshare sau dupa ce instalezi resco explorer dai options si add-ins si ai optiune de download a resco registry!
cosmo1
MW Addicted
1438 mesaje
din 29/04/2005
Windows CE
08 mai 2007, 13:43:34
va multumesc pentru ajutor.pusese cineva pe aici un fisier .reg care continea toate tweakurile de pe aici pentru c600,eu am acum rom de i-mate sp5 si am importat cu resco acel fisier si a trebuit sa dau restart insa dupa restart surpriza:nu se mai aprindea telu.ramanea blocat pe imaginea aia de boot cu htc. . . pana nu iam dat hard reset nu a vrut sa se mai aprinda  :D
moalesipufos
MW Addicted
1760 mesaje
din 08/02/2007
16 mai 2007, 01:00:19
Addix 02-12-2006 19:24:17
stie cineva un tweak sa pot downloada cu ie direct pe card, fara sa ii mai dau salvare ca->storage card la fiecare download...?
Exista un asemenea tweak,ca am cautat si nu am gasit...? :(
Blandu
Art Director
6161 mesaje
din 25/08/2005
20 aprecieri
Windows CE
16 mai 2007, 01:36:42
din pacate nu!
moalesipufos
MW Addicted
1760 mesaje
din 08/02/2007
18 mai 2007, 12:06:08 • actualizat 18 mai 2007, 12:23:05 (1 ori)
Aplicatia creste viteza internet explorer:

http://mobilewave.ro/upload/files/cab/IE_speedup.CAB

Teoretic face automat setarile pt.orange wap(a se utilica cu atentie,nu am apucat sa-l verific):
http://mobilewave.ro/upload/files/cab/wap.cab
Publicitate
Publicitate
moalesipufos
MW Addicted
1760 mesaje
din 08/02/2007
01 iunie 2007, 16:31:33 • actualizat 01 iunie 2007, 16:47:43 (5 ori)
Tips, Windows Mobile Notifications and Power Management

One day i was thinking of such a piece of software that was supposed to take its data automatically from a remote server in the middle of the night, stopped working on Windows Mobile 2003 devices. More exactly, it had started to operate, but could not perform all the required steps. Not that it didn't work at all, no, but the PDA's screen was turned off, communications weren't opened, and so forth. a After quick search on the Web, I found that, to my great surprise, there is nothing that might solve the problem. Anyway, I've started to investigate the case, and so this article has begun...

This article isn't dedicated to all of title's topics in depth, but rather intends to combine bits from here and from there to get all the stuff working together. There is no need to dive into well-documented functionality, at least for Notifications. Windows CE Power Management articles are also presented in MSDN. It left us just to add one and one. Besides, Windows Mobile 5.0 gives a programmer a few more options for customization, so I will overview them as well.
Two Faces of Notifications

When one talks about Notifications under Windows Mobile, one usually means two main areas: shell notifications (defined in aygshell.h) and user notifications (notify.h respectively). The first type allows your application to inform the user that something important has just happened; for example, that a new message has arrived. The second type is used to deal with a dozen system-level events, such as network connection being established and so forth. This article will discuss both of the above notification types.
User Notifications

I will start from more traditional Windows CE notifications. Those of you who have developed for older versions of Windows CE are definitely familiar with them. You were able to program your application to respond to a set of system events or to be launched at some point in time. But, things have changed since those times, so now you can see the following statement in notify.h:

//
//Obsolete; provided to maintain compatibility only
//
HANDLE CeSetUserNotification (HANDLE hNotification,
TCHAR *pwszAppName,
SYSTEMTIME *lpTime,
PCE_USER_NOTIFICATION
lpUserNotification);
BOOL CeRunAppAtTime (TCHAR *pwszAppName, SYSTEMTIME *lpTime);
BOOL CeRunAppAtEvent(TCHAR *pwszAppName, LONG lWhichEvent);
BOOL CeHandleAppNotifications (TCHAR *pwszAppName);


It means that all those old buddies you used to rely on can stop working anytime. Instead of the above functions, the SDK offers you an equivalent means:

BOOL CeGetUserNotificationPreferences (HWND hWndParent,
PCE_USER_NOTIFICATION
lpNotification);
HANDLE CeSetUserNotificationEx (HANDLE hNotification,
CE_NOTIFICATION_TRIGGER *pcnt,
CE_USER_NOTIFICATION *pceun);
BOOL CeClearUserNotification (HANDLE hNotification);
BOOL CeGetUserNotification (HANDLE hNotification,
DWORD cBufferSize,
LPDWORD pcBytesNeeded,
LPBYTE pBuffer);
BOOL CeGetUserNotificationHandles (HANDLE *rghNotifications,
DWORD cHandles,
LPDWORD pcHandlesNeeded);

In fact, these are the same APIs but rewritten in other terms. Windows Mobile SDK gives you even more. It defines and uses a CE_NOTIFICATION_TRIGGER struct to declare how to trigger the required entity:

typedef struct UserNotificationTrigger {
DWORD dwSize;
DWORD dwType; //dwType Notification type
//dwEvent - type of event if dwType == CNT_EVENT
DWORD dwEvent;
//lpszApplication - name of application to execute
TCHAR *lpszApplication;
//lpszArguments - command line (sans app name)
TCHAR *lpszArguments;
//stStartTime - begin of notification period
SYSTEMTIME stStartTime;
//stEndTime - end of notification period
SYSTEMTIME stEndTime;
} CE_NOTIFICATION_TRIGGER, *PCE_NOTIFICATION_TRIGGER;

In addition to running your application (with the appropriate command line) at a given time or event, now you can specify a time period. Besides, Windows Mobile or CE.NET supports named events, so you may want to use it for lpszApplication instead of the application name in the form of:

"\\.\Notifications\NamedEvents\Event Name"

Shell Notifications

This kind of notification is also pretty easy. Quite a few functions handle all the job:

LRESULT SHNotificationAdd(SHNOTIFICATIONDATA *pndAdd);
LRESULT SHNotificationUpdate(DWORD grnumUpdateMask,
SHNOTIFICATIONDATA *pndNew);
LRESULT SHNotificationRemove(const CLSID *pclsid, DWORD dwID);
LRESULT SHNotificationGetData(const CLSID *pclsid, DWORD dwID,
SHNOTIFICATIONDATA *pndBuffer);

They allow you manipulate the notification's look-and-feel and features. Windows Mobile 5.0 slightly extends WM 2003's functionality by adding new members to the SHNOTIFICATIONDATA struct:

typedef struct _SHNOTIFICATIONDATA
{
DWORD cbStruct; // for verification and versioning
DWORD dwID; // identifier for this particular
// notification
SHNP npPriority; // priority
DWORD csDuration; // duration of the notification
// (usage depends on prior)
HICON hicon; // the icon for the notification
DWORD grfFlags; // flags - see SHNF_ flags below
CLSID clsid; // unique identifier for the
// notification class
HWND hwndSink; // window to receive command choices,
// dismiss, etc.
LPCTSTR pszHTML; // HTML content for the bubble
LPCTSTR pszTitle; // Optional title for bubble
LPARAM lParam; // User-defined parameter
// From here, this is WM 5.0 stuff
union
{ // Defines the softkey bar for the
// notification
SOFTKEYMENU skm; // Either pass an HMENU in skn
// (and set SHNF_HASMENU)
// or two softkeys in rgskn.
SOFTKEYNOTIFY rgskn[NOTIF_NUM_SOFTKEYS];
};
// Text to put on SK2 on the Today screen. If NULL, will
// default to "Notification"
LPCTSTR pszTodaySK;
// What to execute when SK2 is pressed. If NULL, the toast
// will be displayed.
LPCTSTR pszTodayExec;

} SHNOTIFICATIONDATA;

The following code sample shows one simple scenario:

void ^157BOOL158^::OnBnClickedButton1()
{
SHNOTIFICATIONDATA sn = {0};

sn.cbStruct = sizeof(sn);
sn.dwID = 1971;
sn.npPriority = SHNP_INFORM;
sn.csDuration = 15;
sn.hicon = LoadIcon(AfxGetResourceHandle(),
MAKEINTRESOURCE(IDR_MAINFRAME));
sn.clsid = SAMPLE_GUID;
sn.grfFlags = 0;
sn.pszTitle = TEXT("Sample Notification");
sn.pszHTML = L;
sn.rgskn[0].pszTitle = TEXT("Dismiss");
sn.rgskn[0].skc.wpCmd = 1003;
sn.rgskn[0].skc.grfFlags = NOTIF_SOFTKEY_FLAGS_DISABLED;
sn.rgskn[1].pszTitle = TEXT("Hide Me");
sn.rgskn[1].skc.wpCmd = 1004;
sn.rgskn[1].skc.grfFlags = NOTIF_SOFTKEY_FLAGS_HIDE;
sn.pszTodaySK = L"Run Calc";
sn.pszTodayExec = L"\windows\calc.exe";

//Add the notification to the tray
SHNotificationAdd(&sn);
}

Under WM 5.0, you can customize how your notification will appear when displayed for the user:

and on the Today screen:

Shortly speaking, both User or Shell Notifications API are intuitive enough; hence it isn't worth spending too much time on it now. There are a lot of samples all over the Web in C/C++ or C# or VB. That's not a point here. Real troubles start when a device gets turned off. And, here is when Power management can help us.
Involving Power Management

The Windows Mobile OS has a dozen functions that allow applications to control the power policy and query various information. Once again, I won't discuss them too much, but move on to the situation described in the preface.

When a device has been suspended and after any notification gets activated, the system turns to a "resuming" power state. In such a mode, the CPU is running, but the display is not powered to save the battery. Moreover, some of the PDA's features may be inactivated as well; for example, the GPRS modem. "Resuming" the power state continues for 15 seconds, and then, if nothing happens, a device will be suspended once again. Thus, you face the situation when your application is honestly called, but it can't interact with the external world or gain the user's attention. For background operations, it works like a charm, but for notifications, that is not the case. Thus, you need a way to turn on the system. The obvious answer is to call:

SetSystemPowerState(
LPCWSTR pwsSystemState,
DWORD StateFlags,
DWORD Options
);

as follows:

SetSystemPowerState(NULL, POWER_STATE_ON, 0);

In other words, such a call simply wakes up the device and gets it to its full live state. That is exactly what you need in many cases. Later on, you also can call:

SetPowerRequirement(
PVOID pvDevice,
CEDEVICE_POWER_STATE DeviceState,
ULONG DeviceFlags,
PVOID pvSystemState,
ULONG StateFlags
);

to require an 'always on' state while doing some lengthly operation; for example, communications. And with that said, this story has its "happy ending."
--------------------------------------------------------------
Windows Mobile remote desktop full screen

Lately a guy named Vijay made available a tiny software hack for the Windows Mobile remote desktop client (mstsc40.exe) to enable full-screen support.

WM2003 and WM5 compatible and works in QGVA or VGA, landscape or portrait.
It's a beta. In that, it's got issues and it's not final.
I'm going to add scrollbar hiding and some navigation bits and bobs and some other stuff.

Usage is easy, but this is only for advanced users right now for reasons forthcoming:
Load VJFullscreenTSC. I recommend putting it in your Start Menu or assign it to a hardware button.


http://www.vijay555.com/index.php?Releases:VJFullscreenTSC

Note: Posts were merged
Înapoi la Discuții tehnice Windows Smartphone
cine e aici?
Subiectul a fost creat la .
Hei! Pentru a putea interacționa cu comunitatea Mobilewave trebuie să ai un cont (care e gratuit) și să fii autentificat.
fortnite map
mowned logo
Inițiator acum 20 ani
DSF
zZz ツ
Ultimul acum 17 ani
clasic_ultras
MW Lurker
Cauta in topic
Unelte topic
Dacă vă place acest articol trimiteți mai departe!
  • Arăta mai bine înainte.. 28% ⋅ 39
  • E frumos dar nu prea 23% ⋅ 32
  • Laser frate! 48% ⋅ 66
Au votat 137 utilizatori
^
Mobilewave.ro logo
MobileWave.ro 2005-2014
© MW v1.0a PhoeniX
0.039⋅5⋅5
Portalul tău de telefoane mobile!