Group: http://groups.google.com/group/android-developers/topics
sblantipodi <perini.davide@dpsoftware.org> Jul 31 05:20PM -0700 ^
Hi,
I have built in the Sample code from LVL and putted it into my main
activity.
I haven't understood why it always returns LICENSED also if I setted
UNlicensed from my developer console.
this is the adb logcat output...
I/LicenseChecker( 496): Binding to licensing service.
I/LicenseChecker( 496): Calling checkLicense on service for
packageName
I/LicenseChecker( 496): Start monitoring timeout.
I/LicenseChecker( 496): Received response.
I/LicenseChecker( 496): Clearing timeout.
I have no idea on why it gives me always licensed...
Thanks.
Adal <arpia49@gmail.com> Jul 31 10:49PM +0200 ^
I think the user is not always the problem and if it is... we've got a
problem because we can hardly make people change their behave, what we can
do is build better apps that don't take resources they don't need. That's a
developers fault and that's the one developers should focus.
If we keep thinking users are idiots instead of giving them better apps and
better phones so the realized thinks are evolving we'll see how users go to
other products.
That's why (some) people root their phones and install some not official
ROMs, cause vendors what to sell better/newer phones even if the old ones
could be (sometimes) upgraded.
I think "auto terminate" functions are only as good as the worst app
installed on your phone.
(I hope my message could be read, my English is far from perfect)
Indicator Veritatis <mej1960@yahoo.com> Jul 31 05:19PM -0700 ^
Kostya-
Most of what you say is true, but beside the point. Task killers per
se do not "interfere with the platform's functionality".
Now yes, some users do have the strong desire you allude to, but that
is far from proof that the desire for Task Killers IS an example of
this effect. I do not believe that it is.
On the contrary: I know that the performance of my handset is
sometimes improved by killing tasks that Google decided to leave
running even long after I finished with them.
Besides: even your Windows example is not as you would have it. Many
registry cleaners, especially the free ones or the 'crippleware', are
junk, but there do exist genuine cleaners that work well. I have often
resuscitated a sick Windows system by running a high quality registry
cleaner on it. So again, the problem is not that they serve only a
psychological need, but rather that some are genuine and many are not.
You should also remember that much of the work these registry cleaners
do became necesasry only because 3rd party programs fail to clean up
after themselves when they do an install or uninstall. If every 3rd
party app behaved exactly according to Microsoft rules, the registry
cleaner would be unnecessary; but that was a vain expectation, doomed
to be disappointed.
Why wouldn't the situation be the same with Android Task Killers? The
one I chose, as I already mentioned, really does improve performance
at least some of the time. And I do have a strong suspicion that it is
the 3rd party apps failing to follow Google rules concerning the
lifecycle that make Task Killers useful. The app I downloaded for
reading NY Times feeds, for example, fails to show progress, comes up
with frequent ANRs and occasional crashes.
kivy <victoriasarabusse@gmail.com> Jul 31 05:11PM -0700 ^
Hi there,
I just ran into a problem, while trying to populate a ViewStub by
tapping an ImageButton within a SlidingDrawer (the ViewStub should
also be part of the drawer), but all I get is a Force Close Error due
to a Null Pointer Exception. As I am using ViewStubs for the first
time I am not sure, what may have caused the exception. If someone
could help me out with this issue, this would be fantastic.
Thank you in advance.
This is the code I use to inflate the ViewStub:
btnExposure.setOnClickListener(new OnClickListener()
{
@Override
public void onClick(View v) {
importStub = ((ViewStub)
findViewById(R.id.stub_exposure)).inflate();
}
});
This is part of the Sliding Drawer xml file containing the ViewStub:
<ViewStub
android:id="@+id/stub_exposure"
android:inflatedId="@+id/exposureview"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="#77000000">
</ViewStub>
This is the exposureview.xml (the inflatedID):
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/
android"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<SeekBar
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:thumb="@drawable/seek_thumb"
android:progress="50"
android:max="100">
</SeekBar>
</RelativeLayout>
AUandroid <thevking@gmail.com> Jul 31 12:39PM -0700 ^
Hi All,
I am about to release my first app on the market for free. How should
I reference or give citations to images I have used in my app. I have
used two images which are free images available at
http://commons.wikimedia.org/wiki/Main_Page
thanks,
-vk
Streets Of Boston <flyingdutchie@gmail.com> Jul 31 03:22PM -0700 ^
One possibility is to have an 'About' screen, reachable from your menu
or from your settings/preferences activity. Put the references/
citations in the About screen.
AUandroid <thevking@gmail.com> Jul 31 04:22PM -0700 ^
thanks for the tips. As I told you its my first time publishing a app.
Can anyone please have a look at this image and let me know what I
must write in my about page.Is it ok? if I just provide this link in
my about section http://commons.wikimedia.org/wiki/File:Nuvola_apps_important.svg
or I must specify any license information. I am using it when ever I
want to alert the user.
Thank you,
-vk
Moto <medicalsounds@gmail.com> Jul 31 03:24PM -0700 ^
Hi,
I currently have my application signed using a keystone key I
generated. Could I use a new keystone to sign my application for the
next update?
Any issues that could arise if I use a different keystone?
Thanks!
-Moto
Moto <medicalsounds@gmail.com> Jul 31 03:26PM -0700 ^
keystone = keystore :P
Moto <medicalsounds@gmail.com> Jul 31 03:32PM -0700 ^
Oops never mind :( You can't do that...
http://developer.android.com/guide/publishing/app-signing.html
"Application upgrade – As you release updates to your application, you
will want to continue to sign the updates with the same certificate or
set of certificates, if you want users to upgrade seamlessly to the
new version. When the system is installing an update to an
application, it compares the certificate(s) in the new version with
those in the existing version. If the certificates match exactly,
including both the certificate data and order, then the system allows
the update. If you sign the new version without using matching
certificates, you will also need to assign a different package name to
the application — in this case, the user installs the new version as a
completely new application."
Doug <beafdefx@gmail.com> Jul 31 03:30PM -0700 ^
Try posting a series of delayed messages or runnables to a handler
that alter the TextView in sequence as you need.
sblantipodi <perini.davide@dpsoftware.org> Jul 31 03:17PM -0700 ^
How can we use ServerManagedPolicy in the emulator and fastly switch
from licensed to unlicensed to something else?
The first time I got the licensed message, than I'll continue to get
the licensed
message also if I set UNLICENSED from my developer console after I
deleted and reinstalled the app on the emulator.
Thanks.
sblantipodi <perini.davide@dpsoftware.org> Jul 31 01:00PM -0700 ^
ah ah... it's incredible...
I develop on Windows Mobile, JavaME, Bada, Blackberry, Symbian.
I can use preprocessing on every platform...
How can you develop on a mobile without preprocessing? Sure android is
really good for fart app,
but what else?
I don't want to troll but I really can't understand why I heard many
developers saying "viva android" when
google released the first buggy SDK.
Kostya Vasilyev <kmansoft@gmail.com> Aug 01 12:15AM +0400 ^
The absence of preprocessor has to do with Java, not Android.
And tlhere is a lot of Java software out there...
--
Kostya Vasilyev -- http://kmansoft.wordpress.com
01.08.2010 0:00 пользователь "sblantipodi" <perini.davide@dpsoftware.org>
написал:
ah ah... it's incredible...
I develop on Windows Mobile, JavaME, Bada, Blackberry, Symbian.
I can use preprocessing on every platform...
How can you develop on a mobile without preprocessing? Sure android is
really good for fart app,
but what else?
I don't want to troll but I really can't understand why I heard many
developers saying "viva android" when
google released the first buggy SDK.
--
You received this message because you are su...
sblantipodi <perini.davide@dpsoftware.org> Jul 31 01:27PM -0700 ^
Ok but other java software/platform supports preprocessor on both
Eclipse/Netbeans/IntelliJ/JDE ecc. ecc...
Frank Weiss <feweiss@gmail.com> Jul 31 01:34PM -0700 ^
Here is a long thread on the subject:
http://groups.google.com/group/android-developers/browse_thread/thread/1c9078176b172e1a/235bae6530ee7e74?show_docid=235bae6530ee7e74
There are Java projects that use various preprocessors. The lack of a
standard one is a problem. AFAIK Sun's WORA ideology ran against the
need for a preprocessor, although many developers think that mobile
platforms have taken a big bite out of WORA. Modern software
development methodologies, such as refactoring to patterns, tend to
use other approaches for making software flexible and reusable.
Personally, I'm glad Java does not have a preprocessor. It just seems
a much cleaner language that way, that is, I have never yet seen Java
code with ifdefs. But I can understand that it can be very useful
under certain circumstances.
TreKing <trekingapp@gmail.com> Jul 31 03:58PM -0500 ^
On Sat, Jul 31, 2010 at 3:00 PM, sblantipodi
> How can you develop on a mobile without preprocessing?
Quite easily, actually.
> Sure android is really good for fart app, but what else?
Is this is a serious question? Have you browsed through the Android Market
(as painful as that is)? There's a lot more out there than "fart apps".
> I don't want to troll but I really can't understand why I heard
> many developers saying "viva android" when google released the first buggy
> SDK.
Probably simply because it's an alternative to iPhone.
Now, someone with your experience developing for so many devices can surely
adapt to not having a preprocessor. It's good for many things but definitely
not a necessity and will certainly not cripple you when making an Android
App.
If you're personally that attached to having a preprocessor, no one is
forcing you to develop on Android.
Good luck.
-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices
sblantipodi <perini.davide@dpsoftware.org> Jul 31 03:09PM -0700 ^
I'm sorry for my rude and really not too much kind speaking,
but I can't belive that android doesn't support preprocessor.
I can't think on mobile programming without preprocessor, too many
different configurations,
think only to LVL and android market and preprocessor could be
useful...
Ok we can live without it, but codes becomes really unelegant...
Sincerely I really don't like the non preprocessor way but
unfortunantly,
masses told that android is good and I need to develop on it :)
Streets Of Boston <flyingdutchie@gmail.com> Jul 31 03:16PM -0700 ^
I'm glad to not have to use pre-processors and hash-defines.
I hated them when i worked in C (and C++) (they tended to get over-
used, made code unreadable and difficult to debug) and for the last
decade of Java programming i really never ever needed them.
"How can you develop on a mobile without preprocessing?"
Easily, no problem.
Brian <avalon73@caerleon.us> Jul 31 02:45PM -0700 ^
I've done some testing on this, myself, and it seems that it only
returns the NOT_MARKET_MANAGED error for an app in the market if the
version code (the integer form of the version number in the manifest)
in the copy making the check is higher than the one currently in the
market. If the version code in the copy of the app making the check
is less than or equal to the current one in the market, then the
normal license valid/invalid response is given unless there's another
error.
That seems acceptable to me, even if it is a bit odd considering the
docs imply that it indicates only a package name mismatch.
keyeslabs <keyesdav@gmail.com> Jul 31 02:21PM -0700 ^
Speaking as someone who has traveled this road before with my own
implementation of basically the same approach, obfuscation will be
critical. With AAL, it took about three days for someone to crack the
app. The process looks something like this: decompile the apk using
a freely available open source tool, find the code that invokes the
licensing check, skip it, recompile and repackage the apk.
Obsfucation will make this more difficult, but not all that tough
given the usage of intents for communication between LVL and the
market tool.
Don't get me wrong, I think that LVL will offer a much needed road
bump for pirates -- stealing apps will actually require a crack of
each app. This is a viable approach to license verification and
that's why I took the same route with AAL months ago. It certainly
seems like google could have gone further though.
The coverage of this has been very extensive in the press, and I would
guess the coverage of the first released crack within a week or two
will also make a fairly big splash, which won't look great for the
platform.
All told though, I think LVL is a positive step for the platform.
Speaking as someone that was seeing 90%+ piracy rates before
implementing something very similar to LVL in my own apps, I'm happy
to see google addressing the problem.
Dave Keyes
RickB <rick.bullotta@comcast.net> Jul 31 01:30PM -0700 ^
Can any version of Android support simultaneous connections on both a
mobile network (e.g. 3G) and a WiFi network? Here's the requirement:
I want to connect to a local Wifi network of sensors/devices that is
not connected to the Internet, and be able to transmit data to an
Internet-connected web server. Obviously quite easy to do on
virtually any platform in Java, but it seems that Android does not
allow multiple networks/radios to be active at a time.
Big flaw, IMO. Should be a configurable option to allow that.
With Froyo and mobile hot spot functionality, clearly it is
*technically* possible to do, but I don't want to be the Wifi "host",
but rather, a "connected client" to another Wifi network, and then do
web requests over the 3G network.
Thanks in advance for any suggestions/workarounds.
Connick <oconnick@gmail.com> Jul 31 03:33PM -0400 ^
For anyone looking to dynamically add a header to a sorted cursor in a list,
Kostya's suggestion worked brilliantly. In getView override check the column
value you're sorting on of the previous cursor position to determine if you
need to use a regular row or a view which contains both a header *and* a row
layout.
Kostya Vasilyev <kmansoft@gmail.com> Jul 31 11:55PM +0400 ^
(( blush ))
--
Kostya Vasilyev -- http://kmansoft.wordpress.com
31.07.2010 23:34 пользователь "Connick" <oconnick@gmail.com> написал:
For anyone looking to dynamically add a header to a sorted cursor in a list,
Kostya's suggestion worked brilliantly. In getView override check the column
value you're sorting on of the previous cursor position to determine if you
need to use a regular row or a view which contains both a header *and* a row
layout.
Victoria Busse <victoriasarabusse@gmail.com> Jul 31 08:50PM +0100 ^
That sounds great, but I just read that a ViewSwitcher only works with two
child views and I have at least 4 :((
--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en