context
>
>
>
> On Jul 3, 11:20 am, hmmm wrote:
> > Really? It will be interesting to hear Google engineers comment on this.
>
> well, its nothing wrong with Toasts per se, they are working as api
> docs describe, but when using wrong context they
Really? It will be interesting to hear Google engineers comment on this.
-Original Message-
From: skink
To: Android Developers
Date: Thu, 2 Jul 2009 23:57:41 -0700 (PDT)
Subject: [android-developers] **never ever** use Toasts with Activity context
>
> hi,
>
> take NotifyWithText api
What if you make your activity singleTop and then use onNewIntent() in the same
activity such as
onCreate { configure(); }
onNewIntent { configure() }
-Original Message-
From: Daniel
To: Android Developers
Date: Fri, 3 Jul 2009 00:38:44 -0700 (PDT)
Subject: [android-developers] Activ
Hi,
I'm developing an application which plays some music files. I want to stop any
other audio playback when my application starts playing the music.
I've looked at the source code of the Music application and figured out how to
to pause the Music application using the intent
"com.android.mus
Hello,
If I don't close() a cursor explicitly, relying on gc instead, may it,
theoretically, cause any problems?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send
You can create files in your app directory, preferably in its 'files'
subdirectory or anywhere on SD card using File class. Is that it?
- Original Message -
From: "Hayden"
To: "Android Developers"
Sent: Sunday, March 08, 2009 12:35 AM
Subject: [android-developers] Accessing raw resour
noone knows? I tried NETWORK_SERVICE too and still can't find if there is such
an event as 'in/out of roaming'. Maybe no such event? Do I then have to
constantly poll to detect roaming condition? That would be strange.
- Original Message -
From: hmmm
To: and
oh yeah and I tried to use PhoneStateListener but to what event should I listen
to then? I've tried several and none helps.
- Original Message -
From: hmmm
To: android-developers@googlegroups.com
Sent: Tuesday, March 03, 2009 12:36 AM
Subject: [android-developers] H
Hi developers,
Is it possible to detect a roaming event programmatically? I am able to use
TelephonyManager.isNetworkRoaming() to query roaming state. However, can I
receive a notification exactly the moment the roaming state changes?
I guess it should be possible because they display the R ui
You can place your ini file (or any file), say config,ini, in the 'raw'
subdir of the 'res' dir and then use
InputStream is = Context.getResources().openRawResource(R.raw.config)
But then, I guess, there's no API in android dealing with ini files
specifically so you then might want to create you
REE_GPP).
On Jan 29, 11:45 pm, "hmmm" wrote:
> Hi,
>
> I want to record and AMR file using the standard Sound Recorder
> application. So I use Intent.ACTION_GET_CONTENT_TYPE and use
> Intent.setType("audio/amr").
> I can see then that the Sound Recorder d
I don't know the answer but interested why would you want to do that?
- Original Message -
From: "Anshul"
To: "Android Developers"
Sent: Thursday, January 29, 2009 10:33 PM
Subject: [android-developers] Is it possible to run ADB shell command from
inside an Android app
>
> I am tryi
And what does it print in the DDMS logcat after the crash? Usually this
output is helpful.
- Original Message -
From:
To: "Android Developers"
Sent: Tuesday, January 27, 2009 9:30 AM
Subject: [android-developers] Android Challenge!! Can you correct this 1
line ?
>
> Please hel
Hello,
Does someone know how to display images in an activity's context menu?
I've tried setIcon(resId) and it doesn't work (although it does work in the
Options Menu).
Thank you
--~--~-~--~~~---~--~~
You received this message because you are subscribed to th
Does it print something interesting in the logcat?
- Original Message -
From: "Ninad"
To: "Android Developers"
Sent: Saturday, January 17, 2009 8:58 PM
Subject: [android-developers] Re: Media Player surprises me!
Anyone can give answer to my problem!
Help me!!! M still stuck on
s involving how activities are started
and called from the stack. I'll keep an eye out.
Thanks!
On Jan 18, 2:06 pm, "hmmm" wrote:
> What if you pass some to that activity using Intent.putExtra() and then in
> the activity depending on the data you will decide whether to show
What if you pass some to that activity using Intent.putExtra() and then in
the activity depending on the data you will decide whether to show a
progress dialog or not?
Or, if you want that progress dialog only once for loading what if you put a
static field say private static boolean isLoaded a
In the for adb logcat command docs there is:
S - Silent (highest priority, on which nothing is ever printed)
I don't understand this priority, could you, possibly, help me to understand
better?
Thank you!
--~--~-~--~~~---~--~~
You received this message because you
posts will show you how to setup the sources folder for Eclipse.
>
> http://blogs.zdnet.com/Burnette/?p=706
> http://blog.michael-forster.de/2008/12/view-android-source-code-in-eclipse.html
> http://stuffthathappens.com/blog/2008/11/01/browsing-android-source-in-eclipse/
>
>
> On
ssage -
From: Josh Dobbs
To: android-developers@googlegroups.com
Sent: Saturday, January 17, 2009 12:15 AM
Subject: [android-developers] Re: Want to step into the SDK Android code -
how to?
I don't believe it's possible.
On Fri, Jan 16, 2009 at 1:04 PM, hmmm wr
Hello,
I'm doing some debugging and thought it would be great if I could step into the
Android SDK source code.
However, I can't figure out how to setup whatever I should setup in Eclipse to
achieve this.
If anybody did the same before, could you, please, advise?
Thank you!
--~--~-~--~
I did some programming in Symbian and now I'm doing some Android stuff and
for me Android is much easier in comparison with Symbian.
This is because Symbian has some real weird limitations and some real
annoying stuff to remember like those push/pop stack things and no
exceptions in constructor
sorry, "/sdcard/..."
-Original Message-----
From: hmmm
To: android-developers@googlegroups.com
Date: Tue, 13 Jan 2009 18:35:23 +0300
Subject: [android-developers] Re: Accessing Files on the sdcard
>
>
> I guess it should be like File f("sdcard/myaudio.3gpp"
I guess it should be like File f("sdcard/myaudio.3gpp") then
FileInputStream(f) or just FileInputStream("sdcard/myaudio.3gpp"")
-Original Message-
From: Tez
To: Android Developers
Date: Tue, 13 Jan 2009 07:25:59 -0800 (PST)
Subject: [android-developers] Accessing Files on the sdcard
Hi,
MockContext and any other Mock entities they are for what? Could I please have
an example of their usage?
Thanks!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this gro
I guess, the plugin is here:
http://code.google.com/intl/ru/android/adt_download.html
As mentioned in the Google docs:
If you are unable to download the ADT plugin through setting up a remote update
site in Eclipse, you can download the ADT zip file and install it from your
computer (archived
I thought Android does support animated gifs. I think I've seen the example
in ApiDemos somewhere in their example they show animated_gif.gif from
ApiDemos\res\drawable you could make a search in ApiDemos project to find
out.
- Original Message -
From: "Muthu Kumar K."
To: "Android D
my development environment. How can I setup the
emulator for that?
Thank you.
On Sun, Jan 11, 2009 at 2:23 PM, hmmm wrote:
To Record audio to a new file on sd card I did as follows and worked for me
with emulator and mic. But don't know about buffers or sockets. And not sure
To Record audio to a new file on sd card I did as follows and worked for me
with emulator and mic. But don't know about buffers or sockets. And not sure
if this is a good way but anyway works.
To run emulator with sd card you do mksdcard 512M sdimg.iso then start
emulator as 'emulator.exe -sdca
I've tried but the same result. Now in DDMS log I have:
java.lang.ClassCastException: android.widget.LinearLayout$LayoutParams
- Original Message -
From: "Peli"
To: "Android Developers"
Sent: Sunday, January 11, 2009 3:39 AM
Subject: [android-developers] Re: Change linear layout pro
Might it be because as stated in the docs for setLayoutParams() "These
supply parameters to the parent of this view specifying how it should be
arranged." and in this case there's no parent of the view, so the attempted
operation is not valid.
You might want to try the same with some child view
like, you compile in the windows environment to produce a program which runs
on arm
http://en.wikipedia.org/wiki/Cross-compiling
Nothing much to think about
- Original Message -
From: "lucius"
To: "Android Developers"
Sent: Saturday, January 10, 2009 10:24 AM
Subject: [android-develop
Intent.putExtra() Intent.getExtra() will, probably, do
- Original Message -
From: "EvgenyV"
To: "Android Developers"
Sent: Friday, January 09, 2009 10:27 PM
Subject: [android-developers] Share data between activities queston
>
> Hi!
>
> What is the best way to share data between di
roid-developers@googlegroups.com
Sent: Friday, January 09, 2009 5:01 PM
Subject: [android-developers] Re: Anybody uses Positron on Windows?
You can refer to below link:
http://code.google.com/p/autoandroid/wiki/Positron
On Fri, Jan 9, 2009 at 9:35 PM, hmmm wrote:
Hi,
Do
Hi,
Does someone uses Positron on Windows for Android automated testing? If so,
could you, please, refer me to the setup instructions? I've tried many and
always fail.
Thank you!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to th
I agree that Jerome DiMarzio book is not particulary outstanding. He seems
to explain evident things one can figure out herself and he is missing real
necessary things at the same time things one can not really figure out in a
reasonable time..
I have learned much from 'Android Essentials' by
36 matches
Mail list logo