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,831,530
adding sqljdbc jar in android studio throws app:transformClassesWithDexFroDebug Exception
<p>adding sqljdbc jar in android studio throws app:transformClassesWithDexFroDebug Exception. I am trying to connect to sqlserver hence added sqljdbc42.jar in libs folder when I remove the jar all work fine but I need to add jar to achieve DB connectivity. Please tell me what I am doing wrong.</p> <p>I have also added...
adding sqljdbc jar in android studio throws app:transformClassesWithDexFroDebug Exception. I am trying to connect to sqlserver hence added sqljdbc42.jar in libs folder when I remove the jar all work fine but I need to add jar to achieve DB connectivity. Please tell me what I am doing wrong. I have also added path of sq...
sql-server|android-studio|build.gradle
0
2016-06-15T09:32:30.263Z
2,016
6
9
2
283
1
421
89
3
1
true
false
false
false
false
false
zero
37,875,606
Error: Attribute 'SrcCompat' has already been defined
<p>Every time I try to build or generate signed APK I get the above error. This <a href="https://stackoverflow.com/q/37283686/5588854">question</a> is similar but no working solution has been suggested, yet.</p> <p>A snap of my BUILD.GRADLE dependencies:</p> <p><a href="https://i.stack.imgur.com/r7lGs.png" rel="nofol...
Every time I try to build or generate signed APK I get the above error. This question is similar but no working solution has been suggested, yet. A snap of my BUILD.GRADLE dependencies: A snap of my Error Log: Support Library Updated [ ]
android|gradle|android-appcompat|build-tools
1
2016-06-17T07:28:48.103Z
2,016
6
7
4
795
1
237
53
4
0
false
false
false
false
false
false
low
37,699,238
XMLhttprequest from android to get response from ATG server
<p>I am facing one problem with android accessing ATG sessionconfirmationNumber using rest API, I am using http urlconnection to achive the same, Code is working perfectly and I am getting output also, but the result in the Json response is rounded as the number is large. below are the code.</p> <pre><code> try { ...
I am facing one problem with android accessing ATG sessionconfirmationNumber using rest API, I am using http urlconnection to achive the same, Code is working perfectly and I am getting output also, but the result in the Json response is rounded as the number is large. below are the code. [CODE] I have faced the same p...
json|android-studio|atg|android-api-levels|oracle-commerce
0
2016-06-08T09:57:32.040Z
2,016
6
9
2
1,051
1
580
59
5
1
true
false
false
false
false
false
zero
37,822,395
Intellij Idea Ultimate or Intellij Idea Plus PyCharm and Android Studio
<p>I am coding Android Apps, Server-Side Python Code and using Spring Framework. I have a student license for JetBrains. I like things organized, so should i use Intellij Idea with Android and Python Plug-in or PyCharm, Android Studio and Intellij Idea separated.</p> <p>Is there too much pros of Android Studio and PyC...
I am coding Android Apps, Server-Side Python Code and using Spring Framework. I have a student license for JetBrains. I like things organized, so should i use Intellij Idea with Android and Python Plug-in or PyCharm, Android Studio and Intellij Idea separated. Is there too much pros of Android Studio and PyCharm over I...
android-studio|intellij-idea|pycharm|jetbrains-ide
1
2016-06-14T21:25:27.620Z
2,016
6
21
1
1,563
1
1,232
71
4
0
false
false
false
false
false
false
low
37,920,286
Android Delete Database programmatically: android.system.ErrnoException: chmod failed: EPERM (Operation not permitted)
<p>My App stores its database on SD card</p> <p>DatabaseHandler class</p> <pre><code>private static final String DATABASE_NAME = "MyDb"; private static final String KEY_ROOT_FOLDER= Environment.getExternalStorageDirectory().getAbsolutePath() + "/.MYAPP/" + DATABASE_NAME; public DatabaseHandler(Context context) { E...
My App stores its database on SD card DatabaseHandler class [CODE] So my DB does not delete when user uninstalls the app (because its stores under ExternalStorageDirectory). I want to create fresh copy of the DB when user installing app again. Therefore im checking first time run on the app and delete previous database...
android
1
2016-06-20T10:33:38.103Z
2,016
6
10
0
2,075
1
757
118
1
3
true
false
false
false
false
false
low
37,887,475
Push notifications in Android emulator (5.1.1 or later)
<p>I've registered for a GCM account with Google and set up my app to accept push notifications, but in the emulator I'm not receiving them (I've also tried with a 3rd party test app (<a href="https://imamraza.wordpress.com/2013/09/04/how-to-test-android-gcm-push-notification/" rel="nofollow noreferrer">https://imamraz...
I've registered for a GCM account with Google and set up my app to accept push notifications, but in the emulator I'm not receiving them (I've also tried with a 3rd party test app ( https://imamraza.wordpress.com/2013/09/04/how-to-test-android-gcm-push-notification/ ) in case I did something wrong and that's not workin...
push-notification|android-emulator|google-cloud-messaging
4
2016-06-17T17:50:09.257Z
2,016
6
17
4
5,147
1
1,452
55
3
1
true
false
true
false
false
false
low
37,819,090
Add Initial Screen to Master/Detail app
<p>I'm using Master/Detail example provided by Android Studio 1.5 and NavigationDrawer.</p> <p>Everything works great, but in Tablet mode always I get two screen when I launch the app (is the normal operation)</p> <p>Following the strategy in MainActivity to detect widths > 900 I can't see how to launch a Fragment th...
I'm using Master/Detail example provided by Android Studio 1.5 and NavigationDrawer. Everything works great, but in Tablet mode always I get two screen when I launch the app (is the normal operation) Following the strategy in MainActivity to detect widths > 900 I can't see how to launch a Fragment that show in all the ...
android|android-studio|master-detail
0
2016-06-14T18:01:35.367Z
2,016
6
18
1
28
1
369
39
3
0
false
false
false
false
false
false
zero
37,893,384
Getting the values of checkbox in new activity android
<p>I need a little bit help regarding retrieval of values which are selected or ticked in the Checkbox list. Once the user clicks on confirm button, the selected items must appear in new activity. I'm very basic to android, so needs a little assistance. </p> <p><strong><em>FoodMainActivity.java</em></strong></p> <pre...
I need a little bit help regarding retrieval of values which are selected or ticked in the Checkbox list. Once the user clicks on confirm button, the selected items must appear in new activity. I'm very basic to android, so needs a little assistance. FoodMainActivity.java [CODE] XML file [CODE]
android-activity
0
2016-06-18T04:52:32.373Z
2,016
6
4
5
28
1
295
54
1
2
true
false
false
false
false
false
zero
37,961,850
I am trying to login with Google Plus in Samsung tab. App not responding in my device but on emulator working fine
<p>The Problem occurs..... Log cat is showing like that</p> <pre><code>6-22 13:13:46.992 5620-5649/app.demo.googleplusdemo W/GooglePlayServicesUtil: Google Play services out of date. Requires 8298000 but found 4325032 06-22 13:13:47.000 5620-5620/app.demo.googleplusdemo D/AndroidRuntime: Shutting down VM 06-22 13:13:...
The Problem occurs..... Log cat is showing like that [CODE]
android
0
2016-06-22T07:55:27.787Z
2,016
6
7
2
28
1
59
114
1
1
true
false
false
false
false
false
zero
37,987,073
Send notifications to user authorised to facebook in mobile for different events
<p>Logic/Code question here.</p> <p>Hello all, I am building an social network type of Android app where specific group of people share their views. And for this , I planned to use only Facebook for everything, posting, commenting and all. The posts are posted on a page.</p> <p>My problem is like this: Suppose, a us...
Logic/Code question here. Hello all, I am building an social network type of Android app where specific group of people share their views. And for this , I planned to use only Facebook for everything, posting, commenting and all. The posts are posted on a page. My problem is like this: Suppose, a user posted a thing th...
android|facebook|facebook-graph-api|facebook-apps|facebook-page
0
2016-06-23T09:08:20.510Z
2,016
6
9
3
28
1
633
80
5
0
false
false
false
false
false
false
zero
37,992,468
How to show direct Images instead of images in a layout in intro slider
<p>I want to show three screens in my intro slider, right now i am doing that by showing three layouts how to show directly images not using layouts. Below is my code</p> <pre><code>public class MyViewPagerAdapter extends PagerAdapter { private LayoutInflater layoutInflater; public MyViewPagerAdapter(...
I want to show three screens in my intro slider, right now i am doing that by showing three layouts how to show directly images not using layouts. Below is my code [CODE]
java|android
0
2016-06-23T13:02:50.857Z
2,016
6
13
3
28
1
170
71
2
1
true
false
false
false
false
false
zero
38,053,299
where are those files in app->build come from?
<p>I am new in android, and I wonder where those files in app->build come from, I mean how they were built. And where can I go and find the knowledge about these things? <a href="http://i.stack.imgur.com/HG14M.png" rel="nofollow">The link below is the image I captured from android studio</a></p>
I am new in android, and I wonder where those files in app->build come from, I mean how they were built. And where can I go and find the knowledge about these things? The link below is the image I captured from android studio
android
-1
2016-06-27T11:54:15.117Z
2,016
6
11
0
28
1
225
46
1
0
false
false
false
false
false
true
negative
37,659,593
Error when attempting to disable Google Fit from in App
<p>Getting an <code>IllegalArgumentException</code> when attempting to disconnect from GoogleFit using <code>Fitness.ConfigApi.disableFit(mClient)</code> as described in the <a href="https://developers.google.com/fit/android/disconnect" rel="nofollow">docs</a>. I'm able to connect and retrieve history data a-ok. </p> ...
Getting an IllegalArgumentException when attempting to disconnect from GoogleFit using Fitness.ConfigApi.disableFit(mClient) as described in the docs . I'm able to connect and retrieve history data a-ok. Error GoogleApiClient is not configured to use the API required for this call. at com.google.android.gms.common.inte...
android|google-play-services|google-fit
0
2016-06-06T14:06:29.273Z
2,016
6
14
0
540
1
574
55
3
2
true
false
false
false
false
false
zero
37,899,734
How to make News Bar with Spannable Marquee TextView in Android?
<p>I am trying to make a news bar in a textview which be animated with marquee.</p> <p>I used this view with marqueeRepeatLimit = "marquee_forever"</p> <pre><code> &lt;TextView android:id="@+id/scroll_notifs" android:layout_width="fill_parent" ...
I am trying to make a news bar in a textview which be animated with marquee. I used this view with marqueeRepeatLimit = "marquee_forever" [CODE] and I set in the code : TextView scroll_notifs = (TextView) view.findViewById(R.id.scroll_notifs); scroll_notifs.setSelected(true); The textview act like the news bar and anim...
android|android-animation|native|marquee
0
2016-06-18T17:23:19.323Z
2,016
6
17
5
540
1
857
64
4
2
true
false
false
false
false
false
zero
37,935,468
How to configure FFmpeg library with ndk r12 using windows 7 64 bit operating system for android
<p>I want to merge mp3 audio file with surfaceview recorded video in background. So after lots of research i get FFmpeg concept for achieving this kind of functionality. But i am not know how to configure Ffmpeg library with ndk in android studio using windows 7 64 bit os. So if any one can have knowledge about it so p...
I want to merge mp3 audio file with surfaceview recorded video in background. So after lots of research i get FFmpeg concept for achieving this kind of functionality. But i am not know how to configure Ffmpeg library with ndk in android studio using windows 7 64 bit os. So if any one can have knowledge about it so plea...
android|c++|ffmpeg|android-ndk
1
2016-06-21T04:12:44.387Z
2,016
6
4
1
540
1
359
96
4
0
false
false
false
false
false
false
low
37,938,463
AHBottomNavigation, how to create a sub fragment?
<p>I'm using AHBottomNavigation. (<a href="https://github.com/aurelhubert/ahbottomnavigation" rel="nofollow">https://github.com/aurelhubert/ahbottomnavigation</a>). I have 3 Fragments for each bottomNavigation item. When I'm in the first fragment, (hosting a RecyclerView) I need to be able to launch a new (sub)screen a...
I'm using AHBottomNavigation. ( https://github.com/aurelhubert/ahbottomnavigation ). I have 3 Fragments for each bottomNavigation item. When I'm in the first fragment, (hosting a RecyclerView) I need to be able to launch a new (sub)screen and be able to go back to the recyclerView when backButton is pressed. I also nee...
android|android-fragments|android-viewpager
0
2016-06-21T07:48:43.030Z
2,016
6
7
1
540
1
502
49
3
0
false
false
false
false
false
false
zero
37,822,240
Admob in Android Studio (help-me)
<p>I'm trying to insert the admob app, but gives error in the xml. The following image: <a href="https://i.stack.imgur.com/jaNBb.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jaNBb.png" alt="enter image description here"></a></p>
I'm trying to insert the admob app, but gives error in the xml. The following image:
android|android-studio|admob
0
2016-06-14T21:15:46.810Z
2,016
6
21
1
29
1
84
33
3
0
false
false
false
false
false
false
zero
37,831,900
AChartAngine Barchart Values out of zoom
<p>I used aChartEngine to generate some barcharts. There are 9 different barcharts inside one activity. My problem is that I can't see the chart values if these are to high.</p> <p>I tried to change the layout_height param to fill_parent or wrap_content. But then, the whole chart is invisible. So I have to use fix val...
I used aChartEngine to generate some barcharts. There are 9 different barcharts inside one activity. My problem is that I can't see the chart values if these are to high. I tried to change the layout_height param to fill_parent or wrap_content. But then, the whole chart is invisible. So I have to use fix values for lay...
android|charts|vertical-alignment|achartengine
0
2016-06-15T09:50:13.353Z
2,016
6
9
2
29
1
703
40
4
2
true
false
false
false
false
false
zero
37,941,003
App not listed in search results for specific device but listed as compatible in Developer Console
<p>A user of our App mailed us today and let us know, that our App is not visible in search results for his device. Even in the Web View he cannot install the App on this device ( but on others ). </p> <p>He owns an Sony Xperia Z3 Compact (D5803). In the Google Play Developer Console - Section "APK" and "Supported De...
A user of our App mailed us today and let us know, that our App is not visible in search results for his device. Even in the Web View he cannot install the App on this device ( but on others ). He owns an Sony Xperia Z3 Compact (D5803). In the Google Play Developer Console - Section "APK" and "Supported Devices" the De...
android|google-play|developer-console
0
2016-06-21T09:48:10.817Z
2,016
6
9
1
29
1
455
98
3
0
false
false
false
false
false
false
zero
37,996,070
Getting user location practice in service
<p>I am once again facing a problem. I am having a alarmManager set up to start a Service which gets user's location every minute. My question is, is this the best practice? To recreate the service every minute, make and register new Location listener and wait for one OnLocationChanged callback ? Or is there a simpler,...
I am once again facing a problem. I am having a alarmManager set up to start a Service which gets user's location every minute. My question is, is this the best practice? To recreate the service every minute, make and register new Location listener and wait for one OnLocationChanged callback ? Or is there a simpler, pr...
android|service|location
0
2016-06-23T15:36:41.137Z
2,016
6
15
3
29
1
452
41
3
0
false
false
false
false
false
false
zero
38,014,832
LinearLayout: is it guaranteed that the only match_parent item will occupy all the free space?
<p>It had always been a bit of trouble getting one element in the layout to occupy all the remaining available space. Last I remember, <code>match_parent</code> and <code>layout_weight</code> attributes were required. But today I did this, and it works, i. e. the first item is wrapped and the second spans across all th...
It had always been a bit of trouble getting one element in the layout to occupy all the remaining available space. Last I remember, match_parent and layout_weight attributes were required. But today I did this, and it works, i. e. the first item is wrapped and the second spans across all the remaining space: [CODE] The...
android|android-layout|android-linearlayout
0
2016-06-24T13:39:24.280Z
2,016
6
13
4
29
1
490
94
3
1
true
false
false
false
false
false
zero
37,640,243
Toolbar height from top for all android verison
<p>i want to show one ui below toolbar but problem is say my toolbar size is 50dp and if i say my layout margin from top 50 then for some android version its working . i think above api 22 we also need status_bar_height which includes in toollbar height . what is the best way to get toolbar height so that i can show v...
i want to show one ui below toolbar but problem is say my toolbar size is 50dp and if i say my layout margin from top 50 then for some android version its working . i think above api 22 we also need status_bar_height which includes in toollbar height . what is the best way to get toolbar height so that i can show view ...
android|material-design|android-toolbar
0
2016-06-05T09:11:57.857Z
2,016
6
9
6
285
1
396
47
3
1
true
false
false
false
false
false
zero
37,641,650
Add settings to WatchFace in Android Wear app
<p>I noticed that some WatchFaces have an option "Get Companion App", clicking on this setting Android Wear leads user to Google Play page of the relevant application.</p> <p>How is it possible to implement so?</p>
I noticed that some WatchFaces have an option "Get Companion App", clicking on this setting Android Wear leads user to Google Play page of the relevant application. How is it possible to implement so?
android|wear-os
0
2016-06-05T12:02:36.663Z
2,016
6
12
6
285
1
200
45
2
0
false
false
false
false
false
false
zero
37,860,788
Send report after Android JNI signal/exception
<p>I am trying to get firebase working with my Android app but it is mainly C++ code. A lot of chances are that if there is any crash it will be some kind of bad access in the C++ part. Firebase works well with uncaught java exceptions however I cannot get it to work with JNI signals/exceptions.</p> <p>As far as I k...
I am trying to get firebase working with my Android app but it is mainly C++ code. A lot of chances are that if there is any crash it will be some kind of bad access in the C++ part. Firebase works well with uncaught java exceptions however I cannot get it to work with JNI signals/exceptions. As far as I know it is not...
android|c++|firebase|java-native-interface|signals
1
2016-06-16T13:31:03.337Z
2,016
6
13
3
285
1
1,153
46
5
1
true
false
false
false
false
false
low
37,850,568
enable to see firebase error console log
<p>I'm connecting to firebase from a android app. My app is supposed to be writing data to my firebase, but it isn't. I'm also not seeing any errors, warnings, etc. logged to the console. So how do I crank up logging for the firebase to see what's actually going on? Does such a thing exist? I tried searching the fireba...
I'm connecting to firebase from a android app. My app is supposed to be writing data to my firebase, but it isn't. I'm also not seeing any errors, warnings, etc. logged to the console. So how do I crank up logging for the firebase to see what's actually going on? Does such a thing exist? I tried searching the firebase ...
android|firebase|firebase-realtime-database|firebase-authentication
1
2016-06-16T05:31:29.553Z
2,016
6
5
3
797
1
357
40
4
0
false
false
false
false
false
false
low
37,826,153
How do I get the current keyboard (current IME) being used via ADB
<p>Currently, I know how to set the keyboard to use using the command <code>adb shell ime set [keyboard IME]</code>. But the question is how do I get the current keyboard being used?</p> <p>I'm planning to use it using the <code>madb</code> <a href="https://github.com/quamotion/madb" rel="nofollow">C# library</a> whic...
Currently, I know how to set the keyboard to use using the command adb shell ime set [keyboard IME] . But the question is how do I get the current keyboard being used? I'm planning to use it using the madb C# library which fortunately has a ExecuteRemoteCommand method which allows me to execute shell commands (sort of ...
c#|android|shell|adb|ime
2
2016-06-15T04:27:12.563Z
2,016
6
4
2
2,077
1
337
66
5
0
false
false
false
false
false
false
low
37,819,026
How to change createCircularReveal() color?
<p>Like the title said, I'm looking a easy way to customize the color used in reveal.<br><br></p> <p>I want to use official code if it's possible (avoiding 3rd party libraries).<br><br></p> <p>I'm using the usual code:<br></p> <pre><code>Animator anim = ViewAnimationUtils.createCircularReveal(myView, cx, cy, 0, fina...
Like the title said, I'm looking a easy way to customize the color used in reveal. I want to use official code if it's possible (avoiding 3rd party libraries). I'm using the usual code: [CODE]
android|colors|animator|circularreveal
4
2016-06-14T17:58:19.120Z
2,016
6
17
1
2,845
1
192
43
4
1
true
false
true
false
false
false
low
37,620,088
Does alt beacon support multiple siloed "clients" within the same app?
<p>In my Android app, I'm using a library that's based on alt beacon, but would also like to range for beacons in "my code".</p> <p>Does alt beacon support multiple "clients". It seems as if the other library is removing regions that I'm ranging. When I'm turning off the other library, all works fine, but when I turn ...
In my Android app, I'm using a library that's based on alt beacon, but would also like to range for beacons in "my code". Does alt beacon support multiple "clients". It seems as if the other library is removing regions that I'm ranging. When I'm turning off the other library, all works fine, but when I turn it on, the ...
android|ibeacon|altbeacon|android-ibeacon
0
2016-06-03T17:13:46.067Z
2,016
6
17
4
30
1
466
70
4
0
false
false
false
false
false
false
zero
37,798,162
List View loses values on scroll,and get worg position on item click
<p>I have the below <code>ListView</code> with a custom adapter. I received an <code>ArrayAdapter</code> from service, but something wrong is happening on scroll and the values are lost. </p> <pre><code>public class AccountStatementArrayAdapter extends ArrayAdapter&lt;ListaExtratos&gt; { public AccountStatementAr...
I have the below ListView with a custom adapter. I received an ArrayAdapter from service, but something wrong is happening on scroll and the values are lost. [CODE]
java|android
-1
2016-06-13T19:58:40.593Z
2,016
6
19
0
30
1
164
68
2
1
true
false
false
false
false
true
negative
37,807,836
Have not folder "android" in mysdk/extras/android
<p>Sorry for my English. I need import appcompat in my progect. Before i import it in path "mysdk/extras/android/v7" and all work, but naw i have new folder sdk and i cant find folder "android" in my sdk</p> <p><a href="https://i.stack.imgur.com/vlYuL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/...
Sorry for my English. I need import appcompat in my progect. Before i import it in path "mysdk/extras/android/v7" and all work, but naw i have new folder sdk and i cant find folder "android" in my sdk it i installed
android|sdk|android-appcompat
1
2016-06-14T09:19:25.863Z
2,016
6
9
1
30
1
215
49
3
0
false
false
false
false
false
false
low
37,956,594
Create full mobile app vs Create app that goes to a server which handles mobile
<p>I have been playing around with PhoneGap for a little while, and getting it set up to work correctly with Google Drive API is proving to be far more difficult than setting up a website which does the same.</p> <p>I am wondering if it would be more to my advantage to cease trying to make the full app work with phone...
I have been playing around with PhoneGap for a little while, and getting it set up to work correctly with Google Drive API is proving to be far more difficult than setting up a website which does the same. I am wondering if it would be more to my advantage to cease trying to make the full app work with phonegap, and in...
android|ios|cordova
0
2016-06-22T00:13:50.980Z
2,016
6
0
2
30
1
730
79
3
0
false
false
false
false
false
false
zero
37,706,476
Android app crashes after loading trained tensorflow protobuf model
<p>I am trying to load a model that I trained myself on the tensorflow android app. I trained the model in Caffe and then converted it to Tensorflow, but I am sure that this is not the problem because I tested it using classify.py and it works. </p> <p>I then serialize the model and put it in a .pb, I replace the tens...
I am trying to load a model that I trained myself on the tensorflow android app. I trained the model in Caffe and then converted it to Tensorflow, but I am sure that this is not the problem because I tested it using classify.py and it works. I then serialize the model and put it in a .pb, I replace the tensorflow_incep...
android|python|c++|protocol-buffers|tensorflow
1
2016-06-08T15:12:46.677Z
2,016
6
15
2
286
1
624
67
5
1
true
false
false
false
false
false
low
37,717,897
Using twilio https://www.twilio.com/ Android App To App Calling is possible?
<p>Using twilio [<a href="https://www.twilio.com/]" rel="nofollow">https://www.twilio.com/]</a> Android VoIP App To App Calling is possible ? </p> <p>like as "Whats app calling", "Ringo Calling", "Tango Calling"</p> <p>please advice me if other options for VoIP Calling app to app, i already used Sinch app to app <a ...
Using twilio [ https://www.twilio.com/] Android VoIP App To App Calling is possible ? like as "Whats app calling", "Ringo Calling", "Tango Calling" please advice me if other options for VoIP Calling app to app, i already used Sinch app to app https://www.sinch.com thanks advance
android|twilio|voip|twilio-php|twilio-click-to-call
-2
2016-06-09T05:55:22.077Z
2,016
6
5
3
286
1
279
76
5
0
false
false
false
false
false
true
negative
38,051,869
Getting inappropriate positions in GridView Drag and Drop when using Draggable Gridview in advancedrecyclerview library
<p>I am using <a href="https://github.com/h6ah4i/android-advancedrecyclerview" rel="nofollow noreferrer">android-advancedrecyclerview library</a> to make a puzzle game and made drag and drop functionality in Grid View but it does not provide appropriate changed positions of Grids,</p> <p>Issue is asked by me with full...
I am using android-advancedrecyclerview library to make a puzzle game and made drag and drop functionality in Grid View but it does not provide appropriate changed positions of Grids, Issue is asked by me with full explanation here and added as open issue in library: https://github.com/h6ah4i/android-advancedrecyclervi...
android|gridview|draggable|android-gridview
0
2016-06-27T10:41:33.957Z
2,016
6
10
0
542
1
570
119
4
0
false
false
false
false
false
false
zero
37,757,216
Glide + CollapsingToolbarLayout strange behavior
<p>I'm facing a strange behavior when using CollapsingToolbarLayout, Toolbar and an ImageView embedded. Here is my code :</p> <pre><code>&lt;android.support.design.widget.AppBarLayout android:id="@+id/bla" android:layout_width="match_parent" android:layout_height="256dp"&gt; &lt;androi...
I'm facing a strange behavior when using CollapsingToolbarLayout, Toolbar and an ImageView embedded. Here is my code : [CODE] And the Glide builder: [CODE] Before setting the image via Glide, the Toolbar behavior works exact as it should, in my case "pinned". After setting the image, the Toolbar layout goes missing and...
android|android-layout|android-glide
0
2016-06-10T21:11:05.167Z
2,016
6
21
4
1,054
1
446
48
3
2
true
false
false
false
false
false
zero
38,056,795
Login form with repeat request on rxJava and Retrofit
<p>I want to make login form on rxJava and retrofit. But if I got error while requesting server, unsubscribe is called from bottom of rx</p> <p>I have ui methods which implemented by rxAndroidBinding lib</p> <pre><code>fun validEmail(): Observable&lt;CharSequence&gt; //last well formated login fun validPassword(): Ob...
I want to make login form on rxJava and retrofit. But if I got error while requesting server, unsubscribe is called from bottom of rx I have ui methods which implemented by rxAndroidBinding lib [CODE] I have register method which implemented by Retrofit fun authorize(email:String, pass:String): Observable<Unit> I want ...
android|rx-java|reactive-programming|kotlin
0
2016-06-27T14:38:14.603Z
2,016
6
14
0
1,054
1
762
53
4
3
true
false
false
false
false
false
zero
37,705,054
Is it possible to manually register to Firebase Cloud Messaging?
<p>I have used old GoogleCloudMessaging register() method which is now deprecated. I have started migration to FCM, and need to change some old legacy code.</p> <p>Previous version of GCM allowed us to choose time, when app should be registered - for example user was successfully logged in. Now the registration is don...
I have used old GoogleCloudMessaging register() method which is now deprecated. I have started migration to FCM, and need to change some old legacy code. Previous version of GCM allowed us to choose time, when app should be registered - for example user was successfully logged in. Now the registration is done in the ba...
android|firebase-cloud-messaging
4
2016-06-08T14:16:28.370Z
2,016
6
14
2
1,310
1
454
64
2
0
false
false
false
false
false
false
low
37,931,447
System.Net.WebException: Error getting response stream (ReadDone2): ReceiveFailure
<p>I'm creating an android application with Xamarin in visual studio and I end up getting the error: </p> <blockquote> <p>"System.Net.WebException: Error getting response stream (ReadDone2): ReceiveFailure".</p> </blockquote> <p>This happens after the service I created tries to return a list but ends up stopping ...
I'm creating an android application with Xamarin in visual studio and I end up getting the error: "System.Net.WebException: Error getting response stream (ReadDone2): ReceiveFailure". This happens after the service I created tries to return a list but ends up stopping at my CompletedEventArgs result call. My Android ap...
c#|android|wcf|xamarin.android
0
2016-06-20T20:40:20.207Z
2,016
6
20
0
1,822
1
1,194
82
4
3
true
false
false
false
false
false
zero
37,907,952
ionic build android error: unsupported major.minor version 52.0
<p><a href="http://i.stack.imgur.com/iG1gm.png" rel="nofollow">Screenshot of CLI</a></p> <p>Hey folks So i am trying to build my ionic app, and when i run "ionic build android" it gives me an error that is in the screenshot above. I have no clue what it means. it would be great if anyone could help.</p>
Screenshot of CLI Hey folks So i am trying to build my ionic app, and when i run "ionic build android" it gives me an error that is in the screenshot above. I have no clue what it means. it would be great if anyone could help.
android|ionic-framework|command-line-interface
1
2016-06-19T13:52:31.860Z
2,016
6
13
6
2,590
1
226
63
3
0
false
false
false
false
false
false
low
37,643,655
Android quiz - save index and restart from the respective index
<p>I am working on an Android true/false quiz application, the only thing remaining is I'm having a hard time figuring out <strong>how to save index</strong>. I know it can be done via sharedpreferences but I am not sure how. I have previous and next buttons and updatequestion() is called everytime the user changes the...
I am working on an Android true/false quiz application, the only thing remaining is I'm having a hard time figuring out how to save index . I know it can be done via sharedpreferences but I am not sure how. I have previous and next buttons and updatequestion() is called everytime the user changes the question. mCurrent...
java|android
0
2016-06-05T15:35:52.840Z
2,016
6
15
6
31
1
851
63
2
1
true
false
false
false
false
false
zero
37,683,921
How to add elements from 3 differents tables in one onClick
<p>I want add one page (with title and date) from table "page"</p> <p>associate it one tag( with only text tag) from table "tag"</p> <p>I have an associate table "pageTagId "(with id_page and id_tag)</p> <p>there is my method addPage :</p> <pre><code>public long addPage(Page page){ ContentValues values = n...
I want add one page (with title and date) from table "page" associate it one tag( with only text tag) from table "tag" I have an associate table "pageTagId "(with id_page and id_tag) there is my method addPage : [CODE] there is my method addTag : [CODE] My associate table : [CODE] and associate method : [CODE] My oncli...
java|android|sqlite|onclick|add
0
2016-06-07T15:49:00.770Z
2,016
6
15
1
31
1
448
59
5
5
true
false
false
false
false
false
zero
37,890,598
Dialog window is not wraping content
<p>I have simple <code>RelativeLayout</code> with <code>wrap_content</code> width and height. But it does not wrap it. Maybe I miss something.</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="wrap_content...
I have simple RelativeLayout with wrap_content width and height. But it does not wrap it. Maybe I miss something. [CODE] Will update in a sec with a screen shot.
android|android-layout|android-dialog
0
2016-06-17T21:25:27.833Z
2,016
6
21
4
31
1
161
36
3
1
true
false
false
false
false
false
zero
37,893,692
Background Color isn't changed
<p>I have a <strong>"MainActivity.java"</strong> class, and an inner class <strong>"SquashCourtView"</strong> which extends <code>SurfaceView</code> and implements <code>Runnable</code>.<br> I'm trying to change the background color, but with no succsess. Any help?</p> <pre><code>// all required things are imported p...
I have a "MainActivity.java" class, and an inner class "SquashCourtView" which extends SurfaceView and implements Runnable . I'm trying to change the background color, but with no succsess. Any help? [CODE]
java|android
-1
2016-06-18T05:47:39.553Z
2,016
6
5
5
31
1
206
30
2
1
true
false
false
false
false
true
negative
37,951,656
Android how to resize a layout after its image was resized
<p>I have a layout with 3 images side-by-side. I use layout_weight to set them up :</p> <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:...
I have a layout with 3 images side-by-side. I use layout_weight to set them up : [CODE] For some reason, layout1, 2 and 3's height is that of the original hotdog image, not the shrunken one : 3 hotdogs not at the top of the screen I tried getParent().requestLayout() or invalidate() in ImageView.onDraw(), neither of whi...
android
0
2016-06-21T18:12:18.310Z
2,016
6
18
1
31
1
419
58
1
1
true
false
false
false
false
false
zero
38,010,282
The three first Element in custom ListView are repeated and change position when scrolling
<p>I have a custom ListView and when I display it I get the 3 first element and they are repeated when I scroll. All the others elements are never display.</p> <p>I have try with <code>setTag</code> and <code>getTag</code> but it doesnt work. The only way I found is to rebuild the view (disable the <code>if (row = nul...
I have a custom ListView and when I display it I get the 3 first element and they are repeated when I scroll. All the others elements are never display. I have try with setTag and getTag but it doesnt work. The only way I found is to rebuild the view (disable the if (row = null) ) each time I scroll on a element but I ...
java|android|listview
0
2016-06-24T09:41:39.490Z
2,016
6
9
4
31
1
419
90
3
1
true
false
false
false
false
false
zero
38,024,660
Web Services extensible markup language
<p>If i want connect extensible markup language <code>web services</code> with <code>android</code> application what can i do and what the difference if i use <code>java-script object notation</code> <code>web services</code> with <code>android</code> </p>
If i want connect extensible markup language web services with android application what can i do and what the difference if i use java-script object notation web services with android
android|web-services
0
2016-06-25T03:29:20.927Z
2,016
6
3
5
31
1
183
39
2
0
false
false
false
false
false
false
zero
38,036,023
Runtime error in my app
<p>I am building an app. When I run it, it gives me this error:</p> <blockquote> <p>junit:junit:q.12</p> </blockquote> <p>I searched it on Google, but I could not find any match or something related. How can I fix this problem?</p>
I am building an app. When I run it, it gives me this error: junit:junit:q.12 I searched it on Google, but I could not find any match or something related. How can I fix this problem?
android|junit
0
2016-06-26T07:06:17.890Z
2,016
6
7
6
31
1
183
23
2
0
false
false
false
false
false
false
zero
37,719,538
React Native Custom UI Component using Library
<p>I've developed an android library which exposes some activities, include one named <code>AuthenticiateActivity</code> and also included some helper classes.</p> <p>I have a second android project that pulls in this library. I am trying create a custom React Native UI component to be able to display the <code>Authen...
I've developed an android library which exposes some activities, include one named AuthenticiateActivity and also included some helper classes. I have a second android project that pulls in this library. I am trying create a custom React Native UI component to be able to display the AuthenticateActivity using javascrip...
android|android-activity|react-native
0
2016-06-09T07:31:25.740Z
2,016
6
7
3
287
1
788
46
3
0
false
false
false
false
false
false
zero
37,602,187
Unity LoadImageIntoTexture isn't working
<p>I have some code that allows me to grab all my image paths in my Android device. Then, I want to load those images into texture using www classs, such as:</p> <pre><code>public void SetImage() { List&lt;string&gt; galleryImages = GetAllGalleryImagePaths(); DebugText.text = galleryImages.Count.ToString() +...
I have some code that allows me to grab all my image paths in my Android device. Then, I want to load those images into texture using www classs, such as: [CODE] However, if I call www.LoadImageIntoTexture(t) and loop too many times, the app will just jump out to the home screen. (a few times, like 20 times, is fine) A...
android|image|web|unity3d|textures
0
2016-06-02T21:12:00.037Z
2,016
6
21
3
543
1
362
40
5
1
true
false
false
false
false
false
zero
37,959,072
Getting error while running cordova build android phonegap
<p>I'm getting so many errors in phonegap </p> <pre><code>#cordova build android </code></pre> <blockquote> <p>Error: Please install Android target: "android-23".<br> Hint: Open the SDK manager by running: /home/deb/android-studio/bin/studio.sh<br> You will require:</p> <ol> <li>"SDK Platform" for andro...
I'm getting so many errors in phonegap [CODE] Error: Please install Android target: "android-23". Hint: Open the SDK manager by running: /home/deb/android-studio/bin/studio.sh You will require: "SDK Platform" for android-23 "Android SDK Platform-tools (latest) "Android SDK Build-tools" (latest) I have checked my cordov...
eclipse|cordova|android-studio|sdk|phonegap-build
2
2016-06-22T05:15:25.137Z
2,016
6
5
2
543
1
524
58
5
3
true
false
false
false
false
false
low
37,619,614
Use Font-face in Android WebView
<p>I want insert font-face in my WebView for display few specials fonts on different WebSite.</p> <p>For example in Wikipedia i want i use a bit of code for change the font in the html, when this is done, i show the page and the font are not Century Gothic like in the html code. When i try on Google Chrome don't work ...
I want insert font-face in my WebView for display few specials fonts on different WebSite. For example in Wikipedia i want i use a bit of code for change the font in the html, when this is done, i show the page and the font are not Century Gothic like in the html code. When i try on Google Chrome don't work too. When i...
android|html|css|webview|fonts
0
2016-06-03T16:45:26.003Z
2,016
6
16
4
799
1
702
32
5
4
true
false
false
false
false
false
zero
37,720,610
Read logs from code programmatically and matching with a string in android app
<p>How can we read logs(verbose,debug etc) programmatically from android class and then search for a string or matching with a provided string in android.</p> <p>Sometimes we need to handle some system or kernel layer related event. But as we have limited access of those code we can't handle them. We can see the logca...
How can we read logs(verbose,debug etc) programmatically from android class and then search for a string or matching with a provided string in android. Sometimes we need to handle some system or kernel layer related event. But as we have limited access of those code we can't handle them. We can see the logcat via adb a...
android|logging|event-handling
1
2016-06-09T08:27:39.933Z
2,016
6
8
3
799
1
471
78
3
0
false
false
false
false
false
false
low
37,968,793
Callbacks: java.lang.ClassCastException
<p><strong>Problem:</strong> I need to pass a <code>callback</code> from a <code>fragment</code> to an <code>acitvity</code>. Unfortunately I get that stack trace:</p> <p>Why do I get that error? I have found some posts with a similiar problem. Unfortunately I still do not understand why I get that issue. </p> <pre><...
Problem: I need to pass a callback from a fragment to an acitvity . Unfortunately I get that stack trace: Why do I get that error? I have found some posts with a similiar problem. Unfortunately I still do not understand why I get that issue. [CODE] My fragment class: [CODE] My activity class: [CODE]
android|android-activity|callback|fragment
0
2016-06-22T12:59:18.163Z
2,016
6
12
2
799
1
300
39
4
3
true
false
false
false
false
false
zero
37,974,007
Sending message to whatsapp contacts
<p>I recently tried the code to send message to whatsapp using intent. But i was wondering if there's any way to directly send the message with the intent action rather than having the text typed in the message box of that contact once a contact is selected. I want the text to be sent to the contact once i select it.</...
I recently tried the code to send message to whatsapp using intent. But i was wondering if there's any way to directly send the message with the intent action rather than having the text typed in the message box of that contact once a contact is selected. I want the text to be sent to the contact once i select it.
android
0
2016-06-22T16:47:04.920Z
2,016
6
16
2
799
1
315
36
1
0
false
false
false
false
false
false
zero
37,863,215
Getting data from AWS DynamoDB in chunks
<p>I get specific data from DynamodDB with Lambda (node.js) and send it to android app. The problem is that I don't want to send every data which satisfy my condition in Node.js in one go. I view those data in list-view in my android app. In my DB there might be milions of records and it could take really long time to ...
I get specific data from DynamodDB with Lambda (node.js) and send it to android app. The problem is that I don't want to send every data which satisfy my condition in Node.js in one go. I view those data in list-view in my android app. In my DB there might be milions of records and it could take really long time to get...
android|amazon-web-services
4
2016-06-16T15:18:23.877Z
2,016
6
15
3
1,311
1
623
40
2
0
false
false
false
false
false
false
low
37,854,378
uploadArchives build both debug and release
<p>I have an upload task in my gradle script: </p> <pre><code>uploadArchives { repositories { mavenDeployer { repository(url: "${nexusUrl}/content/repositories/apps-releases") { authentication(userName: nexusUsername, password: nexusPassword) } ...
I have an upload task in my gradle script: [CODE] And running this from teamcity with: [CODE] After building the debug version it seems like uploadArchives is building a release version too. So when the build is done I have both a debug and release apk as generated artefacts from the build. But if I remove uploadArchiv...
android|gradle|android-gradle-plugin
5
2016-06-16T08:55:07.650Z
2,016
6
8
3
1,823
1
535
43
3
2
true
false
false
false
false
false
low
37,744,720
Bind with Butterknife to dynamically added view in android
<p>How Can I bind the views present inside the Layout which is dynamically added to the parent view with ButterKnife.</p> <p>I have a LinearLayout say <strong>container</strong>. And I have a custom layout which contains two buttons say this layout as <strong>childview</strong> In activity I added the <strong>childvie...
How Can I bind the views present inside the Layout which is dynamically added to the parent view with ButterKnife. I have a LinearLayout say container . And I have a custom layout which contains two buttons say this layout as childview In activity I added the childview successfully to the parent LinearLayout container ...
android|butterknife
7
2016-06-10T09:30:00.203Z
2,016
6
9
4
4,383
1
642
58
2
2
true
false
true
false
false
false
medium
37,628,645
Newbie - I cant learn status of my enum or boolen after my activty gone to background?
<p>I have app where I play one of my three music files. After the activity goes to the background, I reopen this UI activity toggle button comes as "Off" even if I changed its status last time. By the way I read android developer document and it seems pretty complicated.</p> <p>what should I Do?</p> <pre><code>packag...
I have app where I play one of my three music files. After the activity goes to the background, I reopen this UI activity toggle button comes as "Off" even if I changed its status last time. By the way I read android developer document and it seems pretty complicated. what should I Do? [CODE]
android|enums|android-mediaplayer
-2
2016-06-04T09:32:05.357Z
2,016
6
9
5
32
1
293
86
3
1
true
false
false
false
false
true
negative
37,710,445
How to show deployment targets after run configuration in Android studio plugin
<p>I'm trying to create a plugin for Android Studio with a new run configuration following the guide <a href="http://www.jetbrains.org/intellij/sdk/docs/tutorials/run_configurations.html" rel="nofollow">here</a>, and I want to show the possible devices/emulators that the app can be deployed. </p> <p>I'm at the step wh...
I'm trying to create a plugin for Android Studio with a new run configuration following the guide here , and I want to show the possible devices/emulators that the app can be deployed. I'm at the step where getState is being called, but I'm not sure what to do here.
android-studio|intellij-idea
0
2016-06-08T18:42:48.200Z
2,016
6
18
2
32
1
266
79
2
0
false
false
false
false
false
false
zero
37,769,554
ToggleButton checked in wrong ListView rows
<p>I have a ListView with toggleButton in each row. When the toggleButton of a row is checked, I noticed that when I scroll down the ListView, every first out of 10 rows will also be checked. </p> <p>How to ensure that only the selected row's toggleButton is checked? Here is my ArrayAdapter:</p> <pre><code>class AppL...
I have a ListView with toggleButton in each row. When the toggleButton of a row is checked, I noticed that when I scroll down the ListView, every first out of 10 rows will also be checked. How to ensure that only the selected row's toggleButton is checked? Here is my ArrayAdapter: [CODE]
android
1
2016-06-12T00:04:13.773Z
2,016
6
0
6
32
1
288
43
1
1
true
false
false
false
false
false
low
37,880,558
how can i migrate my android application from Cordova for Android 4.1.1 to higher version
<p>For my existing android application i got the warning from google play store that i need to migrate my application from Cordova for Android 4.1.1 to higher version ? Could anyone help please to get the solution? Thanks in advance</p>
For my existing android application i got the warning from google play store that i need to migrate my application from Cordova for Android 4.1.1 to higher version ? Could anyone help please to get the solution? Thanks in advance
android|cordova
0
2016-06-17T11:34:20.443Z
2,016
6
11
4
32
1
229
89
2
0
false
false
false
false
false
false
zero
37,900,791
TableLayout cell size
<p>I have made a TableLayout and it basically looks like this:</p> <p><a href="https://i.stack.imgur.com/NthAm.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NthAm.jpg" alt="enter image description here"></a></p> <p>Problem is, that there is too much space between the ":" and the numbers and somet...
I have made a TableLayout and it basically looks like this: Problem is, that there is too much space between the ":" and the numbers and sometimes the number wont fit in the screen. I want to make the cell with the string ("azimuth" for example) to be smaller. Is there someway to do this? The code looks like this (firs...
java|android|xml|tablelayout
0
2016-06-18T19:20:38.427Z
2,016
6
19
5
32
1
346
21
4
1
true
false
false
false
false
false
zero
37,930,119
How can I set up some scheduled tasks in my Android application in API 15 (Ice Cream Sandwich)?
<p>In my Android app I want to have a couple of "demonstration" functions (i.e., functions that are not yet implemented but I want to show what they would look like if they were).</p> <p>All that needs to be done is to change the text and background color of TextView elements, at specified times.</p> <p>For example, ...
In my Android app I want to have a couple of "demonstration" functions (i.e., functions that are not yet implemented but I want to show what they would look like if they were). All that needs to be done is to change the text and background color of TextView elements, at specified times. For example, when the app starts...
android|scheduled-tasks
0
2016-06-20T19:13:01.337Z
2,016
6
19
0
32
1
1,039
95
2
0
false
false
false
false
false
false
zero
37,930,786
Android manage long task
<p>I need a way to plot realtime data on a graph without blocking the UI thread. Reading several posts and articles I have understood that threads aren't the best choice to perform long works (it's an indeterminate update so it could take more than 3-4 minutes). So, what should I use? Thank You in advance.</p>
I need a way to plot realtime data on a graph without blocking the UI thread. Reading several posts and articles I have understood that threads aren't the best choice to perform long works (it's an indeterminate update so it could take more than 3-4 minutes). So, what should I use? Thank You in advance.
android|performance
1
2016-06-20T19:56:28.897Z
2,016
6
19
0
32
1
304
24
2
0
false
false
false
false
false
false
low
37,972,849
List of tweets si allways null
<p>I'm trying to get a list of tweets but the result tweets list must be final,and this is a problem because I want to returnt de result with the list.World be possible to return the result once is filled??</p> <pre><code>public class FollowingActivity extends AppCompatActivity implements TweetFragment.OnFragmentInt...
I'm trying to get a list of tweets but the result tweets list must be final,and this is a problem because I want to returnt de result with the list.World be possible to return the result once is filled?? [CODE] And this is the clas whre I have to get the list [CODE]
android|twitter|twitter-fabric
0
2016-06-22T15:48:39.107Z
2,016
6
15
2
32
1
266
30
3
2
true
false
false
false
false
false
zero
38,019,884
Reasons Android Studio is not zipAligning my apk
<p>I generated a signed apk and wanted to upload it to the play store, but the developer console gives me an error, saying that my apk is not zip aligned. My <code>build.gradle</code> looks like this:</p> <pre><code>apply plugin: 'com.android.application' apply plugin: 'com.google.gms.google-services' android { useLi...
I generated a signed apk and wanted to upload it to the play store, but the developer console gives me an error, saying that my apk is not zip aligned. My build.gradle looks like this: [CODE] I dont know what the problem is, I dont get an error generating the signed apk, and it worked before.
android|android-studio
1
2016-06-24T18:26:05.380Z
2,016
6
18
4
32
1
293
48
2
1
true
false
false
false
false
false
low
38,049,457
Android listview with onclickitems
<p>Hello am a new programmer and <strong>I've been trying to make an app like a book with lisview and when you click on it takes you to another activity.</strong> I tried googling the codes but couldn't find the right one. I have a list names of a topic and when i click on it i want it to take me to the other activity,...
Hello am a new programmer and I've been trying to make an app like a book with lisview and when you click on it takes you to another activity. I tried googling the codes but couldn't find the right one. I have a list names of a topic and when i click on it i want it to take me to the other activity, i stored all the pr...
listview|android-studio|android-intent|android-activity
-1
2016-06-27T08:45:49.877Z
2,016
6
8
0
32
1
540
34
4
0
false
false
false
false
false
true
negative
37,982,062
Is mandatory to have Youtube app installed to use Youtube api
<p>I was reading several tutorials about how to use the Youtube Api. Just to find out after I implemented it. That it was not working when the original Youtube App was not installed on device. In the tutorials I read this was not mentioned. Just in original doc's it says:</p> <blockquote> <p>The API client library i...
I was reading several tutorials about how to use the Youtube Api. Just to find out after I implemented it. That it was not working when the original Youtube App was not installed on device. In the tutorials I read this was not mentioned. Just in original doc's it says: The API client library interacts with a service th...
android|youtube|youtube-api|android-developer-api
1
2016-06-23T03:55:32.813Z
2,016
6
3
3
288
1
581
61
4
0
false
false
false
false
false
false
low
37,659,601
Cannot launch Repl() in Xamarin
<p>I'm writing UITests on Xamarin</p> <p>I try to launch the Repl window, but it doesn't launch.</p> <p>My code:</p> <pre><code>using System; using System.IO; using System.Linq; using NUnit.Framework; using Xamarin.UITest; using Xamarin.UITest.Android; using Xamarin.UITest.Queries; namespace MurakamiKiev.UITests { ...
I'm writing UITests on Xamarin I try to launch the Repl window, but it doesn't launch. My code: [CODE] This is, how I try to launch Repl: That is, what I have in Console. What wrong with my code?? I tried breakpoints, but nothin happens. I tried to update references, but it didn't help. Or if issue not in code, how I c...
c#|android|unit-testing|xamarin|xamarin.android
0
2016-06-06T14:06:57.853Z
2,016
6
14
0
544
1
526
31
5
2
true
false
false
false
false
false
zero
37,867,258
Libgdx - Creating larger background for scrollpane
<p>I'm trying to create a scrollpane that has a background. However, I want the background to take up more than the area of the scrollpane. For instance, Here is my background and colored in red is where I want the scrollpane to be:</p> <p><a href="https://i.stack.imgur.com/GuaxK.png" rel="nofollow noreferrer"><img sr...
I'm trying to create a scrollpane that has a background. However, I want the background to take up more than the area of the scrollpane. For instance, Here is my background and colored in red is where I want the scrollpane to be: However, when I add buttons I get the following result: How can I limit the actual scrollp...
java|android|libgdx
0
2016-06-16T18:54:19.387Z
2,016
6
18
3
544
1
499
50
3
1
true
false
false
false
false
false
zero
37,989,626
Android testing - Robolectric + Mockito + Retrofit getting Wanted but not invoked error
<p>Trying to use Robolectric and Mockito to test my Retrofit calls in my Android app but I am getting the following error: </p> <blockquote> <p>Wanted but not invoked: mockApi.register( , ); -> at ServiceTest.testAPI(ServiceTest.java:58) Actually, there were zero interactions with this mock.</p> </blo...
Trying to use Robolectric and Mockito to test my Retrofit calls in my Android app but I am getting the following error: Wanted but not invoked: mockApi.register( , ); -> at ServiceTest.testAPI(ServiceTest.java:58) Actually, there were zero interactions with this mock. The RetroFit API call is defined in an interface as...
java|android|mockito|retrofit|robolectric
2
2016-06-23T10:56:47.523Z
2,016
6
10
3
544
1
780
87
5
4
true
false
false
false
false
false
low
37,955,699
Android Emulator with ANGLE support
<p>I heard that Almost Native Graphic Layer Engine (ANGLE) translates OpenGL commands to DirectX and provides better 3D performance on Windows system. How can I tell if my android emulator is using ANGLE?</p>
I heard that Almost Native Graphic Layer Engine (ANGLE) translates OpenGL commands to DirectX and provides better 3D performance on Windows system. How can I tell if my android emulator is using ANGLE?
opengl-es|android-emulator
1
2016-06-21T22:35:36.913Z
2,016
6
22
1
800
1
201
35
2
0
false
false
false
false
false
false
low
37,819,228
PersistentCookieJar to SharedPrefs from response with OKHTTP3
<p>I´ve got a trouble with the <a href="https://github.com/franmontiel/PersistentCookieJar" rel="nofollow">PersistentCookieJar</a>. I want to implement a static HTTP-Client with <a href="https://github.com/square/okhttp" rel="nofollow">OKHTTP3</a>, whereby I can call my different methods from the activities and save th...
I´ve got a trouble with the PersistentCookieJar . I want to implement a static HTTP-Client with OKHTTP3 , whereby I can call my different methods from the activities and save the token from the response to SharedPrefs. When I do this following the docs on Github... [CODE] ...I get an error 'Non-static field 'cookieJar'...
android|token|okhttp
0
2016-06-14T18:09:54.270Z
2,016
6
18
1
1,056
1
700
61
3
1
true
false
false
false
false
false
zero
37,692,655
OpenCV code for Face Detection(followed by eyes,nose & mouth detection) in android
<p>I'm a beginner to OpenCV. I'm trying to do a sample android application to detect mouth in a given image using OpenCV . I searched in the internet and I couldn't find a proper android or java code which satisfy my requirement. But I have C++ code. I dont know how to translate it. </p> <p><a href="http://opencvfac...
I'm a beginner to OpenCV. I'm trying to do a sample android application to detect mouth in a given image using OpenCV . I searched in the internet and I couldn't find a proper android or java code which satisfy my requirement. But I have C++ code. I dont know how to translate it. http://opencvfacedetect.blogspot.com/20...
java|android|c++|opencv|image-processing
1
2016-06-08T03:18:25.610Z
2,016
6
3
2
3,104
1
572
82
5
1
true
false
true
false
false
false
low
38,055,303
decompiled .class file bytecode version 51.0 (java 7) in Android Studio
<p>I am getting this error when I add a jar and ado 'add as a library', I get this in one of the files in the jar and hence build fails. I am using jdk 1.7.0. </p> <p>Can anybody help me here understand this?</p>
I am getting this error when I add a jar and ado 'add as a library', I get this in one of the files in the jar and hence build fails. I am using jdk 1.7.0. Can anybody help me here understand this?
android-studio
2
2016-06-27T13:31:04.493Z
2,016
6
13
0
11,040
1
197
71
1
0
false
false
true
false
false
false
low
37,865,740
sub links of webview are not open on all devices?
<p>i am receiving json string and show in Android webview using <code>webview.loadData(content, "text/html; charset=UTF-8", null);</code> json string content showing fine and its links is working correctly on my device(4.1.2)but same links not open on other some devices i tried on other which version is(4.2.2) what i a...
i am receiving json string and show in Android webview using webview.loadData(content, "text/html; charset=UTF-8", null); json string content showing fine and its links is working correctly on my device(4.1.2)but same links not open on other some devices i tried on other which version is(4.2.2) what i am missing here? ...
android|json|webview
-1
2016-06-16T17:26:41.810Z
2,016
6
17
3
33
1
326
49
3
1
true
false
false
false
false
true
negative
37,994,334
Do I need to use AlarmManager.cancel() method?
<p>I'm wondering - why do I need an <a href="https://developer.android.com/reference/android/app/AlarmManager.html#cancel(android.app.PendingIntent)" rel="nofollow">AlarmManager.cancel()</a> method, if I can just call <a href="https://developer.android.com/reference/android/app/PendingIntent.html#cancel()" rel="nofollo...
I'm wondering - why do I need an AlarmManager.cancel() method, if I can just call cancel() method of corresponding PendingIntent and it would also work?
android|alarmmanager
0
2016-06-23T14:19:39.060Z
2,016
6
14
3
33
1
152
46
2
0
false
false
false
false
false
false
zero
38,030,085
Android: how to assign the custom identifiers to dynamic menu items?
<p>There is problem. In my app I have dynamicly built menu items in drawer menu.</p> <pre><code> // data comes from database ArrayList&lt;String&gt; groupsName = mDbHelper.getAllGroupsName(); Menu m = navigationView.getMenu(); SubMenu userGroupsLessonsMenu = m.addSubMenu(R.string.your_groups); for...
There is problem. In my app I have dynamicly built menu items in drawer menu. [CODE] OK, it works good. Now I want to react on click on these items. I would like to assign my custom identifier to menu items in order in [CODE] just to set this id to intent and start new activity. I don't know if it's important, but hard...
android|android-activity|menu
0
2016-06-25T15:37:25.930Z
2,016
6
15
5
33
1
403
68
3
3
true
false
false
false
false
false
zero
37,740,805
Android - contacts address field updating to other fields
<p>I am trying to update the native contact data through my app. The problem is when I am updating with address, the address is updating to First name and notes and phone fields. below code is I used in my app, please correct me if any mistake.</p> <pre><code>public ArrayList&lt;ContentProviderOperation&gt; updateCont...
I am trying to update the native contact data through my app. The problem is when I am updating with address, the address is updating to First name and notes and phone fields. below code is I used in my app, please correct me if any mistake. [CODE]
android|contactscontract
0
2016-06-10T05:53:26.470Z
2,016
6
5
4
289
1
248
57
2
1
true
false
false
false
false
false
zero
37,833,872
Multiple Route between two location in android
<p>I am drawing a single route between two location by this <a href="http://wptrafficanalyzer.in/blog/route-between-two-locations-with-waypoints-in-google-map-android-api-v2/" rel="nofollow">link</a>. but I want to draw multiple route between two location. I am new for Google Map development. so please help me to find ...
I am drawing a single route between two location by this link . but I want to draw multiple route between two location. I am new for Google Map development. so please help me to find out multiple route
android|google-maps|google-maps-api-3|geolocation|google-maps-android-api-2
0
2016-06-15T11:14:58.160Z
2,016
6
11
2
289
1
201
46
5
0
false
false
false
false
false
false
zero
37,847,957
Material theme api level 14
<p>I am building an app and i want to use material theme in my app with api level 14 can anyone help me out. I tried it but it was wit api level 21. I want it with api level 14. </p>
I am building an app and i want to use material theme in my app with api level 14 can anyone help me out. I tried it but it was wit api level 21. I want it with api level 14.
android|material-design
-1
2016-06-16T00:29:24.917Z
2,016
6
0
3
289
1
174
27
2
0
false
false
false
false
false
true
negative
37,988,516
Using Django's OAuth2.0 Authentication with Android Utilizing Volley
<p>I am creating an Android app that will be using a Django backend, along with the Django Rest Framework. I have been reading the OAuth2 documentation, but am still struggling to understand a few key points about its authentication. </p> <p>These are my main questions/things I'm struggling with:</p> <ul> <li><p>In O...
I am creating an Android app that will be using a Django backend, along with the Django Rest Framework. I have been reading the OAuth2 documentation, but am still struggling to understand a few key points about its authentication. These are my main questions/things I'm struggling with: In OAuth2, I am given the oppurtu...
android|python|django|oauth-2.0|android-volley
0
2016-06-23T10:06:44.510Z
2,016
6
10
3
545
1
1,078
68
5
0
false
false
false
false
false
false
zero
37,901,849
Error parsing XML : no element found
<p>When I tried building my application today I came past a problem called <strong><em>Error parsing XML : no element found</em></strong> I cant fix it. I don't know if it's an unclosed tag or something but I dont seem to get it.This is my code: </p> <pre><code> &lt;group&gt; &lt;item android:checkableBeha...
When I tried building my application today I came past a problem called Error parsing XML : no element found I cant fix it. I don't know if it's an unclosed tag or something but I dont seem to get it.This is my code: [CODE] And this is a screenshot of the problem: Click me
android|xml
-3
2016-06-18T21:34:49.893Z
2,016
6
21
5
1,313
1
273
36
2
1
true
false
false
false
false
true
negative
38,042,695
Android collapsable Toolbar menu icons disappearing
<p>So I've implemented collapsable Toolbar inside my app and in Java class I override onCreateOptionsMenu and onOptionsItemSelected like this:</p> <pre><code> @Override public boolean onCreateOptionsMenu(Menu menu) { getMenuInflater().inflate(R.menu.menu_details, menu); return true; } @Ove...
So I've implemented collapsable Toolbar inside my app and in Java class I override onCreateOptionsMenu and onOptionsItemSelected like this: [CODE] And now when I open the activity I can see the menu icons and do stuff with them until the toolbar is colapsed. When user colapses the toolbar the icons disappears. Second p...
java|android|xml|toolbar
2
2016-06-26T20:04:38.147Z
2,016
6
20
6
1,569
1
729
51
4
3
true
false
false
false
false
false
low
37,941,203
ViewHolder not setting the string as text of a TextView. Please see details
<p>I am using <a href="https://github.com/mikepenz/FastAdapter" rel="nofollow">FastAdapter</a> in my android project.</p> <p>This is how I am using it:</p> <pre><code> public class HRequest extends AbstractItem&lt;HRequest, HRequest.ViewHolder&gt; { public String imageURL; public HRequest() { ...
I am using FastAdapter in my android project. This is how I am using it: [CODE] Here is R.layout.h_request_list_row : [CODE] The problem here is that imageURL is not getting set as the imageURL retrieved from the database but as imageURL defined in the layout file and thus no image is getting downloaded. I followed thi...
android|firebase-realtime-database|android-viewholder|firebase-storage|fastadapter
2
2016-06-21T09:56:58.360Z
2,016
6
9
1
1,825
1
613
75
5
3
true
false
false
false
false
false
low
37,630,137
nullpointererror + unable to bind sockets
<p>This works in the earlier version of my app, which is basically the exact same code. The only difference is the current app uses a higher build tools and sdk compiled version, would that cause the code to error? Also the app extends FragmentActivity instead of Activity now.</p> <p>One of the errors is a null pointe...
This works in the earlier version of my app, which is basically the exact same code. The only difference is the current app uses a higher build tools and sdk compiled version, would that cause the code to error? Also the app extends FragmentActivity instead of Activity now. One of the errors is a null pointer exception...
android|multithreading|sockets
0
2016-06-04T12:17:34.687Z
2,016
6
12
5
34
1
676
41
3
1
true
false
false
false
false
false
zero
37,644,282
Android: Rendering fails - can't pick simple resource from dimens.xml
<p>I am having rendering problems - for some reason, resource isn't getting picked up from dimens.xml. This is detailed in the below pic:</p> <p><a href="https://i.stack.imgur.com/zuh6q.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zuh6q.png" alt="enter image description here"></a></p> <p>Any ins...
I am having rendering problems - for some reason, resource isn't getting picked up from dimens.xml. This is detailed in the below pic: Any insights? Many thanks folks in anticipation! In view of the comment by a community member, who advised that I should have all the resource names in lowercase letters, I have to say/...
android|android-layout|android-studio|rendering
0
2016-06-05T16:36:51.293Z
2,016
6
16
6
34
1
705
69
4
1
true
false
false
false
false
false
zero
37,733,077
XHTML encode Android
<p>I need to XHTML encode some text in Android. </p> <p>I had been using <code>Html.escapeHtml()</code>. </p> <p>However <code>Html.escapeHtml(" ")</code> generates <code>" &amp;nbsp;"</code>. I need it to generate <code>" &amp;#160"</code>.</p> <p>Is there an equivalent? I need like a <code>Xhtml.escapeXhtml()</co...
I need to XHTML encode some text in Android. I had been using Html.escapeHtml() . However Html.escapeHtml(" ") generates " " . I need it to generate " &#160" . Is there an equivalent? I need like a Xhtml.escapeXhtml() . Or should I just do string replacements?
android|xhtml|html-encode
0
2016-06-09T17:58:04.833Z
2,016
6
17
3
34
1
260
20
3
0
false
false
false
false
false
false
zero
37,786,457
Sending data from Android with OutpuStream to php
<p>Hi and thanks for reading my topic </p> <p>I'm trying to sending data (valeurDept) to my php file with the method POST but when i checked what was the value returning there's nothing but mysql errors</p> <p>public class DownloaderSite extends AsyncTask {</p> <pre><code>Context c; String address; ListView lv; Stri...
Hi and thanks for reading my topic I'm trying to sending data (valeurDept) to my php file with the method POST but when i checked what was the value returning there's nothing but mysql errors public class DownloaderSite extends AsyncTask { [CODE] } And here's my code of my php file which receive my value I think that t...
php|android
0
2016-06-13T09:43:17.280Z
2,016
6
9
0
34
1
568
49
2
1
true
false
false
false
false
false
zero
37,866,193
start a new activity in a include block
<p>I have a include block in my XML file Im trying to start a new activity in this include,not full screen, and more important behave like the current layout in that part. </p> <p><div class="snippet" data-lang="js" data-hide="false" data-console="true"> <div class="snippet-code"> <pre class="snippet-code-html lang-ht...
I have a include block in my XML file Im trying to start a new activity in this include,not full screen, and more important behave like the current layout in that part. [CODE] I first tried to change the layout of include maybe fragments are solution but I dont know how?
android|layout
0
2016-06-16T17:54:35.663Z
2,016
6
17
3
34
1
271
39
2
1
true
false
false
false
false
false
zero
38,006,453
How to relate individual json data that I am getting in my android app?
<p>In my android app I am accessing external PostgreSQL database, I am able to get json data but here I am accessing three tables which are related through there id's.I am getting those tables json data individually. Now my question is how to get data from three tables that I want through there relation in my app?In my...
In my android app I am accessing external PostgreSQL database, I am able to get json data but here I am accessing three tables which are related through there id's.I am getting those tables json data individually. Now my question is how to get data from three tables that I want through there relation in my app?In my ap...
android|json|postgresql
-1
2016-06-24T05:55:05.917Z
2,016
6
5
4
34
1
636
71
3
6
true
false
false
false
false
true
negative
38,051,476
What exactly do Volley "response" and "error" contain?
<p>I can't really understand this concept . My knowledge on webservices and oop is limited. Lets say that I set up a string request and pass a very simple database connection php script url to it. What would the volley response and error contain?</p>
I can't really understand this concept . My knowledge on webservices and oop is limited. Lets say that I set up a string request and pass a very simple database connection php script url to it. What would the volley response and error contain?
android|android-volley
0
2016-06-27T10:21:33.203Z
2,016
6
10
0
34
1
243
54
2
0
false
false
false
false
false
false
zero
37,901,808
Kivy Buildozer Zipfile Error: 98 extra bytes at beginning or within zipfile
<p>Upgraded to new buildozer version (Running Kivy,Python and Buildozer on OS X).</p> <p>Please assist if anyone has picked up similar errors with the android_new branch.</p> <p>When trying to package a new distribution I'm getting the following zip file errors when running the buildozer command:</p> <pre><code>buil...
Upgraded to new buildozer version (Running Kivy,Python and Buildozer on OS X). Please assist if anyone has picked up similar errors with the android_new branch. When trying to package a new distribution I'm getting the following zip file errors when running the buildozer command: [CODE] Log Output (note: deleted some o...
android|python|macos|kivy|buildozer
0
2016-06-18T21:29:30.930Z
2,016
6
21
5
290
1
374
75
5
2
true
false
false
false
false
false
zero
37,971,927
Application Not Responding After Launching ACTION_VIEW Intent
<p>After I successfully launching the following intent:</p> <pre><code>startActivity(new Intent(Intent.ACTION_VIEW, SOME_URL)); </code></pre> <p>The browser boots up fine and loads the link, but when I try to return to my app the response is sluggish. When the app eventually launches I am met with a black screen, and...
After I successfully launching the following intent: [CODE] The browser boots up fine and loads the link, but when I try to return to my app the response is sluggish. When the app eventually launches I am met with a black screen, and finally an "Application Not Responding" dialog. No errors in logcat, no obvious memory...
android|android-intent
0
2016-06-22T15:07:17.840Z
2,016
6
15
2
290
1
560
61
2
3
true
false
false
false
false
false
zero
37,670,854
How to draw a 2D arrow in android drawing view using canvas( looks like Skitch app drawing arrow )
<p>I'm not well experienced with the android canvas. I have searched many websites and I'm not successful enough to find even the samples for the 2D arrow. Any reference that matches with this 2D arrow would be very helpful to me. I need this arrow in my project drawing view when user chooses arrow to draw.</p> <p><a ...
I'm not well experienced with the android canvas. I have searched many websites and I'm not successful enough to find even the samples for the 2D arrow. Any reference that matches with this 2D arrow would be very helpful to me. I need this arrow in my project drawing view when user chooses arrow to draw.
android|drawing|android-canvas
0
2016-06-07T05:03:06.453Z
2,016
6
5
1
546
1
305
98
3
0
false
false
false
false
false
false
zero
37,716,396
Best way to handle recyclerview item clicks using rx-android
<p>I've got this scenario on my recyclerview items:</p> <p>Once i click an item from my recyclerview, i want to show a detailed info of that item to another activity(say DetailsActivity), and at the same time, leverage the new activity transitions of views(API 21) on that recyclerviewitem.</p> <p>Found some methods b...
I've got this scenario on my recyclerview items: Once i click an item from my recyclerview, i want to show a detailed info of that item to another activity(say DetailsActivity), and at the same time, leverage the new activity transitions of views(API 21) on that recyclerviewitem. Found some methods by having itemclick ...
rx-java|android-recyclerview|rx-android
1
2016-06-09T03:44:49.090Z
2,016
6
3
3
1,570
1
778
60
3
0
false
false
false
false
false
false
low
37,671,155
System.Net.WebException: Error: ConnectFailure (Connection timed out)
<pre><code>string dataResult = GetData("http://192.168.1.119/Test/api/TestApp/LoginCheck?username=" + UName.Text + "&amp;pswrd=" + Pswrd.Text + ""); private string GetData(string url) { string Result = "false"; try { using (WebClient client = new WebClient()) { ...
[CODE] Hi Friends I am getting Connection time out error in this line [CODE] But in the web it is working fine. Please help any solution.
android|asp.net-web-api|xamarin|xamarin.android
0
2016-06-07T05:27:34.467Z
2,016
6
5
1
3,618
1
137
69
4
2
true
false
true
false
false
false
zero
37,627,499
How to share post on google plus from android app without shareIntent?
<p>I follow googleplus docs to share post using shareIntent But I want to share post without starting Intent. is it possible? Any Hint apppreciated!</p>
I follow googleplus docs to share post using shareIntent But I want to share post without starting Intent. is it possible? Any Hint apppreciated!
google-plus|google-plus-signin|android-sharing
0
2016-06-04T07:13:15.637Z
2,016
6
7
5
35
1
145
70
3
0
false
false
false
false
false
false
zero
37,753,709
Passing objects as parameters in SugarORM
<p>I have an object extending SugarRecord that looks like this:</p> <pre><code>public class SavedDraft extends SugarRecord { private String name; private String difficulty; private int sport_id; private LocalActivity localActivity; public SavedDraft() { } public SavedDraft(String name, String difficulty, int ID,...
I have an object extending SugarRecord that looks like this: [CODE] The problem is that I always get a null object when I try to get the localActivity object from the database (see: SavedDraft.findById(SavedDraft.class, 1).getLocalActivity()), and I'm just wondering if it's possible to save objects as parameters in Sug...
java|android|sugarorm
1
2016-06-10T17:07:04.223Z
2,016
6
17
4
35
1
333
41
3
1
true
false
false
false
false
false
low
37,767,042
Apply curtains/blinds to an area in an image
<p>I am trying to create an app similar to "Kresta" app on Android. I attached some images related to what I want to do. I have tried searching but nothing has come up so far because I don't know what is this technique called. Please guide in the right direction. Thanks.</p> <p>I can probably add the curtains using bi...
I am trying to create an app similar to "Kresta" app on Android. I attached some images related to what I want to do. I have tried searching but nothing has come up so far because I don't know what is this technique called. Please guide in the right direction. Thanks. I can probably add the curtains using bitmaps and c...
android
-2
2016-06-11T18:10:08.767Z
2,016
6
18
5
35
1
384
44
1
0
false
false
false
false
false
true
negative