Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Code Samples & Tips > Additional Libraries
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Additional Libraries Users contributed libraries.
This sub-forum is only available to licensed users.

PopUp Notifications library.

Reply
 
LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 02-10-2009, 07:50 PM
taximania's Avatar
Basic4ppc Expert
 
Join Date: May 2007
Location: Derbyshire. UK
Posts: 592
Awards Showcase
Beta Tester 
Total Awards: 1
Default

I'm just glad to bring Agraham's work to a 'noticable position'
@Agraham

Here's a taster of the next lesson, I know you hate HTML

noti.Text="<table width 100%><tr><td><font color=red></font> <a href=" & Chr(34) & "On" & Chr(34) & "><img src=" & "file:///on.bmp" & "/></a></td><td><font color=red></font> <a href=" & Chr(34) & "Off" & Chr(34) & "><img src=" & "file:///on.bmp" & "/></a> </td></tr><tr><td><a href=" & Chr(34) & "Grin" & Chr(34) & "><img src=" & "file:///on.bmp" & "/></a> </td><td><a href=" & Chr(34) & "Sq" & Chr(34) & "><img src=" & "file:///on.bmp" & "/></a></td></tr>"

4 images, 4 different responses.
__________________
.
.
.
Don't ask, I'm fine, honest. !!
.
.
.
Just a little crazy at times



O2 XDA, GW Evo 2.1 UC WWE Rom, WM6.1
Radio Ver 03.34.90
With Basic4ppc V6.80


http://www.taximania.co.uk
Reply With Quote
  #12 (permalink)  
Old 02-11-2009, 10:57 PM
Basic4ppc Veteran
 
Join Date: May 2008
Location: Newcastle Upon Tyne - England
Posts: 271
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Have I seen this somewhere before...(?)

I have two devices I've been testing this on:

HP iPaq hx4700 WM2003SE
HP iPaq hx2190b WM5.0

Both devices have a 'Notification LED'. With WM2003SE, the balloon is like the speech bubble as attached. You have got to use the .dispose method in Form1_Close - or the icon will remain on the taskbar. You also have to use the .Visible=false property, otherwise the Notification LED will flash forever.
The HTML text formatting (size and colour) works on WM2003SE, however, I can't get the images to work.

Everything works as expected on WM5.0
Attached Images
File Type: jpg Screen04.JPG (9.5 KB, 41 views)
Reply With Quote
  #13 (permalink)  
Old 02-12-2009, 09:06 AM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 6,072
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

Quote:
Originally Posted by Zenerdiode View Post
Have I seen this somewhere before...(?)
Yes, dzts' NotifyIcon and my ControlsExDevice libraries.

Quote:
on WM2003SE, however, I can't get the images to work.
They don't. I have found MSDN documentation to that effect. What I haven't found is documentation that images work in WM5.0 and later, although they obviously do. Must be a deliberate enhancement on WM5.0 - there was really no reason for them not to work under WM2003 as the HTML is rendered by the Pocket IE engine - may be it was a bug or an oversight that they documented rather than fixed.
Reply With Quote
  #14 (permalink)  
Old 02-21-2009, 10:16 PM
schimanski's Avatar
Basic4ppc Veteran
 
Join Date: Oct 2007
Location: Germany
Posts: 289
Default

I can use the PopUp-Lib in my own application, but which one I have to use? Balloon or PopUp2?????
The new-method from the PopUp2 is the best, because it is only one line and it is easy to make a PopUp on device and the same msgBox for the desktop. But i don't want the speech-bubble in the tasbar and there is no way to set the NotificationLED off.

With the balloon-lib, i have to init one object for each message?????
__________________
schimanski
--------------------------------------
Device: Motorola Defy, Samsung Galaxy Tab P1000
Dekstop: Asus Eee PC
Reply With Quote
  #15 (permalink)  
Old 02-22-2009, 06:27 AM
taximania's Avatar
Basic4ppc Expert
 
