[android-developers] Re: Android sqlite unable open database problem

2010-02-01 Thread Per Sandström
you could simplify your code by using openOrCreateDatabase (DATABASE_NAME, Context.MODE_PRIVATE, null); instead. :) Maybe then the problem will resolve itself. Cheers, Per Sandström On Jan 29, 5:52 pm, Josema jose.maria.estr...@gmail.com wrote: Hi, im doing debug with my mobile. My code works

[android-developers] Re: Displaying Virtual Keyboard without expanding EditText

2010-01-28 Thread Per Sandström
I think this works: InputMethodManager inputMethodManager = (InputMethodManager) getSystemService( Context.INPUT_METHOD_SERVICE ); inputMethodManager.showSoftInput ( yourEditText, InputMethodManager.SHOW_FORCED ); you might have to force the

[android-developers] Re: Copy Protection

2010-01-25 Thread Per Sandström
After turning off copy protection and losing db and local files, are there any way to restore them? Regards, Per Sandström On Jan 15, 6:10 am, Kumar Bibek coomar@gmail.com wrote: Hi Andrei, If you don't care about dev phones downloading your app, and ripping apart your db and local files

[android-developers] Re: Stack trace does not reference application

2009-12-23 Thread Per Sandström
: This is a known bug in the platform. 2009/12/16 Per Sandström pg.sandst...@gmail.com: So I have an app on the market with 10k active users. I have recieved maybe 50complaints from Droid-user that the program crashes arbitrarily. I have not been able to replicate the error with my own droid, but I got

[android-developers] Stack trace does not reference application

2009-12-16 Thread Per Sandström
So I have an app on the market with 10k active users. I have recieved maybe 50 complaints from Droid-user that the program crashes arbitrarily. I have not been able to replicate the error with my own droid, but I got one of the to send me this crash log. However, it does not reference the

[android-developers] Emulator closes when attempting to enter full screen mode

2009-12-11 Thread Per Sandström
If I am in the emulator and press alt+enter to get full screen, the emulator closes and the following output is written in the console: [2009-12-11 15:01:00 - Emulator]### Error: could not create or resize SDL window: No video mode large enough for 1050x1680 Note that I have my monitor flipped

[android-developers] Something wrong here error message

2009-11-27 Thread Per Sandström
I have had a few reports coming in from Droid-users using my apps and getting this error message: 11-25 16:17:44.589 W/UsageStats( 1015): Something wrong here, didn't expect (package name) to be resumed Everytime I have got an error description for this, I have never been able to reproduce the

[android-developers] Changing the factory reset-state

2009-11-24 Thread Per Sandström
. Is there any documentation on how to do this? I see this as something very important for Android to be used in these contexts. Relying on the personell to configure and care for the settings of their phone is not an option in this case. Cheers, Per Sandström -- You received this message because you

[android-developers] Re: Our app is not visible on market for some devices

2009-11-23 Thread Per Sandström
I have seen other discussions where is seems as if the general consensus is that the market is bugged. Apps will simply arbitrarily not show for some phones. Our company has suffered the same way, and I have yet to find a solution. Two exact identical phones, both had just been factory

[android-developers] signal when image is rendered?

2009-09-04 Thread Per Sandström
I have a function that performs two things: First it should set an invisible image to be visible, and then it should read a huge shunk of data from a database. Performing this is easy, but my problem is that android threads this, resulting in a delay of almost a second before the image becomes

[android-developers] Log in to google account without browser?

2009-09-03 Thread Per Sandström
Hi, Im currently trying to combine android and google apps engine for a real neat application, not unlike http://3banana.com/. However I want to enable the user to login to his google account without opening the browser. I have made some attempts to just simulate the http-posts done, but to no

[android-developers] change color of fading edge in listview

2009-08-07 Thread Per Sandström
i have a listview with a very white layout. Thus I wish the fading edge was black, instead of white as it is right now. How can I change this? As far as I can see it cant be done in xml... --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] Re: Sharing data between activities

2009-08-05 Thread Per Sandström
thanks man, that is an excellent way of explaining so even an android- beginner can understand. Is there a similar way of returning data to the first activity when the second activity has finished running, corresponding to javas return value1;? Regards Per Sandström On 4 Aug, 17:44, powerbyte

[android-developers] Re: Sharing data between activities

2009-08-04 Thread Per Sandström
but how do I create and pass this global object? I cant do it like I do in java or other programming languages where . AIDL is an alternative, but it still seems overkill for a small app. regards Per Sandström On Jul 22, 10:50 pm, niko20 nikolatesl...@yahoo.com wrote: On Jul 22, 1:19 pm, Roman

[android-developers] Sharing data between activities

2009-07-22 Thread Per Sandström
a pointer to Object1? To summarize: Activities don't have constructors! How do I send data to them from their parent activity??? Regards, Per Sandström --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: using touch screen to draw a straight line

2009-04-14 Thread Per Sandström
Here is another bug in the code: if(i == 0) { static_x = event.getX(); static_y = event.getY(); i = 1; } else { static_x1 = event.getX(); static_y1 = event.getY();