[android-developers] InstrumentationTestCase.sendKeys() fails on headless emulators

2010-07-10 Thread Matthias
CT_EVENTS permission, process affinity and sharedUserId, but nothing works. This basically makes our test suite useless on a build server, which are typically headless. Is this a bug or are we missing something? Thanks, Matthias -- You received this message because you are subscribed to the Go

[android-developers] Re: InstrumentationTestCase.sendKeys() fails on headless emulators

2010-07-12 Thread Matthias
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+unsubscr...@googlegroups.com For more options,

[android-developers] Spawning dialogs in ActivityUnitTestCase fails

2011-02-08 Thread Matthias
ption the activity window seems to be valid, and clicking buttons and everything works fine. Are dialog interactions generally not possible in ActivityUnitTestCase? Why? Thanks a lot, -Matthias -- You received this message because you are subscribed to the Google Groups "Android Developers&

[android-developers] Re: Spawning dialogs in ActivityUnitTestCase fails

2011-02-08 Thread Matthias
test-case thread)? > > On Feb 8, 11:47 am, Matthias wrote: > > > Hi, > > > we're running into an issue here where in a unit test for an activity, > > we test a dialog that's part of the activity. However, as soon as > > control flow reaches the cal

[android-developers] Re: Spawning dialogs in ActivityUnitTestCase fails

2011-02-08 Thread Matthias
I'm pretty sure it's a bug. When running this directly in the test case, I get the same error: getInstrumentation().runOnMainSync(new Runnable() { @Override public void run() { AlertDialog.Builder b = new AlertDialog.Builder(getInstrumentation()

[android-developers] Re: Spawning dialogs in ActivityUnitTestCase fails

2011-02-09 Thread Matthias
http://code.google.com/p/android/issues/detail?id=14616 On Feb 8, 6:42 pm, Matthias wrote: > I'm pretty sure it's a bug. When running this directly in the test > case, I get the same error: > >         getInstrumentation().runOnMainSync(new Runnable() { >

[android-developers] Re: Emulator crashing with System Tools rev 9

2011-02-10 Thread Matthias
the rev9 emulator is also very unstable for me. Whenever I send a geo fix (from DDMS or telnet), the emulator crashes and reboots. It also randomly reboots when using it sometimes. I wonder if that's related to the same issue the Nexus S has. it's also slower than previous emulators. -- You re

[android-developers] Re: Emulator crashing with System Tools rev 9

2011-02-11 Thread Matthias
just out of curiosity, are you on a Mac? I found the tools to be much less stable on OSX than on Linux (don't know about Windows), although that has gotten a little better (e.g. the adb server used to crash all the time on OSX, and while the crashes are not entirely gone, it has gotten a lot bet

[android-developers] IME options behavior is inconsistent across different devices

2009-06-04 Thread Matthias
Hi, I noticed that the imeOptions attribute on TextViews behaves inconsistently across different devices. For instance, setting imeOptions to "normal" has the following effects: 1) On the emulator and G1s running 1.5: The OSK will have a "Done" key and clicking it will simply close the OSK with

[android-developers] Re: IME options behavior is inconsistent across different devices

2009-06-04 Thread matthias
This is even more messed up than I thought: It seems as if on the HTC Magic, the constant values backing the different IME options are shifted to the right by one (so to speak). That is, if you look at the different options as described in the API docs, then for example setting actionSearch on th

[android-developers] What's the deal with onRetainNonConfigurationInstance()?

2009-06-04 Thread Matthias
I don't really see how it would help. It says in the documentation that this can be used for optimizing performance when the configuration changes, e.g. for passing around objects that are expensive to construct or serialize. However, it is mentioned that this is not a replacement for onSaveInstan

[android-developers] Re: What's the deal with onRetainNonConfigurationInstance()?

2009-06-04 Thread matthias
Hi Mark, On Jun 4, 5:57 pm, "Mark Murphy" wrote: > onSaveInstanceState() is called in cases other than screen rotations > (e.g., activity is being closed up due to low memory), and in those other > cases, onRetainNonConfigurationInstance() is not used at all. yes, but wouldn't it be more clever

[android-developers] Re: IME options behavior is inconsistent across different devices

2009-06-04 Thread matthias
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-develop

[android-developers] Re: IME options behavior is inconsistent across different devices

2009-06-05 Thread matthias
I raised a bug report: http://code.google.com/p/android/issues/detail?id=2882 --~--~-~--~~~---~--~~ 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@googlegr

[android-developers] How to change the state of a stateful drawable?

2009-06-05 Thread Matthias
}); however, the onclick handler always enters the else clause and the dump always prints W P E, which means that the call to setState (checked) has no effect... I guess? What am I missing? Thanks, Matthias --~--~-~--~~~---~--~~ You received this message beca

[android-developers] Re: How to change the state of a stateful drawable?

2009-06-08 Thread matthias
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-develop

[android-developers] Android 1.1 virtual devices don't show up as run targets

2009-06-10 Thread Matthias
Hi, even when setting minSdkVersion to 2, any Android 1.1 virtual device does not appear in the list of run targets when launching the emulator. How come? Cheers, Matthias --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: Android 1.1 virtual devices don't show up as run targets

2009-06-10 Thread matthias
mand line tools, no difference.) > If it's not visible, try to stop and restart your Eclipse tool. I probably restarted Eclipse 20 times since I created them. Didn't help :-) Cheers, Matthias --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: Android 1.1 virtual devices don't show up as run targets

