Related
We have some problems using TAPI in our application on MDA2 (PPC2003). The application is relatively big and written with C++/MFC. During our tests a lot of outgoing/incoming voice calls have been done/received. And somtimes TAPI does not send important messages back to the application. The errors that we have observed are
- lineDrop missing LINE_REPLY
- lineMakeCall missing LINE_REPLY
- call state missing notification
For example, in the last case the call had reached the called party, was answered and dropped in 3 seconds but we didn't receive the corresponding notification. Sometimes the correct notification comes after subseqent call to lineDrop function.
Besides, the functionality works well on MDA (PPC2002).
Could you give us some hints how the problem could be solved or investigated, please?
Are you using a callback or a thread listening for events via lineGetMessage? You should use a thread and message processing should be very quick.
mamaich said:
Are you using a callback or a thread listening for events via lineGetMessage? You should use a thread and message processing should be very quick.
Click to expand...
Click to collapse
Thank you very much for the quick and helpful answer
Calling to lineGetMessage was there in a separate thread with normal priority. That thread, however, performed the whole postprocessing of the messages, so really it may lead to delays in processing of the following messages.
Today morning I have rewritten the corresponding piece of code and created the special thread with highest priority which waits for a TAPI event, calls lineGetMessage and puts the result into a queue. Indeed, the application seems to work more stable now, but, unfortunately, the problem remains
Besides we have another problem in our application on MDA2 that sometimes some synchronous TAPI functions freeze the respective threads. When we try to terminate such a thread with frozen function in order to reload the modem application quickly (we had to move all the modem functionality into separate process in attempt to make the application more stable for the user) TerminateThread function returns error 87 (incorrect parameter). Something seems to be wrong in the TAPI-core, I think. So maybe the problem is that we perform several TAPI tasks in parallel threads (network signal, sending/receiving sms and so on) simultaneously? Could it be? What do you think about this?
It is very strange and even mysterious problem, because the application works well on MDA device as I said in the previous message.
Det said:
So maybe the problem is that we perform several TAPI tasks in parallel threads (network signal, sending/receiving sms and so on) simultaneously?
Click to expand...
Click to collapse
This may be the reason. In my project I've called all TAPI functions in the same thread. You may try to use RIL, but it would require to rewrite lots of code,
mamaich said:
This may be the reason. In my project I've called all TAPI functions in the same thread. You may try to use RIL, but it would require to rewrite lots of code,
Click to expand...
Click to collapse
Do you have any problems with unfriendly delays in receiving or making phone calls while SMS are being sent or receivedthen ?
mamaich said:
You may try to use RIL, but it would require to rewrite lots of code,
Click to expand...
Click to collapse
We need some preferencies of TAPI, like simultaneous access to the modem from different applications. And I do not know if RIL supports such a feature. I would say I do not know much about RIL at all
Det said:
Do you have any problems with unfriendly delays in receiving or making phone calls while SMS are being sent or receivedthen ?
Click to expand...
Click to collapse
I have not tested this.
RIL supports simultaneous access. It is used by OS in several applications.
mamaich said:
Det said:
I have not tested this.
RIL supports simultaneous access. It is used by OS in several applications.
Click to expand...
Click to collapse
I see. Thank you
I've read some info about RIL on this very helpful site. Maybe it would be the only possible choise since the application still does not work properly But it actually requires a lot of reworking. And it does not guarantee that the error would not appear again, I think.
Click to expand...
Click to collapse
Hey, i'm trying to Use some RIL functions in an MFC application. However i dont understand how to initialize it (RIL_Initialize) could i get some help ??? I'm trying to write an app which would change the PIN code of the sim card as described in the RIL patent. Using this function.
HRESULT RIL_ChangeLockingPassword(
HRIL hRil,
DWORD dwFacility,
LPCSTR lpszOldPassword,
LPCSTR lpszNewPassword
);
My problem is the HRIL hRil , @parm handle to RIL instance returned by <f RIL_Initialize>
No too sure how to do it !!! Need Help !!!!
Hi on my older phones like siemens there was an option to send dtmf tones which i used a lot.
EG.
1) I call 0800 CALLING CARD number and get a dialtone from the callco
2) I quickly go into my contacts and pull out the relevant contact and send the number as a dtmf tone
3) I get through to the contact
I really need to be able to send dtmf tones asap!
[PLEASE READ POST 8 FOR DETAILS ABOUT RECORDING CALLS AND MODIFYING PHONE SOFTWARE]
seems to be some software which does it but if any other ideas or software please let me know.
http://www.mobidial.com/mD/
Try dialDTMF at http://sourceforge.net/projects/dialdtmf
On my Jam it works flawlessly.
--------------
i-Mate Jam
ROM: 1.12.00 WWE
ROM Date: 05/28/05
Radio Ver. 1.13.00
Protocol Ver. 1337.43
ExtRom Ver. 1.12.128 WWE
Hi there thank you for the pointer!
I am about to try it out later today but have been reading about dialDTMF on here:
http://dialdtmf.sourceforge.net/
It sounds like it is designed before pocket pc's became phones simply to send a dtmf tone through to another phone by holding the pocket pc over the mic of the other phone. In this sense I would describe it as "Emitting DTMF tones" as oppose to "Sending DTMF tones".
This is different in the sense I would like to call a freephone number on the magician and then send the tones on the magician from my contacts. This is what I am calling "Sending DTMF tones".
Im hoping that even though it is designed to *emit* DTMF tones the sound is loud enough to go through to the freephone calling card company!!
Fingers crossed.
If anyone knows of a "Send DTMF tones" solution for the HTC Typhoon - SPV C500 / Sp3 please also post it, thank you!
Hi All,
I'm the developer of dialDTMF, Glad to hear it works out for some people,
As for cell phone support, you are correct it does not send DTMF's using the cell phone api it just makes sounds. You could try upping the volume and hope the mic picks it up like sainthalo mentioned.
The alternative would be to take the source code and update it to send the DTMF tone rather than play it. This would fairly easy for a cell phone developer to do (I don't have time or a cell phone that runs wm2003), should just be a couple of new functions. I'm happy to discuss (via email) though if some one wants to try, The source code is freely available. You could also check out http://artax.karlin.mff.cuni.cz/~jsyk7570/Xialer/ but it doesn't really handle calling cards.
I've a potentiall silly question: Are 0800 numbers free to call from mobile phones in the UK now? The last time I was over there they weren't (only from landlines). It maybe that using a calling card won't save any money.
Chris
Hi there clach04,
Thanks for signing up to these forums to help in this quest!
DialDTMF works as it is designed - as a Pocket PC DTMF tone generator but not to send DTMF tones down the Magician phoneline.
Okay, i'm sad to report that it does not work because it is not using the api and so is a "DTMF Emitter" rather than a "DTMF Sender".
There are several coders around here who are very active so god willing one of them will be along to help although it's something like this which gives the real urge to learn how to code. DO you have any advice for me (links, tools, etc) if I were to try and achieve this myself?
As for the 0800 codes there are some tarriffs left in the UK where you are entitled to call 0800 numbers to come off free minutes or simply as genuine free phone calls - thankfully I have one of these older contracts and therefore I can use calling card services.
Best regards
sainthalo
Guys, I would love to help out but with my upcoming nuptials it might be difficult.
However, I'm thinking thus:
Emitting DTMF is easy, play it out of the speaker.
Sending dtmf will require interfacing with the Phone part of the PDA; you should be aware that our PDA Phones are actually two semi-independant devices, phone and PDA; have you noticed you can switch off the PDA and still continue with a call? The two devices communicate through a virtual COM port:- this is done through AT commands and/or RIL. This is not an area of the PDA I have had much experience with yet, but what I understand so far is that it is very difficult to send data through to the Phone part of the PDA, from the PDA part.
This sounds absurd, and I may be absurdly wrong, but I suspect it is a similar problem to the existing issue about recording in-progress telephone calls. We don't yet know how, or if it is possible at all to interface directly into that part of the PDA and interact with the data, and so recording both sides of a phone calls is currently considered impossible.
I know user Pai has done a lot of work on Cell ID and other interfacing on that side of things. I suggest giving him a bell (no pun intended!) and asking his opinion.
I'll try to monitor this thread though.
clach04 - Do you have any further thoughts on this?
V
EDIT: Guys, I just had a thought. In the very old modem days school, we used to dial using at commands AT P (for pulse dialling, or AT T for tone)
eg AT P 123 would dial 123
It would do this by generating DTMF tones!
It should be possible I presume to send DTMF tones in this way as discussed above (RIL/AT). Anyone concur? This can be tested I presume with a terminal program, or just find COM code on this board. I'll try to find it if I get a chance.
V
Hey thanks Vijay, i'll keep my fingers crossed you come back to think about this in the future!
I have had another thought following Vijay's post and realised that a few other bugbears which many people find a tad annoying and would like to circumvent are possibly linked to this case. I have read on here people would like to play a recording/song from the Magician to a caller they are speaking to. I have done this many times on a Siemens SL45i but not on HTC Typhoon or Magician.
Im guessing the inability to play a Magician located recording/song down the Magician phoneline is down to the same reason that the dtmfDialer will not make a noise during a call - something is blocking out use of the speaker by PPC based software. Im assuming it is the PHONE software which locks out other PPC software.
If we can hack the PHONE calling software so that it allows other software to operate as normal it may well impact/solve the following problems:
Recording both sides of voice calls clearly
Sending DTMF tones
Playing recordings/music to other side of call
The dtmfDialer definitely does something during a call and I think i can hear some suppressed clicking when attempting to send a dtmfDialer tone during a phone call but sadly no audible tones. This possibly confirms my theory that the PHONE CALL SOFTWARE is blocking use of the speaker.
Well what do you all think? Possibly an awesome fix to many problems if the phone dialer can be hacked...
Saint, with regard to recording calls, there are other threads on this issue where much better men than I have said it's impossible, at least right now.
As I understand it, there's no direct connection between the phone and the pda bit, so playing something out of the speaker isn't playing it down the line - so the best we've got is "emission" rather then send.
This isn't a limitation by the caller program, it's a hardware limitation caused by the way our PDA phones are hacked together.
However, I think the AT P commands should crack this. I'll look into it at some point, if I can find example code.
V
Saint, with regard to recording calls, there are other threads on this issue where much better men than I have said it's impossible, at least right now.
As I understand it, there's no direct connection between the phone and the pda bit, so playing something out of the speaker isn't playing it down the line - so the best we've got is "emission" rather then send.
This isn't a limitation by the caller program, it's a hardware limitation caused by the way our PDA phones are hacked together.
However, I think the AT P commands should crack this. I'll look into it at some point, if I can find example code.
V
vijay555 said:
you should be aware that our PDA Phones are actually two semi-independant devices, phone and PDA;
....
The two devices communicate through a virtual COM port:- this is done through AT commands and/or RIL.
..
clach04 - Do you have any further thoughts on this?
Click to expand...
Click to collapse
Not really, my comments about how easy it would be to extend dialDTMF were from the dialDTMF contacts plugin perspective. It sounds like the SDK/api for these devices (for phone use) is pretty thin :-( If you do find that a modem AT style dial works you can replace the dtmf player in dialDTMF with a dial-string generator - the hard bit will be the interface to the phone. The dialing rules library I put into dialDTMF actually has a demo program that dumps dial strings to stdout (when ran on the desktop) - but until the phone api is resolved that is only midly interesting/useful now.
The AT style dial string approach sounds workable from the description.
sainthalo said:
DO you have any advice for me (links, tools, etc) if I were to try and achieve this myself?
Click to expand...
Click to collapse
That's one of those open ended questions that are really tricky to answer, I suspect this forum you are on is the best place to start as I suspect they have links to everything you will need:
You need a Cross compiler for WinCE:
http://www.microsoft.com/downloads/...3D-50D1-41B2-A107-FA75AE960856&displaylang=en
I guess youwill need a phone sdk:
http://www.microsoft.com/downloads/...99-EC5C-427C-807C-4C0F96765A81&displaylang=en
I'm not clear from reading the comments that this is for your device though..
.
If you nead to learn C then your learning curve will be pretty steep, try http://www.cyberdiem.com/vin/learn.html as a starting point
http://www.cs.virginia.edu/~lcc-win32/ is a nice small system and has tutorials to get you started with simple desktop programs
As for the actual phone SDK/api - I've no idea (and no phone) sorry I can't be of more help. Once the basic how to send DTMF's through the phone is solved converting dialDTMF will be pretty straight forward and I can point people in the right direction with that,
Chris
clach - I agree it should be very easy to converter over your DTMF code to AT or equivalent once someone hacks in AT commands.
General:
see here:
http://forum.xda-developers.com/viewtopic.php?t=19866&highlight=commands
There's code here: http://forum.xda-developers.com/vie...start=25&sid=3e4fdf4cec07bfe39e806da375db69c3
that I'm going to look into for CellID at some point. However, if you look through you can see how they're sending standard AT commands.
Hope that points someone somewhere!
Re: learning c++. I've only been using it for < 1 month, and it is a steep learning curve, but there are some things that can only be done in C++ and EVB isn't worth touching generally IMHO. So, steep learning curve it is. I'll be on the beach with C++ for Dummies :wink:
V
Guys i need some help with a programe
Something fun
1, Phone captures the UPC barcode/ISBN number (manually/scanning/etc)
2, Software converts UPC to ISBN (this is done via a simple formula)
3, Software converts ISBN to DTMF (or touch tone)
4, Software ready to accept new UPC barcode/ISBN number
(manually/scanning/etc) :roll:
Let me know if anyone wants to take on this project
[email protected]
RIL (Radio Interface Layer)
I got this from google - it may be the key. I've not looked into it yet but thought I'd post it to see if anyone has gone down the RIL road yet and if they've got any ideas:
"
how to send DTMF on smartphone?
I found RIL_SendDTMF function of RIL API
but I don't know how to use it?
May I LoadLibrary of RILGSM.dll and GetProcAddress of RIL_SendDTMF function
to realize send DTMF?
or have another simply method?
Thanks£¡
-
Best IE Helper Object: Ai.RoboForm
http://roboform.go.51.net
http://www.roboform.com/dist/affs/AiRoboForm-win32.exe
Siber Oct 19, 4:13 am show options
Newsgroups: microsoft.public.pocketpc.developer
From: "Siber" <[email protected]> - Find messages by this author
Date: Wed, 19 Oct 2005 12:13:21 +0800
Local: Wed, Oct 19 2005 4:13 am
Subject: Re: how to send DTMF on smartphone?
Reply | Reply to Author | Forward | Print | Individual Message | Show original | Report Abuse
I Got iT
lineGenerateDigits()
"
Anyone using C# to use this?
Pat
RIL
FYI:
RILGSM.dll can also be known as RIL.dll
Hi all
I am a software developer and I am interested in developing smartphone applications on my spare time (and I have a lot) for free.
What I need is ideas…. Meaning, me my self has HTC Diamond and all of my application needs is modest but I am sure that you guys probably have more needs then I do and …. My be you can help me help you … so bring on the ideas (… just not themes and all of this kind of applications).
Thanks
csharpcoder4u said:
Hi all
I am a software developer and I am interested in developing smartphone applications on my spare time (and I have a lot) for free.
What I need is ideas…. Meaning, me my self has HTC Diamond and all of my application needs is modest but I am sure that you guys probably have more needs then I do and …. My be you can help me help you … so bring on the ideas (… just not themes and all of this kind of applications).
Thanks
Click to expand...
Click to collapse
Very good.
Okay, I've got a request:
I need a little program, which is the same like BluePower which switches BT on when connecting to AC but a little bit more extended.
So, 2 things are very needed:
1. A popup which asks if BT should really switched on (YES/NO; Standard: YES)
2. This prog should recognize if a BT-device is connected so BT should stay on when loosing AC-Power
That's for now
-Lycox
- how about an application that converts any selected email or sms into an appointment
simple but very very usuful
photo uploader
hi, i'm looking for a program to upload, pictures/photo's/video to my own website. like, you make a picture and then you can select to upload it to your own specified website. maybe also the posebillety with gps position and some comments. don't know if it's possible.
pls think about it!
grtz heyk
hey i m looking for photoeditor for elfin can u made it
Really cool would be, to have an small app like g-profile, which for example turns on wi-fi on an fixed placed at an fixed time.
for example i come home, it recognizes this gsm singnal, and wi-fi turns on.
or i get to work, its not yet my breakt and it turns the volume to just vibra. than my break starts and volume turns up.
gprofile can do such thing but just with one reason, gsm OR time, i would need both
i want if you fancy making a simple but functional hard key program swapper so i can change the hardkeys setting easily to other programs.
thanks for the offer wish I could do this.
I wouldlike to log calls in contact notes like agendasfusion.
callcalendaris close but buggyand logsonly incalendar.
a weather app like weatherpanel where wallpaperis live radar
a calculator app with running tape, and a transparent keyboard
looks like youre gonna be busy!
i was thinkin recently of working with someone to make some palm pre-like apps
the fluidity of the apps on that device ive seen in preview vids and the wonderful use of the small screen real estate (no top and bottom bars, minimal buttons), is something that is almost necessary on screens like my htc touch (same screen size as the palm pre)
so, i would provide all the graphics for these apps, just need a developer
i think so far pocketcm contacts has contacts/sms covered.. very smooth scrolling, with a skin i can acheive the same simplicity and great use of fullscreen view on a small screen as i whippd up in this photoshop mockup:
i think what winmo needs is a good email interceptor app.. there are none that are skinnable to the extent of pocketcm contacts or as fluid, and then an image viewer (see palm pre screenshots of that app here -simple but very useful-:http://www.engadget.com/photos/palm-pre-official-ui-shots-1/1290333/ you can find videos all over) and a similar calendar app
most needed is the email app
if you could develop trust me.. you would have an insane following of obedient users
weve been looking for one for a long time, but its never come thru
if you make it, ill provide graphics!
think about it
htctoucher
What about a application, an actual good and working application that lets you create group distribution lists for email groups in your contacts similar to how the blackberry allows you to do it from their contact list and be able to use the group listing whether creating a new email or forwarding an email. I am shocked that this issue hasn't been addressed sooner.
dexstar said:
i want if you fancy making a simple but functional hard key program swapper so i can change the hardkeys setting easily to other programs.
Click to expand...
Click to collapse
Try http://ae.inc.ru its called AE Button plus and its free
Woah man ur gonna be real busy
I like to be simple so........how about an application that will turn a picture into the real thing, like sayyy; Jessica Alba
fatso485 said:
- how about an application that converts any selected email or sms into an appointment
simple but very very usuful
Click to expand...
Click to collapse
+1k
Complete lack of integration between calendar + contacts and email + contacts is very disheartening!
My problem is that I do a lot of presentations, and all the presentation pointer/remote apps out there cannot meet my needs in terms of simplicity. All of them require me to run a server app on my PC.
I have used one in Palm that emulates a bluetooth HID keyboard/mouse, meaning it can do anything that your mouse or keyboard can do. The app requires to have virtual keys for Ctrl, Alt, Del, Function keys.
Link to the BlueRemote software
http://www.palmgear.com/index.cfm?fuseaction=software.showsoftware&PartnerREF=&siteid=1&catid=16&area=software.category&searchtitle=Wireless%20%2F%20Networking%20%2F%20Communications&searchterm=&step=1&orderby=sales&direction=asc&userid=0&prodid=124035
Suggestion
fatso485 said:
- how about an application that converts any selected email or sms into an appointment
simple but very very usuful
Click to expand...
Click to collapse
Maybe a suggestion, in Microsoft Office, If we copy/paste or drag-drop email to Calender, then it becomes an appointment.
Maybe this could help you in some thinking...
ASh
Papi Jump
Hi!
My idea is to make a game, similar to Papi Jump (a great game for iPhone) - you can see the game on this link: http://www.youtube.com/watch?v=vQxltToeNXo . It's an arcade game - you control a jumping ball with tilting your device.
It would be great if could make this game work for Windows Mobile.
Since we're all tossing stuff into the "wishing well", I can add something too
An application that would scroll RSS feeds on Home screen in Manila.
Of course, such an app isn't hard to make, the RSS Hub saves its channels into simple files - the problem is how to incorporate it into Home screen.
Well, I got an idea for that as well! Recently a small program called Personalizer showed up that enables us to change the network provider name into anything we want - that would be the perfect place for RSS scroller to show up! And since there already exists a way to modify this data, I suppose it would be possible to use Personalizer as backdoor for the feeds to show up in that text filed!
Even if they wouldn't actually "scroll", I think they could be made to change every 4-5 seconds.
fatso485 said:
- how about an application that converts any selected email or sms into an appointment
simple but very very usuful
Click to expand...
Click to collapse
+2
Or how about a Config-Editor for FingerPoint? ( http://forum.xda-developers.com/showthread.php?t=499734 ) - so there's no more need to edit the XML Config File manually?
How about an application that reminds you to drink water and tracks how much water you have drank per day. As everyone should know, the average male should drink 3 to 5 liters of water everyday and ladies should drink 2 to 4 liters.
How about a litle app that:
1-Reminds you to drink
2-Allows you to input how much water you have drank (when reminded or manually)
In the long run, you could monitor how much water you consume on a monthly,qaurterly ,biannually and yearly basis.
Is there any?
I know only call firewall 1.4 which I found here...
I would like to set up setting so that only whitelist can call me when I sleep, for example...
Thanks
Photo contacts pro.
But I don't like it with manila.
You are right...is not really nice with manilla as far as I can see..
You can try MagiCall - that is the perfect way how to manage calls and SMS. Works for me on LEO in version 1.2.2 Build 93 , but there is version 2.something I suppose....
G-profile does that beautifully along with many other options.
Is not point of G-profile just to turn off phone mode in time intervals?
I would like specific function: after x and before y time only these xx numbers can call me...
I installed Pdaimatejam Rom Wp7.8 OS 7.10.8835.35 v8.5 >FULLY UNLOCKED>, well and till now i love it, work well, i make trickshot for battery, and battery hold good, but i can't cal for example *500# to know info about my account! Its my device not working, or is a bug? Other things work very well,
Thanks all!
ussd dialling don't work. another short sighted ****-up from MS I believe. Found same issue on Nokia 900 we had for testing along with many other not so smart lacking features of WP7.5 smart!phone OS
So not smart that 7.5 & 7.8 could not meet our needs in many areas & has many missing basic user convenience features such as no multi volume control, bluetooth restrictions & issues, no sound or ringer profiles, Poor to no sounds/alert type options for all alerts and alarm,no sms draft option, unable add file attachment to email & many many more ....
Sure a lot of this can be worked around or fixed but it should not need to be, out of the box it is worse in actual real world use & function than wm2003se ...
Do believe an app is in the market for ussd & perhaps a fix/patch if you search around ...
Thanks
Well, thanks bro for info! but i already make bluetooth working and what i need more but only few little bugs xD, or restrictions from MS, well, thanks again!