Using GPRS POST from within application - Windows Mobile Software Development

Hi, We are trying to use http POST within an application we have developed. A http connection is established but then returns an error. Has anyone had any issues with this type of thing? Any ideas?

What is the error?

Related

why sometimes TP2 automaticaly connects to internnet?

I think this question has been posted somewhere before but i really tried search,got no clue.
Sometimes touch pro2 automatically connects to the internet,you can see a pop-up window,saying that something like " cannot connect to...dialled...please check your connection.....dismiss".
This morning when I woke,I saw this window again,sorry I pushed dismiss button,the window's gone,so i cannot copy the exact content here.
I dont count,but i think all the roms I installed has this phenomenon. So I guess all of you saw this pop-up windows.
can someone point me to the right link that answered this issue?
thanks.
-auto weather update?
-Activesync trying to connect to your exchange server?
-Your other POP3/IMAP email accounts trying to poll the server?
-Microsoft MyPhone set to auto sync?
-Microsoft Live trying to poll the server?
-QuickGPS trying to auto update?
-anything else running in the background that uses the internet? (eg, Marketplace, IM apps, browser, etc)
if that window is popping up then you have the wrong data settings. find the correct data settings for your mobile operator/carrier and put them in your phone, or if you don't want to use any wireless data search for modaco no data on google and use that app to stop your device from attempting to connect.
Thanks a lot ! Was looking for that program....
Also you can use 1minute gprs disconnect, it´s a great tool

Skype for WinMo

Probably old news to most people here that Skype have taken this off their web page, but I had a bit of trouble finding the cab this morning, and thought i'd post the link to it here while it's still active so ppl can grab it before they remove that as well. You can use Fring and other apps too I guess, whatever floats your boat...
http://download.skype.com/SkypeMobile.CAB
TNX man. Didn't have cab stored.
i just got the cab and installed it...so far so good, but i can't connect. i enter nick and pw and it starts connecting, but doesn't finish. i'm connected to the internet via active sync and that's working fine...any advice?
EDIT: Okay, eventually there was an Error Message saying that it couldnt connect to the skype network and that I should checkt my network settings...should I enter any proxy settings?
Thanks mates!

Activesync with exchange while roaming

