Questions tagged as 'android'

2
answers

How can I create links or direct access to a file on android?

I want to be able to create links or direct access of files from my folder / data with the directories of the / sdcard. In android I do not know how to create I have had several attempts use the following: TO) try { Process symlink = Runtime...
asked by 30.12.2016 / 18:18
1
answer

Because my code does not work on mobile devices

I made this html that is responsible for controlling some relays in my arduino. On the pc my mac opening it with google chrome works perfectly. But when I compile it with phonegap and run it on Android, the GET requests are not sent. I strike th...
asked by 31.12.2016 / 19:27
2
answers

Is it possible to download and integrate APIs to Android Studio without having internet on the PC that contains the program?

I have Android Studio on a desktop PC with Windows 8.1, but for now I do not have internet on that computer. The equipment I have does not support the emulation of the android emulator, so I wanted to use my Android phone to test my application....
asked by 29.12.2016 / 17:29
2
answers

Android: image path to Bitmap

I have a problem, in a JSON I bring some data and images, what I want to do is to pass those image routes to Bitmaps to be set to GridView, my question is how did I pass the image route to Bitmap. This is my JSON    {      'code': 'OK',      ...
asked by 12.12.2016 / 20:50
2
answers

Android: Place FloatingActionButton

I have a problem when placing two FloatingActionButton, I want to place the Home button next to the one of Images but it is not staying, I hope and you can help me. Thanks <android.support.design.widget.CollapsingToolbarLayout andro...
asked by 13.12.2016 / 21:24
2
answers

ListView.setAdapter "null Object Reference"

I'm implementing a ListView loaded with an External database, and I'm getting the data with a JSON This project had it running smoothly in an Activity, but wanting to implement it in a fragment marks me these errors: This is the Code that...
asked by 14.12.2016 / 03:05
2
answers

snackbar with database,

I want to show a snackbar with data obtained through a database, the problem is that the snackbar is not shown, I will leave the code that I am using: edit: delete the code and this is the current one map.setOnMarkerClickListener(new Google...
asked by 13.12.2016 / 04:08
1
answer

Slow application since I put multiDex on Android

my application takes a long time to start since I put multiDexEnabled true in gradle module as well as compile 'com.android.support:multidex:1.0.0' before it did not take so long that my application started and as I use the...
asked by 05.01.2017 / 00:07
1
answer

Load image and text of each ITEM (ListView) in the same Activity

How can I make the text and the image of my ListView inside that Activity? (Each ITEM its image and text, not in all the same, obviously) My code: listViewPersonas.setOnItemClickListener(new AdapterView.OnItemClickListener() { @Override...
asked by 04.01.2017 / 19:13
1
answer

Error: can not find symbol method setLatestEventInfo

I have the following problem in my code, when I try to compile it marks me the following error:    error: can not find symbol method   setLatestEventInfo (NotifyService, CharSequence, CharSequence, PendingIntent) this is my code: pu...
asked by 05.01.2017 / 02:21