Questions tagged as 'android'

1
answer

How to create a model on Android?

About this response this question , I asked the question of the answer author    If he chooses to store in an Array of Objects, this   question had an image what could be done. His response    You can create a template called Pergu...
asked by 11.02.2016 / 01:22
2
answers

Calendar in an Android app

I'm trying to develop in my android app, a functionality from where I can query, sign up, events etc in a calendar. I tried the CalendarView and got to the point of clicking a date and triggering an event. My question is as follows. Would you ha...
asked by 26.08.2014 / 13:44
1
answer

How to get back to an already created activity without re-creating it?

I know that activities on Android are stored as a stack. But I needed to use the onBackPressed() button and go back 2 screens ago without recreating this screen. With the intent it re-creates the screen. Is it possible to go back 2 screen...
asked by 28.09.2015 / 20:50
1
answer

Enable ListView

When I enter a ImageButton in the layout of my ListView , it is no longer possible to click the ListView , that is, the click is disabled. Is there any way to enable ListView when you have a ImageButton inserted...
asked by 09.09.2014 / 21:35
1
answer

Enable / Disable GPS via Delphi

There is some specific code to enable GPS, but I have not found it yet. What I saw online was:    Post on Stack - On / Off GPS However, this code is in JAVA. What I was able to mount in Delphi was: var poke : JIntent; begin...
asked by 22.09.2014 / 13:40
3
answers

Problems with getSupportActionBar () for button (arrow) Home and back arrow ←

I am having trouble giving the action to the home button, I am able to smoothly implement the button according to the code ↓ getSupportActionBar().setDisplayHomeAsUpEnabled(true); getSupportActionBar().setHomeButtonEnabled(true); But I do n...
asked by 15.04.2016 / 18:49
1
answer

error: Could not find: C: \ android-sdk \ platform-tools \ zipalign.exe

When performing the Build on main for smart device android platform, at the end of the process I get the following message: error: Could not find: C: \ android-sdk \ platform-tools \ zipalign.exe I've removed and reinstalled the android SDK,...
asked by 04.07.2014 / 20:56
1
answer

NavDrawer using activities instead of fragments

I'm trying to deploy a NavDrawer in my app but # Part of the code that uses Fragments: private void displayView(int position) { // update the main content by replacing fragments Fragment fragment = null; switch (position)...
asked by 24.01.2015 / 02:48
1
answer

I can not publish apk

I ran a 10-year keystore, I've tested it for several different years, and nothing ever comes up: You submitted a signed APK with a certificate that expires soon. Sign your APK with a certificate with the most expiration date.     
asked by 16.10.2014 / 20:33
1
answer

Problem retrieving item clicked on ListActivity and returning it to previous activity

I have an Activity where I call another Activity using startActivityForResult . In the Activity that was called, I have a list filled by products already registered. In that list, you needed to click on any of the products in the list to r...
asked by 31.10.2014 / 14:47