Tag: android

63 votes
15 answers
2.6K views
Android Studio Collapse definitions and methods

How can I collapse all definitions and methods within the Android Studio editor? Visual Studio has that optio

avatar
Ali
0 1 0 9
asked 07 September, 2021
60 votes
1 answers
2K views
Nativescript vertical alignment in GridLayout not working

In nativescript I have some problem with StackLayout which is in a GridLayout. I cannot align the Label in Sta

avatar
Scot
0 1 0 9
asked 07 September, 2021
56 votes
2 answers
766 views
"tns doctor" "You need to have the Android SDK Build-tools installed on your system." but everything is installed

I have installed Android Studio and further installed the SDKs and tools via Android Studio. Here they are:

avatar
Scot
0 1 0 9
asked 07 September, 2021
61 votes
1 answers
3K views
Integrate Android Service on NativeScript App

I need to develop an app that should periodically check for available WiFi networks and trigger an action once

avatar
Kristopher
0 1 0 9
asked 07 September, 2021
57 votes
1 answers
1.1K views
Packaging handheld and wearable Android app together from CLI [NativeScript]

I'm trying to build a Phone+Wear app with NativeScript for Android. I have been able to build both separa

avatar
Juliane
0 1 0 9
asked 07 September, 2021
56 votes
3 answers
2.8K views
How can I specify or get the resource id of a nativescript textfield

We are using nativescript with angular for our mobile app. I want to use the Google Play pre-launch report fea

avatar
Wei
0 1 0 9
asked 07 September, 2021
54 votes
4 answers
1.6K views
How to set orientation in nativescript

Hello I would like to know how to set device orientation in nativescript. Specifically I want the application

avatar
Kristopher
0 1 0 9
asked 07 September, 2021
61 votes
3 answers
1.3K views
How to change application name in NativeScript

I'm working with NativeScript from Telerik and I made an app with a debug name ("notiApp") but now I can&

avatar
Patsy
0 1 0 9
asked 07 September, 2021
57 votes
8 answers
2.1K views
Cannot find a compatible Android SDK for compilation when running `tns platform add android`

I am following an official NativeScript tutorial and having a problem configuring my OS X environment for andr

avatar
Scot
0 1 0 9
asked 07 September, 2021
55 votes
3 answers
2K views
NativeScript : custom camera view

I am working on an iOS and Android application with a custom camera view (that's why I won't use cam

avatar
Cortez
0 1 0 9
asked 07 September, 2021
67 votes
8 answers
2.8K views
Nativescript android remove action bar

I am trying to develop android app using Nativescript and try to remove Action Bar (top bar with "testns" titl

avatar
Scot
0 1 0 9
asked 07 September, 2021
60 votes
11 answers
1.3K views
Google Maps v2 - set both my location and zoom in

My question is, does anyone know how to set google maps up, to open up both my location and in a zoomed-in vie

avatar
Kristopher
0 1 0 9
asked 07 September, 2021
59 votes
7 answers
786 views
How to use Android's camera or camera2 API to support old and new API versions without deprecation notes?

The new camera2 API confuses me. I want to develop an app (for Android APIs 10 - 21) which uses the device&apo

avatar
Janella
0 1 0 9
asked 07 September, 2021
60 votes
11 answers
2K views
App not setup: This app is still in development mode

I have followed the instructions here: The developers of this app have not set up this app properly for Facebo

avatar
Nereida
0 1 0 9
asked 07 September, 2021
61 votes
10 answers
517 views
Notification Icon with the new Firebase Cloud Messaging system

Yesterday Google presented at Google I/O the new notification system based on the new Firebase. I tried this n

avatar
Adolfo
0 1 0 9
asked 07 September, 2021
75 votes
10 answers
805 views
Compilation failed to complete:Program type already present

When compiling my project I get the following error message: Program type already present: com.google.androi

avatar
Thurman
0 1 0 9
asked 07 September, 2021
58 votes
21 answers
2.5K views
Didn't find class "com.google.firebase.provider.FirebaseInitProvider"?

I am getting the below exception on app launch. java.lang.RuntimeException: Unable to get provider com.google

avatar
Shantay
0 1 0 9
asked 07 September, 2021
49 votes
21 answers
1.8K views
firestore: PERMISSION_DENIED: Missing or insufficient permissions

I am getting the Error gettingdocuments.com.google.firebase.firestore.FirebaseFirestoreException: PERMI

avatar
Stacia
0 1 0 9
asked 07 September, 2021
61 votes
17 answers
566 views
How can I send a Firebase Cloud Messaging notification without use the Firebase Console?

I'm starting with the new Google service for the notifications, Firebase Cloud Messaging. Thanks to thi

avatar
Emilia
0 1 0 9
asked 07 September, 2021
60 votes
17 answers
1.1K views
FirebaseInstanceIdService is deprecated

Hope all of you aware of this class, used to get notification token whenever firebase notification token got r

avatar
Chaya
0 1 0 9
asked 07 September, 2021