[android-developers] Re: Problem in the guide "Building your first app"

2016-06-02 Thread Noam Meirovitch
Hey, Try to use "Basic Activity" template , it should create the content.xml file for you in the layout.. בתאריך יום חמישי, 2 ביוני 2016 בשעה 15:54:27 UTC+3, מאת Jesper Lindberg: > > Hello! > I'm going to take an android programming course this summer and I thought > I could start and get

[android-developers] AndroidStudio Freeze while working on UI

2016-06-02 Thread Noam Meirovitch
AAATg/xaUVJ45tIQkfwIy7sdP7gbFrFLyBH5g3QCLcB/s1600/AndroidStudioFreeze.png> I searched the forum before posting but I didn't find any post that described the same problem as I have. Thank you in advance, Noam -- You received this message because you are subscribed to the Google Groups "Android Developers" grou

[android-developers] Re: Send Email Automatically

2009-04-08 Thread Noam
The problem is that the application will send out an email every 10 seconds. The user can't click send every 10 seconds --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: Send Email Automatically

2009-04-08 Thread Noam
What interval could I send an email at that won't drain the battery? 30 seconds? 60 seconds? --~--~-~--~~~---~--~~ 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] Re: Send Email Automatically

2009-04-07 Thread Noam
Would you know where I could find one of those? Thanks, Noam. --~--~-~--~~~---~--~~ 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

[android-developers] Re: Send Email Automatically

2009-04-07 Thread Noam
://eppleton.sharedhost.de/blog/?p=176 Thanks, Noam. --~--~-~--~~~---~--~~ 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

[android-developers] Re: Send Email Automatically

2009-04-07 Thread Noam
Mikas, After I posted my last post I saw yours. If the new SDK really doesn't allow it, then how did you get it to work? Thanks, Noam. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: Send Email Automatically

2009-04-07 Thread Noam
tried all of these examples: http://www.rgagnon.com/javadetails/java-0321.html http://davanum.wordpress.com/2007/12/22/android-send-email-via-gmail-actually-via-smtp/ What am I doing wrong? Thanks, Noam. --~--~-~--~~~---~--~~ You received this message because you

[android-developers] Re: Send Email Automatically

2009-04-07 Thread Noam
Mikas, I just noticed your post after I posted my last one. If that is true, then how did you get it to work? Thanks, Noam. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Send Email Automatically

2009-04-06 Thread Noam
will automatically send an email to his mailbox. Is there any way to do this without the user getting his mail client popping up? Thanks, Noam. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group

[android-developers] Re: Send Email Automatically

2009-04-06 Thread Noam
(Intent.EXTRA_TEXT, emailBody); startActivity(Intent.createChooser(sendIntent, Please pick your preferred email application.)); The address which will send this email is pre-defined. Thanks, Noam. --~--~-~--~~~---~--~~ You received this message because you

[android-developers] Re: Current Preference Screen? (easyy)

2009-04-05 Thread Noam
? On Apr 1, 6:50 pm, Noam noam.ha...@gmail.com wrote: Is my code worth anything? --~--~-~--~~~---~--~~ 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

[android-developers] Re: Current Preference Screen? (easyy)

2009-04-01 Thread Noam
Is my code worth anything? --~--~-~--~~~---~--~~ 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

[android-developers] Re: Current Preference Screen? (easyy)

2009-03-31 Thread Noam
Craig - None of your responses are valid because I am using the two PreferenceScreens in the same .java file, so that wouldn't help. Peli - No, I do not use onPreferenceTreeClick(PreferenceScreen, Preference). This is my code: @Override public void onCreate(Bundle icicle) {

[android-developers] Re: Current Preference Screen? (easyy)

2009-03-31 Thread Noam
Anyone? --~--~-~--~~~---~--~~ 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

[android-developers] Re: Current Preference Screen? (easyy)

2009-03-30 Thread Noam
how to do that yet. I probably mis-worded my question. Thanks, Noam. --~--~-~--~~~---~--~~ 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

[android-developers] Re: Current Preference Screen? (easyy)

2009-03-30 Thread Noam
Yes, I have tried that but it still doesn't work. I think it's because both of the PreferenceScreens are in the same .java file, so it never gets to the onResume() point. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: Current Preference Screen? (easyy)

