try using setTheme for the context in the AlertDialog.Builder(Context
context)
-Dan
On Mon, Mar 16, 2009 at 5:58 AM, Rafael Bocaletto Maiolla
rafaelmaio...@gmail.com wrote:
Hi,
Is there a way to change the Alert Dialog style, like background and
font color using something like
?xml
Button inherits from Textview .. and Textview has the ability to set
drawables/images on left or bottom or right or left ..
Check this
Thanks, I suspected as much. :(
--~--~-~--~~~---~--~~
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
They are in the same application. The Service is started by the
AlarmManager, so I'm not sure about what you mean by the same 'Dalvik
process'.
I'm also not sure of what you mean by sent(d?)Intent?
Thanks a lot!
BoD
On Mar 16, 2:49 pm, Kenny yxw...@gmail.com wrote:
Besides sendBroadcast( ),
Join the unhappy club. From what I can see, and my own experiences,
there is NO reason at all to offer free ANYTHING on the market, as it
all just swirls down the drain and is useless for driving future
sales, no matter how many times it was downloaded. Live and learn...
On Mar 16, 10:53 am,
Has anyone got an example of how to write a ContentProvider that gets
its data from somewhere other than a SQLLite database?
Mine is half working, in so much as I can retrieve the requested data
and apparently populate a MatrixCursor, but I can't figure out what
I'm supposed to do with the
We are planning to move to a model where most of the apps are built
against the SDK. Unfortunately, we're not quite there yet.
I expect to release a better camera sample application in the next
SDK. This one will be buildable against the SDK.
On Mar 16, 8:59 am, Hans hkess...@gmail.com wrote:
In a couple of places in my application I format the date to send with
a GET request to an external API. Most of the time this works
excellently, but 1 out of a 1000 times this fails and crashes my
application/service.
Here is the output the debugger gives me:
Uncaught handler: thread Thread-9
Hi,
Is there a way to use a List View with setTextFilterEnabled(true) and
get the position into the unfiltered list returned to onItemClick?
E.G.
If I have a list:-
- Zero
- One
- Two
- Three
And a user types T o filter the list to:-
- Two
- Three
When a user clicks on Two in the
Thank you.
How does android determine how many items in the gallery should be
moved (either left or right) in 1 fling?
On Thu, Mar 12, 2009 at 8:17 PM, gymshoe gyms...@bresnan.net wrote:
The fling animation is automatic with the Gallery class. If you need
your own (new) widget class, just
Having the camera app create thumbs when a photo is taken is great,
but another common scenario has been left unanswered. What happens
when the user inserts (or copies) images to the SD card?
I've found that unless the Pictures app is run, no thumbs have been
generated for the images on the SD
MediaPlayer keeps playing after I answer a call using my app. I was
assuming that I was responsible for pausing it and was planning to figure
out how this might be done (like, which intent I am listening for). Is the
MP supposed to just pause automatically?
i++
On Mon, Mar 16, 2009 at 4:08 PM,
A MediaPlayer object will not pause when a call comes in. You'll have
to do that yourself.
The original poster was talking about switching the screen to
MediaPlayer, so I assumed he was talking about the 'Music'
application, which *does* pause.
On Mon, Mar 16, 2009 at 1:35 PM, Jason Van Anden
Thanks for clearing that up.
i++
On Mon, Mar 16, 2009 at 4:42 PM, Marco Nelissen marc...@android.com wrote:
A MediaPlayer object will not pause when a call comes in. You'll have
to do that yourself.
The original poster was talking about switching the screen to
MediaPlayer, so I assumed he
On Mon, Mar 16, 2009 at 12:34 AM, Kenny yxw...@gmail.com wrote:
Not helping you, but I wonder what keystore is for? where to get some
docs? thank you very much,
http://developer.android.com/guide/publishing/app-signing.html
On Mar 14, 5:18 am, linkmaster_6 linkmast...@gmail.com wrote:
No idea? I'm really lost in this.
On Mon, Mar 16, 2009 at 8:58 AM, Ivan Soto ivanso...@gmail.com wrote:
HI,
I've been waiting patiently to get paid applications on my phone with I had
no luck. The thing is I have a white G1 in Canada (Fido) and I did the
update manually loading the
With the usual I'm not a lawyer disclaimer applied, I'd think yes as
long as you comply with the EPL and thus redistribute that part using
the EPL. However you'd have to carefully choose your wording to make
it clear this is not the original plugin distributed by Google.
There's a FAQ here that
I wrote one that goes out to the internet and fetches data.
In my code, I use the 'String[] projections' to create my own Cursor
implementation. I make a subclass of 'Cursor', an instance of which
will be returned by my ContentProvider's query method. The constructor
of this Cursor-subclass
In a theme of your own override the android:alertDialogStyle style to
point to the style you want.
http://developer.android.com/reference/android/R.styleable.html#AlertDialog
The link above contains the attributes that are stylable about an
Alert Dialog.
To change the fonts you will have to
On Sun, Mar 15, 2009 at 7:51 AM, Lucky-dog honglian...@gmail.com wrote:
it failed that i try to get android.R.attr.minSdkVersion. Would you
like to let me know how to get SDK version in my application code?
PackageManager pm = getPackageManager();
PackageInfo pi =
When your second activity is running, your first one is most likely stopped.
What are you trying to achieve? There might be other ways to achieve
it, e.g. using a service or collecting data and passing it back to the
first activity.
R/
On Sun, Mar 15, 2009 at 4:31 AM, mateen abmat...@gmail.com
In the InputMethodManager class, there seems to be a method
showSoftInput(view) @param view: The currently focused view, which
would like to receive soft keyboard input. I have tried calling this
as follows:
InputMethodManager imm = (InputMethodManager)
On Mon, Mar 16, 2009 at 9:50 AM, dan raaka danra...@gmail.com wrote:
Button inherits from Textview .. and Textview has the ability to set
drawables/images on left or bottom or right or left ..
Check this setCompoundDrawablesWithIntrinsicBounds(Drawable left, Drawable
top, Drawable right,
Somewhat surprisingly, I notice that users leave more vicious comments
on free apps compared to the paid ones.
Of course, there are a lot more ratings and comments on free apps to
begin with.
Inder
On Mon, Mar 16, 2009 at 10:12 AM, Sundog sunns...@gmail.com wrote:
Join the unhappy club. From
I'm writing a custom widget in which I need to control the child
drawing order. My control extends AbsoluteLayout. I can see that
getChildDrawingOrder is overrideable. The following note is in the
javadocs for this method:
NOTE: In order for this method to be called, the
I am splitting my app into a free lite version and a nonfree pro
version. I am curious whether it is required that I use a different
string for android:label in the manifest for the two apps. Does the
Market take this into account or otherwise care at all about this?
The reason it would be
Can you show the code?
It sounds like the GET isn't relevant. Is your code in its own thread?
If so is it synchronised?
You should be able to write a test which iterates 1000 times just
performing the format, and catch it.
--
Android Academy http://www.androidacademy.com
On Mar 16, 6:31 pm,
This is unfortunately not a public API.
On Mon, Mar 16, 2009 at 3:39 PM, drasticp drast...@gmail.com wrote:
I'm writing a custom widget in which I need to control the child
drawing order. My control extends AbsoluteLayout. I can see that
getChildDrawingOrder is overrideable. The following
Yeah, the code is in its own thread. It's in a class that is
instantiated in the thread. I tried added synchronized to the method
that generates the date, and so far I haven't seen it crash at all.
Will try with a loop as well. I am still a bit new to the whole Java
thing.
On Mar 16, 6:42 pm,
I think that's because most of the paying customers are grown ups (and
hence the more reserved language) and the free users are kids.
I've seen a few I wish I had a credit card to buy this comments from
the latter. I don't think there are any grown ups who don't own one.
Cheers
On Tue, Mar 17,
I'm not 100% sure but if my understanding of how Android Market works
is correct, what you may want to do is keep the same package (aka.
signature) for your paid app as the package that you had before, with
the comments and ratings, and make a *new* package for the free app.,
and the new free app
SimpleDateFormat is known to not be thread-safe, and it's instances
must be either unique to each thread or otherwise be synchronized.
happened to me a while back.
serge
On Mar 16, 7:15 pm, Torgny torgny.bj...@gmail.com wrote:
Yeah, the code is in its own thread. It's in a class that is
I don't *think* that's possible. Assuming the signature/package is
tied to the market app, there is no way to convert a previously free
app to a paid app. A brand new app must be installed instead, if I've
understood thing so far. I think a new app must have a new package
and an old app can't
On Mon, Mar 16, 2009 at 1:20 PM, todd tdonahue...@gmail.com wrote:
Having the camera app create thumbs when a photo is taken is great,
but another common scenario has been left unanswered. What happens
when the user inserts (or copies) images to the SD card?
I believe that the camera app or
On Mar 15, 10:15 pm, micah craig mi...@micahcraig.net wrote:
Here is my complete error output:
03-16 04:47:44.411: WARN/dalvikvm(628): VFY: unable to resolve virtual
method 140: Lorg/apache/commons/digester/Digester;.setValidating (Z)V
03-16 04:47:44.421: WARN/dalvikvm(628): VFY: rejecting
We have a number of issues with metadata that need to be sorted out.
Unfortunately, it will have to wait until the next major release.
Unless I'm mistaken, micro-thumbnails are generated by the music
player for album art. This is just an optimization to improve list
flinging operations in the
I am trying to understand how Gallery implements it fling behaviour.
I appreciate if someone can help me understand
1. why it needs special handing for ACTION_UP and ACTION_CANCEL?
2. why it does not check the retValue before calling UP/CANCEL's handling?
3. what does onUp() trying to do? Why it
Hey friend,
How are you doing recently? I'd like to introduce you a very good
foreign trading online company and the website is www.elecbtob.com/
It can offer you so many kinds of electronic products which you may be in
need,such as laptops,,GPS, TV, Cell Phones, Xbox 360, Sony PSP,Sony
No...Sir... I have 8 Image button... The thumbnails are stored in
Integer array... and hight and width of thumbnails are different... that
is Each thumbnails have different size How can i resize like (80x60)
of all thumbnails that are stored in array before displaying in Image
Button...
Wondering if we have few buttons on a LinearLayout, is it possible to
set focus to a button programmatically?
Please advice.
Thanks,
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To
Yes, you should be able to use button.requestFocus();
On Mar 17, 1:19 pm, Zia zia.cha...@gmail.com wrote:
Wondering if we have few buttons on a LinearLayout, is it possible to
set focus to a button programmatically?
Please advice.
Thanks,
Hi,
In my app i want to use the cookie value which is set when user open
my website in android phone browser.
Is it possible to read value of cookie which is set by browser of my
android phone??
Thnx
--~--~-~--~~~---~--~~
You received this message because you are
On Mon, Mar 16, 2009 at 3:42 PM, Keith Wiley kbwi...@gmail.com wrote:
The reason it would be nice to leave it the same for both is that my
understanding is, this is the string used for other apps to
communicate to my app through intents.
It's not; the label is just shown to the user.
You
If you are going to use new features before these is an SDK, you will want
to read through the source code java docs and the code itself to figure out
what you want to do. In this case WindowManager.LayoutParams has new
options for controlling the input method, View has new methods, and the
Hi I am trying to actually simulate a vibrator device inside the
emulator .A timed_output driver for the vibrator was created and i am
able to access the node at /sys/class/timed_output/vibrator/enable
that is specified as THE_DEVICE in the vibrator.c file at hardware/
libhardware/vibrator/.The
Are you on a Mac? Just want to know if this is only a Mac issue.
On Fri, Feb 20, 2009 at 11:49 AM, todd tdonahue...@gmail.com wrote:
This happens to me occasionally and is a bit annoying. I too just
close the emulator instance and start it again. That works most of the
time, although I've
Thanks
On Thu, Feb 5, 2009 at 7:00 PM, Dianne Hackborn hack...@android.com wrote:
TextUtils.concat().
On Thu, Feb 5, 2009 at 4:20 PM, Ivan Soto ivanso...@gmail.com wrote:
Is it possible to merge spannables?
like
Spannable spa = null;
spa = Html.fromHtml(text text b asds/b);
spa = spa
Thanks Dianne, I've had a quick look through the code and have seen
how the onTouchEvent in the TextView Class has been modified to
display the soft keyboard if it is both focused and touched (how
profound). I've managed to get it to display by clicking a button,
but really I'd like it called in
Hi Folks,
I have a small question. When i'm connected to WIFI, I could use the
following code to obtain the IP address of the Android phone
WifiManager wifiManager = (WifiManager) getSystemService(WIFI_SERVICE);
WifiInfo wifiInfo = wifiManager.getConnectionInfo();
int ipAddress =
Is there a way to access this class in the SDK or is there another
class that does the same thing? I need to rename one of the services
listed in the servicemanager so that it will call my service instead
and then pass calls i don't handle onto the original service that i
have renamed.
Hi,
Noticed some weird behavior here - if I have:
final Calendar c = Calendar.getInstance();
int mHour = c.get(Calendar.HOUR_OF_DAY);
int mMinute = c.get(Calendar.MINUTE) + 5;
and I establish a timePickerDialog like:
new TimePickerDialog(this, mTimeSetListener, mHour, mMinute,
I appreciate the reply, but forgive the relentless imprecision in my
understanding.
Bottom line: can two different applications with two different package
names have the same android:label in the manifest, say for a lite and
a pro version of the same app? Where is android:label actually used?
I'm just curious how to interpret the fact that hasMonetaryCost is
true for a network location provider. I read about it a little but
I'm not sure I entirely understand what's going on. Does that mean
that every time I get my location using the cell network instead of
the gps there is a charge
I can't help you with Market. In the platform, android:label is only used
as the text to show to the user for the representation of your .apk, and the
system does not care at all about what it contains.
Plus you would localize the label for different languages, so its actual
value really can't
You can't do this. Especially from the SDK, on so many levels:
1. ServiceManager is not public. The features it contains are not available
in the SDK.
2. None of the interfaces of the services published in the service manager
are published in the SDK, so you wouldn't be able to redefine them
So if that is not the way you are meant to services such as alternate
SMS gateways, what is? Using intents will not work as most of the sms
apps have the reply for a thread built in. This is the only way i
have been able to discover to capture all outgoing sms so i can either
redirect them over
Hello people,
I am having a problem regarding mediastore.media.Images. I am trying
to populate a gallery with thumbnails from y sdcard, this works fine,
now i want to get the real image in an imageview onclick event.
Here is my code ,
private View loadGallery() {
// thumbnails
Hi,
Is there a command to find out the pid of all process running on the emulator?
If yes, can you please tell me how can I do that?
Thank you.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers
You mean something besides adb shell ps?
On Mon, Mar 16, 2009 at 10:47 PM, ying lcs ying...@gmail.com wrote:
Hi,
Is there a command to find out the pid of all process running on the
emulator?
If yes, can you please tell me how can I do that?
Thank you.
--
Dianne Hackborn
Android
101 - 159 of 159 matches
Mail list logo