i want to design a visual alarm kind of thing in which if text msg will be flashed after few secs. obviously user will see it only if he\she is using the phone
i want to design a visual alarm kind of thing in which if text msg will be flashed after few secs. obviously user will see it only if he\she is using the phone
i'm not sure i understood you....but i think you can use system alarm.....or?
and in one condition the text/image has to be displayed as soon as one particular application starts.
You can get "notification" when an application start. Indeed the methosd i know is not very clever but it works (wrote somewhere else in the forum about it)
ya i know how to do that and have already mentioned that recently in series 60 forum. Actually problem is that after getting that notification i am drawing text using CWindowGc::DrawText() from my background application. but this gives panic. so i thought there might be some other way.
ya i know how to do that and have already mentioned that recently in series 60 forum. Actually problem is that after getting that notification i am drawing text using CWindowGc::DrawText() from my background application. but this gives panic. so i thought there might be some other way.
Don't know exaclty the link now but check at Mika Raento's web site. He shows there how to draw from an exe and background app
i tried to implement the code in an exe as well as app. in exe i am not able to get a reference to RWsSession. and in app RWsSession::GetRedraw() causes a panic.
ok i connected to thev Window server using RWsSession::Connect. But now CWsScreenDevice::Construct() is leaving without any error code. and if i remove it then further down the code am not able to construct CApaWindowGroupName odject.
Forum posts: 982
pirosl
Forum posts: 83
warm regards
saurabh
Forum posts: 982
i'm not sure i understood you....but i think you can use system alarm.....or?
pirosl
Forum posts: 83
my application will be running in back ground and will flash some text over some other application.
saurabh.
warm regards
saurabh
Forum posts: 982
my application will be running in back ground and will flash some text over some other application.
saurabh.
Yep...then you can use system alarams
pirosl
Forum posts: 83
warm regards
saurabh
Forum posts: 982
You can get "notification" when an application start. Indeed the methosd i know is not very clever but it works (wrote somewhere else in the forum about it)
pirosl
Forum posts: 83
warm regards
saurabh
Forum posts: 982
Don't know exaclty the link now but check at Mika Raento's web site. He shows there how to draw from an exe and background app
pirosl
Forum posts: 83
i'll check that link.
warm regards
saurabh
Forum posts: 83
i tried to implement the code in an exe as well as app.
in exe i am not able to get a reference to RWsSession. and in app RWsSession::GetRedraw() causes a panic.
can u plz help me out.
warm regards
saurabh
Forum posts: 982
pirosl
Forum posts: 83
But now CWsScreenDevice::Construct() is leaving without any error code. and if i remove it then further down the code am not able to construct CApaWindowGroupName odject.
warm regards
saurabh
Forum posts: 982
There is a sample code "Ui in exe". May be is a good statrt point for you
pirosl
Forum posts: 83
There is a sample code "Ui in exe". May be is a good statrt point for you
hi pirosl
chk out
http://db.cs.helsinki.fi/~mraento/lxr/source/context_log/inc/screen.h
http://db.cs.helsinki.fi/~mraento/lxr/source/context_log/src/screen.cpp
and the source code mentioned in the link is a part of .app application.(http://db.cs.helsinki.fi/~mraento/lxr/source/context_log/group/context_log_common.mmp)
so u get CEikonEnv easily. but in exe i dont think that we have any CEikonEnv.
so my problem of not getting CWsScreenDevice::Construct() to work still exist
warm regards
saurabh