2009-03-30 Thread Noam
Does anyone have a solution? Thanks, Noam. --~--~-~--~~~---~--~~ 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

[android-developers] Re: Current Preference Screen? (easyy)

2009-03-29 Thread Noam
the user is on PreferenceScreen A, and when he's on PreferenceScreen B. If I still need to clarify, please tell me what you don't understand. Thanks, Noam. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Current Preference Screen? (easyy)

2009-03-29 Thread Noam
Thanks Ralf. Where in the documentation might I find a list of what override methods I could use? For example onClick, onAttachedToActivity, onCreateView, etc.? Thanks, Noam. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: Current Preference Screen? (easyy)

2009-03-28 Thread Noam
? --~--~-~--~~~---~--~~ 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

[android-developers] Re: Current Preference Screen? (easyy)

2009-03-26 Thread Noam
Anyone?? On Mar 25, 4:22 pm, Noam noam.ha...@gmail.com wrote: Do I need to clarify? --~--~-~--~~~---~--~~ 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

[android-developers] Current Preference Screen? (easyy)

2009-03-25 Thread Noam
a certain method. Is there a way to get this to work? Thanks, Noam. --~--~-~--~~~---~--~~ 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

[android-developers] Re: Current Preference Screen? (easyy)

2009-03-25 Thread Noam
Do I need to clarify? --~--~-~--~~~---~--~~ 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

[android-developers] Re: PreferenceScreen Close

2009-03-24 Thread Noam
Anyone please? --~--~-~--~~~---~--~~ 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

[android-developers] Re: PreferenceScreen Close

2009-03-23 Thread Noam
Mark, The onContentChanged() did not seem to do the trick. I am still trying to figure out how to do the second option. I have tried looking for code that contains the DataSetObserver but have not found any. Can you please write an example code to show me how it works? Thanks, Noam

[android-developers] Re: PreferenceScreen Close

2009-03-23 Thread Noam
This is what I have so far: ListAdapter thisListAdapter = this.getListAdapter(); --~--~-~--~~~---~--~~ 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] Re: PreferenceScreen Close

2009-03-22 Thread Noam
Let me rephrase my question. I have two PreferenceScreens - A and B. In PrefScreen A, there is an option to go to B. When the user is on B, and then leaves B and goes back to A, I would want to run a certain method. Is there a way to do that? Thanks, Noam

[android-developers] Re: PreferenceScreen Close

2009-03-22 Thread Noam
I have tried that, but since both A and B are in the same java file, then it won't work. If I misunderstood, please clarify. Any other suggestions? Thanks, Noam. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: PreferenceScreen Close

2009-03-22 Thread Noam
Thanks for that incredible answer. Since I'm such a noobie, I hardly understand anything from that paragraph. Could you please show me some code so I could understand better? Thanks, Noam. --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] Re: javax.mail.internet.InternetAddress cannot be found?

2009-03-10 Thread Noam
If you say so --~--~-~--~~~---~--~~ 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

[android-developers] Re: javax.mail.internet.InternetAddress cannot be found?

2009-03-09 Thread Noam
bump On Mar 8, 7:12 pm, Noam noam.ha...@gmail.com wrote: Hello everyone, I am using Eclipse to develop and application for the android platform. When I try to tell it import javax.mail.internet.InternetAddress, it does not recognize it. Does anyone know why? Thanks, Noam

[android-developers] Re: javax.mail.internet.InternetAddress cannot be found?

2009-03-09 Thread Noam
Could anyone please answer this in a detailed manner? Thanks, Noam. --~--~-~--~~~---~--~~ 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

[android-developers] Re: javax.mail.internet.InternetAddress cannot be found?

2009-03-09 Thread Noam
If that is so, how is google using it in their program? http://code.google.com/p/salesforceandroid/source/browse/trunk/SalesforceAndroid/src/com/android/salesforce/operation/ErrorLogMailSender.java?spec=svn72r=72 --~--~-~--~~~---~--~~ You received this message

[android-developers] Re: PreferenceScreen Close

2009-03-05 Thread Noam
Anyone? On Mar 4, 6:53 pm, Noam noam.ha...@gmail.com wrote: Hello everyone, Is there a certain way for me to know when a PreferenceScreen is closed? Thanks, Noam. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] PreferenceScreen Close

