Google Places API AutcompleteSupportFragment not requesting focusPlaces for Android API deprecated alternativeStrange out of memory issue while loading an image to a Bitmap objectFling gesture detection on grid layoutStop EditText from gaining focus at Activity startupHow to use Google Places API with a search button?get Lat Lang from a place_id returned by autocomplete place apiGoogle Places API - Places Details Request 404Google Places API Android: Autocompletion closes too quicklyHow to restrict google-places-autocomplete to only US and US territoriesGoogle places set focus on search bar?Google Places API AutocompleteSupportFragment Null pointer Exception
When two pilots are required for a private aircraft, is it a requirement for the PIC to be ATPL?
Adjacent DEM color matching in QGIS
How can I roleplay a follower-type character when I as a player have a leader-type personality?
In Russian, how do you idiomatically express the idea of the figurative "overnight"?
What exactly are the `size issues' preventing formation of presheaves being a left adjoint to some forgetful functor?
Are the Night's Watch still required?
What was Bran's plan to kill the Night King?
How do LIGO and VIRGO know that a gravitational wave has its origin in a neutron star or a black hole?
What are the advantages of luxury car brands like Acura/Lexus over their sibling non-luxury brands Honda/Toyota?
How do inspiraling black holes get closer?
Has a commercial or military jet bi-plane ever been manufactured?
Why does sound not move through a wall?
How to use dependency injection and avoid temporal coupling?
Where in Bitcoin Core does it do X?
In Stroustrup's example, what does this colon mean in `return 1 : 2`? It's not a label or ternary operator
Why aren't nationalizations in Russia described as socialist?
Word for Food that's Gone 'Bad', but is Still Edible?
My advisor talks about me to his colleague
How can I support myself financially as a 17 year old with a loan?
I need a disease
What does "Managed by Windows" do in the Power options for network connection?
Nominativ or Akkusativ
Floor of Riemann zeta function
Where is the documentation for this ex command?
Google Places API AutcompleteSupportFragment not requesting focus
Places for Android API deprecated alternativeStrange out of memory issue while loading an image to a Bitmap objectFling gesture detection on grid layoutStop EditText from gaining focus at Activity startupHow to use Google Places API with a search button?get Lat Lang from a place_id returned by autocomplete place apiGoogle Places API - Places Details Request 404Google Places API Android: Autocompletion closes too quicklyHow to restrict google-places-autocomplete to only US and US territoriesGoogle places set focus on search bar?Google Places API AutocompleteSupportFragment Null pointer Exception
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
I am using the autocomplete support fragment from the Google Places API and am facing a small issue. When I click on the search button (Shown in 1).
I am able to see image 2. But what I want to see is image [3]. I want the keyboard to be up as soon as I click on the search button but instead, I need to make 2 clicks to get the keyboard.
android google-places-api googleplacesautocomplete
add a comment |
I am using the autocomplete support fragment from the Google Places API and am facing a small issue. When I click on the search button (Shown in 1).
I am able to see image 2. But what I want to see is image [3]. I want the keyboard to be up as soon as I click on the search button but instead, I need to make 2 clicks to get the keyboard.
android google-places-api googleplacesautocomplete
add a comment |
I am using the autocomplete support fragment from the Google Places API and am facing a small issue. When I click on the search button (Shown in 1).
I am able to see image 2. But what I want to see is image [3]. I want the keyboard to be up as soon as I click on the search button but instead, I need to make 2 clicks to get the keyboard.
android google-places-api googleplacesautocomplete
I am using the autocomplete support fragment from the Google Places API and am facing a small issue. When I click on the search button (Shown in 1).
I am able to see image 2. But what I want to see is image [3]. I want the keyboard to be up as soon as I click on the search button but instead, I need to make 2 clicks to get the keyboard.
android google-places-api googleplacesautocomplete
android google-places-api googleplacesautocomplete
asked Mar 22 at 23:48
Neeraj AthalyeNeeraj Athalye
132110
132110
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
From the looks of the pictures, it seems you're using overlay place picker not full display.
Then your code should be like this using an Autocomplete.IntentBuilder to create an intent to launch the autocomplete widget as an intent:
int AUTOCOMPLETE_REQUEST_CODE = 1;
List<Place.Field> fields = Arrays.asList(Place.Field.ID,
Place.Field.NAME);
// Start the autocomplete intent.
Intent intent = new Autocomplete.IntentBuilder(
AutocompleteActivityMode.FULLSCREEN, fields)
.build(this);
startActivityForResult(intent,
AUTOCOMPLETE_REQUEST_CODE);
You can either replace the FULLSCREEN with OVERLAY depending on your choice.
I am using it as a fragment and hence am not using intents. So I don't think your answer is relevant
– Neeraj Athalye
Mar 23 at 0:39
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55309177%2fgoogle-places-api-autcompletesupportfragment-not-requesting-focus%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
From the looks of the pictures, it seems you're using overlay place picker not full display.
Then your code should be like this using an Autocomplete.IntentBuilder to create an intent to launch the autocomplete widget as an intent:
int AUTOCOMPLETE_REQUEST_CODE = 1;
List<Place.Field> fields = Arrays.asList(Place.Field.ID,
Place.Field.NAME);
// Start the autocomplete intent.
Intent intent = new Autocomplete.IntentBuilder(
AutocompleteActivityMode.FULLSCREEN, fields)
.build(this);
startActivityForResult(intent,
AUTOCOMPLETE_REQUEST_CODE);
You can either replace the FULLSCREEN with OVERLAY depending on your choice.
I am using it as a fragment and hence am not using intents. So I don't think your answer is relevant
– Neeraj Athalye
Mar 23 at 0:39
add a comment |
From the looks of the pictures, it seems you're using overlay place picker not full display.
Then your code should be like this using an Autocomplete.IntentBuilder to create an intent to launch the autocomplete widget as an intent:
int AUTOCOMPLETE_REQUEST_CODE = 1;
List<Place.Field> fields = Arrays.asList(Place.Field.ID,
Place.Field.NAME);
// Start the autocomplete intent.
Intent intent = new Autocomplete.IntentBuilder(
AutocompleteActivityMode.FULLSCREEN, fields)
.build(this);
startActivityForResult(intent,
AUTOCOMPLETE_REQUEST_CODE);
You can either replace the FULLSCREEN with OVERLAY depending on your choice.
I am using it as a fragment and hence am not using intents. So I don't think your answer is relevant
– Neeraj Athalye
Mar 23 at 0:39
add a comment |
From the looks of the pictures, it seems you're using overlay place picker not full display.
Then your code should be like this using an Autocomplete.IntentBuilder to create an intent to launch the autocomplete widget as an intent:
int AUTOCOMPLETE_REQUEST_CODE = 1;
List<Place.Field> fields = Arrays.asList(Place.Field.ID,
Place.Field.NAME);
// Start the autocomplete intent.
Intent intent = new Autocomplete.IntentBuilder(
AutocompleteActivityMode.FULLSCREEN, fields)
.build(this);
startActivityForResult(intent,
AUTOCOMPLETE_REQUEST_CODE);
You can either replace the FULLSCREEN with OVERLAY depending on your choice.
From the looks of the pictures, it seems you're using overlay place picker not full display.
Then your code should be like this using an Autocomplete.IntentBuilder to create an intent to launch the autocomplete widget as an intent:
int AUTOCOMPLETE_REQUEST_CODE = 1;
List<Place.Field> fields = Arrays.asList(Place.Field.ID,
Place.Field.NAME);
// Start the autocomplete intent.
Intent intent = new Autocomplete.IntentBuilder(
AutocompleteActivityMode.FULLSCREEN, fields)
.build(this);
startActivityForResult(intent,
AUTOCOMPLETE_REQUEST_CODE);
You can either replace the FULLSCREEN with OVERLAY depending on your choice.
answered Mar 23 at 0:21
JayJay
12
12
I am using it as a fragment and hence am not using intents. So I don't think your answer is relevant
– Neeraj Athalye
Mar 23 at 0:39
add a comment |
I am using it as a fragment and hence am not using intents. So I don't think your answer is relevant
– Neeraj Athalye
Mar 23 at 0:39
I am using it as a fragment and hence am not using intents. So I don't think your answer is relevant
– Neeraj Athalye
Mar 23 at 0:39
I am using it as a fragment and hence am not using intents. So I don't think your answer is relevant
– Neeraj Athalye
Mar 23 at 0:39
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55309177%2fgoogle-places-api-autcompletesupportfragment-not-requesting-focus%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown