id
int64
28.5M
73.8M
title
stringlengths
15
150
question_body
stringlengths
69
39.4k
body_text
stringlengths
6
29.2k
tags
stringlengths
7
120
score
int64
-19
384
creation_date
stringlengths
20
24
year
int64
-1
2.02k
month
int64
-1
12
hour
int64
-1
23
dayofweek
int64
-1
6
view_count
int64
3
367k
answer_count
int64
0
34
body_len
int64
6
29.2k
title_len
int64
15
150
tag_count
int64
1
6
code_block_cnt
int64
0
17
has_code
bool
2 classes
is_unanswered
bool
2 classes
is_popular
bool
2 classes
is_viral
bool
2 classes
is_highly_voted
bool
2 classes
is_negative
bool
2 classes
score_bucket
stringclasses
5 values
37,088,975
How to get raw response and request using Retrofit 2.0
<p>I am trying to get the raw response using Retrofit2.0.2. </p> <p>So far I tried to print the response using following line of code but it prints the address and not the exact response body.</p> <p><strong>Log.i("RAW MESSAGE",response.body().toString());</strong></p> <p><code>compile 'com.squareup.retrofit2:retrof...
I am trying to get the raw response using Retrofit2.0.2. So far I tried to print the response using following line of code but it prints the address and not the exact response body. Log.i("RAW MESSAGE",response.body().toString()); compile 'com.squareup.retrofit2:retrofit:2.0.2' [CODE]
java|android|retrofit|retrofit2|okhttp
21
2016-05-07T13:11:33.233Z
2,016
5
13
5
20,182
4
285
54
5
1
true
false
true
true
true
false
high
37,089,016
Android toolbar extra gap
<p>I have seen the answer of this question but none of them work for me. In android I have an extra gap between the margin and toolbar so it is not looking like a actionbar. How to remove that gap?<a href="http://i.stack.imgur.com/P6do7.png" rel="nofollow">activity_main image </a></p> <p>toolbar.xml</p> <pre><code>&...
I have seen the answer of this question but none of them work for me. In android I have an extra gap between the margin and toolbar so it is not looking like a actionbar. How to remove that gap? activity_main image toolbar.xml [CODE] Activity_main.xml [CODE]
android|android-layout|android-xml|android-toolbar
0
2016-05-07T13:15:24.203Z
2,016
5
13
5
742
2
258
25
4
2
true
false
false
false
false
false
zero
37,089,027
Xamarin.Android Is too many Handlers counter productive?
<p>I'm doing a cross platform project on Xamarin. Came up with this question. I have a TabActivity (Holds 4 Framgents (Request, Info, Fav, Settings). Also I have a TcpController, which is nothing more then a class with a bunch of async tasks. If you look at the following method:</p> <pre><code>public async Task Read(...
I'm doing a cross platform project on Xamarin. Came up with this question. I have a TabActivity (Holds 4 Framgents (Request, Info, Fav, Settings). Also I have a TcpController, which is nothing more then a class with a bunch of async tasks. If you look at the following method: [CODE] As you can see the in the if stateme...
c#|android|tcp|xamarin|xamarin.android
1
2016-05-07T13:16:26Z
-1
-1
-1
-1
72
0
714
56
5
1
true
true
false
false
false
false
low
37,089,047
Coverting java request to c#
<p>I am trying to convert this request written java to c#(Xamarin android) , java one seems to be working , but c# one is failing with bad request(400) . Could you please point out if i am translating rightly ?</p> <p>Java code </p> <pre><code>String url = "https://someUrl"; try { URL url1 = new URL(url); U...
I am trying to convert this request written java to c#(Xamarin android) , java one seems to be working , but c# one is failing with bad request(400) . Could you please point out if i am translating rightly ? Java code [CODE] C# code [CODE]
java|c#|xamarin.android|dotnet-httpclient
3
2016-05-07T13:17:54.083Z
2,016
5
13
5
81
0
239
28
4
2
true
true
false
false
false
false
low
37,089,194
sbt android won't run android:package on example project multiproject-same-dependencies because of libraryProject errors
<p>I have checked out the <a href="https://github.com/scala-android/sbt-android" rel="nofollow">sbt-android project source</a> at commit <a href="https://github.com/scala-android/sbt-android/commit/de0b517c8f6bf6bb7088dea4fee2721dd4432e96" rel="nofollow">de0b517</a> and then tried to run the <code>android:package</code...
I have checked out the sbt-android project source at commit de0b517 and then tried to run the android:package task in the example project multiproject-same-dependencies . I get these errors: [CODE] I have been following the layout in this project to try and build my own android project with two submodules and am hittin...
scala|sbt|sbt-android
0
2016-05-07T13:33:15.240Z
2,016
5
13
5
41
1
1,259
120
3
3
true
false
false
false
false
false
zero
37,089,240
How to run a Service always in background (Non-Stop) - Android
<p>I have created a <code>Service</code> in my android application which starts running on <code>BOOT_COMPLETE</code>. I want to run my <code>Service</code> non-stop (run always), and for that I have used <code>while(true)</code> inside <code>onStartCommand()</code> method. So is this fine to use <code>while(true)</cod...
I have created a Service in my android application which starts running on BOOT_COMPLETE . I want to run my Service non-stop (run always), and for that I have used while(true) inside onStartCommand() method. So is this fine to use while(true) or there is any other better way to run a service always in background? This ...
android
0
2016-05-07T13:37:30.313Z
2,016
5
13
5
1,299
1
349
62
1
1
true
false
false
false
false
false
zero
37,089,289
Android SDK MediaPlayer doesn't seek correctly
<p>I have a mp3 file and my application must seek to some selected time of that mp3 file then start playing from there.</p> <p>I convert my string time by this method to int value</p> <pre><code>private static int convert(String time) { int quoteInd = time.indexOf(":"); int pointInd = time.indexOf("."); ...
I have a mp3 file and my application must seek to some selected time of that mp3 file then start playing from there. I convert my string time by this method to int value [CODE] Note: my stings is like this 5:12.201 that means 5 mins and 12 seconds and 201 milliseconds. I getted these times from MP3 Audio Editor applica...
android|audio|mp3|android-mediaplayer|seektotime
5
2016-05-07T13:42:27.707Z
2,016
5
13
5
1,132
2
1,052
46
5
1
true
false
false
false
false
false
low
37,089,516
JSonArray to String for parsing with GSon
<p>I have been give this method for parsing a JSonArray </p> <pre><code>private List&lt;User&gt; parseUserList(String jsonArray) { Gson gson = new Gson(); // Declares the list type Type listType = new TypeToken&lt;List&lt;User&gt;&gt;() {}.getType(); List&lt;User&gt; userList = gson.fromJson(jsonArray,...
I have been give this method for parsing a JSonArray [CODE] I'm getting and an error on the line where i call this method. Is it wrong to call the toString() method there? [CODE] Also, is this a suboptimal way to turn a JSonArray into a list?
java|android|json|gson
1
2016-05-07T14:03:44.493Z
2,016
5
14
5
2,516
1
242
41
4
2
true
false
false
false
false
false
low
37,089,626
How to set unique id in fragment custom view
<p>I'have three class, in typo fragment i use my custom class StyleAdaptation and SizeAndStyleAdaptation (and SizeAdaptation but forget this one) is the same class (SizeAndStyle implement just a spinner for the font size) and they extends a CardView.</p> <p>And in StyleAdaptation i have another custom view, StyleAndCo...
I'have three class, in typo fragment i use my custom class StyleAdaptation and SizeAndStyleAdaptation (and SizeAdaptation but forget this one) is the same class (SizeAndStyle implement just a spinner for the font size) and they extends a CardView. And in StyleAdaptation i have another custom view, StyleAndColor where i...
android|android-layout|android-fragments|android-view
1
2016-05-07T14:17:36.890Z
2,016
5
14
5
281
1
1,226
44
4
6
true
false
false
false
false
false
low
37,089,689
Android Studio Javascript Import
<p><strong>Hey I have this Code:</strong></p> <pre><code>//Set frame rate; var fps = 30; //Set size of canvas bitmap. //(We set it lower than the screen resolution to improve //performance and make it 1.5 x wider than the screen //so objects can disappear off the screen cleanly). var bmpW=1.5*480, bmpH=800; //Init...
Hey I have this Code: [CODE] And my Question now is, how to implement the code that it works in Android studio when I copy this in Android Studio it doesn't work. I have to try to rewrite it but it doesn't work :( So Thanks
javascript|android|implementation
0
2016-05-07T14:24:37.343Z
2,016
5
14
5
128
0
223
32
3
1
true
true
false
false
false
false
zero
37,089,745
Getting result.getDriveFolder().getDriveId().getResourceId() always null
<p>Trying to put all files inside folder but getting result.getDriveFolder().getDriveId().getResourceId() always null. i searched and found some links and i tried to go with the steps mentioned in this link<a href="https://stackoverflow.com/questions/22874657/unpredictable-result-of-driveid-getresourceid-in-google-dri...
Trying to put all files inside folder but getting result.getDriveFolder().getDriveId().getResourceId() always null. i searched and found some links and i tried to go with the steps mentioned in this link enter link description here Here's my code :- [CODE] Can any one suggest me that how to do this, Thanks In advance
android|google-play-services|google-drive-android-api
0
2016-05-07T14:30:10.537Z
2,016
5
14
5
704
1
318
72
3
1
true
false
false
false
false
false
zero
37,089,841
android rendering error Binary XML file line #-1: Error inflating class unknown
<p>i have problem in my android project when i trying to add calendar view or date picker there is Rendering problem message appear</p> <p>Message: " Rendering problems Exception raised during rendering : Binary XML file line #-1: Error inflating class unknown> " </p> <p>and this is the message details </p> <hr> ...
i have problem in my android project when i trying to add calendar view or date picker there is Rendering problem message appear Message: " Rendering problems Exception raised during rendering : Binary XML file line #-1: Error inflating class unknown> " and this is the message details [CODE] and this is my layout xml f...
android
1
2016-05-07T14:40:56.677Z
2,016
5
14
5
7,765
2
423
79
1
2
true
false
true
false
false
false
low
37,089,885
android - Search isn't repopulating results / list after backspacing
<p>I am attempting to take the Searchview function of this: github.com/Wrdlbrnft/Searchable-RecyclerView-Demo (can't post more than 2 links, sorry)</p> <ul> <li><a href="http://i.stack.imgur.com/vqNER.gif" rel="nofollow">.GIF of original</a></li> </ul> <p>I have attempted to add it to a project. However, when I do so...
I am attempting to take the Searchview function of this: github.com/Wrdlbrnft/Searchable-RecyclerView-Demo (can't post more than 2 links, sorry) .GIF of original I have attempted to add it to a project. However, when I do so, my results get filtered, but do not get added back when a user revises or backspaces. .GIF of ...
java|android|android-recyclerview|searchview
0
2016-05-07T14:45:30.257Z
2,016
5
14
5
82
1
532
68
4
2
true
false
false
false
false
false
zero
37,090,070
ServiceTestRule: Can't create handler inside thread that has not called Looper.prepare()
<p>I have created class to test <code>Service</code> which uses <code>ServiceTestRule</code>. I am getting an exception while I try to retrieve a System Service object using <code>context.getSystemService(Context.SYSTEM_SERVICE_NAME)</code>.</p> <p>StackTrace of Exception:</p> <pre><code>java.lang.RuntimeException: C...
I have created class to test Service which uses ServiceTestRule . I am getting an exception while I try to retrieve a System Service object using context.getSystemService(Context.SYSTEM_SERVICE_NAME) . StackTrace of Exception: [CODE] Test class: [CODE] How possibly I can get system service objects (managers)?
java|android|unit-testing|android-service|android-instrumentation
2
2016-05-07T15:03:41.743Z
2,016
5
15
5
541
1
310
88
5
2
true
false
false
false
false
false
low
37,090,135
To run dex in process, the Gradle daemon needs a larger heap. It currently has approximately 910 MB
<p>I am getting this Gradle error every time I run my app. The error is:</p> <blockquote> <p>To run dex in process, the Gradle daemon needs a larger heap. It currently has approximately 910 MB.</p> <p>For faster builds, increase the maximum heap size for the Gradle daemon to more than 2048 MB.</p> <p>To ...
I am getting this Gradle error every time I run my app. The error is: To run dex in process, the Gradle daemon needs a larger heap. It currently has approximately 910 MB. For faster builds, increase the maximum heap size for the Gradle daemon to more than 2048 MB. To do this set org.gradle.jvmargs=-Xmx2048M in the proj...
android|android-studio|gradle-daemon
75
2016-05-07T15:10:28.563Z
2,016
5
15
5
55,833
13
579
99
3
3
true
false
true
true
true
false
high
37,090,166
Default Max and Min Values don't show up unless the range seekbar handlers are moved
<p>Is there any way to make the default max and min values to show up without having to move the range seekbar handlers?</p> <p><a href="https://i.stack.imgur.com/pG95z.gif" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pG95z.gif" alt="enter image description here"></a></p> <p>As you can see, the min ...
Is there any way to make the default max and min values to show up without having to move the range seekbar handlers? As you can see, the min and max values are missing at start. I couldn't find any rangeSeekBar methods that set the min and max values other than setSelectedMaxValue , setSelectedMinValue . Example Code ...
java|android|android-seekbar
0
2016-05-07T15:13:44.587Z
2,016
5
15
5
163
1
326
84
3
1
true
false
false
false
false
false
zero
37,090,225
Showing items on a ListView
<p>I'm trying to show a number of items on a listView but it's not showing on the screen. It's just dummy information but it's still not working. I've tried to see a bunch of tutorials but found nothing.</p> <p>Here is the xml file</p> <pre><code>&lt;android.support.design.widget.CoordinatorLayout xmlns:android="http...
I'm trying to show a number of items on a listView but it's not showing on the screen. It's just dummy information but it's still not working. I've tried to see a bunch of tutorials but found nothing. Here is the xml file [CODE] and here is the java code [CODE] On the screen it shows nothing just a white screen. Thank ...
android|listview
0
2016-05-07T15:19:05.667Z
2,016
5
15
5
61
4
334
27
2
2
true
false
false
false
false
false
zero
37,090,374
Realm database - NullPointer when trying to get maximum id
<p>I am using Realm database on Android, and wrote a function to get Id for autoincrement, since it's not implemented by default afaik. When trying to list objects and count them I get this exception: </p> <pre><code>Caused by: java.lang.NullPointerException: Attempt to invoke interface method 'java.lang.Object java.u...
I am using Realm database on Android, and wrote a function to get Id for autoincrement, since it's not implemented by default afaik. When trying to list objects and count them I get this exception: [CODE] Code: [CODE]
java|android|nullpointerexception|realm
0
2016-05-07T15:34:03.053Z
2,016
5
15
5
741
0
217
58
4
2
true
true
false
false
false
false
zero
37,090,396
Android Webview doesn't load HTML sometimes
<p>I am trying to load local HTML content in my webview. But sometimes it failed to load the content instead shows blank screen. It happens ones in every 5 times of loading.</p> <p><strong>NOTE</strong> My HTML content, I am trying to load is <a href="https://github.com/gabrielecirulli/2048" rel="noreferrer">Official ...
I am trying to load local HTML content in my webview. But sometimes it failed to load the content instead shows blank screen. It happens ones in every 5 times of loading. NOTE My HTML content, I am trying to load is Official 2048 Source code . Below is my Activity source code [CODE] Till now I have tried the below thin...
javascript|android|html|cordova|webview
8
2016-05-07T15:35:31.943Z
2,016
5
15
5
6,723
3
681
43
5
2
true
false
true
false
false
false
medium
37,090,456
Running a Service forever in background - Android
<p>I have created a <code>Service</code> in my android application which starts automatically on <code>BOOT_COMPLETE</code> through <code>BroadcastReceiver</code>. And That is working perfectly fine. But this service performs the task that I have define inside <code>onCreate()</code> method, only once. On the Other han...
I have created a Service in my android application which starts automatically on BOOT_COMPLETE through BroadcastReceiver . And That is working perfectly fine. But this service performs the task that I have define inside onCreate() method, only once. On the Other hand I want to run the Service forever in background. Act...
android
2
2016-05-07T15:41:30.100Z
2,016
5
15
5
14,562
5
786
49
1
3
true
false
true
true
false
false
low
37,090,486
RecyclerView Adapter and one to many data
<p>I have a Database with contacts and phone numbers. Every contact can have multiple phone numbers. After correctly displaying all the contacts from the Contacts table, I wanted to add the phone numbers matching to the contacts in the same view.</p> <p>I thought that I could do this by creating a Coursor to the phone...
I have a Database with contacts and phone numbers. Every contact can have multiple phone numbers. After correctly displaying all the contacts from the Contacts table, I wanted to add the phone numbers matching to the contacts in the same view. I thought that I could do this by creating a Coursor to the phone numbers of...
android
0
2016-05-07T15:44:36.430Z
2,016
5
15
5
245
1
910
41
1
1
true
false
false
false
false
false
zero
37,090,498
Extract source code from APK file not working. ".. ROOT cause" message
<p>I've recently begun programming.</p> <p>I've been following this tutorial to extract a source code from my APK file on my MacBook Pro:</p> <p><a href="https://www.youtube.com/watch?v=-AX4NYE-9V8" rel="nofollow">https://www.youtube.com/watch?v=-AX4NYE-9V8</a></p> <p>All the steps worked well until I tried the comm...
I've recently begun programming. I've been following this tutorial to extract a source code from my APK file on my MacBook Pro: https://www.youtube.com/watch?v=-AX4NYE-9V8 All the steps worked well until I tried the command "sh dex2jar.sh classes.dex". My Terminal gives me this message: [CODE] I do not get a "classes_d...
java|android|apk|dex|dex2jar
4
2016-05-07T15:45:04.330Z
2,016
5
15
5
1,050
0
355
70
5
1
true
true
false
false
false
false
low
37,090,512
Setting default value for spinner with custom adapter at position 0
<p>I have seen lost of posts about this subject here but none of them helped me in my situation. I have array of shop cart items which have: name,nubmer,apartment number. and I have the adapter to receive this array and populate the spinner.</p> <p>This is the adapter:</p> <pre><code>public class SpinnerAdapter exte...
I have seen lost of posts about this subject here but none of them helped me in my situation. I have array of shop cart items which have: name,nubmer,apartment number. and I have the adapter to receive this array and populate the spinner. This is the adapter: [CODE] This is my main: [CODE]
android|android-spinner
0
2016-05-07T15:46:44.267Z
2,016
5
15
5
611
1
290
67
2
2
true
false
false
false
false
false
zero
37,090,571
Socket closed after calling bufferWriter.close(). Is it possible?
<p>I'm trying to communicate from my phone to my computer. I'm using socket! I would like to send a command from the app on my phone and receive a reply from the server.</p> <p>So, I create a buffered writer and a buffered reader.</p> <p>Unfortunatly, when I close the buffered writer, it seem like also the socket is ...
I'm trying to communicate from my phone to my computer. I'm using socket! I would like to send a command from the app on my phone and receive a reply from the server. So, I create a buffered writer and a buffered reader. Unfortunatly, when I close the buffered writer, it seem like also the socket is closed ("java.net.S...
java|android|sockets|bufferedreader|bufferedwriter
0
2016-05-07T15:52:43.237Z
2,016
5
15
5
253
0
479
65
5
1
true
true
false
false
false
false
zero
37,090,582
Add onClick programmatically to imageview
<p>In XML I have <code>android:onClick="deleteRow"</code> which works fine, but now I need to add this method programmatically. Here is code:</p> <p>XML: </p> <pre><code> &lt;ImageView android:layout_width="0dip" android:layout_height="50px" android:layout_weight="1" ...
In XML I have android:onClick="deleteRow" which works fine, but now I need to add this method programmatically. Here is code: XML: [CODE] deleteRow function [CODE] Adding imageView programmatically [CODE]
android|onclick|imageview
-2
2016-05-07T15:53:59.660Z
2,016
5
15
5
1,092
2
204
41
3
3
true
false
false
false
false
true
negative
37,090,612
Returning to the main fragment
<p>when I return to nav_home the application displays an error . What might be happening?</p> <p>The other buttons are working perfectly , only nav_home is not working.</p> <pre><code> public boolean onNavigationItemSelected(MenuItem item) { FragmentManager fm = getFragmentManager(); int id = ...
when I return to nav_home the application displays an error . What might be happening? The other buttons are working perfectly , only nav_home is not working. [CODE] Log [CODE] This XML is called in my onCreate method located in my ActivityMain and works perfectly . The application calls this Fragment but to change Fra...
android|android-fragments
0
2016-05-07T15:56:24.823Z
2,016
5
15
5
207
3
401
30
2
3
true
false
false
false
false
false
zero
37,090,646
SQL Lite android app Login Authentication from database
<p>I have a <strong>Login Activity</strong> with <strong>Name</strong> and <strong>password</strong> fields and a <strong>SignUp Activity</strong>, I want to authenticate the <strong>name and password from database</strong>, I have created a <strong>database</strong> and insert values in database using SignUp activity,...
I have a Login Activity with Name and password fields and a SignUp Activity , I want to authenticate the name and password from database , I have created a database and insert values in database using SignUp activity, which was successful, but for Login Activity when I click the login button my app crashes, I have trie...
android|android-sqlite
1
2016-05-07T15:59:44.560Z
2,016
5
15
5
2,544
1
404
55
2
3
true
false
false
false
false
false
low
37,090,706
Ionic Cordova FileUpload error: Not allowed to load local resource
<p>I am new to Ionic and I am trying to upload an image taken from camera that is stored in Android filesystem:</p> <pre><code>var ft = new FileTransfer(); console.log('Uploading: ' + fileURL); ft.upload(fileURL, encodeURI(&quot;http://192.168.192.62:3000/api/meals/picture&quot;), pictureUploaded, function(error)...
I am new to Ionic and I am trying to upload an image taken from camera that is stored in Android filesystem: [CODE] fileUrl is pointing to an existent image: file:///data/data/com.ionicframework.nutrilifemobile664547/files/Q2AtO1462636767466.jpg In chrome://inspect/#devices console I get the following error and it look...
android|cordova|ionic-framework|mobile
18
2016-05-07T16:04:56.503Z
2,016
5
16
5
8,595
5
492
66
4
1
true
false
true
false
true
false
medium
37,090,707
cordova create a folder inside sdcard - internal or external
<pre><code>function creatingFolder(fileSystem) { var entry = fileSystem.root; entry.getDirectory("productpictures", {create: true, exclusive: false}, win, error); window.newfolder = fileSystem.root.toURL()+"/productpictures"; } function win(dir) { alert("Cre...
[CODE] Ok, so [productpictures] is a folder my app will create and the app users can download files into this [productpictures] folder. My question is how do i allow my app users to access this folder [productpictures] after they close the app. Now, when i create this folder on a real Android device, the path is: file:...
cordova|directory|android-sdcard
0
2016-05-07T16:05:01.073Z
2,016
5
16
5
1,735
1
1,036
60
3
2
true
false
false
false
false
false
zero
37,090,716
fix transparent icons in non-supporting android phones
<p>I have created a transparent icon for my android app but it does not appear consistently in all phones. For example, in most phones the icon appears transparent but in my Xiaomi phone it looks very weird because Xiaomi does not support transparent icons. In Xiaomi, the transparent layer is turned black and since I'm...
I have created a transparent icon for my android app but it does not appear consistently in all phones. For example, in most phones the icon appears transparent but in my Xiaomi phone it looks very weird because Xiaomi does not support transparent icons. In Xiaomi, the transparent layer is turned black and since I'm us...
android|icons|transparent
2
2016-05-07T16:05:46.940Z
2,016
5
16
5
197
0
575
54
3
0
false
true
false
false
false
false
low
37,090,887
Get a reference to a string-array outside Main Activity
<p>I've made a <code>string-array</code> to hold some phrases which should be displayed each time I call a method of a <code>class</code>, the <code>Master</code> class.</p> <p>But when I type <code>Resources res = getResources();</code></p> <p>It marks that <code>getResources()</code> in red saying there's no such m...
I've made a string-array to hold some phrases which should be displayed each time I call a method of a class , the Master class. But when I type Resources res = getResources(); It marks that getResources() in red saying there's no such method. Instead if I type it into the Main Activity everything looks good. How can I...
java|android|arrays
-2
2016-05-07T16:20:25.187Z
2,016
5
16
5
302
1
639
55
3
3
true
false
false
false
false
true
negative
37,091,026
google maps intent zooming to location of device
<p>I am trying to get google maps to zoom to the location of the device being used. </p> <p>google maps is launched from inside my application via an intent the code is below.</p> <pre><code>button_bakery = (Button) findViewById(R.id.Breakfast_bakery); button_bakery.setOnClickListener( new View.OnClic...
I am trying to get google maps to zoom to the location of the device being used. google maps is launched from inside my application via an intent the code is below. [CODE] however this loads the location as the last location set by the device when using this application. Is there a way to set it to zoom to the current ...
android|google-maps|android-intent
1
2016-05-07T16:34:29.737Z
2,016
5
16
5
1,454
1
393
48
3
1
true
false
false
false
false
false
low
37,091,041
Passing Data With Intent to Search Data Database SQLite
<p>i passing data keyword search with intent for get result in other activity. the keyword search use to search data from database sqlite, but i can't display the result with textView, there is no error in logcat. what problem with my code? there is my code to display output</p> <p><strong>OutputSuccess.java</strong><...
i passing data keyword search with intent for get result in other activity. the keyword search use to search data from database sqlite, but i can't display the result with textView, there is no error in logcat. what problem with my code? there is my code to display output OutputSuccess.java [CODE]
android|database|sqlite|android-edittext|textview
0
2016-05-07T16:36:01.160Z
2,016
5
16
5
56
0
298
55
5
1
true
true
false
false
false
false
zero
37,091,101
Android Xamarin xml error
<p>Please help me, I'm having trouble with this error </p> <pre><code>Error APT0000: String types not allowed (at 'entries' with value 'Item 1'). (APT0000) (Main.axml Line 2) </code></pre> <p>when I am trying to build the project. This is the line where the error it is supposed to be : </p> <pre><code>&lt;LinearLayo...
Please help me, I'm having trouble with this error [CODE] when I am trying to build the project. This is the line where the error it is supposed to be : [CODE] I can't find out what the problem is, I haven't edited that line at all. Edit : The whole xml is : [CODE] Edit 2 : The string.xml file [CODE]
android|xml|xamarin
0
2016-05-07T16:41:17.930Z
2,016
5
16
5
187
1
301
25
3
4
true
false
false
false
false
false
zero
37,091,126
How to Change the Font of the Text in Android Studio?
<p>So, I am making a Game called Fall Down 4 and currently I am just using the built in font (the font that it usually comes with). Now, I want the Title to look more attractive and Good and to do that, i actually downloaded different fonts from Google. I Then created a assests folder and in that folder i copied the fo...
So, I am making a Game called Fall Down 4 and currently I am just using the built in font (the font that it usually comes with). Now, I want the Title to look more attractive and Good and to do that, i actually downloaded different fonts from Google. I Then created a assests folder and in that folder i copied the font ...
android|css|google-chrome|android-studio|fonts
0
2016-05-07T16:42:42.743Z
2,016
5
16
5
2,061
1
946
53
5
1
true
false
false
false
false
false
zero
37,091,144
keep webview in landscape
<p>I make horizontal gallery application then I press any image , I go to website , but when press close to the page , website be vertical and main gallery in website doesn't be horizontal . notice:application forced landscape in all activities</p> <p>how can i keep webview in landscape ? or how can I solve it by any ...
I make horizontal gallery application then I press any image , I go to website , but when press close to the page , website be vertical and main gallery in website doesn't be horizontal . notice:application forced landscape in all activities how can i keep webview in landscape ? or how can I solve it by any way ? this ...
android|webview|landscape
2
2016-05-07T16:43:46.510Z
2,016
5
16
5
480
1
447
25
3
3
true
false
false
false
false
false
low
37,091,273
Changing color TabbedPannelHeader in Kivy
<p>I tried many different ways, but nothing solve this. When I change the color of a button, for (0,0,1,1) I have blue. If I use the same list for TabbedPannel, I have dark blue, and for (0, 0, 1, 0) I have white. Is like I have a black background and I always have a mix of it and any other color, but I'm not able to g...
I tried many different ways, but nothing solve this. When I change the color of a button, for (0,0,1,1) I have blue. If I use the same list for TabbedPannel, I have dark blue, and for (0, 0, 1, 0) I have white. Is like I have a black background and I always have a mix of it and any other color, but I'm not able to get ...
android|python|kivy|kivy-language
1
2016-05-07T16:56:48.460Z
2,016
5
16
5
1,010
1
979
41
4
1
true
false
false
false
false
false
low
37,091,332
No such table Sugar ORM
<p>I'm having a lot of problems with Sugar ORM in my Android project.</p> <p>That is the error:</p> <pre><code> 05-07 18:50:42.173 7252-7252/net.elinformaticoenganchado.sergio.crossfighters E/AndroidRuntime: FATAL EXCEPTION: main Process: net.elinformaticoenganchado.sergio.crossfighters, PID: 7252 java.lan...
I'm having a lot of problems with Sugar ORM in my Android project. That is the error: [CODE] And my entity class is that: [CODE] The problem happen when I try to do the next code: [CODE] Please I need help, I disabled the option Instant run like in every posts said but it doesnt work. Settings Thanks for your help. My ...
android|sugarorm
1
2016-05-07T17:03:28.650Z
2,016
5
17
5
2,258
2
344
23
2
4
true
false
false
false
false
false
low
37,091,457
Showing SQLite Database
<p>I'm new to Android development and I'm trying to create a database and inserting element in it through a function <code>putData()</code>.<br> The app is running without any error, but it is not showing any element, just a black Activity.<br> I don't know what is going wrong, please Help</p> <p><strong>DBHelper clas...
I'm new to Android development and I'm trying to create a database and inserting element in it through a function putData() . The app is running without any error, but it is not showing any element, just a black Activity. I don't know what is going wrong, please Help DBHelper class [CODE] MinActivity Class [CODE] XML f...
android|sqlite|android-sqlite
-2
2016-05-07T17:16:33.647Z
2,016
5
17
5
56
1
330
23
3
3
true
false
false
false
false
true
negative
37,091,468
Android Firebase - Can't receive proper JSON from Firebase snapshot
<p>My android app connects to Firebase and pulls "Alert Objects" that are sent there by my server.</p> <p>When I export the data from Firebase, I get a beautifully formated JSON representation of the data.</p> <p>Problem: When I pull the data to my android device using a DataSnapshot, the data has '=' (equals signs) ...
My android app connects to Firebase and pulls "Alert Objects" that are sent there by my server. When I export the data from Firebase, I get a beautifully formated JSON representation of the data. Problem: When I pull the data to my android device using a DataSnapshot, the data has '=' (equals signs) instead of ':' (sem...
java|android|json|encoding|firebase
6
2016-05-07T17:17:29.767Z
2,016
5
17
5
14,811
4
1,262
67
5
0
false
false
true
true
false
false
medium
37,091,490
Simple increment counter doesn't work in android app
<p>sounds stupid but a simple increment counter doesn't work in my android app.</p> <p>I have two activities in the app and one counter in each, which is incremented each time when onCreate method is called. When I'm switching between the activities the first one works well, but the other one just doesn't count.</p> ...
sounds stupid but a simple increment counter doesn't work in my android app. I have two activities in the app and one counter in each, which is incremented each time when onCreate method is called. When I'm switching between the activities the first one works well, but the other one just doesn't count. I'm using the sa...
android
0
2016-05-07T17:19:02.610Z
2,016
5
17
5
190
1
729
52
1
3
true
false
false
false
false
false
zero
37,091,544
Android API 21 MediaPlayer With RTSP Does not Work Due to Assertion Error
<p>Android decoding of RTSP streams does not “just work”. We are finding considerable differences in behavior between different stream sources and decoders. The main cause that we know of at this time is in a native Android library called libstagefright, which seems to be very sensitive to the SDP content returned fr...
Android decoding of RTSP streams does not “just work”. We are finding considerable differences in behavior between different stream sources and decoders. The main cause that we know of at this time is in a native Android library called libstagefright, which seems to be very sensitive to the SDP content returned from th...
android|video|streaming|media-player|rtsp
0
2016-05-07T17:24:18.170Z
2,016
5
17
5
337
0
1,099
73
5
2
true
true
false
false
false
false
zero
37,091,553
How to show loading animation while my activity does others functions?
<p>I have an activity which calls functions which have Thread.Sleep calls and Handlers which do further processing of data i receive from a Bluetooth connection.</p> <p>I want to show a loading progress bar animation while the handlers are being called. It may take from few minutes to several hours to completly proces...
I have an activity which calls functions which have Thread.Sleep calls and Handlers which do further processing of data i receive from a Bluetooth connection. I want to show a loading progress bar animation while the handlers are being called. It may take from few minutes to several hours to completly process the data ...
android|progress-bar|intentservice|android-intentservice
2
2016-05-07T17:25:06.340Z
2,016
5
17
5
184
0
1,369
70
4
1
true
true
false
false
false
false
low
37,091,578
Which resolution i have to use for .wmv video file?
<p>I had a <code>.wmv</code> file and the size of <code>480 * 800</code>, I reproduce this file in <code>VideoView</code> using this method :</p> <pre><code>private void playVideo(){ videoView.setKeepScreenOn(true); // Here i set a path to video file String videoSource = "android.resource://com.example.android.c...
I had a .wmv file and the size of 480 * 800 , I reproduce this file in VideoView using this method : [CODE] Once the file has been changed (added duration) he stayed in the same format .wmv but the size was change in 808 * 1440 and now when I play video, nothing show, but the video is going... i can see time increase.....
java|android
0
2016-05-07T17:26:56.630Z
2,016
5
17
5
26
0
556
51
2
1
true
true
false
false
false
false
zero
37,091,675
Android studio Experimental Plugin 0.6.0 NDK Debugging
<p>I recently updated to android studio 2.1 AI-143.2790544 on android studio. In previous versions NDK debugging functioned correctly and allowed me to step through code. </p> <p>After updating it seems whenever the debugger stops on a breakpoint the debugger stops on the JDWP thread and the stack frame that is presen...
I recently updated to android studio 2.1 AI-143.2790544 on android studio. In previous versions NDK debugging functioned correctly and allowed me to step through code. After updating it seems whenever the debugger stops on a breakpoint the debugger stops on the JDWP thread and the stack frame that is presented is: [COD...
android|debugging|android-studio|android-ndk|ide
2
2016-05-07T17:36:03.147Z
2,016
5
17
5
322
1
763
54
5
5
true
false
false
false
false
false
low
37,091,730
How to wait for async task to finish its work then execute the next statements without freezing the UI
<pre><code> RetrieveBusStoppage retrieveBusStoppage = new RetrieveBusStoppage(); retrieveBusStoppage.executeOnExecutor(retrieveBusStoppage.THREAD_POOL_EXECUTOR,classes[i], Integer.toString(i)); //retrieveBusStoppage.execute(classes[i], Integer.toString(i)); // Retrieving stoppages of bus one by ...
[CODE] I want retrieveBusStoppage to complete fully then execute the for loop because in retrieveBusStoppage I am retrieving the value of busstoppage from database. But in this it is executing the for loop without completing the retrieveBusStoppage.execute call. That's why the value of bustoppage is showing Zero, since...
android
0
2016-05-07T17:40:53.363Z
2,016
5
17
5
74
0
364
102
1
1
true
true
false
false
false
false
zero
37,091,758
Phone.NUMBER returns empty for all contacts
<p>I'm trying to get a phone number from the Contacts with API 23 permissions, but the phone number always returns an empty string. Permission to get contacts has been verified, and the contact appears valid but the phone field doesn't seem to exist for any contact. "cr.query..." doesn't appear to bring anything back b...
I'm trying to get a phone number from the Contacts with API 23 permissions, but the phone number always returns an empty string. Permission to get contacts has been verified, and the contact appears valid but the phone field doesn't seem to exist for any contact. "cr.query..." doesn't appear to bring anything back beca...
android|contacts
1
2016-05-07T17:43:23.630Z
2,016
5
17
5
843
1
610
43
2
2
true
false
false
false
false
false
low
37,091,779
Customize the Speech Recognition Dialog
<p>I want to know if there is any way to change and customize the style of the Speech Recognition dialog in my app?</p> <p>i.e.: change google logo or texts.<br> <a href="https://i.stack.imgur.com/qAFtd.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qAFtd.png" alt="enter image description here"></a...
I want to know if there is any way to change and customize the style of the Speech Recognition dialog in my app? i.e.: change google logo or texts. i use this code, is it complete? [CODE] this is LogCat: [CODE]
android|audio|dialog|speech-recognition|speech
7
2016-05-07T17:45:43.537Z
2,016
5
17
5
5,259
3
210
39
5
2
true
false
true
false
false
false
medium
37,091,854
ImageView rotation by matrix changes position
<p>In android i have a nested imageView i have to rotate the outer image without changing the initial position .But if i use matrix to rotae the image it changes the position.How can i do that?</p> <p>Xml</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;RelativeLayout xmlns:android="http://schemas.an...
In android i have a nested imageView i have to rotate the outer image without changing the initial position .But if i use matrix to rotae the image it changes the position.How can i do that? Xml [CODE] code [CODE] }
android|android-imageview|image-rotation
0
2016-05-07T17:52:35.553Z
2,016
5
17
5
197
1
215
45
3
2
true
false
false
false
false
false
zero
37,091,873
unfortunately package installer has stopped android
<p>I want to create a live wallpaper in android. My app works fine on emulator but on my phone, I am not able to install it.</p> <p>Here is my AndroidManifest.xml:</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; </code></pre> <p></p> <pre><code>&lt;application android:allowBackup="true" android:...
I want to create a live wallpaper in android. My app works fine on emulator but on my phone, I am not able to install it. Here is my AndroidManifest.xml: [CODE] [CODE] wallpaper.xml : [CODE] Whenever I try to run my code on emulator everything works fine but when I copy "app-debug" to my phone and try to install it doe...
android|xml|android-studio
2
2016-05-07T17:54:37.907Z
2,016
5
17
5
2,389
2
616
51
3
3
true
false
false
false
false
false
low
37,091,908
TalkBack reads layouts via an include in an unexpected order (when swiping)
<p>When swiping, there seems to be a TalkBack speaking order issue with layouts added via an include.</p> <p>I have the following layout (note the last include element):</p> <pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:lay...
When swiping, there seems to be a TalkBack speaking order issue with layouts added via an include. I have the following layout (note the last include element): [CODE] Here is the XML for the include: [CODE] Update 5/10/2016 - View Hierarchy dump below [CODE] Update 5/10/2016 - OS, Device and TalkBack version: Device: N...
android|accessibility|talkback
1
2016-05-07T17:58:18.153Z
2,016
5
17
5
1,062
0
1,249
75
3
3
true
true
false
false
false
false
low
37,091,962
Swipe up cancels a refresh mode in the SwipeRefreshLayout
<p>I use <code>SwipeRefershLayout</code> with <code>AppBarLayout</code> that can collapse. But if user scrolls up layout and after scrolls down then <code>SwipeRefreshLayout</code> enables a refresh mode although layout was not scrolled at the top. I fix this bug so:</p> <pre><code>appBar.addOnOffsetChangedListener(ne...
I use SwipeRefershLayout with AppBarLayout that can collapse. But if user scrolls up layout and after scrolls down then SwipeRefreshLayout enables a refresh mode although layout was not scrolled at the top. I fix this bug so: [CODE] And it works perfect! But I noticed now that user can hide SwipeProgressBar when he mak...
android|swiperefreshlayout
1
2016-05-07T18:04:07.580Z
2,016
5
18
5
91
0
447
57
2
2
true
true
false
false
false
false
low
37,091,991
Trying to make an extending class for a pre-existing class in Android
<p>So I am using MPAndroidChart LineCharts which means in XML I define it this way:</p> <pre><code>&lt;com.github.mikephil.charting.charts.LineChart android:id="@+id/line_chart" android:layout_width="match_parent" android:layout_height="match_parent"/&gt; </code></pre> <p>However I am trying to use this c...
So I am using MPAndroidChart LineCharts which means in XML I define it this way: [CODE] However I am trying to use this chart using various default settings and so on, so I made a custom class to try to extend it: [CODE] And so elsewhere in my code when I want to use it, I have: [CODE] And it all seems to compile fine,...
java|android|xml|android-activity|mpandroidchart
2
2016-05-07T18:06:56.227Z
2,016
5
18
5
150
1
418
69
5
3
true
false
false
false
false
false
low
37,092,058
Android magnify view and draw as bitmap
<p>I've a camera and from this I take a photo and save a bitmap. Overlayed to this, there's a view pager, with different layouts. When I take a photo, I want to save the current overlayed layout too.</p> <p>The problem is that photo and layout are both saved, the layout fix correctly in the bitmap area, but it's small...
I've a camera and from this I take a photo and save a bitmap. Overlayed to this, there's a view pager, with different layouts. When I take a photo, I want to save the current overlayed layout too. The problem is that photo and layout are both saved, the layout fix correctly in the bitmap area, but it's smaller in respe...
android|android-canvas|android-view|android-bitmap
0
2016-05-07T18:15:27.550Z
2,016
5
18
5
167
2
554
39
4
1
true
false
false
false
false
false
zero
37,092,079
Re-add Cyanogenmod's CustomTile after it was manually removed
<p>I'm toying with a very simple app that just adds a quick settings tile using <a href="https://github.com/CyanogenMod/cm_platform_sdk/wiki/Custom-Tiles" rel="nofollow">Cyanogenmod CustomTile API</a>.</p> <p>Everything works (my app's code closely resembles the <a href="https://github.com/CyanogenMod/cm_platform_sdk/...
I'm toying with a very simple app that just adds a quick settings tile using Cyanogenmod CustomTile API . Everything works (my app's code closely resembles the CM SDK sample app ), except for a single scenario. The problem is, once I've manually removed the tile I can't find any way to add it back. I've tapped "edit ti...
android|cyanogenmod
2
2016-05-07T18:16:59.883Z
2,016
5
18
5
78
0
1,206
61
2
0
false
true
false
false
false
false
low
37,092,153
Parcelable class and ArrayLists in Android
<p>In my app I read data from a database which I created. Everything works fine apart from rotation. When I rotate the phone I don't get any exceptions,but the webservice is run again and I do not want that. After some research I found out that my model class should implement the Parcelable interface. Here is what I di...
In my app I read data from a database which I created. Everything works fine apart from rotation. When I rotate the phone I don't get any exceptions,but the webservice is run again and I do not want that. After some research I found out that my model class should implement the Parcelable interface. Here is what I did a...
android|rotation
1
2016-05-07T18:24:49.510Z
2,016
5
18
5
246
2
804
42
2
5
true
false
false
false
false
false
low
37,092,223
Highcharts - Data won't get loaded into chart on Android WebView
<p>The configuration has been pre-tested on Fiddler and it's all working, but somehow it stopped working when i implemented it in Android's webview.</p> <p>In my web interface class, I have a method which returns the data, and so I called the method in the HTML file in the script section as follow</p> <pre><code>var ...
The configuration has been pre-tested on Fiddler and it's all working, but somehow it stopped working when i implemented it in Android's webview. In my web interface class, I have a method which returns the data, and so I called the method in the HTML file in the script section as follow [CODE] The debug console shows ...
javascript|android|jquery|highcharts|webview
0
2016-05-07T18:30:32.833Z
2,016
5
18
5
162
1
1,586
64
5
2
true
false
false
false
false
false
zero
37,092,283
ListView with Volley NetworkImageView flickering
<p>I have a pretty simple listview with a NetworkImageView</p> <pre><code>public View getView(int position, View convertView, ViewGroup parent) { if (convertView == null) { LayoutInflater inflater = (LayoutInflater) getContext() .getSystemService(Context.LAYOUT_INFLA...
I have a pretty simple listview with a NetworkImageView [CODE] The issue is that the scroll is not as smooth as I'd like it to be, it's a bit flickering. If I comment out the "setImageUrl" line, the scroll is super smooth, so the issue is with the Volley NetworkImageView image loading. Is there anything I can do to mak...
android|performance|listview|android-volley|networkimageview
1
2016-05-07T18:36:31.143Z
2,016
5
18
5
408
2
392
48
5
1
true
false
false
false
false
false
low
37,092,306
Getting error on creating Google Login
<p>I am trying to implement the following google login and I am getting the following error: </p> <pre><code>public class login extends AppCompatActivity implements GoogleApiClient.OnConnectionFailedListener, View.OnClickListener { private LoginButton loginButton; private CallbackManager call...
I am trying to implement the following google login and I am getting the following error: [CODE] The error is: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.view.View.setOnClickListener(android.view.View$OnClickListener)' on a null object reference What am I doing wrong here ...
java|android
0
2016-05-07T18:38:48.877Z
2,016
5
18
5
596
1
321
38
2
1
true
false
false
false
false
false
zero
37,092,329
Create custom adapter for TwoWayView
<p>I needed to make a horizontal listview, after searching I found a solution which is TwoWayView.</p> <p>The "textview" <a href="https://guides.codepath.com/android/implementing-a-horizontal-listview-guide" rel="nofollow">example</a> on the internet works find for me but I need it an ImageView item not TextView so I ...
I needed to make a horizontal listview, after searching I found a solution which is TwoWayView. The "textview" example on the internet works find for me but I need it an ImageView item not TextView so I created an adapter: [CODE] And I call it in the class like this: [CODE] This is my simple_list_item xml file [CODE] A...
android|custom-adapter
0
2016-05-07T18:41:04.137Z
2,016
5
18
5
137
2
804
36
2
4
true
false
false
false
false
false
zero
37,092,350
for loop seems like won't stop breaking when looping dataSnapshot children
<pre><code>{ "Users" : { "750bf295-1a99-4b0f-a072-cae87d25f53e" : { "email" : "aa@aa.aa", "hotel" : { "Island" : { "author" : "Jole", "comfort" : 5.0, "food" : 2.0, "latit" : 65.05243844618913, "longit" : -19.647914953529835, ...
[CODE] First of all, this is my JSON. Now, the problem is, when i'm registering new user, I'd like to allow registration only if both username and email were never used before (or if both already exist). I did it using MVP pattern, so when I click register button, it checks username/emai/password fields for proper leng...
android|for-loop|firebase|firebase-realtime-database
0
2016-05-07T18:42:42.980Z
2,016
5
18
5
817
1
1,219
74
4
5
true
false
false
false
false
false
zero
37,092,395
Android app and google analytics
<p>I have an android application that it worked with android webview and I thought to add google analytics to it. </p> <p>I followed the official instructions from <a href="https://developers.google.com/analytics/devguides/collection/android/v4/" rel="nofollow">here</a>. The application continues working properly but ...
I have an android application that it worked with android webview and I thought to add google analytics to it. I followed the official instructions from here . The application continues working properly but I don't take any response in google analytics website. Below I show to you my code to see if I made some mistakes...
android|google-analytics
2
2016-05-07T18:46:42.397Z
2,016
5
18
5
1,304
2
692
32
2
8
true
false
false
false
false
false
low
37,092,440
How to add shadow to CircularNetworkImageView
<p>How to add border to CircularNetworkImageView and control width and color of border? Dont notice icons around image)</p> <p>Like this: <a href="https://i.stack.imgur.com/DChyY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/DChyY.png" alt="enter image description here"></a></p> <pre><code>publi...
How to add border to CircularNetworkImageView and control width and color of border? Dont notice icons around image) Like this: [CODE]
java|android|android-volley
0
2016-05-07T18:50:05.957Z
2,016
5
18
5
95
1
134
45
3
1
true
false
false
false
false
false
zero
37,092,444
Android SQliteOpenHelper delete statement issue
<p>Trying to refresh a catalog items table .. just a basic database operation I'm stuck with a strange behaviour </p> <pre><code>String purgeItems ="DELETE FROM CatalogItems"; String count = "SELECT * FROM CatalogItems"; SQLiteDatabase db = mDb.getWritableDatabase(); // mDb extends SQLiteOpenHelper db.beginTransact...
Trying to refresh a catalog items table .. just a basic database operation I'm stuck with a strange behaviour [CODE] returns 642 : the original table rows count ... ! perhaps I'm tired ^^. it does work fine with other tables .. the SQLiteOpenHelper (mDb) creation table code [CODE]
android|sql|sqlite
1
2016-05-07T18:50:22.243Z
2,016
5
18
5
54
1
281
47
3
2
true
false
false
false
false
false
low
37,092,501
how to show open/close values/text in androidplot candlestick chart
<p>I'm using candlestick chart of androidplot library.meeting problems to show open and close values/labels alongwith the sticks.Here is the solution i found.</p> <pre><code> final LineAndPointFormatter lpf = new LineAndPointFormatter(null, null, null, null); PointLabelFormatter pointLabelFormatter=new PointLabelF...
I'm using candlestick chart of androidplot library.meeting problems to show open and close values/labels alongwith the sticks.Here is the solution i found. [CODE]
android|androidplot|candlestick-chart
3
2016-05-07T18:56:22.943Z
2,016
5
18
5
288
0
162
67
3
1
true
true
false
false
false
false
low
37,092,517
Model Class for Zomato Android API
<p>Hello I am trying to develop an app for which I need a list of restaurants in a particular city. I am trying to use the Zomato API for the same. From the documentation at <a href="https://developers.zomato.com/documentation" rel="nofollow">https://developers.zomato.com/documentation</a>, I felt the /geocode method t...
Hello I am trying to develop an app for which I need a list of restaurants in a particular city. I am trying to use the Zomato API for the same. From the documentation at https://developers.zomato.com/documentation , I felt the /geocode method to be the closest fit for what I needed. A sample response for this looks li...
android|json|model|zomato-api|gson
1
2016-05-07T18:57:31.103Z
2,016
5
18
5
1,747
1
1,089
34
5
4
true
false
false
false
false
false
low
37,092,542
Swipe Tabs with tabhost inside fragment
<p>I've a NavigationDrawer that shows fragments in MainActivity when a menu item is clicked.</p> <p>One of these fragments is called MainFragment that uses TabHost to show tabs. The tabs are another two fragments (FragmentOne and FragmentTwo).</p> <p>It's all working but I can't code the swipe functionality and effec...
I've a NavigationDrawer that shows fragments in MainActivity when a menu item is clicked. One of these fragments is called MainFragment that uses TabHost to show tabs. The tabs are another two fragments (FragmentOne and FragmentTwo). It's all working but I can't code the swipe functionality and effects like WhatsApp ta...
android|android-fragments|navigation-drawer|swipe
0
2016-05-07T19:00:08.923Z
2,016
5
19
5
2,461
1
574
39
4
2
true
false
false
false
false
false
zero
37,092,651
Using Azure Redis cache in Xamarin Android apps
<p>I want to use Azure Redis cache in my Android app and I need to add <a href="https://github.com/StackExchange/StackExchange.Redis" rel="nofollow">StackExchange.Redis</a> nuget package first, according to the instructions here: <a href="https://azure.microsoft.com/en-us/documentation/articles/cache-dotnet-how-to-use-...
I want to use Azure Redis cache in my Android app and I need to add StackExchange.Redis nuget package first, according to the instructions here: https://azure.microsoft.com/en-us/documentation/articles/cache-dotnet-how-to-use-azure-redis-cache However, when I do this, I get the following error message in package manage...
.net|azure|redis|xamarin.android|stackexchange.redis
0
2016-05-07T19:11:03.373Z
2,016
5
19
5
974
2
1,050
47
5
0
false
false
false
false
false
false
zero
37,092,830
How to specific background normal color for android:attr/borderlessButtonStyle button
<p>I was wondering, how can I specific background normal color a <code>?android:attr/borderlessButtonStyle</code> button?</p> <p>Currently, I have the following button.</p> <pre><code>&lt;Button android:id="@+id/buy_button" android:layout_width="wrap_content" android:layout_height="wrap_content" andro...
I was wondering, how can I specific background normal color a ?android:attr/borderlessButtonStyle button? Currently, I have the following button. [CODE] It looks like Normal Pressed (Has ripple effect) What I'm expecting is During normal, it has orange background. During pressed, it has colorControlHighlight (Usually g...
android
2
2016-05-07T19:31:05.403Z
2,016
5
19
5
1,336
1
939
85
1
2
true
false
false
false
false
false
low
37,092,957
Converting Dates between Calendars in Xamarin.Android
<p>I have the following snippet of Code for Convert Gregorian Date to Hijri Date.</p> <pre><code>public static string GregoriantoHijri(DateTime gregorianDate) { CultureInfo arCI = new CultureInfo("ar-SA"); var hijriCalendar = new HijriCalendar(); hijriCalendar.HijriAdjustment = App_Code.StoreRetrieveSettin...
I have the following snippet of Code for Convert Gregorian Date to Hijri Date. [CODE] This code runs perfectly for my Windows Mobile App which is also posted on Store. However the same code is giving me issues in Xamarin.Android The Error: System.ArgumentOutOfRangeException: Not a valid calendar for the given culture. ...
c#|android|xamarin|xamarin.android
1
2016-05-07T19:44:16.427Z
2,016
5
19
5
871
1
495
53
4
1
true
false
false
false
false
false
low
37,092,965
Android calling IntentService class from a Service Class
<p>Can we call IntentService class from a running Service class . </p> <pre><code>Intent myintentservice = new Intent(this, MyIntentService.class); startService(myintentservice); </code></pre> <p>I using above lines of code in service class to start IntentService class. But then I get following error:-</p> <pre><cod...
Can we call IntentService class from a running Service class . [CODE] I using above lines of code in service class to start IntentService class. But then I get following error:- [CODE] **Edited:------------- ** 1. Main Activity.Java OnCreate():- [CODE] 2. ServiceA.java [CODE] 3. DataProviderObserver.Class [CODE] 4. MyI...
android|nullpointerexception|android-service|android-context|android-intentservice
0
2016-05-07T19:45:25.207Z
2,016
5
19
5
1,374
1
344
56
5
6
true
false
false
false
false
false
zero
37,093,013
Material colorControlHighlight on pre lollipop
<p>I can't figure out how to get my list buttons (from ListView) and scroll bounds effect use colorControlHighlight theme color on pre lollipop </p> <p>here's my theme</p> <pre><code>&lt;style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar"&gt; &lt;item name="colorPrimary"&gt;@color/colorPrimary&lt;/it...
I can't figure out how to get my list buttons (from ListView) and scroll bounds effect use colorControlHighlight theme color on pre lollipop here's my theme [CODE] v21: [CODE] list fragment: [CODE] list row item: [CODE] list fragment class: [CODE] On post lollipop my list button use colorControlHighlight as expected an...
android
1
2016-05-07T19:50:12.337Z
2,016
5
19
5
435
0
527
46
1
5
true
true
false
false
false
false
low
37,093,020
Is there a way to translate a matrix to an alternate scale?
<p>Let's say I start with an Bitmap that's 1000px x 1000px</p> <p>I load it into a <code>SurfaceView</code> resident <code>Canvas</code> that displayed at some arbitrary (and depending on the device different) dimensions.</p> <p>I can get those dimensions at runtime and measure the scale between them and the original...
Let's say I start with an Bitmap that's 1000px x 1000px I load it into a SurfaceView resident Canvas that displayed at some arbitrary (and depending on the device different) dimensions. I can get those dimensions at runtime and measure the scale between them and the original (if I need that information at the end). The...
android|matrix|bitmap|android-canvas
2
2016-05-07T19:51:19.010Z
2,016
5
19
5
673
1
1,064
59
4
0
false
false
false
false
false
false
low
37,093,067
Must I use execSQL for update with expression when working with SQLite on Android?
<p>So my question is this.</p> <p><strong>In the existing android framework is there any way to perform an UPDATE where the SET value is an <em>expression</em> using <a href="http://developer.android.com/reference/android/content/ContentValues.html" rel="nofollow noreferrer">ContentValues</a>?</strong></p> <p>Now what ...
So my question is this. In the existing android framework is there any way to perform an UPDATE where the SET value is an expression using ContentValues ? Now what I want to achieve is an SQL update where one column is updated to the value of two other columns like so: [CODE] This works, no problem. However I can't see...
android|sqlite
1
2016-05-07T19:55:52.613Z
2,016
5
19
5
204
1
822
82
2
1
true
false
false
false
false
false
low
37,093,100
Constant 401 error with OAuth1 (MCM API)
<p>I've been trying to establish a connection with an API for more than a week now, to no avail. (Magic Card Market's, authentification documentation <a href="https://www.mkmapi.eu/ws/documentation/API:Auth_OAuthHeader" rel="nofollow">here</a> and <a href="https://www.mkmapi.eu/ws/documentation/API:Auth_OAuthHeader" re...
I've been trying to establish a connection with an API for more than a week now, to no avail. (Magic Card Market's, authentification documentation here and there ). I'm supposed to receive a XML file. I have what MCM call a "widget" access to their API, meaning that I don't have nor need a oauth_token (it's supposed to...
java|android|oauth|oauth-1.0a
0
2016-05-07T19:58:58.030Z
2,016
5
19
5
360
0
1,498
40
4
2
true
true
false
false
false
false
zero
37,093,126
Convert to dimension error & Error inflating class android.support.design.widget.TabLayout
<p>Please help me with this! I tried this online tutorial (<a href="http://www.androidhive.info/2015/09/android-material-design-working-with-tabs/" rel="nofollow">http://www.androidhive.info/2015/09/android-material-design-working-with-tabs/</a>) and it works for a separate test project, but when I integrate the code i...
Please help me with this! I tried this online tutorial ( http://www.androidhive.info/2015/09/android-material-design-working-with-tabs/ ) and it works for a separate test project, but when I integrate the code into my own project, I got errors as below: [CODE] My activity_main.xml is like below [CODE] My v21/styles.xml...
java|android|android-support-library|android-tablayout
0
2016-05-07T20:01:56.817Z
2,016
5
20
5
331
0
493
90
4
7
true
true
false
false
false
false
zero
37,093,209
Passing in extra arguments for a viewable class?
<p>I am trying to define a class like so, so I can have it show up in XML:</p> <pre><code>public class MyLineChart extends com.github.mikephil.charting.charts.LineChart { private Context mContext; public MyLineChart(Context context) { super(context); mContext = context; } public MyLin...
I am trying to define a class like so, so I can have it show up in XML: [CODE] So when I am defining this object I am doing: [CODE] But what if I'd like to send in other arguments through the constructors? For example say the MyLineChart class had another field: private int mSomeInt; and I'd like to be able to set mSom...
java|android|xml|constructor
1
2016-05-07T20:11:26.073Z
2,016
5
20
5
35
1
534
48
4
2
true
false
false
false
false
false
low
37,093,221
Using Socket.IO on android Always Returns XHR Poll Error
<p>I am writing an android app that needs to connect to a Socket.IO instance running on a node.js server.</p> <p>Attempting to connect to the instance and transmitting data using an iOS device works flawlessly, but when I try to do it with an android device it fails.</p> <p>I am using the <a href="https://github.com/...
I am writing an android app that needs to connect to a Socket.IO instance running on a node.js server. Attempting to connect to the instance and transmitting data using an iOS device works flawlessly, but when I try to do it with an android device it fails. I am using the Native java client , and this is the code I'm u...
java|android|sockets|websocket|socket.io
25
2016-05-07T20:12:00.253Z
2,016
5
20
5
38,387
8
951
56
5
2
true
false
true
true
true
false
high
37,093,300
Error : Unable to prepare project
<p>While trying to do a release using the following command:</p> <pre><code>code-push release-cordova myApp android </code></pre> <p>I'm getting the following error in the terminal:</p> <blockquote> <p>Running "cordova prepare" command: <br> [Error] Unable to prepare project. Please ensure that this is a Cordov...
While trying to do a release using the following command: [CODE] I'm getting the following error in the terminal: Running "cordova prepare" command: [Error] Unable to prepare project. Please ensure that this is a Cordova project and that platform "android" was added with "cordova platform add android" Any one knows wha...
android|cordova|code-push
-1
2016-05-07T20:20:11.067Z
2,016
5
20
5
463
2
1,032
33
3
2
true
false
false
false
false
true
negative
37,093,330
Display no item in ListView
<p>i have used ListView to show a list of Bikes from database. I have also used a adapter AdapterBike. Now , these following code works perfectly in logcat. No error occured while executing. But it displays no items in listview.</p> <p>Codefile for <strong>BikeSelection.java</strong></p> <pre class="lang-java prettyp...
i have used ListView to show a list of Bikes from database. I have also used a adapter AdapterBike. Now , these following code works perfectly in logcat. No error occured while executing. But it displays no items in listview. Codefile for BikeSelection.java [CODE] and my adapter file: AdapterBike.java [CODE]
java|android|listview|adapter
-1
2016-05-07T20:23:28.200Z
2,016
5
20
5
62
1
309
27
4
2
true
false
false
false
false
true
negative
37,093,361
Using JSON to manage data from multiple tables (PHP + MySQL)
<p>I'm currently working on a project that involves an Android app and MySQL. I need to get data from a MySQL database (Which is located on a local Server, I'm using Apache), the thing is, I've have already done this by getting data from a SINGLE table and then with a class that implements "Serializable" I'm able to "u...
I'm currently working on a project that involves an Android app and MySQL. I need to get data from a MySQL database (Which is located on a local Server, I'm using Apache), the thing is, I've have already done this by getting data from a SINGLE table and then with a class that implements "Serializable" I'm able to "use"...
php|android|mysql|json|serialization
0
2016-05-07T20:27:27.260Z
2,016
5
20
5
670
1
1,083
60
5
2
true
false
false
false
false
false
zero
37,093,376
Display multiple lines of text in Oxyplot TextAnnotation
<p>I'm working on an Android app utilizing xamarin and the oxyplot library. I ran into a problem where I cannot add multiple lines of text in TextAnnotation. I tried the following options: </p> <pre><code> var sb = new StringBuilder(); sb.Append("Line1"); sb.AppendLine(); // which is equal to Append(Environment.N...
I'm working on an Android app utilizing xamarin and the oxyplot library. I ran into a problem where I cannot add multiple lines of text in TextAnnotation. I tried the following options: [CODE] and added it like so to the TextAnnotation text object: [CODE] but all to avail. My goal is to have the text appear like so: Li...
android|xamarin|oxyplot
0
2016-05-07T20:29:33.073Z
2,016
5
20
5
830
1
409
56
3
2
true
false
false
false
false
false
zero
37,093,388
doOnCompleted not called after retryWhen
<p>I have something like this:</p> <pre><code> service.getStuff() .map(...) .observeOn(AndroidSchedulers.mainThread()) .retryWhen(errors -&gt; errors.flatMap(t -&gt; { return otherObservable.doOnNext(someSideEffect); })) .doOnComple...
I have something like this: [CODE] The onNext() executes, and on the onComplete() is called on the original observable from service.getStuff() The problem: doOnCompleted() does not execute. the original observable (service.getStuff) is: [CODE]
java|rx-java|rx-android
1
2016-05-07T20:30:48.143Z
2,016
5
20
5
384
1
243
40
3
2
true
false
false
false
false
false
low
37,093,476
Error while trying to get a Double value from HashMap String,Object fetched from Firebase
<p>I don't know if this is a Firebase bug, Android bug or my fault. My issue is that I can't for some reasons get a Double value from Hashmap when fetching a child. Why? Because</p> <pre><code>java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.Double </code></pre> <p>Apparently every numeric val...
I don't know if this is a Firebase bug, Android bug or my fault. My issue is that I can't for some reasons get a Double value from Hashmap when fetching a child. Why? Because [CODE] Apparently every numeric value stored in a firebase json object gets returned from the HashMap as Long. The more strange thing? Using debu...
android|casting|hashmap|firebase|double
2
2016-05-07T20:39:47.647Z
2,016
5
20
5
1,552
1
747
89
5
2
true
false
false
false
false
false
low
37,093,506
Android: Changing ImageView size is not working
<p>I am trying to change my ImageView size, but I can't seem to change both - width and height. If I just change one of them, then all works correctly, but when I try to change both, only width is changed.</p> <p>I have the size in dp: width 22 and height 38, and I convert them to px. Is there another way to do so? I ...
I am trying to change my ImageView size, but I can't seem to change both - width and height. If I just change one of them, then all works correctly, but when I try to change both, only width is changed. I have the size in dp: width 22 and height 38, and I convert them to px. Is there another way to do so? I have tried ...
java|android|imageview|size
2
2016-05-07T20:43:42.973Z
2,016
5
20
5
651
1
449
47
4
1
true
false
false
false
false
false
low
37,093,702
RuntimeException - java.lang.IllegalArgumentException: column '_id' does not exist
<p>In my app I'm trying to read data from a table in my DB, which is created as follows:</p> <pre><code>public DBHelper(Context context) { super(context, DATABASE_NAME, null, DATABASE_VERSION); } @Override public void onCreate(SQLiteDatabase db) { String createDreamTable = String.format("CREATE TABLE IF NOT EX...
In my app I'm trying to read data from a table in my DB, which is created as follows: [CODE] When I try to get data from DB using GetDreamTitles , as seen below, I get java.lang.IllegalArgumentException: column '_id' does not exist [CODE] EDIT: DreamContract.Dream : [CODE]
java|android|sqlite
0
2016-05-07T21:04:53.260Z
2,016
5
21
5
556
1
273
82
3
3
true
false
false
false
false
false
zero
37,093,880
Accessing all views of list_item in listview android
<p>I have two textviews and one imageview in my list_item_layout I want to perform some operations on each view when clicked.How do I do it?Also i have to perform delete action when long pressed on list item layout.</p> <pre><code> &lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;LinearLayout xmlns:android="http://sc...
I have two textviews and one imageview in my list_item_layout I want to perform some operations on each view when clicked.How do I do it?Also i have to perform delete action when long pressed on list item layout. [CODE]
android|listview
0
2016-05-07T21:25:34.447Z
2,016
5
21
5
31
2
219
52
2
1
true
false
false
false
false
false
zero
37,093,895
Laying out text in a TableRow
<p>I just started working on android and have a question about layouts. My app will display a scrolling list of stocks symbols, with data such as price, price change, volume, volume change.</p> <p>This is my first android app so I'm still in the "how do you do all this" phase. Can you comment on how I've laid this out...
I just started working on android and have a question about layouts. My app will display a scrolling list of stocks symbols, with data such as price, price change, volume, volume change. This is my first android app so I'm still in the "how do you do all this" phase. Can you comment on how I've laid this out, or offer ...
android|android-layout
0
2016-05-07T21:27:48.603Z
2,016
5
21
5
31
1
707
29
2
1
true
false
false
false
false
false
zero
37,093,980
Facebook login intergration in android login button changes to logout after logged in
<p>I made facebook login integration using LoginButton in my android app. now when i am logged in then my login button automatically changes to logout. I dont want that as i got another activity to logout. how should i prevent this. Following is my code.</p> <pre class="lang-java prettyprint-override"><code>public cla...
I made facebook login integration using LoginButton in my android app. now when i am logged in then my login button automatically changes to logout. I dont want that as i got another activity to logout. how should i prevent this. Following is my code. [CODE]
android|android-studio|android-facebook
2
2016-05-07T21:39:07.560Z
2,016
5
21
5
1,098
1
258
85
3
1
true
false
false
false
false
false
low
37,094,039
Android app crashing on run: 'java.lang.String android.content.Context.getPackageName()'
<p>I was wondering if anyone could help. Every time I run my android app project it crashes. I've narrowed it down to a single function but I have no idea why it's crashing!</p> <p>ERROR:</p> <pre><code>05-07 17:38:22.059 3952-3986/com.tfs.appname W/System: ClassLoader referenced unknown path: /data/data/com....
I was wondering if anyone could help. Every time I run my android app project it crashes. I've narrowed it down to a single function but I have no idea why it's crashing! ERROR: [CODE] MainActivity.java: [CODE] Login.Java: [CODE] Helpers.Java: [CODE] Any help would be greatly appreciated! I'm very, very new to this lan...
java|android
0
2016-05-07T21:44:31.187Z
2,016
5
21
5
1,762
1
388
88
2
4
true
false
false
false
false
false
zero
37,094,047
Android is not Reading JSON Array with name
<p>it seems that my Activity is having problem with the JSON array name</p> <p>here is my activity :</p> <pre><code>package com.example.raamzz.booksharev2; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.graphics.Bitmap; import android.graphics....
it seems that my Activity is having problem with the JSON array name here is my activity : [CODE] and here is my php which is sending the json array : [CODE] the array that is generated using this php script is like this : [CODE] which my android activity is not recognizing because it json array must be like this : [CO...
php|android|json
0
2016-05-07T21:45:33.147Z
2,016
5
21
5
51
1
555
43
3
4
true
false
false
false
false
false
zero
37,094,052
Retrofit Gson : Expected BEGIN_ARRAY but was BEGIN_OBJECT (Not duplicate)
<p>Please I tried two approaches to solve this problem but both doesn't work, I don't know what did happen but before it works without problem. I have the following json : </p> <pre><code>{ "_embedded" : { "posts" : [ { "postid" : 1, "taggedusers" : null, "hashtags" : null, "createdAt" : ...
Please I tried two approaches to solve this problem but both doesn't work, I don't know what did happen but before it works without problem. I have the following json : [CODE] I tried to read it using the following in retrofit : [CODE] and for Interface : [CODE] But I get this problem : Expected BEGIN_ARRAY but was BEG...
android|gson|retrofit|retrofit2
0
2016-05-07T21:46:31.290Z
2,016
5
21
5
155
1
506
73
4
4
true
false
false
false
false
false
zero
37,094,077
Fragment not attached to it's Activity but it should
<p>I have a very simple <code>Activity</code>:</p> <pre><code>public class ActivityLogin extends FragmentActivity { /** * */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); this.setContentView(R.layout.activity_login); this...
I have a very simple Activity : [CODE] As you can see i only create my Fragment if it is null. The Fragment does not retain instance: So setRetainInstance(false) . When i do some work in the background and call this.getResources() in my Fragment i always get: [CODE] after i rotated my device. If i dont rotate everythin...
android|android-fragments
0
2016-05-07T21:49:55.823Z
2,016
5
21
5
1,376
1
640
52
2
3
true
false
false
false
false
false
zero
37,094,116
Add text to a preexisting notification
<p>I have an activity that generates a notification that triggers after 30minutes. My notification works fine. The notification can be dismissed by the user but will persist until dismissed (this is a deliberate action).</p> <p>If I run the activity again, I wish for the new information passed from the activity to be...
I have an activity that generates a notification that triggers after 30minutes. My notification works fine. The notification can be dismissed by the user but will persist until dismissed (this is a deliberate action). If I run the activity again, I wish for the new information passed from the activity to be appended to...
android|android-intent|notifications|android-pendingintent
2
2016-05-07T21:54:53.863Z
2,016
5
21
5
374
0
974
38
4
2
true
true
false
false
false
false
low
37,094,211
Can I show an image from html in text view with Xamarin.Android?
<p>I am trying to show an image from the html in the text view using Xamarin.Android. I have managed to show the html but can't get the picture to show. Any ideas are welcomed. </p> <pre><code> Epub epub = new Epub(Android.OS.Environment.ExternalStorageDirectory.Path + "/Download/testBook.epub"); //Get ...
I am trying to show an image from the html in the text view using Xamarin.Android. I have managed to show the html but can't get the picture to show. Any ideas are welcomed. [CODE]
android|html|image|xamarin|textview
1
2016-05-07T22:07:17.443Z
2,016
5
22
5
1,200
1
180
64
5
1
true
false
false
false
false
false
low
37,094,212
Android: How to make List Items Clickable
<p>I have just started looking into Android development and would like to make a list with clickable items. This is what I have so far in my activity_main.xml:</p> <pre><code> &lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools...
I have just started looking into Android development and would like to make a list with clickable items. This is what I have so far in my activity_main.xml: [CODE] My resource arrays.xml is: [CODE] And my MainActivity.java is: [CODE] Thank you very much for your help.
android|list
-2
2016-05-07T22:07:37.410Z
2,016
5
22
5
1,314
1
268
41
2
3
true
false
false
false
false
true
negative
37,094,436
Live TV Stream to Android
<p>I am new user on stackoverflow. I wrote you today to get answer and solution to my problem. I have input stream come from vlc. I need that all android connected to my network can watch stream in live in the same time like an online channel tv. I saw for this channel</p> <p>Code: Select all www.canal2internation...
I am new user on stackoverflow. I wrote you today to get answer and solution to my problem. I have input stream come from vlc. I need that all android connected to my network can watch stream in live in the same time like an online channel tv. I saw for this channel Code: Select all www.canal2international.net/live.php...
android|html|video|ffmpeg
0
2016-05-07T22:41:13.433Z
2,016
5
22
5
317
0
1,536
25
4
0
false
true
false
false
false
false
zero
37,094,469
How to put counter inside TextInputLayout (for full-width text fields)?
<p>There are full width text fields in Material Design guidelines, but there appears to be no guides or any info about their implementation. In my layout I have two <code>EditTextLayout</code>s: single-line and multi-line ones. I've implemented counters using <code>app:counterEnabled="true"</code> and <code>app:counter...
There are full width text fields in Material Design guidelines, but there appears to be no guides or any info about their implementation. In my layout I have two EditTextLayout s: single-line and multi-line ones. I've implemented counters using app:counterEnabled="true" and app:counterMaxLength="50" tags, but they are ...
java|android|user-interface|material-design
3
2016-05-07T22:45:54.487Z
2,016
5
22
5
2,405
1
720
71
4
1
true
false
false
false
false
false
low
37,094,471
Android Studio XML has little yellow square
<p>I think this little square means something important but don't know what... It goes away if I double click on it, but doesn't show up on less complex layouts within my project... any ideas why it's showing or what it means?</p> <p><a href="https://i.stack.imgur.com/5NnnA.png" rel="nofollow noreferrer"><img src="htt...
I think this little square means something important but don't know what... It goes away if I double click on it, but doesn't show up on less complex layouts within my project... any ideas why it's showing or what it means? [CODE]
android|xml|android-studio|square
2
2016-05-07T22:46:11.300Z
2,016
5
22
5
696
1
230
43
4
1
true
false
false
false
false
false
low
37,094,486
ListView in navigation not displaying . It is just blank
<p>I want to make a list view which is in navigation drawer. In my app , I am fetching JSON data from a URL and setting it to ListView of Navigation Drawer. I want to make a dynamic Navigation drawer in which content will be refreshed(like a playlist). But the problem is that the list view is not populating. It is alw...
I want to make a list view which is in navigation drawer. In my app , I am fetching JSON data from a URL and setting it to ListView of Navigation Drawer. I want to make a dynamic Navigation drawer in which content will be refreshed(like a playlist). But the problem is that the list view is not populating. It is always ...
android|listview|android-fragments|android-arrayadapter
0
2016-05-07T22:48:48.390Z
2,016
5
22
5
33
0
428
56
4
1
true
true
false
false
false
false
zero