[android-developers] Re: Device Admin Question

2010-06-23 Thread justinh
I guess I forgot you have to manually put your device in debug mode.
It's been so long since I've done that I forgot about that part.

On Jun 23, 10:49 pm, justinh  wrote:
> After finding the time to peruse the new 2.2 admin code sample,
> something obvious seems to stand out. What's stopping someone from
> simply uninstalling the admin package? If I stole a phone I think the
> first thing I'd do is search for the most popular admin suites and
> adb.exe uninstall com.package.app.AdminPackage01 those suckers out.
>
> Obviously if the package is burned into the ROM it wouldn't be
> uninstallable so I guess the admin policy apps are going to be coming
> exclusively from the manufacturers/carriers? Am I missing something?

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Device Admin Question

2010-06-23 Thread justinh
After finding the time to peruse the new 2.2 admin code sample,
something obvious seems to stand out. What's stopping someone from
simply uninstalling the admin package? If I stole a phone I think the
first thing I'd do is search for the most popular admin suites and
adb.exe uninstall com.package.app.AdminPackage01 those suckers out.

Obviously if the package is burned into the ROM it wouldn't be
uninstallable so I guess the admin policy apps are going to be coming
exclusively from the manufacturers/carriers? Am I missing something?

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Samsung Moment does not return anything in parameters.getSupportedFlashModes()

2010-03-18 Thread justinh
This is what I have for it:

BRAND: Samsung
DEVICE: SPH-M900
MODEL: SPH-M900
VER: 3
PRODUCT: Samsung

On Mar 18, 11:48 am, Streets Of Boston 
wrote:
> Sorry for this bump...
> I have no idea where else to ask this question...
>
> On Mar 10, 7:53 am, Streets Of Boston  wrote:
>
> > Thank you Dianne,
>
> > But wouldn't there be a value/name pair that one can set in the
> > Camera.Parameters instance, e.g. 'cameraParms.set("flash-
> > mode","auto")' or something similar, much like you can set scene-modes
> > on the G1 despite the fact that Android1.6 does not officially support
> > scene-modes?
>
> > On Mar 10, 1:28 am, Dianne Hackborn  wrote:
>
> > >FlashAPIs we defined in 2.0, so if this is a pre-2.0 device then there is a
> > > good chance this is a feature that is not visible to applications.
>
> > > On Tue, Mar 9, 2010 at 8:36 PM, Streets Of Boston
> > > wrote:
>
> > > > anyone... ?
>
> > > > On Mar 8, 10:49 am, Streets Of Boston  wrote:
> > > > > Bump.. sorry...
>
> > > > > Anyone knows how to control theflashonSamsung(Moment)?  I guess
> > > > > it's some set of name/value pairs to be set in the Camera.Parameters
> > > > > instance.
>
> > > > > The Camera.Parameters.get("flash-mode-values") seems to returns null
> > > > > and therefore my app can't query the phone's flahs capabilities.
>
> > > > > On Mar 6, 11:26 pm, Streets Of Boston  wrote:
>
> > > > > > TheSamsungMoment moment has aflashonboard that can be used for
> > > > > > taking pics. But, from customers i learned that theSamsungMoment
> > > > > > does not return anything when parameters.getSupportedFlashModes() is
> > > > > > called.
>
> > > > > > If this is a bug, what is are the android.os.Build.MODEL,
> > > > > > android.os.Build.DEVICE and android.os.Build.BRAND of this phone and
> > > > > > the accepted values for
> > > > > > 'parameters.setFlashMode(flashModeParamValue)'?
>
> > > > > > Thank you!- Hide quoted text -
>
> > > > > - Show quoted text -
>
> > > > --
> > > > 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+unsubscr...@googlegroups.com
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/android-developers?hl=en
>
> > > --
> > > Dianne Hackborn
> > > Android framework engineer
> > > hack...@android.com
>
> > > Note: please don't send private questions to me, as I don't have time to
> > > provide private support, and so won't reply to such e-mails.  All such
> > > questions should be posted on public forums, where I and others can see 
> > > and
> > > answer them.- Hide quoted text -
>
> > > - Show quoted text -- Hide quoted text -
>
> > - Show quoted text -

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] BOOT_COMPLETED broadcast sent much later on some devices than others

2010-03-18 Thread justinh
One of my applications relies heavily on a speedy BOOT_COMPLETED
broadcast action. The original devices I designed it on, and the
emulator, each send BOOT_COMPLETED before the lock screen even
appears. I designed my app with this assumption.

As the months go by I received a few comments such as "Doesn't work",
which I attributed to the typical ignorant Market comment. I've come
to find out that on some devices this intent is not sent for almost 5
minutes after the lock screen appears! I can understand why this was
done, to give priority to their own apps at boot time, and to speed up
boot time, but it certainly makes it difficult to advertise an app in
a consistent way.

At this point I have dozens of asterisks: *You can do this amazing
feature on every phone except phone X; *You'll have to wai*AVERAGE
USER STOPPED READING*.

I guess typing this out has helped. I could probably look to see if
the system sends another "popular" broadcast even before this one.
Still, more fiddling around than necessary.

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: NullPointerException in SmsManager.sendTextMessage

2010-03-10 Thread justinh
Did you ever figure this out? It probably has to do with the fact that
the Hero 200 runs 1.5 and the only available SmsManager is tailored
for GSM, which the Hero 200 is not. android.telephony.gsm.SmsManager

I'm interested in sending sms programmatically on the hero 200, as it
seems frighteningly unpredictable to me so far, although I don't have
a physical one to test with. Really wish I could see their mms.apk
source.


On Feb 16, 7:42 am, Jorim Jaggi  wrote:
> Hello
>
> I got a NullPointerException in SmsManager.java while trying to send
> ansms. CallStack:
>
> 02-15 07:55:22.646 E/smsETH  (32500): Error while sending message
> 02-15 07:55:22.646 E/smsETH  (32500): java.lang.NullPointerException
> 02-15 07:55:22.646 E/smsETH  (32500): at
> android.telephony.gsm.SmsManager.sendTextMessage(SmsManager.java:131)
> 02-15 07:55:22.646 E/smsETH  (32500): at
> android.telephony.gsm.SmsManager.sendTextMessage(SmsManager.java:74)
> 02-15 07:55:22.646 E/smsETH  (32500): at
> ch.ethz.smseth.PhoneSender.send(PhoneSender.java:34)
> 02-15 07:55:22.646 E/smsETH  (32500): at
> ch.ethz.smseth.service.SenderService$Sender.run(SenderService.java:
> 116)
> 02-15 07:55:22.646 E/smsETH  (32500): at
> java.lang.Thread.run(Thread.java:1058)
>
> The exception occured on HTCHerorunning Android 1.5 (Cupcake). The
> method is invoked as follows:
>
> SmsManager manager = SmsManager.getDefault();
> manager.sendTextMessage(destination, null, message, pending, null);
>
> where destination, message and pending is not null.
>
> Normally, the method just works. So I tried to reproduce the error but
> it wasn't possible. I had a look at the source code of SmsManager.java
> (http://android.git.kernel.org/?p=platform/frameworks/
> base.git;a=blob;f=telephony/java/android/telephony/gsm/
> SmsManager.java;h=c63b5303309bd1f8adb62ddeb03fbb5187dac089;hb=cupcake-
> release) but it seems the line numbering is not the same.
>
> Any ideas? Another hint is that it happened in a car while driving at
> 120 km/h, maybe the connection wasn't very stable.

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Is getInstallerPackageName the solution to piracy?

2010-03-05 Thread justinh
Carlo,

You are wise to consider that. I've had varied results with it. Some
phones don't show a result at all, even from free apps, at the correct
SDK level. The market app also has a different package name on
different phones. It would be a partial solution at best.

On Mar 5, 1:38 pm, Carlo  wrote:
> Is the string returning by this function consistent  when bought from
> the legitimate google android market ?
>
> On Mar 6, 1:23 am, justinh  wrote:
>
> > I have been seeing a remarkable increase in my apps being pirated. Not
> > only are they 2 versions old, the name doesn't show up in Checkout,
> > but getInstallerPackageName returns null where applicable. These
> > people actually either have the wickedness, or the no brains, to send
> > me a voluntary device report with this information. 75% of these
> > reports sent yesterday were from pirated versions.
>
> > So I'm tempted to simply check for getInstallerPackageName() to return
> > a valid package name and if not then disallow the use of the app.
> > Isn't it safe to assume that the ONLY method of install should be from
> > the market? And that that method should always be available to someone
> > who has purchased my app - from the Market?
>
> > My concerns are that, since I'm resorting to this I'll start seeing
> > legitimate purchase complaints somehow, and all of a sudden I get a
> > flood of credit card charebacks.
>
> > Sorry, kind of frustrated right now.

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Is getInstallerPackageName the solution to piracy?

2010-03-05 Thread justinh
I have been seeing a remarkable increase in my apps being pirated. Not
only are they 2 versions old, the name doesn't show up in Checkout,
but getInstallerPackageName returns null where applicable. These
people actually either have the wickedness, or the no brains, to send
me a voluntary device report with this information. 75% of these
reports sent yesterday were from pirated versions.

So I'm tempted to simply check for getInstallerPackageName() to return
a valid package name and if not then disallow the use of the app.
Isn't it safe to assume that the ONLY method of install should be from
the market? And that that method should always be available to someone
who has purchased my app - from the Market?

My concerns are that, since I'm resorting to this I'll start seeing
legitimate purchase complaints somehow, and all of a sudden I get a
flood of credit card charebacks.

Sorry, kind of frustrated right now.

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Contact Picking on Motorola Cliq (1.5)?

2010-01-30 Thread justinh
I just ran into this issue after finally getting my hands on a Cliq.
My workaround for now was the following:

// if blur contacts exist, kill process to avoid force close in 1.5,
// assuming its fixed in non 1.5 update
if((Integer.parseInt(Build.VERSION.SDK))==3){
try {
// checks to see if package exists, caught and ignored if not 
blur

getPackageManager().getPackageInfo("com.motorola.blur.contacts", 0);
((ActivityManager)getSystemService
(Context.ACTIVITY_SERVICE)).restartPackage
("com.motorola.blur.contacts");
} catch (NameNotFoundException e) {

} catch (Exception e){

}
}

