I have put in place the ServerManagedPolicy and am noticing some strange things.
(I have yet to publish the update)
So on a phone that has already purchased my application I have installed the new APK.
It all works good, however I then wanted to attempt testing when out of signal etc.
So I turn airplane mode on, and I instantly get the not licenced messaged.
The other account is not in my test account list.
Is this happening because I have not published the application so the VT,GT & GR results that are coming back are tiny or have I done something wrong ?
I think it may have something to do with this, need to roll back the version number for my testing !
http://groups.google.com/group/android-developers/browse_thread/thread/b83cc702603b0ee3?pli=1
Related
I've updated everything for their new API v4 and also the new Android application (the old one was removed from the Play Store).
Now I'm having a problem with the messages in application running android 5.0, I've to press "Check Server Now" everytime to check for new messages (which are sent to API correctly but gets the status Pending until I press in the app manually).
Someone tolds us to install the previous version of the .apk to solve this issue but I don't know how to get it.
Yes that is correct since May 12 I did need to update my php version it took a while but when I finally get it my phone did not need to download the app again now I see that play on my favor, I did use the app with no problems, I also saw that the sending process was not even aligned with the every minute I configure on my old samsung.
Today sadly 9/2/2018 my cell stop to work better said the app claimed for internet to be able to connect, of course I had WiFi and 4G but looks like something happened a 6 am pacific time.
I was expecting it was a problem with server so I wait patiently until 2 PM, and I asked my son to see the app on his phone Samsung J7 and the app was asking for user and password
I knew that the J7 was not able to configure the asking time to server looking for pending sms's but I thought will be enough for today sending messages every 5 minutes thinking was the default time. But did not work unless we click the manual form in the app or at least having the app on the screen swivel and will update sending sms's as mentioned leaving the status on pending and some times sent.
I did something stupid delete my old version of the app from my old samsung and guess what, I could not download the new version for incompatibility with my phone, I still not sure if my old version will start to work later on the day or tomorrow, but certainly I lost the opportunity to know.
I used https://apkpure.com/es/sms-gateway-api/networked.solutions.sms.gateway.api go get the older version an installed again on my SGH-M919V Samsung Android 4.4.2 not compatible anymore so the option of configure the refresh is not there any more, J7 was not able to do that,
Sep 3 2018 team upload new version since the notification process to send the sms did not work, the new version suppose to ask server every 2 min not working on my J7 Samsung. so at this point I have to send the messages clicking manually to search on the server for sms pending to send.
I need to update multiple applications installed on many Android devices.
Is there anyway to put theirs updated apks on USB flash drive, write some script that updates them and run this script manually after I plug it to the device?
I guess the most basic question would be why? Is this something you are purposely keeping off the app store? If it is not TOS breaking just pay the 25$ for a dev account and you can even just keep it in a beta/alpha status so only people you allow to can download it.
Beyond that Android phones can install APK's from third party sources, host the APK somewhere or get it to the user in some fashion and they can download from the phone and install.
Really the app store is your best bet.
It really depends on your use case and control of the devices that you are updating. Using an OTA update tool is always the fastest option for getting upgrades out. You can use BETA distribution, or TestFairy, or even hockey app, however, if you are not choosing to use these items then you will need to do a little extra leg work. Don't worry I won't patronize you with "why are you doing this", you asked a question so I'll do my best to answer it.
1) Register a service or app who's whole goal is to update others. Maybe you call it updateService.
2) Register a Broadcast Receiver for the updateService that listens for USB connected
3) Read the contents of the USB stick to know what needs to be updated. Possibly a folder system where you check "if folder exists, then update" or you can keep a local sql db of update service ownership that keeps track of last updates or current versions.
4) Once you see what needs installed have your service run ADB Install commands. However, if you have new permissions added then user interaction would be required unless you have root access or system level privelages on your update service.
Here is a package installer thread that will give you some ideas of how to silently update. Install apps silently, with granted INSTALL_PACKAGES permission
So the short answer is, yes you can do it, but the longer answer is revolving around the type of control you have, and if you have root or system level access and how much leg work is it worth to you. If you are ok with User Interactions on install then you won't have to worry as much, but I'm guessing you want silent installations.
Hope that helps.
I'm using FingerprintManager in my app and usually all works fine.
The main issue I have is that customers sometimes complain that the fingerprint operation is sometimes cancelled, what I can see in the logs as error 5 (Fingerprint operation canceled).
Now, I know that other apps not developed good can hold the sensor if they do not release it on inPause or similar, so even lockscreen can't use the sensor.
Is there a way to get around this issue and force the sensor to start working with my app again?
Thanks
I faced the same issue, there is an issue raised around this with Android.
https://code.google.com/p/android/issues/detail?id=208512
Here is how I am handling it in my code.
if (errMsgId != FINGERPRINT_ERROR_CANCELED) {
// As you see below that error code happens when device is locked.
}
Here is a big problem that i simply don't know whats going on...
I have an app that stores Data in data API. The mobile app is aroudn the play store for some time and I decided to make a app for wearable.
My problem is: when the user install the wearable app for the first time (via Google Play), it need to load the data from the DataApi. But it simple returns 0 itens!
DataItemBuffer dataItems = Wearable.DataApi.getDataItems(mGoogleApiClient).await();
Observations:
GoogleApiClient IS CONNECTED
The Wearable receives the onDataChanged from WearableListenerService and this part is working fine.
I've already tested with .setResultCallback but results still the same.
I have two copmuter for developments, one is one my work and another is on my home.
In my tests, I DELETE the emulator and create a new one, to simulate a "new device beeing connected for the first time".
DataAPI says that the data is synchronzed to all devices but is seems not be working like that. How to solves this? Any workaround? SOMEONE HELP =(
It seems i found the solution for this problem. As I mentioned i have two computers for development, so, 2 development keys.
My mobile app was installed using the "A" computer's key and the wearable was using the "B" one. So, to solve this problem, when start developing always remember to re-run the mobile and wearable app from the same computer to your devices.
I have been working with admob for the last few days and can not figure out how to turn off admob testing mode. I tried the settings in the website but i still get test ads and they flat out wont run on my phone. Log cat keeps telling me to add my phone as a testing device. Well I'm through testing, I just want to get things up and running live.
There are a couple of ways you can turn off the testing mode.
If you are creating Ad's using XML, you will have something in your XML's that looks like this: ads:testDevices="TEST_EMULATOR, THE_DEVICE_ID"
If you are creating Ad's using JAVA, you might have something that looks like this:
AdRequest.setTestDevices( new String[] {
AdRequest.TEST_EMULATOR,
"THE_DEVICE_ID", // My Test Device ID
} );
If none of the above work (for whatever reason), you can always log in to your AdMob account, go into "Sites And Apps", hover your mouse pointer over the App in question and click on "Manage Setting". Then, click on the "App Setting" tab and you will see a "Test Mode" option. In that, select the "Disable test mode for all requests" option and hit "Save Settings" at the bottom.
NOTE: I do not personally create my Ads using Java, so you will have to probe that a bit
A SIDE NOTE: I personally always rely on the 3rd option. Saves me the effort of going through literally about 65 odd XML's and removing my test device ID's.