Questions tagged as 'android'

2
answers

Change visibility of xml layout with change of device orientation

I need to change the visibility of a layout in xml when the orientation of the device is from portrait to landscape. I want to add 2 columns when performing this action. I used the code android:visibility="gone" to hide, but I can not fin...
asked by 25.11.2017 / 16:32
3
answers

Texts style of EditText - Underline on ZigZag

I have an edittext that when it detects a specific word it highlights it for example: print("Destaque") The word print will be highlighted. But until that's fine, I want every time it detects a variable or a word that is wrong acc...
asked by 09.11.2017 / 22:35
1
answer

How and where to create files on Android with Delphi

In my Delphi application I'm creating a plain text file on Android using the following code: var lst: TStringList; begin lst := TStringList.Create; lst.Clear; lst.Add('a'); lst.Add('b'); lst.Add('c'); lst.Add('d'); // Ess...
asked by 21.11.2017 / 20:21
0
answers

Upload .so files on Xamarin Android

I'm trying to convert a class Java to C# into Xamarin.Android . The class Java is this: private native boolean OpenDeviceCtx(Object obj); public native boolean CloseDevice(); public native boolean GetDiodesStatus(...
asked by 22.11.2017 / 12:57
0
answers

InputStream can not find file

I'm following the example below, trying to read a file txt : public void ler(String caminho) { try { AssetManager assetManager = getResources().getAssets(); InputStream inputStream = assetManager.open(cam...
asked by 25.04.2018 / 15:22
0
answers

glClear emulator: 416 GL err 0x506

When I try to run the app in Android Studio to see the preview of how this error is getting, I've tried using another emulator, even different from Nexus api     
asked by 30.10.2017 / 20:16
0
answers

Pick up time and tell the user

I created this code in Android Studio to inform bus time from here in my city but I wanted the app to tell you what the next bus you could get as soon as it accessed the list view and I have no idea how to do it . Here is the code for the lis...
asked by 30.10.2017 / 00:29
0
answers

Error: Debug variables info not available [closed]

Whenever I try to "debug" with Android Studio this error appears: "debug variables info not available". Code in gradle: apply plugin: 'com.android.application' apply plugin: 'kotlin-android' apply plugin: 'kotlin-android-extensions' andr...
asked by 30.10.2017 / 20:15
1
answer

Is it possible to have native content (layouts, classes) in a hybrid application?

Do I need to run some native Android layouts and classes in my Ionic project is there any plugins?     
asked by 23.10.2017 / 23:36
0
answers

Dialog Progress White Background opaque

I've been trying for a few days to come up with a transparent dialog progression with an opaque white background, just like the images below, but I can only get the opaque black background in the android pattern. I've already seen some apps that...
asked by 25.10.2017 / 14:51