Probably not the best solution but I didn't put much effort into it
given the low volume of Cliqs I've seen download my apps. Btw, I also
love (not) the non-standard Android behavior... but that's for another
thread.

Oh yeah and it seems to recover well:

01-30 16:08:25.093: INFO/ActivityManager(95): Start proc
com.motorola.blur.friendfeed for service
com.motorola.blur.friendfeed/.FeedReceiverService: pid=16306 uid=10007
gids={3003, 1006}
01-30 16:08:25.273: INFO/ActivityManager(95): Start proc
com.motorola.blur.news for service
com.motorola.blur.news/.NewsRetrievalService: pid=16309 uid=10007 gids=
{3003, 1006}




On Dec 29 2009, 6:24 pm, "jak."  wrote:
> Hello Suzanne,
>
> I'm glad to hear that there is a fix in the works for this bug.
> Are you aware that there is also a bug when using the create intent?
>
> Intent(Intent.ACTION_INSERT,Contacts.People.CONTENT_URI);
>
> This does allow me to create a new contact, but the result it sends
> back to my onActivityResult callback is useless.
>
> >>  protected void onActivityResult(int requestCode, int resultCode, Intent 
> >> data) {}
>
> Whenever the user is done creating a contact, I get a call to my on
> activity result with resultCode set to 0 (AKA: RESULT_CANCELED), and
> data is null;
> Even though the contact creation was successful!
>
> This is not the default Android behavior.
> When a user uses this intent to create a new contact, the
> onActivityResult should pass a -1 for the result (AKA: RESULT_OK).
> And the Intent data should contain a Uri to the newly created contact,
> accessible via data.getData().
>
> Since Motorola's implementation of contacts sends back RESULT_CANCELED
> for any contact insert, there's no way for our App that started the
> Intent to know when we have a valid result to act on.
>
> If Motorola completely re-implements parts of the Android OS, I really
> wish they would be careful not break the programmer interfaces.
> It makes us developers look bad when our Apps don't work on your
> devices when It really isn't even our fault.
>
> Thanks for your help.
>
> On Dec 2, 1:19 pm, "suzanne.alexandra"
>
>  wrote:
> > I'm happy to say this bug has been fixed and is expected to be
> > released toCLIQusers in an upcoming OTA upgrade. I would anticipate
> > early next year for this.
>
> > --
> > Suzanne Alexandra
> > Motorolahttp://developer.motorola.com

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Market Support Questions From Users/Buyers

2009-12-15 Thread justinh
Unfortunately yes, and there's not much we can do except direct them
to threads such as this one:
http://www.google.com/support/forum/p/Android+Market/thread?tid=57b5e3efa7477b50&hl=en

On Dec 15, 3:16 pm, Warren  wrote:
> No one else has gotten help emails from customers about the market?

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Same code & phone models - inconsistent results

2009-12-15 Thread justinh
This is still causing me problems. It isn't SDK or platform specific
as it has worked as intended on the CLIQ, G1, and Droid (1.5, 1.6,
2.0.1). I seriously doubt that the 90% of cut-off messages I have
received are because the user chose to remove the numerous package
information items from the email, but not the "Text1" part. No matter
how many times I send the email to myself it works. Arg!

On Dec 14, 10:55 am, justinh  wrote:
> I recently added a feature to my app that allows the user to send a
> report via a message chooser (all have chosen gmail) that helps
> mitigate the fact that I don't have all the physical phones to test
> on. Execution worked as expected on my G1 and the emulator, however,
> to my horror as users began sending them in most of them were
> incomplete!
>
> Pseudo-code of what I am doing is as follows:
>
> private class SendReport extends AsyncTask {
>      private String email = "";
>      protected void doInBackground( ) {
>          email += "Text1\n\n";
>
>          List list = mContext.getPackageManager
> ().getInstalledPackages(flags);
>
>          int size = list.size();
>          for(int i=0; i              email+="package name at i\n";
>          }
>          return null;
>      }
>      protected void onPostExecute( ) {
>          send email giving user chooser choice.
>      }
>  }
>
> On my phone and the emulator, all of the packages are inserted into
> the email. However, most of the emails I get, even from the same exact
> phone model/carrier/OS version, only contain "Text1". Users that have
> automatic signature insertions even have that at the bottom, so it's
> not that the email is being cut off somehow, it's that size is
> apparently 0. That is the only thing I can think of. Every once and a
> while I will get a full email though.
>
> This frightens me because what other APIs run fine in my testing but
> not user phones? What's going on here?

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Does Android has a Touchscreen requirement?

2009-12-15 Thread justinh
No actually, I think I recall an Android engineer here say it wasn't
safe to assume a touch screen. If not a touch screen it would have to
be a trackball type of deal. Of course, in the current market most
devices support touchscreen.  It would be a good idea to support both
though.



On Dec 15, 3:05 am, "bradki...@gmail.com"  wrote:
> Dear sirs.
>
> I want to know that android has a touchscreen requirement about
> hardware and software.
>
> And how does touch gesture processing where, for example, in driver
> layer or framework or application,
>
> thanks

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Touch screen inactive

2009-12-15 Thread justinh
Make sure you avoid doing intensive work on the UI thread.

http://android-developers.blogspot.com/2009/05/painless-threading.html


On Dec 15, 11:18 am, Pierre Henry  wrote:
> Problem not known == problem
>
> On Nov 18, 9:51 am, Pierre Henry Perret  wrote:
>
> > In stacking tasks, at some point the touch screen dont work any more. It
> > works again later without reason. Is this a known problem ?

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Google Maps Broadcast Event for audible navigation instructions start and stop?

2009-12-14 Thread justinh
Unless it is here then it is unsupported and you shouldn't use it
anyway: http://developer.android.com/reference/android/content/Intent.html

Of course, there is nothing from any of the Google apps listed there.
Not sure about just general audio.


On Dec 14, 2:52 pm, skyhigh  wrote:
> I have an application which is playing audio.  I have some customers
> that use this application while driving and who also use the Google
> Maps application to get directions to the places where they are
> driving.
>
> They have asked me to change my application to pause my audio while
> the Google Maps application is giving them audio navigation
> instructions.  I am trying to find out if I can register a Broadcast
> Receiver to let me know when the Google Maps application is giving
> audio navigation instructions, or if there is a way to detect when any
> other application has started or stopped playing audio.
>
> It seems that this type of functionality would be beneficial for
> Google Maps and for any type of application which is playing media, so
> I am hoping that Google Maps is broadcasting events when it starts and
> stops giving audio navigation instructions, or that there is a generic
> way to discover when overlapping audio sources are trying to play.

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Same code & phone models - inconsistent results

2009-12-14 Thread justinh
I recently added a feature to my app that allows the user to send a
report via a message chooser (all have chosen gmail) that helps
mitigate the fact that I don't have all the physical phones to test
on. Execution worked as expected on my G1 and the emulator, however,
to my horror as users began sending them in most of them were
incomplete!

Pseudo-code of what I am doing is as follows:

