Re: [android-developers] Re: BroadcastReceiver not able to receive events

2013-06-07 Thread gonzobrains
Marco, This works for me but only if I define it in the manifest. Why doesn't it work when I dynamically register the broadcast receiver? Thanks, Jeff On Monday, June 15, 2009 10:09:22 AM UTC-7, Marco Nelissen wrote: > > You need to add: > filter.addDataScheme("file"); > > On Mon, Jun 15, 200

[android-developers] Re: How to catch android.intent.action.MEDIA_MOUNTED

2013-06-07 Thread gonzobrains
your app even if it wasn't started (as long as it was started at least once > and wasn't force closed since the last restart) > > Regarding the list, it doesn't exist... google suck in that aspect. I'm > not even sure there's even a list of all existing events (bot

[android-developers] Re: How to catch android.intent.action.MEDIA_MOUNTED

2013-05-28 Thread gonzobrains
Why must some broadcasts be registered in code while others must be registered in a manifest file? Is there somewhere that lists registration requirements for every broadcast? On Thursday, October 28, 2010 8:53:37 AM UTC-7, Streets Of Boston wrote: > > You'd have to register your broadcaster in

[android-developers] how to interact with phone call

2011-01-25 Thread gonzobrains
Hi, It is possible to programmatically interact with a phone call? Can you, for example, play audio to a caller from a program? Thanks, gb -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-devel

[android-developers] troubleshooting debugger issues

2011-01-20 Thread gonzobrains
Hi, Can anyone recommend how to troubleshoot debugger issues, i.e., why the debugger doesn't always stop at breakpoints or why it seems to randomly disconnect. I often have to stop the emulator and try to start the debugger and emulator again. Sometimes the debugger doesn't seem to re-attach, to

[android-developers] Re: how to remove an item from a listView and arrayAdapter

2011-01-15 Thread gonzobrains
make sure there aren't any gotchas I have missed as a result of taking this approach. Thanks again, gb On Jan 14, 11:24 pm, TreKing wrote: > On Sat, Jan 15, 2011 at 12:48 AM, gonzobrains wrote: > > I have a delete button for each of these items in my list, but I am not > >

[android-developers] how to remove an item from a listView and arrayAdapter

2011-01-14 Thread gonzobrains
Hi, I have a collection of items in an ArrayList. I add them to a customer adapter as follows: this.m_adapter = new MyAdapter(this, R.layout.myitem, itemCart.m_items); I have a delete button for each of these items in my list, but I am not sure how to connect the delete button's onClick() with

[android-developers] Re: problem with listview

2011-01-14 Thread gonzobrains
       @Override > >          public View getView(int position, View convertView, ViewGroup > > parent) > >          { > > >            System.out.println("getView " + position + " " + > > convertView); > > >            View v = convertView; > > >    

[android-developers] Re: problem with listview

2011-01-13 Thread gonzobrains
if (bPrice != null) { bPrice.setText(b.getBookPrice()); } } return v; } } } On Jan 13, 10:35 am, TreKing wrote: > On Thu, Jan 13, 2011 at 3:41 AM, gonzobrains wrote: > > What am I doing wrong? > > Possibl

[android-developers] problem with listview

2011-01-13 Thread gonzobrains
Hi, I tried to make a post about this before but I don't see it in the group for some reason. :/ I am trying to make a list of books, with each book containing two lines of text and a delete button. For some reason when I add books to the adapter they show up in the list twice. What am I doing