Yeah, look for PackageInfo.versionName and PackageInfo.versionCode.
You can get an instance of PackageInfo from
PackageManager.getPackageInfo(), and you can get THAT from your
Activity through getPackageManager().
On Oct 25, 6:14 am, matteoli oliver.matt...@googlemail.com wrote:
I would like to
Yeah, I ran into this problem as well and ended up rolling my own
code. If you just need the basics, it's fairly trivial to write a
recursive function to traverse the Document object and write it to
file. My function is about 50 lines and that includes try / catch
lines, comments, and spacing.
I've only had one user report my app's label showing up as #ff
and they are also using a Hero.
I have not seen any of these problems on my own G1 or the emulator.
On Oct 29, 9:32 am, Dianne Hackborn hack...@android.com wrote:
What phones are people seeing this on? Just the HTC Hero, or is
/android-developers?hl=en
--
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android
=344colspe...
They fixed it. Looks like they had same issue
Chris.
On Nov 12, 10:44 am, TreKing treking...@gmail.com wrote:
I also have a user reporting a map crash when using a feature in my app
that
uses MyLocationOverlay.
He's also using the Cliq, running 1.5. I cannot
I think you have to set up a new debug key on each machine you use.
I jump back and forth between my desktop and laptop and I have a separate
debug key for each.
So on whichever machine you're not seeing tiles on, run through the process
to get a debug key again and see if that works.
TreKing
with the MapView projection, and you have the circle radius in pixels
as the difference.
I'll give it a shot when I get around to putting in this stop-gap for the
Cliq and post back with what I find.
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps
it
with onPrepareOptionsMenu().
Also, please reply to the group so anyone else that can help can chime in
and anyone with a similar question can benefit from any answers posted.
-
TreKing - Chicago transit tracking
() method with no
arguments?
-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking
On Fri, Nov 13, 2009 at 8:36 AM, Anton Pirker l
What does the stack-trace look like when it force-closes?
-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking
On Fri, Nov 13, 2009
The MapView class has a center point and latitude and longitude spans that
you can use to compute the visible area.
-
TreKing - Chicago transit tracking app for Android-powered devices
http
to get a lead though.
-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking
On Sat, Nov 14, 2009 at 4:24 AM, FJMustak fjmus
That is a correct assumption. The span values give you the total latitude or
longitude distance across the screen.
-
TreKing - Chicago transit tracking app for Android-powered devices
http
.
-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking
On Sun, Nov 15, 2009 at 2:27 PM, G ghack...@gmail.com wrote:
Hi, I've got a question as I don't have an Android 2.0 device to test
on and this particular aspect seems untestable
.
-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking
On Sun, Nov 15, 2009 at 4:06 PM, G ghack...@gmail.com wrote:
THANK YOU! The word I was missing in my
At this point it might be your maps add-on is broken somehow. Try
uninstalling and re-installing it maybe?
-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com
that allow you to place that view at a specific location on the map
(in this case above the marker that was tapped).
-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com
?
No.
-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking
On Mon, Nov 16, 2009 at 2:38 AM, PJ pjbar...@gmail.com wrote:
You're probably not going to get a good response, because:
1. We don't know what error messages you're getting
on.
-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking
On Thu, Nov 19, 2009 at 9:18 AM, jax jackma...@gmail.com wrote:
I need to store a variable that contains my
You might want to save your variable when onPause gets called.
Forgot to add, and restore it in onResume().
-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com
with
it.
Subsequent calls to Activity.showDialog(DIALOG_ID) will then call
onCreateDialog(int) again and let you recreate it as necessary based on what
action the user took.
-
TreKing - Chicago transit tracking
.
-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking
On Thu, Nov 19, 2009 at 8:00 PM, Jason Proctor
jason.android.li...@gmail.com wrote:
i never look forward to handling Android dialogs, maybe someone can
point me
actually trying to do?
-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking
2009/11/20 jax jackma...@gmail.com
Hi thanks
just call showDialog(ID) in onClick(), no?
Or does that not work?
-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking
On Fri, Nov 20
.
-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking
On Fri, Nov 20, 2009 at 1:49 PM, Jason Proctor
jason.android.li...@gmail.com wrote:
can't re-show the dialog in onClick(), because it's already shown. at
least
on THOSE the way
you wanted to. That should definitely work. And it might be less work than a
full-blown wrapper.
Good luck!
-
TreKing - Chicago transit tracking app for Android-powered devices
http
and what's the correct way to use it - or if it should be used at
all.
-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking
On Sat, Nov 21
).
-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking
On Sat, Nov 28, 2009 at 7:45 PM, Samson Sequeira samson...@gmail.comwrote:
Is there a limit to the number
Yes it is. Did you set the minSDK parameter in the manifest to target 1.6?
(SDK version code 4 I believe).
-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com
that helps.
-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking
--
You received this message because you are subscribed to the Google
);
}
}
-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking
On Mon, Jan 18, 2010 at 6:07 AM, Mark Murphy mmur
want to scale images on the map anyway?
-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking
On Mon, Jan 18, 2010 at 1:05 PM, Kevin
.
-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking
--
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
with.
-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking
--
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
not asking too much..
Sorry, you might be.
-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking
--
You received this message because
...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--
-
TreKing - Chicago transit
.
-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email
user comments (though they'll generally not
updated that frequently).
-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking
--
You received
mistaken.
-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking
--
You received this message because you are subscribed to the Google
.
-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking
--
You received this message because you are subscribed to the Google
Groups
could use the runOnUiThread function as
you are already to run yet another small thread to show the dialog on the UI
thread.
-
TreKing - Chicago transit tracking app for Android-powered devices
http
going on between threads and the UI.
Anyway thx in advance for giving me a possible working solution
Sure thing. Hope it helps.
-
TreKing - Chicago transit tracking app for Android-powered devices
http
a guess, but again, this is pretty standard behavior in GUI systems, so
it's really something that's just accepted.
-
TreKing - Chicago transit tracking app for Android-powered devices
http
.
-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking
--
You received this message because you are subscribed to the Google
Groups Android Developers group
be
something like that) to get an InputStream. Write out what you're getting
from the stream to the log to make sure the reading is successful before
trying to show it in the TextView.
-
TreKing - Chicago
- width / 2, center.y
- height / 2,
center.x + width / 2, center.y + height / 2);
drawable.draw(canvas);
}
}
}
---
On Nov 12, 10:57 pm, TreKing treking...@gmail.com wrote:
Yeah, it's better than a force-close, that's for sure
meaningless as far as I know.
It's just for the use to read. You can set this v1.your-mom and it won't
make any difference. Only the versionCode matters.
-
TreKing - Chicago transit tracking app for Android
-CN/reference/android/widget/EditText.html#getText()
-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking
--
You received this message
You're trying to reposition your view right after inflating them ... ?
Why not just set them up in XML the way you actually want them to begin with
...?
-
TreKing - Chicago transit tracking app
to the SD what you need as you need
it. Will the user really need a couple of hundred images at any given
time?
-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com
if they're large images that will take some time.
-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking
--
You received this message because
added dynamically?
Override onSaveInstanceState and onRestoreInstanceState to save / restore
information about the dynamic views that need to be re-added.
-
TreKing - Chicago transit tracking app
();
-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking
--
You received this message because you are subscribed to the Google
Groups Android Developers group
is available in the LogCat window (assuming you're
using Eclise).
-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking
--
You received
.
-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group
On Thu, Jan 28, 2010 at 9:04 AM, Gautam Bisht gautambi...@gmail.com wrote:
Is there any way to get the image of the map displayed in MapView ??
Yes, take a screenshot.
-
TreKing - Chicago transit
Post the layout file you're using to do this.
-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking
--
You received this message
.
-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking
--
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
.
-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking
--
You received this message because you are subscribed to the Google
Groups Android Developers group
On Sun, Jan 31, 2010 at 9:24 AM, kumar bhavesh2...@gmail.com wrote:
i never test this application on real android phone.
can its given a problem in real phone.
What?
-
TreKing - Chicago transit
I've never had an issue with AlertDialogs in the emulator under any version.
Post the code you're using, you're probably just doing something wrong.
-
TreKing - Chicago transit tracking app for Android
in each search, so maybe try doing pub twice?
Like:
market://search?q=pub:1st Developer Name pub:2nd Developer Name
-
TreKing - Chicago transit tracking app for Android-powered devices
http
to the top.
Did you try setting the linear layout height to fill_parent? If it's
wrap_content it will shrink to fit the one button and it won't appear to be
centered vertically.
-
TreKing - Chicago transit
you need to based on the current zoom level.
-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking
--
You received this message because
acts like a re-install / upgrade like it
would from the Market. Also saves me the headache of losing all my own
personal data in the app (yes I use my own app).
-
TreKing - Chicago transit tracking app
marketplaces?
I have no idea what you're asking here. What are best practise benchmarks
?
-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps
.
-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking
--
You received this message because you are subscribed to the Google
Groups Android
.
-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking
--
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
through it.
-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking
--
You received this message because you are subscribed
.
-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking
--
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
?
-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post
in.
-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post
.
-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking
--
You received this message because you are subscribed to the Google
Groups Android Developers
://groups.google.com/group/android-developers?hl=en
--
-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking
--
You received this message
?
(android:id=@id/android:list)
-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking
--
You received this message because you are subscribed
() in your ListActivity's onCreate
method.
If you pass in the layout that contains the ListView with the specified ID,
it should use that.
If that's not working, something weird is going on.
-
TreKing
?
-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking
--
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
when the focus changes and can
update your overlays as necessary.
-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking
--
You received
to the layout using addView()? I have one
custom LinearLayout and this is what I do and it works fine. No need to
override onLayout() or onDraw(). Maybe try that?
-
TreKing - Chicago transit tracking app
your adding
to something that stands out (Pink, Green, et). See if anything shows up
that way.
This may help at least figuring out where you're going wrong.
-
TreKing - Chicago transit tracking app
someone runs into this every single day ...
-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking
--
You received this message because
?
-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group
.
-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking
--
You received this message because you are subscribed to the Google
Groups
the Drawable
being use for the marker.
-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking
--
You received this message because you
it, if not, don't.
-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking
--
You received this message because you are subscribed
.
-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android
.
-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send
...
-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email
that represent the min and max points of
the view. (center +/- (span / 2))
With that you can check if a given GeoPoint lies within that min and max.
-
TreKing - Chicago transit tracking app for Android
then and only then would you need to update your
list of items to draw.
-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking
--
You
.
-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group
you
placed in them automatically. If this is not the case you should elaborate
on how you're filling in this data and / or post some code.
Pls help me out Its very urgent..
I doubt that =P
-
TreKing
On Wed, Feb 10, 2010 at 6:00 PM, gallagth galla...@gmail.com wrote:
File file = new File(/sdcard/GPS Test/results/results.txt);
Are you certain this path exists on the SD card?
-
TreKing - Chicago
on the exception and you have to
Play it some more to actually get the exception stack trace.
-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site
On Fri, Feb 12, 2010 at 11:32 PM, MCON Dev mcon...@gmail.com wrote:
Should it be ArrayStrategy instead ?
Why?
-
TreKing - Chicago transit tracking app for Android-powered devices
http
use the same idea but using the OnFocusChangeListener on the
ItemizedOverlay to determine if a new item has been focuses or not.
-
TreKing - Chicago transit tracking app for Android-powered devices
http
--
-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group
-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking
--
You received this message because you are subscribed to the Google
Groups Android Developers
;
}
mapView.postInvalidateDelayed(6000);
Also, why are you doing this? Invalidate is used to force a re-draw ... why
would you do this in the draw method?
-
TreKing - Chicago transit tracking app
is still fast??
Don't know. Try it and see for yourself.
-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking
--
You received
1 - 100 of 8864 matches
Mail list logo