private class SendReport extends AsyncTask {
 private String email = "";
 protected void doInBackground( ) {
 email += "Text1\n\n";

 List list = mContext.getPackageManager
().getInstalledPackages(flags);

 int size = list.size();
 for(int i=0; ihttp://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Out of Memory Errors starting today (12/10/09)

2009-12-10 Thread justinh
My G1 is still on 1.6. Nothing new here. Mid-atlantic TMobile area.

On Dec 10, 3:06 pm, Dan Sherman  wrote:
> One of our apps has been running just fine (a few FC's per day, around 10,
> for various reasons).  We havent pushed an update in over two weeks, but all
> of a sudden today, we've been getting a lot of complaints from users on G1s,
> and are seeing a _ton_ of force-closes (175 so far today).  I know there was
> a 2.0.1 update for Droid recently, but our complaints are coming from G1
> users.
>
> Did I miss something?  Anyone noticing similar issues?
>
> - Dan

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Block Switch App

2009-12-10 Thread justinh
Nobody is stopping you from downloading the Android source, modifying
it, and installing it on your own hardware.

If you want to use hardware that has multiple party interest, ie
carrier, hardware manufacturer, and integrated services (Google) then
why are you so surprised they enforce their interests on you? It might
be cool to go buy a breadboard, your favorite DSP chipset, and
associated peripherals and install Android on it. Let us know how it
goes if you do and show us the cool new lock screen you made.

Disclaimer: I'm on DayQuil and am edgy.

On Dec 10, 3:45 pm, alexdonnini  wrote:
> Dianne,
>
> You are a smart person, and should recognize that what you state as
> being a fact, and inherently right is, in fact, simply your (Google's)
> opinion and position and, unlike most of us, you are in the position
> to enforce that opinion and position.
>
> While it is true that since Google invested significant resources into
> Android (for its own interest and good), it is acting "normally" in
> exercising control over the platform, I find it somewhat irritating
> that Google tries to portray itself as a promoter of Open Source. It
> is not. Google uses Open Source to further its corporate goals. Plain
> and simple. Nothing wrong with that. When Google's interests and thos
> of the Open Source community at large coincide, everybody is happy.
> When they don't Google enforces its position and acts based on its
> corporate interests.
>
> Claiming, as some do, that Android is open and anyone can go and
> implement his/her own distribution is somewhat disingenuous. I will
> let you figure out why it is.
>
> Alex Donnini
>
> On Dec 10, 2:28 am, Dianne Hackborn  wrote:
>
> > Taking over the home key will not be done with a permission, period.
>
> > This is way you get to take over the home key: by having an intent-filter
> > saying you can be home, and letting the user explicitly select your app at
> > the point where they press home.  The home key is too central to the user's
> > security for it to be misdirected by some random application they installed
> > a month ago that at time time seemed okay to be able to "intercept home key"
> > (if they looked at it at all).
>
> > And as far as the lock screen goes -- nobody has said that there would never
> > be support for third party lock screens.  Right now, however, there isn't,
> > and there is no near-term plan to do so.  If you want to see why, start
> > perusing the lock screen code starting here:
>
> >http://android.git.kernel.org/?p=platform/frameworks/policies/base.gi...
>
> > Lock screen management is extremely complicated, and not in any shape at
> > this point to be user replaceable.  At the very least, all of the points of
> > contacts with the rest of the system (complicated interaction with the
> > in-call experience in various states, dealing with emergency dialing that is
> > legally required and the related SIM states that go with it, deep fragile
> > interaction with low-level power management and event dispatching, etc)
> > needs to be deeply abstracted out of the UI itself.  And then there are all
> > of the issues of dealing with this now no longer trusted third party code
> > when it crashes or otherwise misbehaves.
>
> > This isn't just "oh those mean Android people won't let me write a few lines
> > of code to replace the lock screen."
>
> > On Wed, Dec 9, 2009 at 7:55 PM, Lance Nanek  wrote:
> > > Allowing apps like this, but requiring a permission seems like it
> > > would support the most users.
>
> > > Users who want a fancy toddler lock or screensaver or different unlock
> > > screen or whatever could then use those apps and would just have to
> > > agree to an extra permission when installing.
>
> > > Users who don't want any app to have this level of access just have to
> > > check for the permission being requested and not install.
>
> > > On Dec 9, 8:07 pm, Jason Proctor 
> > > wrote:
> > > > >Or purposely writing code to break them as with the promises Diane
> > > > >made on this topic.
>
> > > > oh sorry i didn't know there were promises made re home button or
> > > > lock app replacements. what were they?
>
> > > > >Making it impossible to replace the screen lock app doesn't enhance
> > > > >security.  Knowing Android engineers will purposely write code to
> > > > >break any discovered workarounds for the restrictions isn't enhancing
> > > > >security either.
>
> > > > do you really want lock app replacements that ship your phone ID and
> > > > lock code around the network?
>
> > > > >Fairly open != open.
>
> > > > can you, or can you not, create exactly the Android distro you want?
> > > > yes, you can. hence, open. the owners of distros, which could be you,
> > > > decide how open particular distros are.
>
> > > > >Apples and oranges.
>
> > > > not at all -- stick whatever drivers you like in your distro. nobody
> > > > else's distro is obliged to take th

[android-developers] Re: Educating Users

2009-12-10 Thread justinh
Wayne,

No matter how much information I convey to the user I constantly get
ridiculous statements made to me via email and the Market comments.
I've basically done all I can and given up on it, it's hardly worth it
in it's current form. There are users out there who don't want to
email you, go to your FAQ, read the help, etc.

I even have giant yellow text above a button that explains what it
will do if they press it and I get statements that indicate that they
didn't read it. It's frustrating, indeed. My future apps will not be
nearly as complex and will focus on appeasing the least technical
people possible.

jeffro, I like the idea of Toasts, I should try those more, although
there is a limit of too much.

On Dec 10, 10:55 am, Wayne Wenthin  wrote:
> I would get defensive but I just don't roll that way.   In the description
> on the market it a blatant statement that they should contact me at my
> support email or join the forums.   On the first page of the game is a great
> big INSTRUCTIONS button that they can miss.  In there are about 7 pages of
> instructions complete with graphics.   Below that is a News button that I
> added that I can update quickly with breaking issues.   It is clearly marked
> BETA in almost every way possible short of a watermark across all of the
> game.    I guess I'm making a veiled complaint against the market and it
> lack of useful interaction with users.    The previous suggestions were good
> and I will probably work out a rolling "Hint" system for users and a way to
> turn it off because I'm sure it would get annoying after awhile.
>
>
>
> On Wed, Dec 9, 2009 at 10:04 AM, Steve Wilson  wrote:
> > 2009/12/9 Wayne Wenthin 
>
> > > Has anyone got a good method to teach users that the Market is a one way
> > street and that I can't reply there.   I've tried putting that in the
> > description, wasting valuable text space, I put in in my news button on the
> > game but they still ask for help in the market and leave a low score because
> > they can't figure out how to run the game.
>
> > ...
>
> > My first impression is that there's something lacking in your game which
> > is leading people to attempt to contact you by leaving a comment and
> > poor rating.
> > I know a few people will just try and figure things out for themselves,
> > but if you've got people asking the same things over again maybe it
> > needs to be included within the app as a help or FAQ page for users to
> > read.
> > I don't think there's any way you'll be able to educate users, they want
> > it their way or they complain. Just look at all the complaints when
> > facebook refreshes the interface!
>
> > On the side of this in my week of actually being an android developer
> > I'm noticing a few bits lacking from the developer home page for
> > applications. I'm pretty sure the data is available but not for us.
> > Things I think are missing are:
>
> >        ability to see and respond to users comments
> >        what platform/os the application has been installed on
> >                ( Why develop for 1.1 if everyone's > 1.6 and you
> >                  want a 1.5 feature? )
> >        install/upgrade stats + graphs.
>
> > I know this isn't the place to ask for these and maybe there's plans but
> > that's my thoughts so far.
>
> > Maybe google will come to the rescue and give us access to see and reply
> > to comments so we don't have to keep looking at our apps in the
> > marketplace to see what comments have been made, making it look like we
> > don't care what our users think.
>
> > Regards
>
> > Steve.
>
> > --
> > 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+unsubscr...@googlegroups.com
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
>
> --
> Writing code is one of few things
> that teaches me I don't know everything.
>
> Join the Closed Beta of Call Girl Managerhttp://www.fuligin.com/forums

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] That ActivityManager.restartPackage() "nuclear bomb"

2009-12-09 Thread justinh
It's time for my own question about this API, that I think some people
here refer to as a "nuclear bomb" =)

Yes, I'm an author of a "task killer" app, and for months it has
seemed to work out OK - the process is killed, and doesn't restart the
activity. Lately, however, I have started getting complaints about my
app "randomly starting other apps".  I don't get very many returns so
this has led me to the hypothesis that this is carrier / hardware
specific.

This is a mystery to me since all my app essentially does is call
restartPackage().

Two thoughts:

1) Is it possible that some carrier build out there has changed the
functionality of this method to *actually* restart the package after
it's process is killed?

2) I haven't tested with a SenseUI phone - I'm thinking there might be
a situation where my app is killing a process that is shared by their
SenseUI business or something, which is then relaunched on TIME_TICK
or TIMEZONE_CHANGED or something. (similar behavior to myFaves on the
G1). For example, their Facebook UI might share com.android.mms? Can
anyone confirm this?

/braces for the coming assault.

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: ActivityManager.restartPackage() is not working

2009-12-09 Thread justinh
Why not use getPackageName() from the class Context. So in your
activity it would be something like this.getPackageName()

That would five you a String of your package. It is against Android
convention to end your process in this manner, however. Android will
garbage collect it as necessary.

On Dec 9, 6:42 am, Asif k  wrote:
> One observation,
>
> It is working fine if I am giving hardcoded package as
>
> am.restartPackage("demo.test");   rather than
>
>  am.restartPackage(pkg.substring(0,pkg_point)); .
>
> Here it is showing error that : Invalid package : demo.test
> which is same as I had given inside quotes.
>
> Any suggestions??
>
> On Dec 9, 3:02 pm, Asif k  wrote:
>
> > Hi all,
>
> >  Can I have any working example of restartPackage() API.
>
> > Thanks in advance,
> > Asif
>
> > On Dec 9, 2:56 pm, Asif k  wrote:
>
> > > Hi justinh,
>
> > >    Thanks for your reply.
>
> > > > Is that the package name you have defined in your Manifest for the
> > > > package attribute?
>
> > > yess thats the package name that is there in manifest file. I am
> > > finding the package name from the main activity as shown bellow ,
>
> > > String pkg = "demo.test.MyActivity";
> > >         int pkg_point= pkg.lastIndexOf('.');
> > >         am.restartPackage(pkg.substring(0,pkg_point)); // am is Activity
> > > Manager
> > > Is there any better/other way to find out the package and give as an
> > > input parameter to restartPackage() ??
>
> > >  >Also, you need to provide the parameter as a
>
> > > > String.
>
> > > Ya it is the string but in the previous post , I had written it
> > > manually in this mail to replace pkg.subString(0,pkg_point) for better
> > > understanding.
>
> > > But still I am getting the same error as " 12-09 15:13:56.893: WARN/
> > > ActivityManager(58): Invalid packageName: 1: demo.test "
>
> > > Waiting for inputs,
> > > Asif- Hide quoted text -
>
> > - Show quoted text -

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Publish App

2009-12-08 Thread justinh
If your phone uses the same Google account as your developer account,
they purposefully disallow you from downloading your own app. (and
giving it 5 stars :) )

On Dec 8, 11:02 am, stanlick  wrote:
> u rock bro!  I just found it.  Any idea why I'm getting a server error
> when I try to purchase the app on my phone?
>
> Peace,
> Scott
>
> On Dec 8, 9:59 am, justinh  wrote:
>
> > I'm pretty sure that has to do with the Developer Console settings,
> > not your app. When you signed up I think their was a field that said
> > "This is your publishing name" ?
>
> > On Dec 8, 10:53 am, stanlick  wrote:
>
> > > I just published my first application to the market and the "Just in"
> > > display show my icon and app name, but under the appname is shows my
> > > birth certificate name!  How can I change this?  Is it something I am
> > > missing in my manifest?  I'm sure my mom would it; but me -- not so
> > > much.
>
> > > Peace,
> > > Scott

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Publish App

2009-12-08 Thread justinh
I'm pretty sure that has to do with the Developer Console settings,
not your app. When you signed up I think their was a field that said
"This is your publishing name" ?

On Dec 8, 10:53 am, stanlick  wrote:
> I just published my first application to the market and the "Just in"
> display show my icon and app name, but under the appname is shows my
> birth certificate name!  How can I change this?  Is it something I am
> missing in my manifest?  I'm sure my mom would it; but me -- not so
> much.
>
> Peace,
> Scott

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Adding button to ListView

2009-12-08 Thread justinh
You can specify a View id for the content of a tab. So in setContent
(int viewId) you would use something other than a ListView, ie, a view
that had a listview inside of it with a button on the bottom.

On Dec 8, 9:16 am, AJ  wrote:
> It looks the following link is explaining what do you want, but i am
> not sure. Check it.
>
> http://www.anddev.org/viewtopic.php?p=28745
>
> Thanks,
> AJ
>
> On Dec 8, 6:59 pm, Abhi  wrote:
>
> > can anyone help me on this topic please?
>
> > On Dec 8, 1:06 am, Abhi  wrote:
>
> > > Hello,
>
> > > I have a tab layout with two tabs, the first of which has a listview
> > > of 5 clickable rows. Below this listview, I need a button. I have been
> > > able to create the listview but don't know how to create the button to
> > > the bottom of the display. Please help.
>
> > > Also, the listview is created using ArrayAdapter from a Strings array,
> > > like below
>
> > > String[] istrings = new String[] ("I", "Me", "Myself");
> > > this.setListAdapter (new ArrayAdapter (this,
> > > android.R.layout.simple_list_item_1, istrings));
>
> > > Looking forward to your help.
>
> > > Thanks,
>
> > > Sharma

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: broadcastreceiver never died?

