I am not entirely sure if I understand.. but is it possible when you raise
the alert dialog, it's a different activity and that may be why it seems
it's not working? Maybe you have to do something in the alert dialog... or
maybe it blocks the main activity thread and that is why?
On Wed, Jan 20,
Not sure of other ways, but couldn't you use some sort of preference check
for a new flag the update only knows about, if it's not there, wipe the
saves out then set it? Some sort of first run flag for the update?
On Wed, Jan 20, 2010 at 2:30 PM, Joshua Frank frankjos...@gmail.com wrote:
I have
Interesting Mark... is there no way to have something wake/start an app up
when a condition occurs? I was reading the blog on Screebl, it seemed like
with the Location support they can activate based on the location or other
conditions of the device. I wasn't under the impression that app was
wrote:
On Mon, Jan 18, 2010 at 10:56 PM, Kevin Duffey andjar...@gmail.com
wrote:
I am curious.. how do you work in ad support into an app? This is one
of the
business models discussed in other threads, and it seems like providing
a
lite version with ads, and a pay version is one way to go
One thing you haven't indicated is if you need this remote access when the
app starts, or if you actually need to periodically wake up and poll the
remote service? If you only need to have a user start your app.. and at that
point it requests to the remote service once.. or while the app is
Wow..where to start. First..I never heard of or looked up those servers you
mentioned. But more importantly, exactly what do you need from the server
side component for your game? Is it to keep track of player locations in the
game world, store all their info, profile, achievements, scores, etc?
Couple thoughts on this. TreKing has a good idea. I've seen this done
before. The only thing I would be worried about is as a user of the app,
having to pass thru all this content to get to the app. Sure, you probably
allow them to skip it. A different idea.. is this even worthy..is to provide
a
Hey Robert,
Love your online stuff.. read it all. Still got it bookmarked in hopes of
using some of it for some game ideas.
That said, I think the Ruby language is quite a bit more difficult at least
in syntax than Java is. If you already know the Java language, why learn
another language for
Interesting. I've got to read up on services more. I thought when you start
a service it's a new application that is running along with other background
apps. Essentially, I thought you'd have the foreground app PLUS a background
app running. When the foreground app closes, the background keeps on
I suppose it's too late, or perhaps too many wouldn't have joined up with
google if they had done this, but it would have been nice if there was a
guarantee from all devices that any app that runs on the emulator will run
on devices. I've read not just in these emails, but on other forums as well
I am watching this now. Pretty kewl. This guy talks really fast tho. :D
On Tue, Jan 19, 2010 at 10:34 AM, Miguel Morales therevolti...@gmail.comwrote:
Hey Rakesh,
I have yet to see any good complete tutorials on making an android game.
I think this is because there is more than one way to
An alternative approach might be to use HttpClient and submit directly to
the URL the form does, passing in the form attributes with your call and
correct values. You will probably have to look at the page source of the
site you are trying to get into tho.
On Tue, Jan 19, 2010 at 9:55 PM,
Was just watching the video from back in May by Chris Pruett. He had a
performance slide comparing canvas to opengl and as he noted there, canvas
is much slower. I am sure you know this, but getting 30fps on a Canvas with
more than a dozen or so sprites might be difficult when you factor in game
Good reply Dianne. I get pissed when I read blogs about how fragmented
Android is as well. I don't get how it's fragmented. The only fragmentation
that seems slightly just is the issue where individual phone vendors are
providing their own special UI and extra features. I think the biggest issue
So can you download a pack to the SD card from a server.. and your app can
then look on the SD card for packs and load them up dynamically? Your app
would provide an interface, the packs would implement it, you could
dynamically instantiate them like plugins, based on that interface
So it looks like I may have to manually (programatically) listen for zoom
events and scale the images myself... or has anyone been able to get their
overlay icons to scale in size with zoom?
On Tue, Jan 12, 2010 at 1:00 AM, Kevin Duffey andjar...@gmail.com wrote:
Hey all,
I been messing
I take it you don't have an Android phone.. if you do, you may want to
develop on that instead... it's more than likely more powerful than your
win2K box. :D
I got my wife a netbook for $200 that runs windows 7... 250GB hd, 1GB ram,
etc. I don't recommend that tho. For about $300 or so you can
Actually..that's a decent laptop. Why don't you run Windows 7 on it? I am
running Windows 7 Ultimate on lesser hardware and it works great. If the
upgrade is not an option I can understand. but I have a 1.6Ghz pentium cpu
with 768MB ram and it runs solid. I can't run 10 things at once.. but I am
Another thought.. you have the asteroid[i] array.. and then you do the if
(asterod.isAlive()) method. First.. eliminate the method call as you've been
told.
But for this particular example.. why are you keeping an array of objects
that may not be displayed? By this I mean.. if you have 30
, Kevin Duffey andjar...@gmail.com wrote:
So it looks like I may have to manually (programatically) listen for zoom
events and scale the images myself... or has anyone been able to get their
overlay icons to scale in size with zoom?
On Tue, Jan 12, 2010 at 1:00 AM, Kevin Duffey andjar
Ok..read your blog. I personally still don't get the craze over twitter. I
enjoy blogging.. when I have something to share..but as I have nobody that
reads my blog, I don't really blog any more. I can't stand trying to type on
my phone device. The virtual keyboard on the Moto Droid is pretty
I use RingDroid.. I think it supports wma, not sure now. I use mp3 tho with
it no problem, and it's a free app.
On Mon, Jan 18, 2010 at 4:55 PM, sansu sansu.andr...@gmail.com wrote:
Hi,
Can we set a wma song as alarm ringtone?
I set a wma as alarm ringtone but it is playing the different one
Exactly Frank. I'd first like to avoid loading different image sizes for
each zoom level for each item I want to place on the map. Here's the thing..
in my app, it shows state parks. If you're zoomed out far enough, you're not
going to see any parks. Right now tho, as you zoom out, all my icons
Yah.. if you have 3GB of ram, give VirtualBox a try with 1GB ram for the
guest Ubuntu. It's a little sluggish to work in..but it does work quite
well.
On Mon, Jan 18, 2010 at 2:19 PM, guiha...@gmail.com guiha...@gmail.comwrote:
Thanks for all suggestions. I'll try to run linux, either in a
I am curious.. how do you work in ad support into an app? This is one of the
business models discussed in other threads, and it seems like providing a
lite version with ads, and a pay version is one way to go. Or, just do a
full version with ads in it all the time. I would love to know how to get
Good point Frank. Do you know by chance if the draw() method is called
several times per second like in desktop/windowing/games? I am guessing it's
not as there is no notion of a windowing setup where each window has to
repaint itself as windows above it might move around (user dragging window),
I am assuming you posted 3 times by accident?
Yes.. cookie. Desktop (or mobile device) applications don't maintain cookies
automatically like a browser. Usually a jsp page returns a jsessionid= back
as party of the response. You can then append this to pass the same cookie
back... or look into
First.. let me ask for those of you that have apps in the market.. if I have
a 1.5 version out there.. it shows up on any device that is 1.5 or later,
right? Now..if I update it to run on 2.0.. will the update be made available
or even notify 1.5/1.6 users? Or does it only show up for 2.0 and
For the OP.. I think what Frank says above is very true.. although possibly
not so big yet on Android. There are a couple of barriers that I wonder if
we'll be able to get past. The biggest barrier to me is having to NOT use
your carrier to pay for items. It would be VERY nice if the market would
...@gmail.comwrote:
On Jan 17, 9:26 pm, Kevin Duffey andjar...@gmail.com wrote:
First.. let me ask for those of you that have apps in the market.. if I
have
a 1.5 version out there.. it shows up on any device that is 1.5 or later,
right? Now..if I update it to run on 2.0.. will the update
Hy Frank,
I've done the tutorials, Mark's book, etc. Do you happen to know if there is
a way to utilize a single activity and.. sort of like ajax web apps, hide
one view and show another without starting another activity? I'm not a fan
of handling the various life cycle events for different
I got a question for you guys. Assuming you know how and have the means to
set up a server.. why can't you have your app send a code or something to
this server.. to verify its a valid copy. If the copy that is out on those
hosting sites has the same code.. you can at least have your app hit the
You can use a png I believe with transparency to produce any style button
you want. I don't know if the hit-test for clicking on it will work only on
the image part or the whole square width/height size of the button itself
tho.
On Fri, Jan 15, 2010 at 11:18 AM, Tommy Hartz droi...@gmail.com
Will this work inside a virtual machine, like VirtualBox or vmware?
On Fri, Jan 15, 2010 at 8:31 PM, Yi Sun beyo...@gmail.com wrote:
Build 20100115
Test build for Android-x86 2.0 on EeePC platforms
The Android-x86 project is glad to announce a new test build
20100115 for public testing. A
Using Mark Murphy's online books, he describes how to do this. I don't know
if it is the only way, but basically you extend
ItemizedOverlayOverlayItem, in the constructor you do the
items.add(OverlyaItem) method call. This will add overlayitem's to the map.
These items are clickable and you can
Glad it worked out. Curious.. the overlayitem stuff seems to work pretty
well.. why would you need to be able to control clicks directly on the map
at any point, instead of providing overlayitems?
On Thu, Jan 14, 2010 at 3:28 PM, Jason Proctor
jason.android.li...@gmail.com wrote:
Kevin Duffey
For your first question, do you run your own server with extra levels for
example that can be retrieved by your game? Do you need to offer it on the
market as well.. or would being able to retrieve new levels within the game
be good enough? Are you looking to have the user pay for these levels?
I
Not sure about the image stuff.. from what I've seen you generally would
load/cache images at the start so that you don't hit any delay when you
actually need them. Depending on the size of the images and number of them,
you may run up against the 16 to 24MB ram limit per app. This has been
I am sure this is possible. I think if from your main activity you start the
service, then finish() on the activity..the app that you launched goes away
(activity is done) but the service you started still runs. Not for sure
tho.. haven't messed around with that yet.
On Thu, Jan 14, 2010 at 1:05
Wonder why they chose to disable this feature, only allowing internal apps
to access it? It is a very useful ability.. to look at the color of the LED
for specific types of notifications with no sound to bug you. Is this only
disabled on the Nexus One? I've not yet tried on my Moto Droid.
On Tue,
I would say your idea of downloading all files at the same time is flawed...
one at a time would be better. I'd queue up the files to be downloaded and
download one at a time. First off, whether all 20 come at the same time, or
1 at a time, you're not going to get them done any faster since they
I am still confused why downloading multiple files at once is any better
than downloading one file at a time? Is there a reason you must download all
of them at once? I don't think they would get downloaded any faster doing
them all at once. Unless you are building a bitorrent client for
this in place.
On Wed, Jan 13, 2010 at 4:43 PM, Shane Isbell shane.isb...@gmail.comwrote:
On Tue, Jan 12, 2010 at 11:09 AM, Kevin Duffey andjar...@gmail.comwrote:
Isn't there issues with how other countries handle income and taxes tho?
Like, in the US, I don't know for sure yet how this is done
Does that mean we wont see the new interface on Moto Droid when it's
released with the 2.1 update? I thought it was all part of 2.1.
On Mon, Jan 11, 2010 at 8:10 PM, Romain Guy romain...@android.com wrote:
Nexus One's launcher is not part of the SDK and is not required.
On Mon, Jan 11, 2010
Hey all,
I been messing around with the MapActivity stuff. Pretty nice how easy it is
to add clickable icons/images to the map and make them mean something. That
said I notice that as you zoom in and out, they don't scale automatically.
Is there a way to achieve this as part of the SDK? I've not
Isn't there issues with how other countries handle income and taxes tho?
Like, in the US, I don't know for sure yet how this is done (someone who has
sold on the market, please do tell...) but I assume for every $1 I make,
Google has to report to the IRS that I've made money and how much, so that
Do you mean actually develop android code on an android device itself? That
would require the compilers, some sort of editor... I'd guess most likely
not going to happen. Too large to fit on the device.
On Tue, Jan 12, 2010 at 5:57 AM, Jhild jhildz...@gmail.com wrote:
Does anyone have any clue
in
code.. much less compiling speed, etc.
On Tue, Jan 12, 2010 at 11:19 AM, Kumar Bibek coomar@gmail.com wrote:
Yup, this would not be quite useful as well...
On Jan 13, 12:16 am, Kevin Duffey andjar...@gmail.com wrote:
Do you mean actually develop android code on an android device itself
Is there now ability to have some code executed during install and
uninstall? I will be surprised if this is the case... reminds me of OSX..
drag an app to the can.. it removes it. But what about cleanup? There seems
to be no way to be able to cleanup on OSX if you need to... I would have
thought
a history/log of stuff the app uses.. that the uninstall process will clean
up for you?
On Tue, Jan 12, 2010 at 2:31 PM, Mark Murphy mmur...@commonsware.comwrote:
Kevin Duffey wrote:
Is there now ability to have some code executed during install and
uninstall?
No. You can detect the first
, 2010 at 4:19 PM, Kevin Duffey andjar...@gmail.com wrote:
Thats good info Mark. Makes sense. But how then do we prevent our Android
users from having left over crap that our app may store during its time?
Short of a user never uninstalling it.. I don't think that's very good to
users to just leave
As Dianne posted.. android takes care of destroying apps for you if you
don't do it yourself.. when memory/resources is needed. Unlike any other
platform (that I know of) for phones/tablets, Android is multi-process.. in
that you can run many programs at once. Unlike a computer OS tho, only the
I am curious why you would need to store 4GB or more of data on a phone?
That's a whopping large bit of data for a phone device? Perhaps you should
consider using a server side component for the majority of data, make use of
it when possible and store immediate need stuff on the device?
Yes..my bad. Ugh. I still don't have it all memorized yet. lol.
On Tue, Jan 12, 2010 at 8:38 PM, kavitha sunil kavithasuni...@gmail.comwrote:
onStart() does not have Bundle argument, are you talking about
onCreate(Bundle saveinstance)
On Wed, Jan 13, 2010 at 10:04 AM, Kevin Duffey andjar
Thank you for filling us in on the issue once you found it. Interesting that
it was what it was.
On Tue, Jan 12, 2010 at 10:05 PM, jgostylo jgost...@gmail.com wrote:
I finally found my issue. For some reason:
face = Typeface.createFromAsset(context.getAssets(), fonts/
sd_led_screen.ttf);
Paul... what are you talking about? Lack of consideration how? Please
provide details as your post here is pretty vague. Are you saying because
the LED doesn't allow us to use it for all sorts of purposes that google
doesnt regard us developers?
I am curious where the 2.1 SDK is. I was told my
Let me get this straight... when it installs.. you set an alarm. You also
set a flag saying never ran yet... The user then runs the app for the
first time as you check the first-run flag. At that time..can't you try what
Mark said.. cancel the present alarm and then reschedule it so that there is
to be turned off.. so that you have
to reset it again.. I've not yet done any market/upgrade app stuff.. do you
have some code that runs during upgrade that you can set the first run
flag again.. or that you can set the alarm?
On Mon, Jan 11, 2010 at 11:56 AM, Kevin Duffey andjar...@gmail.com wrote
, Kevin Duffey andjar...@gmail.com wrote:
Let me get this straight... when it installs.. you set an alarm. You also
set a flag saying never ran yet... The user then runs the app for the
first time as you check the first-run flag. At that time..can't you try
what
Mark said.. cancel
I am a little confused why the line of questioning regarding putting
tomcat/jboss on android came up? Tomcat/Jboss/et all are server based
platforms, quite large and are for handling services from clients. Your
phone would be a client, and while you can run a background service..it's
not quite the
Is ksoap2 part of Android? I am interested in this as well. I currently do
everything I can to keep my calls REST based as it's easy to do and handle
the response. I would guess asp.net, java web services, etc would work in
the same manner tho wouldn't they? Don't you build the payload and send it
Funny..I want to do the same thing for a little bit bigger than a building..
an outside location.. where I can place things like garbage cans, benches,
etc.. I'd love to be able to work with gps coordinates.. but using the
google maps.. I am stuck with their view of maps. It may work.. I figured
I was interested in how this works too. I thought there was some chatter
about Verizon adding in a built in purchase capability..or maybe it was
T-Mobile..so that you could buy apps and it shows up on your phone bill.
That said, I'd love to be able to within my own app provide a way to charge
for
May I ask why you are using Restlet and not just using the HttpClient built
in to Android to make a RESTful call? I am a server side restful developer
and have quite easily and successfully made REST calls from android to my
server. I didn't need any special libraries. I do use Jersey on the
I thought you could replace the lock screen?
On Mon, Jan 11, 2010 at 3:08 PM, Mark Murphy mmur...@commonsware.comwrote:
sansu wrote:
I need to display a dialog on top of lock screen when volume keys are
pressed.
How can I do this?
You can't.
-- Only foreground activities can find out
?
Kevin - Having been an Android developer for almost a year now, it's
getting harder and harder to stay on top of Android development, and
truthfully, Google has done little to help.
On Jan 11, 2:46 pm, Kevin Duffey andjar...@gmail.com wrote:
Paul... what are you talking about? Lack
Don't mount it as USB.
VY vyau5...@gmail.com wrote:
I just did this and adb devices is still showing nothing.
I did all these while the phone is mounted as a USB drive on my Linux host.
Is that ok?
I also did all these with sudo, so have root privileges
On Sat, Jan 9, 2010 at 4:29 PM, Mark
I too am going to make a simple flash card game..mostly for my kids.. not
sure if I'll put it up on market..probably quite a few up there already.
The way I had envisioned it is using the 2D api to draw on a surface of an
image of a card. Not entirely sure just yet..but I would start a thread
Hey all,
I wrote a plugin engine similar to the original eclipse engine before the
OSGi change a few years back. I have not delved into it much yet, still
getting my bearings on Android, but I am curious if the capabilities of
dynamically loading classes via a custom classloader is possible with
Interesting..so there is no way to programatically add activities?
On Sun, Jan 10, 2010 at 3:52 PM, Mark Murphy mmur...@commonsware.comwrote:
Eric Crump wrote:
I'm still in the concept stage so I don't need implementation
details. My question is whether it is possible is transfer a JAR
If you are developing applications, when you mount your Droid (or any
android device) to the USB port, do NOT mount it in USB mode... you don't
want it to show up as a HD on your computer. When you do this, it usually
will show up as a device you can run your project on. If you are on Linux
tho,
Yah... that's what I meant. Well that sux. lol.
On Sun, Jan 10, 2010 at 6:34 PM, Mark Murphy mmur...@commonsware.comwrote:
Kevin Duffey wrote:
Interesting..so there is no way to programatically add activities?
If by programmatically you mean at runtime, no.
--
Mark Murphy (a Commons Guy
301 - 372 of 372 matches
Mail list logo