A mock GPS setup was not allowed I believe for the challange.
On Apr 15, 4:50 pm, rcs <[EMAIL PROTECTED]> wrote:
> Google folks,
>
> My team submitted an app last night, but didn't submit the mock GPS
> locator we'd created for it; is there a way to add that after the
> deadline, or is that not a
I want to have a button at the bottom of a ListView and all is working
well except when the list is empty and I have an android:empty
TextView displayed.
Since I can only have one layout_below I have to choose from
android:list and android:empty. I am not aware of a way to have more
than one.
It
Thank you both. Seems to be working perfectly now.
On Apr 14, 7:06 am, Hielko <[EMAIL PROTECTED]> wrote:
> The simple solution is to call getListView().invalidateViews().
>
> On Apr 14, 7:41 am, SnowDrifter <[EMAIL PROTECTED]> wrote:
>
> > I can'
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]> wrot
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 writ
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 rec
If you are using onListItemClick it will give you the ListView for
that selected item which you can access as a view if you cast it to
whatever view you are using or use the id passed to index into your
cursor and get the data out.
TextView text = (TextView)(l.getChildAt(position));
On Apr 13, 4
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 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 i
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, "Fr
;
}
return false;
}
});
I really appreciate this!! Thanks Hielko !!!
On Apr 12, 5:29 pm, SnowDrifter <[EMAIL PROTECTED]> wrote:
> How is this done? I am not having any problems setting S
pm, Hielko <[EMAIL PROTECTED]> wrote:
> The best approach is to let your ListActivity implement the ViewBinder
> interface, and set your checkbox in the setViewValue method.
>
> On Apr 13, 12:52 am, SnowDrifter <[EMAIL PROTECTED]> wrote:
>
> > I am having troubl
I am having trouble updating the state of a Checkbox inside a
SimpleCursorAdapter. I want to update the checkbox to reflect some
data in my DB at the start of my ListActivity. My Layout is as
follows:
http://schemas.android.com/apk/res/
android"
android:orientation="vertical"
android:lay
I guess the only other choice is to use a cursor adaptor and bind it
to the data. That requires some changes that I don't want to have to
do this close to the deadline.
On Apr 11, 5:02 pm, SnowDrifter <[EMAIL PROTECTED]> wrote:
> After looking at the Activity lifecycle I am not sur
If you changed over from a previous version make sure you delete your
image file in (probably):
C:\Documents and Settings\YourName\Local Settings\Application Data
\Android
Delete the.img file and try again. I had issues with the old img file
messing stuff up. If your background is the mountainsc
After looking at the Activity lifecycle I am not sure if there are any
other places I can put this update. Anyone have any ideas?
On Apr 10, 9:50 pm, SnowDrifter <[EMAIL PROTECTED]> wrote:
> I also tried using the getListView, which seems like the right thing
> to use but at onStar
I also tried using the getListView, which seems like the right thing
to use but at onStart it reports that it has views (when getCount is
called) but all of the children are null. I also tried it at
onContentChanged with no luck.
On Apr 10, 9:20 pm, SnowDrifter <[EMAIL PROTECTED]> wrot
I started here:
http://code.google.com/android/intro/index.html
download Eclipse and install the android package as instructed in the
documentation above. using Eclipse will help you with setting up
applications and your manifest.
Enjoy!
On Apr 10, 6:33 pm, WildLuka <[EMAIL PROTECTED]> wrote:
>
I have a list adapter with the following view:
and I want to set the checkbox to clicked or not based off the state
of a list of objects like so:
ListAdapter tempListAdapter = this.getListAdapter();
//setup the checkboxes to reflect the data
for(int idx = 0
Same here if I hit a breakpoint before I start another activity it
does the same thing. broadcast null.
I think it is because it queues up a bunch of updates while the
breakpoint is stopped and even though you have unregistered your
reciever you still get everything in the queue.
On Apr 8, 10:39
mething like...
>
> select child.* from child join association on child.guid =
> association.child_guid where association.parent_guid = ?
>
> And of course, you should change child.* to be whatever columns you
> need and the ? should be your particular parent guid.
>
> On Apr 6, 10:24 am, Sno
I am trying to figure out how to create a where clause (I think that
is what I need) to filter one table with the data from another table.
I have three tables. One is for "parents" one is for "children" and
one is for associations between these two tables. The way I have done
this is using GIUD i
I usually close down eclipse, kill the adb process and the emulator
(make sure eclipse isn't still hanging, kill it if it is).
I would suggest using sysinternals process explorer to find and kill
your processes. I use it ALOT while developing in android :).
On Apr 6, 8:18 am, sasperilla <[EMAIL
Apr 4, 2:19 am, xingye <[EMAIL PROTECTED]> wrote:
> here is the demo code what you want.
>
> http://code.google.com/p/sharepath
>
> just checkout the source code, the checkable list in choosebuddy.java.
>
> On 4月4日, 上午10时57分, SnowDrifter <[EMAIL PROTECTED]> wr
I have a ListView that contains a list of checkbox and text pairs. I
am having trouble figuring out how to access the data in the checkbox
or get an onclick from the checkbox since there are n of them and I
can't exactly give each one an ID.
This has been posted before but nobody had a solution:
25 matches
Mail list logo