2009-12-08 Thread justinh
It's going to call every time that broadcast is sent. If you want to
handle specific packages you need to do that inside the receiver by
looking at the received Intent. Each time it's done handling that
broadcast it should be garbage collected.

On Dec 8, 6:53 am, sleith  wrote:
> hi,
> i created application with name Test, and has a class that extends
> broadcastreceiver that listen for PACKAGE_RESTARTED.
> i use Advanced Task Killer, and killed the Test application. but when
> i kill another application, for example gmail, the Test's
> broadcastreceiver got the intent (i logged it).
>
> Does it means that broadcastreceiver will never died?
>
> Thanks :)

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: ActivityManager.restartPackage() is not working

2009-12-08 Thread justinh
Is that the package name you have defined in your Manifest for the
package attribute? Also, you need to provide the parameter as a
String.

On Dec 8, 8:46 am, Asif k  wrote:
> Hi All,
>
>   I want to kill my application whose base activity is
> demo.test.MyActivity.
>
>  I am trying to kill it from other application by following code, but
> getting the error like " package name is not valid"
>
>  am.restartPackage(demo.test); // here am is ActivityManager define
> earlier )
>
> Thanks,
> Asif

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: "android:windowTitleStyle" doesn't works for android:gravity = center

2009-12-07 Thread justinh
What "isn't working" about it? Does it stay left-justified? Does it
remove all formatting totally?

It seems as though not all of the different style tricks are
implemented, another one being android:preferenceCategoryStyle that I
ran into recently. I think the framework engineers have left them at a
lower priority to work on more important features.

You could always remove the title and insert your own if you really
wanted to.

On Dec 7, 9:52 am, rags  wrote:
> Hi All,
> Am trying to use a theme to my screen as below.
>   
>         false
>         @style/header_style item>
>      
>
> In custom header style(Which is applied to the window title style) am
> trying to use, center so that the
> header text will appear in between the Header area. This is not
> working ..I have tried  center item> as well,, but no luck so far..
>
> Could anybody please help me on this item?
>
> Thanks.
>
> Regards,

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Using multiple layouts for different screens.

2009-12-04 Thread justinh
Chris,

PageToBeOpened.class is a java class that has extended the Activity
class, or one of it's direct or indirect subclasses (ListActivity,
PreferenceActivity, etc)

For example if you wanted to start a PreferenceActivity from activity
XYZ:

startActivity(new Intent(mContext, SearchPreferences.class));

given:

public class SearchPreferences extends PreferenceActivity { ... }


On Dec 4, 5:20 pm, Chris  wrote:
> Thanks Jeffrey... This is a newbie question.. the view you referenced
> in the example is the view of the current activity. I don't follow the
> PageToBeOpened.class. I am not sure of the proper syntax for this
> parameter.
>
> On Dec 4, 4:32 pm, Jeffrey  wrote:
>
> > Here is code that you can pretty much copy/paste to get working.
>
> > Button Whatever = (Button) findViewById(R.id.ButtonWhatever);
> >                 Whatever.setOnClickListener(new View.OnClickListener() {
> >                         public void onClick(View view) {
>
> >                                 Intent myIntent = new 
> > Intent(view.getContext(),
> > PageToBeOpened.class);
> >                                 startActivityForResult(myIntent, 0);
> >                         }
> >                 });
>
> > On Dec 4, 12:44 pm, Romain Guy  wrote:
>
> > > Hi,
>
> > > To start another activity you should look at the method called
> > > startActivity(). This can be used to start an activity based on an
> > > Intent or by specifying a package name and a class name, which is
> > > exactly what you want in your case.
>
> > > On Thu, Dec 3, 2009 at 4:49 PM, Chris  wrote:
> > > > Hi All,
>
> > > > I am getting my feet wet developing software for the Android. My test
> > > > app will have multiple screens (each having their own layout file).
> > > > The main screen will direct the user to view the other screens based
> > > > on user input. I kinda see this as layers of cake. Bottom layer being
> > > > main; then you add and remove layers as the user makes UI inputs. The
> > > > crazy trouble is how to view a second layer. I have created a second
> > > > class which has its own onCreate method, which has its on
> > > > setContentView(R.layout.secondlayer). This class extends Activity much
> > > > like my primary class does. I have a click event on a button within
> > > > the main layout. This button will instantiate the new second layer
> > > > class which I have done. And that is where my story ends...I don't
> > > > know what to do from this point. This is surely a newbie question...
> > > > If someone has an example that would be extremely helpful...teach me
> > > > to fish and I will be on my way...
>
> > > > Thanks in Advance,
>
> > > > Chris
>
> > > > --
> > > > 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+unsubscr...@googlegroups.com
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/android-developers?hl=en
>
> > > --
> > > Romain Guy
> > > Android framework engineer
> > > romain...@android.com
>
> > > Note: please don't send private questions to me, as I don't have time
> > > to provide private support.  All such questions should be posted on
> > > public forums, where I and others can see and answer them

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Help starting second activity from the main activity on button click

2009-12-04 Thread justinh
It's a really good idea to read Application Fundamentals, where you
would find: http://developer.android.com/guide/topics/fundamentals.html#acttask

You can also see several examples of this being done in the Android
source available here: http://android.git.kernel.org/

On Dec 4, 4:10 pm, Chris  wrote:
> Need an example of how to create/start a new activity from the main
> activity. I have a button click event on the main layout. Originally I
> just used setContentView(R.layout.secondactivity); which brings up the
> layout but I don't think that is correct since the secondactivity
> class is not instantiated at this point yet. I have looked for such an
> example and can not find one.
>
> Help please,
>
> Thanks
>
> Chris

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: how to know if the device is to be powered off

2009-12-04 Thread justinh
http://developer.android.com/reference/android/content/Intent.html#ACTION_SHUTDOWN

Never used it though so I can't say anything more about it.

On Dec 4, 3:33 am, Zhihong GUO  wrote:
> Hi All,
>
> My application want to know the device is to be power off, so that it can
> send out the logout message to the server.
>
> How to do that?
>
> Thanks a lot.
>
> James

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Who do you consider as the Android mobile Apps developers Guru ?

2009-12-04 Thread justinh
Hey, just because they have the most posts doesn't mean the
information they provide is accurate. Quantity != Quality =)

Just kidding, really. I've read your posts many times and find them
useful even when I don't respond, thanks a lot!

On Dec 4, 2:49 pm, "Mark Murphy"  wrote:
> > Go tohttp://groups.google.com/group/android-developers/about, it's
> > the top 2 most frequent poster Dianne Hackborn and Mark Murphy.
>
> Great googly moogly!
>
> I've never actually gone to that page before. This is my 3,236th post?
>
> > and the
> > other gets payed by us when you buy his very reasonably priced books
> > or digital subscription.
>
> Either that, or I moonlight as the president/CEO of the Green Bay Packers.
> Though that Mark Murphy has *much* better hair.
>
> > End plug.
>
> Thanks for the plug!
>
> --
> Mark Murphy (a Commons Guy)http://commonsware.com
> Android App Developer Books:http://commonsware.com/books.html

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Height of device in portrait mode?

2009-12-03 Thread justinh
I found these two links:

http://android-developers.blogspot.com/2009/10/support-for-additional-screen.html

http://d.android.com/guide/practices/screens_support.html

On Dec 3, 5:23 pm, Greg Donald  wrote:
> On Thu, Dec 3, 2009 at 4:05 PM, Dianne Hackborn  wrote:
> > Please please please do not use Display to do your layout.  This tells you
> > the raw size of the display; it is not directly associated with the UI.
> > The correct way to do this kind of stuff, always, is to do the layout during
> > the layout pass.  Please don't skimp on this.  It is VERY IMPORTANT that you
> > participate in the framework in the right way here, using the size
> > information available in the view hierarchy as part of layout, to make sure
> > you do the right thing!!!  Otherwise you can expect to run in to problems in
> > the future as you encounter devices with new and interesting kinds of
> > screens.  We do a lot of work in the framework to help applications deal
> > with this, but if you go behind its back with Display and otherwise don't
> > participate as a good citizen, it can't help and you will have troubles.
> > Also, if you just want to find out whether you are running on a portrait or
> > landscape orientation, please just use getResources().getConfiguration() and
> > look at the orientation there.  Again, Display is a low-level facility and
> > not what you want.  DO NOT USE IT.
> > Thanks.
>
> Feels like I just got in trouble but didn't get told exactly what I did wrong.
>
> 1) What is "the layout pass" ?  Is this when main.xml gets expanded?
> Are we expected to maintain a separate layout for every resolution?
> That's a lot of work if that's the plan.
>
> 2) Don't skimp on what?  No idea.
>
> 3) I find the idea of "new and interesting kinds of screens" very
> similar to supporting both IE and Firefox.  Not fun, lots of dread,
> and in the end I always have to write special code for one or the
> other, just like I'm now doing for Android's different resolutions.
> Sorry if this is wrong, guess I missed something in the docs, got a
> "how to contend with different resolutions" URL handy?
>
> --
> Greg Donaldhttp://destiney.com/

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Height of device in portrait mode?

2009-12-03 Thread justinh
Remember there are separate layout files that will be used for
portrait and landscape mode. And you should always avoid using an
AbsoluteLayout. Sounds like you might get into a messy situation with
all the hardware out there.

Can you give a little more context for your question?

On Dec 3, 2:21 pm, Mark Wyszomierski  wrote:
> Hi,
>
> Is there always a concept of portrait mode for devices? If so, can we
> get what the height of the device is in portrait mode? I'm using this:
>
>      DisplayMetrics dm = new DisplayMetrics();
>      getWindowManager().getDefaultDisplay().getMetrics(dm);
>
> but width and height get swapped depending on orientation of the G1.
>
> Thanks

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Problem with Finding with Geo Coordinates

2009-12-03 Thread justinh
What does location.getAccuracy() return?

