Actually, I'm probably experiencing this bug, my test app behaves
exactly as described:
http://code.google.com/p/android/issues/detail?id=2373#makechanges
does anyone else see this behavior?
Thanks
On Dec 2, 8:16 pm, Mark Wyszomierski wrote:
> I may just be misinterpreting what I&
if
> you click it with the trackball press, no keyboard. Although I'm not sure
> why a user would need to do that?
>
>
>
> On Wed, Dec 2, 2009 at 6:35 PM, Mark Wyszomierski wrote:
> > Hi Steve,
>
> > Thanks for taking a look - maybe I haven't set a pa
to
> setOnClickListener. Not 100% that I remember why I had to do that :)
> but in any case the soft keyboard will open when you click or touch
> the edit text, and also you can track all of its keystrokes. And I
> can track when the edit text is clicked.
>
> On Dec 2, 11:46
ying to restart from the last-
paused activity - and if on Activity A, there is no previous activity,
so it just gets restarted itself. Is this correct? Sorry for the
confusion,
Thanks
On Dec 2, 10:27 am, Mark Wyszomierski wrote:
> I don't know if it's monkey or not - it looks like i
way to check if the keypad is really visible?
Thanks
On Nov 30, 1:35 am, Mark Wyszomierski wrote:
> Hi,
>
> I have an EditText. If I set an OnClickListener for it, theimekeypad
> doesn't appear when I click it (using the trackball on the G1):
>
>
I've been working with the location providers lately, I haven't seen
this behavior. When I deregister my listeners, the GPS icon goes away,
I haven't seen it stick around.
Even one minute intervals for GPS seems like a lot for me - I'm
guessing users won't be able to move fast enough in one minute
SDK
updates). Thanks for your help.
On Dec 1, 8:38 pm, Dianne Hackborn wrote:
> Monkey may be doing odd things. Tasks are matched by intent, so if you
> build different intents you will be launching different tasks.
>
> On Tue, Dec 1, 2009 at 5:33 PM, Mark Wyszomierski wrote:
>
x27;t know what you are doing. If you try one of the sample apps like
> ApiDemos you will see this works fine.
>
> On Tue, Dec 1, 2009 at 4:18 PM, Mark Wyszomierski wrote:
> > Hi Dianne,
>
> > The default behavior is what I'm going for - but I'm just not seei
pm, Dianne Hackborn wrote:
> On Tue, Dec 1, 2009 at 1:46 PM, Mark Wyszomierski wrote:
> > I guess I'm not understanding the default process creation method.
>
> Fwiw, what we are talking about has absolutely nothing to do with processes.
> Please make sure you read this sta
n say is -- just making the first activity singleTask
> is not going to cause this, so there must be something else going on. For
> example, making other activities besides the root singleTask, or setting
> various flags that cause activities to clear, or setting various manifest
> attrib
Hi,
I'm trying to listen for the back key when an EditText has focus on
the IME soft keypad is displayed.
In 1.5, I can add an OnKeyListener to my EditText, and it will get
notified if the back key is pressed.
No notifications get sent in 2.0. I also don't see any notifications
coming through th
Hi,
I'm trying to control my app such that there's only one instance of it
on the system at any time. I know the definition of an application is
flexible, but this is what I'm going for:
-Main entry-point activity:
launchMode="singleTask"
alwaysRetainTaskState="true"
-Other activities cr
I'm seeing the same behavior. Going back to the home screen, then
returning to the process clears everything back to the root.
On Nov 16, 12:42 am, pink 444 wrote:
> Hi all,
>
> I have a task,which is created when an activity with
> "singleTask" launch mode is activated.
>
> I adde
Hi,
I'm running the monkey test tool. Every once in a while, I'll get an
exception (follows), but I'm not sure how to interpret it as the stack
trace doesn't point to any line of my app code. I do notice that this
error usually happens when one of my EditTexts have input, and the
system has change
Hi,
I have an EditText. If I set an OnClickListener for it, the ime keypad
doesn't appear when I click it (using the trackball on the G1):
EditText edit = new EditText(context);
edit.setOnClickListener(new OnClickListener() {
public void onClick(View v) {
// ime keypad won't a
Hi,
Does anyone else experience a longer load time for activities derived
from MapActivity vs Activity? In my situation, I have an activity that
can display info in either a list or map format. So my activity looks
like:
public class MyActivity extends MapActivity {
private MapView mMa
Not sure if it's the best way, but you can use padding to position
elements in an absolute way. I think AbsoluteLayout is deprecated now,
but you used to be able to use that to do what you want.
On Nov 27, 8:01 pm, babu wrote:
> Hi,
>
> How do I set the location of buttons/other views programmati
Hi,
I'm launching google maps via an intent. If I supply a lat,lon, no pin
will be displayed on the map. If I supply an address, a pin will
appear. Is there a way to explicitly tell google maps to add a pin,
and what text to put on it?
// lat, lon, no pin.
Intent intent = new Intent(Inten
n ID?
>
> > > > > > > Thanks!
>
> > > > > > > On Nov 24, 11:27 am, Romain Guy wrote:
> > > > > > >> This would happen if you have several views of different type
> > with the
> > > > > &g
ATE as valid input. It checks for if
> > (savedState != BaseSavedState.EMPTY_STATE) then throw exception ...
>
> > For me it went wrong because 'savedState' is no longer the actual
> > BaseSavedState.EMPTY_STATE instance but a de-serialized copy of it
> > (a
Hi,
I'm testing how my app behaves when killed by the OS due to low memory
conditions. I always have three activities on the stack, like:
A B C (then C launches maps or some other heavy process)
when my app is killed, and I return to it, C starts itself up again
ok. When I hit the back but
reate()
method called, whatever I saved in onSaveInstanceState() will be there
for me,
Thanks
On Nov 23, 8:14 pm, Mark Wyszomierski wrote:
> Ok, yes this is what I'm seeing. Looks like:
>
> MyActivity: startIntent(maps);
> .. logcat says low memory ..
> System maps intent st
ched them there)?
Thanks
On Nov 23, 7:48 pm, Mark Murphy wrote:
> Mark Wyszomierski wrote:
> > If I follow the lifecycle docs correctly, an Activity won't get
> > notified if it's force killed for memory?
>
> Correct. In a true "force kill" scenario, An
Hi,
If I follow the lifecycle docs correctly, an Activity won't get
notified if it's force killed for memory? Example: In my app, I create
a maps driving intent. I can see in the log output say something like:
I/ActivityManager( 76): Low Memory: No more background processes
When the user re
7;t seen this go above 5mb.
Thanks
On Nov 23, 1:10 pm, Mark Murphy wrote:
> Mark Wyszomierski wrote:
> > It's only causing a slight annoyance to the user. Although the UI
> > takes about 1.5 seconds to completely build, I am doing a staggered
> > load. This lets the user
ty. I like
keeping it separated too, just wish I could pause the app to resume it
later since I'm sure it's an Activity users will keep coming back to
while using the app.
Thanks
On Nov 23, 12:55 pm, Mark Murphy wrote:
> Mark Wyszomierski wrote:
> > If after its first constructio
Hi,
Is there a way to keep an Activity in memory after the user hits the
back button on it? Example:
ActivityMainMenu (entry point)
|
--- ActivitySearch
ActivitySearch is used frequently in my app, however after the user
starts it up, then hits the back button, it's destroyed, and th
Ok thanks, makes sense. What I was mostly worried about was having UI
elements modified while the activity is in the pause state (was
thinking maybe that could cause some sort of exception), but yes it
seems to run without issue,
Thanks
On Nov 22, 1:37 pm, Mark Murphy wrote:
> Mark Wyszomier
Hi,
I tried the following from an activity:
@Override
public void onPause() {
super.onPause();
postDelayed(new Runnable() { public void run() {
mTextView.setText("I am paused!");
}, 1);
}
The activity, while in the background, still executes the runnable. I
Ok this does work if you add the following to your activity definition
in the manifest file:
android:launchMode="singleTop"
Thanks
On Nov 21, 8:15 pm, Mark Wyszomierski wrote:
> Hi Mark,
>
> Here's the call:
>
> intent.setFlags(I
be missing something simple!
Thanks
On Nov 21, 8:07 pm, Mark Murphy wrote:
> Mark Wyszomierski wrote:
> > Hi,
>
> > I'd like to use FLAG_ACTIVITY_CLEAR_TOP to launch an activity in my
> > app. It has one feature I don't want though - it restarts the target
&g
Hi,
I'd like to use FLAG_ACTIVITY_CLEAR_TOP to launch an activity in my
app. It has one feature I don't want though - it restarts the target
intent, instead of just resuming it. Example history stack, with
activity D making the call to B with that flag:
A B C D
new stack
A B
but 'B' get
Hi,
Not sure if anyone else is experiencing this. My G1 will randomly
restart itself up to two times a day. Found this in DDMS as the
possible cause. I'm wondering if my app has anything to do with it,
but I doubt it since my app is usually closed or will have been idle
for hours when this happens
tered?
ScrollView is excellent, I want to avoid copying the source into my
project though!
Thanks again
On Nov 20, 4:59 pm, Romain Guy wrote:
> That would be a bug, please file :)
>
>
>
> On Fri, Nov 20, 2009 at 10:42 PM, Mark Wyszomierski wrote:
> > Actually another observatio
located. So for ScrollView (and
WebView) it looks like the view pops, while ListView seems to handle
this a little better. Maybe there's a way to override ScrollView to
have that same behavior? (without making a copy of the source code)
Thanks
On Nov 20, 4:28 pm, Mark Wyszomierski wrote:
> Hey R
ew). It is
> definitely not too high for use with a finger on a touch screen.
>
>
>
> On Fri, Nov 20, 2009 at 3:53 PM, Mark Wyszomierski wrote:
> > Well I got a clone of ScrollView to compile, turns out it's the
> > constant:
>
> > private static final int TO
e, I don't think there's a way to
tweak it (besides leaving my cloned version in my project, which is a
little scary)
Thanks
On Nov 20, 8:10 am, Mark Wyszomierski wrote:
> Hi Mark,
>
> Yeah I was thinking of doing this, I gave it a quick try but am
> probably copying the s
=703cd8e278b7e5771cbb9c8e2c10c69ae49590f6;hb=HEAD
but am not sure which version corresponds to the 1.5sdk which I'm
targeting. A quick try on a few of them led to unresolved inherited
member variables, so I'm thinking I'm not copying the correct version
for my SDK
Thanks
On Nov 20, 7:44 am, Mark Murphy wrote:
>
Hi,
Is there no way to change the timeout to scroll in ScrollView? In the
source, it's set to:
static final int ANIMATED_SCROLL_GAP = 250;
so any drags will be blocked for 250ms. This has the appearance of the
ScrollView being stuck for a bit before it moves. This makes small
scroll gestures
Thanks Jason, sounds good. Are you extending BaseAdapter for your
listview adapter? I thought it'd be a bit slow since every time getView
() is called, I have to do the re-setting of my row's ImageView, but
it's for the most part pretty smooth, just wondering how you find
performance in your case?
Hi,
I have a ListView, its rows each have an image downloaded from the net
in a separate thread.
When the image is done downloading, I notify my main thread, and need
to invalidate the corresponding row if it's on screen. I'm doing this:
// run on the main thread.
public void onThumbnailDownlo
Hi Yi,
If I understand correctly, does this just mean that a physical key may
not appear at all on different devices? For instance, I want to check
if the "z" key is pressed, so right now I check for:
keyCode == KeyEvent.KEYCODE_Z
if I understand correctly, KEYCODE_Z should be constant on all
ne of the views
> has focus.
>
>
>
>
>
> On Wed, Nov 18, 2009 at 8:49 AM, Mark Wyszomierski wrote:
> > Hi,
>
> > If we need to check if a particular key was pressed, is this the
> > correct way of doing it?:
>
> > public boolean onKey
Hi,
If we need to check if a particular key was pressed, is this the
correct way of doing it?:
public boolean onKey(View v, int keyCode, KeyEvent event) {
if (keyCode == KeyEvent.KEYCODE_O) {
alert("you pressed the 'o' key!");
}
else if (keyCode == KeyEvent.KEYCODE_R) {
Hi,
I have some ImageViews that download images from the net. While
they're loading, I'd like to show an empty frame image. I'm doing
this, which looks fine:
public class MyFrame extends Shape
{
private int mColorFrame;
private int mColorInner;
public DrawablePhotoLoading(int colorFrame,
Do you have a database already setup and are wondering how to use the
sqlite classes, or you don't have one setup yet? If you're starting
from scratch, I think the notepad tutorial shows you hot to setup
sqlite from the start:
http://developer.android.com/guide/tutorials/notepad/index.html
On No
arams(),
> 15000);
>
> On Nov 17, 1:46 pm, Mark Wyszomierski wrote:
>
>
>
> > Jonas, could you post your whole example? I'm on 1.5, same issue, the
> > timeout never kicks in.
>
> > Thanks
>
> > On Nov 2, 8:45 am, Jonas Alves wrote:
>
> >
Jonas, could you post your whole example? I'm on 1.5, same issue, the
timeout never kicks in.
Thanks
On Nov 2, 8:45 am, Jonas Alves wrote:
> It does work fine here.
>
> My target is 1.5. What's yours?
>
> On Nov 1, 3:28 pm, Andrei wrote:
>
>
>
> > Thank you
>
> > Firstly your code sets read/wri
d Market often failing, and other
> networking issues. I wonder why this doesn't seem to be more well known?
>
> Scott
> SoftwareForMe.com
> Makers of PhoneMyPC
>
>
>
>
>
> On Mon, Nov 16, 2009 at 3:12 PM, Mark Wyszomierski wrote:
> > I don't understan
ects
> immediately.
>
> This problem started around the time 1.6 was released.
>
> SoftwareForMe.com
> Makers of PhoneMyPC
>
> On Sun, Nov 15, 2009 at 10:33 AM, Mark Wyszomierski wrote:
>
>
>
>
>
> > How are you all getting around this issue? I am runnin
Hi,
I'm trying to create a file in my app folder - sometimes it fails -
other times it works fine - this is what I'm doing:
String path = "/data/data/com.myapp.test/files/database.sqlite"
OutputStream myOutput = new FileOutputStream(path);
sometimes the last line throws a FileNotFoundExceptio
Hi,
I wrote my own custom view (derived from View). How can I handle
painting of it when it becomes focused / selected? Can I just do this:
protected void onDraw(Canvas canvas) {
if (isSelected()) {
// draw my selected version
}
else {
// draw normal version
Hi,
I've seen a few posts on different forums about how to make a dialog
theme with a completely transparent background. I thought I'd post
this here in case anyone is searching for it. This works on 1.5
(device/emulator), 1.6 emulator, 2.0 emulator:
- [android-developers] Re: Multiple images using ACTION_VIEW
This would be great to know, unfortunately I cannot find any
information on it.
On Nov 13, 1:34 pm, Lukasz Mosdorf wrote:
> Hi,
>
> I have a folder on sd-card in which I keep photos edited in my
> application. Im trying to force deafult android image viewer to see
> all pictured in that folder. U
Hi,
I'd like to display a single image from the web. It'd be nice if it
could be zoomable and pan-able. I was thinking of just using a WebView
to do this:
webView = new WebView();
webView.loadUrl("mysite.com/mypicture.jpg");
but I can't force the webview to center the picture etc.
Is ther
there's an ID from the Telephony manager but
then you add to add another (scary) permission for that?
Thanks
On Nov 15, 8:23 pm, Mark Murphy wrote:
> Mark Wyszomierski wrote:
> > Ok I installed the apk straight from the link - I see the two blue
> > rects above (foo, bar), then
wrote:
> Mark Wyszomierski wrote:
> > Oh I'm running 1.5 too, but I think that should be fine.
>
> Grab this project:
>
> http://commonsware.com/misc/WeightDemo.zip
>
> or, here's an APK:
>
> http://commonsware.com/misc/WeightDemo-debug.apk
>
> Install
Oh I'm running 1.5 too, but I think that should be fine.
On Nov 15, 8:05 pm, Mark Wyszomierski wrote:
> Ok I just tried with my one and only activity, still returns null:
>
> class MyActivity extends Activity {
> private String mId;
>
> �...@override
>
in LogCat too
(with phone hooked up), same. I'm stumped!
On Nov 15, 7:52 pm, Mark Murphy wrote:
> Mark Wyszomierski wrote:
> > What does rooted mean?
>
> Having the ability to run as root, which is roughly the Linux equivalent
> to the Administrator account in Windows.
>
Nov 15, 7:47 pm, Mark Murphy wrote:
> Mark Wyszomierski wrote:
> > Following other threads - I'm trying to get a unique device ID from
> > the device. I tried this:
>
> > String ID = Settings.Secure.getString(context.getContentResolver(),
> > android.provider.Settin
Hi,
Following other threads - I'm trying to get a unique device ID from
the device. I tried this:
String ID = Settings.Secure.getString(context.getContentResolver(),
android.provider.Settings.Secure.ANDROID_ID);
but this returns null when running on my G1. Is it supposed to be
returning a vali
How are you all getting around this issue? I am running into it on
some phones given out as demos (G1s running 1.5). About 50% of the
time, my network requests will just hang for about two minutes, then
throw:
java.net.UnknownHostException: Host is unresolved: myapi.me.com:80
this looks embarr
I think you need to use:
ListView.setOnItemClickListener()
instead.
On Nov 14, 2:25 pm, lau ka man wrote:
> As I mentioned in the email subject,
> I want to select an item (e.g. Department of Human Resource Management) in
> my ListView.
> And you can see that:
> I had try to use
> setClickable
This is problem is probably related to this ListView bug:
http://code.google.com/p/android/issues/detail?id=4255#c2
On Nov 14, 1:07 pm, Mark Wyszomierski wrote:
> One more question on this - it seems like if we use a header or footer
> view - then our activity can not add any other
Ok this seems to be a bug unfortunately:
http://code.google.com/p/android/issues/detail?id=4255#c2
On Nov 14, 2:47 pm, Mark Wyszomierski wrote:
> Brady, did you come up with a work around for this? I'm having the
> same problem, and I can't come up with some sort of temporary fi
Brady, did you come up with a work around for this? I'm having the
same problem, and I can't come up with some sort of temporary fix for
it sadly.
On Oct 14, 5:10 pm, Brady wrote:
> Ok, I did some more sleuthing and this is definitely a bug.
>
> I modified the 1.5 SDK API demo Views > Lists > ex
the ListView. Normally
I could just use a header view instead, but is there an undocumented
rule in which we cannot add other views to our layout if using a
ListView with setItemsCanFocus=true?
Thanks
On Nov 13, 6:52 pm, Mark Wyszomierski wrote:
> Romain, thanks, that saved me.
>
> On
Romain, thanks, that saved me.
On Nov 13, 6:34 pm, Romain Guy wrote:
> When you add the footer to the listview you need to indicate it can
> receive
> focus:http://d.android.com/reference/android/widget/ListView.html#setItemsC...)
>
>
>
>
>
> On Fri, Nov 13, 2009 at
e some way of doing that for a better user experience,
or do users just have to touch with their finger?
Thanks
On Nov 13, 6:13 pm, Romain Guy wrote:
> Don't use a ScrollView, it won't work. Add footers to your ListView.
>
>
>
>
>
> On Fri, Nov 13, 2009 at
Hi,
Is there a way to create a layout with a ListView set to use full
height, then some additional panels? Something like this:
Basically I'd like to keep the ListView at a height which contains all
its children views, then some static widgets
Hi,
I have to make a pretty complex activity layout, which needs to scroll
vertically. It is composed into row sections, which are focusable
rows. Some rows may not be focusable themselves, but have internal
focusable items, like this:
// This whole row gets highlighted and focusable.
Actually the class of interest is here:
http://code.google.com/p/android-textview-multiline-ellipse/source/browse/trunk/TextViewMultilineEllipse.java
On Nov 12, 11:44 pm, Mark Wyszomierski wrote:
> Ok, I put the class up here:
>
> http://code.google.com/p/android-textview-multilin
line +
ellipsis TextView-like control. It seems to work ok in general cases,
if anyone wants to give it a shot and report bugs or suggestions that
would be great,
Thanks
On Nov 12, 7:23 pm, Mark Murphy wrote:
> Mark Wyszomierski wrote:
> > I created a multiline textview widget which handles
Hi,
I created a multiline textview widget which handles ellipsizing - is
it appropriate to post it here in this forum for feedback, or is there
an android site dedicated for custom widgets in the community?
Thanks
--
You received this message because you are subscribed to the Google
Groups "And
g,
Thanks
On Oct 21, 11:40 am, Mark Wyszomierski wrote:
> Ha that's the same exact control I'm looking to create, multiline and
> if it spills over three vertical lines, replace the last few
> characters with anellipsisand "More" text - the user clicks that and
>
Hi,
When I touch an EditText, the soft keyboard comes up, but it pushes my
layout up a bit. So there's about a second delay where I see the
keyboard modifying my layout, it's a bit jarring.
Is there a way to have the soft keyboard either:
1) Appear above my current layout (like in a Frame) so
Hi,
I need to find out how wide a button with particular text will be
before displaying a layout. Is this a valid way of doing it behind the
scenes?:
LinearLayout lll = new LinearLayout(getContext());
Button btn = new Button());
btn.setText("wonderful!");
lll.addView(tvs);
lll.measure(1
State(View.PRESSED_ENABLED_STATE_SET, pressed);
setBackgroundDrawable(bg);
is there some other set of flags I should be using instead, which
differentiates between 'really' being pressed, and just pressed for
scrolling?
Thanks
On Nov 9, 10:45 am, Mark Wyszomierski wrote:
> Hi,
>
> Is there a way
Hi,
Is there a way to make highlighting of a row in a listview delayed if
the user is simply scrolling the list with their finger?
To clarify, when the user puts their finger down to scroll, the
intersected row (if any) gets highlighted for a short moment, before
it realizes the user is just tryi
@Chris, I can't even get the simple TextView example you posted to
ellipsize - I just immediately get a stack overflow exception. If I
get rid of "singleLine=true", then at least it doesn't crash, however
the ellipsize won't be there! This is the only way I can get ANY
ellipsis to appear - by suppl
Hi,
I'm trying to make a horizontal layout with two TextViews, one should
take up 40% of available width, the other 60%. This works unless the
text is longer than available space, then a stack overflow exception
is thrown. Pasting this into an empty 1.5 project xml file should
cause it (though thi
:layout_weight="1"
> > android:text="preview" />
>
> > > android:layout_width="0dip"
> > android:layout_height="fill_parent"
> > android:layout_weight="1"
> >
Hi,
Is there any style I can set which will make a set of buttons the same
width (without specifying an explicit size in pixels)? For example:
is there a way to make the two buttons the same width, even though
they may have different text? Right now I'm measuring the larger one
via
hanks
On Nov 5, 10:09 am, Mark Murphy wrote:
> Mark Wyszomierski wrote:
> > I have a WebView inside my app. It looks like an html link which wants
> > to open a page in a new frame actually pushes my app to the background
> > and opens the system web browser to show the n
Hi,
Is there a way to clear our Activity stack? For example, a user in my
app progresses through these activities, one is launched from the
previous activity:
ActivityA ->
ActivityB ->
ActivityC
if the user is now looking at ActivityC, and they hit the back button,
they will go back to Activi
Hi,
I have a textview, I'd like it to use a font size of 14, but if it's
too wide to fit its parent container at that size, then choose a
smaller font size to fit. Looks like this:
Is there a built in way to do this? Or do I have to somehow measure
the text before hand and choose a font si
f your database.
>
> 2009/10/31 Mark Wyszomierski :
>
>
>
> > Hi Mark,
>
> > Yeah I think I need to write it to a local file, SQLiteDatabase has
> > constructors which only read from a file path, or File instance.
>
> > I'm wondering though if I c
-t115.html
I've added the sqlite file to my raw folder, it appears in my .R file,
however eclipse intellisense cannot resolve it when I type
R.raw.mydatabase - odd -
Thanks
On Oct 31, 7:42 am, Mark Murphy wrote:
> Mark Wyszomierski wrote:
> > I have some external sqlite files I'd
Hi,
I have some external sqlite files I'd like to include with my app. It
looks like I can add them to the /assets folder, then read them from
there? Is the /assets folder the appropriate location for them?
I've used SQLiteOpenHelper to open databases my app creates at
runtime, which just uses a
e-apis/reference/com/goog...)
>
> On Oct 28, 2:04 pm, Mark Wyszomierski wrote:
>
>
>
> > Hi,
>
> > I'm seeing some strange behavior with MapView -
>
> > sometimes when I display the map, I'll get a small circle drawn in the
> > center of the map - i
Hi,
I'm seeing some strange behavior with MapView -
sometimes when I display the map, I'll get a small circle drawn in the
center of the map - it is just stroked black. As soon as I tap
anywhere in the map, it disappears. This happens about 20% of the time
I display the map. I don't have any ove
Hi,
I'm using a MapView, with the default zoom controls. Is there any way
to listen for zoom events? I tried this:
android.widget.ZoomButtonsController zzz =
mMapView.getZoomButtonsController();
but eclipse can't seem to resolve ZoomButtonsController?
Thanks
--~--~-~--~~-
This call still returns null when running on a real device:
String androidId = Settings.Secure.getString
(context.getContentResolver(),
android.provider.Settings.Secure.ANDROID_ID);
do we need to add some sort of permission setting to read system
settings?
Thanks
On Oct 26, 4:26 pm, Mark
Thanks again Mark, you're right, this is what I changed it to:
String androidId = Settings.Secure.getString
(context.getContentResolver(),
android.provider.Settings.Secure.ANDROID_ID);
Thanks
On Oct 26, 4:08 pm, "Mark Murphy" wrote:
> > Thanks Mark, I set this once in a global Config class:
Thanks Mark, I set this once in a global Config class:
public static final boolean IS_EMULATOR =
android.provider.Settings.Secure.ANDROID_ID == null;
For the maps, yeah I'll have to just create the MapView instance
through code, you can pass the key in through the constructor, I guess
that sho
Hi,
Is there a way to check if our code is running in the emulator vs a
real device?
I'm using a MapView which requires a signing key. I'm using the
signature of the eclipse debug key when running on the emulator, but
this won't work when I build a release version. I think I need to have
a check
Hi,
I want to draw 20 pins on a MapActivity. Each pin has a small pin
image, but I have to dynamically overlay a small bit of text over each
pin at runtime. Looks like I have two options:
#1) Itemized Overlay
This is the suggested method. I put all my pins in one ItemizedOverlay
object, and that
Hi,
I've added a few pin overlays to a MapView. Is there a way to have the
MapView center and zoom itself so it automatically fits all overlays
on-screen?
I'm following the hello world map sample exactly - just need a way to
make sure all pins are on screen when the map actually gets displayed:
The docs for the tweening animation package doesn't say whether the
animations are done through software or hardware - are they just all
software based? This may be why I'm seeing it run slowly?
Thanks
On Oct 22, 11:19 am, Mark Wyszomierski wrote:
> Hi,
>
> I'm tr
Hi,
I'm trying to perform a simple animation, but it seems quite choppy.
This is it:
Animation anim = new TranslateAnimation(0,0,-50,0);
anim.setDuration(500);
anim.setInterpolator(new LinearInterpolator());
myLinearLayout.setAnimation(anim);
the animation does what it's supposed to do,
201 - 300 of 361 matches
Mail list logo