Win Mobile 6.5 HTTP Calls rate limiting - Windows Mobile Software Development

Ok, so I'm developing an app that does its stuff via HTTP calls. I guess you could call it REST. Basically it's a file uploading utility, that uploads files in multiple parts (so I can monitor the progress), and does this via HTTP.
The backend works just fine, particularly since I ported the client code to a desktop test app and the uploads complete quite fast, and successfully.
The first call is a call where I get an upload ticket from the server.
From the second call on up until the one before the last, I send data.
The problem is that upon the third call (on the emulator), and the second call (on the physical device) the operation times out. So basically, if uploading from the emulator I end up with a file on the server that's the size of the send buffer, and from my phone I get a 0 byte file, since I don't get to make the second call to even upload the first part.
So here's my question: is there something in the framework that limits the number of http calls? Since the desktop client works just fine with the same backend, yet the phone seems to stubbornly refuse to work properly.
Oh, just so we're clear, I'm doing this in C# (.NET CF 2.0).
L.E.: emulator runs WM 6, phone runs WM 6.5.
Thanks in advance.
L.E.: fixed the problem. It was in my code. A stream I wasn't closing (and apparently there's a limitation on the amount of streams concurently open on a mobile device) on each call.

Related

Answer Machine Software

Hi
Quite a while ago i had software on my Symbian OS Nokia that worked as an answer machine. It was great. I have had no luck finding one for the Pocket PC. Has anyone seen one about.
Some key advantages included:
No cost for reteiving messages from the network
Quick access to messages
Multiple answer recording depending on caller and situation ie friend calls answer 'hi man in a meeting leave a message' vs business caller 'Sorry i am in a meeting at moment...'
I have found a couple that uses sms to reply but none that actually record the voice.
Any ideas?
comment +
Do Not Disturb 3.3 ppc site - http://www.jgui.net/index3.html
Shareware $9.95
link - http://www.hpc.ru/soft/download.phtml?id=10879 - wait 5 sec for downloading
Im sorry, I might not have explained my self. I'm after software that will do voicemail. I want to take a voice recorded message from the caller rather than have it diverted to my network voicemail.
I like the sms idea though and I'm sure the 2 applications could be integrated etc.
Hi
I have been doing a lot of investigation into this subject as i think its a neat idea. I know it has been asked many many many times before in this forum as i have dredged deep into the archives so I'm just wanting to share some info as to what i have found and find out if there have been any new developments since the last relivant posts a few months ago.
I have found this software i used to use called smartanswer for a symbian nokia
http://www.symbianware.com/product.php?id=sanswer60&pl=n6600
So i know it is possible on a similar system but different OS. I haven't managed to found any real reason for it not being able to be done on a pocket pc yet although I'm sure there is a reason or else it would have been created several times over already.
Anyway its just my small blabber wasting time in my lunch break.
phatbloke:
I've been asked about this numerous times, and you say that you've found no good reason why it's not happened yet:
Basically, as I understand it, and I know next to nothing about this area, but basically, the Phone PocketPC is just a pocketpc with an entirely seperate piece of hardware for the phone. The two are independant.
Inorder to control the "phone", the pocketpc comunicates with it through a COM port, sending commands to start calls, data connections etc. However, as I understand it, we have no direct means to access the audio/in out. So, although this is bog standard on many intelligent phones, the pocketpc was never designed around phone hardware, but merely slapped on piggyback.
Being able to record the calls is obviously essential to the answering machine. Some of the clever boys on this site have said that this is impossible or unlikely until we reverse engineer the drivers, and this hasn't happened yet AFAIK. Again, if this is all ball-ocks then someone please correct.
I can monitor missed calls, hangup incoming calls, log all that and so on, but spooling audio in and playing something down the line evades us for now.
Look here towards the end for discussion and futile ideas I had:
http://forum.xda-developers.com/viewtopic.php?t=20691&highlight=
and here if you're Italian:
http://www.ppcvideo.net/forum/index.php?showtopic=8954&st=0
V
PS if you follow the first thread, someone mentioned that Resco Sound recorder can record both in and outgoing audio on calls. Can you try that software? If that works, it might be possible. But I've seen no verification and don't have the opportunity to check it myself.
Hi all,
I am understanding; Microsoft don't publish some "sensitive" APIs like recording audio from downlink, etc. ..... I am Symbian Software Engineer; That is everyday life for me.
So, while using Symbian, you have the possibility to make requests to Symbian or Nokia for getting access to their internal API. We do that several times... perhaps for muting microphone, GSM trace information, etc. Exists there a business case to get access to Microsofts internal API?
A contact will be very helpfully!
Thanks a lot!
Br
Adrian
Hi!
I need help for voice cal recording - automatic voice answering.
I want to find b u s i n e s s partner in this field.
Sincerily,
Leo
Why I Secretary can’t mute the microphone of my xperia x1 and why the caller can’t hear my answer message
How can I fix this using registry or any tweak tool for windows mobile 6.1
thanks

