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
28,821,539
android translateanimation in pixels, button disappears
<p>I'm trying to use a simple translation in which I have a button and I want to move it to a position where another button is. The thing is the button just disappears from the screen right away when the translation starts, it doesn't even move.</p> <p>my code:</p> <pre><code>Button poli1 = checkPosPoli1(); ...
I'm trying to use a simple translation in which I have a button and I want to move it to a position where another button is. The thing is the button just disappears from the screen right away when the translation starts, it doesn't even move. my code: [CODE] Both checkPosPoli1() and checkBtn return a button and I have ...
android|pixel|translate-animation
0
2015-03-02T23:43:33.970Z
2,015
3
23
0
558
1
369
55
3
1
true
false
false
false
false
false
zero
28,821,558
Wont run android apps when I launch my emulator from snapshot
<p>If I launch my android emulator from snapshot it wont let me run the apps I'm working on. Is there a way to fix this? If I launch from snapshot it launches really fast which is why I'm asking if there's a way to do this. If I wipe the user data and launch from scratch it takes FOR EVER to load, which has alway drive...
If I launch my android emulator from snapshot it wont let me run the apps I'm working on. Is there a way to fix this? If I launch from snapshot it launches really fast which is why I'm asking if there's a way to do this. If I wipe the user data and launch from scratch it takes FOR EVER to load, which has alway driven m...
android|eclipse|adt|snapshot
0
2015-03-02T23:44:53.473Z
2,015
3
23
0
79
1
379
61
4
1
true
false
false
false
false
false
zero
28,821,614
Android Studio Error: org.gradle.process.internal.ExecException
<p>I am new to android development and have hit my first error and can't seem to get around it. I have downloaded and installed android studio and java on my mac and a made a dummy app just to see it run in the simulator. The default hello world app runs fine but as soon as I add a .png file to my drawable folder, I ge...
I am new to android development and have hit my first error and can't seem to get around it. I have downloaded and installed android studio and java on my mac and a made a dummy app just to see it run in the simulator. The default hello world app runs fine but as soon as I add a .png file to my drawable folder, I get t...
java|android|android-studio|drawable
9
2015-03-02T23:51:48.627Z
2,015
3
23
0
11,640
3
492
63
4
1
true
false
true
true
false
false
medium
28,821,615
Why smoothScrollTo inside onTouchEvent does not work when I do Scroll?
<p>On the next code:</p> <pre><code>hScroll.setOnTouchListener(new View.OnTouchListener() { @Override public boolean onTouch(View v, MotionEvent event) { if(event.getAction() == MotionEvent.ACTION_UP) { hScroll.smoothScrollTo(20, 0); } return false; ...
On the next code: [CODE] When I only touch the HorizontalScrollView it works, but if I move the scroll it doesn't. Someone can help me? (Sorry for my poor English)
android|scrollview|horizontalscrollview|smooth-scrolling
1
2015-03-02T23:51:52.343Z
2,015
3
23
0
739
1
163
70
4
1
true
false
false
false
false
false
low
28,821,684
How to find element using UIAutomator in appium
<p>I am testing android hybrid application using appium. Could anyone please tell me how to find element using UIAutomator because xpath given by appium doesn't work in my case. </p> <p>Many thanks!</p>
I am testing android hybrid application using appium. Could anyone please tell me how to find element using UIAutomator because xpath given by appium doesn't work in my case. Many thanks!
android|appium|android-uiautomator
0
2015-03-02T23:59:13.967Z
2,015
3
23
0
8,640
4
187
47
3
0
false
false
true
false
false
false
zero
28,821,771
Is it possible to disconnect the phone call in Android 4.4.4 on Nexus 5
<p><a href="http://www.emoticode.net/android-sdk/block-incoming-and-outgoing-phone-calls-programmatically.html" rel="nofollow">http://www.emoticode.net/android-sdk/block-incoming-and-outgoing-phone-calls-programmatically.html</a></p> <p>I used above link to get my code working, but I get compilation error saying packa...
http://www.emoticode.net/android-sdk/block-incoming-and-outgoing-phone-calls-programmatically.html I used above link to get my code working, but I get compilation error saying package "com.XXX...." can not be found. Googling, I also came across http://quia.cf/orange/pooxy4/nph-poxy.pl/es/20/http/stackoverflow.com/quest...
android|android-intent
0
2015-03-03T00:08:30.977Z
2,015
3
0
1
191
0
704
71
2
0
false
true
false
false
false
false
zero
28,821,850
My layout gets messy whenever I open it in the emulator (It's a background image with textviews)
<p>For my project I'm using background images,so I can put invisible buttons.. but the problem is when I open the activity in the emulator,it just turns out to be a salad( Text views mixed with buttons etc..) </p> <pre><code>&lt;EditText android:layout_width="200dp" android:layout_height="wrap_content" and...
For my project I'm using background images,so I can put invisible buttons.. but the problem is when I open the activity in the emulator,it just turns out to be a salad( Text views mixed with buttons etc..) [CODE]
android|xml|android-layout|background|android-studio
1
2015-03-03T00:18:37.833Z
2,015
3
0
1
520
2
212
96
5
1
true
false
false
false
false
false
low
28,821,950
use each child in layout
<p>i found this code in a post that used on touch listener for linear layout. in linear layout there is some child layout and each one play same sound but with pitch . now how can i use each child to play a different sound . the other word how can i access to each child?</p> <pre><code>public class MainActivity exten...
i found this code in a post that used on touch listener for linear layout. in linear layout there is some child layout and each one play same sound but with pitch . now how can i use each child to play a different sound . the other word how can i access to each child? [CODE] }
android|eclipse
0
2015-03-03T00:28:39.903Z
2,015
3
0
1
34
1
277
24
2
1
true
false
false
false
false
false
zero
28,821,983
Which ParseException may be thrown on signup/login attempt
<p>I'm developing an Parse based Android app and now working on signup and login screens, but I don't know which <code>ParseException</code> should I handle.</p> <p>I wanna give the user the right feedback for each error and there's no documentation at all about wich code I should look for on <code>SignUpCallback</cod...
I'm developing an Parse based Android app and now working on signup and login screens, but I don't know which ParseException should I handle. I wanna give the user the right feedback for each error and there's no documentation at all about wich code I should look for on SignUpCallback or LogInCallback . Is there any pl...
android|parse-platform
0
2015-03-03T00:32:09.783Z
2,015
3
0
1
49
1
405
58
2
0
false
false
false
false
false
false
zero
28,821,988
Set the camera scene mode for OpenCV on Android
<p>I'm looking for a way to set a scene mode value for a web camera from c++ (Android NDK).</p> <p>OpenCV gets the values from the web camera when it is initialized. In the below log, the log says <code>Supported Scene Modes: auto,action,portrait,landscape,beach,fireworks,night,night-portrait,snow,sports,steadyphoto,s...
I'm looking for a way to set a scene mode value for a web camera from c++ (Android NDK). OpenCV gets the values from the web camera when it is initialized. In the below log, the log says Supported Scene Modes: auto,action,portrait,landscape,beach,fireworks,night,night-portrait,snow,sports,steadyphoto,sunset,theatre,bar...
android|c++|opencv|android-ndk
5
2015-03-03T00:32:21.860Z
2,015
3
0
1
2,216
2
463
47
4
2
true
false
false
false
false
false
low
28,822,036
How can Android PreferenceFragment display preferences in dual pane format, like the PreferenceActivity?
<p>The PreferenceActivity can display headers on the left pane and corresponding preference fragments on the right pane. I currently have the preference fragment loaded via the tab listener, i.e. the preference fragment is pulled up and inflated into the current view when the preferences tab is clicked. I would rather ...
The PreferenceActivity can display headers on the left pane and corresponding preference fragments on the right pane. I currently have the preference fragment loaded via the tab listener, i.e. the preference fragment is pulled up and inflated into the current view when the preferences tab is clicked. I would rather not...
android|user-interface|android-fragments|android-preferences|android-4.2-jelly-bean
0
2015-03-03T00:36:44.427Z
2,015
3
0
1
401
1
698
104
5
0
false
false
false
false
false
false
zero
28,822,173
Facebook OpenGraphActionDialog ignores the "is user generated image" flag
<p>I'm currently trying to create a FacebookDialog that posts with a local image. I am able to create the dialog with the image and post it, but the "user generated" flag appears to be ignored.</p> <p>What I'm getting is this:<br> <img src="https://i.stack.imgur.com/i1iiN.png" alt="facebook small image"></p> <p>...wh...
I'm currently trying to create a FacebookDialog that posts with a local image. I am able to create the dialog with the image and post it, but the "user generated" flag appears to be ignored. What I'm getting is this: ...when it should look like this: The NativeAppCallContentProvider has been set in the manifest and the...
android|facebook|facebook-graph-api|facebook-android-sdk|facebook-sdk-3.14.x
2
2015-03-03T00:49:43.947Z
2,015
3
0
1
129
0
616
73
5
1
true
true
false
false
false
false
low
28,822,179
Android Customized Actionbar
<p>I'm trying to customize an actionbar at an android application.</p> <p>I followed the <a href="https://developer.android.com/training/basics/actionbar/styling.html" rel="nofollow">google tutorial</a></p> <p>But it didn't work.</p> <p>This is the code of my themes.xml</p> <pre><code>&lt;?xml version="1.0" encodin...
I'm trying to customize an actionbar at an android application. I followed the google tutorial But it didn't work. This is the code of my themes.xml [CODE] [CODE] At the "AndroidManifest" I'm calling this theme for the application [CODE] But when I execute this code the following error occurs [CODE] If I try to use The...
java|android|android-actionbar|themes
0
2015-03-03T00:50:26.603Z
2,015
3
0
1
89
2
424
28
4
4
true
false
false
false
false
false
zero
28,822,229
ERROR: must implement OnFragmentInteractionListener
<p>It's trowing an error saying I must implment the OnFragmentInteractionListener, but as far as I'm aware I'm implementing it properly ... Any help would be greatly appreciated.</p> <p>Main Activity</p> <pre><code> import android.app.Activity; import android.app.FragmentManager; import android.app.FragmentTransac...
It's trowing an error saying I must implment the OnFragmentInteractionListener, but as far as I'm aware I'm implementing it properly ... Any help would be greatly appreciated. Main Activity [CODE] NavFragment [CODE] ContentFragment [CODE] error [CODE]
java|android
27
2015-03-03T00:54:14.620Z
2,015
3
0
1
44,903
1
251
51
2
4
true
false
true
true
true
false
high
28,822,274
Bitbucket plugin can't connect in Android Studio
<p>I recently downloaded the Bitbucket plugin for Android Studio (I'm running 1.1.0). Initially, I downloaded it from this link (<a href="https://plugins.jetbrains.com/plugin/6207?pr=phpStorm" rel="nofollow noreferrer">https://plugins.jetbrains.com/plugin/6207?pr=phpStorm</a>) which should be compatible with Android st...
I recently downloaded the Bitbucket plugin for Android Studio (I'm running 1.1.0). Initially, I downloaded it from this link ( https://plugins.jetbrains.com/plugin/6207?pr=phpStorm ) which should be compatible with Android studio. When I tried to clone a project in my repo, it prompted me for login credentials. I enter...
android|git|version-control|android-studio|bitbucket
2
2015-03-03T00:58:37.917Z
2,015
3
0
1
6,245
3
781
48
5
0
false
false
true
false
false
false
low
28,822,279
Move Actors accuratley LibGDX Scene2d
<p>So i have an actor which is a sprite, set on a screenviewport stage. What i want to do is be able to touch the actor, then touch a spot on the screen it will move that fluently. Currently when i touch the actor it just jumps seemingly to random spots. Here is some of the code in my actor class, </p> <pre><code>p...
So i have an actor which is a sprite, set on a screenviewport stage. What i want to do is be able to touch the actor, then touch a spot on the screen it will move that fluently. Currently when i touch the actor it just jumps seemingly to random spots. Here is some of the code in my actor class, [CODE]
java|android|libgdx|scene2d
0
2015-03-03T00:59:16.957Z
2,015
3
0
1
1,172
1
302
37
4
1
true
false
false
false
false
false
zero
28,822,382
Installing a dependent apk using the Google Play Store
<p>I have a regular Android application which I am planning to deploy on the Google Play Store.</p> <p>This application needs a custom application service (no UI) to work as expected. [It is not possible to combine them together].</p> <p>To improve the User Experience, I would like to make sure that the installation ...
I have a regular Android application which I am planning to deploy on the Google Play Store. This application needs a custom application service (no UI) to work as expected. [It is not possible to combine them together]. To improve the User Experience, I would like to make sure that the installation of this application...
android|google-play|apk|android-install-apk
2
2015-03-03T01:09:23.283Z
2,015
3
1
1
1,077
1
485
54
4
0
false
false
false
false
false
false
low
28,822,483
How to add relative Layout below some element dynamically
<p>Please help me to add a <code>RelativeLayout</code> below a <code>RadioButton</code> dynamically (I have to create <code>RelativeLayout</code> and <code>RadioButton</code> in class).</p> <p><strong>Something like this:</strong></p> <pre><code>&lt;LinearLayout android:layout_width="match_parent" android:lay...
Please help me to add a RelativeLayout below a RadioButton dynamically (I have to create RelativeLayout and RadioButton in class). Something like this: [CODE] To View I can write: [CODE] But how about ViewGroup?
java|android|xml|parameters|android-relativelayout
1
2015-03-03T01:20:32.907Z
2,015
3
1
1
429
1
211
57
5
2
true
false
false
false
false
false
low
28,822,613
Android DatePicker Spinners Not Displaying
<p>I'm following the Big Nerd Ranch Android Programming book right now. I'm currently trying to get a DatePicker fragment to display as spinners. It seems to continually display a calender view and I can't figure out why. Any ideas what I'm doing wrong?</p> <p>layout:</p> <pre><code>&lt;?xml version="1.0" encoding="u...
I'm following the Big Nerd Ranch Android Programming book right now. I'm currently trying to get a DatePicker fragment to display as spinners. It seems to continually display a calender view and I can't figure out why. Any ideas what I'm doing wrong? layout: [CODE] How I'm creating it: [CODE]
android|datepicker
2
2015-03-03T01:36:05.813Z
2,015
3
1
1
1,747
1
293
42
2
2
true
false
false
false
false
false
low
28,822,666
ANR in SurfaceView method "onTouchEvent(...)" on Android
<p>On Android, I've subclassed <code>SurfaceView</code> and the resulting view is working fine in most cases. However, roughly 1% of all users report an ANR problem with this implementation.</p> <p>Apparently, there's an edge case where the <code>SurfaceView</code> fails due to some problem, probably a deadlock.</p> ...
On Android, I've subclassed SurfaceView and the resulting view is working fine in most cases. However, roughly 1% of all users report an ANR problem with this implementation. Apparently, there's an edge case where the SurfaceView fails due to some problem, probably a deadlock. Unfortunately, I don't know what's wrong w...
android|surfaceview|android-anr-dialog
3
2015-03-03T01:42:32.160Z
2,015
3
1
1
1,169
1
626
56
3
5
true
false
false
false
false
false
low
28,822,724
Android: debugging if and else statement
<p>I am writing a simple Android application for a class and I'm doing a conversion program that will convert inches > feet > yards > miles. I am having issues figuring out why if and else statements are not coming together. I am pasting the Main.Java so you can see what I have if I need to post the main xml/strings ...
I am writing a simple Android application for a class and I'm doing a conversion program that will convert inches > feet > yards > miles. I am having issues figuring out why if and else statements are not coming together. I am pasting the Main.Java so you can see what I have if I need to post the main xml/strings pleas...
android|android-activity
0
2015-03-03T01:48:31.523Z
2,015
3
1
1
53
4
772
40
2
1
true
false
false
false
false
false
zero
28,822,771
ndk-build using amadillo (blas lapack) and vlfeat lib
<p>I am trying to compile c++ code written using armadillo that I have uncomment blas lapack in config.hpp and also vlfeat (vl.so) in Andriod make file.</p> <p>In Jni folder I have the following Andriod.mk</p> <p><div class="snippet" data-lang="js" data-hide="false"> <div class="snippet-code"> <pre class="snippet-cod...
I am trying to compile c++ code written using armadillo that I have uncomment blas lapack in config.hpp and also vlfeat (vl.so) in Andriod make file. In Jni folder I have the following Andriod.mk [CODE] for each module blas, lapack, and vlfeat I used .so libraries as follows: [CODE] and [CODE] I have got the following ...
android-ndk|lapack|blas|armadillo|vlfeat
0
2015-03-03T01:53:47.810Z
2,015
3
1
1
1,837
1
363
53
5
4
true
false
false
false
false
false
zero
28,822,791
How to start a "new Game.class" when the player lost?
<p>I know my title is quite confusing but have no idea how I can ask this question in the most understandable. Hope you understand.</p> <p>In my game there are 2 classes</p> <ol> <li>"<strong>mainActivity</strong>" the game view.</li> <li>"<strong>Game</strong>" extends the SurfaceView and implements Runnable (the ga...
I know my title is quite confusing but have no idea how I can ask this question in the most understandable. Hope you understand. In my game there are 2 classes " mainActivity " the game view. " Game " extends the SurfaceView and implements Runnable (the game loop). First screen displays with the button "Start New Game"...
java|android
3
2015-03-03T01:56:29.427Z
2,015
3
1
1
455
1
787
53
2
2
true
false
false
false
false
false
low
28,822,903
android how to convert decimal to int(going to be calculated) then to decimal(the result) again
<p>i am developing an app about pmt. Here i have a function which will convert the input in an edittext(number only) into decimal (it was requested that the edittext will somehow make the given input from the user looks like a currency, Example the user is typing three number "987" in edittext it will show "987" no cha...
i am developing an app about pmt. Here i have a function which will convert the input in an edittext(number only) into decimal (it was requested that the edittext will somehow make the given input from the user looks like a currency, Example the user is typing three number "987" in edittext it will show "987" no change...
android
1
2015-03-03T02:07:27.927Z
2,015
3
2
1
142
1
1,333
95
1
3
true
false
false
false
false
false
low
28,823,179
POST and GET requests between Android and GAE
<p>I'm pretty well versed in Google App Engine (python) and have just started to learn Android App Development. </p> <p>Is there a simple way to POST and GET data between my device and the GAE datastore?</p> <p>I started reading about Endpoints, but it seems quite heavy (maybe I just need to increase my knowledge of ...
I'm pretty well versed in Google App Engine (python) and have just started to learn Android App Development. Is there a simple way to POST and GET data between my device and the GAE datastore? I started reading about Endpoints, but it seems quite heavy (maybe I just need to increase my knowledge of Android and Java). A...
android|google-app-engine
0
2015-03-03T02:41:04.043Z
2,015
3
2
1
36
2
374
45
2
0
false
false
false
false
false
false
zero
28,823,195
App force closes when going to a certain activity
<p>I'm new to StackOverflow and also new to Android development, and I have run into quite an irritating issue with a certain app that I am developing. I have two buttons on my main activity, an "Add Customer" button and a "Show Customers" button, each leading to their own respective activities.</p> <p>At first, only...
I'm new to StackOverflow and also new to Android development, and I have run into quite an irritating issue with a certain app that I am developing. I have two buttons on my main activity, an "Add Customer" button and a "Show Customers" button, each leading to their own respective activities. At first, only the Add Cus...
java|android|xml|android-activity|forceclose
-1
2015-03-03T02:42:55.940Z
2,015
3
2
1
348
2
1,683
49
5
4
true
false
false
false
false
true
negative
36,611,800
How to Know When Service/App is Swiped Away
<p>I have an app that binds a service which saves data to the phone's file manager at various times during the application's life cycle (the app is in the background while it's doing this). If something happens to invalidate the data, the data should be discarded once the service completes. (Note that it does do so suc...
I have an app that binds a service which saves data to the phone's file manager at various times during the application's life cycle (the app is in the background while it's doing this). If something happens to invalidate the data, the data should be discarded once the service completes. (Note that it does do so succes...
android|service|swipe|android-lifecycle|kill
1
2016-04-14T00:29:25.797Z
2,016
4
0
3
354
0
1,001
43
5
0
false
true
false
false
false
false
low
36,611,852
Containers stretch beyond in Android Studio preview
<p>Whenever I add a new container view on the designer surface and sets both <code>layout:width</code> and <code>layout:height</code> to <code>wrap_content</code>, the container view size goes beyond what it should be as shown below.</p> <p>What should I do to fix this issue?</p> <p><a href="https://i.stack.imgur.com...
Whenever I add a new container view on the designer surface and sets both layout:width and layout:height to wrap_content , the container view size goes beyond what it should be as shown below. What should I do to fix this issue? Code snippet of content_main.xml EDIT : Might be a bit different from image above but still...
android-layout|android-studio
7
2016-04-14T00:36:03.197Z
2,016
4
0
3
535
6
343
51
2
1
true
false
false
false
false
false
medium
36,611,856
How to populate RecyclerView from string resource
<p>I'm getting string <code>id</code> instead of string value in <code>recyclerview</code>.</p> <p>Below is my code, I don't know where i'm getting it wrong.</p> <pre><code>public class Albert_Einstein_Fragment extends Fragment { private String b; String[] dataArray ={String.valueOf(R.array.albert_array)}; //... p...
I'm getting string id instead of string value in recyclerview . Below is my code, I don't know where i'm getting it wrong. [CODE] Below is part of my array string resource code... [CODE] Below is the output of my code [CODE] Instead of list of strings in my array string resource
java|android
1
2016-04-14T00:36:16.550Z
2,016
4
0
3
4,699
1
279
49
2
3
true
false
true
false
false
false
low
36,611,865
Access to the docker machine from Android app
<p>I'm trying to run my app final testing phase where I have to use several Android phones using a local network to access a web-service running at one server in the same network.</p> <p>To start, the Android S.O. do not permit to access services of any kind in a local network. The only way to do this is enabling teth...
I'm trying to run my app final testing phase where I have to use several Android phones using a local network to access a web-service running at one server in the same network. To start, the Android S.O. do not permit to access services of any kind in a local network. The only way to do this is enabling tethering on th...
android|networking|docker
2
2016-04-14T00:36:55.543Z
2,016
4
0
3
303
0
1,279
45
3
0
false
true
false
false
false
false
low
36,611,868
Android doInBackground error
<p>I am a beginner in android development and I get an error that I can not solve a few days ago with the <code>doInBackground()</code> method. My error is at the end of my code, at </p> <pre><code>e2 = e11; createInsecureRfcommSocketToServiceRecord = null; this.sender = e2.getMessage(); createInsecureRfcommSocketToSe...
I am a beginner in android development and I get an error that I can not solve a few days ago with the doInBackground() method. My error is at the end of my code, at [CODE] The error is Unhandled exception:java.io.IO.EXCEPTION If you have solutions , thank you in advance! My code : [CODE]
java|android
0
2016-04-14T00:37:28.127Z
2,016
4
0
3
147
2
289
28
2
2
true
false
false
false
false
false
zero
36,611,968
Video chat with WebRTC on Android using PubNub's SDK and API
<p>Hello I am attempting to implement Video chat between two android devices using the WebRTC implementation by PubNub by following this guide:</p> <p><a href="https://github.com/GleasonK/android-webrtc-tutorial" rel="nofollow">https://github.com/GleasonK/android-webrtc-tutorial</a></p> <p>My code is very similar and...
Hello I am attempting to implement Video chat between two android devices using the WebRTC implementation by PubNub by following this guide: https://github.com/GleasonK/android-webrtc-tutorial My code is very similar and am able to connect and have the video work both ways, however I can only here the audio from the ca...
android|video-streaming|webrtc|pubnub
4
2016-04-14T00:51:05.153Z
2,016
4
0
3
757
1
1,198
60
4
4
true
false
false
false
false
false
low
36,612,018
Gradle problems. Error converting bytecode to dex
<p>I'm a beginner and I've tried to make my first app as a project in my college. I have a problem in Gradle and need help. I tried to run the app but its giving me an error:</p> <pre><code>Gradle build finished with 47 error(s) in 1m 43s 929ms </code></pre> <p>and this </p> <p><div class="snippet" data-lang="js" d...
I'm a beginner and I've tried to make my first app as a project in my college. I have a problem in Gradle and need help. I tried to run the app but its giving me an error: [CODE] and this [CODE] What can I do? I tried to rebuild, clean and make this: [CODE] but nothing is working. Help!
android|android-gradle-plugin
1
2016-04-14T00:56:08.943Z
2,016
4
0
3
948
0
287
49
2
3
true
true
false
false
false
false
low
36,612,071
ImageView causes NestedScrollView to automatically scroll upward
<p>I have an ImageView inside RelativeView that is inside NestedScrollView, when I set the ImageView height it causes the an automatic upward scroll right after the inflation. This behaviour doesn't happen when I set the ImageView height to be wrap_content. What could be the reason? Is this some kind of bug in the supp...
I have an ImageView inside RelativeView that is inside NestedScrollView, when I set the ImageView height it causes the an automatic upward scroll right after the inflation. This behaviour doesn't happen when I set the ImageView height to be wrap_content. What could be the reason? Is this some kind of bug in the support...
android|android-layout
0
2016-04-14T01:02:28.157Z
2,016
4
1
3
510
1
691
64
2
2
true
false
false
false
false
false
zero
36,612,141
Is listening to ServiceState changes a valid way to detect user removing/inserting/swapping SIM card
<p>I'm implementing a Service (but currently i'm testing the code in an Activity) that detects SIM swap/insertion/removal. When SIM change is detected, i plan to announce the event to other parts of app and store new MSISDN for later use (or clear the stored one if no sim is present). </p> <p>I used to listen to andro...
I'm implementing a Service (but currently i'm testing the code in an Activity) that detects SIM swap/insertion/removal. When SIM change is detected, i plan to announce the event to other parts of app and store new MSISDN for later use (or clear the stored one if no sim is present). I used to listen to android.intent.ac...
android|sim-card|phone-state-listener
2
2016-04-14T01:10:12.953Z
2,016
4
1
3
737
0
2,013
100
3
1
true
true
false
false
false
false
low
36,612,170
Get Resource Id For Google Drive API Android
<p>I am using the drive api to create a file in the hidden app folder on google drive. I want to get the resource id of that file but it keeps on returning null. Here is the code. Once it creates the file it is supposed to get the file resource id in the call back but it returns null. It gets the normal drive it ok but...
I am using the drive api to create a file in the hidden app folder on google drive. I want to get the resource id of that file but it keeps on returning null. Here is the code. Once it creates the file it is supposed to get the file resource id in the call back but it returns null. It gets the normal drive it ok but th...
android|google-drive-android-api
3
2016-04-14T01:13:03.697Z
2,016
4
1
3
1,099
1
517
44
2
1
true
false
false
false
false
false
low
36,612,195
GreenDAO does not update the entity's children tree after insert child entity
<p>I have two GreenDAO entity, "Card" have n-1 relation with "Lesson".</p> <pre><code>public class Card { private Long id; private String SourceText; private String TargetText; private byte[] Image; private Long Point; private Long lessonID; } public class Lesson { private Long id; p...
I have two GreenDAO entity, "Card" have n-1 relation with "Lesson". [CODE] In activity A1 - viewing a lesson L1, I used startActivityForResult(A2), go to A2, and insert some cards to L1's cards list. The record is inserted to DB, but when I finish() in A2 and back to A1, in the onResult event: [CODE] The cards list is ...
android|orm|refresh|updates|greendao
1
2016-04-14T01:15:44.070Z
2,016
4
1
3
761
1
753
77
5
2
true
false
false
false
false
false
low
36,612,419
SQL PreparedStatement Android
<p>I am trying to insert my data into my database, I tried manually putting in values but I keep getting error. I debug and found out my values is not null, but the error </p> <pre><code>Cannot insert the value NULL into column 'AssignedGameID', table 'dementiafypdb.dbo.gameRecord'; column does not allow nulls. INSERT...
I am trying to insert my data into my database, I tried manually putting in values but I keep getting error. I debug and found out my values is not null, but the error [CODE] This is my database connection: [CODE] This is my code to access the database private class AsyncCaller extends AsyncTask { [CODE] } May I know w...
android|sql
0
2016-04-14T01:44:42.080Z
2,016
4
1
3
96
1
340
29
2
3
true
false
false
false
false
false
zero
36,612,445
How compatible is JavaFX Webview with Android's Webview?
<p>I've been trying to port a JavaFX project using Netbeans and Gradle into an Android APK file format and for the most part it works well! The issue I'm having is with the WebView component of Android in particular? I can get it to show a static webpage in Android Webview without my app falling over with a FATAL EXCEP...
I've been trying to port a JavaFX project using Netbeans and Gradle into an Android APK file format and for the most part it works well! The issue I'm having is with the WebView component of Android in particular? I can get it to show a static webpage in Android Webview without my app falling over with a FATAL EXCEPTIO...
javascript|android|javafx|webview|apk
0
2016-04-14T01:47:25.763Z
2,016
4
1
3
995
1
800
56
5
4
true
false
false
false
false
false
zero
36,612,533
getContentLength returns -1 when trying to get XML file
<p>I am new to Android programming and would like to get some help on why <code>getContentLength()</code> returns <code>-1</code> when I try to get the XML data.</p> <p>The XML url is</p> <pre><code>String url = "http://www.systembolaget.se/api/assortment/products/xml"; </code></pre> <hr> <pre><code> int count; ...
I am new to Android programming and would like to get some help on why getContentLength() returns -1 when I try to get the XML data. The XML url is [CODE] [CODE] All help is much appreciated Thank you! :)
java|android|xml
1
2016-04-14T01:58:45.650Z
2,016
4
1
3
59
1
204
55
3
2
true
false
false
false
false
false
low
36,612,672
Method involving AlarmManager isn't functioning the way I need it to
<p>I have a method named lock that sets a random lock screen password and locks the screen using DevicePolicyManager whenever a button is pressed. Right before the phone locks, this lock method also schedules an alarm to go off after a certain amount of time. This alarm calls a method to reset the lock screen password...
I have a method named lock that sets a random lock screen password and locks the screen using DevicePolicyManager whenever a button is pressed. Right before the phone locks, this lock method also schedules an alarm to go off after a certain amount of time. This alarm calls a method to reset the lock screen password to ...
java|android|broadcastreceiver|alarmmanager|device-admin
2
2016-04-14T02:13:16.540Z
2,016
4
2
3
58
1
1,717
68
5
5
true
false
false
false
false
false
low
36,612,784
Method to make ndk-build delete only those libs folder for which build is being triggered
<p>We have two separate <code>Application.mk</code> file one which has <code>APP_ABI := armeabi armeabi-v7a</code> and other which has <code>APP_ABI := x86</code>. The reason for doing this is we don't always want to build for X86 platform but only when certain conditions are met. So, the arm build is triggered uncondi...
We have two separate Application.mk file one which has APP_ABI := armeabi armeabi-v7a and other which has APP_ABI := x86 . The reason for doing this is we don't always want to build for X86 platform but only when certain conditions are met. So, the arm build is triggered unconditionally by a shell script, which then tr...
android-ndk|ndk-build
1
2016-04-14T02:26:32.500Z
2,016
4
2
3
542
1
1,064
89
2
0
false
false
false
false
false
false
low
36,612,807
How to do json mapping on multiple json object with same key
<p>I've been trying to use GSON and <a href="http://www.jsonschema2pojo.org" rel="nofollow">JsonScheme2Pojo</a> to map my json object.</p> <p>So far I've created this class.</p> <pre><code>public class MPayTransaction { @SerializedName("mp_request_type") @Expose private String mpRequestType; @SerializedName("status_...
I've been trying to use GSON and JsonScheme2Pojo to map my json object. So far I've created this class. [CODE] and then i called the class this way: [CODE] This is working and I only need to call for example MPayTransaction.getAmount() to get the value of amount; I've been wondering, how do I map multiple json object? ...
android|jsonschema2pojo|gson
0
2016-04-14T02:29:18.697Z
2,016
4
2
3
1,156
1
494
60
3
4
true
false
false
false
false
false
zero
36,612,900
Query working in sqlite db browser but not in android
<p>My database has two tables - <code>Bundles</code> and <code>Claim_records</code>. Bundles has columns <code>bundle_id</code> and <code>bundle_date</code>. A bundle can have multiple claim records. As such each <code>claim_record</code> holds a <code>bundle_id</code> it associates with a record in the <code>Bundles<...
My database has two tables - Bundles and Claim_records . Bundles has columns bundle_id and bundle_date . A bundle can have multiple claim records. As such each claim_record holds a bundle_id it associates with a record in the Bundles table. For the purpose of populating a listview with bundles, I need to create an sqli...
android|sqlite|android-sqlite
0
2016-04-14T02:37:28.503Z
2,016
4
2
3
253
1
2,152
53
3
2
true
false
false
false
false
false
zero
36,612,948
Unable to call startService (intent) function. Intent is null pointer exception
<p>I have add a background music in my app.I have three activities so I want to design a music controller class which is controlled by the three activities. But when I create an object of serviceIntent in MainActivtiy and passed to the MusicController class, the serviceIntent can not be started and the error is null p...
I have add a background music in my app.I have three activities so I want to design a music controller class which is controlled by the three activities. But when I create an object of serviceIntent in MainActivtiy and passed to the MusicController class, the serviceIntent can not be started and the error is null point...
android|android-intent
0
2016-04-14T02:44:09.093Z
2,016
4
2
3
2,727
2
3,220
79
2
2
true
false
true
false
false
false
zero
36,612,984
Why are my Volley GET requests so slow?
<p>I'm making a JSON request using volley. In a browser, this request takes ~200 ms. In my app, the same request is taking an average of 5.5 seconds (sometimes as high as 7-8 seconds). Here is my code:</p> <pre><code> JsonArrayRequest request = new JsonArrayRequest(url, new Response.Listener&lt;JSONArra...
I'm making a JSON request using volley. In a browser, this request takes ~200 ms. In my app, the same request is taking an average of 5.5 seconds (sometimes as high as 7-8 seconds). Here is my code: [CODE] I went ahead and did the same request using OkHttp and the result is around 1.5-2 seconds. Why is this taking so l...
java|android|android-volley
2
2016-04-14T02:48:19.393Z
2,016
4
2
3
347
0
559
39
3
1
true
true
false
false
false
false
low
36,612,989
Firebase get the last id - limitToLast not working - android
<p>I am trying to get the last id of my messages node, but it's not getting the last one. For example, my last id is 12, but it's always returning the id of item 10. My code is like this:</p> <pre><code>final Query query = firebase.orderByChild("messageId").limitToLast(1); query.addListenerForSingleValueEvent(new Valu...
I am trying to get the last id of my messages node, but it's not getting the last one. For example, my last id is 12, but it's always returning the id of item 10. My code is like this: [CODE] It returns something like this: [CODE] It should return: [CODE] My data is something like this: [CODE] In addition to that, When...
android|firebase
5
2016-04-14T02:48:46.517Z
2,016
4
2
3
2,919
1
511
60
2
4
true
false
true
false
false
false
low
36,613,206
Logcat Error Run time Exception, unable to start activity
<p>I was wondering why that when I tried running the application in the emulator. The app stopped working. I was hoping what was the reason of my run time exception.</p> <p>This is the copy of my full logcat:</p> <pre><code>04-14 02:40:39.904 6836-6836/com.example.jas.emojiexpress E/AndroidRuntime: FATAL EXCEPTION: ...
I was wondering why that when I tried running the application in the emulator. The app stopped working. I was hoping what was the reason of my run time exception. This is the copy of my full logcat: [CODE] Here is my HomePage java: [CODE] } Here is content of my homepage.xml [CODE]
java|android|xml|android-studio|logcat
0
2016-04-14T03:12:34.473Z
2,016
4
3
3
679
3
282
57
5
3
true
false
false
false
false
false
zero
36,613,283
Getting "unresolved references" and "can't find superclass" warnings from Proguard
<p>I have integrated some third-party source into my android project and I'm having trouble getting it to build with proguard enabled. The build is failing with this:</p> <pre><code>Warning: there were 123 unresolved references to classes or interfaces. You may need to add missing library jars or update their...
I have integrated some third-party source into my android project and I'm having trouble getting it to build with proguard enabled. The build is failing with this: [CODE] There are MANY notes and warnings to sort through and I can't make heads or tails of it. I have tried adding --keep class example.package.** { *; } f...
android|build|proguard|minify|android-proguard
4
2016-04-14T03:20:02.047Z
2,016
4
3
3
2,260
2
701
82
5
1
true
false
false
false
false
false
low
36,613,293
Android Text-To-Speech speak Cantonese with "alphabet" programmatically
<p>I would like to speak "A13" with "A" pronounced in "English" and "13" in "Cantonese"; Below is the code I used but it just gives me "13" in Putonghua.</p> <pre><code>tts.setLanguage(Locale.ENGLISH); tts.speak("A", TextToSpeech.QUEUE_FLUSH, null); tts.setLanguage(Locale.TRADITIONAL_CHINESE); tts.speak("13", TextToS...
I would like to speak "A13" with "A" pronounced in "English" and "13" in "Cantonese"; Below is the code I used but it just gives me "13" in Putonghua. [CODE] I have followed the link below and installed the tts package for "cantonese", but I still would not set "Cantonese" in my app. However, if I use Ekho tts engine, ...
android|internationalization|google-text-to-speech
4
2016-04-14T03:21:47.657Z
2,016
4
3
3
2,635
1
576
71
3
1
true
false
true
false
false
false
low
36,613,334
Change navigation color on every different tab using ViewPager
<p>Hello This question might have been asked but I am unable to find the answer to my question. I recently worked on a viewpage template using the following tutorial: <a href="http://www.androidhive.info/2015/09/android-material-design-working-with-tabs/" rel="nofollow">http://www.androidhive.info/2015/09/android-mater...
Hello This question might have been asked but I am unable to find the answer to my question. I recently worked on a viewpage template using the following tutorial: http://www.androidhive.info/2015/09/android-material-design-working-with-tabs/ This tutorail is great but now I am trying to make it so each time the user s...
android|xml|android-fragments|android-viewpager|styles
0
2016-04-14T03:25:40.040Z
2,016
4
3
3
628
0
685
62
5
2
true
true
false
false
false
false
zero
36,613,394
Bluetooth connect failed. java.io.IOException: read failed, socket might closed or timeout, read ret: -1
<p>This question confused me for a long time. I had seen all kinds of solutions,including <a href="https://stackoverflow.com/questions/18657427/ioexception-read-failed-socket-might-closed-bluetooth-on-android-4-3/18786701#18786701">IOException: read failed, socket might closed - Bluetooth on Android 4.3</a> , but all n...
This question confused me for a long time. I had seen all kinds of solutions,including IOException: read failed, socket might closed - Bluetooth on Android 4.3 , but all not work. Main ideas: 1. bond the device; 2. create a socket by uuid; 3. cancelDiscovery and connect. The log list is as follows: [CODE] Other informa...
android|sockets|bluetooth
3
2016-04-14T03:32:02.590Z
2,016
4
3
3
2,005
2
495
104
3
1
true
false
false
false
false
false
low
36,613,425
get sd card path in android vs hard coded path
<p>my code works fine, it downloads image to sd card, however , i get this warning where i defined my sd card path <strong>"Do not hardcode "/sdcard/"; use Environment.getExternalStorageDirectory().getPath() instead"</strong></p> <pre><code>@Override protected String doInBackground(String... aurl) { int co...
my code works fine, it downloads image to sd card, however , i get this warning where i defined my sd card path "Do not hardcode "/sdcard/"; use Environment.getExternalStorageDirectory().getPath() instead" [CODE] the problem is, if i use the suggested solution, then i won't be able to give my downloaded file a new name...
android
0
2016-04-14T03:36:12.150Z
2,016
4
3
3
882
1
330
46
1
1
true
false
false
false
false
false
zero
36,613,463
Recyclerview changing items when is scrolled
<p>Can someone explain to me, what the problem is?</p> <p>When I scroll down and then back to the top, my items were changed for other items in the list, and if I scroll again, the items again are changed.</p> <p>This is my Adapter.</p> <pre><code>public class AcademicAdapter extends RecyclerView.Adapter&lt;Academic...
Can someone explain to me, what the problem is? When I scroll down and then back to the top, my items were changed for other items in the list, and if I scroll again, the items again are changed. This is my Adapter. [CODE]
android|android-recyclerview
6
2016-04-14T03:40:13.397Z
2,016
4
3
3
22,667
6
222
44
2
1
true
false
true
true
false
false
medium
36,613,560
How to maintain value of each EditText in customlistview
<p>Good Day, I have a problem with maintaining value on each EditText in a custom listview for example I rotate the screen, each value has gone, Please Help me what approach should I do, Thanks in advance.</p> <p><a href="https://i.stack.imgur.com/qiVqs.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.co...
Good Day, I have a problem with maintaining value on each EditText in a custom listview for example I rotate the screen, each value has gone, Please Help me what approach should I do, Thanks in advance. Picture Adapter [CODE]
java|android|listview|android-studio
1
2016-04-14T03:51:28.183Z
2,016
4
3
3
181
3
225
56
4
1
true
false
false
false
false
false
low
36,613,582
Can we create mutiple test run for a single project in devicefarm
<p>I am using <code>aws devicefarm</code> to run my android tests, and absolutely loved it.</p> <p>So everytime I run my script it creates a new project in my account but I don't want to do that. I just want to create single project in my account with all the testruns. Name of the test run will be combined with timest...
I am using aws devicefarm to run my android tests, and absolutely loved it. So everytime I run my script it creates a new project in my account but I don't want to do that. I just want to create single project in my account with all the testruns. Name of the test run will be combined with timestamp for more clarity. Is...
android|amazon-web-services|android-espresso|aws-cli|aws-device-farm
0
2016-04-14T03:53:21.087Z
2,016
4
3
3
53
1
761
65
5
0
false
false
false
false
false
false
zero
36,613,692
GCM push notification DELAY
<p>I really stuck at here, when I make a push notification, the message was delay around 10 minutes. I check on logcat, only when the packageName is NOT LOCKED, the message will arrived directly. How I can control this ?</p> <p>Any help is really appreciated.</p> <p>Here is my logcat</p> <p><strong>Logcat</strong></...
I really stuck at here, when I make a push notification, the message was delay around 10 minutes. I check on logcat, only when the packageName is NOT LOCKED, the message will arrived directly. How I can control this ? Any help is really appreciated. Here is my logcat Logcat [CODE] Manifest [CODE] ServerSide [CODE] MyGc...
android|google-cloud-messaging
1
2016-04-14T04:06:11.090Z
2,016
4
4
3
3,807
3
343
27
2
4
true
false
true
false
false
false
low
36,613,732
My Android app looks good on my emulator, looks aweful on my phone
<p>I am currently working on an Alarm app for my phone. I started the app on my Genymotion emulator on my PC, and it looks like i want it too: <a href="http://imgur.com/OkgjLFG" rel="nofollow">http://imgur.com/OkgjLFG</a></p> <p>However, when I start it on my phone via android studio it looks like this: <a href="http:...
I am currently working on an Alarm app for my phone. I started the app on my Genymotion emulator on my PC, and it looks like i want it too: http://imgur.com/OkgjLFG However, when I start it on my phone via android studio it looks like this: http://imgur.com/NcxuFT6 When I wrote my xml code, i made sure to use things li...
android|android-studio|android-emulator|android-xml|butterknife
0
2016-04-14T04:10:48.863Z
2,016
4
4
3
72
0
914
66
5
2
true
true
false
false
false
false
zero
36,613,833
Implement universal image loader on custom listvew Android
<p>How do I implement this? I've been looking everywhere and I'm lost. If someone could enlighten me that would be great. This is my current custom <code>adapter</code>:</p> <pre><code>public class CustomListAdapter extends ArrayAdapter&lt;String&gt; { private final Activity context; private final String[] itemname; ...
How do I implement this? I've been looking everywhere and I'm lost. If someone could enlighten me that would be great. This is my current custom adapter : [CODE] Note that the above code has some errors. First, at the activity.getApplicationContext() : I don't know why. For the second one, the imageLoader says it canno...
android|listview|universal-image-loader
1
2016-04-14T04:21:04.457Z
2,016
4
4
3
207
3
337
58
3
1
true
false
false
false
false
false
low
36,613,835
error java.lang.ExceptionInInitializerError in ARQoid SPARQL Query
<p>Please help me out... I am using ARQoid in Android Studio, I imported all jars from the ARQoid project.</p> <p>The code is below. The sparql query is no problem, I tested the endpoint.</p> <pre><code> String sparqlEndpoint = "http://XXX/sparql"; String sparqlQuery = "PREFIX bf: &lt;http://bibframe.org/voca...
Please help me out... I am using ARQoid in Android Studio, I imported all jars from the ARQoid project. The code is below. The sparql query is no problem, I tested the endpoint. [CODE] this line "Query query = QueryFactory.create(sparqlQuery, Syntax.syntaxARQ);" is where I get an error The full errors are here: [CODE]
java|android|sparql
1
2016-04-14T04:21:38.790Z
2,016
4
4
3
147
2
319
66
3
2
true
false
false
false
false
false
low
36,613,846
Android app unable to post details to url
<p>I have an Android app that posts to "<a href="http://jont.byethost3.com/gcmtest/gcm.php?shareRegId=true" rel="nofollow">http://jont.byethost3.com/gcmtest/gcm.php?shareRegId=true</a>". Once that is accessed, the app posts an id key to the script and the php file saves it to a textfile on my file server. I have manual...
I have an Android app that posts to " http://jont.byethost3.com/gcmtest/gcm.php?shareRegId=true ". Once that is accessed, the app posts an id key to the script and the php file saves it to a textfile on my file server. I have manually entered the url into my browser and it successfully generated an empty text file due ...
java|php|android|restful-url
1
2016-04-14T04:22:30.560Z
2,016
4
4
3
83
1
730
41
4
4
true
false
false
false
false
false
low
36,613,851
Why does my GridView doesn't work?
<p>I was trying to practice to use GridView in Android Studio, I don't know why I keep getting this exception.</p> <p>Here is the code of my main class.</p> <pre><code>public class MainActivity extends AppCompatActivity { private GridView turtle; private List&lt;Map&lt;String,Object&gt;&gt; datalist; private int[] ic...
I was trying to practice to use GridView in Android Studio, I don't know why I keep getting this exception. Here is the code of my main class. [CODE] Here is the code of my main XML file [CODE] Here is the code of my item layout: [CODE] My log: 04-13 21:14:21.940 2558-2558/com.example.jinyu.gridleview E/AndroidRuntime:...
java|android|xml|gridview
1
2016-04-14T04:22:53.327Z
2,016
4
4
3
223
2
4,318
34
4
3
true
false
false
false
false
false
low
36,613,928
Using Blob to set video source on Chrome Moble
<p>I want to use xhr to download a video file and then set the source using window.createObjectURL.</p> <p>This code works fine in Chrome &amp; Firefox desktop, on Firefox Android as well but not on Chrome Android:</p> <p><div class="snippet" data-lang="js" data-hide="false"> <div class="snippet-code"> <pre class="sn...
I want to use xhr to download a video file and then set the source using window.createObjectURL. This code works fine in Chrome & Firefox desktop, on Firefox Android as well but not on Chrome Android: [CODE] On Chrome Android, the video will load but you can not play it once loaded and no error is displayed on the cons...
javascript|android|google-chrome|html5-video|chromium
3
2016-04-14T04:31:21.153Z
2,016
4
4
3
1,025
0
480
46
5
3
true
true
false
false
false
false
low
36,614,107
Slow switching between android activities. Trying to use a Progression Dialog to show its loading
<p>So this is a tuff one. I have a activity that calls a class that call a http downloader which is the async task. What I want to do is have a please wait loading screen notification for the user while the activity is getting all the data from the web. I don't have a clue on how to get the loading screen to be called....
So this is a tuff one. I have a activity that calls a class that call a http downloader which is the async task. What I want to do is have a please wait loading screen notification for the user while the activity is getting all the data from the web. I don't have a clue on how to get the loading screen to be called. Us...
java|android|android-activity|progressdialog
3
2016-04-14T04:49:39.287Z
2,016
4
4
3
718
1
1,080
97
4
0
false
false
false
false
false
false
low
36,614,172
Unable to upload new APK file to Android Play store (Android Pay Permission)
<p>When I uploaded a new .apk to the Google Play store, it rejected my submission saying, "Your recent app submission was rejected for violating the Google Play Developer Program Policies. If you submitted an update, the previous version of your app is still live on Google Play.".</p> <p>I got a mail stating : </p> <...
When I uploaded a new .apk to the Google Play store, it rejected my submission saying, "Your recent app submission was rejected for violating the Google Play Developer Program Policies. If you submitted an update, the previous version of your app is still live on Google Play.". I got a mail stating : We detected that a...
android-studio|build.gradle|android-permissions|android-pay
3
2016-04-14T04:57:03.573Z
2,016
4
4
3
1,485
2
1,919
76
4
5
true
false
false
false
false
false
low
36,614,206
how to set layout_weight of the textview in a fragment in LinearLayout
<p>I am making a program on ListView + Checkbox in a fragment, but the presentation is creating problem... Actually i have set layout_weight of the textview and checkbox but it is not working, so i want to set it programatically, And the checkbox+textview that i am refering are not in the current layout,actually i am ...
I am making a program on ListView + Checkbox in a fragment, but the presentation is creating problem... Actually i have set layout_weight of the textview and checkbox but it is not working, so i want to set it programatically, And the checkbox+textview that i am refering are not in the current layout,actually i am infl...
android|android-layout|android-fragments|android-layout-weight
0
2016-04-14T05:00:46.983Z
2,016
4
5
3
950
3
569
70
4
3
true
false
false
false
false
false
zero
36,614,248
Problems with Android Debug Bridge sockets: IOException
<h1>Problem</h1> <p>Hello all, I've come across a very problematic issue/bug with ADB or Android Studio or both.</p> <p>So I have my android phone connected via USB with USB Debugging enabled testing my app. I had added a few functions and wanted to test them (two problematic activities), so I went ahead and ran it. ...
Problem Hello all, I've come across a very problematic issue/bug with ADB or Android Studio or both. So I have my android phone connected via USB with USB Debugging enabled testing my app. I had added a few functions and wanted to test them (two problematic activities), so I went ahead and ran it. Upon clicking the nav...
java|android|adb|ioexception|localsocket
0
2016-04-14T05:05:09.733Z
2,016
4
5
3
1,210
1
2,534
55
5
2
true
false
false
false
false
false
zero
36,614,313
Change font size of Toolbar title in CollapsingToolbarLayout in android
<p>I have an Toolbar(android.support.v7.widget.Toolbar) inside android.support.design.widget.CollapsingToolbarLayout and i want to change the font size of toolbar title. I have tried app:titleTextAppearance and some older suggestions but they don't work. my code is as bellow.</p> <pre><code> &lt;android.support.des...
I have an Toolbar(android.support.v7.widget.Toolbar) inside android.support.design.widget.CollapsingToolbarLayout and i want to change the font size of toolbar title. I have tried app:titleTextAppearance and some older suggestions but they don't work. my code is as bellow. [CODE] inside my style.xml [CODE] inside .java...
android|android-styles|android-collapsingtoolbarlayout
2
2016-04-14T05:11:32.433Z
2,016
4
5
3
10,968
3
327
71
3
3
true
false
true
false
false
false
low
36,614,403
Android: Fetch list of data using Retrofit
<p>I am trying to implement Fetch list of data using Retrofit, It's not working, It shows blank screen, I can't able to get data, My Json Response is as below</p> <pre><code> [ { "code": 1, "message": "listed!", "totalrecord": 2, "result": ...
I am trying to implement Fetch list of data using Retrofit, It's not working, It shows blank screen, I can't able to get data, My Json Response is as below [CODE] MainActivity.java [CODE] Interface is api.java [CODE] Result.Java [CODE] Flower.java [CODE] Please help me !!! Log: [CODE]
android|web-services|android-studio|retrofit
0
2016-04-14T05:19:23.877Z
2,016
4
5
3
4,372
2
285
42
4
6
true
false
true
false
false
false
zero
36,614,411
Unable to grab all rows that Matches the id in sqlite
<p>I have the following code where Im trying trying to grab all rows that matches the id.</p> <pre><code>public ChartData getCompliedChartCounts(int id) { SQLiteDatabase db = this.getReadableDatabase(); SQLiteDatabase sqLiteDatabase = this.getWritableDatabase(); ContentValues contentValues = n...
I have the following code where Im trying trying to grab all rows that matches the id. [CODE] When Im invoking it like getCompliedChartCounts(3) , I want it to grab all rows that contains the id 3. But problem is that, it grabs only the first row that matches the id 3 whereas the remaining rows are not being fetched. H...
android|sqlite
1
2016-04-14T05:20:20.317Z
2,016
4
5
3
50
1
343
53
2
1
true
false
false
false
false
false
low
36,614,432
Android Firestick stock remote mouse
<p>I am trying to make an app for the fire tv stick similar to the app call Mouse Toggle for the fire stick tv.</p> <p>The app is supposed to take over control of the stock remote and make it into a cursor that is controlled via that stock remotes directional pad.I am emulating a mouse overlay by using a transparent a...
I am trying to make an app for the fire tv stick similar to the app call Mouse Toggle for the fire stick tv. The app is supposed to take over control of the stock remote and make it into a cursor that is controlled via that stock remotes directional pad.I am emulating a mouse overlay by using a transparent activity and...
java|android
0
2016-04-14T05:21:55.420Z
2,016
4
5
3
261
0
1,559
36
2
0
false
true
false
false
false
false
zero
36,614,452
Having trouble filling out ImageView from database method
<p>So I have been working on the Android platform and I have run into a problem. I have been using FireBase as my choice of database to store images uploaded from the app. When the user picks an image to upload, the picture is encoded with Base64 onto a string, and this is what is saved in the database. Now, I would li...
So I have been working on the Android platform and I have run into a problem. I have been using FireBase as my choice of database to store images uploaded from the app. When the user picks an image to upload, the picture is encoded with Base64 onto a string, and this is what is saved in the database. Now, I would like ...
java|android
0
2016-04-14T05:24:14.780Z
2,016
4
5
3
29
0
2,096
57
2
2
true
true
false
false
false
false
zero
36,614,510
android studio build error : firewall blocking gradle access to studio
<p>My firewall is not letting me access the the gradle . is there a way around this? </p> <p>FAILURE: Build failed with an exception.</p> <ul> <li>What went wrong: A problem occurred configuring root project 'MyApplication3'. <blockquote> <p>Could not resolve all dependencies for configuration ':classpath'. Coul...
My firewall is not letting me access the the gradle . is there a way around this? FAILURE: Build failed with an exception. What went wrong: A problem occurred configuring root project 'MyApplication3'. Could not resolve all dependencies for configuration ':classpath'. Could not resolve com.android.tools.build:gradle:1....
android|gradle|firewall
-2
2016-04-14T05:28:03.327Z
2,016
4
5
3
5,790
2
611
70
3
1
true
false
true
false
false
true
negative
36,614,569
updating final List before updating arrayAdapter/listView
<p>I am trying to update a listview after the user deleted an entry. I found I needed to use <code>notifyDataSetChanged()</code>. But to use that I need to update the arrayList first (correct?). But I can't change that because that List is declared final.</p> <p>It is final because I need it in the <code>getView</code...
I am trying to update a listview after the user deleted an entry. I found I needed to use notifyDataSetChanged() . But to use that I need to update the arrayList first (correct?). But I can't change that because that List is declared final. It is final because I need it in the getView method and otherwise Android Studi...
java|android|listview|android-arrayadapter
1
2016-04-14T05:33:23.740Z
2,016
4
5
3
103
1
411
57
4
1
true
false
false
false
false
false
low
36,614,628
How to resolve dependency com.github.afollestad:inquiry:b13a58b902 not found error in AIDE?
<p>I am working on building an icon pack using material IOS template repository from github in AIDE. You can find the repository at <a href="https://github.com/materialos/Android-Icon-Pack" rel="nofollow">https://github.com/materialos/Android-Icon-Pack</a> . But I am getting an error , —dependency com.github.afolle...
I am working on building an icon pack using material IOS template repository from github in AIDE. You can find the repository at https://github.com/materialos/Android-Icon-Pack . But I am getting an error , —dependency com.github.afollestad:inquiry:b13a58b902 not found error in build.gradle file. And the IDE is also no...
maven|android-gradle-plugin|android-library|aide-ide
1
2016-04-14T05:38:44.810Z
2,016
4
5
3
998
1
471
91
4
1
true
false
false
false
false
false
low
36,614,637
How to save image in the gallery?
<p>I am not able to see the image anywhere. There is no compilation error or runtime error.<br> I am using Picasso to fetch image.</p> <pre><code>public class DownloadImage extends Activity { ImageView imageView; private Button saveBtn; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreat...
I am not able to see the image anywhere. There is no compilation error or runtime error. I am using Picasso to fetch image. [CODE] Please check if there is any logical error. I just need to save the image which is in image view to the gallery.
android|image
0
2016-04-14T05:39:12.087Z
2,016
4
5
3
51
2
243
33
2
1
true
false
false
false
false
false
zero
36,614,641
Expand a searchview on menuitem click
<p>I want to show a search menuitem in my activity and want to expand this search menuitem in searchview when this menuitem will be clicked. </p> <p>Below is the search menuItem code. </p> <pre><code> &lt;item android:id="@+id/action_search" android:title="@string/search_view_hint" app:actionViewClass="and...
I want to show a search menuitem in my activity and want to expand this search menuitem in searchview when this menuitem will be clicked. Below is the search menuItem code. [CODE] in onCreateOptionsMenu function [CODE] in onOptionsItemSelected [CODE] But the closeListener is not working on this searchview. [CODE] Pleas...
android|menuitem|searchview
1
2016-04-14T05:39:32.580Z
2,016
4
5
3
769
0
468
37
3
4
true
true
false
false
false
false
low
36,614,675
Why is Volley's onResponse not called
<p>I am fetching json data through Volley. The problem I am having is that Volley's <code>onResponse</code> is never called, and hence the data are not parsed and displayed.</p> <p><strong>Sample JSON data</strong></p> <pre><code>{ "title": "This is a sample text title title", "cat": { "origin" : "Unit...
I am fetching json data through Volley. The problem I am having is that Volley's onResponse is never called, and hence the data are not parsed and displayed. Sample JSON data [CODE] NewsActivity [CODE] The things I know In logcat, loadNews method is called. I'm logging Volley, and from logcat volley is not complaining ...
android|android-volley
2
2016-04-14T05:42:27.603Z
2,016
4
5
3
6,502
2
519
37
2
2
true
false
true
false
false
false
low
36,614,805
How to design this?
<p>I am designing a registration screen.Here I need to place the button on circular image bottom corner,this is my output and I am using 3rd party library from github <strong>de.hdodenhof:circleimageview:2.0.0</strong> Now I want to place camera bottom on bottom- right corner of image view <a href="https://i.stack.im...
I am designing a registration screen.Here I need to place the button on circular image bottom corner,this is my output and I am using 3rd party library from github de.hdodenhof:circleimageview:2.0.0 Now I want to place camera bottom on bottom- right corner of image view Need Output [CODE]
android|android-layout
0
2016-04-14T05:54:32.297Z
2,016
4
5
3
49
1
289
19
2
1
true
false
false
false
false
false
zero
36,614,810
How to hide TableSection in Xamarin?
<p>I have a Settings table with multiple TableSection under TableRoot:</p> <pre><code>&lt;TableView HasUnevenRows="True" Intent="Settings"&gt; &lt;TableRoot&gt; &lt;TableSection Title="Sec1"&gt; &lt;ViewCell&gt; &lt;StackLayout&gt; ...
I have a Settings table with multiple TableSection under TableRoot: [CODE] I'm not able to dynamically show or hide the TableSection as TableSection and ViewCell doesn't contain IsVisible property If hideLayout.IsVisible = false; is set, then there is empty space left in this place Please provide any suggestion to impl...
xamarin|xamarin.android|xamarin.forms
1
2016-04-14T05:55:17.610Z
2,016
4
5
3
1,079
0
326
36
3
1
true
true
false
false
false
false
low
36,614,825
I am trying to print wireless for label printer QL-720NW but I am gettting ERROR_NOT_MATCH_ADDRESS?
<p>The Code I am using .</p> <p>I am print the error code on textview.This is given the ERROR_NOT_MATCH ADDRESS. I am using the this by some links and with brother Sdk.</p> <p>The Links I am using this By <a href="http://ERROR_WRONG_LABEL%20when%20trying%20to%20print%20wireless%20using%20Android%20Brother%20Sdk%20fo...
The Code I am using . I am print the error code on textview.This is given the ERROR_NOT_MATCH ADDRESS. I am using the this by some links and with brother Sdk. The Links I am using this By Link using [CODE] I am print an image from resources folder also I am trying this to print the text also. but every time I am gettin...
java|android|printing
2
2016-04-14T05:56:26.610Z
2,016
4
5
3
416
1
408
99
3
1
true
false
false
false
false
false
low
36,614,857
Simulate the solution for Security Alert - unsafe implementation of X509TrustManager
<p>So, Lately I am getting the below warning inside my developer console and to resolve the same I have done the required fixes. </p> <p><a href="https://i.stack.imgur.com/dRtbA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dRtbA.png" alt=""></a></p> <p>As suggested by Google , <a href="https://s...
So, Lately I am getting the below warning inside my developer console and to resolve the same I have done the required fixes. As suggested by Google , here To confirm you’ve made the correct changes, submit the updated version of your app to the Developer Console and check back after five hours. If the app hasn’t been ...
android|android-security|developer-console
4
2016-04-14T05:58:16.950Z
2,016
4
5
3
167
1
722
84
3
0
false
false
false
false
false
false
low
36,614,889
Insert populated listview items to database in android using php
<p>Here i am populating a listview from database using php file..after fetching from database i want to add those to another table..here in my <strong>onclick of add button</strong> toast message is displaying respective name..but when i try to add the name to database in <strong>uploadImage()</strong> method,only the ...
Here i am populating a listview from database using php file..after fetching from database i want to add those to another table..here in my onclick of add button toast message is displaying respective name..but when i try to add the name to database in uploadImage() method,only the last name present in the listview is ...
php|android|mysql|listview|android-volley
1
2016-04-14T06:00:43.943Z
2,016
4
6
3
1,461
0
507
64
5
3
true
true
false
false
false
false
low
36,614,910
Android Master/Detail - have FAB anchored to master on single or multi pane
<p>I would like a Floating Action Button (FAB) to be anchored to the master pane when showing two panes on a tablet like the Gmail app does (see attached image) but have been unable to code this functionality using the Master/Detail template in Android Studio.</p> <p>The default behavior is to have the FAB display on ...
I would like a Floating Action Button (FAB) to be anchored to the master pane when showing two panes on a tablet like the Gmail app does (see attached image) but have been unable to code this functionality using the Master/Detail template in Android Studio. The default behavior is to have the FAB display on the bottom/...
android|android-layout|floating-action-button|master-detail
0
2016-04-14T06:02:09.857Z
2,016
4
6
3
586
1
912
75
4
1
true
false
false
false
false
false
zero
36,614,917
Android Fresco: drawing different kind of image shapes
<p>Fresco has built-in support for circular images and rounded corner, but what about other shapes such as diamond or parallelogram, etc?</p> <p>It's simple to do with the standard ImageView via custom drawable that uses BitmapShader. For example, the following custom Drawable receives the image Bitmap and a slope hei...
Fresco has built-in support for circular images and rounded corner, but what about other shapes such as diamond or parallelogram, etc? It's simple to do with the standard ImageView via custom drawable that uses BitmapShader. For example, the following custom Drawable receives the image Bitmap and a slope height to make...
android|android-imageview|android-drawable|android-bitmap|fresco
1
2016-04-14T06:02:55.163Z
2,016
4
6
3
1,068
1
1,146
54
5
2
true
false
false
false
false
false
low
36,614,988
GridView inside CardView not scrolling
<p>I am using cardView as parent layout and inside that I am using a gridView to display images. But when I try to scroll the gridView , the entire cardview scrolls. </p> <p>This is my xml file :</p> <pre><code>&lt;android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:too...
I am using cardView as parent layout and inside that I am using a gridView to display images. But when I try to scroll the gridView , the entire cardview scrolls. This is my xml file : [CODE]
android
0
2016-04-14T06:07:10.673Z
2,016
4
6
3
469
0
191
38
1
1
true
true
false
false
false
false
zero
36,615,042
Getting getActivity as null in Fragment when lunching Home Activity from Notification
<p>I have below code configure to generate notification :</p> <pre><code>Intent intent = new Intent(this, HomeActivity.class); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK|Intent.FLAG_ACTIVITY_CLEAR_TOP); intent.putExtra("IsNotification",true); int mNotificationId= Pref.getValue(this, Con...
I have below code configure to generate notification : [CODE] Now in Manifest i have [CODE] Now in OnCreate and onNewIntent on both i am checking that it's bundle have some notification value Like below code commit fragment from OnCreate or onNewIntent depend on Activity Instance : [CODE] So now my issue is when onCrea...
android|android-intent|fragment|android-notifications
-1
2016-04-14T06:11:03.880Z
2,016
4
6
3
241
1
456
85
4
3
true
false
false
false
false
true
negative
36,615,065
android webview geolocation is not working
<p>I have gone through the following SO links to show geolocation into WebView but still location is not showing in WebView but works proper in mobile browser.</p> <p><a href="https://stackoverflow.com/questions/5329662/android-webview-geolocation">SO Link 1</a></p> <p><a href="https://stackoverflow.com/questions/181...
I have gone through the following SO links to show geolocation into WebView but still location is not showing in WebView but works proper in mobile browser. SO Link 1 SO Link 2 I have added following permissions into WebView: [CODE] implemented onGeolocationPermissionsShowPrompt . Added following lines: [CODE] But stil...
android|webview|geolocation|android-webview|android-location
1
2016-04-14T06:12:15.367Z
2,016
4
6
3
1,822
1
409
42
5
3
true
false
false
false
false
false
low
36,615,119
How to get an object from one class to another class?
<p>I am new to android developing. I am trying to program an application related to auction. I studied this open-source application sample and try to customize it. <a href="http://product.hubspot.com/blog/building-an-auction-app-in-a-weekend" rel="nofollow">http://product.hubspot.com/blog/building-an-auction-app-in-a-w...
I am new to android developing. I am trying to program an application related to auction. I studied this open-source application sample and try to customize it. http://product.hubspot.com/blog/building-an-auction-app-in-a-weekend It applied Parse as server to upload and retrieve data. I need to copy an object called Au...
java|android
1
2016-04-14T06:15:35.023Z
2,016
4
6
3
92
1
808
53
2
4
true
false
false
false
false
false
low
36,615,424
App crashing when detecting faces in large size images
<p>I am fetching the image from the phone's gallery and setting it in an imageview and using the mobile vision library of google trying to detect the faces in that image. i have also reduced the image size so now the first large size image will get loaded in the image view properly but if you try to load another large ...
I am fetching the image from the phone's gallery and setting it in an imageview and using the mobile vision library of google trying to detect the faces in that image. i have also reduced the image size so now the first large size image will get loaded in the image view properly but if you try to load another large siz...
android|android-studio|out-of-memory
-1
2016-04-14T06:34:28.180Z
2,016
4
6
3
395
3
496
54
3
1
true
false
false
false
false
true
negative
36,615,480
Android - create parameter in increment
<pre><code> EditText edText4 = (EditText) findViewById(R.id.f1text4); EditText edText5 = (EditText) findViewById(R.id.f1text5); EditText edText6 = (EditText) findViewById(R.id.f1text6); EditText edText7 = (EditText) findViewById(R.id.f1text7); EditText edText8 = (EditText) findVie...
[CODE] Besides create it line by line, how to code it more efficient or better way, so I could setup listener to each EditText ?
java|android
0
2016-04-14T06:37:31.103Z
2,016
4
6
3
44
3
128
39
2
1
true
false
false
false
false
false
zero
36,615,483
Textview Color is not changed by style
<p>I do have the problem that since the last update of Android Studio and the SDK to:</p> <p>Installed SDK: All including rev. 25.1.2</p> <p>Android Studio: Android Studio 2.0 Build #AI-143.2739321, built on April 5, 2016 JRE: 1.7.0_80-b15 amd64</p> <p>I cannot change the color of the TextView anymore by style .... ...
I do have the problem that since the last update of Android Studio and the SDK to: Installed SDK: All including rev. 25.1.2 Android Studio: Android Studio 2.0 Build #AI-143.2739321, built on April 5, 2016 JRE: 1.7.0_80-b15 amd64 I cannot change the color of the TextView anymore by style .... build min sdk is: [CODE] Th...
android|layout|colors|styles|android-theme
0
2016-04-14T06:37:44.167Z
2,016
4
6
3
991
1
1,268
38
5
3
true
false
false
false
false
false
zero
36,615,499
App crashing due to setImageResource(rowItem.getImageId())
<p>I am working on custom list view using arrayadapter,The app crashes with the following log</p> <pre><code>04-14 02:11:20.231 1584-1584/com.urjapawar.project E/AndroidRuntime: at com.urjapawar.project.CustomAdapter.getView(CustomAdapter.java:46) </code></pre> <p>and at <strong>line 46</strong> I have </p> <pre...
I am working on custom list view using arrayadapter,The app crashes with the following log [CODE] and at line 46 I have [CODE] Here is the code of my CustomAdapter.java [CODE] Here is RowItem.java [CODE] Here is list_item.xml [CODE] MainActivity.Java [CODE] and one more thing, when I have copied the code and added nece...
java|android|listview|android-studio
1
2016-04-14T06:38:20.577Z
2,016
4
6
3
521
4
576
58
4
6
true
false
false
false
false
false
low
36,615,504
I want to display fragment below other fragment, but it is overlapping
<p>I am trying to display one fragment below another fragment which has imageview and two text views. i am using async task to download image and its title and description from server. Inside async task i am creating a fragment.</p> <pre><code>private class ContendDownloader extends AsyncTask&lt;Void,Void,Void&gt;{ ...
I am trying to display one fragment below another fragment which has imageview and two text views. i am using async task to download image and its title and description from server. Inside async task i am creating a fragment. [CODE] This is my Fragment.java [CODE] By using above code i am able to download the content a...
java|android|android-fragments|android-asynctask
0
2016-04-14T06:38:37.127Z
2,016
4
6
3
188
0
700
70
4
4
true
true
false
false
false
false
zero
36,615,510
Can not execute onClick
<p><strong>Thank you everyone for your help, it turns out that I had included a non existent directory in the file paths for the recording and play buttons.</strong></p> <p>Alright, here is the deal.</p> <p>I used Google's example code for their AudioCapture class, <a href="http://developer.android.com/guide/topics/m...
Thank you everyone for your help, it turns out that I had included a non existent directory in the file paths for the recording and play buttons. Alright, here is the deal. I used Google's example code for their AudioCapture class, here , for a project that I am doing for a class. I am creating a soundboard app where y...
java|android
1
2016-04-14T06:38:52.243Z
2,016
4
6
3
215
2
746
23
2
4
true
false
false
false
false
false
low
36,615,598
String comparison in onPostexecute not working
<p>Following code is what I added for intent and result is something that is returned from my login.php. But it fails to compare if it is success or not. It does not enter the if loop in any case. It shows "Login Success" in the alert dialog though.</p> <pre><code>@Override protected void onPostExecute(String resu...
Following code is what I added for intent and result is something that is returned from my login.php. But it fails to compare if it is success or not. It does not enter the if loop in any case. It shows "Login Success" in the alert dialog though. [CODE] Login.php [CODE]
java|android
0
2016-04-14T06:44:13.903Z
2,016
4
6
3
139
3
270
46
2
2
true
false
false
false
false
false
zero
36,615,888
I have created RecyclerView and when the screen orientation change then duplicate items are added to the top
<p>I have initialize RecyclerView in fragment as follows.</p> <pre><code> @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { View view= inflater.inflate(R.layout.fragment_home_page, container, false); initialise...
I have initialize RecyclerView in fragment as follows. [CODE] Then I have created a RecyclerView adapter as follows. [CODE] Now the problem i have faced is when i take screen to portrait mode to landscape mode the items is being duplicate at top.I cannot figure out the cause. Here is the link of the screen shot https:/...
java|android
1
2016-04-14T07:00:50.627Z
2,016
4
7
3
1,539
2
390
108
2
2
true
false
false
false
false
false
low
36,615,896
Attempt to invoke virtual method 'android.content.Context android.support.v4.app.FragmentActivity.getApplicationContext()' on a null object reference
<p>Following is my code for my fragment, i get the above error of null exception</p> <pre><code> /** * Created by USer on 09-04-2016. */ public class FeaturedFragment extends android.support.v4.app.Fragment { private List url; private SliderLayout sliderLayout; private GridView gridView; priva...
Following is my code for my fragment, i get the above error of null exception [CODE] here's my image adapter [CODE] i keep getting force close on below line [CODE] the error is [CODE] i have tried using getActivity(),getContext() etc but none of them work
android|android-fragments|nullpointerexception|baseadapter
7
2016-04-14T07:01:17.630Z
2,016
4
7
3
19,116
1
255
149
4
4
true
false
true
true
false
false
medium
36,616,040
What are these in Firebase database? Please see details
<p>I am saving some data in firebase.</p> <p>The data is getting saved under something else then <code>Uid</code>.</p> <p>It is getting saved under these:</p> <p><a href="https://i.stack.imgur.com/UMAsa.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/UMAsa.png" alt="enter image description here"><...
I am saving some data in firebase. The data is getting saved under something else then Uid . It is getting saved under these: , What are these called? While Uid s look like this: I want to know this because I want to fetch data present under them. When I try to fetch data with this code: [CODE] it fetches nothing and g...
android|firebase|firebase-realtime-database
-1
2016-04-14T07:08:35.783Z
2,016
4
7
3
124
1
567
55
3
1
true
false
false
false
false
true
negative
36,616,211
App crashes when using GridView inside fragment
<p>My app keeps crashing when the textView was changed to a GridView.</p> <blockquote> <p>04-14 09:18:50.704 6903-6903/com.example.bernine.practicalsessions E/AndroidRuntime: FATAL EXCEPTION: main java.lang.ClassCastException: android.widget.GridView cannot be cast to android.widget.TextView at com.example.bernine.p...
My app keeps crashing when the textView was changed to a GridView. 04-14 09:18:50.704 6903-6903/com.example.bernine.practicalsessions E/AndroidRuntime: FATAL EXCEPTION: main java.lang.ClassCastException: android.widget.GridView cannot be cast to android.widget.TextView at com.example.bernine.practicalsessions.Technolog...
android|fragment
-5
2016-04-14T07:17:04.173Z
2,016
4
7
3
134
2
548
47
2
2
true
false
false
false
false
true
negative