Specifying a port in HttpPost

by drill » Sat, 27 Feb 2010 18:36:27 GMT

Sponsored Links
 I want to make a Http-post-request to a webserver on a specific port.
For that I use the HttpPost constructor as follows:
HttpPost post = new HttpPost(" http://webpage.com :1212/httppost.php");
Then I put some parameters with it using
When I now want to execute that request with
HttpResponse response = client.execute(post);
I receive a NoHttpResponseException.
The server is available and when I try all that without a port I don't
get that exception, but I need to specify my port. Is there anybody
who had a similar problem or do have a solution for me?

Thanks a lot.


Other Threads

1. Emulator crashs when accessing sd card settings


   when I open the settings screen in the emulator it crashs ...

   This happens no matter if I start the emulator with my own image  
using -sdcard or without this switch. I "wiped" the user data.

   Anything else I can reset? Anybody else experiencing it?



2. SlideME: Release of SAM 2.3 and Support For Paid Applications

SlideME is pleased to announce support for paid applications with our
release of SAM 2.3, the first billing solution for Android that includes a
mobile client. You can download SAM 2.3 at http://slideme.org/sam2.apk

Several weeks back, we ran into the issue of the G1 not protecting against
applications being removed from the device, so we are introducing SlideLock,
which you can embed into your application to prevent forwarding to another
device. This is independent from support for paid applications, and will
provide additional protection, if the developer chooses to use it.:

Developers of paid applications will also need to sign in and approve the
new developer agreement and assign tokens, which authorize downloads.

This is a major release:

* No country restrictions on purchasing applications. Anyone can buy & sell.
* Support for global payments via SlideCollect including users paying via
their Amazon Payments account.
* High payout rates to content providers/developers ~98%:
http://SlideME.org/rate-schedule <http://slideme.org/rate-schedule>
* Sales tax is legitimately applied to sales, including all of the European
* SlideME Prepaid MasterCard:  developers from anywhere in the world can
receive a debit card and get paid without a need of a bank account.

* Multiple payout methods
* Fraud detection: SlideME has partnered with Retail Decisions, a world
leader in credit card fraud prevention, in order to combat fraud and further
reduce chargebacks. More information about ReD is available at
* The Shopper Guarantee - All customers receive the Shopper Guarantee. This
guarantees shoppers that they will either receive their digital downloads
via SAM, or they will receive their money back. This guarantee can increase
customer confidence in purchasing from SlideME website.

* SAM 2.3 with a new user interface
* SAM 2.3 billing support
* SAM 2.3 supports secure method so shoppers never need to enter their
credit card or sensitive information from within their handset.

* SlideLOCK has been released to protect your applications and prevent
* 24/7 support has been implemented to support you and users in the best
possible way.
* High Availability secured environment
* Distributed feeds of content on SlideME's Marketplace to further promote
your applications


3. How to increase storage space in the emulator?

4. MediaRecorder - No value other than 0 returned from getMaxAmplitude

5. i hope to Android dev.

6. A question of the API takePicture in android.hardware.Camera

7. filtering images for mime type