Posts by War Lock • 2,277 points
130 posts
-
0
votes2
answers83
viewsQ: Networkonmainthreadexception error
People are giving this exception because by what I researched, from Android 3.0 you can no longer make network call in an Activity, but I need this to be done: Check out my Rssfeed reading class :…
-
0
votes2
answers1255
viewsQ: Add subitem to my listview
I have a custom listview, with image and title, but I can not insert subtitle, see the codes: Base Adapter public class Adapterlistview extends Basedapter { private LayoutInflater mInflater; private…
-
3
votes1
answer1085
viewsQ: How to put items from a Listview into strings.xml
I have a custom listview, with images and text: private void createListView() { //Criamos nossa lista que preenchera o ListView itens = new ArrayList<ItemListView>(); ItemListView item1 = new…
-
1
votes3
answers2382
viewsQ: Eclipse does not generate class R
Lately I am not able to develop anything, because the ADT Eclipse is problematic, I have downloaded several, in different computers and the error persists. When creating any project below 4.0, the…
-
2
votes1
answer819
viewsQ: Error importing project in eclipse
I am trying to import a project I have saved. However, when I import the file style.xml, gives error in this line: <style name="AppBaseTheme" parent="Theme.AppCompat.Light"> With the message:…
-
4
votes3
answers464
viewsQ: adb error: The Connection to adb is down, and a Severe error has occurred
I am developing for Android and am having the following error: The connection to adb is down, and a severe error has occurred. -You must restart adb and Eclipse. Please ensure that adb is correctly…
-
1
votes2
answers794
views -
3
votes2
answers3205
viewsQ: Modeling database of a system of friends
Hello, I am developing an application where there will be an option to add friends,is very simple, it is not social network, but have to add friend. I have the user table. What tables and…
-
15
votes3
answers5859
viewsQ: Develop for multiple platforms using C# and Xamarin Studio
To not have to learn various technologies to develop for the various mobile platforms, wanted to use only C#. However I have some doubts, namely: Xamarin Studio is free? With the same code, the…
-
13
votes1
answer796
viewsQ: How to treat exception in a Webview?
I wanted to know how to treat exceptions in my Webview, because sometimes the site ta off, and the page does not load, and sometimes even crashes the application. I tried a try catch no load, but…
-
1
votes2
answers1640
viewsQ: Add progressbar to my webview
Hello, I want to add a progress bar to my webview. I saw a tutorial and it didn’t work properly, because the progress bar keeps loading eternally. I will post the code of how it was, I wanted to…
-
1
votes2
answers178
viewsA: Problem in my notification system
I found the solution, it was because the xml value la was coming null when the server fell, so I forgot to treat the null value and it notified, but now I treated it.
-
2
votes2
answers178
viewsQ: Problem in my notification system
The point is that I am having problems in my notification system, because it reads an xml, and saves the id with sharedPreferences, so when checking the xml again it compares the saved id with the…
-
0
votes1
answer414
viewsQ: I can’t publish apk
I ran a store 10 years old, I’ve tried it several years ago, and nothing ever comes up: You submitted an APK signed with a certificate that expires soon. Sign your APK with a certificate with a…
-
2
votes0
answers1349
viewsQ: objective c or Swift?
Hello, I’m starting now to program for Ios, I’m already an android java programmer, and wanted to know at the moment which best to develop applications for apple (iphone/tablet) and I saw that apple…
-
0
votes3
answers408
viewsQ: Xcode does not create storyboard
Someone knows why my Xcode when creating a single view Aplication, it does not create the storyboard, I’m starting now and in class the screen iphone app is made there, but in my appears only a main…
-
1
votes1
answer118
viewsQ: Problem at the playstore
I’m having trouble updating my app on google playstore, it points error in the form of "product details" but I did not Mechi anything there, this as always has been published. but always appears…
-
0
votes1
answer274
viewsQ: How to save notification?
I am in a situation that I need to save the notification even if it is open, at the time of reading the notification I check if it has connection, if it has it opens normally, if it does not have it…
-
2
votes1
answer456
viewsQ: Splash screen on Ios
What’s the easiest way to make a splash screen on Ios? I always see different tutorials, and I can’t. I just want to upload an image for 3 seconds before entering my application
-
0
votes2
answers416
viewsQ: Webview on Ios goes blank
Hello I’m starting to program for Ios, and I’m not being able to run a webview, always goes blank, see the code : -(void)viewDidLoad { [super viewDidLoad]; NSString *fullURL =…
-
0
votes2
answers16937
viewsQ: How to change background color
I wanted to change the background color of an activity, I’ve seen some topics here but without success. When selecting in the spinner the activity color will be changed to black, or white. How do I…
-
2
votes2
answers1797
viewsQ: Develop for iOS using C# in Visual Studio
I already develop in Java/Android, and wanted to develop for iOS, but the cost of having a Mac is expensive, I already have an iPhone. I saw that it was possible to develop using C# in Visual Studio…
-
-2
votes1
answer77
viewsQ: Reading XML with bug
People here in the project where I use classes to read an XML works, the problem is that it is not loading the whole message string, what can it be? Ex: the provider has a text , and is only showing…
-
1
votes1
answer235
viewsQ: Alarm with malfunction
Good afternoon, I am having problems regarding the Alarmmanager in my project, I programmed for him to make an action from 10 to 11, and from 16 to 17 with intervals of 1 day. So the problem is that…
-
2
votes2
answers4898
viewsQ: How to update the app version on Google Playstore?
After publishing version 1.0 of my application, and I with a new version of the same project (2.0) and want to update. How do I submit? Do I need the Keystore only? The new apk has to stay next to…
-
0
votes1
answer111
viewsQ: Notification with gray background?
The notifications that Gero appear with gray background which makes it difficult to read the news: NotificationCompat.Builder builder = new NotificationCompat.Builder(this);…
-
3
votes1
answer577
viewsQ: Multiple alarms with Alarmmanager
How to set more than one alarm with the AlarmManager? I recently created a topic about services, and not to engage too much I decided to create another: Look at the code I’m using: Calendar calendar…
-
2
votes2
answers1729
viewsQ: How to make components responsive in various screen sizes
Hello, I was wondering how to make the components responsive to various screen sizes, e.g.: I have an image view but it gets a size on the tablet, and the same size on a small phone, IE on the small…
-
5
votes1
answer3992
viewsQ: How to perform a method in a given time?
I need that at certain programmed hours, a method is executed even if the user is outside the application.So I searched I will have to use services? I didn’t quite understand how to program time, I…
-
6
votes2
answers735
viewsQ: How to call a method when clicking a notification?
I wanted to know how to call a method by clicking on a notification, I don’t want it to call a Activity, but only a method that has within the same class. Example: public void gerarNotificacao(){…