| Posted on: Sep 12 2007, 01:58 | |
![]() Newbie Group: Posters Posts: 41 Joined: 5th February 2005 Member No.: 108,770 |
I'm running WM 6 on my HTC TyTN and using WiFi for email, chat and sufing the web. My problem is that the WiFi connection won't stay connected. At some point it the antenna icon will go empty and never reconnect. Wireless Lan reports that my WiFi network is unavailable. Checking with my laptop shows this to be untrue. This has occurred with multiple wireless networks (both secured and unsecured) Things I have tried that didn't work 1. Using connection manager to turn the WiFi radio off and back on. 2. Rebooting my wireless router (a Linksys WRT54GS) in the case where it was my router. Not possible to test in all situations. 3. Moving my WLAN power setting to "best performance." 4. Powering down the TyTN and powering it back up. 5. Turning off the phone radio. 6. Disabling security on the wireless network. What did work 1. Soft reset using the reset button. 2. Deleting the connection settings for my wireless network, powering down the TyTN and power it back up. None of the things that did work are particularly palatable. And they have to be redone nearly every time I switch wireless networks or let the phone power down the wifi connection while in power save mode. Any suggestions? Ted |
| Forum: Pocket PC General Discussion · Post Preview: #842032 · Replies: 3 · Views: 3,297 |
| Posted on: Jan 16 2007, 20:24 | |
![]() Newbie Group: Posters Posts: 41 Joined: 5th February 2005 Member No.: 108,770 |
I recently purchased a Cingular 8525 and have some questions about how internet connectivity works. Background: 1. I'm not going to drop $500 a year on Cingular's data plan but I do want to receive e-mail on the 8525. What I want to do is receive e-mail over Wi-Fi or Bluetooth if I happen to be close to a partnered PC but not over the cell network. How do I set that up? Every time I go into the Connection manager, I get a list of stuff that all seems to be centered around using the cell network. That makes me nervous. Cingular's data charges are staggering if you don't have a data plan. Also, if at some point in the future, I do have a data plan, how do I configure the phone to favor a Wi-Fi connection over the cell network? Hopefully that made sense. Just very confused about what the relationship between the connection manager and the Wi-Fi network manager. Thanks! |
| Forum: Pocket PC General Discussion · Post Preview: #801445 · Replies: 1 · Views: 582 |
| Posted on: Dec 24 2006, 20:43 | |
![]() Newbie Group: Posters Posts: 41 Joined: 5th February 2005 Member No.: 108,770 |
Apparently this happened to the missus. I haven't had a chance to look at it as of yet but has anyone else got the problem. I AM using gmail. I found a link on another page. If you specify your username (not e-mail address but username...that's an important distinction) as recent:myusername, you get the last 3 or so days worth of mail without things disappearing. Note: This is a gmail only thing. Note: The mail still eventually disappears. When I say "3 or so days" it really seems to be that non-deterministic. Note: The behavior here stinks irrespective of whether it is a g-mail or pocket outlook behavior |
| Forum: Pocket PC General Discussion · Post Preview: #798461 · Replies: 9 · Views: 718 |
| Posted on: Mar 16 2006, 14:40 | |
![]() Newbie Group: Posters Posts: 41 Joined: 5th February 2005 Member No.: 108,770 |
They sound technically interesting but the packaging doesn't seem very attractive |
| Forum: Smartphone (Standard) News · Post Preview: #723639 · Replies: 14 · Views: 5,767 |
| Posted on: Aug 28 2005, 00:05 | |
![]() Newbie Group: Posters Posts: 41 Joined: 5th February 2005 Member No.: 108,770 |
Sasa, A couple of things...if you want to write a plug-in as opposed to an application there is pretty good documentation available on this. It sounds like what you want to do is pretty straightforward so I think the documentation is available. If you want to see how to interact with the POOM database (which you will need to do for accessing contacts) please see the response I posted to VanderHuge's message (entitled "Checking for changes in POOM records"). It has some details on interacting with POOM. It's not exactly what you are looking for but perhaps it will be helpful to get you started. Ted |
| Forum: Windows Mobile Development - Visual C++ · Post Preview: #665746 · Replies: 3 · Views: 1,764 |
| Posted on: Aug 27 2005, 23:53 | |
![]() Newbie Group: Posters Posts: 41 Joined: 5th February 2005 Member No.: 108,770 |
QUOTE(Vanderhuge @ Jul 28 2005, 10:54) Hi, I want to write an app that will check for changes in appointments and/or tasks evetytime it is run. Does anyone know an easy way to do this? Thanks An easy way? No. And it is, apparently, going to change for the next release of Windows Mobile. According to Microsoft, the current calendar plugins and applications also make use of APIs that are unsupported for the general public and will have to change at that time too. Here is what I got from the folks on smartphone.developer at Microsoft. Unfortunately that thread has gone away so the very succinct description is going to be diluted by my heavy handed coding style Grap a handle to the outlook application. For my purposes this is stored in a global. CODE // Globals IPOutlookApp * g_polApp = NULL; int g_PoomInit = 0; // ************************************************************************** // Function Name: GetPoomApp // // Purpose: Gets pointer to POOM application interface // // Arguments: // OUT IFolder ** ppFolder - pointer to IPOutlookApp interface returned. // Must be released by caller of GetPoomApp // // Return Values: // BOOL // returns TRUE if the folder interface was retrieved, FALSE otherwise // // Description: // This function simply returns a pointer to the global Outlook app interface // The returned pointer is simply passed through this function after being AddRef'd. BOOL GetPoomApp(IPOutlookApp **ppOutApp) { if (g_polApp) { g_polApp->AddRef(); *ppOutApp = g_polApp; return TRUE; } else { return FALSE; } } Initialize POOM CODE // ************************************************************************** // Function Name: InitPoom // // Purpose: Creates and logs on to the POOM application object // // Arguments: // none // // Return Values: // BOOL // returns TRUE if POOM was initialized, FALSE otherwise // // Description: // This function creates the POOM application COM object and starts a POOM // session via Logon. This must be done before any subsequent POOM calls are // made. This function may be called repeatedly on an already initialized connection. BOOL InitPoom() { BOOL bSuccess = FALSE; if (!g_polApp) { if (SUCCEEDED(CoInitializeEx( NULL, 0))) { // Now, let's get the main outlook application g_PoomInit++; if (SUCCEEDED(CoCreateInstance(CLSID_Application, NULL, CLSCTX_INPROC_SERVER, IID_IPOutlookApp, reinterpret_cast<void **>(&g_polApp)))) { // login to the Pocket Outlook object model g_PoomInit++; if(SUCCEEDED(g_polApp->Logon(NULL))) { bSuccess = TRUE; } } } } else { bSuccess = TRUE; //we're ok...just got called when already initialized. } return bSuccess; } De-Initialize Poom CODE // ************************************************************************** // Function Name: ShutdownPoom // // Purpose: Shuts down the current POOM session // // Arguments: // none // // Return Values: // none // // Description: // This function logs off the current POOM session and releases the POOM // application interface pointer. Sets it to NULL in case the thing gets called // multiple times. void ShutdownPoom() { // if this dude is NULL, make sure you don't call call CoUnitialize(). That's a pretty good sign that // the CoInitialize hasn't been called yet. Anyway, if it's NULL, just return. if (g_polApp) { g_polApp->Logoff(); g_polApp->Release(); g_polApp = NULL; g_PoomInit =0; CoUninitialize(); } } Register for POOM events CODE LRESULT BackgroundWindow::RegisterForDBNotification(void) { LRESULT lr = 0; CENOTIFYREQUEST req; CEOIDINFO oidInfo; CEOID oid; CEGUID guid; unsigned short volName[MAX_PATH]; HANDLE m_hDB = NULL; //initialize all of our objects appropriately memset(&req, 0, sizeof(req)); memset(&oidInfo, 0, sizeof(oidInfo)); memset(&oid, 0, sizeof(oid)); CREATE_INVALIDGUID(&guid); memset(volName, 0, MAX_PATH); // set up the pertinent fields in the request structure req.dwSize = sizeof(req); req.hwnd = GetHwnd(); req.dwFlags = CEDB_EXNOTIFICATION; req.hHeap = 0; req.dwParam = 0; while (CeEnumDBVolumes(&guid, volName, MAX_PATH)) { HANDLE h = CeFindFirstDatabaseEx(&guid, 0); ASSERT(h != INVALID_HANDLE_VALUE ); while (oid = CeFindNextDatabaseEx(h, &guid), oid) { if (CeOidGetInfoEx(&guid, oid, &oidInfo)) { if (lstrcmp(oidInfo.infDatabase.szDbaseName, L"Appointments Database") == 0) { m_hDB = CeOpenDatabaseEx2( &guid, &oid, NULL, 0, CEDB_AUTOINCREMENT, &req); } } } } return(lr); } And finally in my WinMain, handle the message when it gets sent to me. Note that I was writing a plugin rather than an application so I'm notifying the plug-in rather than updating information in my window directly. CODE LRESULT BackgroundWindow::WindowProc(UINT uMsg, WPARAM wParam, LPARAM lParam) { LRESULT lr = 0; switch (uMsg) { case WM_CREATE: { RegisterForDBNotification(); // should register for DB notification here. break; } case WM_CLOSE: { DestroyWindow(GetHwnd()); break; } case WM_DESTROY: { PostQuitMessage(0); break; } case WM_DBNOTIFICATION: { // send data change message to plug-in. SHOnPluginDataChange(CLSID_MULTICAL); break; } default: { lr = DefWindowProc(GetHwnd(), uMsg, wParam, lParam); break; } } return(lr); } Ted |
| Forum: Windows Mobile Development - Visual C++ · Post Preview: #665742 · Replies: 1 · Views: 1,012 |
| Posted on: Aug 27 2005, 23:26 | |
![]() Newbie Group: Posters Posts: 41 Joined: 5th February 2005 Member No.: 108,770 |
QUOTE(lobo71 @ Aug 19 2005, 17:11) Hey, I'm creating homescreen skins for the c500 and I want to test them in the SDK emulator. Is it possible to test them ? and how ? Thanks PS: I have installed evc4 SP3 and Smartphone 2003SDK Use the file copy utility (remote file viewer in evc4) to and move the relevant xml and image files over to the emulator. Just bear in in mind that your copied files will be lost when/if you turn off the emulator and don't have state saving turned on. Also be aware that if you do something that crashes the emulator, your state may not be properly saved. Otherwise, it should work pretty much like your phone. |
| Forum: Windows Mobile Development - Visual C++ · Post Preview: #665734 · Replies: 1 · Views: 993 |
| Posted on: Mar 22 2005, 04:39 | |
![]() Newbie Group: Posters Posts: 41 Joined: 5th February 2005 Member No.: 108,770 |
I haven't had that specific problem so I can't comment directly on what caused it. My suggestion for you would be uninstall and reinstall following this tutorial.. I think that if you do that, you'll be fine in the end. |
| Forum: Windows Mobile Development - Visual C++ · Post Preview: #563999 · Replies: 2 · Views: 885 |
| Posted on: Mar 22 2005, 04:35 | |
![]() Newbie Group: Posters Posts: 41 Joined: 5th February 2005 Member No.: 108,770 |
I sure hope you're kidding. If not, well, let's say that your request is a little out of scope for this area. |
| Forum: Windows Mobile Development - Visual C++ · Post Preview: #563996 · Replies: 4 · Views: 930 |
| Posted on: Mar 14 2005, 16:19 | |
![]() Newbie Group: Posters Posts: 41 Joined: 5th February 2005 Member No.: 108,770 |
Very nice work LuckyOwner. You're a rockstar! 8) |
| Forum: Smartphone Customisation - Homescreen Download ... · Post Preview: #561407 · Replies: 50 · Views: 11,987 |
| Posted on: Mar 4 2005, 00:38 | |
![]() Newbie Group: Posters Posts: 41 Joined: 5th February 2005 Member No.: 108,770 |
None of these issues are anything but annoyances...but they are that! PC Environment Windows XP SP2 Activesync 3.8 - connecting via bluetooth using WIDCOMM drivers Phone Audiovox SMT 5600 running Windows Mobile 2003 1. Activesync on the PC side - Whenever I reboot the PC, the serial port gets reset from COM3 to COM1. I have to go in an manually reconfigure it to COM3 2. Activesync on the phone - when you tell activesync to connect to your PC, you have to hit the menu button and select "Connect via Bluetooth". Well...depending on some unknown algorithm that switches on the menu option between 3 and 4. It swaps with "Setup Bluetooth Connection" Anyone else have this? Does anyone have any suggestions on how remove either one of these annoyances? |
| Forum: Smartphone General Discussion · Post Preview: #557398 · Replies: 1 · Views: 281 |
| Posted on: Feb 22 2005, 19:15 | |
![]() Newbie Group: Posters Posts: 41 Joined: 5th February 2005 Member No.: 108,770 |
Add this link to the list of important links to read. It has some excellent and not especially well publicized info about the life cycle of a plugin. Make sure you catch the transcript as well as reading the Powerpoint presentation. |
| Forum: Smartphone Customisation - General Discussion · Post Preview: #552985 · Replies: 2 · Views: 488 |
| Posted on: Feb 22 2005, 18:54 | |
![]() Newbie Group: Posters Posts: 41 Joined: 5th February 2005 Member No.: 108,770 |
Well, it took me a while to figure this one out. Turns out that the life cycle of a plug-in looks like this: 1. home.exe loads the homescreen XML 2. home.exe fires off a seperate helper process which loads the plugin dlls and executes myPlugin::Initialize() followed by myPlugin::Save(). This allows the very CPU intensive and memory leak prone XML parsing process to be "someone else's problem" with respect to home.exe. Any plugin state that needs to be saved gets persisted in the Save() method call. The normal constructors and destructors get called as well. 3. home.exe loads the dll and calls myPlugin::Load() to retreive any plugin state saved earlier. Plugin class constructor gets called as well. Plugin message processing loop starts up... 4. Eventually the plugin gets unloaded, probably when home.exe exits upon phone shutdown. Destructors get called. Microsoft has a nice presentation here which covers it in considerably more detail. Make sure you read the transcripts associated with the presentation too. Those are extremely helpful. So, net-net is that I need to do any sort of POOM initialization in the constructor for the plugin class or set up a static class that does the necessary work. |
| Forum: Windows Mobile Development - Visual C++ · Post Preview: #552975 · Replies: 1 · Views: 625 |
| Posted on: Feb 17 2005, 23:35 | |
![]() Newbie Group: Posters Posts: 41 Joined: 5th February 2005 Member No.: 108,770 |
Found another technique. Copy the CAB file to \Storage\windows\Start Menu\Accessories. If you access the accessories folder through the start menu, the CAB file will show up as an option. You can execute it from there. |
| Forum: Windows Mobile Development - Visual C++ · Post Preview: #550889 · Replies: 3 · Views: 797 |
| Posted on: Feb 17 2005, 23:06 | |
![]() Newbie Group: Posters Posts: 41 Joined: 5th February 2005 Member No.: 108,770 |
Not that I'm authority on it :?: but I would suggest these as good places to start: General Smartphone development tutorial Plugin Development Microsoft Smartphone Newsgroup For me, I've gotten the most traction out of the "homescreen" sample plugin that comes with the WM 2003 SDK. Read the readme that comes along with it. It gives you good advice on how to compile, move the application over and so on. The things that I've learned in the last week or so as I've started playing around go like this: 1. The eVC application will tell you that it has downloaded and registered your DLL. Don't believe it. You'll have to make a CAB file, copy it to the phone or phone emulator and install it yourself. 2. In the readme I mentioned, it will tell you to use CEStart.exe to install the CAB file you built. Nice idea but the executable doesn't exist. You can do one of two things to get it installed. a. copy the CAB file to \Storage\temp and hit it with IE (e.g give it a URL of file:///temp/yourcab.cab) b. copy the CAB file to \Storage\windows\Start Menu\Accessories. You can then access the CAB file through the start menu. 3. If you like to do smaller code, build and test cycles, get over it. The overhead of installing a dll, connecting to the simulator and debugging will kill you :evil: 4. MessageBox() is your friend in an environment where feedback can be hard to get. 5. Hard reset of the emulator is a frequent process (at least for me 6. I use the remote registry editor, remote process viewer and remote file viewer utilities from eVC a LOT. Check 'em out. All this is also probably more appropriate for the Development forum |
| Forum: Smartphone Customisation - General Discussion · Post Preview: #550879 · Replies: 2 · Views: 488 |
| Posted on: Feb 17 2005, 22:47 | |
![]() Newbie Group: Posters Posts: 41 Joined: 5th February 2005 Member No.: 108,770 |
Have a look at this link. It looks like it's awfully close to the issue you are seeing. CODE http://support.microsoft.com/default.aspx?scid=kb;[ln];883989 Sorry for not making the link a live one but the html editor can't handle the brackets. |
| Forum: Windows Mobile Development - Visual C++ · Post Preview: #550871 · Replies: 1 · Views: 588 |
| Posted on: Feb 17 2005, 21:45 | |
![]() Newbie Group: Posters Posts: 41 Joined: 5th February 2005 Member No.: 108,770 |
I'm trying to figure out where to initialize POOM so I can access the Outlook database on a phone. I'm set up with a global variable for the IPOutlookApp pointer and I was figuring to initialize it in myPlugin::Initialize() and release it in the destructor for the plug-in class. What I'm finding as I step through my code is that the IPOutlookApp is uninitialized when I try to access it in myPlugin::OnEvent or other methods. Looks to me like what I've got there ought to work but it doesn't seem to. Should I take that as a sign that my initialization is failing or that I'm doing the wrong thing by using myPlugin::Initialize()? I'm wondering if the next step for me is to put a static class in place to initialize and release the IPOutlookApp pointer. Any comments from the more experienced out there? |
| Forum: Windows Mobile Development - Visual C++ · Post Preview: #550847 · Replies: 1 · Views: 625 |
| Posted on: Feb 17 2005, 21:34 | |
![]() Newbie Group: Posters Posts: 41 Joined: 5th February 2005 Member No.: 108,770 |
QUOTE(DocBru @ Feb 17 2005, 15:20) The cestart.exe isn't available, it's wrong in the documentation. The trick is: Create the .cab and place it in /temp than open Internet Explorer from the start menu and enter the address "file:///temp/mywhatever.cab" to install Regards bruno Thanks...that did the trick. In my earlier effort, I wasn't putting enough slashes after file (only two). Now on to the next problem => my miracle of efficient coding doesn't work |
| Forum: Windows Mobile Development - Visual C++ · Post Preview: #550841 · Replies: 3 · Views: 797 |
| Posted on: Feb 16 2005, 22:40 | |
![]() Newbie Group: Posters Posts: 41 Joined: 5th February 2005 Member No.: 108,770 |
|
| Forum: Smartphone Customisation - General Discussion · Post Preview: #550413 · Replies: 7 · Views: 1,328 |
| Posted on: Feb 16 2005, 22:37 | |
![]() Newbie Group: Posters Posts: 41 Joined: 5th February 2005 Member No.: 108,770 |
QUOTE(xenophobe @ Feb 15 2005, 01:33) If you want RJShortcut to be at the bottom, you need to move the plugin scripting from the top of your XML file to the bottom. All of the "height" statements in all the other plugins combined will determine how far down the plugin will actually be. You have all your heights set to 200? Errr.... Good point on the heights. That will give you the ever popular scrolling home screen |
| Forum: Smartphone Customisation - General Discussion · Post Preview: #550408 · Replies: 3 · Views: 800 |
| Posted on: Feb 16 2005, 20:59 | |
![]() Newbie Group: Posters Posts: 41 Joined: 5th February 2005 Member No.: 108,770 |
Sorry for the newbie question here...I'm trying to get the sample "homescreen" plug-in that comes with eVC 4.0 and the Windows Mobile 2003 SDK up and running. It looks to me like when I compile the application with F7 and the IDE copies the DLL over to the emulator, the DLL doesn't get registered. When I use the supplied test.home.xml to view the plug-in, the area that should be populated by the plug-in is blank. Looking at the process viewer, I don't see that home.exe has homescreen.dll as one of it's subordinate DLLs loaded. After reading the example specific instructions, I figured I should build a CAB file and use cestart.exe (as suggested in the documentation) to "execute" the cab. Unfortunately, cestart.exe doesn't exist in either eVC 4.0 or the SDK. So, two questions... 1. based on the symptoms, does my diagnosis seem correct? 2. if it is, how do I get the ()*&*^ CAB file to execute? I tried hitting directly from IE on the emulator (url=file://Storage/homescreen.CAB) but that didn't work. |
| Forum: Windows Mobile Development - Visual C++ · Post Preview: #550372 · Replies: 3 · Views: 797 |
| Posted on: Feb 15 2005, 15:08 | |
![]() Newbie Group: Posters Posts: 41 Joined: 5th February 2005 Member No.: 108,770 |
QUOTE(tudor @ Feb 15 2005, 08:53) Ive looked for it all night long - it seems that all the links, including the ones on their forum, are dead. There must have been something fishy about that software :shock: if they pulled out completely. Hmmm...just downloaded in a couple of weeks ago however I had to register on their web site. Did you try that? Ted |
| Forum: Smartphone Customisation - General Discussion · Post Preview: #549704 · Replies: 17 · Views: 1,786 |
| Posted on: Feb 14 2005, 02:13 | |
![]() Newbie Group: Posters Posts: 41 Joined: 5th February 2005 Member No.: 108,770 |
Wow! Yours works and mine doesn't :shock:. I'll do a little playing around to see if I can figure out what the difference is. Thanks for the post! |
| Forum: Smartphone Customisation - General Discussion · Post Preview: #548988 · Replies: 7 · Views: 1,328 |
| Posted on: Feb 12 2005, 04:20 | |
![]() Newbie Group: Posters Posts: 41 Joined: 5th February 2005 Member No.: 108,770 |
|
| Forum: Smartphone Customisation - General Discussion · Post Preview: #548350 · Replies: 7 · Views: 1,328 |
| Posted on: Feb 11 2005, 20:36 | |
![]() Newbie Group: Posters Posts: 41 Joined: 5th February 2005 Member No.: 108,770 |
QUOTE(faziatic @ Feb 11 2005, 08:34) How do I set a background-image for the iconbar? I already tried this: CODE <plugin clsid="{837FC251-FE69-43ad-84E0-EBCEDEBA0884}" name="iconbar" height="20"> <iconbar fgcolor="COLOR_TRAYTEXT"/> <background gradient="title" bgimage="\IPSM\Application Data\Home\wm2005a_bar.gif" /> <format state="selected" bgcolor="transparent" valign="top"/> </plugin> The iconbar is trasparent but the background-image isn't there... Has anyone an idea how to change the background-image?? A couple of things to try... 1. Get rid of the gradient parameter. 2. The bgcolor parameter is set to transparent only when the state is selected (by the way, I don't believe the icon bar can ever have a state of "selected"). You want to set bgcolor as part of the background tag as in CODE <background bgcolor="transparent" bgimage="..." /> |
| Forum: Smartphone Customisation - General Discussion · Post Preview: #548215 · Replies: 2 · Views: 778 |
New Replies No New Replies Hot Topic (New) Hot Topic (No New) |
Poll (New) Poll (No New) Locked Topic Moved Topic |