Aside from Device Admin, there is no API or official way for an app to
retrieve for this information. Also, of the top of my head, your query for
the pattern won't work on Jellybean (or maybe only works if they configured
the pattern before upgrading to Jellybean?).
-Kevin
On Friday, October
I would guess that they simulate a user clicking INSTALL from the web based
Play Store. I believe this would be technically doable if they either had
the user login or had the users Google password. Then the Play Store takes
care of pushing the app to the device and installing it in the
For doing these kinds of benchmark you might want to check out Vogar
http://code.google.com/p/vogar and Caliper http://code.google.com/p/caliper/
They can be used for running microbenchmarks on Android (and elsewhere).
There's some benchmark's at http://code.google.com/p/dalvik/ that can be
Currently there is no way to avoid using the built in widget selection
UI (the list of widgets you get in gingerbread when you add a widget).
This kind of sucks because it means you can't have anything like the
ICS launcher's widget page.
Also the system widget picker in ICS doesn't
I'm trying to implement a custom permission to be used between two of
my apps.
In AppA I declare:
uses-permission android:name=com.teslacoilsw.TEST_PERMISSION /
And in AppB I declare:
permission android:name=com.teslacoilsw.TEST_PERMISSION
android:label=TeslaCoil Test
The widget / app selector on my Galaxy Nexus does stutter somewhat,
but if I scroll it all the way and then back again, it then animates
much smoother.
Based on this, I'd think it's the app / widget icon cache population,
not the drawing.
There are stutters at times in the app/widget
I've actually been hacking at the ICS Launcher2 code so I figured I'd
give the widget a try. In my case (GSM Galaxy Nexus, 4.0.2) I keep
getting a NullPointerException in your
AwesomeClockActivity.setTextColour (trace below). Happens with stock
4.0.2 launcher as well as Nova Launcher (my app,
But does this mean that you guys are opposed to well known apps
such as WidgetLocker, or Lockscreen Agenda?
Well I'm the developer of WidgetLocker, so I'm not opposed to it at
all :P. But this list is about developing apps that following the
documentation, guidelines and restrictions of the
Since you want to call the default home, you can just send a generic
home intent and let the system call the appropriate app. No need to
use the resolver manually.
Intent intent = new Intent(Intent.ACTION_MAIN);
intent.addCategory(Intent.CATEGORY_HOME);
No, I've looked into it as well. Depending on your setup you might be
able to time screen off until user present and compare against the
system settings, but that's not a very good solution and I wouldn't
recommend it.
-Kevin
On Dec 15, 1:20 pm, CT ctm...@gmail.com wrote:
I was wondering if
Recently there was a discussion on reddit.com/r/Android about a new
app being unlocked by in-app-purchase. Users were wishing for an
unlock key app or pro version. IIRC their reasons were:
1) Permissions could be less on a pro version (no ads)
2) Fear/uncertainty about if the license would carry
On Dec 5, 12:01 pm, Romain Guy romain...@android.com wrote:
This setting is unfortunately a double-edged sword, it was intended for
developers so they could easily test their application with hardware
acceleration turned on.
I interpreted the setting as an aggressive move to make developers
Unless you friend looks like a pirate, you don't have much to
worry about :)
Well, he wears an eye-patch, but he said it's because he took a peg-
leg to it a few years back. Do I have reason to worry?
--
You received this message because you are subscribed to the Google
Groups Android
I'm just
trying to understand how secure is SharedPreferences and what alternatives
are there, that's all.
On a rooted device SharedPreferences absolutely can be tampered with.
Same with any on-device storage. However this doesn't mean you can't
use them.
1) Obfuscation. This is how Google
Actually in a normal build the resources.arsc file isn't zip
compressed with the other files are and it can be quite large.
Manually running aapt can compress it (and does by default), but then
you get really weird force closes on some froyo devices. I've been
meaning to ask about why this is.
Related from the SwiftKey devs:
http://www.swiftkey.net/building-apks-with-different-features-from-a-single-source
For my setup I use ant to do release builds, eclipse to do debug
builds. I build for three markets (Google, Amazon, and direct-purchase/
beta). Each has it's own requirements (copy
Removing an APK from /system/app won't clean up the left overs in /
data/data. I'd bet that the UID changes and then your properly
installed app can't read the database.
1) Don't install apps to /system/app
2) Don't leave crap in /data/data when removing APKs
3) This list is about SDK development,
So, if this were a Web app, you would attempt to reboot the user's PC
to prevent them from pressing the BACK button in their Web browser?
That is exactly how I handle my web apps! So can you send me reboot
code for the onBackPressed()? It is urgent.
:)
--
You received this message because
It is a bug, however, that the lock screen tries to engage at all, when I
have (since the day I got my Android phone) had it turned off in
Settings-Location Security--Set up screen lock (first option set to
NONE to Disable screen unlock security).
You have disabled the _security_ aspect,
Make sure you have:
android:installLocation=internalOnly
In your AndroidManifest.xml, Widgets don't work when installed to the
sdcard.
Full example:
manifest xmlns:android=http://schemas.android.com/apk/res/android;
package=com.teslacoilsw.widgetlocker
android:versionCode=25001
On Aug 3, 11:32 am, Nikolay Elenkov nikolay.elen...@gmail.com wrote:
On Thu, Aug 4, 2011 at 1:27 AM, Kevin TeslaCoil Software
ke...@teslacoilsw.com wrote:
Mine was split into 4% 96% and I only see the smaller one :(.
Definitely will be contacting Google Checkout if I don't see the other
Mine was split into 4% 96% and I only see the smaller one :(.
Definitely will be contacting Google Checkout if I don't see the other
deposit in a day or two. Bank is ING Direct.
-Kevin
On Aug 3, 10:56 am, Jon F Hancock jonfhanc...@gmail.com wrote:
Yeah. I've been selling in the market for about
I think a library project will do what you want, and be pretty easy to
manage to. You'd create your basic app as a library, then create a new
app for each customer, and include that shared library. Any customer
specific changes, including drawables, just get placed in a non-
library project. The
The adb user also has access to /dev/graphics/fb0 so theoretically you
could do this with a shell script over adb instead of rooting the
device.
On Jul 25, 5:47 pm, lbendlin l...@bendlin.us wrote:
If you have a rooted phone and a large SD card you could run a background
service that grabs the
I highly recommend AppMonger to monitor app sales:
https://market.android.com/details?id=com.rectangularsoftware.appmongerfeature=search_result
It has some quirks, but it's nicely polished and gives pretty looking
charts.
On Jul 21, 11:03 pm, Jim Graham spooky1...@gmail.com wrote:
On Thu, Jul
Most likely it's just hdpi. qHD is the name of the resolution. The
Atrix handles this just as extra space, like the older motorolas did
with the 854x480 rather than 800x480, it could just display a bit more
of your layout but it wouldn't scale up images or anything. So if you
are assuming that the
This is what lawyers and contracts are for.
If a user emails me with a legit bug report, they seem to be pleased
with a reply including an APK to test. Somehow I don't think they'd
appreciate a contract nearly as much. And is the lawyer really going
to try to enforce things all over the world,
It does.
Source for Launcher2 is available:
https://android.git.kernel.org/?p=platform/packages/apps/Launcher2.git;a=summary
On Jun 17, 10:37 am, June Hello junehelloworld.he...@gmail.com
wrote:
Does launcher load icons by using PackageManager as well, I think I need to
learn the source code.
tesla
Hey! That's my keyword (TeslaLED Flashlight)!
I do agree that keyword spam doesn't seem big enough of an offense for
your whole account to be deleted.
Any chance one of your other apps did something that could've been
considered malware? Maybe Tiny was just caught in the mix and the
Earlier today I had a ton of Customer review in progress stalls,
market comments and a user that email me asking if I was planning on
doing something about the download issues people were experiencing.
Oh I wish I could.
Anyway now things have picked up and my total sales for the day still
look
I don't remember anyone asking
how to prevent the user from pressing the power key to unlock the phone :)
That's be because the power key doesn't unlock the phone :P, it wakes
it up, then you slide to unlock.
I do actually get user requests to disable the power key from waking
the device, but
I recommend ignoring the timestamp (and retry count) if the last non-
retry response you've received was a licensed response. Yes it could
theoretically be taken advantage of, but it can really reduce the
number of false positives. I used to do this and the only false
positives are when people
This group is probably not the best place to ask rooted related
questions as it focuses on SDK development which root is not. XDA or
StackOverflow might be a better bet, in general use of root in
development is poorly documented though.
But no, an Android app cannot* run as root (And as annoying
I'm pleased with the Amazon Appstore, but I do still get the majority
of my sales from the Android Market.
My app has been ranked pretty high on Amazon since the beginning. I
believe part of the reason is that it's oriented at power users and
that overlaps with the early adopters of the Amazon
A normal app cannot get the STATUS_BAR permission or disable the
status bar. It's for system apps only.
On May 25, 9:19 am, jhonny jhonny...@gmail.com wrote:
Hi all,
So I'm trying to do an app, but I must to block the status bar, like
when you are calling and you can't push down the bar.
I quit my day job several months ago for my Android Apps career and
am doing very well and love it. But it's not like I set out to be an
Android App developer. I taught myself programming and programmed the
hell out of whatever I could, went to university for Electrical
Engineering/Robotics, got a
I think the 10.1v is actually the fatter one and the 10.1 is the
thinner one that was handed out at Google I/O and not publicly
released yet?
Anyway the whole Doesn't work with Mac, the world is ending news
about the Google I/O tab was totally blown out of proportion. I use a
Mac for development
I mostly agree with the blog post but some additional thoughts:
1) Google just opened up paid apps in more countries. There's
potential to turn current pirates into legit users. However if they're
already used to downloading your app from the pirate sites then even
after you release an update
moveTaskToBack is what you're asking for, but check the rest of the
documentation about the lifecycle too to make sure it's what you
actually need.
http://developer.android.com/reference/android/app/Activity.html
On May 6, 11:07 am, Cel kristjan.la...@gmail.com wrote:
i know how to cancel back
The suggest to create an alarm to
wake up every 5 minutes is a good one. That will actually be more robust
than having a service always running.
Would it be possible to expand on this at all? My (perhaps incorrect)
method of testing behavior with a service that is always running is by
killing
Actually on ATT you can't use http or dropbox to install APKs because
ATT block sideloading.
But enabling the phone's System Settings Applications Development
USB debugging and using eclipse or adb is easier anyway.
(And like Mark said you may need the usb driver)
-Kevin
On Apr 30, 12:47 am,
java.lang.RuntimeException: Unable to start activity
ComponentInfo{com.example.android.livecubes/com.example.android.livecubes.c
ube1.XmlSample}:
android.view.InflateException: Binary XML file line #11: Error
inflating class net.youmi.android.AdView
Your activity is starting, but the
It's not a Widget like an AppWidget. It's an activity that starts
when the screen is off, similar to the alarm clock popup.
Check out FLAG_DISMISS_KEYGUARD and FLAG_SHOW_WHEN_LOCKED.
HTC customized the actual keyguard to pull layout resources from an
APK (but only their own APK, except on the EVO
You're not alone. I also suspect during the short time that reporting
was available the numbers were wrong.
I'm also in the top paid apps for Amazon and really want to know what
my numbers are. I contacted them and they said they're aware of the
issue and working on it. Hope we get to see some
There's something wrong with your phone.
He already said that:
I have a Samsung Galaxy S phone.
-Kevin
On Apr 3, 2:25 pm, Marcin Orlowski webnet.andr...@gmail.com wrote:
On 3 April 2011 21:04, Andrei Gherzan and...@gherzan.ro wrote:
Hello to all,
I have a Samsung Galaxy S phone.
With all these Markets, apks are starting to get more complicated. I'm
taking the approach of a different APK for different Markets.
There's some permissions I need in some cases and not in others. Like:
com.android.vending.CHECK_LICENSE
It doesn't hurt anything to have it on the Amazon store
Opera has just launched its own Mobile App Store
And instead of contacting developers to get them to submit their apps
before launch, Opera just populated it with pirated software... Not a
good way to gain developer support or credibility.
-Kevin
On Mar 25, 2:07 pm, Fernando Cassia
and Handango and Opera are all
the same store.
A quick check shows that other warez, like Beautiful Widgets, is still
available.
-Kevin
On Mar 29, 4:02 pm, Nathan critter...@crittermap.com wrote:
On Mar 29, 1:19 pm, Kevin TeslaCoil Software ke...@teslacoilsw.com
wrote:
Opera has just launched its own
I root all my phones. Root lets you access your app's data directory,
which is handy for viewing/editing a database or shared preferences
file.
But I don't run custom roms (Unless I'm actually tested something
related to that rom). Custom roms definitely can lead to ridiculous
problems.
I've
Android gives priority to the default Home application, to prevent it
from being removed from memory. Launchers require lots of memory.
Without this protection there is a good chance the actual launcher
will be killed and need to reload, which is slow and the user sees the
widgets redraw on the
I've gotten a few chargebacks. The email Google sends when this
happens includes this nice piece of information:
Please note that for Android Marketplace chargebacks received after
June
1, 2010, Google will not assess a chargeback fee.
And references:
You tested with an actual Credit Card Chargeback and not just a Google
Checkout cancel/refund/whatever?
-Kevin
On Mar 18, 1:24 pm, TreKing treking...@gmail.com wrote:
On Fri, Mar 18, 2011 at 11:57 AM, Kevin TeslaCoil Software
ke...@teslacoilsw.com wrote:
What's weird is that Google
Do you have howtoplay_button defined in your layout-port/main.xml and
not in your layout-land/main.xml ?
(Or in general if you have multiple main.xml files, for different
screen sizes or whatever, and forgot to update one of them, this can
happen)
-Kevin
On Mar 13, 11:40 pm, acr acr...@gmail.com
The pirates will often miss that
and catch a lot of well deserved flack from users who have downloaded
the broken app.
Careful. You ARE going to get bug reports from pirates. And they will
waste your time by leaving out the very important point that they
downloaded some random apk from some
The CTS needs to be updated to test that shared_prefs (and all app
data) is actually deleted during an uninstall. Especially if the
vendor randomly picked /dbdata/databases rather than /data/data. Or
maybe just ban Samsung.
I finally got my hands on an affected phone. This one is a Galaxy S
The method used by the stock lock screen and while in a call is
signatureOrSystem only:
!-- Allows an application to open, close, or disable the status
bar
and its icons. --
permission android:name=android.permission.STATUS_BAR
android:label=@string/permlab_statusBar
I think I've seen something like if you show a toast and then your
activity is destroyed before the toast disappears it might get stuck.
Easier to reproduce if you're calling finish(). Probably could avoid
it if you save the toast reference and do a .cancel() in onDestroy.
-Kevin
On Feb 28, 8:53
Well I could be wrong about the cause, but I have definitely seen them
stuck before. Killing the process fixed it. It wasn't in production
code so I never dug into it.
-Kevin
On Feb 28, 11:22 pm, Zsolt Vasvari zvasv...@gmail.com wrote:
On Mar 1, 1:01 pm, Kevin TeslaCoil Software ke
What the others have said is true, but if you want to check the
permissions you can with the PackageManager's checkPermission
http://developer.android.com/reference/android/content/pm/PackageManager.html#checkPermission(java.lang.String,
java.lang.String)
On Feb 26, 1:40 am, Miguel Morales
I cannot think of another enterprise that earns that much
money from you and won't support you.
It's especially funny (? not the right word for it) when compared to
our users. We write apps that the user pays $1 or $2 for and then
demands customer support and updates for the rest of their
leave a complaint in the Market
Don't do this. A comment like 1 star. Has graphical errors is
useless to any developer and the developer has no way of responding. A
detailed email on the other hand can actually help improve the app/
wallpaper/whatever and the developer can reply if they have
If you're trying to block features on a rooted phone, then as Dianne
said, there is no guaranteed way. Hackers aren't going to let you
block them.
If you just want to know for analytics or a warning or something a
simple test that still covers most rooted phones is checking for the
Superuser.apk
Pls. *don't* use this style of writing SQL queries!
Otherwise you'll always have to watch your back for Little Bobby
Tables.
http://xkcd.com/327/
On Feb 15, 7:07 am, Sebastian Roth sebastian.r...@gmail.com wrote:
On Tue, Feb 15, 2011 at 3:19 PM, Abhilash baddam
You cannot change a paid app to free. Once a paid app, always a paid app.
This is not true (Unless this was recently changed).
Once a free app, always a free app, but a paid app can become a free
app (And then always be a free app).
-Kevin
--
You received this message because you are
This looks like Anti-LVL http://androidcracking.blogspot.com/
Anti-LVL can work through obfuscation/reflection, but it's mostly just
find/replace. Though it's automated for the kiddies.
Extract the app and read the fingerprints.xml and make your
interesting bits harder to find.
-Kevin
On Feb
And wouldn't you like to have *some* kind of working HC emulator now before
devices ship?
I just wanted to say yes, absolutely. Thanks for getting this to us
soon, even in an unfinished/preview state rather than making us wait
for the device to ship and our apps to be broken on customers
Hi,
I believe I have figured things out correctly, but I would appreciate
input of others to avoid breaking things.
I'm hoping to setup my app to be able to download files such as
Gingerbread.wltheme.zip from any website and be handled with my app.
However I do not want my app to be used for
I actually had this very conversation with my (bilingual) wife the
other day. Another potential problem with using system strings in your
own project is that if your default language is English and a user has
their phone set for a language you don't support, they'll then see
English for all your
68 matches
Mail list logo