2009-03-04 Thread Noam
Hello everyone, Is there a certain way for me to know when a PreferenceScreen is closed? Thanks, Noam. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Re: Easy Eclipse Help?

2009-03-01 Thread Noam
Anyone? --~--~-~--~~~---~--~~ 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

[android-developers] Re: CheckBoxPreference onClick Problems (Really Easy)

2009-02-28 Thread Noam
want to see what it saved. SharedPreferences settings = getSharedPreferences(nameOfPreference, 0); What should I insert there in the nameOfPreference in order for it to find the value that the user saved? Thanks, Noam. --~--~-~--~~~---~--~~ You received this message

[android-developers] Re: CheckBoxPreference onClick Problems (Really Easy)

2009-02-28 Thread Noam
Thanks Mark. One last question. If I have a checkBoxPreference, how can I enable/disable it? And if I can't, what is a work-around? Thanks, Noam. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: CheckBoxPreference onClick Problems (Really Easy)

2009-02-28 Thread Noam
Thanks very much Mark. And what about how to make the EditTextPreference a password box? Like put little dots before each letter? Thanks, Noam. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group

[android-developers] Re: CheckBoxPreference onClick Problems (Really Easy)

2009-02-27 Thread Noam
Can anyone help me? On Feb 26, 2:59 pm, Noam noam.ha...@gmail.com wrote: Anyone? On Feb 25, 7:39 pm, Noam noam.ha...@gmail.com wrote: Hello everyone, I have a checkboxpreference called passProtect. When the user clicks on it, I want it to run a method someMethod. How do I get

[android-developers] Re: CheckBoxPreference onClick Problems (Really Easy)

2009-02-26 Thread Noam
Anyone? On Feb 25, 7:39 pm, Noam noam.ha...@gmail.com wrote: Hello everyone, I have a checkboxpreference called passProtect. When the user clicks on it, I want it to run a method someMethod. How do I get it to do that? Thanks, Noam

[android-developers] Re: Nice Settings Management?

2009-02-25 Thread Noam
is this happening? Thanks, Noam. --~--~-~--~~~---~--~~ 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 android

[android-developers] CheckBoxPreference onClick Problems (Really Easy)

2009-02-25 Thread Noam
Hello everyone, I have a checkboxpreference called passProtect. When the user clicks on it, I want it to run a method someMethod. How do I get it to do that? Thanks, Noam. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Nice Settings Management?

2009-02-22 Thread Noam
that? Thanks, Noam. --~--~-~--~~~---~--~~ 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 android-developers

[android-developers] How to send Email??

2009-02-21 Thread Noam
Hello everyone, I have found this K9 source code, but I'm looking for the actual piece of code that actually sends the email. http://k9mail.googlecode.com/svn/k9mail/trunk/ Can anyone help me? Thanks, Noam. --~--~-~--~~~---~--~~ You received this message because

[android-developers] Re: Send SMS to Email

2009-02-17 Thread Noam
Does anyone please know how to do it? --~--~-~--~~~---~--~~ 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,

[android-developers] Re: Send SMS to Email

2009-02-17 Thread Noam
Ok. Thanks. --~--~-~--~~~---~--~~ 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

[android-developers] Send SMS to Email

2009-02-16 Thread Noam
to any character, even n, it tells me a java.lang.StringIndexOutOfBoundsException. Is there any way to trick it so that it will let me send to an email? Thanks, Noam. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: Send SMS to Email

2009-02-16 Thread Noam
I know that this would work because if I send an SMS on my Verizon Razor V3m to an email address, it gets sent to that email address. There has to be a way to do this with the Android. --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[android-developers] EditText (textbox) to String

2009-02-15 Thread Noam
that this line is the problem: trackname = (String) tracknametext.getText().toString(); Why is this happening? What's the correct way to convert this to a String? Thanks, Noam. --~--~-~--~~~---~--~~ You received this message because you

[android-developers] EditText (textbox) to String

2009-02-15 Thread Noam
Hello everyone, I am trying to take an EditText textbox that I set in my XML (named tracknametext) and turn it into a String. What is the code to do this? Thanks, Noam. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Sending Emails

2009-02-15 Thread Noam
Hello everyone, I am looking for a way to send an email from a specified email (that I predefine the username, password, etc.) to a different specified email that I have in the string: String email = exam...@domain.com; Thanks, iloveisrael. --~--~-~--~~~---~--~~

