Posts by GuiDupas • 315 points
33 posts
-
1
votes1
answer71
viewsA: Compare device phone numbers with a database
I’m using libphonenumber for Android and libPhoneNumber-iOS for Swift and they work very well. To get the area code of a number I use getLengthOfGeographicalAreaCode in this way: String…
-
0
votes1
answer71
viewsQ: Compare device phone numbers with a database
Hello! I am developing an app and need to buy the phone numbers of the device with a list of phones in a database, but the phone numbers can be written in different ways as described in Wikipedia:…
-
0
votes1
answer39
viewsA: Swift does not arrow the text in Uitextfiled after upgraded to Swift 3
I don’t know what happened, but I rebuilt the entire user interface and redid all the connections. Now it worked.
-
0
votes1
answer39
viewsQ: Swift does not arrow the text in Uitextfiled after upgraded to Swift 3
I updated the XCode for Swift 3 last week and he converted all my code to the version of Swift 3. After that I’m trying to set the text inside a UITextField and it doesn’t work. I’ve already redid…
-
2
votes1
answer116
viewsA: Httpsurlconnection BAD REQUEST
SOLVED By sending the Json object it must be passed on to String but should not be coded. Change line postParaEnvio.write(URLEncoder.encode(params.toString(), "UTF-8")); for…
-
2
votes1
answer116
viewsQ: Httpsurlconnection BAD REQUEST
I’m trying to send a request POST to Plivo (Voip server) to send an SMS to my mobile, but I only get BAD REQUEST (Code 400). The mistake I received is "error": "invalid json data sent in raw POST" I…
-
0
votes1
answer19
viewsQ: Android URL - Incomplete path
Hello! I’m trying to create a URL but it seems that when I create the URL she is not created with the full path. Creation of the URL url = new URL("https://api.plivo.com/v1/Account/" + authID +…
-
1
votes1
answer54
viewsA: Android - Custom Arrayadapter problems with content
Solved I reimplemented the method @Override public int getCount() { return paisesFiltrado.size(); }
-
0
votes1
answer54
viewsQ: Android - Custom Arrayadapter problems with content
I’m trying to make a ListView with a ArrayAdapter customized. When I use the ArrayList original all functional well but when I update the ArrayList and use notifyDataSetChanged() to update the…
-
0
votes1
answer100
viewsQ: Swift - Move Uitextfield up when it is inside a Uitableviewcell
Hello! I’m trying to move up a UITextField when he’s inside a UITableViewCell and the keyboard appears, but I don’t have a TableViewController. To UITableView is inside a ViewControllerregular. The…
-
1
votes1
answer39
viewsA: Backendless - Composition of table id
Backendless automatically creates a unique identifier for each inserted object. It is a system column called objectId.
-
1
votes1
answer39
viewsQ: Backendless - Composition of table id
Hello! I created a table on Backendless and I wonder if I can compose the table id with 2 fields as in a SQL table. It is possible?
-
1
votes1
answer66
viewsA: Swift - Indicator Activity not showing
The indicadorDeAtividade.center is incorrect. The property center of a UIView uses the coordinate system of superview, then the activity indicator is off the screen. Replacing…
-
0
votes1
answer66
viewsQ: Swift - Indicator Activity not showing
I have a code to show you activity indicator on Swift, but is not working properly. The activity indicator does not appear, even after all the code within the func de configuração is loaded…
-
0
votes1
answer90
viewsQ: Swift - Activity index on Table view
I’m trying to implement a Activity Indicator about a Table View but it’s not working properly. It appears underneath the Table Cells Here is my code and the image of how the indicator appears.…
-
0
votes1
answer37
viewsA: Swift - Navigationbar problem with Searchcontroller
If you’re not using translucent in the NavigationBar two settings must be made: adjusts scroll view insets and extend edges under opaque bars shall be marked as true in the ViewController. Reply on…
-
0
votes1
answer37
viewsQ: Swift - Navigationbar problem with Searchcontroller
I’m having a problem with the NavigationBar when used together with the SearchController. If the NavigationBar translucent property is set to false NavigationBar exits the screen when the…
-
0
votes1
answer61
viewsA: Qml item in fixed position
Okay, after a long research on this topic I conclude that there is no possible solution, at least so far, that does not involve too much alternative programming to solve the problem in…
-
0
votes1
answer42
viewsA: QML elements on status bar
This behavior was accepted as a bug by Qt. For those who want to follow here is the link. https://bugreports.qt.io/browse/QTBUG-50200…
-
0
votes1
answer34
viewsA: Appcelerator error: Unable to locate cli Executable
Answering my own question: The problem is the folder permission /usr/local/bin. While changing the permissions of this folder so my user can access solved the issue.
-
1
votes1
answer34
viewsQ: Appcelerator error: Unable to locate cli Executable
I’m using OSX El Capitain and I just downloaded Appcelerator Studio. After installing I tried to run, and when I try to log in I get this error message: Unable to locate CLI Executable (screen print…
-
0
votes1
answer61
viewsQ: Qml item in fixed position
Mobile devices move the elements up when the keyboard is called, but there are elements that stay in the same position when the device keyboard is called as in the images below. How can I keep a Qml…
-
0
votes1
answer42
viewsQ: QML elements on status bar
I’m having a problem when the device keyboard is shown. The elements are on top of the device’s status bar as in the images. I’ve tried using the Flickable type but does not work. Every time the…
-
0
votes1
answer97
viewsA: Qml Textfield - numeric keypad
I solved the problem by removing the validators, but I don’t know why it only worked without the validators. Code below: TextField { id: numeroTelefoneTextField anchors.verticalCenter:…
-
1
votes1
answer97
viewsQ: Qml Textfield - numeric keypad
I’m trying to use a TextField who receives only numbers QML. I’m using the property inputMethodHints to make the device display only the number pad. Works well on Android but when I run on iOS it…
-
3
votes1
answer524
viewsA: Qt and Android - Take the path of a gallery image
Answering my own question Here is the code to take the full path of an image from the Android gallery using Qt code equivalent to Java: #include "imagepickerandroid.h"…
-
2
votes1
answer524
viewsQ: Qt and Android - Take the path of a gallery image
I’m developing a code to get an image of Galeria do Android. I’m using QtAndroid to write in Qt a code equivalent to java. I already opened the gallery, selected the image and received the path, but…
-
0
votes1
answer62
viewsA: QML Access the image gallery on iOS and Android
Answering my own question. On iOS just create one FileDialog in the archive QML and define folder: shortcuts.pictures. The FileDialog will call the iOS gallery. On Android is a little more difficult…
-
1
votes1
answer73
views -
2
votes1
answer73
views -
0
votes1
answer62
viewsQ: QML Access the image gallery on iOS and Android
I’m developing an app for iOS and Android and I am facing some difficulties to access the galeria de images of devices with QML. I need to list the image gallery images in one GridView I’ve been…
-
1
votes1
answer28
viewsA: Filedialog problem in QML
To propriedade visible of FileDialog cannot be true as long as the component is not complete, so use Component.onComplete to define the FileDialog as true. So the code must stay this way to work:…
-
1
votes1
answer28
viewsQ: Filedialog problem in QML
I’m trying to use the component FileDialog in the QML I made exactly the same code that is in the Qt documentation on the link http://doc.qt.io/qt-5/qml-qtquick-dialogs-filedialog.html and this code…