That sounds a lot like a TaqbHost/TabView. I suppose each tab, Amour,
Weapons, etc, would be associated with a different activity, but sometimes
that's debateble. Tricky part may be how to layout the common player image.
--
You received this message because you are subscribed to the Google
On Mon, Sep 6, 2010 at 1:52 PM, Droid rod...@gmail.com wrote:
With LinearLayout I believe I cannot two get buttons side by side?
That's what the documentation and samples indicate (wondering why you had
to ask that - again). Maybe you're overlooking that Button is a subclass of
View, so can be
2010/9/6 Frank Weiss fewe...@gmail.com
How might a user accidently remove them? Why is this a concern?
There are a few file explorer down there, and for X reason people can
remove data using them. The problem is that if that data is removed,
it has to be downloaded again. 3G in my
I suppose what you need to do is NOT have the key views handle touch events
directly. Instead have the parent view and/or activity handle the multitouch
events. I think you would need to understand how touch events propagate
through the view hierarchy.
--
You received this message because you
Need some more details. Was this about someone else's thread? What is the
test case? Have you tried a diagnostic app, such as GPS Essentials?
I have a Droid running 2.2 and see no problems with location. I did notice
there was a recent system update after the Froyo update. My phone shows 2.2
However, when I use the google search or use the browser and check for the
location . It shows a different a zipcode ( city).
Sorry, I don't understand those two use cases (google search and browser)
how they relate to location?
--
You received this message because you are subscribed to the
I suppose you need to use a display list.
--
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
The list of objects the view draws when the OS asks the view to redraw
itself.
--
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
Try the hello views page:
http://developer.android.com/intl/de/resources/tutorials/views/index.html
And please do use the resources before asking questions :-)
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send
Might want to also check for last forward slash, in case the path portion of
the filename contains a dot.
E.g.:
/sdcard/.myapp/cachefile
I suppose that should be taken care of by File.getName(). I might add
that a test case for this new code would be a good idea.
--
You received this
The simplest thing to do when activity A starts activity B but
activity A doesn't want to stay on the stack is for activity A to call
finish() right after it calls startActivity() with the intent to start
activity B.
--
You received this message because you are subscribed to the Google
Groups
Arithmetic error? Bug?
Well, sort of, but no.
Sort of, because at first sight it looks wrong. At least from a purely
mathematical perspective and because we kind of think computers are
purely methematical.
But no, because this is not even a computer issue. Take for example
the problem of
Admittedly, my example of precision calculation is overly simplified.
In a real case, one would use % precision instead of absolute
precision.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Is this a client-server architecture? What Tomcat/JEE Servlet APIs do
you want to call in the Android app?
--
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
I wonder if we are on the same page with client-server. Anyway, maybe
an example of an API you want to use would help clear things up.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
That makes more sense. What is the class of the service object? I'd
like to look at what Spring packages you are using.
There are a few solutions that come to mind.
1) Find a Dalvik JAR of the client library for that Spring service package.
2) Add the necessary Spring client source code to your
I think I found the fix. I located a copy of the jdk-1.6.0_17
installer on my home system (aren't you glad when keep around these
old downloads?). Uninstalled jdk-1.6.0_21 on my company machine,
installed _17. Then I was able to finish the install of the ADT on
Eclipse.
On Thu, Sep 2, 2010 at
I'd hazard a guess that it has something to do with
android.view.ViewRoot.scrollToRectOrFocus(). Can you narrow it down to
some user action that might invoke that method?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group,
Do you mean a web browser or a web server? In either case, it's not
clear why for a class project you would want to implement that on
Android instead of on desktop, unless, of course that would be to
boring for an advanced Java developer.
--
You received this message because you are subscribed
It really helps if you already have working knowledge of Java and Java
debugging. Depending on the kinds of apps you want to build, also
helps to have working knowledge of one or more of the following:
networking, graphics, OpenGL, client-server, XML and XML parsing.
Although you don't need to
I forgot to add, books, such as Mark Murphy's http://commonsware.com/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-developers@googlegroups.com
To unsubscribe from this group, send email
I suppose it's complaining about the @string:hello. Did you forget to
copy the strings.xml file 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
I suppose the exception is being thrown by some API method (or
posisbly an internal SDK method) that takes a parameter of type View.
Have you identified the API method? Another thing to do is get the SDK
source and search for that error message.
--
You received this message because you are
Are saying that you don't know what HTTP status 404 means? You're
putting me into a crabby mood!
--
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
OK. So why is the server returning that HTTP status? My first guess is
the URL is incorrect. What's your guess?
--
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
I assume you want to develop a web-based Googlew Maps V3 app that
would display in the Android browser. Maybe I'm missing something, but
this has nothing to do with Android. I verified by trying a V3 maps
app developed for desktop browsers. Works in the Android browser as
well.
--
You received
Doing a background task with AsyncTask can be done in either Activity
or Service. Depends on what you're trying to do. For example,
something similar to downlaoding a web page, do in Activity as user is
likely to wait and nothing really lost if user swtiches to another
task. Something like
When the user launches the app from the home screen, the activity
given in the manifest is started. I suppose the licensing check should
be done in that activity's lifecycle methods.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to
Have you studied the Activity lifecycle?
http://developer.android.com/reference/android/app/Activity.html
It's better if you ask question relative to something like that.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this
I don't think you can pause the SAX push parser, since it pushes all
the parse events to the callback methods. Look into the XMPP push
parser instead. It's usually the last package shown in the developer
reference.
--
You received this message because you are subscribed to the Google
Groups
Use getLastKnownLocation(). Be forewarned that there's no way to get a
fix on demand on most mobile phones. This is to conserve battery. Even
actual GPS devices can only give you periodic fixes, but at a finer
period than Android devices. Best you can get on Android is what's in
the Location
John, I don't think we disagree. I've observed similarly accurate
fixes, under ideal conditions and given enough time.
To add to the OP's question, if the device receives the SMS while
indoors, that's one of the worst conditions to get an accurate GPS
fix.
--
You received this message because
That tab does not mean what you think it means. The fact that your
application appears there probably merely means there is a process
still in memory that most recently was running your code. It does not
mean that any of your components (activities, etc.) are still
considered to be live.
A simple solution: prevent zoom.
Crummy solution: scale the images.
Best solution: prescaled images on server, if possible.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
I've been following this discussion with some interest. I have no
opinion at this point, but here's a data point that might be
interesting.
I'm developing an app with a particular set of POIs (points of
interest). Originally the manifest had uses-permission
I think it's something Google should fix, but I'm have a hard time
justifying it based solely on ATM and excessive bank charge issues.
Those would appear to be a choice of which bank accounts a developer
uses.
--
You received this message because you are subscribed to the Google
Groups Android
Here's a good starting point: http://github.com/jgilfelt/android-mapviewballoons
--
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
I suppose you'd be better off with a service per service instead of
one god service. The reason is that it make the code cleaner - you
don't need to manage multiple alarms and network connections in one
class. An exception would be a service that just does one kind of
thing, but handles a queue of
I'm not a total expert on this...
Threads are really just a way of running multiple stacks/program
counters in the same address space. It's fair to assume they are
time-sliced. Services and Activities are run in a single UI thread
(AFAIK) and the precessing model is typical UI thread which calls
First a question: Is the flickering on the emulator or a device?
Emulator is much slower than a 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
Might I suggest you try debugging in Eclipse instead of with logcat.
You can breakpoint and step through the code and inspect variables. It
gives you much better insight into what's happening in your code than
logcat or toast.
--
You received this message because you are subscribed to the Google
Zsolt, I work at a digital advertising agency and have been sharing
your experience with my colleagues. They found it very intereresting
and of course, obvious. When I remarked that many Android developers
are, well, developers, they joked that maybe our agency should start
helping mobile app
On the otherhand, I'd probably want to know if an app was ever going
to ask for a particular permission. Then again, it might be reasonable
if an app, at some point after it's installed, said if you grant me
this permission, I can do this additional function or to fulfill
your request, I will need
I suppose you might try asking the folks at BouncyCastle to provide an
Andorid/Dalvik/Harmony version or become a committer on that project.
(Damnit! I'm starting to see some merit to the Oracle vs
Google/Android lawsuit)
--
You received this message because you are subscribed to the Google
code.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.com
For more
That's similar to the JTree question someone else asked. I think the
reason Android doesn't have something like JTree is because it's
debatable how well such a detailed view works on a small screeen and
on different screen sizes. Have you considered a sequence of list
dialogs to drill down instead
John, I think the OP is talking about long-press Home recent apps, not
the Market just-in.
--
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
Just to be a bit cheeky, why use the Android emulator at all? You know
it doesn't cost $99/year to to run your Android apps on a device.
But yes, I'm using both Android and iPhone/iPad SDKs and Android SDK
is a bit klutzy and slow.
--
You received this message because you are subscribed to the
An app I'm developing uses URLConnection, others like to use
HttpClient. I suggest you find some sample code that does something
similar and study how it's done.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send
Maybe this is a dumb question, but what are some ROI benchmarks for
piracy prevention (for Android apps)?
For example, if a publisher spends X dollars on piracy prevention
(however effective it may be) the revenue goes up (or down) by Y
dollars.
Just curious if piracy prevention is more
It's not like no one has explained Android before, 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
What is it you want the activity to do when the user taps a marker in
the overlay?
--
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
I see many folder names with dashes in Subversion repos I use. I've
never had a problem. I use subclipse and SVN command line. Is it
possibly a server issue or a server filesystem issue?
A similar, but unrelated issue is changing file or folder name casing
on Windows.
--
You received this
I assume you mean XML files in the Android res source code folder?
--
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
Try using MapActivity.onFocusChanged(ItemizedOverlay overlay, OverlayItem item)
--
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
I assume that if you want to edit the information after the app is
published you mean that the information would be on a server. The app
would periodically download that data from the server.
I suggest you use RSS or GeoRSS to format the web server data. You can
use either a file or SQLite on the
I suppose you could simply have the activity, when it comes to
foreground (onResume), go ahead and stop the service?
--
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
What does turning off my app mean?
--
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
how do you think your changes will get to your app on a user's phone?
On Aug 24, 2010 5:57 PM, Dominic ddit...@gmail.com wrote:
It's not a lot of data. Just restaurants from one city. But I want to
be able to add or remove restaurants and update daily specials so that
all the users can see
Your terminology is quite bit confusing. You seem to use the term
app to mean activity.
I assume the scenario you are trying to describe is based on: your app
has an activity A and a service B, and another app has an activity C.
When activiity A is CREATED [emphasis mine] it starts service B
I'll think you need to more precise what that trigger is. Previously,
you've been asking how to know what activty is on top of the stack. It
seems that the activity on top of the stack is the one your activity
started. So I would say the trigger is the moment when your activity
starts the other
Turn off the backlight. It's doubtful the hardware or firmware allow turning
off the bl and ts separately.
On Aug 23, 2010 11:13 AM, mot12 martin.hu...@gmail.com wrote:
I want to get the display as dark as possible but I also want the
display to remain touch sensitive.
So I can't turn the
I won't be able to google that or check the API docs for about 24 hrs...
--
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 don't know why you think there's something Android-specific on the
server side. Excepting, of course the market, LVL and perhaps C2DM.
However most client-server communication between Android and a server,
respectively, generally follow these three patterns:
1) document-centric, such as XML,
I assume you are trying to get current UTC time for purposes of DRM,
such as expring a trial license. From what I can tell on my Droid,
there are two ways the system time is set, automatically and manually.
I'm pretty sure manually can be used to defeat time-based DRM, as it
has been on desktops
You haven't been specific about what the problem is. Can you provide
compiler warnings or runtime errors?
--
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
I hope you realize I'm not psychic and can't see your display, so
you'll have to provide more info. In fact, if you can describe the
problem in more detail, chances are you'd be able to diagnose it
yourself :-)
What runtime error and the source code at which the error is
apparently being thrown?
I'm curious what the OP was trying to accomplish. It seems to me that
even if the informastion were available, it could be out of date in a
very short matter of time.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group,
Out of the many ways to interpret your question, I'm going to assume
your Android app needs to query certain data you have in a MySQL
database running on a server on the internet.
The typical way that's done is add a web service on that server that
performs the SQL queries locally and returns XML
I'm intrigued by ContextWrapper and ContextThemeWrapper to solve the
OP, but I'm not clear on how to use it in that case. It looks like one
way to use it is:
class MyContextWrapper extends ContextWrapper { ...}
and then use the constructor to use it as a proxy for a given context:
SomeActivity
The first thing that comes to mind is add an Ant exec task to run the CPP make.
--
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
Well, gosh, if you're trying to access an RSS feed, that's in XML. So
brush up on the URLConnection or HttpClient and the SAXParser or xml
pull parser. You ought to be able to Google how to do that in Java.
--
You received this message because you are subscribed to the Google
Groups Android
I tend to favor less is more. It's like resumes - you need to grab
your audience in the first 200 words. There's really nothing you can
say after that that will change their mind.
I looked at the TreKing (Chicago) market blurb. It's probably just me,
but a list of features is not good marketing
I looked at the TreKing (Chicago) market blurb. It's probably just me, but
a list of features is not good marketing prose.
My app is a tool for people to get around on public transit. IMO, it's value
comes from all the things it does for people that other similar apps don't.
With such
I suppose the getCellLocation() would give the local, that is the call
receiver's, location. I think you are looking for the call
originator's location?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
OK, let's try again.
Phone A makes a call, from location La, which is picked up by phone B,
which is at location Lb. On which phone do you need to get the
location? Which location does it want to know? Clearly, phone A can
determine its own location, La, and phone B can determine its own
On Fri, Aug 20, 2010 at 4:42 PM, David Toledo dtole...@gmail.com wrote:
I need the option 2 , Phone B, The call receiver, want to know La. Is
Possible?
It's theoretically possible. The 911 system can do it, sort of.
Question is, does the Android SDK support it and do the cell phone
carriers
I wouldn't be all that sour about it. Just like Caller ID, there may
be a reasonable use to a caller for disclosing their location, at
their option, of course. But AFAIK, it's not currently possible.
--
You received this message because you are subscribed to the Google
Groups Android Developers
I wish I could help you, but I'll have to be a taker on this thread.
However, I was wondering whether your problems might be due to
Eclipse? Have you tried building your .apk with Ant using aapt?
--
You received this message because you are subscribed to the Google
Groups Android Developers
What's the parsing error? What and how is that document being parsed?
I eyeballed ther XML and it looks OK (albeit a bit hokey with all
those text nodes).
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Sorry, but that question is a bit confusing. The title suggests you're
asking about Android-to-cloud, but then you throw in Windows.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
I wanted to add that if you really want to keep your customers
satisfied, a complaint is a gift. The problem in this case is finding
the sincere complaints.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Typical newbie problems are trying to do everything in onCreate() and
null pointer exception because some varibale isn't initialized. I
think using the debugger is even better than logcat. Are you using
Eclipse? The debugger is easy to use.
--
You received this message because you are subscribed
I'd be surprised if you can't do per-app locale changes in Android. I
know for a fact it can be done in Java Swing.
--
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
I'd use SharedPreferences for that. You will also need to add a use
case for the user uninstalling and then reinstalling the app. In that
case, SharedPreferences would be empty, but your server DB would have
a record of the prior registration.
--
You received this message because you are
My number one answer is: use the Command Pattern. Can't say much more
without more specifics about what the buttons are supposed 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
As far as I can tell, your conception of an Android application is
mistaken. The closest thing is that from time to time the Android OS
allocates memory resources, in the form of an underlying Linux
process, to an Android application so that the application's
activities and services can perform
Would you please study the fundamentals:
http://developer.android.com/intl/de/guide/topics/fundamentals.html
I think you'll get more help if you explain what needs to be running
at all times in the background. What is happening when it's running?
--
You received this message because you are
Fabrizio, thanks for sharing that Forbes article
(http://blogs.forbes.com/taylorbuley/2010/08/13/android-lawsuit-is-really-just-oracle-flirting-with-google/).
It confirmed some of my thinking, but added the interesting bear hug
angle. I wonder if that is really the case.
--
You received this
It would help a lot more if you gave the URL of the data you are
trying to parse. I can't really see what's going on in your code,
which looks OK. I've also had more luck tracking down SAXParser errors
by using the Eclipse debugger to step through the code.
--
You received this message because
It probably matters more what you are trying to do. If you are trying
to subvert Andriod's activity model, you may run into problems. If the
views are actually views of the same activity, you're OK.
What would be views of the same activity? Projections, selections,
sorts, text vs graph, etc.
--
I assume you intend to have people download this app from the Android
Market. If so, what's to keep ANY Android app on Market from disabling
the Home key?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
It's gratifying to hear that I helped you. Thanks!
--
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 started this thread with some trepidation, especially the chilling
part. But it looks like we got to share our thoughts, if maybe a
little OT at times.
Fabrizio Giudici wote:
My point is that we developers should not be much worried about that.
I don't think that Oracle has any real intention
I think I see the problem in your code. The view hierarchy is:
sv (abl (layout(iv), iv1))
where sv is a ScrollView and layout is a HorizontalScrollView. Which
one actually does the scrolling? Have you tried this view hierarchy:
sv (abl (layout(iv, iv1)))
--
You received this message because
Well, I think you understand that onResume() is called by the Android
OS when an activity comes to the foreground. It may help if you
briefly described what this update method is supposed to do.
I hope your problem is not due to the subclassing of your activities.
It almost seems you are
My current understanding of the problem is, there's an update method
that needs to be called when any of the activities come to the
foreground, that is, in the onResume() method of the particular
activity that's coming to the foreground, but in some cases, when this
update method is called, the
Assuming that the update method makes an HTTP request, but doing it
for each time onResume() is called is excessive, wouldn't the most
obvious strategy be to cache the data? That is, when onResume() is
called, check how long ago the last HTTP request was made. If it was
too long ago, perform the
I wonder which source code the OP is getting and why.
On Aug 13, 2010 8:34 AM, Tony Gonzalez tonygonzalez...@gmail.com 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
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.com
To
201 - 300 of 625 matches
Mail list logo