Good, I made the change. It turns out that StringEntity has a
getContentLength method, just as you surmised. I'm still getting a
ClientProtocolException, though. I have wireshark installed and I also
have the -tcpdump flag set in my AVD. The AVD is dumping a cap file
which wireshark opens, though I
So I added the following lines to create the header:
httppost.setHeader("Content-Type", "application/xml");
httppost.setHeader("Content-Length", "");
httppost.setHeader("SERVER-ACTION", API_AddField );
I didn't do anything about adding the POST line
Another vote for XmlPullParser. It rocks.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@
It's a whole lot easier to develop for Bluetooth. Here's a well
developed kit for experimenting with it:
http://www.amarino-toolkit.net/
As long as it doesn't need high bandwidth, you can find a Bluetooth
version of just about any peripheral.
--
You received this message because you are subscri
I haven't used the Java HttpClient before and the documentation is
confusing. Say I want to send a POST to the URL "https://domain/foo/
bar". I'm accessing a server with an XML API that defines the message
to send like this:
POST https://domain/foo/bar
Content-Type: application/xml
Content-Length:
Mark Murphy's book on advanced Android programming has a whole chapter
on this:
http://www.amazon.com/gp/product/0981678017/ref=oss_product
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-develo
Ladies and Gentlemen,
I think we've discovered a business opportunity in the Android Market.
Someone needs to write a book about how to market Android apps. Maybe
it could be a little broader and include iPhone app marketing too with
comparisons and contrasts between the two markets.
--
You rece
Locale is an Anrdoid app that costs $10 and is in the 10,000-50,000
downloads category. Their blurb in the Marketplaces is well under the
325 character limit. Their technology is not rocket science. Their
marketing is.
> So Locale is what, an app judges use to identify the person who's phone is
>
There's a reason why advertising copy is short. Research going back
more than 50 years has shown that shoppers spend only a few moments
evaluating a product. An application that costs no more than a box of
cereal should not have any more descriptive text than a box of cereal.
An app that costs as m
Are you seeing anything interesting coming out of logcat during the
long scan cases?
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, se
Does the game make money in some way, either through initial purchase
fees, subscription, or advertising? Anyone purchasing the IP would
want to see a case for how they would recoup their investment and make
a profit.
--
You received this message because you are subscribed to the Google
Groups "A
Sure. It's shown below, a little modified for your case:
public class FiftyButtonActivity extends Activity {
// Button IDs
final static private int[] buttonIDs = {
R.id.BID1,
R.id.BID2 ,
...
I have some Java code that does this pretty cleanly. I re-use the same
listener for all the buttons and just switch on the button ID to
deliver the different actions for each one. Let me know if you'd like
me to post it.
--
You received this message because you are subscribed to the Google
Groups
Try Drawable.setAlpha where a value of 0 is fully transparent and 255
is fully occulting.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this grou
My application will run extensively in partial wakelock mode and I'm
very curious to see what standby power consumption consequences that
has for various popular phones. Maybe we should start a thread just
for that purpose where people can post their observations of battery
life in this mode for va
501 - 515 of 515 matches
Mail list logo