[android-developers] Send Email

2009-02-15 Thread Noam
Hello everyone, I am looking for a way to send an email from a specified email (that I predefine the username, password, etc.) to a different specified email that I have in the string: String email = exam...@domain.com; Thanks, Noam. --~--~-~--~~~---~--~~ You

[android-developers] Intent.ACTION_SEND doesn't work?

2009-02-15 Thread Noam
Hello everyone, When I use this line of code, in the editor, I get an error (Intent.ACTION_SEND cannot be resolved): Intent sendIntent = new Intent(Intent.ACTION_SEND); Why is this happening? Thanks, Noam. --~--~-~--~~~---~--~~ You received this message because

[android-developers] No applications can perform this action.

2009-02-15 Thread Noam Habot
); sendIntent.putExtra(Intent.EXTRA_SUBJECT, somesubject); sendIntent.putExtra(Intent.EXTRA_TEXT, emailBody); startActivity(Intent.createChooser(sendIntent, Email sent.)); Thanks, Noam. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Sending Emails

2009-02-15 Thread Noam
Hello everyone, I am looking for a way to send an email from a specified email (that I predefine the username, password, etc.) to a different specified email that I have in the string: String email = exam...@domain.com; Thanks, iloveisrael. --~--~-~--~~~---~--~~

[android-developers] Send Email (Not from User's Account)

2009-02-15 Thread Noam
Hello everyone, I am looking for a way to send an email from a specified email (that I predefine the username, password, etc.) to a different specified email that I have in the string: String email = exam...@domain.com; Thanks, Noam. --~--~-~--~~~---~--~~ You

[android-developers] No applications can perform this action. error

2009-02-15 Thread Noam Habot
); startActivity(Intent.createChooser(sendIntent, Email sent.)); Do I need to install some mail app from it? I tried the K9 email app, installed it with adb, but I don't see any changes. Do I need to do something other than installing? Or is there another good program for it? Thanks, Noam

[android-developers] No applications can perform this action. error.

2009-02-15 Thread Noam
(Intent.createChooser(sendIntent, Email sent.)); Do I need to install some mail app from it? I tried the K9 email app, installed it with adb, but I don't see any changes. Do I need to do something other than installing? Or is there another good program for it? Thanks, Noam

[android-developers] Re: No applications can perform this action. error.

2009-02-15 Thread Noam
Anyone? --~--~-~--~~~---~--~~ 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

[android-developers] Re: No applications can perform this action. error.

2009-02-15 Thread Noam
Thanks Marco, but it still doesn't work. Does anyone know why? --~--~-~--~~~---~--~~ 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

[android-developers] Re: How to use built in email application to send email from my application?

2009-01-03 Thread Noam Wolf
Is there a way to actually send the email without having the user choose an email client and hitting send? (without using a network connection and having a server do it on the back end) On Jan 3, 7:11 pm, Abraham Lincoln mehtabhave...@gmail.com wrote: This doesn't seem to work for regular text

[android-developers] Re: Strange behavior with AlarmManager.RTC_WAKEUP and PowerManager.WakeLock

2008-12-05 Thread Noam Wolf
I was setting my AlarmManager in the wrong place, namely an onXxx event. What i did was set the AlarmManager on a user action (like save or whatever) and that solved my problem. Check it out Applications Tools ClockApps On Dec 5, 2:56 am, Jon Colverson [EMAIL PROTECTED] wrote: On Dec 5,

[android-developers] Re: OutOfMemoryError when switching orientation

2008-12-02 Thread Noam Wolf
Ok I figured this out with the help of the great DS. Basically the image was too large and the phone was chocking on it. So instead i'm using the BitmapFactory to get a smaller size of the image, no more outOfMemory errors! On Dec 1, 8:50 pm, Noam Wolf [EMAIL PROTECTED] wrote: Here is what I

[android-developers] Re: Strange behavior with AlarmManager.RTC_WAKEUP and PowerManager.WakeLock

2008-12-02 Thread Noam Wolf
ping... anyone? On Nov 29, 12:15 pm, Noam Wolf [EMAIL PROTECTED] wrote: I have a BroadcastReceiver which acquires a lock onReceive.  I use an alarm manager with AlarmManager.RTC_WAKEUP set to broadcast my intent.  I have found that when the phone is locked (and asleep) it will not wake up