Hi,
It seems that I have a systematic security error when active syncing while I'm roaming. I did not have this error on my previous phone : push was disabled but I could sync manually.
And of course, sync works fine when not roaming.
I havd read that ICS does support some more parameters for the active sync protocol but what could lead to that error message only when roaming?
Thanks.
Sent from my Galaxy Nexus using XDA App
Coming back to this, Touchdown does sync when roaming, so the issue seems to be more on client side than server one.
Nobody else is facing this issue?
Hi, sorry that I re-post on this one, but the truth is that I still have this very same problem for already 9 or 10 months.
Exchange Sync is not working properly when I'm roaming... Scenarios are as follows:
- Sync works just fine when I'm not roaming or via Wifi
- When I'd land in a different country, I'd get a couple of syncs working fine
- Then after 1 hour or 2 max, sometimes not even, sync stops working and the Exchange process is emptying my battery in less than 1 hour...
- When I go back on Wifi (e.g. hotel) or when I get back home, that's it, sync works fine again...
I fail to understand what can the cause of this and where to look for solutions or workaround...
As said earlier, I checked with Touchdown and syncs work just fine, roaming or not roaming... But I'm a "stock" guy and I don't want to use Touchdown just because of this roaming active sync that is not working...
Any recommendation on what I should look for? Anyone who would be having roaming active sync working?
Thanks.
PS : I'm on JB stock. I had the same problem with ICS stock and with ICS AOKP before...
Its possible you have a policy on your exchange server that doesn't allow syncing while roaming.
I experience the same battery drain you speak of while roaming. So to save battery life I disable data if I don't need it or sync only when I'm connected to WiFi.
Thanks a lot for the answer. I think I was not clear in my earlier post. My issue is not that the sync is not working, it is that I don't even have the possibility to manually sync and thus access my emails when I request them...
Maybe that's a DNS issue. Does ActiveSync even hit your Exchange Server? Do you have access to the internet when you have problems syncing?
What was your previous phone? Not Android I'm guessing.
That being said, there remain a number of issues with the Exchange related code in the native client. I myself just submitted a calendar related defect that is scheduled for a fix in the next major release. My suggestion is that you go to http://code.google.com/p/android/issues and do a quick search. If you don't find anything then open an incident for this.
If you want to try to figure it out, it is helpful to enable debugging mode since it can show specifically what might be happening in your case (if you open a defect report then you will need this log too). Here's how:
choose add account in email settings and for the email address enter "[email protected]" with a password "debug" (no quotes). You will get a new account named "Debug" in the list. Tap that and check "enable extra debug logging" along with "Enable exchange sd card logging". Now reboot. When your phone is finished booting, email sync operations will be logged to a file named "emaillog.txt" on the root of the sdcard folder. To disable, rename emaillog.txt to something else or delete, then set up the debug account again and uncheck anything that's checked.
Also, checking "Enable Verbose mode" will log detailed sync operations that may be helpful in your case. Be forewarned however, that the log will grow quickly!
At this point in time, the Touchdown client is by far the best exchange related client for Android.
Thanks a lot for the extensive answer. I'll go through it in all details a bit later but I can already say that my previous phone was a Desire Z, so Android as well.
thefa said:
Thanks a lot for the extensive answer. I'll go through it in all details a bit later but I can already say that my previous phone was a Desire Z, so Android as well.
Click to expand...
Click to collapse
In many cases, the operator/manufacturer supplies their own email client which may have been the case in your previous phone. Nexus is pure Google however. My XP with the native client has been bad from day 1, but has gotten successively better. When ICS was released, I could finally connect with the native client. Now, I'm finally using the native client but haven't seen it in action when roaming yet.....
Beezer80 said:
Maybe that's a DNS issue. Does ActiveSync even hit your Exchange Server? Do you have access to the internet when you have problems syncing?
Click to expand...
Click to collapse
Thanks for your suggestion. I am not sure about the DNS issue : I have access to internet while I'm not able to connect to the activesync server. I do think that activesync does reach the exchange server. I see no reason why it wouldn't (Touchdown does reach it for example)...
Sleuth255 said:
If you want to try to figure it out, it is helpful to enable debugging mode since it can show specifically what might be happening in your case (if you open a defect report then you will need this log too). Here's how:
Click to expand...
Click to collapse
Very good. I followed the instruction, was initially connected via Wifi and did get the log filled. Moved to 3G (still roaming) and so far it is working. It is not entirely new that sometimes it works for a while as I mentioned above. I'll update tomorrow after a longer testing time.
Thank you very much for the how-to on exchange logging... I should have looked for that myself directly
So, I had to wait a bit longer than usual for the thing to start not working when connected via mobile and roaming, but I eventually did get the error :
I have 3MB of log (I kept using the phone for a good while with logging on...) with error paterns again and again but I think the relevant line is that at some point in time I get:
Sync response error: 449
Then there is a bunch of other strange things which I guess are a consequence of this one...
I also have a log for when I was connected and via Wifi.
I'm back from my trip and, as usual, as soon as I'm connected to my operator's network, it does work again, just fine...
I googled a bit the 449 error code without getting to any conclusion...
What would you suggest? Should I submit a bug?
Thanks,
I'd post it as a defect and see what they say.

The WhatsApp Theory

