Posts by Luhhh • 1,351 points
74 posts
-
0
votes1
answer301
viewsQ: Tabbar Android how to create
Someone has example of how to create tabs on Android, Whatsapp style? Follow the example I wish: In the example, I want to create Calls, Chats and Contacts tabs And finally, in the second image, how…
-
1
votes1
answer121
viewsQ: Encryption on Android
I want to save information inside a database on Android. But for the sake of security, I’d like to encrypt this information. Does anyone have any simple code for this? (and that it is possible to…
-
4
votes1
answer117
viewsQ: Date and Time and Weekend
I have a script, which makes automatic scheduling of tasks. Through the line below, I take the current date/time, add another 5 minutes, and the script is scheduled. $timeStamp = strtotime("+5…
-
6
votes2
answers90
viewsQ: Regular expression for number
I have some strings as follows: 99-01[10-10-2010] 59-06[11-12-2016] So far so good. What I need, is via PHP and regular expression, replace any character before that first hiffen (-), for any text,…
-
1
votes1
answer2970
viewsQ: PHP Checks Weekends and Holidays
I need a PHP function that returns me if it is a national holiday or weekend, someone has some example?
-
1
votes1
answer2285
viewsQ: Coordinate - Latitude and Longitude Android
I need when recording a client on Android, pick up the location where the phone was when it was recorded. My question is: How to get latitude and longitude on Android (ex: getLatitude())? How to…
-
4
votes2
answers498
viewsQ: Service versus Broadcastreceiver
What’s the difference, on Android, between Service and Broadcastreceiver? How long a Service can run (running)? How long can a Broadcastreceiver run (running)? I can create notifications via…
-
1
votes3
answers317
viewsQ: How to delete whitespace around a given character?
How can I via preg_replace delete spaces between / For example: Comercial / Vendedor for Comercial/Vendedor Compras / Vendas for Compras/Vendas I wish this because users always type wrong. Here is…
-
3
votes4
answers12776
viewsQ: PHP Check mobile device
I need via PHP, some function that tells me if the user’s device is mobile or not, or at least tell me the resolution of it. Does anyone have any tips?
-
-1
votes1
answer395
viewsQ: preg_replace - url and line break
I have this function below: function filterEmail($text) { return preg_replace('/(.*)[a-z0-9\.\_\-]+@[a-z0-9\.\_\-]+\.[a-z]+(.*)/i','', $text); } It removes lines who have email. I have a textarea,…
-
1
votes2
answers9328
viewsQ: Firebird Tool - Which
What would be the most used software for Firebird database management, if possible, show me free and paid options.
-
1
votes1
answer608
viewsQ: Ion Json Android
I’m working with this library https://github.com/koush/ion and I am unable to manipulate the data return via JSON of the following format…
-
2
votes1
answer715
viewsQ: Volley on Android
Volley on Android, I understand it is a library, doubt is: Library for which? She is native to Android? If yes, how to use? If not where to download?
-
-4
votes3
answers35
viewsQ: Delete Line with email
There is a form in PHP, that companies use to post vacancies. Sometimes they put inside the textarea something like: Send vacancy to [email protected] I would like to VIA PHP, delete all lines (only the…
-
4
votes1
answer476
viewsQ: REST - Http x Json
I did some research and have some questions about REST: Http is Rest? JSON and XML are only the return format of a Rest operation? REST x Web Services: are the same things? SOAP would be the…
-
3
votes1
answer2557
viewsQ: Remove spaces via Update
I have a field called titulo, on the table noticias. Unfortunately, due to forgetting the command trim PHP, has several titles with space at the beginning and end of string. How can via SQL (Mysql)…
-
0
votes0
answers193
viewsQ: Manipulating elements of an iframe
i have a page, for example, index.html and form.html The index.html page has an iframe, which loads the form.html The question is: by the index.html page, I can via JS submit a form, which is within…
-
4
votes1
answer1070
viewsQ: What is Node.js and what does it replace?
The node.js is what after all? He subsistitui who? Javascript? Serverside? Can anyone explain me better? I did not find these questions directly on the Web.…
-
9
votes1
answer4596
viewsQ: What is the difference between Appcompatactivity and Activity?
What is the difference of AppCompatActivity for Activity ? From which version to AppCompatActivity was added to the Android?…
-
-2
votes1
answer720
viewsQ: How to consume Json on Android?
How do I consume a Json on Android?
-
-2
votes1
answer61
viewsQ: Http Doubt x Https Android
I’m creating an Android application. This one calls PHP files via Httppost. I ask: what changes do I call with https instead of http (I start from the point I will use https, already certified on…
-
1
votes2
answers600
views -
0
votes1
answer278
views -
1
votes1
answer74
viewsQ: Check if page comes from Google?
Goodnight How can I use PHP to find out if the user came from Google and which keyword was typed? So when he registers on my site, I can check where he came from and word who found the site. Thank…