How to root the phone? Any command for that?
On Wed, Jul 21, 2010 at 5:18 PM, Webnet Android webnet.andr...@gmail.comwrote:
On 21 July 2010 13:44, Nency Robert avayam...@gmail.com wrote:
HI,
I want to see the database files of my phone is it possible?
You have to root your phone.
On Wed, Jul 21, 2010 at 4:07 PM, Pent tas...@dinglisch.net wrote:
You get updates for it like that too ? i.e. for a possible pirated install
?
No, the Market is not that stupid.
On Wed, Jul 21, 2010 at 4:49 PM, String sterling.ud...@googlemail.com
wrote:
So I can't consider this a
Hi William
When you say you are getting issues - what exact issues are you
referring to?
I am guessing - but if the problem you have is that a copy protected
app is not showing up on the market for a user running 2.2 Froyo. It
is likely that it is because the android market does not show copy
Note that you can also use the Messenger class to communicate instead of
defining an aidl interface. This is often easier to do -- see the example
in the documentation:
http://developer.android.com/reference/android/app/Service.html#RemoteMessengerServiceSample
On Wed, Jul 21, 2010 at 10:49 PM,
Yes, stay on 3.5. You will get a bunch of editor errors when
attempting to edit XML files.
Visit Trackaroo.com!
Trackmaster - Motorsports Lap Timer
Dynomaster - Performance Dyno
On Jul 21, 12:55 am, hippy firsthi...@gmail.com wrote:
On Jul 3, 6:25 am, kihbord kihb...@gmail.com wrote:
Any
On Tue, Jul 20, 2010 at 1:45 PM, Kostya Vasilyev kmans...@gmail.com wrote:
I think the real question is: if Activity A gets killed by the time B
finishes, will A be recreated to deliver the result?
Yes it will be... well, it will be recreated the next time the user visits
it (and thus it is
I'd just send a simple HTTP Get Request periodically and process the
response.
URL url = new URL(http://;);
url.openStream() //process the stream
Jeff
Visit Trackaroo.com!
Trackmaster - Motorsports Lap Timer
Dynomaster - Performance Dyno
On Jul 21, 2:22 pm, KG kevinconca...@gmail.com
On Wed, Jul 21, 2010 at 10:24 PM, Adam Laster aelas...@gmail.com wrote:
Is it possible to close the browser after I've navigated back to my app
via the redirect?
No. Use a WebView.
-
TreKing
On Wed, Jul 21, 2010 at 1:15 AM, Swati mani21_1...@yahoo.com wrote:
What the original poster meant was if there is a programmatic way to
present this option to the user.
Just curious: how do you know this is what the OP meant?
Hello Kostya,
This brings up the most recent applications list - and has nothing to
do with running processes, it is NOT the kind of list you see in a task
manager type application.
In principle I would agree, but my experiences with two devices is a
different
one : It can behave like a Tab
Hi,
I thought it would be simple, but I am stuck.
I have a widget which has say, a dimension of 294*72(portrait). But
when the orientation is changed, I need to change this dimension of
the widget to another dimension which would look good on the landscape
orientation.
Is this possible?
--
I use Eclipse daily, both professionally and personally. It's a fine
tool.
If you don't like the logcat in Eclipse (I don't), run `adb logcat`
from a terminal. Run `adb logcat | grep 'yourtag'` if you want just
your apps' messages.
The emulator is just fine. It can take a while to launch, but
You could check out:
http://www.giffads.com/
You can upsell your app without having to litter it with ads (and the
users get it for free), especially if you have a free (crippled) and
full paid version. There is no subscription service yet. Perhaps
contact them if that's what you want?
I just
Sure, another layout is the preferred way, but that was not the
question at hand.
Claes Huittinen - http://code.google.com/p/leapconfigurator/
On Jul 21, 11:23 am, Kostya Vasilyev kmans...@gmail.com wrote:
Or use something more reasonable - RelativeLayout.
With it, you can still position some
Hi All,
I'm making a twitter client for Android and am using the
JTwitter API for it. The problem i get is while retrieving any List
e.g. List of followers (List of type User) i get a very weird error
which is like this : winterwell.jtwitter.TwitterException:
It seems to me that per default, the ONLY thing a SlidingDrawer
provides is a fancy way of switching between to fullscreen views.
Have I missed something or can you position the drawer so it only
covers part of the screen without doing some hacks?
Right now I am setting android:topOffset to a
How can i include any no of contacts from my contatc list in any app. I am a
newbie please help
Sent from my Nokia phone
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Thanks for the link.
I've used glColorf and that seems to work, but it was my understanding
that a combination of glLightfv and glMaterialfv would also set the
color.
Cheers,
David
On Jul 21, 5:53 pm, jojoma thanat...@gmail.com wrote:
I don't know much of OpenGL too, but I think your triangle
Hi Chetan,
I assume that you have to build a new system image for that and flash
your device.
Good luck !
Frank
On 22 Jul., 07:46, chetan chetanchauha...@gmail.com wrote:
Hi,
i have created an application XYZApp and put it in package/
apps directory of eclair source code and
Using flag FLAG_ACTIVITY_NEW_TASK is done as follows:
Intent startIntent = new Intent();
// Initialize Intent to start your Activity implicitly or explicitly
startIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
Regards,
Droid-san
On Jul 22, 7:53 am, Ajmer singh ajmer.si...@evontech.com wrote:
If it is a platform extension and part of the system,
that putting the shared lib in the apk will not help.
In this the lib must be unter /system/lib.
Good luck !
Frank
On 22 Jul., 07:13, Rajesh Pelluru mail2pell...@gmail.com wrote:
Hi,
If your app uses native code then you need to
does anyone knows how to install android 2.2 I am little bit confuse
--
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 email to
What's ur confusion ???
They clearly mentioned steps in android developer portal.
http://developer.android.com/sdk/index.html
On Thu, Jul 22, 2010 at 1:54 PM, poonam sinha sinhapoon...@gmail.comwrote:
does anyone knows how to install android 2.2 I am little bit confuse
--
You received
Hi,
I try to implements lazy loading of images in a listview. There is no
android features to make this,
so I should implement it by myself.
Have anyone alread done this? Take the solution care of scrolling and
lazy loading new
images and stop to load not more necessary images?
--
_| _.
== If your widget dimention is defined in XML layout then create the
same file with different dimension under newly created folder
\res\layout-land.
It will take care of widget positioning when u rotate.
== If you are setting the dimension dynamatically then
1. Put an android:configChanges
Hi!
Maybe I made something so wrong, but Mr.Google give me only a lot of
complet application and not tutorilas,examples
Karoly
On júl. 22, 07:43, TreKing treking...@gmail.com wrote:
2010/7/21 Károly Holczhauser holczhau...@gmail.com
Can anyone give me some advice/tutorial how can I make an
Hi!
Maybe I made something so wrong, but Mr.Google give me only a lot of
complet application and not tutorilas,examples
Karoly
On júl. 22, 07:43, TreKing treking...@gmail.com wrote:
2010/7/21 Károly Holczhauser holczhau...@gmail.com
Can anyone give me some advice/tutorial how can I make an
Hi All,
I have android g1 mobile having os 1.5.I want to upgarde the os from 1.5 to
higher version.
Please help me how to do this.
--
Regards,
Narendra
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Hi Frank,
Thanks for your advise.
One more thing when we build android source code , is
the framework part converted in to jar . And when we execute our
application this framework part is dynamically linked. Is it like
that.
Actually, i am asking bcoz
Hi Davide,
see the logic for calling two functions in the following code (private
void updateBookCovers() private void postUpdateBookCovers() ) It
implements lazy loading of images. The idea is to load images when
scrolling stops.
@sachin : There's no activity.
My basic question was, that can you change the AppWidgetProviderInfo
for a widget after a screen orientation change?
Thanks and Regards,
Kumar Bibek
On Jul 22, 1:45 pm, sachin.r...@wipro.com wrote:
== If your widget dimention is defined in XML layout then create
Hi there!
I've the same problem... Have you solve it? Please let me know.
Thanks
Paolo
On 5 Lug, 14:41, Aidan C aidanchu...@gmail.com wrote:
Hey Guys,
I've made some edits to my application but I'm pretty sure it crashing
is linked to my updating my Nexus One. I've included the error as well
Hi All,
When i receive ringing state, i tried to launch an intent to run my
apps.
case TelephonyManager.CALL_STATE_RINGING:
{
Intent intent = new Intent(context, CallPreferenceActivity.class);
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK |
Intent.FLAG_ACTIVITY_REORDER_TO_FRONT);
Hi mongd,
I did not have a problem getting your view to work on Nexus One with
2.2. The text area scrolls just fine when I use the trackball on my
Nexus. I can also see a scrollbar when selecting text from the
EditView. The whole screen also scrolls fine since it is a ScrollView.
Here is the
Hi Dianne,
Thanks for your answer. It looks I wasn't precise enough, so my
problem is this:I want to share some resources anong packages to
reduce package size etc, however some some API calls
I intent to use expect just resource ID as argument (i.e. notify()),
which to my understanding prevent
Hi All,
When I receive ringing state, I tried to launch an Activity to run my
apps.
case TelephonyManager.CALL_STATE_RINGING:
{
Intent intent = new Intent(context, ABC.class);
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK |
Intent.FLAG_ACTIVITY_REORDER_TO_FRONT);
Hi all
I have an xml page which im able to display on webview and also able
to convert it to sppech by using text to speech API provided by
android.
I have stored that xml page in a string variable and hence able to
convert it to speech which takes string variable as an input.
But my problem is
Hi,
Does anyone know of a good tutorial for doing some simple layout
animation effects? I basically want to shrink a set of controls when a
button is clicked, and expand another set. Any help would be
appreciated. Thanks.
--
You received this message because you are subscribed to the Google
go to command promt then in tools folder of ur SDK.then type *adb shell*
u r in boot then use basic linux command to see whot u wanna see...
On Thu, Jul 22, 2010 at 11:54 AM, Nency Robert angelgirl4...@gmail.comwrote:
How to root the phone? Any command for that?
On Wed, Jul 21, 2010 at
refer this link and do what is written there it is too easy to install.
*http://www.vogella.de/articles/Android/article.html#overview_android*
On Thu, Jul 22, 2010 at 2:06 PM, Rajesh Pelluru mail2pell...@gmail.comwrote:
What's ur confusion ???
They clearly mentioned steps in android
yes, this is what I mean
On Jul 20, 1:30 pm, Yi Ling lingyi@gmail.com wrote:
what does it mean? the source code of twitter/fb's client for android
platform?
google would help you, i think.
2010/7/20 oriharel ori.ha...@gmail.com
Where can I find the source code of Twitter /
That sounds most likely (bug in platform). I've only been able to
reproduce it on 1.5 and 1.6, not 2.0 or 2.1...
So I guess that returns me to my original question:
Is there any way I can detect this state in my code (I guess I don't
mind polling when viewing this Activity). If so, what's the
Hi,
what could be the reason that a mp4 video file without sound doesn't
play correctly when using the VideoView class? The video plays just
fine in vlc, mplayer and ubuntu media player. It has been created on
the device using ffmpeg. It is like 5 seconds long, so nothing
especially big. Codec is
How to store and retrieve data on my own web-based services in
android ? Please could you provide any sample source code.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Hi,
I'm developing an image editor for Android. When I do some operations
with small pictures (600x600 - 1024x768), the program work well. But
when I do some opeations with big pictures, I always obtain an
OutOfMemory Error. I read read many post trying to have the image in
memory. Also I looked
Many thanks for that.
Ive already thought of those solutions but with regard to accessing
via debugger inspection the id value may not be constant in future
implementations of android. I was looking for a programmatic method of
accessing them or by use of an android specified id value.
Like the
Well the issue is that when downloading any app in 2.2 it will download but
install it will not. It will show that it is installing but never will.
On Jul 21, 2010 11:31 PM, Sam samuel.law...@gmail.com wrote:
Hi William
When you say you are getting issues - what exact issues are you
referring
First off, are you sure that your UncaughtExceptionHandler is not
throwing an exception?
On Jul 21, 1:32 am, codefish 92soc...@gmail.com wrote:
i want to handle exceptions in Service.
my exception handler sends error report email.
so i add FLAG_ACTIVITY_NEW_TASK flag and it works fine in
Could be a compiler bug, but seems unlikely -- the code is not
particularly strange or complex from compiler standards. More likely
you're seeing some sort of debug artifact (not unusual for single-
stepping to give some bogus line numbers at times), or you're simply
misinterpreting what you see.
It's simple...
Just jack up the battery and drive a Nexus One under it...
I'm afraid the G1 is more a historical piece of memorabilia than an
upgradable device.
-John Coryat
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this
My guess is the video isn't the right size, so the device is
struggling to scale the video and/or the bitrate is just too high...
Try a lower bitrate, and check the dimensions of your video.
On Jul 22, 7:49 am, berliner myberli...@gmail.com wrote:
Hi,
what could be the reason that a mp4
One thing I had to do on my laptop is turn the sensitivity of the
touch pad way down, since my hands waving over it (not touching) while
typing would be interpreted as mouse presses, highlight whole sections
of code, and delete them on the next keystroke. Didn't have the
problem with any other
What carrier are you on? I believe T-Mobile allowed me to use the
update setting... Otherwise I think you'll have to find
instructions online. See an example I found with a simple google
search:
http://www.denraf.be/content/howto-android-21-g1adp1dream
On Jul 22, 4:54 am, Narendra Bagade
I still see this error when using a ListView even though I have it set
to close and clean up the connection when leaving the view, can't do
it right away or the ListView won't work.
Any way around this?
On Jul 21, 7:29 pm, Zsolt Vasvari zvasv...@gmail.com wrote:
I never keep an actualy
I should have said that you can go up to 1.6 and after that, you can
find a custom ROM that might work but essentially, there isn't enough
internal memory in the G1 to handle anything above G1 unless you use a
stripped down custom ROM.
-John Coryat
--
You received this message because you are
Hi!
Is there a possibility to get the bluetooth signal strength to not
connected bluetooth devices?
Regards
--
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
am trying to make my application in front just after incoming call.i
mean when user cut the phone my application should come in front can it be
possible
--
A N K ! T..
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to
I solved it today simply set a differente EGLConfigChooser...
from:
this.setEGLConfigChooser(5, 6, 5, 8, 16, 0);
to:
this.setEGLConfigChooser(8 8, 8, 8, 16, 0);
It seems to work well, now. But I don't know why :(
On 22 Lug, 11:38, Paolo brand...@gmail.com wrote:
Hi there!
I've the same
Use PhoneStateListener with state onCallStateChanged()
Namrata
On Jul 22, 6:27 pm, A N K ! T ankit.awasth...@gmail.com wrote:
am trying to make my application in front just after incoming call.i
mean when user cut the phone my application should come in front can it be
possible
--
A
Hi all,I fastwordly play the mp3 through MediaPlayer's function
seekTo(int),But the MediaPlayer.OnCompletionListener can't get the state
that if the process of mp3 is end. It will stop when it fastword the file's
end sometime. The mp3 is 44.1KHZ or 48KHZ,but some 44.1KHZ mp3 files do not
exist
I want to display some thing in the LiveFolder dynamicly.So i implent the
abscusor.But how to control requery's time of Cursor ?
--
xhy
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
On 20 July 2010 05:46, diegomon...@gmail.com diegomon...@gmail.com wrote:
Hi everyone
Can this kind of files (buttons) be used to create android
applications, or you must use predefined buttons?
You can have custom look incl. images, color, styles etc.
--
You received this message because
Hi,
I have a Gallery with a couple of photos, which is working really
great. but now i like to have a menu which is sensetive for the
picture which is shown currently. So for pic1 i like to have menu1 for
pic2 i wanna have menu2, etc .
How would I achive this goal? Anyone had similar issues?
On Thu, Jul 22, 2010 at 12:53 AM, Ajmer singh ajmer.si...@evontech.comwrote:
I am a new to the android development,Could you please let me know how i
can use *FLAG_ACTIVITY_NEW_TASK.*
Here's a mind-blowing concept: documentation
Hi All,
I am creating a list of albums and each album can have multiple
songs. So I wanted to is having multiple listviews on a screen ok
(around 30-35 albums each having their songs) performance wise and
wont create a problem ?
Or i should implement a single list of albums where each
Is there any way to replicate old behavior of task killers in froyo?
(i.e. kill everything associated with an app, including notifications
etc. and make it never come back, unless manually restarted)
It can be from command line using root.
Thanks
On Jun 16, 12:10 am, Happy C.
Even if it's not what the OP meant, now that it is settled that it can
not be done in another way than having the popup, it would end and
give a purpose to this post if someone answered the remaining
questions :
- Is it possible to make an app that becomes the default dialer ?
- If so how do you
But what's the reason for not keeping it open? Or actually a better
question is why do is my database dependent on an activity at all? These
are two totally different pieces to the puzzle (i.e. as in an MVC pattern or
similar design).
On Wed, Jul 21, 2010 at 8:29 PM, Zsolt Vasvari
Hi,
I am able 2 run the code in the emulator but when i try 2 put it on a
device i am getting an error which says: cannot find .so file.
I have included the.so file in /data/data/package/lib. but still i am
not able 2solve the error
On Jul 22, 10:13 am, Rajesh Pelluru mail2pell...@gmail.com
Hi,
I am able 2 run the code in the emulator but when i try 2 put it on a
device i am getting an error which says: cannot find .so file.
I have included the.so file in /data/data/package/lib. but still i am
not able 2solve the error
On Jul 22, 1:19 pm, FrankG frankgru...@googlemail.com wrote:
Have you considered using an XML based menu descriptor?
You could change the menu based on the XML then, which might be an
easier proposition.
The code goes something like this:
public boolean onCreateOptionsMenu(Menu menu) {
super.onCreateOptionsMenu(menu);
I think you will want to write your own xml parser/handler so that you
can decide what gets read to the user. Maybe use SAX?
On Jul 22, 6:03 am, prachi prachi.tya...@wipro.com wrote:
Hi all
I have an xml page which im able to display on webview and also able
to convert it to sppech by using
Self answering :)
As far as I could read (have not tried it yet),
tabHost.getChildTabViewAt(int pos).setBackgroundColor(int resid) should do
it (Donut and later)
Thierry.
2010/7/18 Thierry Legras tleg...@gmail.com
Hi,
What is the supported way to set tabwidget color? I tried this:
Not that I can think of, sorry.
On Thu, Jul 22, 2010 at 4:18 AM, Matty busbus...@gmail.com wrote:
That sounds most likely (bug in platform). I've only been able to
reproduce it on 1.5 and 1.6, not 2.0 or 2.1...
So I guess that returns me to my original question:
Is there any way I can
Hello Ankit,
I did not read the question in entirety. I am not sure how to start an
activity son after installation, nor service. my bad.
On Wed, Jul 21, 2010 at 9:40 PM, A N K ! T ankit.awasth...@gmail.comwrote:
*...@ranjan ::
*1. how can i start a service after installation...if it is
Thanks. However I achieve it by
MediaStore.Images.Thumbnails.getThumbnail, so now I haven't to match
the databases of Images and Thumbnails.
On 15 jul, 18:43, Tabman tabishfay...@gmail.com wrote:
IMAGE_ID of the Thumbnail record is the id of the original image.
On Jun 25, 2:27 pm, ReyLith
Still looking for a little help here. Any help at all is appreciated!
Thanks
On Jul 21, 4:01 pm, Robert Green rbgrn@gmail.com wrote:
Hi Guys,
If you have a SamsungMomentand have adb working for it, would you
mind downloading Deadly Chambers Demo off the android market and
running it
I am trying to create a map application and I need to do something
similar to what Google Maps does.
I want to open show a list of locations and when user taps on them I
want to show a dialog.
I was able to do it till here. But now when the user clicks on the
dialog that opened I want to show
Hi,
Is there a plan to support 2.0 in the emulator?
If so, any idea when that might be (as it doesn't seem to work even
after the latest 2.2 revision 2 update)?
Regards,
Bob
On Jun 21, 2:06 pm, Romain Guy romain...@android.com wrote:
The emulator doesn't supportOpenGLES2.0at this time.
Google just posted a new blog post on
http://android-developers.blogspot.com/2010/07/multithreading-for-performance.html.
I understand the AsyncTask and I'm even using one in a list with
images already.
But I don't understand what a WeakReference is. I gather is is a
garbage collector directive,
Recently I had to do some research on the role of weak references
possibly for configuration changes and auto restart of activities. See
if the following material is useful
http://www.satyakomatineni.com/akc/display?url=DisplayNoteIMPURLreportId=3528ownerUserId=satya
The weak references are
Hello, when I send an SMS on my emulator, it goes to the content
provider:
content: / / sms / sit
right?
So I want to get these SMS's sent from the content provider. But I do
not know how to do this. I know I should have the query () method and
then call it in the place where I want to search. I
Hello, when I send an SMS on my emulator, it goes to the content
provider:
content: //sms/sent
right?
So I want to get these SMS's sent, which are in the content provider.
But I do not know how to do this. I know I should have the query ()
method and then call it in the place where I want to
Hello, when I send an SMS on my emulator, it goes to the content
provider:
content: //sms/sent
right?
So I want to get these SMS's sent, which are in the content provider.
But I do not know how to do this. I know I should have the query ()
method and then call it in the place where I want to
Okay:
A ListView must have it's height set to fill_parent - the only way to
have multiple ListViews in a single activity is to use something like
Tabs, a ViewFlipper etc, and even then this only really deals with one
visible ListView at a time (or possibly two horizontally).
What you probably
Suppose you had a long list of images. As the user scrolled down you
load the images from the net, and then display them.
To avoid having to reload the images again if the user scrolls back
up, you put the images in a cache (probably something like a
MapString, Drawable)
However because it is a
What kind of menu do you mean? An options menu, context menu, gridview
etc
On Jul 22, 4:05 pm, drill sebastianar...@hotmail.com wrote:
Hi,
I have a Gallery with a couple of photos, which is working really
great. but now i like to have a menu which is sensetive for the
picture which is shown
The real Java doc is a bit better:
http://download.oracle.com/docs/cd/E17409_01/javase/6/docs/api/java/lang/ref/WeakReference.html
A WeakReference is an object that contains within it a reference to
another object. The reference is treated specially by the garbage
collector in that its existence
I'm trying to wrap my head around activities and how they begin and end in
Android. I've read what the Developer Guide has to say regarding activities
and I'm still a little fuzzy on how I should appropriately handle their
navigation in my application.
As an example, say I have a main activity
You definitely do NOT want to use a WeakReference to cache object. If
you do so, as soon as your data is put in the cache and not used
outside of the cache, it gets garbage collected.
On Thu, Jul 22, 2010 at 11:07 AM, Joseph Earl joseph.w.e...@gmail.com wrote:
Suppose you had a long list of
On Thu, Jul 22, 2010 at 12:32 PM, Achanta krishna.acha...@gmail.com wrote:
Why am I getting this error and how can I resolve this and open a
new activity?
Did you read the stack trace?
* android.view.InflateException: Binary XML file line #2: Error inflating
class unknown *
I don't think
Ran into sort of the same problem myself whilst developing an image
gallery - my problem was that loading thumbnails of 5 or so of the
images caused an out of memory error. Luckily I was able to implement
inJustDecodeBounds and inSampleSize to reduce the quality of my
thumbnails and that solved it
On Thu, Jul 22, 2010 at 1:22 PM, Chris Stewart cstewart...@gmail.comwrote:
Calling finish on the secondary activity didn't actually do anything,
visibly at least.
Then you're doing something wrong. Post the code snippets where you starting
and then finishing the second activity.
We have a 2.1 sdk(eclair) version Samsung device, which has virtual
keyboard with a microphone indicator to support speech to text (STT).
Our application is mostly a text entry application and uses
Inputconnection class and committext method to recognize the inputs
and put all the entered text on
I partly got the roles of SoftReference and WeakReference mixed up.
For the cache you would more likely use SoftReference, and it's the
one that is preferentially not deleted by GC. WeakReferences don't
slow deletion at all (well, hardly any -- there's the whole queue
thing, but that's for the
It should work as your describe:
If you start activity A and then launch activity B from there, B will
be at the top of the Activity stack and A will be 'pushed' further
down (to the bottom in this case).
When the topmost activity (B in this case) finishes, the next visible
activity will simply be
There is usually no need to call finish().
If you have avoided doing anything clever, when the user presses the
[back] button your top activity will finish and the one underneath
will resume.
Put some trace lines ( use Log.d(...) ) in the following methods in
both of your activites and see what
Thanks for the info. I was unsure as to exactly how weak
WeakReferences were, since I have never had a use for them yet.
On Jul 22, 7:26 pm, Romain Guy romain...@android.com wrote:
You definitely do NOT want to use a WeakReference to cache object. If
you do so, as soon as your data is put in
So you'd only want to use WeakReference when you think your activity
might run out of memory?
But a list view already does efficient memory management for you
right?
You'd saying if I were create a large array or something like that
then it would be good to use WeakReference. right?
Thanks for
Hi everyone,
I have a service that I need to execute every two minutes. Would it be
more efficient to use an alarm or a timer?
Thanks for the time and help
Tommy
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send
1 - 100 of 241 matches
Mail list logo