All Questions

3
answers

How to implement dynamic "Up Navigation"?

I'm trying to implement Up Navigation in my Android app but apparently, I did not find any way to make android:parentActivityName , set in the manifest , be manipulated at runtime. What happens in my case is that, for example, I ha...
asked on 16.04.2014 / 21:46
1
answer

chrome.tabs.onUpdated.addListener with delay

I've made an extension for Google Chrome that is working. The goal is to change the color of the image pixels on all web pages. To do this on the pages loaded in the already opened tabs, use the following code (in the background.js file): f...
asked on 22.04.2014 / 20:07
1
answer

Installing SQL Server on the client

I developed a C # application that uses SQL Server Express 2012. In development everything went well with database access because everything is on the same machine (I use localhost ). Now I have to install the application on other compu...
asked on 09.06.2014 / 12:33
1
answer

How to use prepared statements with external variables in MySQLi

I have the following code, in which I want to use prepared statments : prepare.php : <?php include "../conex.php"; // conecta mysqli_set_charset($mysqli,"utf8"); // Transforma em UTF8 pra gravar acentos no servidor // Inser...
asked on 24.09.2015 / 00:46
3
answers

CSS: Problem in Firefox and Chrome using padding

When I set padding to some div it gives a difference of 1px , I'm building a menu, set padding to #menu ul li a and difference from one browser to another is 4 px , is there any hack for this? <body>...
asked on 07.04.2014 / 17:19
1
answer

Software to obfuscate APK

I do not know this question is valid to raise here according to the policies of questions but if not I will remove it, a brief search on the internet found several tools including websites that decompile an apk decompileandroid android-...
asked on 28.07.2014 / 15:06
1
answer

CDI @Inject Named bean in another Named bean

I'm using jsf 2.2. I have 2 @Named beans in @ViewScoped @Named(value = "menuMB") @ViewScoped public class MenuMB implements Serializable{ } @Named(value = "produtoGeralMB") @ViewScoped public class Produt...
asked on 25.02.2014 / 14:09
2
answers

Why does href not work as intended?

I'm using a special theme in my application that has a chat feature. To open this chat the template uses the following href="#offchat-canvas" reference for an element of my view. This chat is an offcanvas that has the message history....
asked on 23.12.2015 / 14:47
2
answers

Different session in browser tabs

I'm having trouble logging on to a system. What happens is the following: I opened the browser, accessed the system URL and logged in. At this point the "X" session is created. I opened a new browser tab, accessed the URL, and logged in wi...
asked on 30.09.2015 / 13:47
1
answer

Define default value for database column in Laravel 4

How can I add a default value for a column of my MySQL table through Laravel 4? In SQL would be: create table tabelaTeste( id int NOT NULL AUTO_INCREMENT, coluna1 varchar(50) DEFAULT valor, PRIMARY KEY(id)); In Laravel I am c...
asked on 23.11.2015 / 11:22