2009-06-10 Thread matthias
I just received a reply via email; the answer is: It's not sufficient to set minSdkVersion to 2, one must also go to project --> settings --> build target and select 1.1 there. That doesn't really help though, because now the resource compiler breaks on any imeOptions attributes, even though thos

[android-developers] TextView always loses focus after orientation change

2009-06-11 Thread Matthias
uring save, but can't be found during restore." Is this a bug? I looked at the mID field of that view, and it's identical for both the portrait and the landscape layout. Thanks, Matthias --~--~-~--~~~---~--~~ You received this message because you a

[android-developers] Re: TextView always loses focus after orientation change

2009-06-12 Thread matthias
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-develop

[android-developers] Re: Android Library sources not found

2012-01-13 Thread Matthias
While Eclipse now finds the sources while debugging, I am still not able to click through to the source of any item referenced from my app project. Does that work for you? ^^ -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this

[android-developers] Re: onConfigurationChanged whielk splash scrren i shown

2010-04-14 Thread Matthias Hog
I solved.. ;) I forgot to set the android:configChanges="orientation" in the AndroidManifest.xml. Never the less, thanks for reading! Best regarts Matthias 2010/4/14 Matthias > Hi, > I implemented a splash screen activity in the following way. > > [...] > >

Re: [android-developers] Country code from Location API

2011-05-19 Thread Matthias Böhmer
Hi, thanks! There are a lot of web services that provide country codes. But I would rather like to do it offline, directly on the device. Is there any possibility to get the country code from any API directly on the device? Am 19.05.2011 um 12:41 schrieb gaurav gupta: > Hi , i can provide u api

Re: [android-developers] Disclaimer in Android Developer Console for Google Play Market

2012-11-27 Thread Matthias Böhmer
> 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+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups

[android-developers] Android Library including source folder

2011-02-11 Thread Matthias Stock
you have another idea on how to include (system independent) java classes into an Android Library project? Thanks for reading. I wasn't able to make it short... Hopefully, I made it clear at least. Btw.: This is for a bachelor thesis, no commercial stuff. Best regards, Matthias -- You received t

[android-developers] Is Google Play In-App Billing mandatory?

2016-06-09 Thread Matthias Schlesinger
Hi, I'm developing an application that includes premium content that requires a subscription. Ideally, I want to handle the subscription process and payments myself. According to this article "Google has [

Re: [android-developers] Multiple IntentServices for one Intent

2012-05-16 Thread Matthias Böhmer
so, is there kind of a best practice so solve this? On May 16, 2012 11:24 PM, "Dianne Hackborn" wrote: > Sorry you can't. You should basically never call startService() or > bindService() with an implicit intent; you will get essentially random > behavior in the service that is found if there ar

[android-developers] Re: adb serving a limited number of devices attached to PC via USB

2011-08-02 Thread Matthias Braun
I am also interested in the maximum number of devices adb can serve. Is there a maximum number at all? Best regards, Matthias -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-

[android-developers] TeamCity and monkeyrunner

2011-09-08 Thread Matthias Braun
eep(5). Stacktrace <http://pastebin.com/JsG1uxT1> Can it be that monkeyrunner and TeamCity don't go along well with each other? If anybody could point me in the right direction I would be very happy. Best, Matthias -- You received this message because you are subscribed to the Goo

[android-developers] Re: TeamCity and monkeyrunner

2011-09-14 Thread Matthias Braun
After a colleague and I have investigated the problem for three days, we could not find the source of this problem. But when we used another PC as the build agent, the issue was gone. We still don't know what caused this NullPointerException. -- You received this message because you are subscrib

<    1   2