So, here I present my theory
WhatsApp uses Extensible Messaging and Presence Protocol (XMPP). When a user registers with WhatsApp, he gets his number as a username or JABBER ID. WhatsApp uses the Jabber Protocol to connect its users. Now, if we are directly able to connect with the Jabber Protocol, then we may be able to connect with the WhatsApp users. With a lot of research, I was able to search out for a Jabber client for our Waves. This client is BombusQD. You can download it upon Googling it. I will carry out further tests after registering with Jabber and try to connect with WhatsApp. If anyone can carry out these tests, may proceed. Please reply underneath
Best Regards
Theory is plausible. I'll have to try this out.
I have been waiting for several days for registration approval from jabber.ru, the jabber client in BombusQD
Please try and register at www.jabber.ru and if you get any registration approvals please reply back
reply
The last post was pretty useless
I REACHED A CONCLUSION!
I don't think that we would need to register for Jabber, a fact I realised after reading a blog last night at
http://blog.maarten.abbink.me/2012/02/why-whatsapp-messenger-wont-work-on.html?m=1
I request you all to go through the same. We will be needing an android mobile for this. Through the android mobile we will install WhatsApp and obtain the code, that is the password according to Maarten's blog
Now, in the end after obtaining that code via text message we will try to login into WhatsApp via Jabber. WikiPedia says, that WhatsApp registers the usernames as [email protected]
To conclude,
if the phone number is "xyz"
then I need someone to try and login using any jabber client (BombusQD, Abium, full list at https://xmpp.org/xmpp-software/clients/) with
username: [email protected]
password: code received via text message
Thank you for your patient reading
Even if we use Jaber, one must know the server and port
when you will login you only need the username and password, which I have mentioned. Jabber will automatically connect to the WhatsApp servers. In fact, WhatsApp uses Jabber servers
WhatsApp messenger uses these ports: 5223, 5228, 4244, 5242 and 5222
Did anyone try it?
I don't have an android smartphone
krittin98 said:
when you will login you only need the username and password, which I have mentioned. Jabber will automatically connect to the WhatsApp servers. In fact, WhatsApp uses Jabber servers
WhatsApp messenger uses these ports: 5223, 5228, 4244, 5242 and 5222
Did anyone try it?
I don't have an android smartphone
Click to expand...
Click to collapse
There is a good program to simulate an android, there can and register a login and password for whatsapp, BlueStacks App Player
bluestacks.com
krittin98 said:
when you will login you only need the username and password, which I have mentioned. Jabber will automatically connect to the WhatsApp servers. In fact, WhatsApp uses Jabber servers
WhatsApp messenger uses these ports: 5223, 5228, 4244, 5242 and 5222
Did anyone try it?
I don't have an android smartphone
Click to expand...
Click to collapse
Turned out at you accomplish your goal?
reply
mailrok said:
Turned out at you accomplish your goal?
Click to expand...
Click to collapse
well, WhatsApp seems to be quite clever
I borrowed my friend's Android phone, re-installed WhatsApp, but during the verification, it did not send any code
I googled on how to find this activation code and found out from the WhatsApp site that activation code is "dictated" only when it is unable to send a message
read this
https://www.whatsapp.com/faq/bb10/28089216
Its a really long process. As I don't have an android smartphone, we would now need to disable the SMS communication, which can be done using some codes
If anyone has an android phone, only then this project can be successful
Best Regards
krittin98 said:
well, WhatsApp seems to be quite clever
I borrowed my friend's Android phone, re-installed WhatsApp, but during the verification, it did not send any code
I googled on how to find this activation code and found out from the WhatsApp site that activation code is "dictated" only when it is unable to send a message
read this
https://www.whatsapp.com/faq/bb10/28089216
Its a really long process. As I don't have an android smartphone, we would now need to disable the SMS communication, which can be done using some codes
If anyone has an android phone, only then this project can be successful
Best Regards
Click to expand...
Click to collapse
Have you tried the program that I gave? I REGISTER through it, and spoke quietly.
Sincerely
java devs required
mailrok said:
Have you tried the program that I gave? I REGISTER through it, and spoke quietly.
Sincerely
Click to expand...
Click to collapse
The WhatsApp activation code is NOT the password used by it as the Jabber password. According to Wikipedia:
WhatsApp software automatically compares all the phone numbers from the device's address book with its central database of WhatsApp users to automatically add contacts to the user's WhatsApp contact list. Previously the Android and S40 versions used an MD5-hashed, reversed-version of the phone's IMEI as password, while the iOS version used the phone's Wi-Fi MAC addressinstead of IMEI. A 2012 update now generates a random password on the server side.
Click to expand...
Click to collapse
With the help of Akshat, a Bada developer who is interested in thus project, I started working on the development of a .jar file that will connect us to WhatsApp. We will be using a source code (http://www.mediafire.com/download/8oz4c3b27nx4366/WhatsApp_Messenger.src.zip) to make a .jar file from scratch. Is anyone good at or knows Java?
Best Regards
How to solve these Java errors?
I am still on this project. WhatsApp has tightened it's security after some updates, as you would have noticed.
I am now trying to solve the errors that we get during the S40 version of the WhatsApp. Ca anyone tell me how can I solve these errors?
This is the error I got:
"This application caused an error and may not function correctly.
java.lang.NoClassDefFound Error: javax/crypto/spec/SecretKeySpec"
I am attaching the WhatsApp.jar file that works on S40

Trying to delete long unused account but can't remember details

I apologize in advance if this is in the wrong place. I have tried using the webmaster contact form but the message never goes through and throws up an error message.
When I try to change the email address on the account I am posting this from, I am told that another account is already using that email. I suppose I set up an account some time ago that I never used and I don't even remember what user name I used so I can't use the delete account web form.
Since I can't seem to solve this using the standard web based forms what should I do? Thanks.
Hi,
This thread: https://forum.xda-developers.com/showthread.php?t=1976627
... would have been more appropriate but no worries, we will help you here now.
You should send a PM to MikeChannon with your details, I am sure he will help you privately.
Thanks!

Categories

Resources