[android-developers] AndroidGroup: Nested Actvities

2010-07-09 Thread Anders Widen
Hi! I'm trying to create an application with an persistent menu at the bottom for displaying different Activites. Think of it like a custom tabbed layout. I need the applications to be stand alone so using views won't work (unless I've missed something). I've created a main window using a

[android-developers] Start another application from another package with an Intent

2010-05-06 Thread Anders Widen
I know how to update my own programs, and I know how to open programs using the a predefined Uri (for sms or email for example) I need to know how I can create an Intent to open MyTracks or any other application that I don't know what intents they listen to. I got this info from DDMS, but I

[android-developers] Re: Getting information from webview

2010-05-06 Thread Anders Widen
This seams like a security issue, so I don't think it's made easy if it's possible at all. Ideas: There's something called formData that maybe can be used. You could also read the onScreen keyboard, but that requires a special permission. On 6 Maj, 14:37, absn amitbm...@gmail.com wrote: Hi, I

[android-developers] Re: webview touch problem

2010-05-05 Thread Anders Widen
I found the same behavior when using an onTouchListener and then sending the events to a gestureDetector detecting single/double tap. Sometimes the javaScript would hang and not execute, I would love a more detailed answer on why this problems occur if we could get some dev. love :) On 27 Apr,

[android-developers] Re: SPP bluetooth

2010-04-22 Thread Anders Widen
Not true. HTC phones for example have a different BT implementation than that one of the N1. I havn't pinpointed it yet, but things works differently. They should be the same, cause they're running 2.1 but they're not. Information is hard to come by, but the N1 has the best BT as far as I know.

[android-developers] Re: 2.1 Bluetooth support still needs work

2010-04-21 Thread Anders Widen
I can connect to my PC and send and receive messages using SPP and a terminal program. But restarting doesn't work and the connect doesn't always work either: 1. Restarting (connecting) the program doesn't work without restarting BT (Closing BTStack fails somewhere) 2. Sometimes when connecting,

[android-developers] 2.1 Bluetooth support still needs work

2010-04-20 Thread Anders Widen
Hi! I've been working with bluetooth trying figure things out using the BTChatExample. Without editing BTChat has errors that destroy the functionality. You can only connect the first time, if you connect. Close the program and doesn't restart bluetooth the program crashes. Even if you edit out

[android-developers] Re: USB drivers for HTC Legend ? (or, how to add your own to android_winusb.inf )

2010-04-14 Thread Anders Widen
I need the same thing, how do I modify the drivers to work with Legend. I really need the hardware support to do Bluetooth. On 10 Apr, 13:31, ThomasWrobel darkfl...@gmail.com wrote: Just got a HTC Legend and am very keen to get into Android development (having previously been expirenced with

[android-developers] Databases and Activity life-cycle

2010-03-26 Thread Anders Widen
Hi! I've been a long time reader, and I've had problems with handling databases (open, close, create adapter) within an Activity I think I've figured out the best way to do it so I wanted to share, by writing a small blog post to easily handle code. I would love to hear your thoughts and

[android-developers] Databases and Activity life-cycle (OnCreate -- onResume)

2010-03-24 Thread Anders Widen
Hi! How to best handle databases during the Activity life-cyle? My example: 1. When I start the Activity I want to open the database so I create a new dbAdapter and open it. 2. onCreate calls populateFields and data is read from the database I just opened. The database remains opened because