[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-02 Thread Mark Anacker
So far, it looks legit, and will be a huge help in updating established apps for the newer phones. The guys at Google should be painfully sensitive to the skepticism and caution a lot of people are showing, what with recent events. So I'm remaining guardedly optimistic until a phone arrives. *Th

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-02 Thread Mark Anacker
Well, if nothing else, Google should now be on the lookout for potential fraudulent activity involving developer account and order numbers. Especially originating out of China :-) Although it would be nice to think that they would have someone in a Security role who could jump on this sort of thi

[android-developers] Re: How to know it's week when input random date?

2009-05-18 Thread Mark Anacker
On May 18, 6:11 pm, daehoon wrote: > Hi~~ everyone. > 1. > how to get it's week when we know a date, not current date. > if I input 5-22, return Friday. Use the java.util.Date class to get the day of the week for any date > 2. > If I input 2 dates, 5-19 & 6-20, how to know  how many days betw

[android-developers] Re: sdcard - remaining space

2009-05-07 Thread Mark Anacker
search this forum for android.os.StatFs() On May 7, 10:50 pm, Sheado wrote: > hello, > > sorry if this has already been answered (hard to search for this > one).. > is there any way to detect remaining space on the sdcard through the > API? I prefer not to make native or shell calls. > > Thank

[android-developers] Re: how to set EditText 's password attribute in the code

2009-05-06 Thread Mark Anacker
look at the setTransformationMethod() - for instance, to turn password mode on: myEditText.setTransformationMethod (android.text.method.PasswordTransformationMethod.getInstance()); On May 5, 7:17 pm, rain wrote: > There's a "password" attribute  in the xml file , but i want set the > password

[android-developers] Re: Timer Help (Time Stamp my code)

2009-04-24 Thread Mark Anacker
Well, you could grab the System.nanoTime() value at the start of the block, again at the end, and subtract... On Apr 24, 9:43 am, mcmc wrote: > Hi, I'm trying to put a timer in my code to determine the amount of > time it takes to execute a block of code. > > I've tried googling up some ideas,

[android-developers] Re: how to check if sdcard is mounted in program

2009-04-16 Thread Mark Anacker
Or, as code: if ( !android.os.Environment.getExternalStorageState().equals (android.os.Environment.MEDIA_MOUNTED) ) { ... SD card is not mounted } works perfectly... On Apr 16, 9:37 pm, Jean-Baptiste Queru wrote: > Environment.getExternalStorageState() > > JBQ > > On Thu, Apr 16, 2009 at 9

[android-developers] Re: Picture Taking application

2009-04-14 Thread Mark Anacker
Tell me about it. I have a camera app (LokPixLite) that's dead solid on both the ADP1 and Emulator. Never crashes, no matter what I throw at it. So I release it into the wild, and people start complaining that they're getting Force Closed a lot. So the G1 is definitely doing something differen

[android-developers] Re: Fails to connect to AP(which didn't support DHCP Service)

2009-03-18 Thread Mark Anacker
The 169.254.x.x IP is a Windows convention - and usually causes more trouble than it's worth. It doesn't appear that this version of the system (or the configuration UI at least) supports a static IP address for the WiFi interface. The underlying Linux does, of course. But without the proper UI