Posts by Arubu • 455 points
21 posts
-
1
votes1
answer33
viewsQ: Disable Fabric Answer
I have the Crashlytics added in my app. Today out of curiosity I enabled the Answer on the Dashboard of the Fabric.io. I would like to disable it is possible? I searched for several options on the…
-
0
votes0
answers244
viewsQ: Xcode - App installation failed: An Unknown error has occurred
I upgraded the Xcode to version 7.2 (7C68). After the update I can no longer install the project under development for testing on my iPad. This message appears: App installation failed: An Unknown…
-
0
votes0
answers35
viewsQ: Remove cocoapod plugin from Xcode
I installed the Alamofire plugin to perform some tests. Now I would like to remove it to continue my project. I already removed it from the Podfile file and executed the command: pod install I…
-
1
votes1
answer46
viewsQ: Check which Textfield is calling textFieldDidBeginEditing
I have several textFields on my screen and would like to know which one of them started an action. For example: func textFieldDidBeginEditing(textField: UITextField) { if textField // aqui eu não…
-
0
votes0
answers55
viewsQ: Vertical slider - adapt size
I need some sliders placed via storyboard to adapt to the screen size when placed upright. For example I put three sliders on the screen and put your contraints so that they have the same width and…
-
0
votes0
answers283
viewsQ: Is it possible to "inflate" a layout within a View or Framelayout?
It is possible to inflate a layout (I will call A) that has its full xml inside a View or Framelayout that is contained in another layout (xml)? For example, the screen mounted through the layout A…
-
0
votes1
answer1756
viewsQ: Changing color of a Checkbox
It is possible to change the color of a Checkbox via program (Runtime)? I would like to change the white color of the box highlighted in the image.…
-
0
votes2
answers600
viewsA: Mpandroidchart
I’ve been using this library a lot, but I haven’t put subtitles on them. In the example app of the library there is a Pie Chart in which it is possible to add several data, and when adding the…
-
3
votes2
answers194
viewsA: How to open an image inside an Imageview in its original size?
Place this property in your Imageview android:scaleType="center" Information about Scaletype.…
-
0
votes2
answers79
viewsA: Is it possible to convert an array [Any] to Nsdata?
I solved my problem using Nsmutabledata this way: var a0 : Int8 = 3 var a1 : UInt16 = 231 var a2 : Int = 1024 let data = NSMutableData(bytes: &a0, length: 1) data.appendBytes(&a1, length: 2)…
-
2
votes1
answer340
viewsA: How do you leave a Tablelayout on a fixed screen size?
Try adding android:layout_weight="1" to your Scrollview. <ScrollView android:layout_width="match_parent" android:layout_height="match_parent" android:layout_weight="1" > <TableLayout…
-
1
votes1
answer40
viewsA: How do I adjust the views to make them small independent of the device?
If the problem is just the font size, you can use the following to solve your problem. First you must determine on which device your application is running. DisplayMetrics metrics = new…
-
1
votes2
answers79
viewsQ: Is it possible to convert an array [Any] to Nsdata?
I need to generate an Nsdata variable from an array that allows any type of data. I tried the following tickle, which didn’t work: let a0 : Int8 = 3 let a1 : UInt16 = 231 let a2 : Int = 1024 let…
-
-1
votes2
answers287
viewsA: How do I index my app in Google searches?
It has a type of indexing that allows you to open google search content directly within your application. Take a look at this guide which is in Portuguese.…
-
1
votes2
answers971
viewsA: Call Gmail app from my app. And email from my app
You can use a Sharecompat.Intentbuilder if you are using a compatibility library. final Intent intent = ShareCompat.IntentBuilder.from(getActivity()) .setType("message/rfc822") .setSubject("Seu…
-
1
votes1
answer119
viewsQ: What happens when the subscription key expires?
I have read that when the subscription key of the application expires we can no longer update our application on Google Play. The recommendation of Google is that the key has an expiration date of…
-
0
votes2
answers125
viewsA: How to receive two data in a listview but present only one and use the other in the click?
Hello You can create a Customadapter for your Listview using a Basedapter. With it created, you can add each Person entity and at the click of listview recover only the person ID. Here has an…
-
5
votes2
answers4150
viewsA: Changing Screens in Navigation Drawer
Hello, I do it that way: @Override public boolean onNavigationItemSelected(MenuItem menuItem) { switch (menuItem.getItemId()) { case R.id.****: abraSeuFragment; break; case R.id.****:…
-
2
votes1
answer50
viewsA: Remove 'header' from Android Tabhost
In case you didn’t need to use Tabhost, because this manager that includes this bar you want to take. You could use only one Viewpager.…
-
3
votes2
answers382
viewsA: layout problems in Android Studio
Try adding nextFocusDown to each Edittext android:nextFocusDown="@+id/.." For example <EditText android:layout_width="46dp" android:layout_height="wrap_content"…
-
0
votes1
answer70
viewsA: "nullpointerexception" error when switching from Activity
The variable nm is null, so the error. Probably the problem is in the line below: String nm = name.toUpperCase(); Check the name variable and see if there is any value in it before performing…