Join Date: May 2007
Location: Derbyshire. UK
Posts: 592
Awards Showcase
Beta Tester 
Total Awards: 1
Default

PopUp and PopUp2 don't let you add your own Icon,
Balloon does, and has the ability to respond to feedback.
A clone of Agraham's controlsexdevice.dll

Try this,
after bal.visible=true

Code:
For a = 1 To bal.InitialDuration
Sleep(
1000)
DoEvents
Next 
bal.Visible=
False
'bal.dispose  for PopUp2
This halts the process for the time the bubble is visible then clears it,
but allows responses to be handled (with balloon.dll).

My WM2003SE devices screen is broke, so I can't test code with it,
As my signature says, I'm using a WM6 device.
__________________
.
.
.
Don't ask, I'm fine, honest. !!
.
.
.
Just a little crazy at times



O2 XDA, GW Evo 2.1 UC WWE Rom, WM6.1
Radio Ver 03.34.90
With Basic4ppc V6.80


http://www.taximania.co.uk
Reply With Quote
  #16 (permalink)  
Old 02-24-2009, 09:18 AM
schimanski's Avatar
Basic4ppc Veteran
 
Join Date: Oct 2007
Location: Germany
Posts: 289
Default

Hello!

Thanks, Taxmania for your samplecode. I use the balloon.dll in my application.

I use a device with Windows Mobile 6, but I'am not able to show an icon in the popup. I have used your sample in html:

PHP Code:
4You 'CAN' display images and get a notification.Response from it 
notification
.Text="Click the picture <a href=" Chr(34) & "img" Chr(34
"><img src=" "file:///grin.bmp" "/></a>" 
I only get an emty picture in the bubble. Is there another way than in html?
__________________
schimanski
--------------------------------------
Device: Motorola Defy, Samsung Galaxy Tab P1000
Dekstop: Asus Eee PC
Reply With Quote
  #17 (permalink)  
Old 02-24-2009, 04:29 PM
taximania's Avatar
Basic4ppc Expert
 
Join Date: May 2007
Location: Derbyshire. UK
Posts: 592
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Is the image in the 'root directory of your device', I couldn't get an image
to show from any other place or directory ?
__________________
.
.
.
Don't ask, I'm fine, honest. !!
.
.
.
Just a little crazy at times



O2 XDA, GW Evo 2.1 UC WWE Rom, WM6.1
Radio Ver 03.34.90
With Basic4ppc V6.80


http://www.taximania.co.uk
Reply With Quote
  #18 (permalink)  
Old 02-28-2009, 06:05 PM
schimanski's Avatar
Basic4ppc Veteran
 
Join Date: Oct 2007
Location: Germany
Posts: 289
Default

Oh, sorry...

I've got the icon in the application-directory. Now it works...
__________________
schimanski
--------------------------------------
Device: Motorola Defy, Samsung Galaxy Tab P1000
Dekstop: Asus Eee PC
Reply With Quote
  #19 (permalink)  
Old 02-28-2009, 07:26 PM
taximania's Avatar
Basic4ppc Expert
 
Join Date: May 2007
Location: Derbyshire. UK
Posts: 592
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Quote:
Originally Posted by schimanski View Post
Oh, sorry...

I've got the icon in the application-directory. Now it works...
Good
__________________
.
.
.
Don't ask, I'm fine, honest. !!
.
.
.
Just a little crazy at times



O2 XDA, GW Evo 2.1 UC WWE Rom, WM6.1
Radio Ver 03.34.90
With Basic4ppc V6.80


http://www.taximania.co.uk
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Door library (Beta) - Special library Erel Official Updates 60 01-13-2011 11:23 AM
Merging Outlook library and Phone library Erel Official Updates 11 09-15-2010 09:22 AM
email notifications DaveW Forum Discussion 2 12-11-2008 06:17 PM
PhoneticAlgorithms Library (ex-StringComparison Library) moster67 Additional Libraries 10 11-11-2008 07:46 PM


All times are GMT. The time now is 06:43 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0