/cancel calls
can take around half a second so the chances were that when the ANR
occurred it would be there i.e. the ANRs weren't caused by AlarmManager
code hanging but by it taking so long.
Pent
--
You received this message because you are subscribed to the Google
Groups "Android
> There are some serious problems with the Google Play geofencing api.
>
> Most notably - not detecting fence transitions.
>
> Wrote my own.
>
Havn't used geofencing, but it was the same with location manager area
trigger back in 2009
coincidentally (want reliabi
Have a look at Telephony.Sms in the docs.
To detect changes in the DB you can use ContentObserver.
New messages can be detected also with
Telephony.Sms.Intents.SMS_RECEIVED_ACTION, there's a lot of code on the
internet for that.
Pent
--
You received this message because you are subsc
y background services.
But surely that wouldn't delay the AlarmManager calls for 10 seconds !?
TIA,
Pent
"main" prio=5 tid=1 MONITOR
| group="main" sCount=1 dsCount=0 obj=0x41667e40 self=0x4158a510
| sysTid=924 nice=-2 sched=0/0 cgrp=apps handle=1074155860
| state=S
> If they're in the support library, they are "extras" and can more easily
> be phased out when the time comes.
>
Thanks for the background. That was my own interpretation, which is why I
didn't use it last time I did a major
UI refresh.
Pent
--
You received
ot have the same hallowed status as Button ?
Pent
--
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 unsubscribe from this group, send email to
android-deve
Try a search of the forum. There are some long threads on this issue.
It's also on the Android issues list in various guises.
Pent
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to and
>
> Or just use the Cipher.init() version that takes only two parameters:
>
> ecipher.init( Cipher.ENCRYPT_MODE, key)
>
This experience has taught me to specify all possible parameters
when dealing with encryption :-)
Pent
--
You received this message because you are su
Yep, that's it, if I pass a null parameter spec it can decode the old files
on 4.4.
Can't thank you enough for your help!
Pent
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email t
. no, because it's different for each passphrase.
So the problem is that I'm specifying an IV at all now, so it's not doing
it's internal derivation from
the password ?
Pent
--
You received this message because you are subscribed to the Google
Groups "Android Deve
re, but does it make sense to use getIV() on the
cipher
on the old device and then set that as the IV on the new one ?
Pent
--
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
-256AND256BITAES-CBC-BC in the BC provider is
not usable at all now ?!
Or something else has also changed to make my code no longer valid.
Pent
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email
was doing something to
adapt to the too-short IV instead of complaining, right ?
So I need to find out what that something is. I'll start with filling the
IV up
to 16 bytes with 0s or 1s though :-)
Pent
--
You received this message because you are subscribed to the Google
Groups
Correction: this one:
Cipher ecipher = Cipher.getInstance("AES/CBC/PKCS5Padding");
Works with a 16 byte initVector.
That doesn't help me recover old users data though.
Pent
--
You received this message because you are subscribed to the Google
Groups "Android Developer
java.security.NoSuchAlgorithmException: can't support mode CBC8
On the other hand, making initVector a 16 byte array causes init() to throw:
java.security.InvalidKeyException: invalid parameter passed to AES init -
com.android.org.bouncycastle.crypto.params.ParametersWithIV
Any ideas ?
TIA,
ccess with soft ?
Thanks,
Pent
Manifest:
xml/accessibilityservice:
http://schemas.android.com/apk/res/android";
android:accessibilityEventTypes="typeViewClicked|typeViewLongClicked|typeWindowStateChanged|typ
>
> Note to Google: Our accountants hate you.
>
>
Mine too.
Hopefully they will unite into the Google Accounts Union (GAU - word for
total disaster in German) and demand improvements.
Pent
--
--
You received this message because you are subscribed to the Google
Groups "A
ether MEDIA_MOUNTED is an ordered broadcast or not.
> I am registering from a Service so perhaps it doesn't work the same as
> registering from within an Activity?
I only use it from a Service too.
Pent
--
--
You received this message because you are subscribed to the Google
Grou
p.s. for multiple clicks, you'll need to add TextViews to the
FrameLayout dynamically.
Alternatively, create a class that extends ImageView and in onDraw
draw the texts with the canvas text functions.
Pent
--
--
You received this message because you are subscribed to the Google
G
Put the image in a framelayout. Add a textview. The textview will show
over the image. Use onTouchListener on the imageview to get the tap
coords.
Pent
--
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group,
> The problem I have is that I cannot seem to
> catch android.intent.action.MEDIA_MOUNTED via a dynamically-registered
> receiver.
You might need to do this:
intentFilter.addDataScheme( "file" );
Pent
--
--
You received this message because you are subscribed to the Goo
most every category.
Maybe because they won ADC1.
Pent
--
--
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 unsubscribe from this group, send email to
an
They changed the sender field of cancelled messages, so if you were
filtering on that then
suddenly you're not.
Pent
--
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to and
> This is seriously disheartening and I am greatly disappointed in the way
> Google handles this!
Ah, reminds me of my early Android Market days. With a bit more
'Google experience' you'll become disillusioned and resigned instead.
Pent
--
--
You received this me
This is getting ridiculous.
I'm going to be fined by my tax authority in a few days for not being
able to
submit tax data.
Pent
--
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to and
yone know how long that 'Known Issue' has been there ?
Thanks,
Pent
--
--
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 unsubscribe from thi
l state, you would have to change the
source.
As a side note, SlidingDrawer is deprecated in 17 and they advise to
copy the source into your project anyway :-)
Pent
--
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post
> Has anyone figured out how to make it open partially - ie not snap open all
> the way?
I implemented that a few years ago, looking at the layout seems like
the height of the SlidingDrawer view is the limited.
Pent
--
--
You received this message because you are subscribed to the
I created a bug report and added a workaround to it.
https://code.google.com/p/android/issues/detail?id=53313
Pent
--
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-
dded this to ? To one
from
the Alarm Manager ?
Pent
--
--
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 unsubscribe from this group, send email to
> Was this ever resolved? I've noticed a similar issue with my app.
My users are also reporting this, though I can't reproduce it. It's
not clear to me yet exactly what they've configured in the app which
triggers it.
My service is permanently foreground.
Pent
--
--
Yo
tivity with the
same AB settings as the main activity, wait 350ms after layout then
start the main activity, but it has a nasty hacky feel to it, I'd much
rather hook off an OS event.
Pent
--
--
You received this message because you are subscribed to the Google
Groups "Android Develope
's the latest hook I can find into the activity
creation process so the time from there till the next activity is most
constant.
Anyone have a better hook where the activity has finished displaying
and I can safely start the sub-activity ? onResume() and
onPostResume() are not late enough.
P
the system will animate its actual
> content.
Ah, that's what you meant. A small improvement I guess, but not very
satisfying somehow :-)
Thanks anyway!
Pent
--
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To
up activity and the subactivity. Do you not ?
I couldn't disable that.
Intent.FLAG_ACTIVITY_NO_ANIMATION
in the intent to startActivity() is apparently just ignored.
Pent
--
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To
problem is doing
it dependent on user theme. If I misunderstood how the Chrome setup
might help, could you please let me know ?
Pent
--
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to
r activity that just sets the
theme then loads the relevant dedicated Light or Dark activity.
It appears Application:setTheme is completely ignored.
The current best solution I have is to set a manifest theme with a
grey background. Could create dedicated Dark and Light launcher icons,
but
Any ti
combo or attempt to unlock the
secret developer options
(after you've found out if they're on 4.2 or not) is just
embarrassing.
Pent
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to
And when your app is installed on
the phone
and tablet, and they want to copy the config across with the SD card.
Pent
--
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@googlegro
Don't see mine.
Then again, you start expecting them to be late after a while.
Finally, you remember it's the same company that runs Play Store and
everything just kindof fits.
Pent
--
You received this message because you are subscribed to the Google
Groups "Android Develo
Isn't 'Other' a terrific choice of word ?
So much better than 'Unknown', which sounds like things might be out
of control. 'No, we definitely know what the reason is, it's Other'
Pent
--
You received this message because you are subscribed to the Goog
ct them to always have a headset inserted with one half glued to
the phone's microphone, however.
Pent
--
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.c
As previous posters have said, check your resource files in the
eclipse package exporer for red xs.
It's usually layouts with me.
Pent
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send e
of the most frequent emails I
> get regarding support is that the LVL check failed when they just purchased
> the app.
Yep, plus it's just too embarrassing new customers having to deal with
licensing problems. No response from Google (naturally).
Pent
--
You received this message becaus
e had to use it.
I blame the monopoly position.
Pent
--
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 unsubscribe from this group, send email to
android-
e, maybe due to the
deprecation. Anyone have any info about this ?
Thanks,
Pent
--
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 unsubscribe from this gro
One of my users thought to try ordering via the Google Play website,
and it succeeded after 2 previous fails via the app. Might be
coincidence.
Pent
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, sen
> Does anybody know this ? thanks.
The police will be here soon with 'it has SYSTEM in the name, why are
you trying to use it ?'
Pent
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send emai
n that I'm aware of, forum
because they like it better.
I'm sure that's approximately what you just wrote but I can't quite
get my head around it.
Pent
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To p
> You won't find any answers to Google Play account issues on the android-*
> forums.
What a nice supportive post.
'I have a problem'
'You won't find any answers here'
Pent
--
You received this message because you are subscribed to the Google
Groups &q
't respond to any messages about Market I didn't see
the point of wasting my time and increasing my blood pressure.
Pent
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-
> I have the same problem now...
Ditto, except a year ago.
We know you have the answer.
Spill the beans Robert :-)
Pent
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to andro
> According to the link you provided, this seems to be an issue with early
> Android 4 versions. Hopefully, it will be fixed in Jelly Beans. Seems we
> have to live with it until then.
Seems OK on a Nexus S / 4.1.1.
Pent
--
You received this message because you are subscribed to t
> Explain how to create a ListView and populate it.
... lazily with thumbnails from a remote hires photo collection.
Pent
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to andro
There are at least three recent threads on this, try a search.
Pent
--
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 unsubscribe from this group, sen
> I find it works, but only if declaring the settings in xml and not in code.
Oh no... the user needs to be able to specify the settings...
Thanks for the info in any case.
Pent
--
You received this message because you are subscribed to the Google
Groups "Android Developers" grou
ere:
http://code.google.com/p/android/issues/detail?id=33934
Don't see any security exceptions in the log. Are others still getting
this 'must turn accessibility off and on after a reboot' problem with
the BIND permission specified ?
Pent
--
You received this message because you are subscr
Great to see you in the Android world Alex.
Pent
--
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 unsubscribe from this group, send email to
android-
How about a broadcast to DeviceAdminReceiver.
Pent
--
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 unsubscribe from this group, send email to
android-
ActivityManager polling, which I
detest.
Pent
--
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 unsubscribe from this group, send email to
a
Mine's been out a couple of years.
Pent
--
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 unsubscribe from this group, send email to
android-deve
> Generally if you can do this, it's kind of considered a security hole,
By whom and for what reason ?
> while these chinese wall
> policies are implementable, I'm a little skeptical as to their real utility...
Luckily my customers aren't.
Pent
--
You received this
Just had a look, shocked to find I have 7.18% JB installs already.
38.5% ICS.
Pent
--
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 unsubscribe from
read along the lines of the
potential for abuse in app detection being too high, so don't be
confident of a replacement for READ_LOGS.
Pent
p.s. I don't use READ_LOGS
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To p
lling, beware: permission going away with
JellyBean)
- ActivityManager (needs polling)
Pent
--
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 unsubscribe
lly_bean"
Great tip Mark, thanks. Expect it will be useful in the future too.
Pent
--
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 uns
Spanish, French etc before being able to say something in e.g.
English.
Logic lapse there somewhere ?
In 4.0.4 and prior the installed voices were returned. Other voices
could be downloaded via the TTS config in settings.
Did I miss some extra API part ?
Pent
--
You received this mes
Oh boy, I very much don't like the sound of that.
Not particularly looking forward to getting a JB OTA update anymore
after all the other backwards compat problems already reported by
users.
Pent
--
You received this message because you are subscribed to the Google
Groups "Android
Ah, you were subtly side-promoting, very good :-)
Pent
--
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 unsubscribe from this group, send email
n't see it:
http://code.google.com/p/android/issues/detail?id=23105
Pent
--
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 unsubscribe from this group,
Oddly enough, String [] is accepted as a parameter without problem,
just not a return value.
Feels a bit buggy or forgotten.
Pent
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-
I thought that might turn out to be necessary, thanks for confirming.
Pent
--
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 unsubscribe from this group,
naged to get it working ?
Thanks,
Pent
--
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 unsubscribe from this group, send email to
android-developers+unsubsc
tion since which OS version this is available ? It's
already pretty fiddly with being different buttons and taking ages to
show a sign of life, would be preferable if I don't ask users to try
it when it's never going to work.
Thanks,
Pent
--
You received this message because y
it's often annoyingly quiet when something goes wrong.
Pent
--
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 unsubscribe from this group, send email to
a
s on Android 4.0.4.
> I sent email to them for help but none respond. :'(
>
> Anybody knows how to overcome DevicePolicyManager.locknow() problem in
> Android 4.0.4 or is there any workaround ?
One of my users reported the same problem. The workaround was to do it
again a sho
Just use a 3rd party base64 library, it's a very small piece of code.
e.g. http://www.source-code.biz/base64coder/java/
Pent
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to and
asses thet are changed?
Currently the whole apk.
I notice in JellyBean (newest Android version) they're starting with
incremental updates however.
Pent
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this
> Bear in mind that a new statue appeared at the Googleplex, and today
> is the first day of the Google I|O conference, meaning that we are
> probably just a few hours from a new Android SDK release, whose docs
> will only show up in the new site layout.
N! Not another one al
ings depending on which app they are
using (different screen brightness, timeout, turn on/off wifi for
Internet etc).
Automation apps are reduced to battery-expensive polling to provide
this currently.
Pent
--
You received this message because you are subscribed to the Google
Groups "Android
Are you changing the state of a component sometimes ?
If so, probably this:
http://code.google.com/p/android/issues/detail?id=21635
Pent
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email
I decided to implement the three dialog functions so I can cleanly
remove the dialog if necessary, it's not particularly complicated it
seems. Probably better backwards compatibility too.
Pent
--
You received this message because you are subscribed to the Google
Groups "Android
> dispose the dialog prior finishing the activity.
I'd prefer to use the default implementation, but I guess if I can't
solve the problem I could
implement the dialogs myself, thanks for the tip.
I tried putting a JS setTimeout() at the start of the script BTW but
alerts seem to take
Try setting an absolute path to the proguard config to make sure it's
being picked up.
Also make sure you have the latest SDK.
Pent
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to and
estroy() call, and confirmation in the system
log:
D/webviewglue(17480): nativeDestroy view: 0x739ae8
The javascript dialog is still visible.
Pent
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send
"
because the dialog is still showing.
Anyone any tips ? I tried everything I could think of to get rid of
the dialog first.
TIA,
Pent
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send em
Hah, lured you in with a vaguely technical question then throws in the
career development query which didn't work as a thread starter
previously :-)
Pent
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group
> Thank, but i this saw. I think this method does not correct. Engineers tell
> in what direction think :)
I used onTouchEvent for long-click for the last couple of years
without problems.
Pent
--
You received this message because you are subscribed to the Google
Groups "Android
> I'm following up on this.
Hilarious :-)
To get a response from Google you have to publish a large document
detailing multiple contact attempts and spread the URL around the web.
Pent
--
You received this message because you are subscribed to the Google
Groups "Android Develope
Lots of failed validation complaints the last few weeks here, none
previously since LVL launched.
Pent
--
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@googlegro
the
aapt C code ?
Thanks,
Pent
p.s. apktool is not available on-device
--
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 unsubscribe from this group, s
> Use the below code in the same package as specified and save as *
> ITelephony.aidl*
That's the method I had been using, but the needed permissions aren't
granted for most of the functions anymore.
// Simulate a press of the headset button to pick up the
I'll give tha
> As far as I know that API needs a permission these days.
Sorry, I meant 'needs a permission which isn't granted'.
Pent
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send
> okay friends, I got it. Its working now.
Any tips ?
As far as I know that API needs a permission these days.
Pent
--
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@goo
front-end to give the impression of support.
Pent
--
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 unsubscribe from this group, send email to
android-de
I've only ever (in over two years) seen reboots caused by changes made
via the wifi manager API. If you're using it, I would start there.
Pent
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, s
eak my laptop when
their automated response comes.
My opinion of Google as a 'business partner' is heading towards rock
bottom from this and other issues. It's incomprehensible when
considering the resources they command.
Sorry for thread-napping :-)
Pent
--
You received this
> shot, and as of 3.0 the command for taking a screen shot and internal Java
> implementation use a different mechanism that always qworks.
What is the 'command for taking a screen shot' ?
Thanks,
Pent
--
You received this message because you are subscribed to the Google
This may be obvious but someone has to say it Play ?
In what sense am I 'playing' while reading a book about quantum
physics, listening to Bach or using a calendar app ?
Play ?
Pent
--
You received this message because you are subscribed to the Google
Groups "Android Develo
http://code.google.com/p/android/issues/detail?id=25906
Pent
--
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 unsubscribe from this group, send email
1 - 100 of 328 matches
Mail list logo