rote:
> On Fri, Feb 25, 2011 at 10:19 AM, Mark Nuetzmann
>
> wrote:
> > wow. ok, that explains it.
>
> > I cannot believe the flagship device for Moto would not be at least a
> > hires device.
>
> Why? The "flagship" tablet for Apple would be -mdpi i
wow. ok, that explains it.
I cannot believe the flagship device for Moto would not be at least a
hires device.
thank you.
On Feb 25, 8:59 am, Kostya Vasilyev wrote:
> This is correct, as the XOOM is not xhdpi.
>
> It's an -xlarge, -mdpi device.
>
> -- Kostya
>
&
Hi,
I have an app that has default drawables in the drawable folder. I
have both a drawable-hdpi and a drawable-xhdpi folder set up. When I
launch my app on the XOOM the device seems to be picking up the
default drawables and NOT the ones in the xhdpi folder. Has anyone
come across this? My ma
I am trying to get an app that currently runs just fine on hdpi and
lower devices to work on the new XOOM that has xhdpi. I have a png
image in my /drawable folder and a replacement in the /drawble-hdpi-v6
folder. On the XOOM, the version in the /drawable folder is getting
picked up. I tried cre
s.
thanks again Joseph
On Jul 25, 2:38 am, Zsolt Vasvari wrote:
> I am not sure if that's true. I need to add android:paddingRight="?
> android:attr/scrollbarSize", otherwise the scrollbar overlays the view
> for me.
>
> On Jul 25, 5:07 am, Mark Nuetzmann wrote:
>
I have been building all my apps against the 1.6 version of the SDK
until just recently when I switched to 2.2. I use ant to handle my
builds and a normal build time for one of my apps was about 30
seconds. Now that I am building with 2.2 (that is the only change) it
is taking over a minute to do
eference/android/view/View.html#attr_an...
> for more info.
>
> On Jul 24, 10:07 pm, Mark Nuetzmann wrote:
>
>
>
> > I am using android:fadeScrollbars="true" to show the scrollbar only
> > while scrolling. Works great. The only issue I seem to be having is
>
I am using android:fadeScrollbars="true" to show the scrollbar only
while scrolling. Works great. The only issue I seem to be having is
that the view still allocates the space on the right side to display
the scrollbar when I do scroll. I really wish this worked like iPhone
where the scrollbar a
tem is pressed.
>
> On Jul 24, 6:23 pm, Joseph Earl wrote:
>
>
>
> > Try moving your state_selected statement above your state_pressed item
> > and see if it works.
>
> > On Jul 24, 6:07 pm, Mark Nuetzmann wrote:
>
> > > I have a gallery that displ
I have a gallery that displays TextViews where the background of each
view is the following:
http://schemas.android.com/apk/res/android";>
This selector work just fine for the state_pressed and default (idle)
states, but the selected item state is never displayed. I REALLY do
no
To replicate:
1. Play any video with audio.
2. Put the device to sleep using the hard key (varies by device).
Audio for the selected video will start playing after a few seconds
while the
device is asleep.
I am calling VideoView.pause() in the onPause() of the activity and
VideoView.stopPlayback
I am experiencing a problem in 2.2 with the VideoView that has me
confused.
I have an activity with a VideoView and while viewing the video I hit
the RED phone key to force the device to sleep. In the onPause of the
activity I call pause() on the VideoView and in the onStop of the
activity I call
I am experiencing something similar that has me confused. I have an
activity with a VideoView as well. While viewing the video I hit the
HOME key or the RED phone key to force the device to sleep. In the
onPause of the activity I call pause() on the VideoView and in the
onStop of the activity I
I would like to either extend the existing Gallery view or create a
new view based on the code for the Gallery view that does not auto-
center the selected view. What would be the cleanest/simplest way to
go about this? It looks like all the methods of the Gallery view that
control the auto-cente
Sweet. That was easy, thank you.
On Feb 24, 11:35 am, schwiz wrote:
> have your activity implement onEditorActionListener then handle it in
> the methodonEditorAction.
>
> On Feb 24, 11:25 am, Mark Nuetzmann wrote:
>
>
>
> > So if you set android:imeOptions="
So if you set android:imeOptions="actionSearch" how do I intercept the
result of the clicking the action/search button on the virtual
keypad? How do I assign that result to a button in the layout of my
activity or in some way handle the click of this key?
My specific situation is I am in the Sear
int on the contents of the LinearLayout.
Regards,
Mark
On Feb 6, 12:15 pm, Mark Nuetzmann wrote:
> I have a LinearLayout that I set a background to a 9-patch drawable.
> It appears that the LinearLayout is somehow forcing its contents to
> display within the center space defined by its b
I have a LinearLayout that I set a background to a 9-patch drawable.
It appears that the LinearLayout is somehow forcing its contents to
display within the center space defined by its background. This is
really creating problems as the content is being "scrunched" or
compressed to a much smaller s
The Android settings activity does exactly what I want... By default
the text is WHITE and when the listitem is in a selected state the
text changes color to BLACK... How did you do that?
On Jan 21, 5:03 pm, Mark Nuetzmann wrote:
> I understand how to do that if all I wanted was to change
state drawables to achieve this.
>
> On Thu, Jan 21, 2010 at 2:47 PM, Mark Nuetzmann
>
>
>
>
>
> wrote:
> > no problem. so, how do I how do I simply change the color of the text
> > for a textview when the item is selected? I obvisouly cannot use a
> > focus
ask the ListView to repaint the items...
On Jan 21, 4:40 pm, Romain Guy wrote:
> It's easy: don't use focusableInTouchMode. Especially since ListView
> already is focusable in touch mode.
>
> On Thu, Jan 21, 2010 at 2:31 PM, Mark Nuetzmann
>
>
>
>
>
> wrote
I am completely confused as to how the focusable and
focusableInTouchMode are supposed to work. If I set
focusableInTouchMode="true" for the items in my ListView the
ItemClickListener is never called. Why?
I have the selector for the ListView set as a rect shape filled with a
solid color. As I
Hi,
I am trying to determine if the device is in airplanemode when my
activity starts. I did not see a setting that exposed this but did
see a way to set up a broadcast receiver to be notified. After coding
the receiver I never see my code getting loaded or called when I put
the device into and
I have a settings dialog/activity where I allow the user to change the
locale. Within that activity i call
Resources res = ctx.getResources();
// Change locale settings on the device
DisplayMetrics dm = res.getDisplayMetrics();
andr
}
> });
>
> Hope this would help,
> Sergey
>
> On Sat, Feb 7, 2009 at 12:07 AM, Mariano Kamp wrote:
>
> > Mark, maybe you should post some code?
>
> > On Thu, Feb 5, 2009 at 4:36 PM, Mark Nuetzmann
> > wrote:
>
> >> I have an Activ
respond to those events?
On Feb 5, 9:36 am, Mark Nuetzmann wrote:
> I have an Activity that has a WebView that contains some simple html
> that allows me to display a Terms & Conditions link that if touched or
> clicked calls another activity. My problem is unless the link in the
I have an Activity that has a WebView that contains some simple html
that allows me to display a Terms & Conditions link that if touched or
clicked calls another activity. My problem is unless the link in the
WebView has focus (ie, the text is wrapped with that little orange
focus) I cannot touch
mcswd01,
You also might take a look at using the onDestroy() event of the first/
main Activity. onDestroy for the main activity will only get called
if you hit back from that activity of call finish() for that
activity. I think this is what you are looking for.
On Jan 17, 10:13 am, mscwd01 wr
When I make a call to WebView.setWebViewClient and then call
WebView.loadUrl I am able to get a callback into the
shouldOverrideUrlLoading method of the WebViewClient. However, if I
make an additional call to WebView.loadUrl, I never again get a
callback into shouldOverrideUrlLoading. The WebVie
Question, is there a way to show that a WebView item contained as a
item in a ListView is selected? Right now the WebView does not seem
to display its contents transparently like every other control so it
takes up the entire view and does not show its state as selected.
Also, when the content of
er called.
Any ideas. I assume it is a problem with the ListView but I am not
sure
thanks, Mark
On Feb 2, 2:28 pm, Mark Nuetzmann wrote:
> Yes. thank you.
>
> For others, here is the code that I am currently using that appears to
> work.
>
> WebView web = (We
return true;
}
});
On Feb 2, 1:28 pm, Mark Murphy wrote:
> Mark Nuetzmann wrote:
> > I want toextendtheWebViewso that I can override the action of
> > clicking on a link in thewebview.
>
> You want to set a WebViewClient on theWebView, where in
return true;
}
});
On Feb 2, 1:28 pm, Mark Murphy wrote:
> Mark Nuetzmann wrote:
> > I want to extend the WebView so that I can override the action of
> > clicking on a link in the webview.
>
> You want to set a WebViewClient on the WebV
Feb 2, 1:28 pm, Mark Murphy wrote:
> Mark Nuetzmann wrote:
> > I want to extend the WebView so that I can override the action of
> > clicking on a link in the webview.
>
> You want to set a WebViewClient on the WebView, where in the
> WebViewClient you put your logic in shouldO
I want to extend the WebView so that I can override the action of
clicking on a link in the webview. At first glance I do not see how
to do this. I tried adding an onclick handler to the WebView and that
had absolutely no effect. I am not seeing very much info on extending
the WebView control a
advise you to always uninstall your app before reinstalling,
> otherwise you'll run out of device memory and would have to do the
> "double shutdown" or "battery pull" trick to get it back.
>
> Cheers
>
> On Wed, Jan 28, 2009 at 9:22 PM, Mark Nuetzmann
&g
I have a simple webview client that gets the content from a url and
loads it into the WebView. When the activity starts and the first
data is loaded into the WebView it works beautifully. I can click the
href of the image returned in the url data and the WebView launches
the browser just fine.
I have been debugging my app for weeks now on both the emulator and
device. All of a sudden I am getting the following error when I try
to debug.
Failed to upload myapp.apk on 'HT841GZ03224': Too many open files
I figure I could simply uninstall the app and try again but is there a
quicker fix?
This is weird... It didn't work all day yesterday, but I just looked
at it and it is now both truncating and ellipsizing correctly. I am
using the singleLine="true" on the TextView.
On Jan 27, 1:53 pm, Mark Nuetzmann wrote:
> darn, that didn't work either.
>
>
darn, that didn't work either.
On Jan 27, 1:28 pm, James Yum wrote:
> Hi Mark,
>
> Try android:singleLine="true" instead of android:maxLines="1"
>
> Cheers,
> James
>
> On Mon, Jan 26, 2009 at 7:48 PM, Mark Nuetzmann
>
> wrote:
>
&
just tried that. no change. Still does not display the "...", just
truncates the text.
On Jan 26, 6:15 pm, Romain Guy wrote:
> Try changing the TextView's width from wrap_content to 0dip.
>
> On Mon, Jan 26, 2009 at 4:13 PM, Mark Nuetzmann
>
>
>
> wrot
I am using the following to create a layout that is inflated and used
in a ListView. The text in the first TextView gets truncated but I do
not get the "..." added as I expected. What do I not have set
correctly? Or is this a known problem...
http://schemas.android.com/apk/res/android";
So in the mean time is there anything we can do (other than setting
our theme to Dark) to get this to work?
Is there a way to set the theme of the AlertDialog Builder?
On Jan 21, 5:28 pm, Mark Nuetzmann wrote:
> We found a bug in Android
>
> Our theme for the Application w
We found a bug in Android
Our theme for the Application was set to android:theme="@android:style/
Theme.Light" .
Setting the theme back to dark and our text now displays...
Dear Google Developers,
Please fix this if you have not already.
thank you.
On Jan 21, 10:55 am, Mark
'adb logcat' to retrieve the system log on the phone.
> And if you keep it running you can get your logging messages there.
>
> b
>
> On Sun, Dec 21, 2008 at 2:39 PM, Mark Nuetzmann
>
> wrote:
>
> > bump
>
> > On Dec 19, 9:12 am, Mark wrote:
>
There was a similar post to this but used an activity and I am using a
dialog. This is real simple code and it works int he APIDemo (which
is where I pulled the code from to begin with).
The dialog display just fine with the correct number of radio buttons,
but the text for the buttons does not
>
> > What exception are you getting? Are you running this code withing a
> > handler thread?
>
> > On Jan 17, 10:12 pm, Mark Nuetzmann wrote:
> >> ok, this should be super simple but it is proving difficult.
>
> >> In my original layout xml
I am using the following drawable to draw a line
http://schemas.android.com/apk/res/android";
android:shape="line">
displayed in the layout using,
I pulled this from some example code... a couple questions
1. what does the android:height="5dp" mean? If
ok, this should be super simple but it is proving difficult.
In my original layout xml I have 2 buttons that I want to take up
equal space in a LinearLayout
bump...
How do I implement the concept of a central repository for my
applications without forcing the install of a separate repository app
to supply the Content Providers?
thanks,
Mark
On Dec 19, 7:52 pm, "Dianne Hackborn" wrote:
> It's there for completeness but very few things I know of us
bump
On Dec 19, 9:12 am, Mark wrote:
> I am also interested in this. I would like to know if there is a way
> to have my application send UPD messages to my laptop/desktop when
> connected through the USB cable. I have done this with great success
> in my Windows Mobile applications. I have a
We are trying to build an Android version of our app that current runs
on WM and I am wondering how we might support upgrades to the app
OTA. Currently we can SMS our WM apps with a url that is the link to
the CAB file. WM is able to download the CAB and run it which will
upgrade the software.
52 matches
Mail list logo