Questions tagged as 'android'

1
answer

Error creating apk android studio after changing package name

Holas, I have this error. After changing the project's package name, I get these errors when trying to create apk     
asked by 07.07.2018 / 22:56
0
answers

How to create a white bitmap from an array of bytes?

I am working on android and I want to create a white bitmap from an array of bytes but I do not know how it is done, for the moment I have tried this byte[] bytes = new byte[10000]; for (int i=0;i<bytes.length;i++){ b[i]= 0 &...
asked by 08.07.2018 / 03:32
1
answer

Is it possible to program Swift in Windows?

I have a question for a while, since in the Mac one can program for IOS and for Android without problems, my question is, is it possible to program Swift (Ios) with the same potential and quality from a PC with Windows? ?. I would like to kno...
asked by 15.07.2018 / 19:57
2
answers

TabLayout lower without AppToolbar

how do they walk? I do not know how to configure my tablayout to the bottom of my screen I am using fragments and my main view is a CoordinatorLayout. The idea of TabLayout is to use it without the Toolbar . This is my XML code...
asked by 10.07.2018 / 01:23
1
answer

How to launch activity by means of a notification, when the device is blocked (Off the screen)?

I have an application which I need to launch an activity of type called (timbre), the problem is when the device is blocked the activity is not launched, in any other situation if it is launched ... My code to perform that function is this: @O...
asked by 04.07.2018 / 06:18
0
answers

show an empty group of expandablelistview

I was having a problem showing a group in the expandable list view to show an empty message when it has no elements. I detail the code to understand it <ExpandableListView android:id="@+id/expandableListView" and...
asked by 03.07.2018 / 16:59
1
answer

progress bar when loading page in an android web view

   Good afternoon, it turns out that I have a webview an android works perfectly for me when I start the request but when loading another page it does not show the progress.   this is the code that works well but only when loading the main page...
asked by 02.07.2018 / 19:17
2
answers

Can the elements of values / color.xml be traversed in android?

I would like to know if it is possible to access the elements declared within values / color with a wildcard, I mean ... If I want to randomly display any of the colors I have declared in my colors.xml, how could I access them without putting...
asked by 01.07.2018 / 09:07
1
answer

Splash image is not displayed when charging App on mobile

I have a code that I took out of a tutorial that supposedly causes the splash image to be displayed while a WebView is loaded, and that when it finishes loading, the splash is hidden: @Override public void onPageFinished(WebView view, String u...
asked by 29.05.2016 / 21:51
2
answers

Create OnItemClickListener within a custom Listwiev with Json

I need to control the click on the custom Listview to perform an operation depending on which one is pressed. I leave the code of the main page. public class Mostrar_Productos extends Anadir_Productos_Principal { SmartImageView smartIma...
asked by 26.05.2016 / 21:53