[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

[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 henderson.jus...@gmail.com wrote: After finding the time to peruse the new 2.2 admin code sample, something obvious seems to stand

[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

[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 flyingdutc...@gmail.com wrote: Sorry for this bump... I have no idea where else to ask this question... On Mar 10, 7:53 am, Streets Of Boston

[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

[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

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

2010-03-05 Thread justinh
...@hyperdevbox.com wrote: Is the string returning by this function consistent  when bought from the legitimate google android market ? On Mar 6, 1:23 am, justinh henderson.jus...@gmail.com wrote: I have been seeing a remarkable increase in my apps being pirated. Not only are they 2 versions

[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 { //

[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 phper...@gmail.com wrote: Problem not known == problem On Nov 18, 9:51 am, Pierre Henry Perret phper...@gmail.com wrote: In

[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,

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

2009-12-15 Thread justinh
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 henderson.jus...@gmail.com 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

[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=57b5e3efa7477b50hl=en On Dec 15, 3:16 pm, Warren warrenba...@gmail.com wrote: No one else has gotten help emails from customers about

[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

[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 skyhigh1...@gmail.com

[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

[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

[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 impact...@gmail.com 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

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

2009-12-09 Thread justinh
as I had given inside quotes. Any suggestions?? On Dec 9, 3:02 pm, Asif k asifk1...@gmail.com wrote: Hi all,  Can I have any working example of restartPackage() API. Thanks in advance, Asif On Dec 9, 2:56 pm, Asif k asifk1...@gmail.com wrote: Hi justinh,    Thanks for your

[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

[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 asifk1...@gmail.com wrote: Hi All,   I want to kill my application whose base activity is demo.test.MyActivity.  I am trying

[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 raysle...@gmail.com wrote:

[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 ajeet.invinci...@gmail.com wrote: It looks the following link is

[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 stanl...@gmail.com wrote: I just published my first application to the market and the Just in

[android-developers] Re: Publish App

2009-12-08 Thread justinh
try to purchase the app on my phone? Peace, Scott On Dec 8, 9:59 am, justinh henderson.jus...@gmail.com 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

[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

[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 mmur...@commonsware.com

[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 gzhh...@gmail.com wrote: Hi All, My application want to know the device is to be power off, so that it can send out

[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

[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,

[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 rsgirida...@gmail.com wrote: Hi

[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 

[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 gdon...@gmail.com wrote: On Thu, Dec 3, 2009 at 4:05 PM, Dianne Hackborn hack...@android.com

[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

[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

[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

[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 rbgrn@gmail.com wrote: According to their last email, today is the

[android-developers] Re: ADC2 Results?

2009-11-30 Thread justinh
that's where the last two ADC2 e-mails went. On Nov 30, 8:59 pm, dadical keyes...@gmail.com wrote: You forgot a twitter adc2 search. On Nov 30, 3:44 pm, justinh henderson.jus...@gmail.com wrote: Doing this every 4 minutes today has yielded nothing yet: *refresh

[android-developers] Re: ADC2 Results?

2009-11-30 Thread justinh
, Ravi textlo...@gmail.com wrote: What was the app about ? On Nov 30, 3:36 pm, justinh henderson.jus...@gmail.com 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

[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

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

2009-10-05 Thread justinh
-Mobile phones with myFaves. On Fri, Oct 2, 2009 at 5:11 PM, justinh henderson.jus...@gmail.com 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

[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

[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

[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:

[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?

[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

[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 sraghav.ra...@gmail.com wrote: how can i add image to my listview dynamically Thanks in advance.. with Regards,

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

2009-09-21 Thread justinh
You array adapter has extended ArrayAdapterFuItem: public class FuItemAdapter extends ArrayAdapterFuItem 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 AdapterViewFuItem arg0 instead

[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] Re: Any way to see what Notifications are on status bar?

2009-09-10 Thread justinh
coming from several different closed applications. Is there a conscious effort to prevent this? On Sep 10, 12:29 pm, Dianne Hackborn hack...@android.com wrote: Sorry, no. On Thu, Sep 10, 2009 at 9:20 AM, justinh henderson.jus...@gmail.com wrote: Is there any way for an application to see