Hi
How to display one icon with number of notification like ICON(2)...
is there any way to do it.? if i call below code multiple times, it
will display separate icons for invocation.
Regards
Gururaja
On Mar 9, 1:35 pm, a a harvey.a...@gmail.com wrote:
NotificationmyNoti =
HI Mark Mruphy,
The current implementation of the Bluetooth Notification displays icon
on status bar for each failure condition. But i want like single icon
and number of such notifications.
single icon(number)
I used .number field, it is displaying number, but it is also
displaying the icon
Well, sorry to add to this mammoth thread, but i'm going nuts with
anticipation =]
Romania, still waiting =]
On Mar 29, 3:03 pm, ratson materem...@gmail.com wrote:
Hungary, still waiting ;) i guess EU shall receive N1s in the next
days...
On márc. 29, 11:25, Paul stuem...@gmail.com wrote:
Anyone noticed that nobody yet has received a Droid? I postulate that
at this point, anyone who has not received a unit or at least
confirmation from FedEx that they are in the delivery pipeline will
receive a Droid as it's coming from some place other than Brighthouse.
Of course, I could be
HI all,
I am noticing same multiple icons displayed on the status bar instead
of icon(number of times it occured) ex: icon(2).. when failed in
transferring file.
How to display this in other format icon(2).
Thanks
Gururaja B O
--
You received this message because you are subscribed to the
Hi
If multiple notification comes, i want to display the icon once and
number of times the Notification has come... not individual icon for
each Notification.
Please let me know how this can be achieved using NotificationManager?
Regards
Gururaja B O
--
You received this message because you
I think onPause is called. It will be hard to only close your
activity in response to Home key presses, but I think you can get it
to call finish in all cases where the Home button is pressed.
The Home Button is not interpreted by the application ,so it is not possible
for the app to call the
a charm on the iPhone,but i have had no luck on the
android G1 developer phone,has any one tried this?If so what are the
parameters that I may be missing.I am not even a beginner as far as media
related libraries are concerned.Any pointers will be helpful.
Thanks
Guru
--
You received this message
Hi Marck...did not quite understand what this command actually does..?I got
this on my command line
Hinting file with Path-MTU 1450 Bytes
Saving to src.flv: 0.500 secs Interleaving
On Wed, Mar 24, 2010 at 5:39 PM, Mark Murphy mmur...@commonsware.comwrote:
Guru wrote:
I have been trying
Thanks Mark.I tried the command with no luck.:(
On Wed, Mar 24, 2010 at 5:56 PM, Mark Murphy mmur...@commonsware.comwrote:
Guru wrote:
Hi Marck...did not quite understand what this command actually does..?I
got this on my command line
Hinting file with Path-MTU 1450 Bytes
Saving
Try deleting the R.java source file. That usually clears this problem.
-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@googlegroups.com
To unsubscribe from this group,
This just in...
Jimmy Hoffa is still dead.
--
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
The NWS has KML as well.
-John Coryat
On Mar 17, 6:41 pm, mike enervat...@gmail.com wrote:
On 03/17/2010 04:30 PM, JP wrote:
National Weather Service (NWS) has a forecasting service for the US.
weather.gov
As I recall, they have XML based services too so you can get the
goodies
It might be a good idea, for testing on the emulator, to test the
Android ID for null and if it is, use some sort of default value. That
way, you can at least test your app with good data. That's what I do
anyway.
-John Coryat
--
You received this message because you are subscribed to the
If I might suggest...
Contact the Bay area GUTG and see if they can help you organize a get-
together the evening before IO. Last year they had an event that was
interesting but mostly geared toward Bay residents. It might be useful
to have something oriented toward IO instead.
An approach I've used is to have location listeners on both coarse and
fine. In your case, the first one may be the coarse location fix, if
that's available, or it also could be the fine if GPS was used
recently (like in a map). This should result in pretty good
performance. I've seen an average
Please re-post on Android Discuss:
http://groups.google.com/group/android-discuss
--
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
You updated too soon. You'll have to wait at least 12 days to get into
the just in category.
Updating just to get into that list is going to annoy the heck out of
your users. Doing so on a regular basis will probably result in a lot
more uninstalls than happy users. Just keep that in mind.
-John
Did you get an invitation for a free device because of your app? If
so, then that's why you're not getting one for posting. The idea is to
get one device to each developer. Does that make sense?
-John Coryat
On Mar 14, 4:09 pm, Tim tdh...@gmail.com wrote:
On 10 Mar, 23:27, Robert Green
Two sayings come to mind from the recent posting:
Patience is a virtue.
Don't look a gift horse in the mouth.
I suggest everyone just sit back and enjoy the wait for your free
device.
-John Coryat
--
You received this message because you are subscribed to the Google
Groups Android Developers
Google IO is still two months away. I would expect an announcement at
that time.
-John Coryat
Radar Now!
What Zip Code?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
From what I understand, both units (N1 and Droid) will come with a 30
day free account with either T-Mobile or Verizon. That will allow
activation without any funny business. Of course, I may be wrong.
-John Coryat
--
You received this message because you are subscribed to the Google
Groups
Check out one of my app's companion site:
http://www.radarnow.net
Click on the stats link. You'll see the percentage for each version,
also the devices that are being used. That may help make up your mind.
-John Coryat
Radar Now!
What Zip Code?
--
You received this message because you are
What about the Eris?
It's a fine phone as well...
The idea behind these development devices isn't to necessarily use
them as day to day phones but to test your apps with WiFi. You won't
need a connection to a carrier at all to do that. Make sense?
-John Coryat
--
You received this message
In the opening help text, which opens when first installed, at the
very end of this text I mention something like Beta testers needed!
along with a link to my contact page. So far, I have over 100 users
who are in this beta test community. I've used them to test every time
and it's quite helpful.
Nikolay,
600k+ downloads? This is an Android discussion group, not iPhone...
Seriously, I would check your spam trap. Also, check what e-mail
account you signed up for with the market.
-John Coryat
--
You received this message because you are subscribed to the Google
Groups Android Developers
I certainly can feel your pain. Radar Now! (125,000 users), which is
in your same category, just down the line a few slots, has made me
very nervous about updating. The last update I released, about a month
ago, seems very stable and has generated very few complaints. I'm in
the if it ain't broke,
Time.
It's moderated and the moderators are busy Android engineers. Since
there isn't normally a lot of activity on that discussion group, it
probably gets attention once every couple of days or so. Also,
remember that most Googlers have the weekend off, so if you post a
question on Friday
My guess is that the best bet is not to wait too long. Supplies may be
limited and if you are a doubter, like many on this thread, you'll end
up eating your words.
-John Coryat
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this
I just read your final draft document and I have a strong criticism
as to the wording.
A petition like this is supposed to garner support for your ideas, not
alienate the very people who it's aimed at. The preamble of this
document is too negative, accusatory and essentially would derail the
very
Regardless, you won't get anywhere with demands, threats and being
angry. You need to work with the Android team not against them. The
best way to do that is be friendly, suggestive and show that you
understand their predicament.
I, for one, will not support such a document in the current form.
Point by point, here are my suggestions:
1. A real website...
While I agree with the basic assumption, there are at least two other
places you can link to apps: http://www.androlib.com and http://www.cyrket.com
- While these are not official Android sources, they do use the market
API
When you consider what 30% is of the average app, it amounts to 30 to
60 cents. Credit card processors charge a per transaction fee that
even large users are subject to. This varies from 10 to 30 cents.
Also, the credit card companies get somewhere between 2.1% and 4% as a
transaction fee. Since
You might want to drop the let's not forget clause as it's something
that wouldn't help any petition and could keep people from agreeing
with you.
Google doesn't get 30% of your app sales, the carrier's cut, taxes,
fees for the merchant account and other costs eat that up to probably
zero profit
Here's how I do it:
In the manifest:
application android:icon=@drawable/icon android:label=@string/
app_name
android:theme=@style/Theme.Standard
In the file : res/values/themes.xml:
?xml version=1.0 encoding=utf-8?
resources
style name=Theme.Standard
You could add a listener to the page, just like you would do with any
web page and then send a request to the Java part of the app to
display a menu on some sort of event. Shouldn't be that tricky.
-John Coryat
Radar Now!
What Zip Code?
--
You received this message because you are subscribed
Another way to have a start up image is to use a theme with a
background image. The theme image loads first, and once the UI
develops, the theme is covered. There are downsides to splash screens
as they waste memory and resources but the upside is it keeps the user
from wondering if the app
I can comment on how the groups system works in general but not
specifically how this group is handled...
Usually, when a new member makes a valid post, the option to always
allow is selected which not only posts the message but also takes the
new member off of moderation. If the post is iffy
If I were to design such an app, I would only pull the data I needed
at that moment. Are you going to use 4000 rows of data in one swoop or
are you using a subset of that query? Most likely, your app is going
to have a next/previous type setup. Sucking up 4000 rows from the
database will not only
One thing to check is how you name your application. If you hardcode
the app name in the manifest (android:label=My Cool App) instead of
using a string resource (android:label=@string/app_name) then some
devices, and I believe the Hero is one of them, show odd things under
the icon, or no icon at
I think you may be over reacting. Users are most likely not going to
care if you write to the SD card. I would bet that 99 out of 100 users
don't even read or care about what permissions you're asking for, the
100th person is probably searching the skies for black helicopters
anyway, so it's
Under Samples in the platform you desire to work with, in the SDK.
There's actually a lot of good stuff in the samples directory.
-John Coryat
Radar Now!
What Zip Code?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this
You might want to look at adding a theme to your application in the
manifest, not sure if it can be animated though. The thing about a
theme is it loads first and fast so no blank screen.
-John Coryat
Radar Now!
What Zip Code?
--
You received this message because you are subscribed to the
The place to look for that error is under the Problems tab in
Eclipse. I've had similar issues with the manifest and the secret
always was found in that tab.
-John Coryat
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this
I'm guessing you're talking about the api demo app. It sure is
complicated, however, taking the time to understand the particular
parts and how it's organized will pay off in the long run. It may be
worth your effort to look at a simpler example, one that covers a
single function instead of
Users should be able to go back and redo their mark setting for an app as
well.
This is already happening, since 1.5 at least. The score and comment
can be updated at any time by a user.
You can also respond to user comments by adding a comment of your own.
Just download and install your app
This works for me:
private void deleteFiles() {
File dir = new File(path to the files);
String[] children = dir.list();
if (children != null) {
for (int i=0; ichildren.length; i++) {
String filename = children[i];
Problem is, half the time we don't know. Users post 1* Market comments
saying Force closes on Droid or Doesn't work on Samsung Moment,
and unless you have that specific handset to test on, you're SOL. You
sanity check on an emulator instance of the same resolution and OS
version, and nothing
I think there is a fairly easily implemented solution to the problem
of device and OS diversification. I've been using this myself for
months and it works very well.
For Radar Now! I've established a beta test community of users who
have volunteered to try out new versions of the app and even new
It's more involved than simply turning on the GPS and getting a
location. You'll have to decide how coarse of a location fix is good
enough too. If you'll accept a location fix of 1000 to 3000 meters,
then you might just skip using GPS and use the network location
service instead. If you need
This should work for you...
InputStream is = conn.getInputStream();
ZipInputStream zis = new ZipInputStream(new BufferedInputStream(is));
ZipEntry entry;
while ((entry = zis.getNextEntry()) != null) {
int size = 0 ;
byte[] buffer =
When using a webview, you have to realize that it's really a sort of
dedicated browser object that you have a lot of control over. If you
want to do a form submission programmatically, just think how you
would do it in JavaScript, it's the exact same. Reporting the results
or even initiating such
I've found that about 1% of users will take the trouble to rate an
app. If you bug them about it, I'm guessing they'll give you a low
star rating along with some sort of comment that says Dev annoys with
request to rate.
Additionally (and counter intuitively), low ratings seem to affect
market
I agree with your post 100%. While it's nice to receive compliments, a
complaint, or most complaints, are quite valuable.
I publish my e-mail address, have an app web site and also have
enlisted a fairly large beta test group (about 80 people at this
writing) to support the app Radar Now! The
Bringing this back to the OP, how about a one-shot popup which asks
users to rate your app, but which appears a couple of weeks after the
app has been installed? The reasoning is that folks which don't like
your app won't keep it that long. Even if not everyone is 100%
satisfied with your
I have an app that uses a webview that displays address information in
a list format. Occasionally, when scrolling through the data, one of
the address will highlight and start the maps app. The map app then
geocodes the address and it shows up with an infowindow. Slick, but ?
I have nothing in
It would be great if Google (or someone) produced a simple to download
version of DDMS that had only two functions: capture the screen and
save the log. Another huge bonus would be if it also could capture an
image stream, like one frame per second or even greater and save those
in a folder on the
I see 110 different user agents coming from Android devices, some are
very non-standard, so be aware you'll find quite a bit of diversity.
-John Coryat
Radar Now!
What Zip Code?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to
Have you seen DecimalFormat?
http://developer.android.com/intl/zh-TW/reference/java/text/DecimalFormat.html
-John Coryat
Radar Now!
What Zip Code?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
It would seem to me that a more logical approach would be to save the
stream when reading it then parse the data rather than re-read the
stream a second time. What if the second time there was an error? I'm
not positive how this works, it may be that the stream is cached so
you're not actually
My guess is that a market upgrade is in progress. It would seem to be
timed with the N1 release, however, it may be that the market people
are slightly behind the curve and are still testing.
I could be wrong of course, but it seems like the entire market is
frozen, stats, movement of apps in the
Look at:
SharedPreferences
I think that will do what you're looking to do easily. Unless you have
a massive list, using this method will suffice.
-John Coryat
Radar Now!
What Zip Code?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To
WARNING: IANAL / IANAGE
If the Google Maps API terms are to be taken into account, then
publishing a paid app with a map could be considered a violation. Just
because your app hasn't been pulled doesn't mean a thing. I'm guessing
at least 50% of the apps in the market violate the market terms for
You're not testing to see if you get a null provider, also I'm not
sure asking to use POWER_LOW and ACCURACY_FINE will work as GPS uses a
lot of power.
I suggest dropping the POWER_LOW and testing provider for null.
Also, unless you need a very accurate fix, the wireless network
location service
Are you trying to load you app outside the market? If so, then this is
more of a feature than a bug. I believe that Google has added these
permissions into non-market apps. If you use the market, the
permissions are correct.
-John Coryat
Radar Now!
What Zip Code?
--
You received this message
As another side note, if you want to preemptively prevent force close
messages, the best thing to do is test everything for a valid data
type before using it. Many unexpected conditions can be caught and
handled if you do this, failure to test everything that may have an
unexpected value will at
9.1 Free,...
I don't see how that could be any clearer.
WARNING: IANAL
-John Coryat
Radar Now!
What Zip Code?
--
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
there is a thread whch explains how to do this.I could'nt google it easily.
You need to specify a different id for each of the layout.that is for
example:
sample.xml
LinearLayout xmlns:android=http://schemas.android.com/apk/res/android;
android:orientation=vertical *android:id=landscape*
the best way to
call my code.
- Ryan
On Dec 29, 9:46 pm, Guru gurudut...@gmail.com wrote:
there is a thread whch explains how to do this.I could'nt google it
easily.
You need to specify a different id for each of the layout.that is for
example:
sample.xml
LinearLayout xmlns:android=http
I saw this as an agent today:
Mozilla/5.0 (Linux; U; Android 2.1; en-us; Droid Build/ERD72)
AppleWebKit/530.17 (KHTML, like Gecko) Version/4.0 Mobile Safari/
530.17
-John Coryat
Radar Now!
What Zip Code?
--
You received this message because you are subscribed to the Google
Groups Android
I've seen Nexus already, today was the first time I saw Droid with
2.1. Maybe a test device?
-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@googlegroups.com
To
That, I believe, is something that would be beneficial to have.
-John Coryat
Radar Now!
What Zip Code?
--
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
Anyone who downloaded your app can still give it ratings and comments,
people who never downloaded it won't see it though.
AFAIK, once published, an app has an indefinite life.
-John Coryat
Radar Now!
What Zip Code?
--
You received this message because you are subscribed to the Google
Groups
I think the best you can do (as Mike impossible to hide) is to hide in
plain sight. Another words, have your users download the app from
somewhere other than the market, then it won't show up in the
downloads section of the market and make your security app's name
something similar to a regular
This is a reasonable resource:
http://en.wikipedia.org/wiki/Regular_expression
It's pretty easy to just search Google for java regular expressions
- there are lots of examples. If you know Perl, it will be easier as
java.util.regex is very similar.
-John Coryat
Radar Now!
What Zip Code?
--
I've noticed a slight drop as well, from 71.9% to 71.6%, which may not
seem a lot however, my app has 65,000 downloads, so numbers wise, a
fairly good amount. I've had a few e-mails from people telling me that
their Droid has filled up and they regret to tell me they've had to
uninstall my app to
This may be better posted in the Android - Discuss forum...
Everything looks good to me. Active installs are 71%, downloads keep
increasing as expected.
Did you mean by -250 that your downloads actually decreased? That
would seem odd indeed.
Is this a free or paid app?
-John Coryat
Radar Now!
Answer: Yes.
-John Coryat
Radar Now!
What Zip Code?
--
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
Just uninstall your old version, that will fix it. You can do that
from adb or from the device under menu-settings-applications-manage
applications
-John Coryat
Radar Now!
What Zip Code?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To
You may have noticed the original message has been removed but the
quoted text in your replies lives on. I suggest deleting your messages
from this thread so that it dies quietly. Until then, the payload this
spammer released will live on.
-John Coryat
--
You received this message because you
Probably too early for you yet but I solved this problem by recruiting
a beta test team from my users. On the last page of help text, I asked
for beta testers and about 30 (a couple new every day) responded so
far with a desire to assist in testing the app. They have a variety of
devices and OS's
I don't think there will be an issue with changing the name of the app
in the market but that will only affect what users see as the name
there. You'll also have to change the android:label name in the
manifest (or in your strings resource) so that the name of the app
once downloaded and installed
For those of you with paid apps on this site, they're using AdSense,
so I suggest anyone who has their work being distributed on this site
click on the Google Ads link and complain. At least you can get
their AdSense account suspended. They also use PayPal, so you can
complain to them too. Both of
The News Weather category, something I watch closely, is nominal
today, everything where it should be.
Could it be the dev unpublished those apps for some reason?
-John Coryat
Radar Now!
What Zip Code?
--
You received this message because you are subscribed to the Google
Groups Android
Another approach that would eliminate the redundancy of packaging the
data with your app is to load it from a webserver and populate your
database as you read the data. That way it would only appear on the
device once, in the database. Technically more complicated perhaps but
space wise, a lot
Here's a simple method that will allow you to respond to market
comments.
Simply download your app to a device and put in a comment. Whenever
you see a comment you need to reply to, update your comment. It will
move to the top of the stack. I use a preface of Developer comment:
blah blah blah...
I believe if you right click (ctrl-click in Mac) on the project,
select properties, then Android you can select your target emulator
regardless of the settings in the manifest. You will get a warning
error in the manifest that will squawk about the inconsistency, it can
be ignored for testing but
Have you managed to do that? I'm very interesting in doing this
myself... Something must have happened because what works previously
doesn't anymore and breaks functionality for a lot of users.
On Dec 3, 3:14 am, Tan saurabhtanej...@googlemail.com wrote:
Hi all
I have the same problem, the
You can always upload it somewhere on the web and download it to your
device that way. You'll need to allow unknown source under menu-
settings-applications in order to download it from a non-market
location though.
-John Coryat
Radar Now!
What Zip Code?
--
You received this message because
I was in your position six months ago and purchased Mark's books as
well as Unlocking Android. I found them quite useful. In addition, I
suggest going over the samples included in the SDK, searching
google.code for examples and also the hundreds of other useful sources
around. Once you start
What you're looking for is a standard formula that's fairly easy to
compute:
http://www.movable-type.co.uk/scripts/latlong.html
This site has pretty much every navigational formula you could need.
Converting them into Java should be a relatively straight forward
process.
-John Coryat
Radar
There are literally 10's of thousands of Droids running my app Radar
Now! (currently #12 in News Weather) which is built with the 1.5
SDK.
I want to upgrade to at least 1.6 but there are so many 1.5 devices
that I think it's better at this time not to do that.
-John Coryat
--
You received
I think this is clear to me finally.
android:targetSdkVersion=4 and android:minSdkVersion=3 will allow 1.5
devices to see my app while still targeting at least 1.6
-John Coryat
Radar Now!
What Zip Code?
--
You received this message because you are subscribed to the Google
Groups Android
Another way is from the command line:
adb uninstall [-k] package - remove this app package from the device
-John Coryat
Radar Now!
What Zip Code?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Hi, i got reports from some users that after making the phone silent
with my app, sometimes, text messages or emails still make sounds. I
don't have a phone so this is why i'm asking...
The app is making the phone silent this way:
final AudioManager am = (AudioManager) context.getSystemService
Things seemed right on track with 9,509 uses of my app Radar Now! -
about normal.
-John Coryat
Radar Now!
What Zip Code?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
I believe the browser is one of the largest components of Android, so
launching a webview solely to evaluate a JavaScript string would be
quite expensive. Perhaps you should translate the JavaScript into Java
and be done with it.
-John Coryat
Radar Now! (#14 in News Weather)
What Zip Code?
--
This works for me: (there may be more than you need here)
WebView mywebview = (WebView) findViewById(R.id.wv1);
mywebview.setWebViewClient(new WebViewClient());
mywebview.setWebViewClient(getWebViewClient());
If you mean that you'd like to pull the title out of head section and
read that in your app, then the procedure would be to use JavaScript
to read the title, and then send it back to the app.
It's detailed fairly well in Mark Murphy's book The Busy Coder’s
Guide to Advanced Android Development
You can suck it out of the logs, but you'll have to add permission to
access them. That might throw off some users.
-John Coryat
Radar Now!
What Zip Code?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email
401 - 500 of 648 matches
Mail list logo