I just started using Java, seems pretty straight forward. When I make a gps app with google maps on an android device there's no issue. However, I tried to incorporate an android wear device (Currently running on a simulator). My dismiss overlay pops up after a long click, but the map comes up blank. I'm getting the map and it's not null so I know it's there. I'm thinking I need to use the handheld location listeners but I'n not exactly sure how to point them towards each other. If someone could point me in the right direction I would appreciate it.
-WD
You need to have the google maps api key setup on your android app. You then need to make sure that the package name in the android manifest files are the same. This is the part that hung me up for a while. Once you do that, you should see the map render.
Related
So I been trying to get my first Wear Os watch face published But when I submit I keep it keeps getting rejected. I only lightly changed the Sample Android studio provides nothing much changed but the background and the way the hands move.
I keep getting this.
I really do not know why it keeps getting rejected. I make sure it works for both square and round wear OS.
I keep getting this message
Step 1: Fix the eligibility issue with your app
During review, we detected the following eligibility issue and were unable to accept your app for Wear OS:
The basic functionality of your app does not work as described in App Bundle
Wear OS functionality should work as expected or as described in the app's Google Play Store listing. Please make sure to test your app on a variety of Wear OS devices and configurations.
For example, Hours and Minutes hands are not placed in the center of the watch face on Square Device. as shown/described on the store listing.
I really don't know what to do because I have appealed twice. I asked is it because I am moving the arrows differently. I get the same generic response.
Thank you all for the questions and comments.
I did test the application on sq watches.
And same results I got.
Things started changing when I added a circle into the middle of the screen and that ended up being allowed as center. I have no idea why that would matter I knew it was already centered.
Thanks all.
I have published Alpha Testing Application APK build of Android Auto Support App.
but Google Play have rejected the app of following reason:
Full screen correct DHU model
Your app functions on head unit models which are not authorized to display the app. Make sure your app functions only on the head unit models relevant to your app.
I have tested app on DHU, its working fine and I have followed Android Auto Auto app quality
My question is, Which changes required in mine Auto app will be Android support for Android Auto?
Thanks in advance!!
The error message seems to tell you exactly what the problem is:
"Your app functions on head unit models which are not authorized to display the app". In other words, as well as working on DHU head units, your app works on other head units
"Make sure your app functions only on the head unit models relevant to your app."
In other words, it sounds like your app should check to see what head unit it is running on. If it is not the right one (DHU), it should refuse to run. It should probably also have some targeting in the manifest to make sure it only gets delivered to correct head units.
I'm not sure how the error message could be much clearer.
I'm building a codename one mobile application and i need to fetch a blank google maps on which i can place icons showing my own coordinates (not places i can fetch through the google places api). How can i do that ? Since i don't want to fetch anything other than a blank map, i wonder if i need a webservice for that. I have read that instantiating the MapContainer would show me a blank google map but i am stil getting a osm map (on both the emulator and a real Android 4.4 device). I have already done all the procedures required to get a key and all the steps of the maps demo work fine for me. Now what i need to know is how to be able to get a blank map.
Thank you advance for the answers.
You get OSM on the device as a fallback when initializing the native map failed. Make sure you followed the integration instructions as explained here.
You can debug the issue on an Android device by connecting the device with a cable and launching the DDMS tool from the Android command line SDK. In 90% of the cases this means your SHA1 is different from the one defined in the maps API and this will be printed when you try to open the map.
On the simulator OSM is shown unless you provided the Google maps provider in the constructor.
Hi I am designing an Android App using Android Studio for my class and one of the requirement is that the app should link two users together as "partners" so that they can receive notifications or messages from each other. I already have google sign in available but I don't know how to link two users together. Can someone point me in the right direction to get started? Thank you.
You're looking to create an app that can connect users wirelessly and then do whatever tasks you wish to do. Now I'm not going to give you the code or anything like that, but I'm going to point you in the right direction as you asked.
The Android Developers site is a good place to start: Building Apps with Connectivity
The first two categories are closely related to your type of question, and will give you the stepping stone you need to start developing an app that fits your purpose.
Anytime you have an actual issue with coding it, StackOverflow will have countless solutions I'm sure.
I'm new to Android development. As a class assignment another student and myself are making an android app that will utilize GPS coordinates.
Is there anywhere that would be a good place for me to start with GPS feature on Android, or that has a good example of how to use GPS? I don't want anything deep, literally just how to retrieve and use current GPS coordinates. I'd like to start simple and build up from there.
As mentioned in one of the other answers, Vogella's article here is very good for learning the basics of using GPS on Android.
The Android Dev guides are also particularly good for this area - obviously there are issues with battery drain associated with using location listeners. More in-depth information on what you can do to combat those issues are here, as when you get to grips with how to use GPS, you'll want to use it efficiently!
HTH
Well mostly GPS coordinates are used along with Google Maps. So, as a starter what you can do is just get your own coordinates and put a marker on your location on the map.
This article and this one describes everything about using google maps with android.
Hope this helps.
http://webdesignergeeks.com/mobile/android/geting-current-location-in-android-application-using-gps/
this will be a good start. it explains how to get GPS coordinates as text format. Without dealing with google maps or anything complex.