Posts by Mateus Carvalho • 1,494 points
82 posts
-
0
votes1
answer226
viewsQ: How to know if the user is already logged in to another device?
I have an Android app that connects to the API of Parse.com, but it could also be another Restful API that I created myself. The question is how to control sessions on different devices? Example, a…
-
2
votes1
answer118
viewsQ: Use include namespace
I am using namespace to use classes in PHP, there is a part where I do use StatusCorrida\StatusCorrida; include('arquivo.php'); The arquivo.php ago $var = new StatusCorrida(); this file makes use of…
-
2
votes2
answers3259
viewsA: Weather to include on the site
I use a PHP code that connects to the API of http://openweathermap.org/, and pass as parameters the city in my case Araci-Bahia, the measure and the language, it returns a JSON after that is only…
-
0
votes2
answers180
viewsQ: Application is closed after a while, even with service
Hello I have a service that runs in the background, this service should not be finished by the Android system, but it happens after a run time. public class VerificaCorridas extends Service {…
androidasked Mateus Carvalho 1,494 -
2
votes1
answer138
viewsQ: Does the GCM deliver the messages in real time?
I have two apps that need to communicate and I don’t want to keep asking the server if they have something new, I wanted something that would come out of one app to the other or from the server to…
androidasked Mateus Carvalho 1,494 -
2
votes2
answers11114
viewsQ: Pass parameters via GET and include more parameters
I have a consultation page, where several parameters can be included in this query. I would like to concatenate more parameters if there are already parameters in that query. In short, take the…
phpasked Mateus Carvalho 1,494 -
3
votes1
answer1258
viewsQ: Frameworks for testing Android applications
There is no doubt that one of the main phases of the software development process is the testing phase. Aiming for this, being beginner in the testing area, even more for Android applications, I…
-
2
votes1
answer709
viewsQ: Force menu display in mobile phone action bar with menu button
On phones type those of Samsung that has the menu button, the menu of the action bar on android is not displayed, I wonder if have to force the display of it? My.xml menu looks like this: <menu…
androidasked Mateus Carvalho 1,494 -
3
votes1
answer1430
viewsQ: Change developer name in different apps
I have a developer account at Googleplay. In all apps appears the same developer name, I would like for each one to appear a different developer name.
-
0
votes0
answers422
viewsQ: Do not let user close application / or perform an action before closing
Personal in my application the user makes an order, this order gets a status again, I want when it closes the application when it is making the order, the status is changed to canceled and sent to…
androidasked Mateus Carvalho 1,494 -
1
votes1
answer326
viewsQ: Put an off service button on notification of an Android App
In my application I have a Service running in the background, which puts a notification in the user’s Status Bar, I would like to add a button to turn off the service, as the Waze map app does.…
-
6
votes1
answer814
viewsQ: Implement message exchange between applications
I have an app which has two versions, user version and service provider version, where in it there is a message exchange, I would like to know what options I have to implement this message exchange,…
androidasked Mateus Carvalho 1,494 -
1
votes1
answer390
viewsA: Carousel with Wordpress posts
The problem lies in that line <?php echo get_the_post_thumbnail($page->ID, array(501,301)); ?> The correct one would be to use the $post variable which is the global variable for the post.…
-
0
votes0
answers24
viewsQ: Slow map by pressing the back button
In an application that the initial fragment is Supportmapfragment, when I change Fragment and end up pressing the back button it returns to the fragment of the map, it is very slow the movement of…
-
-1
votes2
answers722
viewsQ: Return to Fragment without creating it again
I have a fragment that shows a Map, and in the app has a registration screen, the first fragment to be created is the Map, if the user wants to register will start another Fragment, after he…
-
3
votes2
answers60
viewsQ: Innerclass object is created at what point?
I have a class which contains an Innerclass, I wonder if at the moment I give new ClassePrincipal() Innerclass is also created?
-
0
votes2
answers196
viewsA: Doubt with Dialog
Just call the method: dialog.isShowing() http://developer.android.com/reference/android/app/Dialog.html…
-
5
votes1
answer248
viewsQ: Optimize the movement of the marker in Maps
Working with an application where I add one Marker on the map, as : markUser.draggable(true); But I want to optimize this method, to move the marker is necessary to hold for a while, I want with a…
-
2
votes1
answer1307
viewsQ: How to customize the current location marker (GPS) in the Maps api v2 android?
Well people I want to customize the blue dot of the gps in Maps and I want me to be able to move it anywhere on the map, as well as works in the Taxi apps..
-
0
votes1
answer2736
viewsA: How to call a certain category for a wordpress page
From what I’ve noticed you’re using a Page as a template just the $wp_query global(default) of the file will actually bring up the Page Template query and not the query of a category even if you…
-
2
votes2
answers381
viewsQ: Change Wordpress login method
I would like to change the Wordpress login form of Username/Password for Email/Password or also Custom Field/Password.
-
0
votes1
answer745
viewsQ: Problem with accentuation when entering data in android Sqlite
I’m trying to give a insert in a table, but it gives syntax error. I believe it is because of the accent, but even searching can not solve. Log error: 11-19 00:34:52.959: W/Aquery(21157):…
-
3
votes2
answers208
viewsQ: Send geolocation to web service and update to other devices
Well I couldn’t come up with a good title for the question. But I am with the following problem, I am wanting to make an app like Easy Taxi, I will take the customer’s location and send to the…
-
2
votes1
answer772
viewsQ: What is the best way to make an AJAX request in Wordpress?
When I make an AJAX request in Wordpress I do it in two ways, but I would like to know which is the best. The two I know are: 1º) You put your function in functions, for example:…
-
2
votes1
answer489
viewsA: Circular imageview
Friend you can use the Aquery library to add the circular format to an image, among other cool things like image loading, by a loading etc. https://code.google.com/p/android-query/wiki/ImageLoading…
androidanswered Mateus Carvalho 1,494 -
1
votes2
answers147
viewsQ: How to apply responsiveness to texts?
Guys I’m doing the front end of a responsive site, I read some materials on how to build responsive sites etc, I’m using 'EMS' instead of pixels in the font sizes, but they do not change according…
-
0
votes1
answer128
viewsQ: Force user to mark custom taxonomy in Wordpress
Staff would like to know if you have how to force the user to mark at least one custom taxonomy in Wordpress? Ex: In a post I have custom taxonomies, I would like to oblige the user when entering…
wordpressasked Mateus Carvalho 1,494 -
1
votes1
answer80
viewsQ: URL with two taxonomies
I have the following problem.. I have two different taxonomies "Category" standards that are for example: culture, sport, politics. And a custom taxonomy that is "cat_specials" e.g. "infographics,…
-
0
votes1
answer1836
viewsA: call a main Activity method from a Fragment button
Try: ((Nome da Sua Activity)getActivity()).drawGraph();
-
0
votes2
answers87
viewsQ: Domains with different endings, pointing to the same wordpress hosting
People have the following problem I have the following domains for eg: www.meusite.com.br and www.meusite.com, and Wordpress has been configured to use the '.com' domain as the main one. The two…
wordpressasked Mateus Carvalho 1,494 -
7
votes3
answers9603
viewsQ: Create custom page for user registration
I need to create a custom page for registering users in wordpress. In addition to the traditional form, by the URL /wp-login.php?action=register there is some way to create a custom page and call…
wordpressasked Mateus Carvalho 1,494 -
0
votes3
answers3421
viewsA: How to list all posts in a category in Wordpress?
An option, but maybe not so good would be you create in the administration the Tips Page, and then create the page-tips.php file where you could do your Wp_query passing as argument to category_name…
wordpressanswered Mateus Carvalho 1,494