I recall having an issue, although I think it might have just been
with the Network location provider, where it just flat out would not
return a location and IIRC getAccuracy returned -1.

On Dec 3, 10:35 am, "RS.Giridaran"  wrote:
> Hi All,
>
> I am developing an application which uses the current location of the
> user to do some operations. i have used LocationManager and
> LocationListener to receive the latitude and longitude values in
> onLocationChanged() method. it is perfectly working when i am testing
> using emulator control in eclipse. when its accessing from the real
> device its not functioning properly. its will give 0, 0 for latitude
> ad longitude.
>
> Here is my code which used to get the current location.
> /*Code*/
> public GeoLocationManger(Activity activity) {
>                 LocationManager locationManager = (LocationManager) activity
>                 .getSystemService(Context.LOCATION_SERVICE);
>                 Criteria criteria = new Criteria();
>                 criteria.setAccuracy(Criteria.ACCURACY_FINE);
>                 List providers = locationManager.getProviders(criteria,true);
>                 if(providers != null && providers.size() >0){
>                         LocationProvider pro 
> =locationManager.getProvider(providers.get
> (0).toString());
>                         locationManager.requestLocationUpdates(pro.getName(), 
> 0, 0, this);
>                 }
>                 else
>                 {
>                         Messages.displayMessageOnUI(GasBuddyConstants.INFO,
>                                         "GPS Not Enabled – Update your 
> settings.",
>                                         activity);
>                 }
>         }
>
>         public void onLocationChanged(Location location) {
>                 this.latitude = location.getLatitude();
>                 this.longitude = location.getLongitude();
>
>         }
>
> /*Code*/
>
> is there any settings need to do with phone?
>
> Please help me to resolve this.
>
> Thanks in advance.

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: ADC2 Results?

2009-12-02 Thread justinh
Yeah it's not fair to insult the winners. But let's also not ignore
the inconsistencies and bugs that plagued the competition.

Can you imagine a diving contest with 5 judges and 2 divers, where 3
of the judges rate diver #1 and 3 others (with 1 overlap) rate diver
#2?  That is how the ADC2 judging worked, that is, if the user could
actually install the app that they were supposed to judge. From a
purely mathematical standpoint I want to vomit. There's even the
possibility that the panel of judges used the same problematic ADC2
judging app we all did. I *wanted* to judge all of the apps, but no
matter how much I skipped I never saw half of them.

Congrats to the winners though. Let's move on and talk about
development.


On Dec 2, 12:19 pm, sai  wrote:
> Hearty Congrats!! To all winners. All said and done a winner is a
> winner.
>
> It would be interesting to know if these winners were preparing for
> ADC2 even before it was announced and how much time they took to
> develop these apps.
> I stated writing my app after ADC2 was announced and obviously time
> was not sufficient. I submitted "Nutricheck" app, which was half
> baked. If any of you judged it any feed back would be great.
>
> I hope there is ADC 3 and we can compete again !!!, or should we
> assume there will be another and start now :-)
>
> On Nov 30, 5:11 pm, Kirrrilka  wrote:
>
>
>
> > Congratulations!!
> > The First winner here!
>
> > On 1 дек, 01:07, Pieter  wrote:
>
> > > Just got our result, we made it! Thanks for everyone who voted
> > > favorably for us!
>
> > > 
> > > Congratulations! Your application, SpecTrek, was chosen by users and
> > > judges as the #2 winner in the Lifestyle category. You've won $50,000!
> > > We will be announcing all of the winners publicly today, November 30,
> > > on the Android Developers Blog (http://android-
> > > developers.blogspot.com).
>
> > > We also encourage you to upload your submission to Android Market so
> > > Android users around the world can download and enjoy your
> > > application. Please remember that your application won't automatically
> > > become available in the Market; you'll need to publish it when you're
> > > ready (http://market.android.com/publish/).
>
> > > We will contact you soon about next steps and payment information.
> > > There are several payment and tax forms that you will need to submit
> > > before receiving your award. We will be sending full details to this
> > > email address.
>
> > > Thank you for your participation in ADC 2, and congratulations again!
> > > - Hide quoted text -
>
> - Show quoted text -

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: ADC2 Results?

2009-11-30 Thread justinh
Ravi,

Let's just say I grossly underestimated the time it would take to
enter laws into a database. So much so I limited it to the U.S.,
something I know for a fact made non-U.S. testers unhappy. I was
gambling on the "expert panel" to help out in that regard. Didn't work
out.

On Nov 30, 4:42 pm, Ravi  wrote:
> What was the app about ?
>
> On Nov 30, 3:36 pm, justinh  wrote:
>
>
>
> > I wonder how many of the 200 will release their apps on the normal
> > Market? I won't be personally. The idea was so big it was bare bones
> > for the submission and I don't want to spend the time to finish it or
> > post it in its bare bones state. I am considering posting it to google
> > code and being done with it (but then I'd have to clean it up).
>
> > On Nov 30, 4:28 pm, Dan Sherman  wrote:
>
> > > Thank you for participating in the Android Developer Challenge 2. The
> > > results are in, and unfortunately, your application ProjectINF ADC was not
> > > chosen by users and judges as a prize winner. We appreciate your
> > > participation and hope that you will upload your application to Android
> > > Market for users around the world to enjoy. Please note your application
> > > will not automatically appear to users in the Android Market, so you'll 
> > > want
> > > to publish it when you're ready (http://market.android.com/publish/).
>
> > > Same here,
>
> > > Good luck guys :)
>
> > > - Dan
>
> > > On Mon, Nov 30, 2009 at 4:26 PM, proper  wrote:
> > > > Me too...
>
> > > > Although Album Art Grabber is already on the top 15th of all the paid
> > > > applications now...
>
> > > > On Nov 30, 9:19 pm, Ravi  wrote:
> > > > > Thank you for participating in the Android Developer Challenge 2. The
> > > > > results are in, and unfortunately, your application  was not
> > > > > chosen by users and judges as a prize winner. We appreciate your
> > > > > participation and hope that you will upload your application to
> > > > > Android Market for users around the world to enjoy. Please note your
> > > > > application will not automatically appear to users in the Android
> > > > > Market, so you'll want to publish it when you're ready
>
> > > > > Oh well...
>
> > > > > On Nov 30, 3:16 pm, String  wrote:
>
> > > > > > And watching my spam folder like a hawk, considering that's where 
> > > > > > the
> > > > > > last two ADC2 e-mails went.
>
> > > > > > On Nov 30, 8:59 pm, dadical  wrote:
>
> > > > > > > You forgot a twitter "adc2" search.
>
> > > > > > > On Nov 30, 3:44 pm, justinh  wrote:
>
> > > > > > > > Doing this every 4 minutes today has yielded nothing yet:
>
> > > > > > > > *refresh email*
> > > > > > > > *refresh official android blog*
> > > > > > > > *refresh this group*
> > > > > > > > *filter google results for "Past hour" on adc2 search tems*
>
> > > > > > > > =)
>
> > > > > > > > On Nov 30, 3:37 pm, Robert Green  wrote:
>
> > > > > > > > > According to their last email, today is the day.  Has anyone
> > > > received
> > > > > > > > > news about their ADC2 entry yet?- Hide quoted text -
>
> > > > > > > > - Show quoted text -
>
> > > > --
> > > > 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+unsubscr...@googlegroups.com
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/android-developers?hl=en-Hidequoted text -
>
> > > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: ADC2 Results?

2009-11-30 Thread justinh
I wonder how many of the 200 will release their apps on the normal
Market? I won't be personally. The idea was so big it was bare bones
for the submission and I don't want to spend the time to finish it or
post it in its bare bones state. I am considering posting it to google
code and being done with it (but then I'd have to clean it up).

On Nov 30, 4:28 pm, Dan Sherman  wrote:
> Thank you for participating in the Android Developer Challenge 2. The
> results are in, and unfortunately, your application ProjectINF ADC was not
> chosen by users and judges as a prize winner. We appreciate your
> participation and hope that you will upload your application to Android
> Market for users around the world to enjoy. Please note your application
> will not automatically appear to users in the Android Market, so you'll want
> to publish it when you're ready (http://market.android.com/publish/).
>
> Same here,
>
> Good luck guys :)
>
> - Dan
>
>
>
> On Mon, Nov 30, 2009 at 4:26 PM, proper  wrote:
> > Me too...
>
> > Although Album Art Grabber is already on the top 15th of all the paid
> > applications now...
>
> > On Nov 30, 9:19 pm, Ravi  wrote:
> > > Thank you for participating in the Android Developer Challenge 2. The
> > > results are in, and unfortunately, your application  was not
> > > chosen by users and judges as a prize winner. We appreciate your
> > > participation and hope that you will upload your application to
> > > Android Market for users around the world to enjoy. Please note your
> > > application will not automatically appear to users in the Android
> > > Market, so you'll want to publish it when you're ready
>
> > > Oh well...
>
> > > On Nov 30, 3:16 pm, String  wrote:
>
> > > > And watching my spam folder like a hawk, considering that's where the
> > > > last two ADC2 e-mails went.
>
> > > > On Nov 30, 8:59 pm, dadical  wrote:
>
> > > > > You forgot a twitter "adc2" search.
>
> > > > > On Nov 30, 3:44 pm, justinh  wrote:
>
> > > > > > Doing this every 4 minutes today has yielded nothing yet:
>
> > > > > > *refresh email*
> > > > > > *refresh official android blog*
> > > > > > *refresh this group*
> > > > > > *filter google results for "Past hour" on adc2 search tems*
>
> > > > > > =)
>
> > > > > > On Nov 30, 3:37 pm, Robert Green  wrote:
>
> > > > > > > According to their last email, today is the day.  Has anyone
> > received
> > > > > > > news about their ADC2 entry yet?- Hide quoted text -
>
> > > > > > - Show quoted text -
>
> > --
> > 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+unsubscr...@googlegroups.com
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en- Hide quoted text -
>
> - Show quoted text -

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: ADC2 Results?

2009-11-30 Thread justinh
Doing this every 4 minutes today has yielded nothing yet:

*refresh email*
*refresh official android blog*
*refresh this group*
*filter google results for "Past hour" on adc2 search tems*

=)


On Nov 30, 3:37 pm, Robert Green  wrote:
> According to their last email, today is the day.  Has anyone received
> news about their ADC2 entry yet?

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Can an Activity pause() rather than finish()?

