[android-beginners] ContextMenu Problem - how to resolve these menu items

2010-07-15 Thread kivy
Hi, I am very new to Android. I am trying to build inflate a context menu within the sample GridView provided on the Android dev site. Eclipse tells me that the referenced items cannot be resolved, if someone could help find where I coded s.th. wrong, that would be great because I am stuck at the

Re: [android-beginners] ContextMenu Problem - how to resolve these menu items

2010-07-15 Thread Justin Anderson
I may be wrong but I don't think that item.getItemId refers to a resource id... I may be wrong though because I have never create a menu via XML (though I do almost all other layouts in XML). I usually do the menus in code. What I do is create a constant int variable such as: protected static

Re: [android-beginners] ContextMenu Problem - how to resolve these menu items

2010-07-15 Thread Victoria Busse
Hey Justin, thanks for the reply, I just solved the problem it was within the xml.file ...instead of android:title=@string/Facebook I now use android:title=Facebook and it works perfectly :) On Thu, Jul 15, 2010 at 10:16 PM, Justin Anderson janderson@gmail.comwrote: I may be wrong

Re: [android-beginners] ContextMenu Problem - how to resolve these menu items

2010-07-15 Thread Kostya Vasilyev
Just a guess - the menu XML failed to compile because of a string id with a space in it (Via Bluetooth). 16.07.2010 1:25 пользователь Victoria Busse victoriasarabu...@gmail.com написал: Hey Justin, thanks for the reply, I just solved the problem it was within the xml.file ...instead of