Questions tagged as 'android'

3
answers

Use external class to request permissions on android

I am implementing an external class in my android project to manage permissions: class RequesterPermissions extends ActivityCompat { private final static String TAG = "RequesterPermissions"; private Activity activity; RequesterPe...
asked by 22.11.2016 / 00:12
1
answer

Error Synchronizing the gradle on Android

Well my problem that I have now is that I just imported boostrap in my Android application, in my opinion I have imported it correctly but I got this error, which I have not been able to solve yet. The error I get is the following: No such pr...
asked by 21.11.2016 / 04:02
1
answer

Problem when using the AdapterView.OnItemSelectedListener implementation in Android Studio

I have a problem using the OnItemSelectedListener implementation, everything is fine but when I add the listener to the Spinner I get an error running the application and the program stops, but when commenting on that line everything returns to...
asked by 16.10.2016 / 21:52
2
answers

Doubt with DrawerLayout and NavigationView when trying to open it from an ImageView

In the ActivityMain of my application, I have created a DrawerLayout and a NavigationView which works perfectly and within the menu that is displayed I have put several links to fragment that are changing as you click...
asked by 27.10.2016 / 14:45
1
answer

Google Apps Script Forms Service from Android

I am working on research for the development of a web browser-type mobile app that opens a page, in order to work in the offline mode of Google Forms. I know I need to use this Google Apps Script Forms service to develop this application, b...
asked by 02.10.2016 / 02:32
1
answer

Android App with Retrofit consuming of api does not show the list

Well, the fact is that I just want to show the name of the countries in a list, but I do not know how to get the name only: This is the main class: listView = (ListView) findViewById(R.id.list_view); textView = (TextView) findViewB...
asked by 27.11.2016 / 12:22
1
answer

Error does not run my application in android studio [closed]

I am studying Android basic and when I try to run my application I get this error.    Runnig app error: Gradle project sync failed, please fix your project   and try again Note: I have the java jdk 7 and I'm on windows 8     
asked by 10.10.2016 / 08:35
2
answers

insert records by asynctask in a web service from android

I want to insert records into a database, but iterate through a list. and in each tour insert the record. can the asynctask be run inside a for? any help please.     
asked by 08.09.2016 / 15:10
1
answer

LinkedHashSet JSONArray Android

This is the first time that I have considered using LinkedHashSet in my Android code and I am not sure if it can be used and how to use it. I have a class (Class_1) where it is extracted from a JSONObject, using the loopj library for the conn...
asked by 02.09.2016 / 12:13
1
answer

How to scale images with canvas as background

I try to put a Background in the app, something very simple to learn the use of canvas and bitmaps protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); requestWindowFeature(Win...
asked by 12.08.2016 / 16:02