2009-11-30 Thread justinh
If you haven't already read it you should see
http://developer.android.com/guide/topics/fundamentals.html#actlife

Your activity will always be "paused" when it isn't in view.

Also note in the last paragraph on that page: "Because a process
running a service is ranked higher than one with background
activities, an activity that initiates a long-running operation might
do well to start a service for that operation, rather than simply
spawn a thread — particularly if the operation will likely outlast the
activity."


On Nov 30, 2:28 pm, DulcetTone  wrote:
> I see no means by which my activity can pop itself off the activity
> stack to return the user to the one he was using before it was
> invoked.  Is there one?
>
> My purpose is that my app has some data structures built from data
> provider queries that take 5-15 seconds to assemble and I don't want a
> lot of latency if it is used in a few one-shot purposes in rapid
> succession.  I'm more than willing to let the system ask my app to
> die, but I'd like to keep warmed and ready otherwise.
>
> Thanks in advance.
>
> tone

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Android Market Anti-Piracy

2009-11-30 Thread justinh
The amount of return I get from my efforts is already so minuscule
there is no way I would spend more time trying to protect myself from
piracy which the average user who walks into best buy to grab a phone
has no idea how to do. Eagerly waiting for some king of magical Market
update that improves things we all know it needs...

On Nov 30, 9:08 am, Disconnect  wrote:
> Ask copilot how well that worked out for them...
>
> On Tue, Nov 24, 2009 at 6:32 AM, Dmitry.Skiba wrote:
>
> > > Huh? Regarding (1). That's almost the same as normal pc applications
> > > that require online activation. They either get cracked, someone
> > > creates a serial number generator, or people start posting stolen
> > > activation codes.
>
> > Yes, it all looks like PC situation.
> > Also, everything can be cracked, but cracking is magnitudes harder
> > that copying, as it is now.
> > Also Android allows for very tough protection schemes, like that being
> > used in PC's protectors. And those are hard to crack.
>
> > Activation code need not be generatable, it can be just GUID or
> > something.
> > And restricting number of activation for the given code gives as
> > protection for the code sharing.
>
> > Dmitry

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Google: please change your release process

2009-10-27 Thread justinh

They may need not a dedicated build to run, however, some apps might
not run "correctly". For example, the fact that they had TMobile
myFaves live in acore for the TMobile build forced me to create a
special case in my app. I can't wait to see the funky stuff that
breaks my app for these new ones coming out. I'm dreading it.

At the same time that's what I get for "playing with fire" and Dianne
said.

On Oct 27, 10:12 am, "Mark Murphy"  wrote:
> > That's a slippy slope to start on JP, not long until we're building
> > for vendor specific custom OS's and then versions of those OS's.
>
> You don't need to do that.
>
> > roll on
>
> It is unclear what deodorant delivery mechanisms have to do with Android.
>
> > SenseUI build
>
> Apps do not need a dedicated build for HTC Sense.
>
> > MotoBlur build
>
> Apps do not need a dedicated build for MOTOBLUR.
>
> --
> Mark Murphy (a Commons Guy)http://commonsware.com
> Android App Developer Books:http://commonsware.com/books.html
--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: TMobile myFaves (com.tmobile.myfaves) is tied heavily into Android Framework?

2009-10-05 Thread justinh

Are there any other carriers that share the acore process like this in
their builds?


On Oct 2, 8:17 pm, Romain Guy  wrote:
> For technical reasons (that I don't remember) we had to use myFaves as
> the contacts provider and make it run in acore. This is specific
> **only** to T-Mobile phones with myFaves.
>
>
>
> On Fri, Oct 2, 2009 at 5:11 PM, justinh  wrote:
>
> > When I kill any Google app, even the built in ones,
> > android.process.acore doesn't crash causing a cascade effect of
> > wonderfulness that is a black Launcher screen sometimes. So it can't
> > be related to being integrated into Google Authentications or
> > something. So, why the heck does myFaves do this? According to it's
> > package info it's process should be com.tmobile.myfaves.
>
> > A question for the TMobile guys, as well as pertinent to the Framework
> > engineers I think. And sure, I shouldn't be killing built in apps, but
> > I'm wondering why it has to behave like this.
>
> > 10-02 19:46:06.716: DEBUG/ActivityManager(56): Uninstalling process
> > com.tmobile.myfaves
> > 10-02 19:46:06.726: DEBUG/ActivityManager(56): Force removing process
> > ProcessRecord{433f8780 511:android.process.acore/10001}
> > (android.process.acore/10001)
> > 10-02 19:46:06.726: INFO/ActivityManager(56): Killing app
> > com.google.process.gapps (pid 494) because provider
> > com.android.providers.im.ImProvider is in dying process
> > android.process.acore
> > 10-02 19:46:06.726: INFO/Process(56): Sending signal. PID: 494 SIG: 9
> > 10-02 19:46:06.746: INFO/Process(56): Sending signal. PID: 511 SIG: 9
> > 10-02 19:46:06.766: DEBUG/ActivityManager(56): Force removing process
> > ProcessRecord{433c3b28 492:com.android.inputmethod.latin/10001}
> > (com.android.inputmethod.latin/10001)
> > 10-02 19:46:06.766: WARN/ActivityManager(56): Scheduling restart of
> > crashed service com.android.inputmethod.latin/.LatinIME in 5000ms
> > 10-02 19:46:06.776: INFO/Process(56): Sending signal. PID: 492 SIG: 9
> > 10-02 19:46:06.816: INFO/ActivityManager(56): Process
> > com.google.process.gapps (pid 494) has died.
> > 10-02 19:46:06.816: WARN/ActivityManager(56): Scheduling restart of
> > crashed service com.google.android.apps.gtalkservice/
> > com.google.android.gtalkservice.service.GTalkService in 5000ms
> > 10-02 19:46:06.816: WARN/ActivityManager(56): Scheduling restart of
> > crashed service com.google.android.googleapps/.GoogleLoginService in
> > 5000ms
> > 10-02 19:46:06.826: DEBUG/ActivityManager(56): Received spurious death
> > notification for thread android.os.binderpr...@43381ff0
> > 10-02 19:46:06.856: WARN/InputManagerService(56): Window already
> > focused, ignoring focus gain of:
> > com.android.internal.view.iinputmethodclient$stub$pr...@433095a8
> > 10-02 19:46:06.896: DEBUG/ActivityManager(56): Received spurious death
> > notification for thread android.os.binderpr...@4327d3c8
> > 10-02 19:46:06.896: INFO/WindowManager(56): WIN DEATH: Window{4311c660
> > com.android.launcher/com.android.launcher.Launcher paused=false}
> > 10-02 19:46:07.076: WARN/ResourceType(56): No package identifier when
> > getting value for resource number 0x7f060001
> > 10-02 19:46:10.136: INFO/ActivityManager(56): Starting activity:
> > Intent { action=android.intent.action.MAIN categories=
> > {android.intent.category.HOME} flags=0x1020 comp=
> > {com.android.launcher/com.android.launcher.Launcher} }
> > 10-02 19:46:10.177: INFO/ActivityManager(56): Start proc
> > android.process.acore for activity com.android.launcher/.Launcher:
> > pid=642 uid=10001 gids={3003}
>
> --
> Romain Guy
> Android framework engineer
> romain...@android.com
>
> Note: please don't send private questions to me, as I don't have time
> to provide private support.  All such questions should be posted on
> public forums, where I and others can see and answer them
--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] TMobile myFaves (com.tmobile.myfaves) is tied heavily into Android Framework?

2009-10-02 Thread justinh

When I kill any Google app, even the built in ones,
android.process.acore doesn't crash causing a cascade effect of
wonderfulness that is a black Launcher screen sometimes. So it can't
be related to being integrated into Google Authentications or
something. So, why the heck does myFaves do this? According to it's
package info it's process should be com.tmobile.myfaves.

A question for the TMobile guys, as well as pertinent to the Framework
engineers I think. And sure, I shouldn't be killing built in apps, but
I'm wondering why it has to behave like this.

10-02 19:46:06.716: DEBUG/ActivityManager(56): Uninstalling process
com.tmobile.myfaves
10-02 19:46:06.726: DEBUG/ActivityManager(56): Force removing process
ProcessRecord{433f8780 511:android.process.acore/10001}
(android.process.acore/10001)
10-02 19:46:06.726: INFO/ActivityManager(56): Killing app
com.google.process.gapps (pid 494) because provider
com.android.providers.im.ImProvider is in dying process
android.process.acore
10-02 19:46:06.726: INFO/Process(56): Sending signal. PID: 494 SIG: 9
10-02 19:46:06.746: INFO/Process(56): Sending signal. PID: 511 SIG: 9
10-02 19:46:06.766: DEBUG/ActivityManager(56): Force removing process
ProcessRecord{433c3b28 492:com.android.inputmethod.latin/10001}
(com.android.inputmethod.latin/10001)
10-02 19:46:06.766: WARN/ActivityManager(56): Scheduling restart of
crashed service com.android.inputmethod.latin/.LatinIME in 5000ms
10-02 19:46:06.776: INFO/Process(56): Sending signal. PID: 492 SIG: 9
10-02 19:46:06.816: INFO/ActivityManager(56): Process
com.google.process.gapps (pid 494) has died.
10-02 19:46:06.816: WARN/ActivityManager(56): Scheduling restart of
crashed service com.google.android.apps.gtalkservice/
com.google.android.gtalkservice.service.GTalkService in 5000ms
10-02 19:46:06.816: WARN/ActivityManager(56): Scheduling restart of
crashed service com.google.android.googleapps/.GoogleLoginService in
5000ms
10-02 19:46:06.826: DEBUG/ActivityManager(56): Received spurious death
notification for thread android.os.binderpr...@43381ff0
10-02 19:46:06.856: WARN/InputManagerService(56): Window already
focused, ignoring focus gain of:
com.android.internal.view.iinputmethodclient$stub$pr...@433095a8
10-02 19:46:06.896: DEBUG/ActivityManager(56): Received spurious death
notification for thread android.os.binderpr...@4327d3c8
10-02 19:46:06.896: INFO/WindowManager(56): WIN DEATH: Window{4311c660
com.android.launcher/com.android.launcher.Launcher paused=false}
10-02 19:46:07.076: WARN/ResourceType(56): No package identifier when
getting value for resource number 0x7f060001
10-02 19:46:10.136: INFO/ActivityManager(56): Starting activity:
Intent { action=android.intent.action.MAIN categories=
{android.intent.category.HOME} flags=0x1020 comp=
{com.android.launcher/com.android.launcher.Launcher} }
10-02 19:46:10.177: INFO/ActivityManager(56): Start proc
android.process.acore for activity com.android.launcher/.Launcher:
pid=642 uid=10001 gids={3003}

