Questions tagged as 'android'

2
answers

What do I need to do to make my app not recognized as "Unknown Source"?

I'd like to know what procedure I should follow in order to be able to post my App on my site and users can install without having to enable the "Unknown Sources" option within the Android Security menu. If anyone could help me I would be ver...
asked by 28.10.2014 / 11:29
1
answer

Is it possible to create mobile applications (.apk and .obb) using electron? [closed]

I wonder if it is possible to generate executables running in the mobile environment (Android iOS, Windows Phone etc) through electron, is this possible?     
asked by 12.12.2018 / 13:23
1
answer

How to make a two-language application by changing the language in the settings menu? Android studio

I would like to do this manually through a click, Portuguese or English Language. and fetch the correct string. public boolean onCreateOptionsMenu (Menu menu) {         getMenuInflater (). inflate (R.menu.menu_main, menu);         return t...
asked by 21.06.2018 / 00:17
2
answers

Andorid - Open Activity only once

How do I make an Activity open only the first time the app is initialized?     
asked by 05.05.2018 / 12:10
1
answer

Firebase database resets data when logo

I was studying FireBase and I created a login method with email and password, but I did not want to use this, so I learned how to use Google Auth, so I decided to associate the google auth account in the database. When I log in with the accou...
asked by 09.05.2018 / 05:01
1
answer

Create a pdf on android

I have a byte [] which is a pdf. I use the following class to try to convert it. @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_teste); byte[...
asked by 21.05.2018 / 21:31
1
answer

How to use tabs with items within a same xml without using fragments?

I have an Activity where I will only need 2 tabs , one that will open right away telling a story using simple textview, and another about team members using gridview. I did not want to use fragments in this case, so I thought about putting...
asked by 30.03.2018 / 05:18
1
answer

References to various EditText

Is it possible to reference multiple elements at once? Ex: An array with all tags and another array with EditText: public class Main extends AppCompatActivity { String[] tags = {"edit1", "edit2", "edit3"}; //Um array de edittex...
asked by 31.03.2018 / 19:23
1
answer

Receiving Json with empty arguments

I created an API to receive database data via json for my android application, but some columns in my table are null, generating an empty json argument that is generating error in my application, I would like to find out the best way to treat th...
asked by 02.04.2018 / 23:10
1
answer

Adjust ConstraintLayout

I'm trying to fit a layout using the new ConstraintLayout , but I'm not getting it, could you give me a help? below is my layout: <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"...
asked by 28.03.2018 / 19:55