Questions tagged as 'android'

1
answer

Allow phone number link in app android studio [duplicate]

And I created a webview app, and I'm testing it with local folder and web, and in the app has the html link to link directly from a link with the phone number, because it is a mobile site, such as allow in the app that it works, clicking on th...
asked by 06.08.2016 / 20:57
2
answers

Skip a line in textView

How to skip a line in a textView in Android Studio? Or even with regard to the actual formatting of the text, leave some part in bold for example? Is there something auto-built or would I have to handle .xml?     
asked by 24.09.2016 / 21:35
2
answers

Check smartphone horizontally

How to check in a certain situation if the smartphone is horizontal?     
asked by 05.08.2016 / 18:14
1
answer

Error "Element linear layout must be declared"

I'd like an orientation, please, I'm a beginner in Android Studio. I have searched in many forums and many searches and found no solution for days. When I create a file inside the drawable folder the following error occurs:    Element li...
asked by 03.08.2016 / 15:27
1
answer

How to differentiate buttons from a ListView?

I have ListView with ImageButton s on each line, and I want when I click the button it saves the product with the price, so I add in an activity. How do I get the button information from the clicked button?     
asked by 26.07.2016 / 01:37
1
answer

How to add AsyncTask to this task?

Hello, could anyone help me add an AsyncTask to this task? Here I am connecting to a JSON for information, then it will be added to RecyclerView. RequestQueue queue = Volley.newRequestQueue(this); String shhik = "http://meusite/arquivo...
asked by 05.10.2016 / 21:36
1
answer

Split widget on screen

I want to split two widget within LayoutLinear , both TextView . If I use "orientation=" horizontal " and TextView use the android:layout_weight="1" attribute, the widgets are split on screen at a 50% one! So my question is:...
asked by 30.06.2016 / 04:44
1
answer

How to make a login screen and password

I'm doing my first app and would like to know how I can make the login screen so that the user only accesses a certain area if they have a previously registered email and password.     
asked by 13.07.2016 / 21:10
1
answer

Variable access within inner class

I'm new to programming android / java and then this error came up. public class Activity_2 extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R...
asked by 04.11.2016 / 11:58
1
answer

How to resolve the java.lang.RuntimeException error: android.os.TransactionTooLargeException

I'm having this error when I try to share a bitmap via try in Android 7.0, I already researched a lot and could not solve it, so I saw Google itself has the recommendation to avoid the error link but I could not understand the proposed solutio...
asked by 22.03.2017 / 19:40