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 daniel.himmel...@googlemail.com
To: Android Developers android-developers@googlegroups.com
Date: Fri,
Really? It will be interesting to hear Google engineers comment on this.
-Original Message-
From: skink psk...@gmail.com
To: Android Developers android-developers@googlegroups.com
Date: Thu, 2 Jul 2009 23:57:41 -0700 (PDT)
Subject: [android-developers] **never ever** use Toasts with
-developers] Re: **never ever** use Toasts with Activity
context
On Jul 3, 11:20 am, hmmm akul...@mail.ru 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
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
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
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] How
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: android-developers
I don't know the answer but interested why would you want to do that?
- Original Message -
From: Anshul aaj...@gmail.com
To: Android Developers android-developers@googlegroups.com
Sent: Thursday, January 29, 2009 10:33 PM
Subject: [android-developers] Is it possible to run ADB shell
(MediaRecorder.OutputFormat.THREE_GPP).
On Jan 29, 11:45 pm, hmmm akul...@mail.ru 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 does create a MediaStore
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
And what does it print in the DDMS logcat after the crash? Usually this
output is helpful.
- Original Message -
From: ipeg.stud...@gmail.com
To: Android Developers android-developers@googlegroups.com
Sent: Tuesday, January 27, 2009 9:30 AM
Subject: [android-developers] Android
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
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 cleaner way of doing this involving how activities are started
and called from the stack. I'll keep an eye out.
Thanks!
On Jan 18, 2:06 pm, hmmm akul...@mail.ru wrote:
What if you pass some to that activity using Intent.putExtra() and then in
the activity depending on the data you will decide
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
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!
-
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 akul...@mail.ru wrote
to?
These 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 Jan 16, 3:04 pm, hmmm
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
I guess it should be like File f(sdcard/myaudio.3gpp) then
FileInputStream(f) or just FileInputStream(sdcard/myaudio.3gpp)
-Original Message-
From: Tez earlencefe...@gmail.com
To: Android Developers android-developers@googlegroups.com
Date: Tue, 13 Jan 2009 07:25:59 -0800 (PST)
sorry, /sdcard/...
-Original Message-
From: hmmm akul...@mail.ru
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, 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
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
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
environment. How can I setup the
emulator for that?
Thank you.
On Sun, Jan 11, 2009 at 2:23 PM, hmmm akul...@mail.ru 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
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.
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 lucius.fo...@gmail.com
To: Android Developers android-developers@googlegroups.com
Sent:
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
I've tried but the same result. Now in DDMS log I have:
java.lang.ClassCastException: android.widget.LinearLayout$LayoutParams
- Original Message -
From: Peli peli0...@googlemail.com
To: Android Developers android-developers@googlegroups.com
Sent: Sunday, January 11, 2009 3:39 AM
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
@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 akul...@mail.ru wrote:
Hi,
Does
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
32 matches
Mail list logo