Thanks for the help, Kostya.
The getScrollY() didn't work, but it got me started to find out a way
that I could save the pixel offset of the top ListView row. And I got
it. It's something like this:
@Override
protected void onPause() {
super.onPause();
this.firstVisiblePos
This is driving me crazy!
I have two applications with this problem, and I'm about to give up.
I'm out of ideas.
In these applications, I've constructed a pattern for the ListView
very similar to the Gmail app. I'm fetching information from the
server in small sets, and when a user scrolls down t
I have exactly the same problem as you. It happens in the emulator and
on devices, from 1.6 to 2.2.
I was searching the web for a solution, but found nothing so far.
But it's nice to know that programmatically we can get an accurate
effect. It will get ugly implementing this in the app, but thanks
Wow! Thank you so much, Mark. You really guided me to the right place.
Here is what I come up with:
In the manifest, I have my Activity, let's call it
com.test.disable.TargetActivity, and it is set with one or more intent
filters.
So, during the app execution, somewhere in the code, I can see if
Problem:
I have an Activity with an Intent-Filter that must be always active,
but only when the application is running on devices above Froyo,
Is there a way to:
1. Permanently add Intent-Filters?
or
2. Permanently remove Intent-Filters?
or
3. Make the intent-filter target specifically an SDK
.
>
> May be in th future we can have those, but I don't have an answer to your
> "WHY". :)
>
> On Wed, Oct 20, 2010 at 8:14 PM, Kwisatz wrote:
> > Is there any way of defining a triangle in a shape item though a XML
> > definition?
> > It seem
Is there any way of defining a triangle in a shape item though a XML
definition?
It seems there is only rectangle, oval, line and ring. Why not a
triangle?
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to
s for launching the activity when clicking in the
notification. Now it's working.
On Aug 16, 2:20 pm, Kwisatz wrote:
> Hope you can help me with this, because I've tried EVERYTHING and the
> example in the Google sample code doesn't seem to work.
>
> Scenario:
> - An
Hope you can help me with this, because I've tried EVERYTHING and the
example in the Google sample code doesn't seem to work.
Scenario:
- An account is created in the AccountManager with a valid username
and password.
- A SyncAdapter is present to deal with server syncs, and successfully
authentic
Contacts app. I want to replicate
them. Not use those methods to some other functionality. I think it's
acceptable somehow... no?
As I said... we're desperate! :)
On Jul 29, 9:04 am, Mark Murphy wrote:
> On Thu, Jul 29, 2010 at 4:01 AM, Kwisatz wrote:
> > Is there any way
Is there any way we can access methods annotated with a @hide without
changing the Android source code?
Can we use reflection to do that?
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-develope
Be aware that until now (2.2), there is no way to customize the
Contact UI for creating and editing your custom contact. So, that
pretty much defeats the purpose of synchronizing back to the server
since you can't edit the contact on the device. Unless you have your
own Contacts application or do s
Is there a way to have a sync adapter to synchronize from and to the
cloud?
In the documentation and samples I can only find the cloud-to-device
sync.
And is it also possible to edit contacts from a custom account?
Any help would be appreciated. Thanks.
--
You received this message because you a
Hello,
I also had the same problem and spent an entire day messing with
configurations and sugestions found on Google. No luck at all.
Until I found a solution that seemed ridiculous, but... it worked!
Start the Emulator normally (even from eclipse), and in the GUI go to:
Settings >> Wireless & n
14 matches
Mail list logo