[android-developers] Activity starting for no apparent reason

2014-06-06 Thread Gary Blakely
I have an app that runs perfectly on some phones (All samsung Galaxys, some LGs) and fails on an HTC ONE X, and an LG G2. The app has a MainActivity, a Flashlight activity, a broadcast receiver, and an intent service. The app can run in two different modes. Mode 1: The user clicks on the

[android-developers] Google Cloud Messaging getting started issue

2014-03-28 Thread Gary Blakely
I have just completed reading all sections of the GCM docs at https://developer.android.com/google/gcm/server.html I also have the GCMSource that I downloaded. But what I don't understand is how do I package my GCM Server? Where does it run? When I go live I would want to run it at my

[android-developers] in-app billing subscription issue

2014-03-06 Thread Gary Blakely
I have subscriptions working in my app but I am getting a random error, once in a while... I'm querying inventory as follows: mHelper.queryInventoryAsync(mGotInventoryListener); The IabResult that comes back to the async listener is Failure with the following message... android iabResult:

[android-developers] AutoCompleteTextView behavior

2014-01-14 Thread Gary Blakely
I'm trying to convert an EditText to a AutoCompleteTextView. There is another EditText on the same page. When I had two EditText controls, the keyboard would say Next while the entry was going on for the fist one and then say done for the second one. After converting the first EditText to an

[android-developers] in-app billing: testing subscriptions

2014-01-05 Thread Gary Blakely
I have my in-app subscription working using a second test account. Now when I check inventory using queryInventoryAsync the subscription shows up as expected. So now I want to do some more testing. I want to cancel the subscription and then when I know that works, I want to test again.

[android-developers] no support for in-app-billing or in-app-purchase

2014-01-05 Thread Gary Blakely
Over on StackOverflow I'm getting no answers to any of my posts with in-app-billing or in-app-purchase tags. I checked other posts and found that nobody else is getting any answers to posts with those two tags either. I'm not getting any answers on this forum either. As far as I know it

[android-developers] test subscription disappeared when testing in-app-purchase

2014-01-05 Thread Gary Blakely
I have implemented Google Play subscriptions in an unpublished version of one of my apps. I purchased a monthly subscription (against the phony credit card ending in 0999) on December 24th and it showed up in my merchant account. Also when my app did a queryInventoryAsync, the subscription

[android-developers] in-app billing issue regarding the TrivialDrive sample app

2013-12-19 Thread Gary Blakely
I have the TrivialDrive app working but I still have a question on consumable purchases . . . The app starts out in the onCreate event doing a queryInventoryAsync call to see what the inventory for this user is and, among other products, it checks to see if there is any gas in the google

[android-developers] Is there any way to contact Google Play Support?

2013-12-13 Thread Gary Blakely
I noticed that Video links are no longer present in the listings on Google Play. I have Video URLs in all of my Play Store listings and I know they used to show before the Play Store changed their format. Actually I don't see video links for any of the apps. How are people supposed to see the

[android-developers] Google Play Questions

2013-12-08 Thread Gary Blakely
I'm trying to find a forum where it is ok to discuss issues regarding Google Play. This forum was recco over at stackoverflow . . . I have a couple of questions. (1) Is it possible for a developer to contact users that have downloaded / purchased their apps? (2) My app remains practically

[android-developers] Re: problem centering the camera in Maps V2

2013-09-27 Thread Gary Blakely
(); map.animateCamera(CameraUpdateFactory.newCameraPosition(cameraPosition)); map.addMarker(new MarkerOptions() .position(new LatLng(Lat, Lon)) .title(Phone Location) ); On Thursday, September 26, 2013 4:50:45 PM UTC-7, Gary Blakely wrote: In my android app I have the following code

[android-developers] problem centering the camera in Maps V2

2013-09-26 Thread Gary Blakely
In my android app I have the following code... CameraUpdate center= CameraUpdateFactory.newLatLng(new LatLng(Lat,Lon)); DebugLog.debugLog(centered camera on + Lat + and + Lon, false); CameraUpdate zoom=CameraUpdateFactory.zoomTo(15); map.moveCamera(center);

[android-developers] WebView Problem showing Google Maps

