[android-developers] Re: Disappearing Alarms

2010-08-16 Thread JP
You may also want to look into wake locks: http://developer.android.com/intl/de/reference/android/os/PowerManager.html to help avoid your service getting snoozed by the system. On Aug 15, 12:13 pm, Pent tas...@dinglisch.net wrote: Yeah I was thinking the thing was being killed at first, but I

[android-developers] Pros/cons of multiple activities in an app vs. one activity, multiple views

2010-08-16 Thread David
Are there design guidelines to help decide if an application with multiple views should be designed with multiple activities or just one activity and control the back button itself. I've tried both. My most complex applications using one activity per screen. However, now that I'm successfully

[android-developers] Re: Do we need to call System.gc() ?

2010-08-16 Thread Bob Kerns
I recommend reading Effective C++ -- and then avoiding C++ entirely. You get the best of both worlds that way. :=) (As an experienced C++ programmer, I claim that if you advocate C++ as a primary programing language -- you don't know C++ as well as you think you do! But if you're going to use it

[android-developers] Traceview, permissions, and java.lang.RuntimeException: file open failed

2010-08-16 Thread James Moore
I'm calling Debug.startMethodTracing(fnord) and I'm getting a java.lang.RuntimeException: file open failed message. It looks like I'm supposed to have the android.permission.WRITE_EXTERNAL_STORAGE permission set. But how do you set that permission when you're debugging through Eclipse? Aren't

[android-developers] Re: On screen orientation changes activity restarted.

2010-08-16 Thread pramod.deore
Oh In many application I am facing this problem but because of you now it is solved. Thanks to Martins, Tonny, Alan,Namrata, and MATT. After closing the activity tag configChanges attribute my problem is solved. when I write android:configChanges=orientation then also onCreate () method is

Re: [android-developers] Traceview, permissions, and java.lang.RuntimeException: file open failed

2010-08-16 Thread Dianne Hackborn
It is much easier to use the adb shell am command to start and stop profiling in a process. Run the command without arguments to get help text. The file you give when profiling can be on the sd card, because the am command takes care of opening it and it has permission to access the SD card.

Re: [android-developers] Pros/cons of multiple activities in an app vs. one activity, multiple views

2010-08-16 Thread Mark Murphy
On Mon, Aug 16, 2010 at 11:38 PM, David enki1...@gmail.com wrote: What advantages of multiple activities am I missing? 1. Android can incrementally reclaim RAM by getting rid of activities that are not being used, so other applications can run. Your approach makes that difficult, so unless

Re: [android-developers] Pros/cons of multiple activities in an app vs. one activity, multiple views

2010-08-16 Thread Frank Weiss
It probably matters more what you are trying to do. If you are trying to subvert Andriod's activity model, you may run into problems. If the views are actually views of the same activity, you're OK. What would be views of the same activity? Projections, selections, sorts, text vs graph, etc. --

[android-developers] Re: AutoCompleteTextView

2010-08-16 Thread Rahul Garg
Hi I think you have to override the Key method and as soon as you get that DONE event you can use InputMethodManager imm = (InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE); imm.hideSoftInputFromWindow(myEditText.getWindowToken(), 0); I am not sure whether it will match your

Re: [android-developers] Re: AutoCompleteTextView

2010-08-16 Thread Mitesh Infocus
http://www.infocuswebdesigning.com/ On Tue, Aug 17, 2010 at 10:24 AM, Rahul Garg rahul.lnm...@gmail.com wrote: Hi I think you have to override the Key method and as soon as you get that DONE event you can use InputMethodManager imm =

Re: [android-developers] Re: Do we need to call System.gc() ?

2010-08-16 Thread Mitesh Infocus
http://www.infocuswebdesigning.com/ On Tue, Aug 17, 2010 at 9:23 AM, Bob Kerns r...@acm.org wrote: I recommend reading Effective C++ -- and then avoiding C++ entirely. You get the best of both worlds that way. :=) (As an experienced C++ programmer, I claim that if you advocate C++ as a

Re: [android-developers] Direction information in android MapView

2010-08-16 Thread Mitesh Infocus
http://www.infocuswebdesigning.com/ On Mon, Aug 16, 2010 at 11:51 PM, Ajmer singh ajmer.si...@evontech.comwrote: Hi I want to show the direction information in my app.Direction from one address to the another using Google maps and also wanted to set overlays at the starting address and the

Re: [android-developers] How to use the httpdelete on a list?

2010-08-16 Thread Mitesh Infocus
http://www.infocuswebdesigning.com/ On Mon, Aug 16, 2010 at 4:46 PM, Sara Khalatbari saracom...@gmail.comwrote: Hi all, Say the server is providing you with an xml list which looks like this: shoppingList counter0/counter - meta id1/id nameUnknown owner/name ownerRandomly generated

Re: [android-developers] facing loading binding oepngles texture in my Augmented reality program....

2010-08-16 Thread Mitesh Infocus
http://www.infocuswebdesigning.com/ On Mon, Aug 16, 2010 at 9:19 AM, Rassall Jubair rassall.jub...@gmail.comwrote: Last copule of days, I am trying to load a texture image(.bmp) inside my Augmented Reality (AndAR) application's coding.but every time white texture come to screen on marker.here

Re: [android-developers] Emulator shortcomings regarding the touchscreen interaction

2010-08-16 Thread Mitesh Infocus
Your all Solution here : http://www.infocuswebdesigning.com/ On Sun, Aug 15, 2010 at 1:41 AM, Mihael mihael.ku...@gmail.com wrote: Obviously it is not the same to test the application in the emulator with the mouse or even touchscreen opposite to the real device. My question is, how would

Re: [android-developers] Problems drawing a translucent Path on a SurfaceView

2010-08-16 Thread Mitesh Infocus
Your all Solution here : http://www.infocuswebdesigning.com/ On Sun, Aug 15, 2010 at 2:20 PM, Niklas niklas.backl...@gmail.com wrote: Hi, I'm having some trouble with the following code: paint.setColor(Color.WHITE); paint.setStyle(Paint.Style.STROKE); paint.setAlpha(100);

Re: [android-developers] Direction information in android MapView

2010-08-16 Thread Ajmer singh
Hi Can you please let me know how to do that in android. On Tue, Aug 17, 2010 at 12:08 AM, TreKing treking...@gmail.com wrote: On Mon, Aug 16, 2010 at 1:21 PM, Ajmer singh ajmer.si...@evontech.comwrote: Is there any classes in android too do that. Nope, though are probably ways to invoke

Re: [android-developers] Re: iPhone like tab

2010-08-16 Thread Rocky
Thanks for replay... let me try once again.. On Tue, Aug 17, 2010 at 3:14 AM, RichardC richard.crit...@googlemail.comwrote: Have a look at TabHost: http://developer.android.com/reference/android/widget/TabHost.html and the tab samples in ApiDemos (in the SDK) TabHost (the container for the

Re: [android-developers] Email client with Exchange /or Lotus Domino mail server

2010-08-16 Thread Rocky
Exactly I want like K9 mail, from where i can access the source code of K9 2010/8/17 Kostya Vasilyev kmans...@gmail.com Might want to look at K9 Mail. It's open source, and is based on the standard Android email client (not Gmail). -- Kostya Vasilyev -- http://kmansoft.wordpress.com

[android-developers] Google Nexus ONE

2010-08-16 Thread Sattanaathan Ravi
Hi everbody, i am an android developer from India and i was excited to order an Nexus ONE but untill the shipment form said it can only deliver Nexus ONE to the countries listed in the DropDownbox but Unfortunately India was not not the List does that mean nobody from India Gets a Google Nexus

<    1   2   3