[AppDev] HowdyKeith's Mortscript Apps for Pushing Progress

Here I am going to reposit the multiple dev topics i am working on and a dev blog and where we r pushing.
Some of these topics will have been discussed before and apps released.
I am going to take 'em and tie em together for bigger goal.
Some of these Mortscript apps were written a long time ago and can benefit from a more robust version of Mortscript.
Also I will post as many script tools here as I can. Some tools are scripts I have written but don't deem their own thread. Other things are the real applications I find indispensable.
Links to real apps...
ai Cab Explorer:
http://forum.xda-developers.com/showthread.php?t=561968
Webpage Cabgrn for making registry cabs
http://www.supware.net/CabGen/
Links of Mort utils.
Wav player - Mort seems not to want to play different types of wav files. This app will let u test them through mort. I will list the types that Mort doesnt play and the types of wav it does play.
bluetooth functionality.
Currently there is no working Bluetooth toggler for phones with the Widcomm bluetooth stack. I made a working toggler with the help of Pocketmax PhoneAlarm. I am pretty sure i can make a stand alone bluetooth toggler now.
With Phone alarm i can have the bluetooth go on and off when I plug my phone in. As long as I can use Phone alarm I have that issue licked. I could Mort that, but Phone alarm is so great that if I can use it, i do. All these apps I work with I am stuck with the trial versions, but since I end up resetting my phone every other week that never is too much of a problem.
The remaining issue is with turning on Microsoft Voice command with my car settings. We're going to take a look at that here. For auto profile switching i can detect if the car is connected AND my computers bt dongle is connected, i am at home: (disable the car bt so i dont miss calls) Also if first connect of computer after being connected to car, auto run ActiveSync and sync up.
Also I can have Voice command msg me with spoken msgs using the SMS sender I wrote. What could work better is to make appts and have voice command read those. I expect to bump into some walls.
After a number that is unknown but the number is available can popup a while pages with the number.
sill want a whois posted to the dialer screen status. will the internet kill the call? no, right?
So my phone cant run http://forum.xda-developers.com/showthread.php?t=298279&page=6 but i can make it work with mortscript. also phonelog should do this on my phone can do this, but it is always 5 hours off when it stores it. i have complained about this bug for the last 2 years or so, but since i am the only one with this problem, updates have never fixed this for me. obviously i should just write my own.
http://xboxapi.duncanmackenzie.net/gamertag.ashx?GamerTag=skullliosis
internot
A good hard look at the connected to internet detector. Why does iexplore connect to the internet and morts sometimes don't?
One more for the pie.
Issues and walls that are suck.
I dont have GPS, or even rkLocation. WTH. But I do have internet. Which means maybe I could use a web page What;s my ip to get a location. I couldnt use that to drive a map program of course but just maybe I could tell that I was not at home and set my bluetooth and stuff to on.
Some apps use a static location. If i can get a zip it might be possible to inject it for the app to use.
Also, we can't detect how much memory a program takes up, for example in a task manager. but we do know how much memory was available before we opened the app and then how much free after.
phone creeping.
Just between u n me.
CatchMe:
http://forum.xda-developers.com/showthread.php?t=502214
A number of lost phone apps can do certain remote tricks. I don't want to reinvent any wheels, but none of these apps work on my Windows Mobile 5 Smartphone. To tell the truth I already have gotten most of the lost phone functionalities working with StatusTicker. But we can go a bit further than just send back SMS with GPS or even rkLocation (I can do that, sure). Here are some additions I will be workin on shortly:
Remote activation of cameras to take some pictures and remote live video.
http://www.mobiletopsoft.com/pocket-pc/download-mobiscope-video-from-webcams-2-6-15.html
Remote trigger an online backup.
File Forte (Auto FTP backup)
Shozu
Apps that capture documents and upload em to online could also capture the call logs and sms logs.
Evernote
Dashwire (I better hurry while it's free)
Qiik? sends video
Send Back data:
Send me all my SMS Received/Sent
Send me my call history
What's my phone's Ip?
Remote purge
Remote lock
Turn on the bluetooth and annoy the neighbors. It could be possible to turn on the bt and then use it like a range finder with a different phone. Of course we can just unmute it remotely if its muted and trigger an alarm sound.
Downloading on a smartphone
I'm Batman
Here we will look at keycap ing and how close we can approximate it.
Using Iexplore as a config editor.
I am pretty sure I can use html pages to modify config ini's.
By having the page pass itself the arguments on the url, they show up in the page title and thereby can be reintegrated with Mort.
I already set up the html a few years ago on a e-commerce site I worked on. I found my old javascript codes which pass and interpret the ? and & variables you see in the url address bar. This means I can can use check boxes, input boxes, etc...
I am thinking this is going to be very cool.
Poor mans motion detector
So can we make a motion detector?
take picture
take another
compare size.
if size <> image has changed.
What about taking a picture/screenshot and if its black then we can check its size and see that it is dark?
If there is no native camera click option, and we can't access the camera sometimes, we may be able to leave the camera view open and then take screenshots with a screenshot app and then use those picks...
***
Mort doesnt give size of an app in memory.
so we would have to subtract the new free space from the old memory. yikes?
AppToDate - Mortscript support and integration
integrate Apptodate version checking and updating without using apptodate:
AppToDate Subroutine for Mortscript
Hi,
So I have AppToDate support in my Voice command app. So if you have AppToDate it will report whether you need an update and can download and install from there.
I have made a subroutine for your AppToDate supported mortscript app so it can check for an update.
We could have it download the updated cab. I can't use the download command since I have a smartphone. I guess I could make the PPC version and then have my app run AppToDate on my Smartphone.
And to think I hesitated.
Attached Files
File Type: zip AppToDateSub.zip (1.9 KB, 0 views)
Infra red receiver/transmitter
i wonder if i can make a Infra red receiver/transmitter with mortscript?
Well we cant do infra red output. but we could activate the infra red receiver and then use a remote control on it?
Phone Utils
Can we identify the caller and if known, open the contact with that callers name. Yes, I think we can.
Bluetooth
Solution : all system sound in headset
I found a solution for route all system sounds in a non-stereo Bluetooth headset, the microphone still works for calls but at the end of a call the sound is back in the speaker and must restart to make it work again.
Does anyone know what is the problem?
To do this we must change a registry value: HKEY_LOCAL_MACHINE\SOFTWARE\Widcomm\Connections
Choose your device hands free in the right folder 0001 0002 0003 ....
And change the value of BDDevClass 24 04 04 to 12 01 04
Click to expand...
Click to collapse
so u can detect what the window title is and active process
(8:56:04 PM): sorry
[email protected] 8:56 pm
(8:56:10 PM): oh
(8:56:19 PM): ya i use wad for that
(8:56:24 PM): but ya that would be great
howdykeith 8:56 pm
(8:56:24 PM): huh
[email protected] 8:57 pm
(8:57:21 PM): wisbar advanced has this option to do stuff, like change SIP and what not, so you can activate this based on active process, active window.. so i use that to see what windows are open.. but your idea i would use daily.
Get Lifestream on your mobile phone
You can now receive Lifestream updates on your phone from selected Buddies.
Learn About AIM TXT
AIM TXT gives you access to AIM by sending simple text message commands to 246246. Just enter 246246 in the TO: field of your text message and then an AIM command from the list below in the message body. The full AIM TXT menu will be sent to your phone after you send 'login' to 246246 and reply with your Screen Name and password:
status
update your AIM Status Message
Ex: status having lunch with Chuck
send
send an IM to a buddy
Ex: send ChattingChuck where are we meeting tonight?
login
log in to AIM Ex: login avail - set yourself to appear online and available; you can also update your AIM Status Message in the same command
Ex: avail
Ex: avail I'm back from lunch
away
set yourself to appear online and away; you can also update your Away Message in the same command
Ex: away
Ex: away at dinner until 7pm
invis
set yourself to appear offline; you can also update your AIM Status Message in the same command
Ex: invis
Ex: invis playing a round of golf
bl
get a snapshot of your Buddy List (all buddies in your 'Mobile Device' group)
Ex: bl
add
add a buddy to your 'Mobile Device' group
Ex: add GabbyGrace00
del
del a buddy from your 'Mobile Device' group
Ex: del ChattingChuck
switchsn
login with a different Screen Name
Ex: switchsn
help
some examples of AIM TXT commands
Ex: help
Facebook:
Facebook Text Messages
Facebook Text Messages let you use Facebook through text messaging on your phone.
You can text Facebook to update your status, message your friends, or send a poke on the go. You can also choose to receive texts with messages, pokes, and wall posts from your friends right when they happen. (Standard text message rates apply.)
What do you want to do? Click to see preview
Update status is at john's party
Message msg john smith what's up
Search search john smith
Get cell # cell john smith
Events event
Wall Post wall john smith happy birthday
Add friend add john smith
Send text messages to:
32665 (FBOOK) Facebook Text Messages Demo
Enter a text below to preview what would happen when you send an SMS to 32665 (FBOOK).
To: 32665 (FBOOK)
Txt:
Send Twitter updates by text message
If you add your phone to Twitter, you can update anywhere, anytime by simply sending us a text message! Once your phone is verified, you can start sending (and receiving!) updates instantly. Depending on where you are, you may have a local number. You can send a text message to any of these numbers and it will post directly to your Twitter profile, and be sent to all of your followers:
We currently support 2-way (sending and receiving) Twitter SMS via short codes and 1-way (sending only) via long codes.
Short codes for 2-way Twitter SMS:
US: 40404
Australia: 0198089488 (Telstra customers)
Canada: 21212
UK: 86444 (Vodafone, Orange, 3 and O2 customers)
India: 53000 (Bharti Airtel customers)
Indonesia: 89887 (AXIS and 3 customers)
Ireland: 51210 (O2 customers)
New Zealand: 8987 (Vodafone and Telecom NZ customers)
1-way long codes:
Germany: +49 17 6888 50505
Sweden: +46 737 494222
All other countries: +44 762 4801423
We're working on getting more local short codes for other places, and we'll update this list as they become available. If you travel out of the country, check with your mobile provider to see if they route text messages to local short codes, of if you'll need to use the international number instead.
If you use 40404, you can send and receive unlimited messages from Twitter, but we do advise you to check with your provider to make sure your text plan covers text messaging. If you use one of our other numbers, you're limited to 250 messages per week, refreshing every Sunday at 12:00am GMT.
For people using any number other than 40404: once your phone is verified, you'll be able to send your updates to +44 7624 801423 , but you will not be able to receive text updates from Twitter. Find out more on the Twitter Blog.
A word of caution for UK residents using the international number: some carriers don't charge an international fee to use the Twitter international number within the UK, but others do. Some carriers consider it an international number and charge from .15 to .25 per message. Remember to check your phone plan for international rates; be aware that even in the UK, standard messaging rates vary by carrier, and do apply.
howdykeith said:
so u can detect what the window title is and active process
(8:56:04 PM): sorry
[email protected] 8:56 pm
(8:56:10 PM): oh
(8:56:19 PM): ya i use wad for that
(8:56:24 PM): but ya that would be great
howdykeith 8:56 pm
(8:56:24 PM): huh
[email protected] 8:57 pm
(8:57:21 PM): wisbar advanced has this option to do stuff, like change SIP and what not, so you can activate this based on active process, active window.. so i use that to see what windows are open.. but your idea i would use daily.
Click to expand...
Click to collapse
+1 on a simpilier solution
nhvoltagenh said:
+1 on a simpler solution
Click to expand...
Click to collapse
Hope u r happy now!
1 script. Click for on, then click for off. No BS.
Do aim url links work on win mobile?
About page in IE
(Contact too)
Interesting

[APP] VipVonageCF Enable/Disable Call forwarding with you vonage world account

I creates Small app to make international call using vonage world plan.
App sets your call forwarding by logging in to you vonage ( not vonage mobile ) account. and based on setting it disable call forwarding.
That means internet (GPRS or wi-fi) connection is needed.
Based on setting App also make call you vonage number means if you are using during day time your minutes are used.
Requirement : It need .netcf. App is written in vb.net
Installation : download and unzip exe to anywhere and run it.
Setting are stored in registry @ HKCU/VipSoftware/VipVonageCF
reserve
Reserve for future use
when i try to run the vonagecf.exe it says application requires a newer version of the Microsoft .NET Compact Frame work, where us i have the latest 2.0 with SP2 Version on my phone - HP IPAQ Glisten

Anyone using inbuilt SIP calling on WM6.5 ?

Hi all,
I am trying to get SIP Internet Calling working on my WM6.5 (Touch Pro2). I got to the point where it seemed to want to use my VoIP provider (Rynga - a Betamax Company) but then I just got a "Bing" sound and it then tried to call regularly via Vodafone.
So I don't know if I have something wrong in ipdialplan.xml or if there is some other issue. I read elsewhere that maybe I should not specify a STUN server. I only plan to use the SIP over wi-fi.
I assume the files I need are ipdialplan.xml, dnsapi.dll, voipphonecanvas.dll and rtcdll.dll and then get my sip settings into the \Windows\System\VoIP directory.
Can anyone suggest an alternative client to at least prove my sip details and handshaking my account with my provider ?
C
UPDATE: I downloaded and setup PortGo and got connected straight away so that verified that my SIP settings and Account Details were correct. I then followed a thread http://forum.xda-developers.com/showpost.php?p=5963857&postcount=1647 which has a CAB to create the IPDialPlan.xml file. This is the real key part and if it's wrong, you're going nowhere. So once done (make sure to set the properties of ipdialplan.xml to read/write using Total Commander or similar)
So I now have VoIP using the HTC Dialer. However, using Sense on my phone, it's not too easy to turn off internet dialing if I just want to use GSM and so, I think i'll just stick with using PortGo when I want to use VoIP. With PortGo, it will use all your standard phone contacts so there's no great hassle is using this separate dialer.
I've assigned PortGo to the Send Key(Hold) so that gives me easy access to either dialer.
Did anyone ever manage to get the sound out via the regular ear speaker rather than via the rear speakerphone ?
C
So is it working properly and are you able to make phone calls using VOIP?
Yes, I finally got it working but it is too much hassle because every time I have wi-fi on, it wants to use ny VoIP account. My phone is a work one which I can use for limited personal use but I would only plan on using VoIP for personal calls. So it's far easier to use a separate app where I can decide when exactly I want to use the VoIP method. The PortGo application uses my same contacts as the standard HTC Dialer uses so I can just dial numbers exactly as is (without maybe using a code to place calls over VoIP instead of them using GSM or whatever.
C

VNC server and call recorder?

for personal reasons, I need the two functions.
I'm currently using VMLite VNC server. It works but one problem is after Nexus 5X went to sleep for a while, the VNC server does not respond to a client connection request. I would have to wake up the phone before I can connect to VNC server. That makes remote access pointless.
second problem is I have not found a call recorder that actually works on Nexus 5X. I know there is an old post but I haven't found a solution.
some apps that I have tried either fail to record the other party or give distorted voice that's unusable.
This makes me want to use an iphone again. at least Veency is very responsive always, and there is a very slick call recorder in Cydia.

Categories

Resources