--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: About Size of Resource, Assets files & final Apk size

2009-10-02 Thread justinh

If you haven't already, consider storing your database as raw strings
that can be executed at the first run. Usually it would be an "export"
feature in whatever database program you are using.

You would use: 
http://developer.android.com/reference/android/database/sqlite/SQLiteDatabase.html#execSQL(java.lang.String)



On Oct 2, 2:40 am, faye  wrote:
> I am currently developing a dictionary application with voice
> database. I would like to know about the current Android limitation on
> the file size.
>
> I am using a self-provided sqlite database ( > 50mb ) . I tested that
> once the built .apk size exceeds ~30mb the app will not be installed
> onto the simulator (INSTALL_FAILED_INSUFFICIENT_STORAGE).
>
> Could anyone confirm me that if up until now there is no way to embed
> such large size files in a single apk ( Aimed to sell at Google Market
> without requiring user to download datafile afterwards).
>
> Also, is there a limitation of 1,048,576 bytes for a single file in
> the assets folder ?
--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Application Manager & Force Close

2009-10-02 Thread justinh

Please, no. There is good reason to not notify the package being
killed.

Two thoughts: 1) Maybe you guys need to ask yourselves why users are
force stopping your apps? 2) If someone uses force stop they should
already acknowledge that some information might be lost.


On Oct 2, 3:56 pm, Lucas  wrote:
> Hello,
>
> I was having the same issues. And i was not able to solve it the way i
> wish it.
>
> I think this is a great feature on android, but also i think it has it
> faults. I think that the system MUST send to my package
> ACTION_PACKAGE_RESTARTED before killing the process, or at least call
> onDestroy on it, because now i am not able of make a correct clean-up
> of the state my application is.
>
> In my personal case i have a worker thread that must finish cleanly in
> order to make my app re-launch in a reliable state.
>
> I am going to add a case in Android issues regarding this,
>
> regards,
>
> Lucas
>
> On Oct 2, 9:22 am, "Mark Murphy"  wrote:
>
> > > I'm not saying that this is a bug, I just  want to know if there is
> > > any way to know from my application that it is being killed by the
> > > application manager.
>
> > No.
>
> > --
> > Mark Murphy (a Commons Guy)http://commonsware.com
> > Android App Developer Books:http://commonsware.com/books.html
--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] ActivityManager.restartPackage() and syncing - Sync on StatusBar remains after killing

2009-10-02 Thread justinh

I was playing around with restartPackage() and I happened to do it on
GMail (and others) while GMail was performing a sync operation. I went
to Settings->Data synchronization and apparently Gmail and Calendar
are stuck trying to sync. Or it just looks like they are- is there any
way to verify that?

Is there anything I can poke at to get that to go away?
--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: activity is destroyed when press home key

2009-09-24 Thread justinh

When users press on your icon again to "come back" they are launching
your activity, not the settings activity. Where do you start the
settings activity in your code? If it's outside of the onCreate/
onStart/onResume methods then the user will have to repeat that action
to get back there.

On Sep 24, 2:58 am, play_net  wrote:
> My manifest:
>         android:name="MainUI" android:screenOrientation="landscape"
>                         android:configChanges="orientation|keyboardHidden"
> android:launchMode="singleTask">
>             
>                 
>                  android:name="android.intent.category.LAUNCHER" />
>             
>         
>         android:name=".view.Settings"  android:configChanges="orientation|
> keyboardHidden">
>         
>
>    I press program's icon to start my program,and then open the
> Settings activity through startActivityForResult(intent, SETTINGS).
> Now i press the  home key  and start my program through program's
> icon, at this time the Settings actitity will run OnDestroy() and be
> destroyed. I can't understand why Settings activity is be destroyed
> automatically? How can I make Settings activity still focus when users
> come back.
>
> Thank all.
--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Problem in add icon to listview

2009-09-23 Thread justinh

See the responses to your repeat questions here:

http://groups.google.com/group/android-developers/browse_thread/thread/910a52f585381739/c577e10eaab11bab#c577e10eaab11bab

http://groups.google.com/group/android-developers/browse_thread/thread/99e222d3458f6905/572dbac1c2eb38f0#572dbac1c2eb38f0

If you want a serious answer supply a detailed question with effort
put into it.

On Sep 23, 8:11 am, ragavendran s  wrote:
> can anybody tell how to add icon to listview
>
> for example:
>
> i have three images in my res/drawable
>
>           * image1.png
>             image2.png
>             image3.png*
>
> i want to add these images to the list.
>
> String []=new String[] {"*First Image","Second Image","Third Image*" };
>
> Thanks in advance,
>
> with regards,
> Raghav.S
--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Application Developers??

2009-09-22 Thread justinh

Even if something like this hasn't been done, you can rest assured (or
not) that the wireless provider has logs showing the device traveling
as long as it is on (no calls necessary), even if it isn't a
smartphone. It just takes judicial subpoenas to gain access to them,
and if someone is kidnapped then I'm pretty sure that subpoena would
happen. I should qualify this with, it wouldn't be a GPS location, it
would be somewhere to within tens or hundreds of meters.

Anyways, if you are kidnapped and have your phone, why not just make a
call?

On Sep 22, 7:33 pm, Brittany Washington
 wrote:
> Hey I'm just a regular person but is there someone on here that
> develops Application. I think that someone should combine the power of
> Google Earth and GPS enabled phones. there should be an app where you
> can click on it if you are kidnapped and happen to maintain possession
> of your phone. The app would notify authorities and track your
> whereabouts. Is this possible and has it already been done with
> Android?
>
> Brittany Washington
> brittanyawashing...@gmail.com
--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: setting mapView to R.id.mapview throws ClassCastException

2009-09-22 Thread justinh

mapview is the id of your RelativeLayout, which contains your MapView,
but it not a MapView itself.

On Sep 22, 1:21 pm, Lex  wrote:
> ...I really don't understand how something this simple (and I have
> done it before) doesn't work. I'm pretty sure it will turn out that I
> am missing something obvious.
>
> I just created a MapView, all it does is show the map and when I
> allocate mapView to it's layout, there's a ClassCastException:
>
> import com.google.android.maps.MapActivity;
> import com.google.android.maps.MapView;
>
> import android.app.Activity;
> import android.os.Bundle;
>
> public class PPMMap extends MapActivity {
>
>         public MapView mapView;
>
>     /** Called when the activity is first created. */
>     @Override
>     public void onCreate(Bundle savedInstanceState) {
>         super.onCreate(savedInstanceState);
>         setContentView(R.layout.main);
>
>         mapView =  (MapView) findViewById(R.id.mapview); // THROWS
> CLASSCASTEXCEPTION
>         mapView.setBuiltInZoomControls(true);
>
>     }
>
>         @Override
>         protected boolean isRouteDisplayed() {
>                 // TODO Auto-generated method stub
>                 return false;
>         }
>
> }
>
> 
>
> http://schemas.android.com/apk/res/
> android"
>     android:id="@+id/mapview"
>     android:orientation="vertical"
>     android:layout_width="fill_parent"
>     android:layout_height="fill_parent" >
>
>                        android:layout_width="fill_parent"
>                  android:layout_height="fill_parent"
>                  android:apiKey=""
>                  />
>
> 
>
> 09-22 17:16:03.676: ERROR/AndroidRuntime(730):
> java.lang.RuntimeException: Unable to start activity ComponentInfo
> {patyo.PPMMap}: java.lang.ClassCastException:
> android.widget.RelativeLayout
> 09-22 17:16:03.676: ERROR/AndroidRuntime(730):     at
> android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
> 2268)
> 09-22 17:16:03.676: ERROR/AndroidRuntime(730):     at
> android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:
> 2284)
> 09-22 17:16:03.676: ERROR/AndroidRuntime(730):     at
> android.app.ActivityThread.access$1800(ActivityThread.java:112)
> 09-22 17:16:03.676: ERROR/AndroidRuntime(730):     at
> android.app.ActivityThread$H.handleMessage(ActivityThread.java:1692)
> 09-22 17:16:03.676: ERROR/AndroidRuntime(730):     at
> android.os.Handler.dispatchMessage(Handler.java:99)
> 09-22 17:16:03.676: ERROR/AndroidRuntime(730):     at
> android.os.Looper.loop(Looper.java:123)
> 09-22 17:16:03.676: ERROR/AndroidRuntime(730):     at
> android.app.ActivityThread.main(ActivityThread.java:3948)
> 09-22 17:16:03.676: ERROR/AndroidRuntime(730):     at
> java.lang.reflect.Method.invokeNative(Native Method)
> 09-22 17:16:03.676: ERROR/AndroidRuntime(730):     at
> java.lang.reflect.Method.invoke(Method.java:521)
> 09-22 17:16:03.676: ERROR/AndroidRuntime(730):     at
> com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run
> (ZygoteInit.java:782)
> 09-22 17:16:03.676: ERROR/AndroidRuntime(730):     at
> com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540)
> 09-22 17:16:03.676: ERROR/AndroidRuntime(730):     at
> dalvik.system.NativeStart.main(Native Method)
> 09-22 17:16:03.676: ERROR/AndroidRuntime(730): Caused by:
> java.lang.ClassCastException: android.widget.RelativeLayout
> 09-22 17:16:03.676: ERROR/AndroidRuntime(730):
> at PPMMap.onCreate(PPMMap.java:21)
> 09-22 17:16:03.676: ERROR/AndroidRuntime(730):     at
> android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:
> 1123)
> 09-22 17:16:03.676: ERROR/AndroidRuntime(730):     at
> android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
> 2231)
>
> Call me an idiot, but I just don't get it.
--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: ListView....

2009-09-22 Thread justinh

If you want something like Contacts>Menu>Edit sync groups  then I
suggest you look here:

http://android.git.kernel.org/?p=platform/packages/apps/Contacts.git;a=blob_plain;f=src/com/android/contacts/ContactsGroupSyncSelector.java;hb=HEAD

