Posts by Sergio Clemente • 94 points
15 posts
-
0
votes1
answer35
viewsA: Radius problem on Android
Good! Using app:cornerRadius ? I use this way and it works from api 21 to 28 (tested in the app in question) <Button android:id="@+id/btnEntrar" android:layout_width="280dp"…
-
0
votes1
answer430
viewsA: How to manipulate buttons at runtime on android
Good! I am developing a PDV App where certain buttons are created at runtime. I do everything between Fragment and Adapter. But, the basic layout is a cardview that will be my button, this cardview…
-
0
votes1
answer43
viewsA: Deserialize string json in obejto on android
You get the JSON as string and send it to an object? you can do so: try{ JSONObject jsonResult = new JSONObject( result.toString() ); JSONArray Jarray = jsonResult.getJSONArray( "data" ); if (…
-
0
votes1
answer107
viewsA: Adjust layout to different resolution types
One method is to create layout files for each type of resolution. for example: activity_main-hdpi activity_main-xhdpi or activity_main-sw320 activity_main-sw600 activity_main-sw1024…
androidanswered Sergio Clemente 94 -
-1
votes1
answer528
viewsA: Label position in React Native Picker
Good! I always change only the text color of the items, and it is in the style of Picker. Try to change the centralization there. <Picker style={styles.txtPicker} ... </Picker> txtPicker:{…
-
2
votes1
answer104
viewsA: How can I fix this error? I want only gives <Text>{selectedValueState}</Text>
Good ! As it is a JSON or you give a map or a JSON stringfy in the position you want, or in it integer. Examples: <Text> {JSON.stringify(selectedValueEstado)} </Text> {…
-
0
votes2
answers68
viewsA: Error with navigation buttons
Good! Syntax error in: this.props.onPress.navigation.navigate('Login') Change to : this.props.navigation.navigate('Login') Any doubt : https://reactnavigation.org/docs/en/navigating.html…
-
0
votes1
answer867
viewsA: Error trying to start android studio emulator
Celio, on the physical device, to run with the expo just have in your cell the expo installed. And on the computer the cli expo. The best way to run the expo is by using Yarn (npm replacement), to…
-
0
votes1
answer1151
viewsA: How to generate APK from an Expokit project?
1 - Put Keystore on android/app 2 - Change one of the files : ~/. Gradle/Gradle.properties or android/Gradle.properties by changing to your Keystore configs:…
-
0
votes1
answer1274
viewsA: How to pass text input value as parameter
Good! From what I understand you want to pass the contents of the variable Name to the component Tela2, correct? To pass using React-navigation just do : this.props.navigation.navigate('Tela2' ,…
react-nativeanswered Sergio Clemente 94 -
0
votes1
answer28
viewsA: What is the error.code of an invalid email in the case of a user registration in Firebase?
Good! There are some messages related to user/email validation, the main ones being : auth/invalid-email The value provided for the email user property is invalid. It needs to be a string email…
-
0
votes2
answers195
viewsA: How to make my application in React-Note identify our language?
From what I understand, you want to internationalize your application, correct? You will need a plugin such as the : https://github.com/react-community/react-native-languages npm install --save…
react-nativeanswered Sergio Clemente 94 -
0
votes2
answers60
viewsA: PHP form with attachment sends works on web server, but not on intranet server
Dude, apparently you are not performing the post of variables, or at the first moment of entering this form, was not done the post. Another tip is to rename the variables see remove the white space.…
-
0
votes1
answer4755
viewsA: Error starting project with React Native Expo
Dude, try using the Boilerplate create-React-Native-app. When I use the expo I like to use with Yarn , then it would be: Yarn create React-Native-app designName. And to run the project: Yarn start…
-
0
votes1
answer531
viewsA: What’s wrong with running the React-Native app?
Good! so you can upgrade Gradle to see if it’s compatible with Openjdk 11 But I recommend using oracle jdk 8 : 1 - Remove your open JDK 11 (if based on debian: apt purgue --remove openjdk* 2 -…