I'm facing exactly the same problem.
I'd also like to reuse an already started activity (A) in the
background
but no luck so far. I haven't tried singleInstance but I tried to set
various
launch flags (Intent.setLaunchFlags) on the Intent being used to
restart A,
however, always a new instance of
Hello everyone,
How can I play a default small 3 second ring?
Thanks,
Noam.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Thats a good question.
The answer is that I _did_ create a richer set of mock geodb data to
replace the geodb file. I added a whole lot of addresses and
locations, and one all location at the end to make my reverse
geocoder work.
In a sense, I did what you're suggesting, but I did while
Hello all, I have to blur an image and I have implemented my own blur
algorithm (gaussian), but it is too slow (I guess it is due to the
emulator and the interpreted nature of the Dalvik VM).
I have found the class android.graphics.BlurMaskFilter but I haven't
been able to apply it successfully
I am trying to compose a view with multiple views inside. A top view with
some text an a button and another one below with a list of items. It kinda
works when I don't surround the interanl views with LinearLayout, but the
list items don't show if I have the internal LinearLayouts like below. Does
I am not sure you are allowed to submit your modified database file
(even if you can I doubt the judges are going to install it).
On Apr 13, 11:16 am, marvin [EMAIL PROTECTED] wrote:
Thats a good question.
The answer is that I _did_ create a richer set of mock geodb data to
replace the geodb
I'm not actually trying to receive them yet, like I wrote in my post.
I just tried sending messages using the usual GTalk desktop client to
Android, which should show the incoming messages.
Hielko wrote:
Receiving GTalk chat messages is not yet fully supported in the
emulator as far as I know.
Check out droid draw. it helps me a lot with this stuff:
http://droiddraw.org/
I think I would remove the LinearLayout around the ListView components
to start with. Otherwise it looks ok to me. What are you seeing that
is wrong?
You might give RelativeLayout a look too.
On Apr 13, 4:21 am,
I'm exactly in the same situation, any idea or workaround for this ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
This seems like an easy question but I am trying to get the id (the
index from 0 to x from the top down) of which item I am currently
highlighting in the ListView of a ListActivity.
I thought for sure that getSelectedItemId() was the one to use but
this returns strange information. The top item
Of course as soon as I ask the question I figure it out.
getSelectedItemPosition() is what I was looking for.
My brain is fried from trying to get this challange project done :)
What is getSelectedItemId() returning anyhow?
On Apr 13, 9:40 am, SnowDrifter [EMAIL PROTECTED] wrote:
This seems
that's right, thats's a small regression from the M3 emulator, fixed for the
next release.
you can simply create an empty file instead (e.g. touch data.img) before
using emulator -data data.img, this should work
On Sat, Apr 12, 2008 at 1:55 AM, kobica [EMAIL PROTECTED] wrote:
Hi Folks,
The
I found the problem, my mistake,
it is actually possible to use views the same ways as tables :)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Focusable in touch mode should not be used outside of the framework.
It is meant for very specific widgets that know how to handle this
case.
On Sun, Apr 13, 2008 at 10:04 AM, Ted Hopp [EMAIL PROTECTED] wrote:
A couple of follow-up details. Turning off focusable in touch mode
(while
Marvin, please see
http://groups.google.com/group/android-challenge/browse_thread/thread/4412631fb4d5e285
ADC Judges will not run adb-push. So they will not use the new geodb
file you've created.
If you're planning on making a challenge submission, you may want
to see whether you can
Hi, a couple of my pages have listViews in them.
I've used the following code to set selection within the listview
m_list.requestFocus();
m_list.setSelected(true);
m_list.setSelection(0);
and I've also tried
I'm using a RadioGroup to select from a list of items. When the
activity holding the Group loads, it gets passed an item id, and calls
RadioGroup.check(id). The getCheckedRadioButtonId() returns the
correct id, but the radiobutton itself doesn't show as being selected.
If I click on any of the
This happens when you touch the screen before the ListView shows up.
You are then in touch mode and selection and focus do not exist in
touch mode.
Note that you should not call setSelected(true) on the ListView.
On Sun, Apr 13, 2008 at 1:21 PM, Ram [EMAIL PROTECTED] wrote:
Hi, a couple of
hello again,
I am in a bit of a predicament. I am displaying a list of contacts
from an im roster (no db or content provider). I need to identify
each single list-item, and mail addresses would do the trick for me.
however, how should I go about it ? Mind you, I haven't used a List
activity,
I'm guessing whatever activity you have this xml layout for doesn't
set an adapter for that listview? That would be a null pointer
exception I believe (yes, kind of a bad exception for that).
On Apr 13, 2:14 pm, SQLserver [EMAIL PROTECTED] wrote:
Hello- Here's an exception I keep getting:
hello. Thanks, that solved my problem!
Here's the code I use to connect to the ListView:
String[] Strings = String.split(,, 100);
KKList = (ListView) findViewById(R.id.theList);
KKList.setAdapter(new ArrayAdapterString(this,
I think it'd be KKList.setOnClickListener. But perhaps you want
setOnItemClickListener?
On Apr 13, 2:38 pm, SQLserver [EMAIL PROTECTED] wrote:
Hello-
Here's the code I'm connecting to a ListView with:
String[] Strings = String.split(,, 100);
KKList = (ListView)
ListView lv = (ListView)findViewById(R.id.list2);
lv.setOnItemClickListener(new OnItemClickListener() {
public void onItemClick(AdapterView arg0, View arg1,
int arg2,
long arg3) {
1 last thing-
How would you get the Name/Text of the item clicked?
thanks,
SQlserver
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Hi, I'm using a simplecursoradapter to map a db cursor to a listview
The listview displays n rows for n rows in the cursor.
When the user selects a listview entry, I can use
listview.getSelectedItemId() to get the _id value of the selected
entry.
However, I couldn't find an api to get the text
Okay. So there's some mysterious magic about focusable in touch mode,
and when you say outside of the framework, I take it that I should
interpret that to mean by me. So be it. (Although it's a sad thing
that I apparently can't write an app where the user points at one of
my custom widgets and
Thanks, I found the problem: I need orientation: vertical on the outer
layout. Thanks for the suggestion, I will look at the RelativeLayout.
Fred
On Sun, Apr 13, 2008 at 11:35 PM, SnowDrifter [EMAIL PROTECTED] wrote:
Check out droid draw. it helps me a lot with this stuff:
Thanks snowdrifter, I need capture the text of the selected listview
entry (when someone presses a menu option or a button)
Incidentally the notepad tutorial does an extra query to get the db
value from the selected _id.
However, this seems like a wasteful operation (since the value is
already
If you have the id of the item, you can simple get the text you want
from the database
On Apr 14, 3:20 am, Ram [EMAIL PROTECTED] wrote:
Btw each listview element is bound to two textviews. So I won't be
able to cast the view of the selected item as a textview.
Do you know of a good way to
NVM, I got it.
And I don't understand what's funny..
Noam.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To
I have a value that I am writing to my list via a ViewBinder but I
want to occasionally have it recalculate it's value. Is there a way to
force the ViewBinder to update the values? Preferably without it
disrupting the selection process.
--~--~-~--~~~---~--~~
You
Thanks I had it working already, after figuring out some undocumented
behaviour with the shader Matrix Transform.
http://groups.google.com/group/android-developers/browse_thread/thread/cc8436dc851bc837#
I'm also using a composeShader for some nicehacking :)
On 13 abr, 02:02, Steve Oldmeadow
Well, maybe it's designed to be that way, but most people won't expect
the current setup.
Please do make the Documentation clearer, of the actual effect, RESET
the entire matrix, to Identity scaled by Sx and Sy.
And add the follwing: Warning: Any previous Matrix info, will be
lost.
On 13 abr,
No, I'm just really learning Java and Android... Too bad the ADC is
due tomorrow though, if I had a few more months I'd probably have a
submission.
It appears that arg1 is the text in the item, but it returns in a
cryptic kind of:
[EMAIL PROTECTED]
How can I get the nice text from this
I have tried both:
getListView.requestLayout() and invalidate() neither of which seems to
update it. It is however calling the ViewBinder code so it seems that
it is almost doing the right thing.
On Apr 13, 7:35 pm, SnowDrifter [EMAIL PROTECTED] wrote:
I have a value that I am writing to my
The answer was in my last post.
On Apr 13, 6:50 pm, SQLserver [EMAIL PROTECTED] wrote:
No, I'm just really learning Java and Android... Too bad the ADC is
due tomorrow though, if I had a few more months I'd probably have a
submission.
It appears that arg1 is the text in the item, but it
Whenever you touch the screen, anywhere in the phone, you enter touch
mode for all of the applications. This is the desired and expected
behavior.
On Sun, Apr 13, 2008 at 2:21 PM, Ram [EMAIL PROTECTED] wrote:
OK, thanks, now I see why the listview element is selected/highlighted
some times
Thanks, I can get Class with the code now, but there is another
problem while execute Class.newInstance();
For example, I load a class named: project.plugin.PluginClass, the
class implements a interface named
project.plugininterfaces.PluginInterface.
Then, I use PluginInterface to hold the
reportdatachanged
On 4月14日, 上午9时51分, SnowDrifter [EMAIL PROTECTED] wrote:
I have tried both:
getListView.requestLayout() and invalidate() neither of which seems to
update it. It is however calling the ViewBinder code so it seems that
it is almost doing the right thing.
On Apr 13, 7:35 pm,
I can't seem to find that call. I found a notifyDataSetChanged for
SimpleCursorAdaptor. Is this what you are talking about?
On Apr 13, 10:23 pm, xingye [EMAIL PROTECTED] wrote:
reportdatachanged
On 4月14日, 上午9时51分, SnowDrifter [EMAIL PROTECTED] wrote:
I have tried both:
40 matches
Mail list logo