2013-08-03 Thread Gary Blakely
Consider the following code... LocateBrowser = (WebView)findViewById(R.id.locatebrowser); LocateBrowser.setWebViewClient(new WebViewClient()); LocateBrowser.loadUrl(http://maps.google.com/maps?z=17t=hq=loc:31.8526,-110.9959;); The Google maps page shows in the WebView with a Loading . . .

[android-developers] Re: WebView Problem showing Google Maps

2013-08-03 Thread Gary Blakely
. Did you also enable JavaScript in your WebView? On Saturday, August 3, 2013 4:40:52 PM UTC-5, Gary Blakely wrote: Consider the following code... LocateBrowser = (WebView)findViewById(R.id.locatebrowser); LocateBrowser.setWebViewClient(new WebViewClient()); LocateBrowser.loadUrl( http

[android-developers] Re: send message from class to activity

2013-08-01 Thread Gary Blakely
should be used instead. You can also read up on the more general Observer Pattern and how to implement it. On Monday, July 29, 2013 2:30:12 AM UTC+3, Gary Blakely wrote: I have a class named SMSReceiver that extends BroadcastReceiver. I instantiate an object of this class from the onCreate

[android-developers] send message from class to activity

2013-07-28 Thread Gary Blakely
I have a class named SMSReceiver that extends BroadcastReceiver. I instantiate an object of this class from the onCreate event in mainActivity. SMSReceiver listens for stuff and when it finds what it wants it needs to send a data message back to the Activity and trigger some event in the

[android-developers] how to remotely enable GPS

2013-07-24 Thread Gary Blakely
A while ago I did quite a bit of research to see if it were possible to programatically enable a phone's GPS should it be turned off (without the user knowing about it). The result of this research was that it can't be done. Just today, however, I came across an app named seekDroid that

Re: [android-developers] how to remotely enable GPS

2013-07-24 Thread Gary Blakely
/enable-gps-programatically-like-tasker Kris On Wed, Jul 24, 2013 at 12:33 PM, Gary Blakely gdeanb...@gmail.comjavascript: wrote: A while ago I did quite a bit of research to see if it were possible to programatically enable a phone's GPS should it be turned off (without

[android-developers] Re: Location Listener event when not online

2013-07-09 Thread Gary Blakely
if you are right then does that mean that reliable tracking apps cannot be created on Android? What is a more reliable method to use to follow the phone's movement? Is this something that has been reported as a bug? Gary On Saturday, July 6, 2013 4:41:21 PM UTC-7, Gary Blakely wrote: I

[android-developers] Location Listener event when not online

2013-07-06 Thread Gary Blakely
I write apps for both Windows Phone in C# and Android in Java. I have similar apps, on each marketplace, that both use the GPS to track movement as the phone moves about. When the phone is out moving around, the internet connectivity, of course, goes in and out. Both versions of my app

[android-developers] Version Obsoleted error

2013-06-27 Thread Gary Blakely
On 6/26/2013 I put up version code 10 version Name 2.0 of my app (PhoneStalker) onto google play. Now anyone who runs itgets a dialog box saying Version Obsoleted - A newer version should be available at google play. And they are not allowed to run the program (causing a major problem for

[android-developers] Re: Sharing SharedPreferences from two different processes

2013-05-15 Thread Gary Blakely
); // Context.MODE_MULTI_PROCESS Which also compiles in earlier API levels. The additional flag does no harm in pre-level-11 runtimes. Also notice that OnSharedPreferenceChangeListener will not trigger across processes. On Tuesday, May 14, 2013 1:29:37 AM UTC+2, Gary Blakely wrote: My app originally had an activity

[android-developers] Sharing SharedPreferences from two different processes

2013-05-13 Thread Gary Blakely
My app originally had an activity and a service running in the same process. When I first wrote it I specified sharedPreferences with MODE_PRIVATE. The app has grown, and for reasons beyond the scope of this post, I now need to run my service in a different process. I found I can do this by

[android-developers] Google Play Developer console testing access issue

2013-05-02 Thread Gary Blakely
All my apps use Google Play License testing. On the settings page in the GP Developer console, there is a box where I have my gmail email address. I have a Google account on my android phone with the same address and I am able to test with different license responses very well. It all works

[android-developers] How to accomplish speech recognition

2011-05-16 Thread Gary Blakely
I am new to android development. Can someone tell me how speech recognition is accomplished on Android phones? Is there a web service that will accept a .wav and return a text file? Is there a hardware capability that provides speech recognition? are there tools available to all developers to