Hello Xavier,
make sure you have the libs project in your library project (even if
it's empty)
this fixed my ant builds from terminal, but not from Eclipse.
I have added my buildfiles to Ant eclipse page, but now clicking the
run button gives the same NullPointer problem.
Is there a way to
Hi Dmitri,
Cursor cursor = mResolver.query( Data.CONTENT_URI,
new String[]{Event.DISPLAY_NAME, Event.DATA},
Data.MIMETYPE + = + Event.CONTENT_ITEM_TYPE + AND + Event.TYPE +
= + Event.TYPE_BIRTHDAY,
I use a similar code, and I can retrieve data edited using Google
Contacts on the
because you're one of the top developers in Android Market with one or
more of your applications having a 3.5 star or higher rating and more
than 5,000 unique downloads.
sigh, my rating is at 3.2 stars :-(
and it depends mostly on users who did not understand what the
programs are doing or
Hi Ward,
and also (a la J2ME) modify some of the source files before we
compile them. We also make different modifications depending on
whether it is a debug or release build.
how do you modify source code from ant scripts?
I'd like to preprocess my souce code, but I don't see a clean way
Hi Brian,
unfortunately I don't have a 2.0 phone, and the emulator does not have
working authenticators.
-- ...I try to add a contact programatically using the
ContactsContract API. What happens? This I'm not completely clear
on. If you use the RAW_CONTACTS uris, I suppose you [must?]
Hi,
When you navigate to Contacts-[menu]-Accounts-AddAccount or
Settings-Accounts sync-Add Account does your custom account type
appear? If not, this is probably your next milestone. I achieved
this by reading the code in packages/apps/Email/, which is a far cry
thanks for pointer.
But
Hi,
You need two meta-data entries:
ah, I wonder why I didn't do this... maybe being around midnight does
not help ;-)
See the (limited) sync adapter documentation for details on preparing
res/xml/syncadapter_description.xml.
very limited.
Of course the original question still stands:
Hi,
found the same problem here. Even this kind of code fails:
Configuration config = context.getResources().getConfiguration();
config.locale = newLocale;
context.getResources().updateConfiguration(config,
Hi Dianne,
No, changing the application's locale like this is not supported, and will
not entirely work.
yes, you need to restore locale on screen rotation or activity change,
but this easy to do.
It shouldn't cause an activity to restart though...
actually I can't imagine how this would
Hi,
I'm looking for a way to power off the device screen. I found the
PowerManager class, but I see it can be used only by system apps.
Is there some other way to achieve this?
thanks,
Yuri
--~--~-~--~~~---~--~~
You received this message because you are
10 matches
Mail list logo