[android-developers] Re: OutOfMemoryError when switching orientation

2008-12-01 Thread Noam Wolf
I'm not explicitly passing context around at all but I am using a ContentProvider which calls getContext()... is that something I should be handling too? On Dec 1, 1:23 am, Romain Guy [EMAIL PROTECTED] wrote: Always delete references to Context or anything that you passed the context to on

[android-developers] Re: OutOfMemoryError when switching orientation

2008-12-01 Thread Noam Wolf
... any ideas? On Dec 1, 11:29 am, Noam Wolf [EMAIL PROTECTED] wrote: I'm not explicitly passing context around at all but I am using a ContentProvider which calls getContext()... is that something I should be handling too? On Dec 1, 1:23 am, Romain Guy [EMAIL PROTECTED] wrote: Always delete

[android-developers] Re: AlarmManager not always waking device (using RTC_WAKEUP)

2008-11-30 Thread Noam Wolf
Thanks for your response Dianne. This is the code I use to setup the alarmManager (from MyActivity): Intent intent = new Intent(MyActivity.this, MyBroadCastReceiver.class); PendingIntent sender = PendingIntent.getBroadcast (MyActivity.this, 0, intent, 0);

[android-developers] Re: AppMarket: does changing title/description of an app wipe out ratings and reviews?

2008-11-30 Thread Noam Wolf
I don't see this any longer even though I still see the alert when I do update. On Nov 4, 12:45 pm, atrus123 [EMAIL PROTECTED] wrote: IIRC, you can change the title/desc without it wiping out ratings, etc. I hope Google fixes this soon.  I try and do frequent updates for my users, and I

[android-developers] Re: OutOfMemoryError when switching orientation

2008-11-30 Thread Noam Wolf
I'm seeing the exact same error only I'm not even storing an image. I have an ImageView that loads an image from the users picture gallery on the phone, once the image is loaded using setImageUri() when I change orientation I get the exact same error songs described. I don't understand what's

[android-developers] Strange behavior with AlarmManager.RTC_WAKEUP and PowerManager.WakeLock

2008-11-29 Thread Noam Wolf
I have a BroadcastReceiver which acquires a lock onReceive. I use an alarm manager with AlarmManager.RTC_WAKEUP set to broadcast my intent. I have found that when the phone is locked (and asleep) it will not wake up sometimes, and when it does many times it will have a delay (up to 30 seconds

[android-developers] Re: AlarmManager not always waking device (using RTC_WAKEUP)

2008-11-29 Thread Noam Wolf
Hi Adam, Have you figured this out? I'm seeing something similar. Basically I acquired the lock at the start of the onReceive() in my receiver and release it when it's done doing it's work. I still dont' see the phone waking up correctly... On Nov 19, 12:56 am, Adam K [EMAIL PROTECTED]

[android-developers] Hiding view elements

2008-11-28 Thread Noam Wolf
I was wondering if there was an equivalent to css' display: none in android. My goal is to have a fluid UI that if certain elements are hidden from it all other elements shift into the void. Any way to achieve this? view.setVisibility is holding the width and height of the invisible element,

[android-developers] Re: WindowManager$BadTokenException: Unable to add window -- token null is not for an application

2008-11-28 Thread Noam Wolf
Is this something new? I wasn't seeing this behavior before yesterday's update. Any idea on how to get around it? On Nov 26, 12:33 pm, Ash [EMAIL PROTECTED] wrote: Hello super smart people, I've got a strangle little bug to test you. I have an application that tries to display an RTSP video

[android-developers] Re: Hiding view elements

2008-11-28 Thread Noam Wolf
PERFECTION. Thank you! On Nov 28, 11:41 am, Mark Murphy [EMAIL PROTECTED] wrote: Noam Wolfwrote: I was wondering if there was an equivalent to css' display: none in android.  My goal is to have a fluid UI that if certain elements are hidden from it all other elements shift into the void

[android-developers] Re: WindowManager$BadTokenException: Unable to add window -- token null is not for an application

2008-11-28 Thread Noam Wolf
I think it existed before the update too. The way I get around it is kind of stupid, right now i'm wrapping the call to show with a try/ catch. That way when the activity is running/alive it will work, otherwise it will die quietly. On Nov 27, 3:09 pm, Noam Wolf [EMAIL PROTECTED] wrote