Doesn't really matter. I find myself testing on 4 different devices in the
emulator - corresponding to different screen sizes. The only time I load
into a real device is just before a release, and that's just habit (see
what it looks like on real screen) rather than a requirement. The fact is
And I still submit my question: why Java? Or rather, why a virtual machine
built on top of Linux, rather than Linux itself??
Several reasons:
1. Hardware portability. iOS runs on tightly defined hardware. Android is
designed to be able to run on different CPUs and hardware
standardised in different languages for Android.
Seems like it should be published somewhere by Google but couldn't find it.
Peter Webb
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android
, menus, persistent data and all the
rest of it ready to modify to your needs, and this will save you a huge
amount of work.
Peter Webb
On Sunday, March 11, 2012 9:55:04 PM UTC+11, Oli Wright wrote:
I had replied but it didn't submit for some reason. Oh well. It boiled
down to:
1. What
Here is what I guess is going on:
If you cut-and-paste stuff from one Project to another in Eclipse, and
the stuff you copy includes a reference to the R class, you will
find that Eclipse will set up an import of the R class for the project
you copied from. This seems to be reasonable behaviour
There are lots of examples on the web, but they generally of poor
quality. Even the game demos in the SDK (eg Lunar Lander) have serious
bugs.
The book Beginning Android Games by Mario Zechner provides a very
good introduction and supplies a 2D Game engine that actually works.
are probably stuck with it.
Peter Webb
On Jan 22, 2:15 pm, JamesColeman jamescole...@radicalphotography.com
wrote:
I am having Image Quality problems using Canvas and
canvas.scale(Scale, Scale); they look exactly like the following:
http://stackoverflow.com/questions/2041207/android-quality
Three days ago, I had 4 Cancelled by Google - Payment declined
messages generated by a single person.
So I used email address in the checkout to offer them the app for free
if they wanted it that much. No reply.
Yesterday I had another 5 Cancelled by Google - Payment declined
events from this
button? Many on
the web are obviously derived from LunarLander or JetBoy and have the
same problem.
Peter Webb
--
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
I had always believed that not being able to download my own app was a
bug. Now it looks like a much bigger bug, as it affects everybody.
The problem I have is that how does it know that my phone is the
developer's phone? Because I am using the same credit card number as
my developer account, or
I have been using a simple 3rd party game engine, from the book
Beginning Android Games.
The example code uses a fixed resolution (320 x 480) and this is
scaled on output. Not surprisingly, the bitmaps and everything else is
scaled and looks pretty poor.
My code is set up to use the native
it keeps the touches in the order I insert them so I
don't have to worry about out of order touches.
Just one idea, someone else may have a more effective one, but hope that
helps.
Steven
Studio LFPhttp://www.studio-lfp.com
On Sunday, October 23, 2011 11:42:50 PM UTC-5, Peter Webb wrote
ConcurrentLinkedQueue. Exactly what I want. Thankyou.
On Oct 24, 11:16 pm, TreKing treking...@gmail.com wrote:
On Mon, Oct 24, 2011 at 1:20 AM, Peter Webb r.peter.w...@gmail.com wrote:
This must be a very common problem, and I would expect a simple standard
solution. As I mentioned, on other
I don't even know if this is an Android question or a Java question.
I am developing a simple game using Lunarlander as a starting point.
Input is through OnTouch events. This changes the game's state - eg a
touch event may cause some gameplay object to be instantiated.
Obviously I don't want
If it is for a paid app, you can use the payments system to contact
the poster and ask them to change their comment. I have tried this a
couple of times; nobody does. I guess the people who make these sorts
of comments don't care if they are wrong.
Once the comment is no longer in the most recent
200/day to 600/day and stayed there. Something this trivial
shouldn't make this much difference.
Peter Webb
-John Coryat
--
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
an approach that will work,
and specifically that:
1. allows Preferences to be shared, and
2. hopefully means the user sees only one app on their phone, and
3. hopefully using the same source code for both versions?
Thanks
Peter Webb
--
You received this message because you are subscribed
on the user's phone and uses only one set of Preferences.
There must be an easy way which is guaranteed to work with the
Market ... any ideas?
On Aug 4, 7:24 pm, Nikolay Elenkov nikolay.elen...@gmail.com wrote:
On Thu, Aug 4, 2011 at 5:48 PM, Peter Webb r.peter.w...@gmail.com wrote
Complete list can be found here: http://tinypaste.com/b7e1e9
They haven't stolen either of my apps; probably not worth enough to
steal.
However many readers of this forum are being ripped-off in this
manner.
And they have the cheek to publicise their theft on a website
frequented by the people
I might add that the web page for the list of programs was last
updated by tomas2605, who manages 1.9m Goggle hits. He appears to be
a Vietnamese resident who works for a graphics board manufacturer in
Hanoi, and hosts pirate websites in his spare time. I am sure a
Vietnamese speaker would be able
examples, it seems path cannot generate smoothed lines
Thanks.
On May 24, 10:27 am, Peter Webb r.peter.w...@gmail.com wrote: You can draw
lines using canvas.drawline.
You can make these smoothed lines by specifying your points in a Path
class.
Once you load your points in the Path array
I have just made a paid version of my free app.
The only chnage I made to my free version was I included a market link
to my paid version.
My ratings dropped immediately. I used to get 65% of my ratings as 5
star, immediately dropped to less than 50%. This was nowhere made up
for by 5 start
Your minimum SDK level is greyed out?
What happens if you directly enter the minSDK attribute into
Manifest.xml
This all seems somewhat remote from your original problem, of R.java
not being generated.
Have a look at the import declarations at the start of your file.
Quite possibly, you
I am trying to use Twitter4j.
There is a special version for Android. The instructions say to put
the jar into your classpath. But if I click on the jar file in my
project or try to use it, it says invalid jar format. This gives me
no hint as to what to do ...
If you got an authorisation error,
You can draw lines using canvas.drawline.
You can make these smoothed lines by specifying your points in a Path
class.
Once you load your points in the Path array, it is a couple of lines
of code to draw it with the Canvas class.
If this is all you want to do, it doesn't need any third party
Notepad app and you probably
won't.
Peter Webb
On May 16, 12:41 pm, Spooky spooky1...@gmail.com wrote:
On May 15, 2:17 pm, DanH danhi...@ieee.org wrote:
If you look around, about half those posting here (and on other forums
for other platforms) are kids who have essentially no programmer
You can't develop Android applications entirely on Android phones. The
SDK runs on Windows, Linux and Mac but not the Android o/s.
Don't hold your breath. I can't imagine that running Eclipse on a
phone is going to work very well, even if it was feasible.
OTOH, if you own a PC, you just run the
Yes, but I had a minor release at about the same time. Went from 43%
active to 37% active in oine hit, the total downloads didn't change at
all, just the active installs. I note that my market rank went up one
spot when this happened; either it also happened to everybody else or
the active
Not sure of your question, but
http://android-er.blogspot.com/2009/08/exercise-intent-bundle.html
and the previous article in the series show different ways in which
multplie activities can be managed.
On Apr 28, 1:07 am, Prayag prayag.d.pat...@gmail.com wrote:
Hi guys,
I am a Newbie and I
Yes.
I complained via the help page after 7 days, and received an email
response saying they were diligently working on it. One app updated
2 days later, the other the next day. Probably a co-inicidence.
On Apr 28, 8:11 pm, AI Factory jeff.rolla...@aifactory.co.uk wrote:
It is a source of
or the
other.
Peter Webb
On Apr 27, 3:46 am, burnayev burna...@gmail.com wrote:
The payments for my application (ActionComplete Pro) sit in a limbo
(the Charge button is grayed out) since April 24. Typically it took a
few hours before an order would come through and Charge button would
be replaced
Messages?
You mean email? You mean instant messaging? You mean SMS? You mean via
bluetooth? You mean via direct sockets connections? You mean via
Facebook/Twitter etc APIs ?
These are all completely different problems, and would be solved in
very different ways.
What are you really trying to
The first line of Java I ever wrote was for the Android app I have in
the marketplace. So I guess I have been in your position.
You can follow a simple Hello World tutorial and write an Hello
World program? Good. The hardest part - getting the environment set up
- is now working.
There is a
You have given no context for your problem. Are you trying to load
some mp3s onto your droid? Or trying to write a program of some
description (which is what this group is about).
It is easy but inconvenient to set up an ftp server on your PC. There
are also several programs you can download
A practical problem.
If I translate (say) Live Wallpaper and Menu button into Chinese,
they may end up as Live Wallcovering and foodlist fastener.
Whatever they are, they are unlikely to be the correct term (ie the
one used by Android elsewhere).
Is there a list somewhere of the official words
translate into Chinese and you don't wanna learn the
hardest language in the world
get a Chinese friend on facebook, MSN, AOL...etc, dude!
the other languages will be applied the same rule!
I'm guessing how hard it would be to get some foreign friends these
day.
On Apr 21, 3:05 pm, Peter Webb
Thankyou all. Minor typo, for others who find this thread?
AlertDialog.Builder.YourAppNameSettings.this);
Should be
AlertDialog.Builder(YourAppNameSettings.this); //
Anyway, it works great (with that mod), exactly what I wanted, thanks
again.
--
You received this message because you
My app has a Restore Defaults function in its Preference Activity. I
want the user to confirm the selection with a box which says Are you
sure, with a OK button and a Cancel button. I built this using a
ListPreference with two items and while it works it doesn't look
right.
Is there some easy way
An obvious suggestion: don't start by trying to write an app.
Start by compiling and running a demo application, and progressively
modifying it until it does what you want. There are hundreds of these
demos in the SDK and on the net illustrating all types of apps.
Keep fixing problems as they
1, 2011 at 9:07 PM, Peter Webb r.peter.w...@gmail.com wrote:
You cannot currently use Shared Preferences to read the preferences
in another package, the documentation says this is currently unsupported.
Who said anything about reading preferences in another package
(such as myself and probably you),
Preferences are more straightforward than Content Providers, and a
solution based on Shared preferences is easier to implement if it can
do what you want.
That's my experience, anyway.
Peter Webb
On Apr 2, 9:28 am, Indicator Veritatis mej1...@yahoo.com wrote:
Ah
The standard Cube2 Live Wallpaper demo seems to handle Preferences
strangely to me, in that it wires up an event handler which modifies a
global variable. I don't want to to do that (or, more to the point,
when I tried it didn't work for me).
I don't see that I need to wire up any event handlers;
Thanks - But I already have two suitable color Preferences classes
which I downloaded from the net - neither actually works for me. I
assume its my error in incorporating them into the Cube demo. I
certainly don't want to write my own Preference, just want to get
somebody else's color preference
is causing your 300
mS delay (shouldn't be too hard!) and fix that.
Peter Webb
On Mar 22, 7:58 am, Jeffrey jeffisagen...@gmail.com wrote:
I am not getting any speed improvements over just changing the top/
left coordinates of the .drawbitmap() command. I'm going to look into
using OpenGL as I think
I think you are possibly doing this the wrong way.
There is a canvas.translate() method which moves the canvas itself.
This just sets the hardware to look at a translated location, so
should be instantaneous plus or minus 1 nanosecond.
The downside is that you will need to draw the image to a
to one hour to find and fix my mistake, and I am desperate
enough to pay for this assistance. I can email you the cube test
project and you fix my simple mistake. If you have a profile on this
group, I am willing to pay some or all upfront. Please email
privately.
Peter Webb
--
You received
Call canvas.translate(-x), draw, then call canvas.translate(x)
You are moving the location on the canvas underneath where you draw,
after you have drawn whatever you need to move the canvas back.
On Mar 21, 8:47 am, Jeffrey jeffisagen...@gmail.com wrote:
Is there a way around having to call
Sorry, found it.
android:theme=@android:style/Theme
Instead of
android:theme=@android:style/Theme.LightWallpaper.wallpapersettings
My excuse: I only do wallpapers, and so have never seen or used a
theme before.
On Mar 19, 4:05 pm, Peter Webb r.peter.w...@gmail.com wrote:
When you go
If you can install and use Market on an emulator, what's to stop you
writing a script to download your app and rate it 5 stars on hundreds
of emulators?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
When you go into the settings screen for the standard cube wallpaper
demo, they are a semi-transparent overlay over the screen wallpaper.
For example:
http://developer.android.com/resources/samples/CubeLiveWallpaper/index.html
The pic on the right has the octahedron peeping through.
I want my
*Which* Live Wallpaper ?
All of them, you may have a problem. One of them, leave a complaint in
the Market and stop using it.
On Feb 23, 3:50 pm, Amit amityadavsuc...@gmail.com wrote:
Hello Sir,
First of all sorry to post it again but what I would do. I am not
getting response from
If it happens with *all* Live Wallpapers on your phone, then not much
point in looking in your application to see the bug. If most or some
of the top 5 or 6 Live Wallpapers in the Market have the same problem,
and you haven't done anything funny to your phone, then I would ask
the people you
The download stats are updated on average about once every 38 hours.
They may be updated once or twice per Neptunian day, but definitely
not per Earth day.
On Feb 23, 10:05 am, Justin Anderson magouyaw...@gmail.com wrote:
The stats page only updates once or twice a day...
On Sun, Feb 20, 2011
paint the whole screen for every frame, since the animation is
based on new polygons painting over the old ones. This creates a
pattern. If I painted over the old polygons, there would be no
pattern.
Peter Webb, you suggested that I should paint everything to a Bitmap.
Wouldn't that be too
From my own investigations, when you are given a Surface to write on,
its contents are undefined but in practice the contents are the
previous buffer used by Android's double buffering (for wallpapers at
least it just flip-flops between buffers).
Hence your flickering, as I think you correctly
I bet you can make a pretty funky laser beam using the draw lines or
fill polygon commands in the Canvas/Paint library.
To draw basic unpulsed laser beam draw a transparent line of width 6
between a and b. Then draw on top an opaque line of width 2 between a
and b. You will get an effect where
Use Windows to do a text search across all files in the project for
the old name. Worked for me.
On Jan 6, 2:37 pm, Hendrik Greving fourhend...@gmail.com wrote:
Tried that, I uninstalled deleted everything before. It must somehow still
hidden in the sources somewhere.
- Original
Stick the following in your code:
android.os.Debug.waitForDebugger();
Not the easiest thing to find ...
On Jan 5, 4:29 pm, John Lussmyer johnlussm...@gmail.com wrote:
Well, I just went through my code several times, and found the 1 character
typo that was causing my onchanged() method to
?
I don't suppose the Google explains any of this anywhere
Peter Webb
--
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
AppBrain knows what other apps are installed on phones that use
AppBrain, and what sort of phone and O/S it is. The AppBrain client
harvests this info and stores it in a central DB.
They also know the age, sex and country of use of every phone that
uses Appbrain, because when you (as a user) sign
AppBrain
Find your application at http://www.appbrain.com/
Claim it as the developer.
If you have enough users of your application (about 15,000 I think),
you will get access to very detailed stats on your users - breakdowns
by age, phone type, country and gender. The more users you have the
I have a wallpaper app on the market. I have almost finished a
customisation application for it, which I want to sell. Because it is
a wallpaper, I can't use a launch intent.
I have now spent many days trying to simply pass a custom intent using
BroadcastReceiver. I can't find a single example on
It is not anything specifically to do with Microsoft:.
http://en.wikipedia.org/wiki/Mojibake
Double quote marks and apostrophes are frequent offenders. This is
because ASCII contains only a single character for each, but different
characters are used for the start and end quote marks. Short and
Looking at the Developer's console, I note (correctly) that my
application needs permissions for touch-screen operation.
I don't think it used to do that, but maybe I just didn't notice.
Furthermore, touchscreen is a standard part of the google android
hardware specification, and it is hard to
Stalled for me as well. Still getting new comments as always, just the
download numbers for my (free) app have been unchanged for the last 4
days. Doubtless they will get round to updating them eventually.
On Nov 21, 1:30 am, David Erosa García soul...@gmail.com wrote:
Hi all.
Does anyone else
I have worked my way through the Notepad example and sort-of
understand how the intents are passed back and forth.
Basically, in Notepad the intents are read (mostly) in
onPrepareOptionsMenu(). The system is polling the intent status
within the code. That strikes me as a somewhat arbitrary
Thankyou for your reply. Thankyou also for answering the last question
I posted to this forum, and thankyou for writing the best book I have
on on Android programming.
I have an app in the Market which is going very well indeed, but I am
having lots of trouble taking it to the next level.
Lets
I doubt that you will get a date from Google for being able to
directly offer paid apps from India. Australia and a few other
countries were turned-on a few weeks ago, and we got no notice at
all.
However, there are lots of organisations which fill this gap; you send
them your app, and they
Setting up the Eclipse environment correctly is not easy. I have done
it 3 times now, and seen this error a few times.
I think that you have to install ADT first, and then use this to
import the SDK.
The other thing I vaguely remember is that the load preferences
command looks for .zip or
create a custom
CursorAdaptor which binds to two fields instead of just one like
SimpleCursorAdapter? There must be some easy way
Sorry/thanks/help
Peter Webb
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send
I'm a newb as well.
I offer my idiot suggestion purely on the basis you sound desperate. I
know that feeling.
Have you tried calling .invalidate to force a redraw between steps, so
the display and your code stay in sync?
On Oct 31, 4:43 pm, acr acr...@gmail.com wrote:
I am totally stumped
Thankyou, thankyou, thankyou to both of you. Exactly what I needed.
--
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
Thanks. As I need to talk to my wallpaper even when it is not
selected, sounds like I have to use Broadcast Receiver.
--
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
I need to send configuration information from a regular app to my
Live Wallpaper, which may or may not be the selected wallpaper.
I can see two possiblilities:
1. Use SendWallPaperCommand. This only works for the Home application.
ItMy test won't build because this is a static method and I am
The first thing I recommend watching is this google
presentation:http://www.google.com/events/io/2009/sessions/WritingRealTimeGamesAnd...
I think the advice given in this video is basically wrong.
It is a presentation done by a C++ programmer who has just written his
first Java program. His
in (say) a
List View and their content at runtime ?
Thanks
Peter Webb
--
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
I'm very new to Android programming, but have put a Live Wallpaper on
the market, and its doing surprisingly well.
I'm very pleased.
What I want do is make some money out of it, but I don't know the
technical architecture to use.
What I want is for users to be able to change the settings of the
Actually, I want to get access to the screen as well.
I have a market application called Steamy Windows which appears to
do exactly this. So I am thinking it must be possible ...
On Sep 11, 12:06 am, Mark Murphy mmur...@commonsware.com wrote:
On Fri, Sep 10, 2010 at 9:53 AM, dadada
activity.
On Sat, Sep 11, 2010 at 11:39 PM, Peter Webb r.peter.w...@gmail.com wrote:
Actually, I want to get access to the screen as well.
I have a market application called Steamy Windows which appears to
do exactly this. So I am thinking it must be possible ...
On Sep 11, 12:06 am, Mark
I have just gone through exactly this, except my app is free.
1. I know a (pathetic) 6 people with Android phones. One couldn't see
my app. We compared which apps he could see; he was missing about 10%
including mine.
2. The user who couldn't see the app owns a Samsung Galaxy. There is a
known
I am also an Australian software developer.
I can state with absolute certainty that these figures are absolute
bullshit. 92% of apps running in Australia are not pirated. It is
absolutely ridiculous.
Anecdotally, as a developer I have sought our everybody I know with an
Android phone, maybe
I would go further than that.
If the OP has no programming experience, then Java/Android is an
almost impossible starting point:
1. The online doco is hopeless. Yes, as you say they all assume a
pretty high level knowledge of Java to start with. Worse, for the
beginner, is that unlike some
completely remove and re-install
the whole devel environment if I was sure it would fix it.
Peter Webb
On Jul 1, 2:42 pm, Bob Kerns r...@acm.org wrote:
There are several possible editors to use to edit these files. I'd
suggest trying a different one.
First, close the editor that's giving you
This has come up before, but I'm still not clear.
I published my first app last night. It sunk like a stone. I want to
change its name. I don't want to force the few people who have
downloaded it to get an update.
It seems to me that if I:
1. Change the android:label in the manifest to be the
On Aug 11, 6:55 pm, { Devdroid } webnet.andr...@gmail.com wrote:
On 11 August 2010 10:21, Peter Webb r.peter.w...@gmail.com wrote:
This has come up before, but I'm still not clear.
I published my first app last night. It sunk like a stone. I want to
change its name. I don't want
Thankyou. Solved the problem. Strange the demo program got this wrong
as well ...
Peter Webb
On Aug 8, 4:01 am, Dianne Hackborn hack...@android.com wrote:
The live wallpaper picker doesn't show icons; it shows thumbnails declared
by the wallpaper in its wallpaper meta-data XML:
http
When I fire up an emulator using Eclipse and have a look at live
wallpapers, the two default wallpapers - Cube and Cube Resources -
show as grayed-out icons that look like the image is missing.
The wallpaper I have written is exactly the same, the proper image
doesn't show. Doesn't work on my
make to Lunar Lander or the others which
gives me a full screen canvas at native device resolution to handle in
my doDraw?
Thanks in advance
Peter Webb
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email
88 matches
Mail list logo