I've been looking at a similar problem. Something like this:
Cursor cursor = context.getContentResolver().query(
Contacts.GroupMembership.CONTENT_URI,
new String[]
{Contacts.GroupMembership._ID,Contacts.GroupMembership.PERSON_ID,
, and a
ContentProvider is intended to provide a more abstract mechanism for
accessing it that can remain compatible as those changes occur.
On Tue, Nov 25, 2008 at 7:03 AM, jarkman [EMAIL PROTECTED] wrote:
I've been looking at a similar problem. Something like this:
Cursor cursor
I'm seeing some very strange behaviour from the GroupMembership
provider. I'm trying to filter for the members of a single group, but
(depending on the group ID I filter on) my query results come back
with either too many people (some people appear twice, with group IDs
that should be excluded by
Mark - thanks for the suggestion.
I ended up making a couple of general-purpose CursorWrapper
subclasses, one for joining two providers one for filtering a
provider (with a callback to define the desired rows).
They certainly seem to work, and they make the calling code very tidy.
I do still
I'm looking for the API for access to the Messaging (SMS/MMS)
notificaiton settings, specifically the ringtone vibrate settings.
Analogy with the phone would seem to suggest there should be an API,
but I can't find one. What am I missing ?
Thanks,
Richard
I think you'll need to extend CursorAdapter, and bind the data
yourself in its bindView.
Richard
On Dec 12, 9:59 am, Luke w hit...@gmail.com wrote:
Please look at the image attached, i just want a List looks like that, but
it is not completed, i need the contact icon to placed to the left of
I'd like to launch the Messaging app's preference editor from our app.
I've found the relevant Activity -
com.android.mms.ui.MessagingPreferenceActivity - but when I launch
it as below, I get a security exception.
I can't work out if there is a permission that would make this work,
or if I'm
On Dec 14, 4:23 pm, pjv ezelsping...@gmail.com wrote:
Would you please share your custom solutions (in code) for reuse?
Sure - take a look at jarkman.co.uk/code/
JoiningAndFilteringCursors.zip
There are two CursorWrapper derived classes in there, FilteringCursor
and JoiningCursor.
I'm a bit confused by the saved instance state mechanism.
If I breakpoint in onCreate, run the app, hit the Home button, then
relaunch the app, I typically see a null Bundle passed in to
onCreate.
But, if I (for example) rotate the emulator, I see a non-null Bundle
in onCreate, and the app has
On Dec 15, 9:32 am, jarkman jark...@gmail.com wrote:
I'm a bit confused by the saved instance state mechanism.
If I breakpoint in onCreate, run the app, hit the Home button, then
relaunch the app, I typically see a null Bundle passed in to
onCreate.
But, if I (for example) rotate
We've got a similar issue, with a bunch of files that we extract from
the apk on first run and will never need in the apk again.
It is a terrible waste of space to leave them there. Shame.
Richard
On Dec 15, 9:16 pm, Ralf ralfo...@gmail.com wrote:
You can think of the the APK as being a
We're using it to make directories on the SD card with no trouble.
Can you make those directories by hand via the adb shell ?
R
On Dec 16, 6:04 am, shuoshuo wzshuos...@gmail.com wrote:
I use new File(/data/mydir/tmp).mkdirs() to create dir mydir and
tmp, but it can not be created, does
designers, but whatever the rationale, it doesn't make much
sense to store any state you care about in that default bundle.
Use SharedPreferences or a database instead.
On Dec 16, 2:47 am, jarkman jark...@gmail.com wrote:
Justin - thanks for the explanation.
I'm not making any allegation
Thanks for the confirmation. Still seems like a shame... :-)
R.
On Dec 16, 5:25 pm, Dianne Hackborn hack...@android.com wrote:
The .apk is read-only, and can not be modified.
On Tue, Dec 16, 2008 at 12:49 AM, jarkman jark...@gmail.com wrote:
We've got a similar issue, with a bunch
files that maybe should be stored
inflated on the sdcard.
-- Urs
On Tue, Dec 16, 2008 at 11:33 PM, jarkman jark...@gmail.com wrote:
Thanks for the confirmation. Still seems like a shame... :-)
R.
On Dec 16, 5:25 pm, Dianne Hackborn hack...@android.com wrote:
The .apk is read
, there is no separate
installer.
On Thu, Dec 18, 2008 at 5:41 AM, jarkman jark...@gmail.com wrote:
Dianne - that reminds me of another question - is the user going to
have any way to get the .apk back off a device after installation ?
I'm wondering if we should expect this world to be a bit like old
I'm have a frustrating time debugging our app, and I am beginning to
wonder if I'm missing some debugging tricks.
For example, right now, I am adding Filterable to a list view on a
complicated cursor. It mostly works, but under some circumstances I
get a NullPointerException with the stack
For what little help it is, I tried failed to do this, and logged it
as a bug:
http://code.google.com/p/android/issues/detail?id=1193
Richard
On Jan 9, 11:20 am, Christian Wiesbauer christian.wiesba...@bdc.at
wrote:
Hi,
is it possible to use the camera of the G1 in portrait mode? Maybe
We have an app which uses Ringtone.play() to play tones.
We've found that when the screen is off, calls of Ringtone.play() in
our Activity do not make any noise (although the activity is
definitely running).
However, calls of Ringtone.play() from our BroadcastReceiver always
make a noise, even
to play while the screen is off.
Is there a reason you chose the Ringtone class to play your sound?
There are other options e.g. Notification Manager, MediaPlayer.
On Jan 14, 4:16 pm, jarkman jark...@gmail.com wrote:
We have an app which uses Ringtone.play() to play tones.
We've found
I'm a bit perplexed by android.permission.RECEIVE_MMS.
I would like to know when SMS and MMS messages arrive on the device.
I'm happy with SMS, using an intent filter for the action
android.provider.Telephony.SMS_RECEIVED and the permission
android.permission.RECEIVE_SMS.
But I can't see an
I'm using ACTION_PICK to show a contact picker:
startActivityForResult( new Intent(Intent.ACTION_PICK, Uri.parse
(content://contacts/people) ) ,RESULT_PICK_CONTACT_REQUEST);
I'd really like to be showing only contacts from the My Contacts
group, rather than the list which includes all
that go.
Richard
On Mar 23, 3:26 pm, jarkman jark...@gmail.com wrote:
I'm using ACTION_PICK to show a contact picker:
startActivityForResult( new Intent(Intent.ACTION_PICK, Uri.parse
(content://contacts/people) ) ,RESULT_PICK_CONTACT_REQUEST);
I'd really like to be showing only contacts
- values
from
android.provider.Contacts.Groups.NAME
/members);
Richard
On Mar 25, 6:07 pm, jarkman jark...@gmail.com wrote:
Well, I haven't found a way to launch the system picker for a specific
group, so I've written a picker using a ListView and an URI of the
form:
Uri uri
If you're still looking, I have two possible solutions for you, both
slightly unpleasant:
(1) You can make the gallery do a fling with a chosen velocity, thus:
myGallery.onFling(null, null, velocity, 0);
By tweaking the velocity, you can set up values to move the selection
by one or two in
We actually maintain two separate codebases for our pro and light
products, and take care to port common changes across from one to the
other. They need different package names in the manifest file, in the
layout xml when we refer to custom controls, in the package
declaration at the top of each
For what it is worth, the 1.5 SDK does move the R.java out into a
different directory (myProject/gen/com.needle.noo), which may solve
one of your problems.
But I don't see how you'd get round having the package name in all the
source files (or, at least, in all the activities so on) without
marks all its subclasses as deprecated too, which doesn't make
sense. I fixed this bug in the public tree some months ago, but it
appears the fix did not propagate to Googles internal tree.
Ignore it. WebView is not deprecated.
On Apr 22, 5:01 pm, jarkman jark...@gmail.com wrote:
We're
I'm not sure it's realistic to describe this as a simple optimisation
issue.
We've just gone through an exercise to fix these crashes in one of our
apps. We've managed it, but only at the expense of uglification of the
code.
We're working with a custom list on a tab. Looking at the hierarchy
15 levels deep of layouts is just insanely
complex for a cell phone screen.
On Fri, Apr 24, 2009 at 5:08 AM, jarkman jark...@gmail.com wrote:
I'm not sure it's realistic to describe this as a simple optimisation
issue.
We've just gone through an exercise to fix these crashes in one
We've got a couple of issues with apps drawing differently in the 1.5
preview SDK.
Theme_Translucent_NoTitleBar_Fullscreen doesn't result in a full
screen, but in one which wraps our content. Also, we get a fat grey
border drawn round our views.
I've not been able to find any way to change
looking for ways to use less stack,
and to avoid complicated view structures, doesn't feel very 2009. Nor
does it feel like a good use of our time.
R,
On Apr 24, 4:21 pm, Mark Murphy mmur...@commonsware.com wrote:
jarkman wrote:
Well, it didn't seem insane on 1.1, and it ran happily enough. Let me
they won't change it just because I have a moan about it. But,
I'd like to be clear that this is not just an 'excuse for a bit of
optimisation' - it's a real (even if unavoidable) step backwards.
R.
On Apr 24, 7:00 pm, Mark Murphy mmur...@commonsware.com wrote:
jarkman wrote:
Scratching about
Jeff - I believe you are posting that from the future, when all the
Android devices in the world have 1.5 running on them... :-)
R.
On Apr 24, 7:11 pm, Jeff Sharkey jshar...@android.com wrote:
FastScrollView
ListView
You can now specify android:fastScrollEnabled=true on the ListView
I'd very much like to know the answer to that question.
I have spent some time poking about with PackageManager, thinking that
the intent filters should be available through it, but I have not
found a way.
Not only have I failed to find any API to get the intent filters, I
have also failed to
Peter - I agree completely. OpenIntents is a great idea, but it
doesn't fix my problem either.
The strangeness is not just limited to the lack of a discovery API.
There's also a peculiar lack of documentation on what the built-in
apps can do, leaving us wasting a lot of time poking about making
.
Finally, yes, we need to do a better job at defining official protocols for
the system applications. This is something that got dropped in the push to
get the initial full product out.
On Fri, Jan 30, 2009 at 11:48 AM, jarkman jark...@gmail.com wrote:
Peter - I agree completely. OpenIntents
.
That is all that the system knows about the intent protocols they support.
On Fri, Jan 30, 2009 at 1:07 PM, jarkman jark...@gmail.com wrote:
I understand the point about trying to stick to intents which have
been documented by their developers.
The problem is, even a well-intentioned but busy
We're thinking about building light and paid versions of our app for
the Market. But I am not clear what we need to do, or how to do it.
(1) Do we definitely need the two versions to have different package
names for the two builds ?
It seems logical to do it that way, but I have not found a
not as
flexible as make.
I got all that to work, and then I decided to make my program open-source so
all that was a waste of time :-)
On Wed, Feb 18, 2009 at 10:50 AM, jarkman jark...@gmail.com wrote:
We're thinking about building light and paid versions of our app for
the Market. But I am
I'd love to get a definitive answer to the same question. I was askign
something similar yesterday:
http://groups.google.com/group/android-developers/browse_thread/thread/283ee27e57b269f2/7895bccd96f352a9#7895bccd96f352a9
Experiment suggests that the Market won't let you upload two different
I have done these two tasks separately, but I find that when I wake
the device *and* unlock the keyguard they do not both happen. I'm sure
that's just a bug in my code. So, treat this sample with a pinch of
salt, and if you can work out what I did wrong please let me know.
PowerUp() is simple
As far as I can tell, my PowerManager code works properly when the
device is on charge, but generally doesn't wake the device up when it
is not on charge. I shall keep digging. Perhaps I need to hold the
wakelock for longer to stop it snoozing.
R
On Feb 23, 11:24 pm, SteveV sav74...@gmail.com
, inKeyguardRestrictedInputMode -
disableKeyguard);
mKeyguardLock.disableKeyguard();
unlocked = true;
}
On Feb 24, 10:22 am, jarkman jark...@gmail.com wrote:
As far as I can tell, my PowerManager code works properly when the
device
)
{
mWakeLock.release();
mWakeLock = null;
}
}
On Feb 25, 9:30 am, jarkman jark...@gmail.com wrote:
Steve - you're doing exitKeyguardSecurely, and I think you should be
doing disableKeyguard.
Chronologically
);
}
}
});
Log.d(TAG, inKeyguardRestrictedInputMode -
disableKeyguard);
mKeyguardLock.disableKeyguard();
unlocked = true;
}
On Feb 24, 10:22 am, jarkman jark...@gmail.com wrote:
As far as I can tell, my
Take a look here:
http://groups.google.com/group/android-developers/browse_thread/thread/9bc7d7ba0229a1d2
and here:
http://code.google.com/p/android/issues/detail?id=914
Basically, you can do it by registering a content observer on the SMS
message store. But the details are not in the SDK,
We're seeing a problem with Ringtone.getTitle() in 1.6.
Sporadically, getTitle() will return Unknown ringtone instead of the
proper title. It seems to be timing-dependent, and is most likely to
go wrong when we ask for the title of a tone twice in rapid
succession. Here's a typical log, showing
to finish doing its
cleanup work in the background, but it is obviously a slightly
unwholesome fix.
I'd still love to find out what has changed in 1.6, and if there is
meant to be a tidier way to handle these issues.
Thanks,
Richard
On Oct 20, 12:54 pm, jarkman jark...@gmail.com wrote:
We're seeing
Al - I am running on XP, and seeing ADB behaving rather erratically
with my G1.
It will sometimes show it online, as it should, sometimes show it
offline, and sometimes show multiple (2-10) instances of it, all
offline. Killing and restarting the server seems to render it
temporarily sensible,
I'm having trouble working with ADB and Eclipse and my shiny new G1.
Which is a UK model, if that makes any difference.
I'm running on XP, with a fresh install of the 1.0 SDK and the USB
driver.
Initially, when I plug the device in, adb works fine and my device
shows up correctly in the output
I'm trying to fetch location data for contacts.
When I look in the Contacts.ContactMethods.POSTAL_LOCATION_LATITUDE
field, hoping to get a latitude, I find I actually get the postal
address of the contact !
Is that just a bug, or is there really a latitude for the contact in
there somewhere ?
I'm using camera preview on the G1, using code from CameraPreview in
ApiDemos.
I'm seeing the preview image appear stretched rotated unless my
screen orientation is set to 'landscape' in the manifest.
I can reproduce the same effect by changing the manifest for ApiDemos,
setting the screen
On Nov 4, 10:01 am, bryan [EMAIL PROTECTED] wrote:
Has anyone here experienced similar results when reading yaw from the
sensor? I've gotten a number of reports from others complaining about
inaccuracy with compass type results and am wondering if this is a per
phone error or if all of the
On Nov 5, 10:30 pm, apkdev [EMAIL PROTECTED] wrote:
As a
last resort, I'm going to download the android source and peek in to
the built-in Camera app's source (assuming it's in there).
Thanks for the confirmation, anyway. And good luck in the source code.
I'd be very interested to hear
We're working on an app which makes use of contact groups.
On the G1, I can see contact groups that I have defined in the gmail
web client. But, I cannot see the predefined contact groups (Friend,
Family, Co-workers), either in the Contacts app UI or via
Contacts.Groups.CONTENT_URI.
Obviouysly,
Xavier - one of our apps is very dependent on contact data.
Right now, running it in the Emulator with a couple contacts added in
the Contacts app, it appears to be completely broken. I suspect it is
something to do with a change in the behaviour of group memberships.
I'd like to port it to 2.0
We have an app which is very involved with contact data, and will need
to be ported to the new contacts APIs to work properly under 2.0.
It looks like the change will affect quite a lot of code, so ideally
we would fork the project, make the right changes, and then have 1.6
and 2.0 builds in the
On Nov 2, 1:57 am, frantz lohier floh...@gmail.com wrote:
When running the same code (compiled with SDK 1.6) and a target emulator at
2.0 level, the above code never return the entries I have populated in my
the phone book. It's as if the phonebook was always empty.
My (hazy) understanding
I'm looking at CONTENT_STREQUENT_URI, desribed as 'only starred
contacts and the most frequently contacted contacts'.
When we show a contact group picker, we could include this as a sort
of meta-group. It seems like a very useful thing.
But I'd like our picking to be familiar to the user, so I
In the course of moving to the 2.0 cotnact APIs, I've stumbled across
CONTENT_LOOKUP_URI :
http://developer.android.com/reference/android/provider/ContactsContract.Contacts.html#CONTENT_LOOKUP_URI
As long as the contact's row ID remains the same, this URI is
equivalent to CONTENT_URI. If the
both ids. If your app works
with a single contact per user action - you don't need to bother with the
long id.
I hope this helps,
- Dmitri
On Mon, Nov 2, 2009 at 9:02 AM, jarkman jark...@gmail.com wrote:
In the course of moving to the 2.0 cotnact APIs, I've stumbled across
I'm happily retrieving contact photos with the new ContactsContract
APIs and cursor.getBlob, but I'm having great trouble working out how
to set a contact photo.
I believe I have the right URI (at least, it works for retrieving the
photo), but it just won't work for updating or adding one.
Jeff - is there any way to add our app to the QuickContact app list,
so we show up when the user taps the badge ?
I'm guessing this will come down to an intent filter, but I can't work
out what it ought to be.
Thanks,
Richard
On Oct 30, 6:02 pm, Jeff Sharkey jshar...@android.com wrote:
The
.
I hope this helps,
- Dmitri
On Mon, Nov 2, 2009 at 9:02 AM, jarkman jark...@gmail.com wrote:
In the course of moving to the 2.0 cotnact APIs, I've stumbled across
CONTENT_LOOKUP_URI :
http://developer.android.com/reference/android/provider/ContactsContr...
As long as the contact's
of resolution or uses something even more robust than lookup
keys, e.g. raw contact IDs.
I hope this helps,
- Dmitri
On Tue, Nov 3, 2009 at 6:40 AM, jarkman jark...@gmail.com wrote:
Oh - one more question:
Am I right in thinking that the lookup URI is not itself a unique,
stable identifier
,
ContactsContract.Data.RAW_CONTACT_ID + = + String.valueOf
(personId) +
AND + ContactsContract.Data.MIMETYPE + = + \ +
ContactsContract.CommonDataKinds.Photo.CONTENT_ITEM_TYPE+ \,
null);
Richard
On Nov 3, 11:47 am, jarkman jark...@gmail.com wrote:
I'm happily retrieving contact photos
:
ContentUris.withAppendedId(Data.CONTENT_URI, dataId)
I hope this helps.
- Dmitri
On Thu, Nov 5, 2009 at 9:05 AM, jarkman jark...@gmail.com wrote:
Dmitri - I wasn't, but I am now - thanks for the tip.
It doesn't fix the problem, though. It seems as though I can set the
photo once on a brand
Jake - thanks for that. Your code seems to match my understanding of
Dmitri's recipe, and also actually seems to work for me. Which i hope
is good news... :-)
Richard
On Nov 5, 9:20 pm, jak. koda...@gmail.com wrote:
Hi Dmitri Jarkman,
Hope everyone's having a good day.
I'm also working
Dianne - we have a couple of problems on the CLIQ.
In both cases, the APIs are technically working correctly, but the
resulting user experience is unfortunate, so these may not be exactly
what you are asking for. But, in case you are interested:
(1) The CLIQ has a lot of contact data (from
, 2009 at 12:04 PM, jarkman jark...@gmail.com wrote:
Oops! I see what you mean. Perhaps that update was a little
bold... :-)
So I need to search out the right row (with the right contact ID and
the photo's MIME type) in the Data table with a query, then update
that row ?
If there isn't
Dmitri
On Nov 9, 2009 10:40 AM, jarkman jark...@gmail.com wrote:
Dmitri - could I ask you another question ?
We are setting custom ringtones for contacts:
Uri contactUri; // eg: content://com.android.contacts/contacts/12
ContentValues values = new ContentValues();
values.put
Suzanne - I had wondered if that was the reason.
But the problem is not exactly that there is data on the device that
is inaccessible to third-party apps.
The problem is that the accessible and inaccessible data are mixed
together in the Contacts app in a way which makes it hard for users to
see
GDroid - here's a recipe for supporting two SDK versions in one app:
http://groups.google.com/group/android-developers/msg/f3b24f3a0748a622
Richard
On Nov 18, 9:43 am, GDroid baron...@gmail.com wrote:
I would like to add one more question to this issue:
15) What is the best way to write the
We've built two lumps of API-specific code for 1.6 2.0, and we
choose between them at runtime with this trick:
http://groups.google.com/group/android-developers/msg/f3b24f3a0748a622
Richard
On Nov 17, 8:24 pm, androsag sagu...@gmail.com wrote:
As has been discussed on this list, the 2.0
We have a list view that uses type-to-filter to good effect on devices
with physical keyboards.
Right now, users without physical keyboards have no way to use the
filter, and obviously we ought to fix that. I'm trying to work out
what the 'usual approach' is, so as not to startle the users.
But
I've been trying (and failing) to write an intent filter which will
allow my app to handle text/calendar attachments received in the
GMail or email apps
I don't really know if my failure is because the mail apps are just
not looking for apps to handle these attachments, or if I am getting
the
On Jan 21, 5:11 pm, Mark Murphy mmur...@commonsware.com wrote:
I've been trying (and failing) to write an intent filter which will
allow my app to handle text/calendar attachments received in the
GMail or email apps
I don't really know if my failure is because the mail apps are just
not
On Jan 21, 5:34 pm, Mark Murphy mmur...@commonsware.com wrote:
Well, if you hunt through Google Code Search, you'll find a number of
sample intent filters that use android:mimeType. See if any of those are
treated properly by the mail client. If one does, try mirroring their
intent filter.
Andrew, can you share how you are adding events to the calendar ? I
can't find any documented API, so I am assuming you are using an
undocumented one... :-)
Thanks,
Richard
On Jan 22, 1:49 pm, andrew android andygoldm...@gmail.com wrote:
I understand where you are coming from...
In my app -
calendar URI not on android official site but
elsewhere and you can find some more info which others have shared and
this was useful to me.
On Jan 22, 9:15 am, jarkman jark...@gmail.com wrote:
Andrew, can you share how you are adding events to the calendar ? I
can't find any documented API
I'm just going through a similar exercise in order to build lite and
pro versions of the app from a single codebase.
I'm using an Ant script derived from this one:
http://ulrichscheller.blogspot.com/2009/10/android-deploying-multiple-targets-from.html
which converts the project from one target to
/browse_thread/thread/270cbc77091e5bfd/857245e6964e5090?lnk=gstq=jarkman#857245e6964e5090
Doing it this way has one convenient feature, which is that you can
have a few source and/or layout files which are different for the two
versions. It saves the shoehorning required to implement all your
behaviour changes
We have an app with a ListActivity and an edit view. Tap on an item in
the ListActivity, see the edit view of that item, hit the Back key,
see the list view. All very ordinary stuff.
But, in this app, the ListActivity does not retain its postion during
that sequence. After hitting Back, the list
changes in the manifest.
Take a look at Context.createPackageContext(), here:
http://groups.google.com/group/android-developers/browse_thread/thread/9d95bdd4a1bf81f0/9926f03b990d31f7?lnk=gstq=jarkman#9926f03b990d31f7
Richard
On Feb 25, 5:05 pm, Bob Kerns r...@acm.org wrote:
While the downloadable
/fee0d5edbe36ae0c/b2083a2b2688f001?lnk=gstq=jarkman#b2083a2b2688f001
I think the media player takes some time to shut down and clean up,
and if you try to start it again during that time it just dies.
We fixed that problem in a roundabout way, by caching ringtone names.
Is it possible that the difference
We've had a couple of reports from Droid users that they can see our
free trial apps in the Market, but not our paid-for ones.
And, as some of them had bought an app on their previous device, they
are understandably anxious to get it onto their new device.
We know it's not afflicting all Droid
On the CLIQ, there's a physical switch to put the device into a silent
state.
That means we can't (or at least shouldn't) offer UI to change the
ringer mode (via Audiomanager.setRingerMode()), since we don't want to
leave the device's state inconsistent with the switch.
I can't find any way to
I'm having a play with TextToSpeech, trying to get it to run from a
service.
But, this innocuous-looking line:
mTts = new TextToSpeech(mContext, this);
generateds an exception:
android.content.ReceiverCallNotAllowedException: IntentReceiver
components are not allowed to bind to services
We're getting lots of complaints from our users with Droids that the
LED colours associated with notifications aren't working properly.
Has anyone else seen this ? Any idea what's up ?
Thanks,
Richard
--
You received this message because you are subscribed to the Google
Groups Android
I have a widget, working happily on 2.2, which includes this line:
views.setBoolean(R.id.s_button, setEnabled, true);
When I run it on 1.5, I get this:
07-23 17:11:59.643: WARN/AppWidgetHostView(158):
android.widget.RemoteViews$ActionException: view:
android.widget.ImageButton can't
, 2010 at 12:26 PM, jarkman jark...@gmail.com wrote:
I have a widget, working happily on 2.2, which includes this line:
views.setBoolean(R.id.s_button, setEnabled, true);
When I run it on 1.5, I get this:
07-23 17:11:59.643: WARN/AppWidgetHostView(158):
android.widget.RemoteViews
On Jul 23, 6:39 pm, Mark Murphy mmur...@commonsware.com wrote:
On Fri, Jul 23, 2010 at 1:35 PM, jarkman jark...@gmail.com wrote:
Mark - thanks.
I can't find any documentation on when the annotation changed, or even
anywhere that looks like it ought to contain that documentation
We store references to media (music tracks) by storing media URIs.
Things like this:
content://media/external/audio/media/3
Of late, we've had a few complaints from users who saw the tracks
change periodically. It's as if some other bit of software was running
once a day or so and forcing a
After a fight with some code intended to set contact photos in the
contacts DB on 2.2, the contacts are now unable to sync - I get:
android.database.sqlite.SQLiteException: unknown error: Unable to
convert BLOB to string
every time the contact provider attempts a sync, and a popup telling
me
2) Building two products (with different package names) is a bit of a
dance, but worth it once you have it set up.
Take a look here for one solution:
http://groups.google.com/group/android-developers/browse_thread/thread/270cbc77091e5bfd/
and here for a simpler-looking one:
deleted the sync problem
went away.
R.
On Oct 5, 6:57 pm, jarkman jark...@gmail.com wrote:
After a fight with some code intended to set contact photos in the
contacts DB on 2.2, the contacts are now unable to sync - I get:
android.database.sqlite.SQLiteException: unknown error: Unable
I don't know if this is the *proper* way, exactly.
We copy the SQL data, with the Pro using the provider in the Lite to
read the data across and upgrade it.
And, we've built a cheap little scheme using broadcast intents to
allow the Pro to request the SharedPreferences from the Lite.
Hope that
We found the same problem this morning, and worked round it by moving
the uses-sdk element to be the first child of the manifest element.
Thanks,
Richard
On Apr 28, 6:26 pm, Raphael r...@android.com wrote:
Actually the element order makes a difference.
It's a bug in the current Market
We've rebuilt a couple of our apps with the 1.5 SDK (but targeting
1.1).
The Market seems to have a bit of trouble with the background of the
icons. They appear correctly (with transparent backgrounds) on the
desktop, and they appear correctly when the app is downloaded from the
Market and
1 - 100 of 120 matches
Mail list logo