Questions tagged as 'android'

1
answer

Link model information to a ListView correctly

To retrieve an object from my domain from the AdapterView.OnItemLongClickListener event bound to my ListView I added to the ViewHolder of the adapter used by it a reference to my domain object. public static class ViewHolder { priva...
asked by 18.09.2015 / 02:30
1
answer

How to change a ListView item's color based on the "onActivityResult" response?

lv = new ListView(this); adapter = new ArrayAdapter<String>(this, android.R.layout.simple_list_item_1, android.R.id.text1, vetorNomes); v.setAdapter(adapter); I have a list of names, when I click on "...
asked by 17.08.2015 / 17:52
1
answer

How to remove the back button on android

How do I remove this back button from my application?     
asked by 13.10.2015 / 01:27
1
answer

What to use to create web site and android app [closed]

I want to create a website to host manga or link the sleeves of fansub. Let's say a Host Manga and create an android app to view the sleeves without having to enter the site. How can I do this? Develop the site in ASP.NET and then creat...
asked by 04.12.2015 / 11:44
1
answer

Google Cloud Messaging and Synchronization Standardization

I'm building a project that will use Google's GCM, something new in my projects, and I would like to know the following. At the time the user registers who will request the first data from the server will be the client, and after the user is...
asked by 04.08.2015 / 15:47
2
answers

Start service through user action

Good morning! Home I have an application that will receive PushNotification. Home But the user can select whether or not to receive the notifications. I have WakefulBroadcastReceiver and IntentService that check for a message....
asked by 22.07.2015 / 16:56
2
answers

SQLite Android Base Date Problem

So, my problem is this, I tried and researched everything but I could not implement any solution. I tried to update the database with the update and also insert new columns with ALTER TABLE, nothing worked. I am a beginner so please be specific...
asked by 26.07.2015 / 00:47
1
answer

JavaScript Cookies on webview smartphones!

I would like to know if anyone knows how to use or know if they get cookies directly from the smartphone's webview .. I know they are functions of a browser, but I am making an APP that it needs to temporarily or permanently save, until it is...
asked by 22.07.2015 / 23:48
1
answer

Error starting Android Studio

After installing Android Studio, when you open (for the first time) you choose the theme and the following screen appears: IfIdo'Retry'doesnothing,ifIdoCancelthefollowingmessageappears:     
asked by 02.08.2015 / 18:24
1
answer

java.lang.OutOfMemoryError: Failed to allocate error

This error is happening in my application:    java.lang.OutOfMemoryError: Failed to allocate My Image Code: URL url1 = null; try { url1 = new URL("http://www.cm-mgrande.pt" + cabecalho); } catch (MalformedURLException e)...
asked by 09.07.2015 / 17:09