When we use camera, is there any parameters we can config about the
picture resolution? Thanks!
The camera parameters are called Camera.Parameters and include setters for
preview and picture size.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android
or
HttpClient.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post
I've checked that one out, that's for Android 1.0 which is old.
Not that old. Are there any you've found that do not work?
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Available
Is it possible to launch adb commands programatically from any
android application?
No. The adb program runs on your development machine, not a device.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Available
as experimental, the odds of
it being integrated into Android are lower. Anything you can do to help
WebKit out with its SVG implementation will eventually help Android adopt
it.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0
, particularly
on a real device, for security reasons.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!
--~--~-~--~~~---~--~~
You received this message because you are subscribed
.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post
not
directly access.
Great, thanks!
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android
Nox wrote:
I´ve got a problem with the Android homepage, it isn´t working!!!
There is no www on the Android home page. The site is:
http://developer.android.com
Without the www, it is working fine for me.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Training
/finalists/
If that video works, then there is something about the video you have
been trying that does not work with the codecs built into Android. Post
details about the video (codec, framerate, size, etc.) and perhaps
somebody can point out a known reason why it does not work.
--
Mark Murphy (a Commons
bestpriv...@googlemail.com wrote:
On 21 Mrz., 15:42, Mark Murphy mmur...@commonsware.com wrote:
The Documentaries and You video from this link definitely works for
both sound and video:
http://www.law.duke.edu/cspd/contest/finalists/
Thank you very much Mark. You just made my day :-)
Aw
need to add it in some way.
No, but it might be in the wrong spot. If you could, post both your
AndroidManifest.xml that you are using with the above code and the actual
Java error you are receiving (via adb logcat, DDMS, the DDMS perspective
in Eclipse).
--
Mark Murphy (a Commons Guy)
http
that the code is executing (e.g., stepping
through it in Eclipse, sprinkling in Log.d statements)?
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!
--~--~-~--~~~---~--~~
You received
is serving up the file with that MIME type?
If you are not downloading the file via a Web server, how are you opening it?
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Available
-extension-to-MIME-type mappings
outside of the media files for which it has codecs.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!
--~--~-~--~~~---~--~~
You received this message because
the file given the full path, IIRC.
The emulator, though, should let you browse to your package (whatever the
name is, shown above as my.package.here) and its contents.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Available
, not in the device.
Go to the DDMS perspective, and you should find a menu choice(?) for
browsing the file system of the running emulator. In the standalone DDMS,
it's a File Explorer menu choice.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_
will
(hopefully) see your files.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android
to free up space. Hence, the interest in
avoiding redundant icons.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!
--~--~-~--~~~---~--~~
You received this message because you are subscribed
in setContentView() has the widgets you're trying to
access in findViewById().
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!
--~--~-~--~~~---~--~~
You received this message because you
murphy wrote:
I've added in also the line FileInputStream fIn = openFileInput
(news.txt); but I don't know what to do with it once I open it to be
able to display it in my TextView in a new screen.
http://www.exampledepot.com/egs/java.io/ReadLinesFromFile.html
--
Mark Murphy (a Commons Guy
again from Sun.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group
Bob wrote:
Is there a way for me to get an error report from my phone (not
emulator) about why it is force closing?
With it plugged in via the USB cable, you do it the same way you would
with the emulator -- adb logcat, DDMS, or the DDMS perspective in Eclipse.
--
Mark Murphy (a Commons Guy
() in A.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group
if the DataObserver gets control when screens change.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups
mail client)
Call getListAdapter() in your PreferenceActivity to get the adapter,
then call registerDataSetObserver(), and see when the observer gets
control (via logging statements or breakpoints).
-
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http
to a
computer?
You should have access to the database file, so you can transfer it via
whatever mechanism you like (e.g., HTTP) to whatever destination you can
reach via the Internet. I would make sure you do not have any active
SQLiteDatabase objects referencing it, though.
--
Mark Murphy
for PendingIntent and
you will probably find it.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Warescription: Three Android Books, Plus Updates, $35/Year
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android
Keith Wiley wrote:
Question: I can place a drawable png on a button no problem, but the
only placement options are along the sides.
Have you tried ImageButton?
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html
://code.google.com/p/android/issues/detail?id=2284
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Training: http://commonsware.com/training.html
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android
, but there is no method on Typeface to
create one from a file outside of there.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html
--~--~-~--~~~---~--~~
You received this message because you are subscribed
the
background thread finishes, you do not have to do anything -- the images
are already loaded. This eliminates the need to refresh the listview
and any accompanying confusing such a refresh might cause the user.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http
the tree whenever they see fit.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers
menu listener for every listview?
No.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android
.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send
manufacturers are not necessarily constrained by what would seem to be
common sense to us out here. They'll do what they do.
So if a device (e.g., G2) contains bits of cupcake in advance of an
official cupcake-based release shipping, that was the manufacturer's
decision.
--
Mark Murphy (a Commons Guy
/jtwitter.php
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Warescription: Three Android Books, Plus Updates, $35/Year
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group
it there.
I hope that you will be able to fix this as soon as possible and to
update the cupcake branch too. Please notify me when this is ready.
If you would take the time to file this on http://b.android.com, you
will automatically be notified of progress on the issue.
--
Mark Murphy (a Commons
strong suits.
I
see there used to be a MultipartEntity class which was removed with
the 1.0 SDK. That looks like it might have been what I needed. Anyway
thanks again.
I think others have just grabbed an edition of that from
http://hc.apache.org.
--
Mark Murphy (a Commons Guy)
http
).
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group
not believe that is possible.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Training: http://commonsware.com/training.html
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android
to Android). This is what happens when you download an APK, at any
rate -- I assume there is some what to trigger the same code from your
own application.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Available
change yourself, though I have no idea if this is possible, and you
would need to not use TabActivity (which, IIRC, creates its own TabHost
object).
You can always roll your own tab-style UI using a ViewFlipper or similar
widget.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy
the lists on
separate screens
-- Using separate activities, one per list
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!
--~--~-~--~~~---~--~~
You received this message because you
to determine what you
want to do in that case. Also, you would only have one context menu. On
the other hand, your scrolling would work better.
-- Putting the lists side-by-side rather than stacked
What do you mean with this?
Left to right rather than top to bottom.
--
Mark Murphy (a Commons Guy
to the ISO
3166-1-alpha-2 standard:
http://www.iso.org/iso/country_codes/iso_3166_code_lists/english_country_names_and_code_elements.htm
the UK would be -rGB, not -rUK.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Warescription: Three Android Books, Plus Updates, $35/Year
Wouter wrote:
Ok i understand. But how can i make one listview for all these
adapters.
I gave you a link earlier. Here it is again:
http://www.jsharkey.org/blog/2008/08/18/separating-lists-with-headers-in-android-09/
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's
Wouter wrote:
Thank you! Can i put my data from the simplecursoradapter in it?
It takes any sort of adapter, as far as I know.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Available
immediately before the setContentView() will return
you a widget...but that widget is then taken off the screen by the
setContentView().
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Available
resource (e.g., res/drawable/test_image.png).
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Training: http://commonsware.com/training.html
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups
on a
item in the flight list i have to open another activity then when I
click on a item in the hotel list!
The same way you do with any list: call getItem() on the adapter.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Training: http://commonsware.com/training.html
my flight database or hotel database!
How can i do that?
On Mar 24, 9:34 pm, Mark Murphy mmur...@commonsware.com wrote:
Wouter wrote:
Ok i have integrated it now in my applications. It works now to show
the 2 lists as one 1 list with seperated headers.
But now, how can i determine which
itself.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post
with the standard launcher intent-filter
4. Use useFullScreen() to do whatever it was you were looking to handle
via the customized Intent
Clunky, but it works, until you can amend a home application that is
more amenable to your requirements.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
this, but in theory, you should be able to control the
resolution this way.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html
--~--~-~--~~~---~--~~
You received this message because you are subscribed
me tun wrote:
I had already tried Mark's way (great book btw)
Thanks!
which does work but
isn't quite an elegant solution nor is it exactly what I'm trying to
achieve.
Oh, well. In these support forums, it's win a few, lose a few.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
please tell me how to achieve this?
http://androidguys.com/?p=
In particular, read the comments, where I think half the core Android
team jumped in to tell me how better to solve the problem... ;-)
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Warescription: Three Android Books, Plus
included then any reference which will explain about
how to download that cupcake source from the repo, compile that source
and add in the current sdk. I am using windows plateform and running
the applications on the emulator.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Warescription
you with bodily harm if you do so, since
you might be interrupting them in the middle of something else they are
doing.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Warescription: Three Android Books, Plus Updates, $35/Year
--~--~-~--~~~---~--~~
You received
() with URLConnection,
just as you are using it for Connection and Content-Type.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Warescription: Three Android Books, Plus Updates, $35/Year
--~--~-~--~~~---~--~~
You received this message because you are subscribed
), review those and see if there is anything obvious you are
missing. Of course, the best solution is if somebody offered a Java API
for accessing this Web service (e.g., JTwitter for Twitter).
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Training: http
ArrayAdapterString(this, R.layout.frow,
R.id.ListView01, mStrings2));
}
This does not work.
Can anyone advise ?
You cannot use the ListActivity methods for managing the second
ListView. You will need to use findViewById() and handle that ListView
manually.
--
Mark Murphy (a Commons Guy
.
-- use a Spinner for one
-- use tabs to put them on separate tabs
-- use ViewFlipper to flip between the two lists based on a button click
or option menu choice
-- use multiple activities, one list per activity
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Warescription: Three Android Books
the content, converting that into Android code
(whether URLConnection or HttpClient) should be relatively straightforward.
You might also inquire with whoever is hosting the server if they have
any recipes for Web service access.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy
use with setContentView(); the latter
you would either supply to your adapter or use when you manually inflate
the rows.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Available
of the
Google Maps situation. How are you using it in your application?
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Training: http://commonsware.com/training.html
--~--~-~--~~~---~--~~
You received this message because you are subscribed
zeeshan wrote:
i am looking for video recording example, it suppose to be in api-
sample but not available
i am wondering if 1.1 release still missing this feature?
Video recording is not available in the current version of Android.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
cannot browse to them. However, you can use adb pull to download them.
Why do i have only the folders /data, /sdcard and /system on the
emulator but
on the device there are much more?
You have all of same folders on the device; you just cannot browse them.
--
Mark Murphy (a Commons Guy)
http
:
https://connect.microsoft.com/content/content.aspx?ContentID=3480SiteID=168#BM8
As one person put it, If your bug is not reproducible it will never get
fixed. (from
http://www.softwaretestinghelp.com/how-to-write-good-bug-report/)
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App
that?
(from http://tinyurl.com/ct3fcf)
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Warescription: Three Android Books, Plus Updates, $35/Year
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group
others?
Trust me, I calls 'em as I sees 'em.
I just don't tend to bash Google/OHA on these lists too much, because
that will be more likely to be seen as personal attacks on the core
Android team, and they aren't the source of my ire.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
青铜 wrote:
I also have this question.
Every time I run HelloMapView (the example code in dev.android), I
only can see the title of the app, and the content is just black.
Did you get your own Maps API key, as outlined in step #4?
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The
Josh wrote:
I want to store objects into an array or collection(whichever is best
suited to this in dalvik).
You mean like the ones in the java.util package?
the objects are basically just VO's all of
the same class that i want to keep track of.
What's a VO?
--
Mark Murphy (a Commons
.
how can i use that on the g1?
You can't. My apologies, I thought your goal was to view the files.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!
--~--~-~--~~~---~--~~
You received
with somebody who can
submit a patch for you.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
or so concrete Collection classes (e.g., ArrayList)
that you can choose from.
http://java.sun.com/docs/books/tutorial/collections/index.html
http://mindprod.com/jgloss/collection.html
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com
that
demonstrates the problem. If you want, reply on this thread with a link
to your issue.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!
--~--~-~--~~~---~--~~
You received this message because you
similar results. To invert
the Stones, Ti-i-i-ime is not on my side (no it ain't), but I'll
hopefully be able to squeeze this in this weekend.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Training: http://commonsware.com/training.html
the pattern.
Heaven help me if I'd've been trying to noodle that out independently.
I need another day or two to make sure I've solved clarkbriancarl's
issues, then I'll write something up.
Thanks!
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_
sample some for this scenario -- I was thinking
the service would be long since wrapped up before the next alarm fired.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
_The Busy Coder's Guide to Android Development_ Version 2.0 Available
!!!
On-screen keyboards are being worked on as part of the forthcoming
cupcake release.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Android App Developer Books: http://commonsware.com/books.html
--~--~-~--~~~---~--~~
You received
in a FrameLayout, add a RelativeLayout as a child
of that FrameLayout (so it is a peer of the top-most LinearLayout), and
then use the RelativeLayout to anchor the icon in the upper-left.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Android App Developer
approach of a static variable doesn't work when the service can be
started again during its runtime.
That depends on what your static variable holds. ;-)
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Android App Developer Training: http://commonsware.com
Mariano Kamp wrote:
On Sat, Mar 28, 2009 at 4:37 PM, Mark Murphy mmur...@commonsware.com
mailto:mmur...@commonsware.com wrote:
Have you tried using setReferenceCounted(true) on the WakeLock?
No, I didn't know about that. Sounds interesting. Thanks for the pointer
should be
available from where you downloaded the JDK.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!
--~--~-~--~~~---~--~~
You received this message
Nox wrote:
So, how can I run or execute the JDK???
http://java.sun.com/javase/6/webnotes/install/jdk/install-linux.html
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
_The Busy Coder's Guide to Android Development_ Version 2.0 Available
., Jon Culverson).
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post
be pulled forward into the SDK,
file an issue at http://b.android.com so the idea gets tracked, or
possibly submit a patch if you're in position to work on the firmware
itself.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0
is available.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Warescription: Three Android Books, Plus Updates, $35/Year
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers
the SDK to build applications much
more so than it is for firmware-level questions such as the ones you posed.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Warescription: Three Android Books, Plus Updates, $35/Year
have to register a BroadcastReceiver to get control when the phone
reboots and then re-register your alarms.
We just had an extended thread on this very list on a related topic:
http://groups.google.com/group/android-developers/browse_thread/thread/947fd3d0ed878c66#
--
Mark Murphy (a Commons Guy
pperotti wrote:
Thanks Mark, I have just read also the response in the last update of
your latest book.
That was fast! ;-)
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Android App Developer Books: http://commonsware.com/books.html
.
If you can narrow down the source of your difficulty, or if I
misunderstood the pattern you used to cause the problem, let us know!
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Android App Developer Books: http://commonsware.com/books.html
/a66e63959bb89193/a7e8782c85076bf7
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!
--~--~-~--~~~---~--~~
You received this message because you
to get answers by poking fun at the problem.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!
--~--~-~--~~~---~--~~
You received this message because you
()1minute) {
closeConneection();
}
Thread.sleep()1000*60;
}
The connection gets re-opened elsewhere so this needs to keep looping.
If this is happening in an Activity, you can use View#postDelayed() to
schedule a Runnable to be executed after such-and-so delay.
--
Mark Murphy
Wouter wrote:
But how can i make a restful webservice (in Java) where I can
authenticate a user..
Use HTTP authentication. See _RESTful Web Services_ (O'Reilly
Associates, 2007), Chapter 8, pages 238-243.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
that is focused on server-side Java.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!
--~--~-~--~~~---~--~~
You received this message because you
301 - 400 of 11157 matches
Mail list logo