>
> I cant scroll the pushpin.
>
I must be missing something then. You did say that the underlying
image is scrollable.
--
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.co
I wonder which source code the OP is getting and why.
On Aug 13, 2010 8:34 AM, "Tony Gonzalez" wrote:
Sounds like great advise, but their is a lot of information. As I just
mention it to TreKing I'm doing that right now, trying to get the source
code but have to figure out how to install and use
It hit the press today. Rumored that Google refused to settle. I have
no idea where this is headed, but I'll continue to develop for
Android.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-devel
AFAIK there's no silver bullet, sorry. Just your skill at debugging:
narowwing down the problem, correlating the problem, studying log
files, studying stack traces, stepping through the code...
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group
I don't understand. What is the relationship between the Activity for
which onCreate() is called and the object whose constructor is called?
--
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
http://source.android.com/
--
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...@googlegroups.co
I learned that stuff at developer.android.com and with Google.
--
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-de
I suppose you need to scroll the pushpin as well.
--
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+unsu
There are two levels of foreground/background, onPause/onResume and
onStart/onStop. Please read the Activity documentation. Then explain
what you issue is.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to
Where do you see Market app installing packages without asking user?
--
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
andr
- this is what I'd like to know how to do.
Thanks,
Jonathan
On Aug 11, 6:34 pm, Frank Weiss wrote:
> The question isn't so simple, eh?
>
> The "totalramavailable to the device" appears to be a fairly
> objective hardware question. For the Motorola/Veri
On my machine, in Device Manager, there's Android Composite ADB Interface.
--
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 t
The question isn't so simple, eh?
The "total ram available to the device" appears to be a fairly
objective hardware question. For the Motorola/Verizon Droid it's
256MB.
But the OP seems to be looking for some other answer. Perhaps restate
it a different way?
--
You received this message because
Does it FC when you use getIntent() instead of the parameter to onStart?
--
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
I run Windows XP, have a Droid, and use Eclipse.
When I plug the USB cable into the Droid, there are two notification
icons: the forked USB icond and the exclamation mark in a triangle.
When I open the notifications list, there's "USB debugging connected"
and "USB connected".
Are you seeing these
It may also be good practice to give the user the option to turn GPS
off for your application. That is, when the option is off, your
application removes location updates.
The idea is that the user can still use your application, but can
control the battery usage. Of course, in this case, the user
Chances are you can google for ways to convert text to date data types.
--
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
a
The user can either enter an address and your app can geocode it or
the user can tap on the map and your app can get the lat long
coordinates of where the user tapped.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, s
Well, it's not clear what you mean by "all locations". Most of us map
builders already have a database of the points of interest that are to
be displayed on the map.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, sen
Thanks for getting down to the brass tacks.
First, that field (aka member) declaration and initialization should
go inside the class declaration, not before it.
Next is Java Generics, a powerful Java language feature that takes
some time getting used to. Here's the official story:
http://www.orac
What part of the Hello, MapView tutorial are you having trouble with?
http://developer.android.com/intl/de/guide/tutorials/views/hello-mapview.html
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to androi
Anthon, if you had gone through and studied the MapView tutorial, I
think you wouldn't be asking those kind of basic questions.
--
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@googlegr
I'm assuming that the data you want to save includes a geocode
(lat/long) and some additional data, such as title. The answer to your
question can get quite elaborate, depending on the details. However, I
suggest you start with the simplest thing that work. That would
probably be see the marker and
Indicator, I don't understand why you repeat the erroneous "launching
another app". Correct me if I'm wrong, when you tap an icon on the
home screen what's happening is that an intent is being sent which
starts an activity in a particular package. That package's application
context may already be "
Correct me if I'm wrong, but "app" is a bogus term with regard to an
Android broadcast receiver. Don't you mean to ask what intent and
category do the Phone and Contacts apps use, such as:
android.intent.action.MAIN, android.intent.category.LAUNCHER
--
You received this message because you are s
Can you try to use the correct terminology. The onstop method is for an
activity. If you can get that, maybe you can try to answer treking's
question.
On Aug 8, 2010 8:59 PM, "optimusgeek" wrote:
I mean I want to do something when my app going to be stopped.(not
destroyed)
and the situations are
On Wed, Aug 4, 2010 at 9:54 AM, ls02 wrote:
> I want to terminate the Linux process, the same way Pandora app does.
I'm not being cheeky, but just want to understand your thinking. If
the Android app's host linux process is NOT terminated, what is the
consequence, if any?
--
You received this m
What does "quit the app" mean in the context of the Android SDK?
--
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-
@Leigh LOL. I think your amusement is warranted.
What I meant to say is that a lot of the really great programming
techniques, such as refactoring to patterns, tend to be explained in
Java. I would suppose that really good programmers can write flexible
Java code without the use of a preprocessor
Should we assume you know how to hit test for a circle and you want to know
if the SDK can do it for you instead?
On Aug 2, 2010 6:33 PM, "kingh32" wrote:
Hello
I'm currently trying to program a target as part of an Android
Application.
I want the user to be able to touch a particular band with
Closest I got for a digital filter was to ask for a notification rate
somewhat higher than the desired sample rate an downsample the value
sequence.
On Aug 2, 2010 6:33 PM, "Tope" wrote:
Hello everyone,
Just joined the Android group. I'm having problems with the
acceleration and
orientation sens
I don't see how your problem is any different on Android than it would
be for any program in any language on any device. Pick a data
structure. Don't optimize it (yet).
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group,
Please understand what the DOM is. There you have two text nodes
sandwiching a BR element. Either the feed should use CDATA to wrap the
marked up text or you need to decide how you are going to reconstruct
PCDATA, that is, turn the sandwiched BR element into text.
--
You received this message bec
This thread is a little like schadenfreude to me. A lot of it is about
taste - of which arguing about is of little use. I just saw some Java
code where every closing brace is commented with "// end of if", "//
end of for", "// end of method", etc. Yech!. That, to me, is worth
arguing about!
If the
Have you enabled Allow USB Debugging on the device?
--
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+un
I think Bob Kearns may have it right. I was also wondering why you'd
be seeing any XML if you're using SOAP, which is basically an RPC
framework.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-d
Here is a long thread on the subject:
http://groups.google.com/group/android-developers/browse_thread/thread/1c9078176b172e1a/235bae6530ee7e74?show_docid=235bae6530ee7e74
There are Java projects that use various preprocessors. The lack of a
standard one is a problem. AFAIK Sun's WORA ideology ran
I strongly recommend you try to find some sample code at
developer.android.com that does something similar and follow that
example.
In other UI frameworks, there's a convenience function, such as
MsgBox() that accomplishes "blocking" the UI thread. I don't know
exactly how it's done, but I suspect
I don't recognize what data format that is, but I would guess that
your code has an error or is not sending the right HTTP headers. What
client side code are you using?
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group,
On Fri, Jul 30, 2010 at 5:14 AM, sblantipodi
wrote:
> Ok, since I founded no way to automatically do it with netbeans now
> I'm trying the ant way posted here:
> http://just2us.com/2009/07/tutorial-obfuscate-an-android-application/
> previously in this thread.
>
> I followed all the instructions b
I assume you want a blocking alert dialog like the MsgBox() function.
This has been brought up before and basically "no can do" the way the
Android UI thread works, AFAIK. The two "natural" android approaches:
1) An other activity that you start with startActivityForResult(),
which can be themed a
Maybe you can visualize my suggested solution better with some code:
if (demo) {
demoLocationManager.requestLocationUpdates(provider,
min, distance, this);
} else {
locationManager.requestLocationUpdates(provider, min
> The message could be urgent thing or request response to user.
> In this case, I want to show it to users right away without the
> notification.
> I think this is not kind of right and wrong.
> It just matter of scenario.
That's just not the way Activities are supposed to work in Android.
What i
> No offense, but it seriously blows my mind how people can find this group,
> sign up, and post to it, but can't (or won't) take the time to search for
> and (quickly and easily) find the official documentation.
> Just ... don't ... get it
>
I'm sure there are many others - including myself
How noob are you?
Assuming that you've been seriously programming for at lease a year:
developer.android.com
buy a book, if that helps
get a device if you want to use the sensors and GPS
run some of the sample code, modify it
share your problems and learnings here on the list
--
You received th
I wish I could be of more help. It works OK on my Droid. Perhaps you
can do some more debugging, looking for some kind of pattern or look
at the Android source code for how that value is returned.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" gr
It doesn't make sense to me why you're trying to cancel the AsyncTask
in the Activity's onDestroy method. That seems too late in the
lifecycle.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-dev
I've used nekohtml to scrape pages. Have you looked for an API for
getting the data instead?
You should carefully consider the ramifications of screen scraping.
The web site may not be thrilled by your syphoning off information
they may have to pay for. When the web site is redesigned, the screen
I suppose that iJetty, like Jetty, is a servlet container. It's open
source, have you considered stripping it down to bare HTTP?
Search for embedded Java HTTP servers that would be used in devices
such as routers.
If your needs are very simple and highly constrained, building you own
HTTP server
Some more specifics in the OP would have saved me the trouble of asking:
eclipse version?
system memory size?
at startup of eclipse?
using the graphical layout editor?
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group,
What does "current location" mean?
AFAIK, on Android you can only get timestamped locations, either via
notification or last known.
--
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@goo
In your code, the String variables tim and tim2 are both from
location.getTime(), with differing formatting. However, in your value
comparison, tim2 is supposed to come from "System Time".
In my app, I use "new Date(location.getTime()).toString()", and am not
seeing a discrepency for locationManag
Is it a URL? Then you need to escape the "#".
--
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
You can find that information here:
http://code.google.com/android/add-ons/google-apis/
com.google.android.maps.MapController.setCenter()
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-develope
The way I look at it is that if you are going to use some pictures in
your application, then the people using your application are going to
have to get those pictures
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, se
Then go to the documentation http://developer.android.com
--
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-develop
You said that more than 4 connections would give better performance.
How much faster would it be with a 5th connection?
--
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
The problem doesn't seem to have anything to do with GPS, correct?
I tried your coordinates, 22.9638357,113.3156041, on desktop google
maps and from within a MapView. I get the same unequal results that
you did. I also tried msn.com (in satellite view - theirs are older!)
and that agrees with the
Show your characters() method. It's probably buggy.
Set breakpoints and step through your code.
--
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 th
I've had no problems using the SAX parser on Android.
I really think you should fix your characters() override method. Read
to API docs. It doesn't have to return the full contents of a text
node (I see newbies frequently make this mistake). I always use a
StringBuffer or StringBuilder.
What help
I suppose you just need this in the right place in your code:
mapView.getController().setCenter(centerPoint);
mapView.getController().setZoom(defaultZoom); // optional
where centerPoint is the GeoPoint of the item.
I don't see any other way to do it.
--
You received this message because you ar
My suggestion is to look at some sample code, like Romain Guy's
PhotoStream. Although PhotoStream does a Flickr download instead of an
upload, the application structure covers services, AsyncTask (albeit
an early version thereof), notifications, etc.
--
You received this message because you are s
If the updates don't happen until the onCreate or onClickEventHandler
methods return, first guess is you're misusing the UI thread. That is,
the UI thread is busy in your while loop and can't get anything else
done, like drawing the overlays. Welcome to UI programming!
I strongly suggest you put y
I think you should know that an Android service is not meant to
interact with the user directly, as with a dialog.
Aside from questioning why the user input is needed in the midst of
the service and whether the entire background process needs to be
performed in a service, here's what I'd recommend
Why do you need to force the user to login again just because their
personal workflow involved starting an activity in a different
application?
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-dev
AFAIK, there's not such thing as a UDP connection. However, if you've
done this before in Java, what is the problem you are having doing it
on Android?
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to and
I suppose it would be fairly easy to have a mock GPS object makes
callbacks to your activities. Assuming that's possible, what kind of
scenario do you want?
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email t
Perhaps it should be the other way around.
Activity A, started by an external intent, checks to see if the T&C
needs to be displayed. Activity A then starts for result activity B.
If the result is affirmative, Activity A records the status and
proceeds, otherwise simple finishes, or goes into a fa
On Wed, Jul 14, 2010 at 1:45 PM, DanH wrote:
> It should be noted that XML is really a pretty lousy language all
> around -- hard to code, slow/difficult to parse, bulky. For many
> purposes, if you have a choice, JSON is a better option if you need a
> human-readable notation, and there are any
www.eclipse.org + Android SDK
--
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...@googlegroups
I suppose you might also try just catching the IllegalStateException
which would occur if not a UI thread AFAIK..
--
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 un
I did some research on the difference between SAX push/pull parsers.
The consensus was that generally they are within an order of
magnitude, the speed varies somewhat depending on the data, and that
there is a factor of the preference for programming push vs pull.
You noted that there is a marked
Congratulations! I think most veteran programmers have had similar
experiences with their first Android application.
--
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
Don't use a dialog if you don't want modal behavior.
On Jul 12, 2010 3:59 AM, "Narendra Bagade" wrote:
Hi all,
I have created one alert dialog box .I am displaying that dialog box on the
click of submit button.
once i press submit button ,it opens dialog box on the screen but at that
time back
I suppose you're looking for an answer from someone who's run into the
exact same or similar problem. However, I gently suggest you try to be
more resourceful in your debugging. Try this:
1) Post the URL of the request that you using.
2) Look at the response. If the same numerical error is in the
I've had success using a digital band pass filter. Instead of fiddling
with velocities, a band pass filter just looks at the power spectrum
within a limited frequency range. I posted my code in the following
thread:
http://groups.google.com/group/android-developers/browse_thread/thread/d61f7790afb
I thiink you are asking too many questions at once. It usually helps
to solve one problem at a time. AFAICT, you are dealing with three
problems: how to establish communication between the phone and the
device (although that's somewhat confusing, since a smart phone is
frequently referred to as a d
Let's assume there's no Android application that will do that already
or you don't want to license it.
Start with some of the essential problems. Solve them one at a time.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this gro
Although I agree with you, I think you've misposted. It is not an SDK issue.
--
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
I assume the error you are talking about is that you expect float
longInt = -16.907325 instead of -16.907326.
I thinka that can be explained by the decimal precision of IEEE 32-bit
float: http://en.wikipedia.org/wiki/Single_precision_floating-point_format
--
You received this message because you
For the superclass, click the Browse button. Click the question mark
in the lower left for an explanation of the Superclass Selection
dialog.
Similarly for the interfaces.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this gro
It's not usually necessary to use a service for a quick network fetch.
For example, when the user clicks a button that requires a network
request that takes typically less than a few seconds and expects
result displayed in same activity, just run the AsynTask in the
activity. Services are for runni
Possible in firmware or just as a state a single app can have. If it
were possible for a app to block the screen so that the home button
wouldn't work, then think of the very bad consequences this would have
for other applications and the user.
--
You received this message because you are subscri
Yes indeed if it were possible with the SDK, any Android app could really
screw up things!
On Jul 7, 2010 1:09 PM, "ranjan ar" wrote:
Hello,
I would like to bring up a screen lock window. that constantly keeps popping
up and doesn't allow users to get rid of it until he enters the right
password
AsyncTask makes it easy.
On Jul 7, 2010 1:17 PM, "Viktor Linder" wrote:
Hi! I have the following problem: My app has a thread that updates the
game state. The app needs to make a change to the state of the View
object, triggered by this thread. The documentation for View states
that it should on
No worries.
16x9 (a la Droid) is probably the most extreme screen aspect ratio
you'll ever encounter in an Android device. Have you considered
creating a scaled and cropped image on the fly the first time the app
is run and caching that on the SD card?
--
You received this message because you ar
Sounds like you are making unrealistic assumptions that every device's
display aspect ratio will be similar. What would happen with a device
with a completely square display?
What would you lose if you had a fallback, such as letterboxing? What
would you lose if your application didn't have a back
The second button should be disabled while the first asynctask runs.
When it finishes, the second button is enabled.
You don't need "global variables". You can save the results in
instance fields of the activity.
--
You received this message because you are subscribed to the Google
Groups "Andro
Only people who want to punish themselves use Java threads on Android:-)
But you also asked about Service. You can use an AsyncTask in an
Activity if the task has to happen while the activity is active. If
the task needs to happen also when the acitivity is not active, (like
when the user goes to
I think that, at a higher cognitive level, a user remembers what
actions can be performed at a particular activity, not whether or not
a menu exists. Frequently there is also a visual/motor memory
asociated with the menu layout (example: third item = discard
message).
The way a user discovers what
I suppose via the mapview parameter.
--
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...@googl
Try this and let us know if it works for you:
http://osdir.com/ml/Android-Developers/2010-06/msg01242.html
--
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 unsubscr
Try some of the sample Android applications. Look for one or two that
do some of the things your application needs to do.
--
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.c
Something's not right. Although I have no experience with
DocumentBuilder, (ask me a SAXParser question, please!) the API
reference,
http://developer.android.com/intl/de/reference/org/w3c/dom/EntityReference.html,
appears to say that character references should be expanded. What HTML
or XML proces
You weren't specific enough about your problem with Eclipse. If you
want to program in Java, you could use the commnad-line SDK tools and
just about any text editor. If you want to avoid Java, take a look at
Roboform.
--
You received this message because you are subscribed to the Google
Groups "A
I understand your question is really about diameter vs radius. I would
suggest that what it means can only really be determined by field
experiments with a particular set of devices. It's doubtful that a
consumer device will adhere to the kind of accuracy specifications
required of a professional G
Have you considered the following:
1) Use a web application instead of and Andorid application
2) Create a custom activity that creates a view (buttons, etc) on the
fly from dynamic meta-data received from the server.
3) Like 2), but just a view, although an activity per screen (a chunk
of user in
It's very difficult to answer your question the way you've posed it.
I'd suggest you can assume that what's in the api docs,
http://developer.android.com/intl/de/reference/packages.html, is
available. I know the Android Google Maps API is also available,
documented at code.android.com, so there may
Are you using Eclipse? Have you tried stepping through your code with
the debugger? I highly recommend you do that.
--
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
In the endElement() method, also check for the other elements and save
the contents of the StringBuffer:
> if (qName.equalsIgnoreCase("business-name"))
> {
> businessName = sb.toString();
> }
-
301 - 400 of 628 matches
Mail list logo