post\get requests - Java for Android App Development

Hello, XDA Developers
Please say, how to create a request to the server (for example: google.com) and get an answer from him a string type?
I tried to look for solutions on the Internet, but it led to a crashes :crying:
If it is not difficult with the step by step directions and comments
also, someone development software on monotouch (c#)?:fingers-crossed:
Thx, all

objaa said:
Hello, XDA Developers
Please say, how to create a request to the server (for example: google.com) and get an answer from him a string type?
I tried to look for solutions on the Internet, but it led to a crashes :crying:
If it is not difficult with the step by step directions and comments
also, someone development software on monotouch (c#)?:fingers-crossed:
Thx, all
Click to expand...
Click to collapse
I actually wrote a guide describing how to post to a server. Is this what you're looking for?

Alkonic said:
I actually wrote a guide describing how to post to a server. Is this what you're looking for?
Click to expand...
Click to collapse
Perfect, it seems this is exactly what I was looking for.
Now I will study, thank you!

Related

wm6 and cingular video

does anyone know how to get it work? i put the link cingularvideo.cingular.com, and it shows something about need a 3g phone
tbl178 said:
does anyone know how to get it work? i put the link cingularvideo.cingular.com, and it shows something about need a 3g phone
Click to expand...
Click to collapse
DO A SEARCH HERE OR AT HOFO!
thanks for nothing, if you dont have info then don't reply. i did but didn't find anything about wm6.
tbl178 said:
thanks for nothing, if you dont have info then don't reply. i did but didn't find anything about wm6.
Click to expand...
Click to collapse
You didn't read enough or search enough and with an attitude like that I wouldn't help you anyway. The methods are here if you look around.
tbl178 said:
does anyone know how to get it work? i put the link cingularvideo.cingular.com, and it shows something about need a 3g phone
Click to expand...
Click to collapse
found info.
wpbear said:
You didn't read enough or search enough and with an attitude like that I wouldn't help you anyway. The methods are here if you look around.
Click to expand...
Click to collapse
you are just a smart A**...if you dont want to help...dont say nothing
Here is the write up i found from another member
http://forum.xda-developers.com/showthread.php?t=282651&page=24
wratran said:
you are just a smart A**...if you dont want to help...dont say nothing
No he's not a smart a**. He's actually a quite helpful member of this forum. His suggestion to search is that standard answer by anyone who's been around and/or contributed to this forum for any amount of time.
The point of the Search function is to try and get newbies and the inexperianced to look for the answers themselves and not make other members repeat the same information over and over for every new member that is either too lazy to search and read or just doesn't know that the Search function exists. The information posted here is so far and above what your carrier or software or hardware vendor could provide you for any price and it's available for FREE. So respect the forum and respect the members or go call your service provider for answers. (HA)
You are in no position to tell anyone, especially a Senior member to "shut up" if they don't have an answer.
Click to expand...
Click to collapse
@evilhomer - thanks for the support.
@wratran - so the seaching or reading is working for you obviously since you found one of those links I was talking about.
To the topic - I wish we could get the UA bypassed in WM6 PIE since I do not like NetFront. I think pappl is looking into it.
wpbear said:
@evilhomer - thanks for the support.
@wratran - so the seaching or reading is working for you obviously since you found one of those links I was talking about.
To the topic - I wish we could get the UA bypassed in WM6 PIE since I do not like NetFront. I think pappl is looking into it.
Click to expand...
Click to collapse
wpbear, have you tried this solution to the UA problem? PAPPL and some Europe users were having the same issues and he made a .zip with some files to replace the default files that are keeping PIE from sending out the changed UA in the registry
http://forum.xda-developers.com/showpost.php?p=1184509&postcount=13
chenga said:
wpbear, have you tried this solution to the UA problem? PAPPL and some Europe users were having the same issues and he made a .zip with some files to replace the default files that are keeping PIE from sending out the changed UA in the registry
http://forum.xda-developers.com/showpost.php?p=1184509&postcount=13
Click to expand...
Click to collapse
I am happy to report this works and I will be posting two cabs shortly to make this install the two files and make the reg fix. One cab will be just the fix and the other will be a realplayer all in one fix.
EDIT: Here are the CABS
EDIT- Cabs removed- the fix by pappl causes some to have email problems. If you still want his fix since it works for most people then go to his thread.
Glad it works for Cingular Video as well. Nice work making the .cab files!
wratran said:
you are just a smart A**...if you dont want to help...dont say nothing
Here is the write up i found from another member
http://forum.xda-developers.com/showthread.php?t=282651&page=24
Click to expand...
Click to collapse
Exactly what has changed in this forum when people who are upstanding members of this community, like wpbear are put down and attacked by "big shots" who want to show they are better than the others on here? wpbear's comments were valid and to the point. It's really quite annoying on a **developers** web site to have the same questions asked over and over again. wratran--get over yourself. So, you can search. Yay. How about you post the results of your search without the person attacks next time, huh?
This forum is NOT for kiddies who are just learning how to make a phone call. It is, in my opinion, a forum designed for DEVELOPERS who actually understand what they are doing! There are n00bie forums around that will fit you better. HowardForums.com comes to mind...
I rest my case....
you noticed wpbear finally post a link to help a member...instead of making smart AS* remark. Look at his first response after the question was asked...and see how obnixious he was...
The search function on this forum does not work very well. I did not get that link by using the search command.
Since I have still not upgraded to WM6 (holding out for WMXL 3.0), I can confirm it works on WM5 AKU 3.3 with PIE. Awesome work guys, I really didn't like Netfront and now it's bye-bye gone!
Huge problem with this fix with outlook email not opening. Email list opens and then the message will try to open but it freezes. Have to close poutlook to get out of it and still can't view emails until HR. I veriefied it is was by installing each app I Had one a a time. I havenot tried this again with the manuall fix and checking email. I will try later.
Edit-The webview dll is causing the email and sms problem but without it the favorites links in pie do not work.
Ugh... yeah, I can definitely confirm that problem!
Is it possible to fix without a hard reset? (I haven't looked inside your cab yet.) I just got all my apps reinstalled and set up on the latest LVSW!
some reason i did not have the outlook problems.
i am using wm6 black 1.2 version with netfront 3.3 and shogun realplayer. i followed the instruction from lokemup and it works.
to many things to comment on here... so i will just tell everyone to place nice or i will lock this thread, since there was already a massive thread on this....

Athena Service Manual Found (post 17)

Athena Service Manual Needed ?
Please if you have it contact me
what do you mean exactly??
the service manual guides you step by step to Disassemble the device
and gives you the possible solutions for any hardware faults
I don't think this is released to the public
you're right
i don't think neither
but in the internet you can find whatever you want
i have Service manuals for other devices such as Himalaya and universal
i'll wait till some1 upload it for us
ammorsy said:
the service manual guides you step by step to Disassemble the device
and gives you the possible solutions for any hardware faults
Click to expand...
Click to collapse
Now this would be useful to have!
ammorsy said:
you're right
i don't think neither
but in the internet you can find whatever you want
i have Service manuals for other devices such as Himalaya and universal
i'll wait till some1 upload it for us
Click to expand...
Click to collapse
Would you mind posting the service manual for the Universal to Rapidshare or somewhere like that? I need it and know a couple of others on this forum that own Universal's and I know they won't mind having it.
search the forum here, very early posts, it is already posted, how to open athena with images
hdubli said:
search the forum here, very early posts, it is already posted, how to open athena with images
Click to expand...
Click to collapse
That is not what he's asking for. He's asking for the service manual. It's a lot more info that just a few pics and instructions thrown together. We do need someone to release the service manual soon, hopefully.
ltxda said:
Would you mind posting the service manual for the Universal to Rapidshare or somewhere like that? I need it and know a couple of others on this forum that own Universal's and I know they won't mind having it.
Click to expand...
Click to collapse
here is the universal service manual :
http://rapidshare.com/files/47903546/HTC_-_UNIVERSAL_SERVICE_MANUAL.rar
hdubli said:
search the forum here, very early posts, it is already posted, how to open athena with images
Click to expand...
Click to collapse
Thank you ,but what ltxda said is right
ltxda said:
That is not what he's asking for. He's asking for the service manual. It's a lot more info that just a few pics and instructions thrown together. We do need someone to release the service manual soon, hopefully.
Click to expand...
Click to collapse
i agree with you
we are still waiting for it
ammorsy said:
here is the universal service manual :
http://rapidshare.com/files/47903546/HTC_-_UNIVERSAL_SERVICE_MANUAL.rar
Click to expand...
Click to collapse
Thank you!
mikechannon said:
Yes, in fact the manual is based on the TyTn model. The manual can be used for all variants of the Hermes - the key differences are only in:
Casing varies a little from model to model
Front dpad and key layout varies slightly
8525 version has no front camera - though internally all the connections are there,
Mike
Click to expand...
Click to collapse
Nice! Thanks Mike. I'm going to be working on both my Universal and Hermes sometime in the next two weeks and these will come in very handy.
Can't wait for an Athena manual to leak.
mikechannon said:
I have uploaded the Athena Service Manual
HTC Service Manuals
Mike
Click to expand...
Click to collapse
Great stuff! Thanks Mike. Unfortunately I get the same problem. Downloads fine, but on extraction I get an error message which states that:
You need to start extraction from a previous volume to unpack Athena PDF.
Any chance you can fix this please? Cheers Mike.
I just registered and it still won't give me access to the htc link. thanks for the help
******** I found it / sorry ************
I am looking at it now, thanks sooooo much Mike
Read in anticipation hoping for pin out details!! Damn not in there - now where would i get them from now HTC wont give me any to make peripherals?
Brilliant snag!
I am just starting to read the document, it mentions call barring, how do you enable that?
For us I put it on our ftp.
ftp://ftp.xda-developers.com/Uploads/
Now only if we can get ahold of the Diag. program. and a login to the SDO website for ROM's

CabCache - All the cabs in one place

Hi peoples,
I have had a windows mobile phone for years, mostly thanks to the support of people on here who have been able to answer virtually every question about tweaks, enhancements etc and therefore stopped me throwing it out of the window. I currently have an HD2 and, again thanks to the people on here, I love it.
The only problem I've had is being able to find the tweaks and CABs without trawling through pages and pages of forum speak.
so, I've created a site call the cabcache.
The idea is to make it easy to find the cabs and tweaks, through a simple search.
it's in its early form as it's going to take me a while to collate all the tweaks and cabs available, but I'm adding more and more every day. If you would like to help me build the site, please get in touch.
I've tried (and will strive to) give credit to everyone who owns the cabs and tweaks. If you see something on the site that isn't giving you the credit you deserve, please get in touch. Similarly, please get in touch if you see one of your offerings that you would like removed.
At the moment, you cannot upload your own cabs (removed due to previous abuse) but this will be re-instated shortly (about a week I think once I've reconfigured the code)
so, if you want to help me out, please PM me, or get in touch through the site.
many thanks.
very good idea
Have just checked out the site and it is looking very good so far. Clear, concise and easy to use, perfect.
A cracking idea which will save a lot of time.
Keep up the good work and I hope you get the support the site deserves.
this is a great idea, hope it realy takes off.
stemoneymonkey said:
this is a great idea, hope it realy takes off.
Click to expand...
Click to collapse
thanks guys. It's going to take a while to gather everything and get it on the site, but I'm working hard on it.
I don't mean to be a ****, but what's the difference between an offsite compared to a thread that beat you to the point already: http://forum.xda-developers.com/showthread.php?t=584415
lemonspeakers said:
I don't mean to be a ****, but what's the difference between an offsite compared to a thread that beat you to the point already: http://forum.xda-developers.com/showthread.php?t=584415
Click to expand...
Click to collapse
The only difference is that thread is currently 67 pages, making it difficult to search.
I just wanted to make it easier was all.
If you'd make use of some PHP + a database and integrate rate systems/upload features this could be pretty good.. Then it could also display screenshots, be categorized, reviewed, etc..
You could also make it device-specific categorized. Then you can ask the XdaMarketplace developers to integrate it into their app by creating an API and not only offer apps but also tweaks/sense mods for their phones directly.
Hi , even if you don't add loads of features as mentioned above, which would be great, as it it its very useful as a searchable portal to all the adjustments that can be made. I picked up on one already swype, that I hadn't seen listed thanks for that.
Hi,
firstly, many thanks for all the positive comments (and the couple of negative ones I've had lol)
All feedback is appreciated.
Logins are back!!
so you can now create a login and add your own CABs and Tweaks.
As before, if you have any problems, or notice anything that shouldn't be happening, please let me know.
Hi Thanks, just tried to register and got the following . I will keep trying. Many Thanks.
-2147467259
There was a problem submitting this form, please try again or email us directly --
Oooops...an error has occured. Details of this error have been sent to me and I will investigate, and hopefully implement a solution.
Please click HERE to return to the homepage
Si607 said:
Hi Thanks, just tried to register and got the following . I will keep trying. Many Thanks.
-2147467259
There was a problem submitting this form, please try again or email us directly --
Oooops...an error has occured. Details of this error have been sent to me and I will investigate, and hopefully implement a solution.
Please click HERE to return to the homepage
Click to expand...
Click to collapse
Hi,
I've been getting the emails advising me of the error. The issue seems to be that you haven't entered an email address in the registration form. This is needed so that I can ensure the registration is from an actual person. Your email address is encrypted in the db and is quite secure.
Microsoft JET Database Engine error '80004005'
Operation must use an updateable query.
/header.asp, line 30
Click to expand...
Click to collapse
I guess I can't access the site, can I
Grtz,
Degake
bugger,
apologies..I'll go investigate.
twisted-pixel said:
bugger,
apologies..I'll go investigate.
Click to expand...
Click to collapse
No problem man
I just wanted to let you know
Keep up the good work!!
Grtz,
Degake
degake said:
No problem man
I just wanted to let you know
Keep up the good work!!
Grtz,
Degake
Click to expand...
Click to collapse
ok..so it's not my bad coding!! the site has crashed...bloody hosting company!!
I'm really sorry to anyone who tried to register and got errors. I will have it back up and running soon.
twisted-pixel said:
ok..so it's not my bad coding!! the site has crashed...bloody hosting company!!
I'm really sorry to anyone who tried to register and got errors. I will have it back up and running soon.
Click to expand...
Click to collapse
That's bad news
I'm looking forward to see the site online again
Grtz,
Degake
ok..
working again now. Had to get hosting company to reset permissions on the site as for some reason they had reverted to read only, meaning the DB couldn't be written to.
great idea, would be great if this thread is notified of updates as and when they are added as i/we will receive a notification
It would be really useful if there was some way to see which phones the cabs are compatible with. Some clearly don't work with the HD2, though they probably to work with other handsets.

[Q] App question

Hello Community,
I am extremely new to creating Android Apps. I was curious how difficult is it to create an app that has 4 buttons. 2 of the buttons will take you to parts of my company's website, 1 will call our support and 1 will open the email client to email our support address. I am going over the tutorials that are free for android and just want to make sure that this is possible. Please let me know.
Thank You,
Zack
Hey Zack,
Yes your idea is possible and I think it isn't very difficulty.
What you need are intents. Here is a link about this topic. It was very helpful for me.
ww.vogella.com/articles/AndroidIntent/article.html
I hope my first post was helpful.
PS: if you want contact me and I will write you an example app with the 4 buttons and the corresponding functions. Sry for my english I'm from Germany
Tom

Android app selenium/webpages

So i coded a while ago in python to make a little project with selenium drivers
what if i want an android app that if i put in the username and password, it will put that in the website and login retrieve a string and print that on the screen without opening a browser? and seeing all of that? it that effecient to do with selenium? i want something i can use in android studio so that i can put in and retrieve information from web pages from and to and variable...
how would i do this?
thanks in advance! :
asimo_1 said:
So i coded a while ago in python to make a little project with selenium drivers
what if i want an android app that if i put in the username and password, it will put that in the website and login retrieve a string and print that on the screen without opening a browser? and seeing all of that? it that effecient to do with selenium? i want something i can use in android studio so that i can put in and retrieve information from web pages from and to and variable...
how would i do this?
thanks in advance! :
Click to expand...
Click to collapse
Hey,
my first idea to this Problem would be old plain manual parsing. So you would have to reverse engineer the structure of the requests the website needs. Then you can submit 6our values and must be able to get the values out of the http Response.
Greetings from Germany
P.S. Not many people look in this forum for help. So maybe you get not much help here. Sorry.
P.P.S. I never worked with Selenium, so I'm unsure if you can use it directly in Android Apps
pbeckmann said:
Hey,
my first idea to this Problem would be old plain manual parsing. So you would have to reverse engineer the structure of the requests the website needs. Then you can submit 6our values and must be able to get the values out of the http Response.
Greetings from Germany
P.S. Not many people look in this forum for help. So maybe you get not much help here. Sorry.
P.P.S. I never worked with Selenium, so I'm unsure if you can use it directly in Android Apps
Click to expand...
Click to collapse
Thank you very much!

Categories

Resources