Don't forget the source code is out there for some of the stuff
android does.

On Sep 22, 11:03 am, Timothy Collins  wrote:
> I read the documentation... and (Being an imbecile as I fully admit I am) it
> read sort of like Charlie Browns teacher talking to me...
>
> What I need to do is be able to have a search that displays it's results in
> a list. But from the looks of the docs, it takes an entire Android app to
> display one list at a time that can't talk to anything else (I may be
> reading it wrong)... Really, what I want is something that woudl work sort
> of like Select lists in Javascript - I have a container and then just add
> options one at a time... But I can't see how to do that in a Android
> ListView...
>
> On Tue, Sep 22, 2009 at 10:56 AM, justinh wrote:
>
>
>
> > There's plenty of documentation if you take the time to read it:
>
> >http://developer.android.com/guide/samples/ApiDemos/src/com/example/a...
> > and it goes all the way up to...
>
> >http://developer.android.com/guide/samples/ApiDemos/src/com/example/a...
>
> > What's with all the ListView topics lately?
>
> > On Sep 22, 10:43 am, furby  wrote:
> > > Why does this type of thing always end up being so difficult?
>
> > > I want to have a scrolling list on the screen. Very simple... Except
> > > that the Android SDK seems to require that list to be a listview which
> > > is implemented in a completely different way from other programming
> > > languages... (Slight rant following, skip to the bottom to see my
> > > question, sorry...) Why is it so hard? Why can't I just say "Here's a
> > > listview on the page and there is a method for adding options onto it
> > > and I'll iterate through my result set to add them"?
>
> > > My question is simple - is there a simple way to use lists in Android?
> > > Or does one have to define entire screens every time just to display a
> > > list?
--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: ListView....

2009-09-22 Thread justinh

There's plenty of documentation if you take the time to read it:

http://developer.android.com/guide/samples/ApiDemos/src/com/example/android/apis/view/List1.html
and it goes all the way up to...
http://developer.android.com/guide/samples/ApiDemos/src/com/example/android/apis/view/List14.html

What's with all the ListView topics lately?


On Sep 22, 10:43 am, furby  wrote:
> Why does this type of thing always end up being so difficult?
>
> I want to have a scrolling list on the screen. Very simple... Except
> that the Android SDK seems to require that list to be a listview which
> is implemented in a completely different way from other programming
> languages... (Slight rant following, skip to the bottom to see my
> question, sorry...) Why is it so hard? Why can't I just say "Here's a
> listview on the page and there is a method for adding options onto it
> and I'll iterate through my result set to add them"?
>
> My question is simple - is there a simple way to use lists in Android?
> Or does one have to define entire screens every time just to display a
> list?
--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Why there is no log message output in the logcat after installed SDK 1.6

2009-09-22 Thread justinh

I've found sometimes that if I have a G1 and the emulator running I
need to go under "Devices" and double click on the one I want to see
the logcat for. Might try that.

On Sep 22, 5:23 am, "android.bu...@gmail.com"
 wrote:
> After installing SDK 1.6 and ADT 0.9.3, I created a new AVD with SDK
> level 4. Then I found that my application can not output log in the
> logcat. Can anyone tell me why?
--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: OnItemClickListener onItemClick in custom adapter not firing

2009-09-21 Thread justinh

You array adapter has extended "ArrayAdapter":

public class FuItemAdapter extends ArrayAdapter

Your ArrayAdapter is expecting type FuItem, your overridden
OnItemClick function isn't being called because the AdapterView's type
isn't explicit maybe? So try AdapterView arg0 instead of
AdapterView arg0

I'm a C programmer first so I could be totally off. I'm always
hammering strangely shaped pegs into the wrong holes here. :)



On Sep 21, 2:47 am, "lf.hl"  wrote:
> Hi Joy,
>
> thanks for your response. I see the OnClickListeners for the button
> and edittext firing (the one i have registered in the adapter). I
> don't see the OnItemClickListener in the AdapterTest.class.
>
> Thanks again and best,
>
> lf.hl
>
> On 21 Sep., 02:17, Joy <3crownt...@gmail.com> wrote:
>
> > Hi,
> > You bind onItemClick twice. Did you see any log when item is clicked?
>
> > On Sun, Sep 20, 2009 at 5:09 AM, lf.hl  wrote:
>
> > > Hi,
>
> > > in a custom ArrayAdapter i don't see onItemClick firing. I would like
> > > to pack all the logic in there so i need access to the views in each
> > > row of the adapter (2 Buttons,1 EditText). I was looking on the
> > > internet for hours to find a real howto.
>
> > > Q1: Is there a tutorial on the net?
> > > Q2: Do you see a bug/whats missing?
> > > Q3: How to seduce a clicked View in onItemClick?
>
> > > Any help is really really appreciated,
>
> > > lf.hl
>
> > > --This is the activity---
> > > package org.rice;
>
> > > import android.app.Activity;
> > > import android.view.View;
> > > import android.view.View.OnClickListener;
> > > import android.widget.*;
> > > import android.os.Bundle;
> > > import java.util.*;
> > > import android.widget.AdapterView.OnItemClickListener;
> > > import android.util.*;
>
> > > public class AdapterTest extends Activity{
> > >        private ArrayList fItems;
> > >        private ArrayAdapter aa;
> > >        private ListView myListView;
>
> > >        private void fillit(){
> > >                fItems = new ArrayList();
>
> > >                for(int i = 0; i < 5; i++){
> > >                        FuItem fi = new FuItem(String.valueOf(i), 
> > > (float)i);
> > >                        fItems.add(fi);
> > >                }
> > >        }
> > >    /** Called when the activity is first created. */
> > >   �...@override
> > >    public void onCreate(Bundle savedInstanceState) {
> > >        super.onCreate(savedInstanceState);
> > >        setContentView(R.layout.main);
>
> > >        myListView = (ListView)findViewById(R.id.liste);
>
> > >        fillit();
>
> > >        int resId = R.layout.row;
> > >        aa = new FuItemAdapter(this, resId, fItems);
>
> > >        myListView.setAdapter(aa);
>
> > >        myListView.setChoiceMode(ListView.CHOICE_MODE_SINGLE);
> > >        myListView.setItemsCanFocus(true);
>
> > >        myListView.setOnItemClickListener(new OnItemClickListener() {
>
> > >                       �...@override
> > >                        public void onItemClick(AdapterView arg0, View
> > > arg1, int arg2,
> > >                                        long arg3) {
> > >                                // TODO Auto-generated method stub
> > >                                Log.i("adaptertest", "onItemClick fired");
> > >                        }
>
> > >        });
> > >    }
> > > }
>
> > > -Custom Adapter FuItemAdapter---
>
> > > package org.rice;
>
> > > import android.view.*;
> > > import android.view.View.OnClickListener;
>
> > > import android.widget.*;
> > > import android.content.Context;
> > > import java.util.*;
> > > import android.util.*;
> > > import android.widget.Button;
>
> > > public class FuItemAdapter extends ArrayAdapter {
>
> > >        int resource;
>
> > >        public FuItemAdapter(Context _context, int _resource, List
> > > _items) {
> > >                super(_context, _resource, _items);
> > >                resource = _resource;
> > >        }
>
> > >       �...@override
> > >        public View getView(int position, View convertView, ViewGroup
> > > parent)
> > > {
> > >                LinearLayout fuitemView;
>
> > >                FuItem item = getItem(position);
>
> > >                String productString = item.getProduct();
> > >                String priceString = String.valueOf(item.getPrice());
>
> > >                if(convertView == null){
> > >                        fuitemView = new LinearLayout(getContext());
> > >                        String inflater = Context.LAYOUT_INFLATER_SERVICE;
> > >                        LayoutInflater vi;
> > >                        vi =
> > > (LayoutInflater)getContext().getSystemService(inflater);
> > >                        vi.inflate(resource, fuitemView, true);
> > >                }
> > >                else {
> > >                        fuitemView = (LinearLayout) convertView;
> > >                }
>
> > >                TextView productView = (TextView)fuitemView.findViewById
> > > (R.id.product);
> > >                Edi

[android-developers] Re: To add Image in Listview....

2009-09-21 Thread justinh

Might also want to look here:
http://developer.android.com/guide/samples/ApiDemos/src/com/example/android/apis/view/List14.html


On Sep 21, 8:50 am, ragavendran s  wrote:
> how can i add image to my listview dynamically
>
> Thanks in advance..
>
> with Regards,
> Raghav.S
>
> Here is My Code:
>
> .final String[] options1 = new String[] {"My Wedding To Do List","My
> Reminders","My Appointments"
>                 ,"My Vendors","My Gift Tracker","My Wedding Budget
> Calculator","My Vows","My Images","My Invitations","My Honeymoon"};
>
> (new ArrayAdapter(this,
>                android.R.layout.simple_list_item_1,options1));
>         getListView().setTextFilterEnabled(true);
>
>     }
>
>  protected void onListItemClick(ListView parent, View v, int position, long
> id) {
>
>         super.onListItemClick(parent, v, position, id);
>
>         if(position == 0)
>         {
>             Toast.makeText(getBaseContext(),"You
> Clicked",Toast.LENGTH_SHORT).show();
>         }
>         else if(position == 1)
>         {
>             Intent second = new Intent(this,secondpage.class);
>             startActivity(second);
>         }
--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Any way to see what Notifications are on status bar?

2009-09-10 Thread justinh

Thank you for the quick response, Dianne.

NotificationManager has no method that gives insight to global
notifications, so I'm assuming that there currently is no way to do
this right now. Was this intentional?

I was considering this as a backwards way of independently discovering
new messages coming from several different closed applications. Is
there a conscious effort to prevent this?



On Sep 10, 12:29 pm, Dianne Hackborn  wrote:
> Sorry, no.
>
> On Thu, Sep 10, 2009 at 9:20 AM, justinh  wrote:
>
> > Is there any way for an application to see what Notifications are
> > currently on the status bar?
>
> --
> Dianne Hackborn
> Android framework engineer
> hack...@android.com
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support, and so won't reply to such e-mails.  All such
> questions should be posted on public forums, where I and others can see and
> answer them.
--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Any way to see what Notifications are on status bar?

2009-09-10 Thread justinh

Is there any way for an application to see what Notifications are
currently on the status bar?
--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---