Posts by Florida • 2,598 points
80 posts
-
5
votes2
answers180
viewsQ: Why does the statement "char *argv[]" work in the main rg, but not in the body of the code?
Why when I use the declaration char *argv[] in the int main(int argc,char *argv[]) works, but when I try to use it inside the body of the code with char *argv[]; it doesn’t work? The error below is…
-
1
votes1
answer68
viewsA: Error when compiling a zlib Static library for Android
Basically what it took was a code wipe. The reason for the error is still unknown, but with the code below it is possible to compile the zlib according to the parameters passed in ndk-build.…
-
0
votes1
answer68
viewsQ: Error when compiling a zlib Static library for Android
I have the Android.Mk configuration file for the compilation of zlib for Android, but it contains the compilation options, Shared, Static and host, I only need to compile a Static library,…
-
2
votes1
answer66
viewsQ: What are the differences between BUILD_STATIC_LIBRARY and BUILD_SHARED_LIBRARY?
In trying to compile, I came across these two options, in my case only one worked, which led me to the questions: What one could have, that the other doesn’t have? What advantage, and disadvantage…
-
10
votes4
answers6185
viewsQ: What is the difference between match_parent and fill_parent?
When I am editing the xml layout I always get confused when choosing between the match_parent and the fill_parent, and I always end up thinking I’m doing everything wrong because I don’t know what…
-
0
votes1
answer199
viewsQ: Hiding AES decryption key in android app
How can I not only hide AES keys but also encrypt and decrypt using predefined keys/commands in a native library(Encounter.), so that I can compile and include it in my android app. That is, calling…
-
1
votes0
answers66
viewsQ: How to compile a project with Android.Mk through a script.sh?
I have a simple project with native code and am using manual command to compile /workspace/android-ndk-r11c/ndk-build TARGET_PLATFORM=android-14 TARGET_ARCH_ABI=armeabi NDK_PROJECT_PATH=.. In my…
-
1
votes1
answer191
viewsQ: How do I build a script to compile librtmp with openssl?
I’m implementing the project ijkplayer(android mediaplayer) but I’m having a hard time adapting an automated librtmp compilation(rtmpdump). I have the following example below, used to compile…
-
0
votes1
answer65
viewsA: Script with mv Error: cannot move new_name to new_name/original Directory not Empty
There was no command to delete the folder openssl-1.0.2g-armv6 so I was making a mistake. # Clean then Unzip [ -d openssl-${ssl_v} ] && rm -fr openssl-${ssl_v} [ -d openssl-${ssl_v}-${ABI} ]…
-
0
votes1
answer65
viewsQ: Script with mv Error: cannot move new_name to new_name/original Directory not Empty
Hello, I have the following function below, her goal is to check if the folder exists, and rule out, extract the file .tar.gz and rename. ssl_v="1.0.2g" ABI="armv6" # Clean then Unzip [ -d…
-
0
votes2
answers739
viewsQ: How to add +10 whole seconds to date in a loop in PHP
I need the loop be executed 10 times, and that each loop the variable $tempo that has the date, hour, minute and seconds receive +10 seconds, but that in the final result is not displayed in…
-
1
votes1
answer309
viewsQ: Save Select2 tags via post to php
Hello, I would like to know how to send a POST with the tags selected in the select2 (version 4). My code works perfectly, but I cannot send the result of tags selected for the server php, soon none…
-
1
votes1
answer85
views -
0
votes0
answers69
viewsQ: Port 80(HTTP Server) and 1935(Server Media) does not work using VPN
I have a server HTTP but I can’t get it to work with a network VPN publicly activated, without the network VPN can access normally with my IP real, but with the IP network VPN I can’t get any…
-
4
votes1
answer127
viewsQ: Why the compiler alerts me Anonymous new Runnable() can be replaced with lambda
Because that code (Thread) shows this message (on the compiler), and how to make it not show more? Code: public void onCreate(Bundle icicle) { ... mVideoView.setOnPreparedListener(new…
-
2
votes1
answer1754
viewsQ: How to modify or set a value within the class in php
I have a class in the php and need to modify the value of private $key = "valor"; out of class. How can I change the value of $key out of this class? The value I want to put in $key comes from a…
-
4
votes2
answers703
viewsQ: How to save multiple users to an account like Netflix for example
Next, I have an application that supports only 1 account per user, I want to update the database on MySQL so that it supports a system that can be saved for example, child accounts, derived from…
-
0
votes0
answers120
viewsQ: How to compile ffmpeg and rtmpdump for vitamio (vitamio with rtmpdump)
Android lib ffmpeg.so with support for rtmpdump librtmp.so/rtmpdump.so for the vitamio. I saw some examples but they didn’t help me much, I need to compile the rtmpdump(librtmp) with the ffmpeg for…
-
6
votes1
answer989
viewsQ: How to reduce the size of a variable passed via POST by compressing it
My application in Android picks up the String sends to the arquivo.php that processes the data. I soon realized I couldn’t pass the code on base64 to the arquivo.php. I need some function in java…
-
1
votes1
answer268
viewsQ: Convert Jsoup doc to string, apply Regex and return a value in String
I’m using an example I found called Androidjsoup to get the source HTML from a certain page, but I’m not getting just the snippet of code I wish is in a certain <script> In short, the…
-
4
votes2
answers367
viewsQ: Regex in dynamic string X characters, in dynamic content
Next, I have a page that generates a shuffled content with dynamic and non-dynamic strings, I need to take a dynamic value between separators |, it contains random data/strings around, which change…
-
2
votes1
answer4330
viewsQ: Break table cells/td in html
I have a dynamically generated page with php/sql, in it exists a tabela with dynamic data, the tabela is inside a div that limits and organizes the ends and size of the page. But it is not being…
-
4
votes3
answers3897
views -
0
votes1
answer870
viewsQ: Pdo UPDATE does not work
I’m trying to send some values to SQL, but PDO does not work as it should, or I’m forgetting something, I’m new to using PDO. Example of functional code. $conn = new…
-
5
votes2
answers683
viewsQ: Use or not use CSS/JS within PHP?
Using CSS/JS inside PHP, is there a difference if used in an external file for example? Many pages have CSS/JS in and also externally, it would not be easier to put all together than to split one…
-
3
votes3
answers480
views -
1
votes0
answers53
viewsQ: Prevent SQL attacks via $_POST x-Editable
Is there any way to prevent SQL attacks on $_POST, whereas he gets every kind of value, url, name, date and some special characters. I’m using the plugin x-Editable (former Bootstrap Editable).…
-
3
votes2
answers30811
viewsA: Table cell with fixed size
Another more pleasant way, using <col>, and css to manage cellulae table setando table-layout:fixed in table. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col CSS code: table.fixo…
-
5
votes2
answers30811
viewsQ: Table cell with fixed size
How to set the width of spine of two tables so that one does not have a cell bigger than the other? When I try to create, the cell of the second table always gets bigger than the cell of the first…
-
2
votes3
answers1143
viewsQ: Loop output within another loop with SQL and PHP
I have these values in my SQL database, I want an output this way and this file in the browser using PHP Database structure with the values I want on output My attempts, although it does not help…