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,934,053
Camera preview size is not full screen
<p>I have a problem with my camera in my app and that it is not full screen when I run the app. I have a screen shot of the camera that I will post later. The main activity class get its screen size from the camera preview class so I will not be posting its code even though I have the layout for it (which hosts the cam...
I have a problem with my camera in my app and that it is not full screen when I run the app. I have a screen shot of the camera that I will post later. The main activity class get its screen size from the camera preview class so I will not be posting its code even though I have the layout for it (which hosts the camera...
android|android-camera|screen-size
2
2016-06-21T01:01:35.147Z
2,016
6
1
1
773
1
379
38
3
2
true
false
false
false
false
false
low
37,973,834
Remove app from running apps by swiping out using UI automator
<p>I have to write a test case using UIautomator to swipe it out from the recent apps.I am trying below code but not sure what should be "id of the app".I tried running uiautomatorviewer and all apps are showing same resourceId.</p> <p>uiDevice.pressRecentApps();</p> <pre><code> UiObject app = uiDevice.findObject(...
I have to write a test case using UIautomator to swipe it out from the recent apps.I am trying below code but not sure what should be "id of the app".I tried running uiautomatorviewer and all apps are showing same resourceId. uiDevice.pressRecentApps(); [CODE]
android
2
2016-06-22T16:38:17.343Z
2,016
6
16
2
1,029
1
260
62
1
1
true
false
false
false
false
false
low
37,663,904
Programmatically answer incoming call on Lollipop/Marshmallow without root or system application
<p>My application needs to answer incoming calls programmatically (it's an enterprise telephony app that allows dialing via office). Up until Android 4.4, I was using the <a href="https://stackoverflow.com/questions/26924618/how-can-incoming-calls-be-answered-programmatically-in-android-5-0-lollipop" title="described ...
My application needs to answer incoming calls programmatically (it's an enterprise telephony app that allows dialing via office). Up until Android 4.4, I was using the Headset Hook method Unfortunately, in 5.0 and 6.0 that doesn't seem to work anymore. I've tried experimenting with KeyEvent.ACTION_DOWN and ACTION_UP, w...
android-5.0-lollipop|incoming-call
1
2016-06-06T17:55:33.190Z
2,016
6
17
0
1,285
1
943
96
2
0
false
false
false
false
false
false
low
37,675,883
onPostExecute is executing before completion of doInBackground
<p>I am trying to execute some server side functionality in doInBackground() method and by depending on the result of server I have to execute few steps, I 've written them in onPostExecute() but for me onPostExecute() is executing before completion of doInBackground() </p> <pre><code>protected String[] doInBackgro...
I am trying to execute some server side functionality in doInBackground() method and by depending on the result of server I have to execute few steps, I 've written them in onPostExecute() but for me onPostExecute() is executing before completion of doInBackground() [CODE]
android|performance|android-fragments|android-studio
-1
2016-06-07T09:45:54.233Z
2,016
6
9
1
262
1
273
62
4
1
true
false
false
false
false
true
negative
37,725,074
Disable central item overlap in RecyclerView
<p>I have horizontal RecyclerView with images. </p> <p>When i scroll it left, i have image order like this.</p> <p><a href="https://i.stack.imgur.com/XwzgN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XwzgN.png" alt="enter image description here"></a></p> <p>When i scroll it right, i have order...
I have horizontal RecyclerView with images. When i scroll it left, i have image order like this. When i scroll it right, i have order like this. I need to set central image on top, above left and right ones. How to do it? I overrided getChildDrawingOrder method: [CODE] Also i set [CODE] Full code is here .
android|android-recyclerview
0
2016-06-09T11:45:31.563Z
2,016
6
11
3
262
1
307
44
2
2
true
false
false
false
false
false
zero
37,929,787
Resetting Message Number for Inbox Style Notifications
<p>Edit: It won't allow me to accept my own answer for 2 days, but I figured it out. See my answer below if you have a similar problem</p> <p>I'm working on stacking the push notifications from my app and displaying them using InboxStyle with a summary text. Currently, I'm displaying up to 3 notifications, followed by...
Edit: It won't allow me to accept my own answer for 2 days, but I figured it out. See my answer below if you have a similar problem I'm working on stacking the push notifications from my app and displaying them using InboxStyle with a summary text. Currently, I'm displaying up to 3 notifications, followed by a "+ x mor...
android|push-notification|android-notifications
0
2016-06-20T18:52:50.370Z
2,016
6
18
0
518
1
907
54
3
1
true
false
false
false
false
false
zero
37,932,946
How to get a reference to the JVM from a native android executable?
<p>I've successfully built and run a native executable using the NDK. It is a regular C++ application with no java entry point (e.g., no xyz_activity, just int main()). Now I need to access some methods from the android runtime through JNI, but i can't seem to get a hold of the JavaVM*. jni_getcreatedjavavms isn't expo...
I've successfully built and run a native executable using the NDK. It is a regular C++ application with no java entry point (e.g., no xyz_activity, just int main()). Now I need to access some methods from the android runtime through JNI, but i can't seem to get a hold of the JavaVM*. jni_getcreatedjavavms isn't exporte...
android-ndk
3
2016-06-20T22:39:58.580Z
2,016
6
22
0
518
1
726
67
1
0
false
false
false
false
false
false
low
37,676,535
Bootstrap in Appium
<p>What does mean by bootstrap in Appium and why it used for?</p> <blockquote> <p>The scripts will then communicate with <code>bootstrap.jar</code> which is running in device</p> </blockquote>
What does mean by bootstrap in Appium and why it used for? The scripts will then communicate with bootstrap.jar which is running in device
android|android-emulator|appium
1
2016-06-07T10:15:47.867Z
2,016
6
10
1
1,542
1
138
19
3
0
false
false
false
false
false
false
low
37,832,548
How to get the label value of the clicked bar on HorizontalBarChart in MPAndroidChart?
<p>I am using <strong>HorizontalBarChart</strong> by <strong>com.github.PhilJay:MPAndroidChart:v2.2.5</strong>. I want to get the string values of the bar(label value) which I clicked.</p> <p>This is my yAxis. I have 7 bars.</p> <pre><code>chart = (HorizontalBarChart) vLayout.findViewById(R.id.hchart); final ArrayLi...
I am using HorizontalBarChart by com.github.PhilJay:MPAndroidChart:v2.2.5 . I want to get the string values of the bar(label value) which I clicked. This is my yAxis. I have 7 bars. [CODE] I want to get the label value of the bar i click, for example FG0028
java|android|charts
2
2016-06-15T10:17:45.943Z
2,016
6
10
2
1,542
1
257
86
3
1
true
false
false
false
false
false
low
37,656,544
Defining size to a custom array type in Android Kotlin
<p>How to define size for any custom component based array like <strong>ImageView</strong>?</p> <p>I've tried the following code with a type mismatch error,</p> <pre><code> private var dots: Array&lt;ImageView&gt;? = null dots = arrayOfNulls&lt;ImageView&gt;(size) </code></pre> <p>Here's the actual Java code,...
How to define size for any custom component based array like ImageView ? I've tried the following code with a type mismatch error, [CODE] Here's the actual Java code, [CODE]
android|kotlin
2
2016-06-06T11:43:15.310Z
2,016
6
11
0
2,054
1
173
54
2
2
true
false
false
false
false
false
low
37,781,417
Android shell chown u0_49
<p>I'm having some trouble with changing owner in the shell on my android. I'm trying to change the owner and group of a file to match another file in the directory. When I <code>ls -l</code> the other files have an owner of <code>u0_a49</code> I tried to <code>su chown u0_a49:u0_49</code> When I tried that I got the e...
I'm having some trouble with changing owner in the shell on my android. I'm trying to change the owner and group of a file to match another file in the directory. When I ls -l the other files have an owner of u0_a49 I tried to su chown u0_a49:u0_49 When I tried that I got the error tmp-mksh: u0_a49:u0_a49: not found I ...
android|linux|chown|android-shell
0
2016-06-13T03:28:43.913Z
2,016
6
3
0
5,638
1
410
25
4
0
false
false
true
false
false
false
zero
37,677,792
Google Playstore - Ambiguity when moving from beta to production
<p>I have just launched my app in private beta on Google Playstore. We are collecting feedback and working upon it. There are quite a few modifications, and we shall be updating the APK in private beta, and in a week post that shall move it to production for the public launch. I have 2 questions here:</p> <ol> <li>Sho...
I have just launched my app in private beta on Google Playstore. We are collecting feedback and working upon it. There are quite a few modifications, and we shall be updating the APK in private beta, and in a week post that shall move it to production for the public launch. I have 2 questions here: Should the private b...
android|google-play
1
2016-06-07T11:12:04.573Z
2,016
6
11
1
263
1
712
64
2
0
false
false
false
false
false
false
low
37,810,258
Error adding AdMob with Xamarin Visual Studio
<p>I have a problem with Xamarin Visual Studio, specifically with the AdMob banner. How do I correctly add the AdMob banner? </p> <p>I downloaded the components (Google Play Services - Ads) successfully.</p> <p>Here is my code:</p> <h2>MainActivity.cs</h2> <pre><code>using System; using Android.App; using Android.C...
I have a problem with Xamarin Visual Studio, specifically with the AdMob banner. How do I correctly add the AdMob banner? I downloaded the components (Google Play Services - Ads) successfully. Here is my code: MainActivity.cs [CODE] AndroidManifest.xml [CODE] Main.xml [CODE] I have error in main.xml Screenshot of the e...
java|android
0
2016-06-14T11:07:26.657Z
2,016
6
11
1
263
1
325
45
2
3
true
false
false
false
false
false
zero
37,985,738
Error when implementing interfaces with greenDAO
<p>I'm trying to use greenDAO's <code>implementsInterface</code> method, here is most of my main generator class:</p> <pre><code>private static void addTables(final Schema schema) { Entity photo_pronoun = addCard(schema); Entity simple_pronoun = addSimpleCard(schema); Entity original_pronoun = addOriginalC...
I'm trying to use greenDAO's implementsInterface method, here is most of my main generator class: [CODE] When I run this to create my files I get an error in original_pronoun and in simple_pronoun on my first line at addNewCard : interface expected here public class addOriginalCard implements addNewCard { I get that er...
java|android|greendao|implements
0
2016-06-23T08:11:19.890Z
2,016
6
8
3
263
1
540
48
4
1
true
false
false
false
false
false
zero
37,790,190
Google Map Implementation in Viewpager, Error Unable to get provider com.google.firebase.provider.FirebaseInitProvider
<p>I face the Exception in android Google map Integration inside the ViewPager, Please Help me to resolve this issue, I used the Following code, Please rectify the bug were i done the mistake,Its My kind request. please add comment if my question is not eligible , i remove my post.Thank-you</p> <p>Activity Name: <br/>...
I face the Exception in android Google map Integration inside the ViewPager, Please Help me to resolve this issue, I used the Following code, Please rectify the bug were i done the mistake,Its My kind request. please add comment if my question is not eligible , i remove my post.Thank-you Activity Name: MapTradeActivity...
android|google-maps|android-fragments|android-viewpager
0
2016-06-13T12:43:54.397Z
2,016
6
12
0
519
1
541
118
4
4
true
false
false
false
false
false
zero
37,937,351
Ionic Framework installed but not working in Ubuntu 16.04
<p>when i try to check the version of my installed ionic dependence or start a new blank project it gives errors.</p> <p>Please help me this <a href="http://i.stack.imgur.com/MafIU.png" rel="nofollow">error</a>.</p>
when i try to check the version of my installed ionic dependence or start a new blank project it gives errors. Please help me this error .
android|ionic-framework|installation|ubuntu-16.04
-1
2016-06-21T06:50:10.573Z
2,016
6
6
1
519
1
138
57
4
0
false
false
false
false
false
true
negative
37,911,344
SQLite give me an error near "CREATE": syntax error (code 1)
<p>I create DbManger Class to handle Sqlite database Operation,i try to insert value in database it give an error</p> <blockquote> <p>E/SQLiteDatabase(6729): android.database.sqlite.SQLiteException: near "CREATE": syntax error (code 1): , while compiling: INSERT INTO CREATE TABLE relations(_id INTEGER PRIMARY KEY AU...
I create DbManger Class to handle Sqlite database Operation,i try to insert value in database it give an error E/SQLiteDatabase(6729): android.database.sqlite.SQLiteException: near "CREATE": syntax error (code 1): , while compiling: INSERT INTO CREATE TABLE relations(_id INTEGER PRIMARY KEY AUTOINCREMENT, name TEXT NOT...
android|sqlite|android-sqlite
-1
2016-06-19T20:06:56.647Z
2,016
6
20
6
2,055
1
588
60
3
2
true
false
false
false
false
true
negative
37,664,636
socket.io send some data to server when connect android
<p>in javascript and node.js i can send data to server when connect like this</p> <pre><code>var s = io('http://216.157.91.131:8080/', { query: "foo=bar" }); s.connect(); var c = io.connect('http://216.157.91.131:8080/', { query: "foo=bar" }); </code></pre> <p>and in server i can get the data like this</p> <pre><c...
in javascript and node.js i can send data to server when connect like this [CODE] and in server i can get the data like this [CODE] now in android how can i do same thing ? iam use com.github.nkzawa:socket.io-client:0.4.2 for android and its code like this [CODE] now if i add some data with connection like javscript it...
java|android|node.js|sockets
0
2016-06-06T18:40:00.777Z
2,016
6
18
0
2,311
1
432
55
4
4
true
false
false
false
false
false
zero
38,024,509
where genymotion fingerprint
<p>Please Help I am trying to use the Android 6.0 Marshamallow Fingerprint API. Trying to test it on Genymotion Emulator first. I go to Settings > Security and I cant find any option to add a fingerprint. Does anyone know where to go to add one?</p> <p>I am trying to run this sample code from Google on Fingerprint API...
Please Help I am trying to use the Android 6.0 Marshamallow Fingerprint API. Trying to test it on Genymotion Emulator first. I go to Settings > Security and I cant find any option to add a fingerprint. Does anyone know where to go to add one? I am trying to run this sample code from Google on Fingerprint API. Thank
android|genymotion
4
2016-06-25T02:57:39.030Z
2,016
6
2
5
3,079
1
316
28
2
0
false
false
true
false
false
false
low
37,904,635
how to load swf as2 in android?
<p>I have some swf files in as2 format. I wrote a loader in as3 format that loads my as2 files. It is correct in windows but doesn't work in android. I know Adobe air android doesn't support as2.</p>
I have some swf files in as2 format. I wrote a loader in as3 format that loads my as2 files. It is correct in windows but doesn't work in android. I know Adobe air android doesn't support as2.
android|flash|actionscript-2
-1
2016-06-19T06:42:22.783Z
2,016
6
6
6
264
1
192
31
3
0
false
false
false
false
false
true
negative
37,922,093
How to keep only required options in adobe creative sdk
<p>I am using adobe creative sdk in my application. But my app needs only <strong>draw</strong> and <strong>text</strong> option. So is there way to remove other image editing options from the bottom bar.? If my question is too broad please let me know I'll update the question.</p> <p>Regards</p>
I am using adobe creative sdk in my application. But my app needs only draw and text option. So is there way to remove other image editing options from the bottom bar.? If my question is too broad please let me know I'll update the question. Regards
android|aviary|adobecreativesdk
2
2016-06-20T12:02:10.167Z
2,016
6
12
0
264
1
249
55
3
0
false
false
false
false
false
false
low
37,647,692
Android Insistent Notification Interrupted By SMS - How to make uninterruptable?
<p>Short version:</p> <p>I want to create a notification that is uninterruptible by all other notifications, SMS messages, etc until the user clears it.</p> <p>Long version:</p> <p>I'm using Firebase Cloud Messaging to send alerts to my phone. Messages are handled based on the topic, and I need to make the "alarm" m...
Short version: I want to create a notification that is uninterruptible by all other notifications, SMS messages, etc until the user clears it. Long version: I'm using Firebase Cloud Messaging to send alerts to my phone. Messages are handled based on the topic, and I need to make the "alarm" messages repeat continuously...
android|notifications|android-notifications|firebase-cloud-messaging
1
2016-06-05T23:12:00.620Z
2,016
6
23
6
520
1
1,205
80
4
1
true
false
false
false
false
false
low
38,047,077
SQL LITE DATABASE VIEW IN ANDROID PHONE
<p>**</p> <h2>I know this is possible duplicate. But I would like to highlight that even after following all the available instructions, I haven't been able to solve the issue</h2> <p>**</p> <p>Can anyone tell how to view local database created by my android application in my android phone. </p> <p>I'm not using an...
** I know this is possible duplicate. But I would like to highlight that even after following all the available instructions, I haven't been able to solve the issue ** Can anyone tell how to view local database created by my android application in my android phone. I'm not using any AVD . I'm directly deploying the app...
android|sqlite
-2
2016-06-27T06:20:51.643Z
2,016
6
6
0
520
1
627
39
2
0
false
false
false
false
false
true
negative
37,838,753
Heyzap SDK Unity Integration error - missing google-play-services_lib
<p>I'm trying to integrate Heyzap 9.6.0(beta) in my Unity project. When trying to setup android, getting error:</p> <p>Google Play Services lib project not found at: C:/Android/sdk\extras\google\google_play_services\libproject\google-play-services_lib</p> <p>I've checked my Android SDK, the revision of Google Play se...
I'm trying to integrate Heyzap 9.6.0(beta) in my Unity project. When trying to setup android, getting error: Google Play Services lib project not found at: C:/Android/sdk\extras\google\google_play_services\libproject\google-play-services_lib I've checked my Android SDK, the revision of Google Play services is 30. How c...
android|unity3d|google-play-services|heyzap|android-unity-plugin
0
2016-06-15T14:47:41.383Z
2,016
6
14
2
1,032
1
396
69
5
0
false
false
false
false
false
false
zero
37,728,081
Using Content URI with ACTION_VIDEO_CAPTURE
<p>I'm currently using Content URIs on my file provider to retrieve camera images returned by a <code>ACTION_IMAGE_CAPTURE</code> intent. This works fine.</p> <p>For some strange reason, the same call doesn't work when attempting to retrieve a video file from the camera.</p> <pre><code> destinationFile = File....
I'm currently using Content URIs on my file provider to retrieve camera images returned by a ACTION_IMAGE_CAPTURE intent. This works fine. For some strange reason, the same call doesn't work when attempting to retrieve a video file from the camera. [CODE] When the intent returns in onActivityResult() the destinationFil...
android|camera|video-capture|mediastore|android-fileprovider
5
2016-06-09T13:58:39.153Z
2,016
6
13
3
1,288
1
717
43
5
1
true
false
false
false
false
false
low
37,633,974
How to make isResumed() return true for a Fragment in an ActivityUnitTestCase?
<p>I've written a fragment class that, at a certain point, double checks <a href="https://developer.android.com/reference/android/support/v4/app/Fragment.html#isResumed()" rel="nofollow"><code>isResumed()</code></a> before executing something. I'd like to write tests ensuring that this code runs. However, in my test ca...
I've written a fragment class that, at a certain point, double checks isResumed() before executing something. I'd like to write tests ensuring that this code runs. However, in my test cases derived from ActivityUnitTestCase , isResumed() always seems to return false . Is there some way to make it return true in such a ...
java|android|android-fragments|android-lifecycle|android-testing
0
2016-06-04T19:05:16.993Z
2,016
6
19
5
1,800
1
774
78
5
1
true
false
false
false
false
false
zero
38,051,860
Android native crash debug symbols
<p>I am new to debugging Android at native level. So, I need some help regarding that. Suppose I am having an app using some native library. Sometimes, the app is getting crashed at native code and I have the logcat and tombstone for the crash. But as I can see at other places, I need debug symbols to convert the backt...
I am new to debugging Android at native level. So, I need some help regarding that. Suppose I am having an app using some native library. Sometimes, the app is getting crashed at native code and I have the logcat and tombstone for the crash. But as I can see at other places, I need debug symbols to convert the backtrac...
android|android-ndk|native
2
2016-06-27T10:41:21.373Z
2,016
6
10
0
6,408
1
641
34
3
0
false
false
true
false
false
false
low
37,665,001
Android setup ACRA to get application bugs and crashes doesnt work
<p>this below code are my simple setup ACRA to get craches and my application bugs, but the setup acra doesnt send any report </p> <pre><code>@ReportsCrashes( /*LOCALHOST*/ formUri = "http://192.168.1.35/acra.php/acra.php", customReportContent = {ReportField.APP_VERSION_CODE, ReportField.APP_VE...
this below code are my simple setup ACRA to get craches and my application bugs, but the setup acra doesnt send any report [CODE] Localhost php file: [CODE] entering http://192.168.1.35/acra.php/acra.php can be create empty file and it doesnt have any problem to get report, my acra version is 4.9.0 my manifest: [CODE]
android|acra
0
2016-06-06T19:02:45.613Z
2,016
6
19
0
265
1
319
66
2
3
true
false
false
false
false
false
zero
37,681,978
Filter ExecutorService ThreadPool prior to running pending tasks
<p>Let's say I have an <code>ExecutorService</code> <code>(.newFixedThreadPool(2))</code> that takes a series of requests. For the sake of simplicity, they are just: <code>{ String url }</code></p> <p>Let's say I have urls <code>[ aaa, bbb, ccc, aaa, ddd, aaa, ... ]</code> in that order. (Yes, <code>aaa</code> is repe...
Let's say I have an ExecutorService (.newFixedThreadPool(2)) that takes a series of requests. For the sake of simplicity, they are just: { String url } Let's say I have urls [ aaa, bbb, ccc, aaa, ddd, aaa, ... ] in that order. (Yes, aaa is repeated multiple times) Those url events come in asynchronously, and so are eac...
java|android
0
2016-06-07T14:21:56.293Z
2,016
6
14
1
265
1
956
64
2
0
false
false
false
false
false
false
zero
37,883,819
Codename One Send Build Error
<p>I am investigating possible cross-platform solutions for my company and I am trying Codename One right now. I really like it but today i created a hello world project and I am getting an error when I try to the build server. I have also tried an iOS build and I get the same error. Here is the exception I am getting:...
I am investigating possible cross-platform solutions for my company and I am trying Codename One right now. I really like it but today i created a hello world project and I am getting an error when I try to the build server. I have also tried an iOS build and I get the same error. Here is the exception I am getting: [C...
android|ssl|intellij-idea|build|codenameone
1
2016-06-17T14:12:57.400Z
2,016
6
14
4
265
1
894
29
5
4
true
false
false
false
false
false
low
37,732,891
getlastknownlocation() return null and App is shutting down
<p>im trying to get current location on each several seconds and i do so with AlarmManager and LocationListener and Location Manager. before setting the alarm i need to get current location for calculating the general distance. when i run my app on AVD and set Lat &amp; Long manually with DDMS the App works fine and do...
im trying to get current location on each several seconds and i do so with AlarmManager and LocationListener and Location Manager. before setting the alarm i need to get current location for calculating the general distance. when i run my app on AVD and set Lat & Long manually with DDMS the App works fine and do the jo...
android|gps|location
1
2016-06-09T17:46:23.097Z
2,016
6
17
3
521
1
949
59
3
4
true
false
false
false
false
false
low
37,907,746
In Android, is there a way to check if a certain service exists?
<p>When calling <code>startActivity</code>, one can try to catch an <code>ActivityNotFoundException</code> to know whether the activity exists.</p> <p>When calling <code>startService</code>, however, there is no <code>ServiceNotFoundException</code>. How can I detect if the service exists?</p> <p><strong>Why do I wan...
When calling startActivity , one can try to catch an ActivityNotFoundException to know whether the activity exists. When calling startService , however, there is no ServiceNotFoundException . How can I detect if the service exists? Why do I want to do this As I have learnt, a call to startService will be processed asyn...
java|android|exception|service
2
2016-06-19T13:27:42.240Z
2,016
6
13
6
777
1
705
64
4
0
false
false
false
false
false
false
low
37,783,755
not showing camera Preview on android
<p>I want before capture, showing camera preview. but not showing camera preview.</p> <p>it is not occur error thanks,</p> <pre><code>private boolean playing = false; //global variable private Camera mCamera; //global variable @Override public void surfaceCreated(SurfaceHolder holder) { cameraPlayStart(); } @...
I want before capture, showing camera preview. but not showing camera preview. it is not occur error thanks, [CODE]
android
1
2016-06-13T07:13:53.247Z
2,016
6
7
0
1,033
1
115
37
1
1
true
false
false
false
false
false
low
37,939,171
Android Google Fitness API for steps
<p>I have a service in my android app that i use for step counting. I fitness and history api for getting the daily and weekly steps. Everything was working correctly until suddenly the number of steps is always 0! The app seems to connect to fitness api using the above code</p> <pre><code>private void buildFitnessCli...
I have a service in my android app that i use for step counting. I fitness and history api for getting the daily and weekly steps. Everything was working correctly until suddenly the number of steps is always 0! The app seems to connect to fitness api using the above code [CODE] while in order to retrieve the daily ste...
android|google-api|google-fit|google-fit-sdk
1
2016-06-21T08:24:26.590Z
2,016
6
8
1
1,545
1
736
36
4
2
true
false
false
false
false
false
low
37,915,351
Cardview Elevation set diff for Top ,bottom,left and right
<p>how to set Elevation value 2dp Right, 2dp Left, 1dp Top and 1dp Bottom</p> <p>i used below code and its just give common Elevation for all side</p> <pre><code> &lt;android.support.v7.widget.CardView android:id="@+id/card_view" xmlns:card_view="http://schemas.android.com/apk/res-auto" android:layo...
how to set Elevation value 2dp Right, 2dp Left, 1dp Top and 1dp Bottom i used below code and its just give common Elevation for all side [CODE]
android|android-cardview
2
2016-06-20T05:49:12.403Z
2,016
6
5
0
2,313
1
143
58
2
1
true
false
false
false
false
false
low
37,801,078
ViewPager inside CardView inside RecyclerView Android
<p>I'm trying to design something very similar to this design from the <a href="https://material.google.com/components/cards.html#cards-content" rel="nofollow noreferrer">Material Design website</a>.</p> <p><a href="https://i.stack.imgur.com/xQvR4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xQvR...
I'm trying to design something very similar to this design from the Material Design website . So basically, I have a list of CardViews that each of them has multiple views that user can swipe between them. (First card on the image) I started by implementing a simple recyclerview that contains CardView and for each card...
android|android-fragments|xamarin|android-recyclerview|android-cardview
3
2016-06-14T00:16:57.613Z
2,016
6
0
1
5,129
1
1,060
53
5
1
true
false
true
false
false
false
low
37,648,278
Implementing events Spinner with Butter Knife
<p>First: We need to reference the spinner</p> <pre><code>@Bind(R.id.field_type_id) Spinner mTypeIdSpinner; </code></pre> <p>Second: Create string array</p> <pre><code>&lt;string-array name="type_id_array"&gt; &lt;item&gt;One&lt;/item&gt; &lt;item&gt;Two&lt;/item&gt; &lt;item&gt;Three&lt;/item&gt; &l...
First: We need to reference the spinner [CODE] Second: Create string array [CODE] Third: Load the adapter in your activity (onCreate method for example) [CODE] Fourth: Listen the events [CODE]
android|spinner|butterknife|onitemselectedlistener
10
2016-06-06T00:58:59.823Z
2,016
6
0
0
9,993
1
192
45
4
4
true
false
true
false
true
false
medium
37,781,184
when does webview success to load js?(it seems webview does not have the callback)
<p><strong>I want to invoke js function after loadurl(), but i do not know when the url(http) is loaded sussefully. And webview does not have the believable callback functions</strong></p> <p>When the webview load html page, I do not know when the js could success be loaded. And there is not callback function to be ov...
I want to invoke js function after loadurl(), but i do not know when the url(http) is loaded sussefully. And webview does not have the believable callback functions When the webview load html page, I do not know when the js could success be loaded. And there is not callback function to be override. It seems that onPage...
javascript|android|webview|android-webview
0
2016-06-13T02:51:53.963Z
2,016
6
2
0
266
1
455
82
4
0
false
false
false
false
false
false
zero
37,937,730
Display random values From Sqlite Database Using JavaScript
<p>I'm using Cordova Database and I have to display my images in the database randomly. Sqlite order by Random() is not working ... Here is my code</p> <pre><code>Var myDB = window.openDatabase("Database", "1.0", "Cordova Demo",10485760); myDB.transaction(function(transaction) { transaction.executeSql('SELECT * F...
I'm using Cordova Database and I have to display my images in the database randomly. Sqlite order by Random() is not working ... Here is my code [CODE]
javascript|android|sqlite|cordova|random
-1
2016-06-21T07:10:22.720Z
2,016
6
7
1
266
1
151
59
5
1
true
false
false
false
false
true
negative
37,950,483
How to enable downloads (count) icon on app page in google playstore
<p>In this image i marked download notification displayed part in play store</p> <p><a href="https://i.stack.imgur.com/kYxtT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kYxtT.png" alt="enter image description here"></a></p> <p>i upload apk in playstore. it's everything working fine but download...
In this image i marked download notification displayed part in play store i upload apk in playstore. it's everything working fine but download notification not displayed . how to display download notification?
android|google-play|google-play-services
1
2016-06-21T17:03:24.203Z
2,016
6
17
1
266
1
209
68
3
0
false
false
false
false
false
false
low
38,042,269
Unity: Failed to re-package resources for no reason
<p>I was able to build apk without no problems and I didn't change anything significant since the last build (except a bit of game logic), but now when I try to build my game this error happens. I have no clue of what's going on, but the message always mentiones unity ads... I'm using Appodeal, CloudOnce and I'm runnin...
I was able to build apk without no problems and I didn't change anything significant since the last build (except a bit of game logic), but now when I try to build my game this error happens. I have no clue of what's going on, but the message always mentiones unity ads... I'm using Appodeal, CloudOnce and I'm running U...
android|unity3d
2
2016-06-26T19:14:22.143Z
2,016
6
19
6
266
1
370
51
2
1
true
false
false
false
false
false
low
38,009,967
android tv app with live satellite channels
<p>A friend asked me to make an app for a TV that shows some information on one halve of the TV and on the other halve he wants to put some TV channel. My question is if it is possible to create an app that does that for android TV. Showing on half of the screen a TV channel and on the other half some information.</p>
A friend asked me to make an app for a TV that shows some information on one halve of the TV and on the other halve he wants to put some TV channel. My question is if it is possible to create an app that does that for android TV. Showing on half of the screen a TV channel and on the other half some information.
android|channel|android-tv|television
0
2016-06-24T09:26:34.150Z
2,016
6
9
4
1,546
1
312
43
4
0
false
false
false
false
false
false
zero
37,994,349
Read events from android calendar
<p>I have a little problem with my code .I use Android Studio . I try to make an application to the phone's calendar events displaying time . I don't have any errors but when I tried to run it to my phone </p> <p>Caused by: </p> <pre><code>java.lang.NullPointerException at net.jimblackler.readcalendar.Example.readCa...
I have a little problem with my code .I use Android Studio . I try to make an application to the phone's calendar events displaying time . I don't have any errors but when I tried to run it to my phone Caused by: [CODE] Here is my cod : Java Class: [CODE] MainActivity: [CODE]
android|android-studio|calendar|android-calendar
-1
2016-06-23T14:20:10.807Z
2,016
6
14
3
2,058
1
276
33
4
3
true
false
false
false
false
true
negative
37,990,031
How to handle deeplink redirect fails cross browser
<p>I am attempting to redirect to a custom scheme to deeplink to an iOS and Android application. Behaviour is different cross browsers so I am trying to find a consistent solution. Below is my jQuery and behaviours in different browsers.</p> <pre><code>$(document).ready(function (){ console.log(window.location.hr...
I am attempting to redirect to a custom scheme to deeplink to an iOS and Android application. Behaviour is different cross browsers so I am trying to find a consistent solution. Below is my jQuery and behaviours in different browsers. [CODE] Chrome launches the External Protocol Request dialog. If this isnt responded t...
javascript|android|jquery|ios|internet-explorer
0
2016-06-23T11:14:09.260Z
2,016
6
11
3
2,826
1
902
51
5
1
true
false
true
false
false
false
zero
37,690,052
Android draw on zoomed image
<p>I'm trying to draw some points on an ImageView which also features DRAG and ZOOM capabilities.</p> <p>My implementation works fine if the image is not modified ( zoomed or dragged ), but if I apply these types of transformations, it won't draw correctly anymore. Instead it will hold the initial frame as reference an...
I'm trying to draw some points on an ImageView which also features DRAG and ZOOM capabilities. My implementation works fine if the image is not modified ( zoomed or dragged ), but if I apply these types of transformations, it won't draw correctly anymore. Instead it will hold the initial frame as reference and will dra...
android|canvas|zooming|paint|drag
4
2016-06-07T21:53:40.857Z
2,016
6
21
1
779
1
863
28
5
1
true
false
false
false
false
false
low
37,612,249
Animating a 3D Model on Android
<p>I'm about to start writing a 3D model importer for Android which require to support animation.</p> <p>I was looking around, and the best format i found is Collada, which seems to be the easiest to parse and the most complete/documented. </p> <p>Before starting, I just wanted to have your opinions about it, is ther...
I'm about to start writing a 3D model importer for Android which require to support animation. I was looking around, and the best format i found is Collada, which seems to be the easiest to parse and the most complete/documented. Before starting, I just wanted to have your opinions about it, is there something better/s...
android|opengl-es|3d
0
2016-06-03T10:42:13.863Z
2,016
6
10
4
1,035
1
447
31
3
0
false
false
false
false
false
false
zero
37,972,327
Error "Failed to set standard component role 'audio_encoder.aac'" when configuring a MediaCodec
<p>The following code is for configuring an AAC encoder:</p> <pre><code>mfAACEncoder = new MediaFormat(); mfAACEncoder.setString(MediaFormat.KEY_MIME, "audio/mp4a-latm"); mfAACEncoder.setInteger(MediaFormat.KEY_CHANNEL_COUNT, 1); mfAACEncoder.setInteger(MediaFormat.KEY_SAMPLE_RATE, iClockRateAudio); mfAACEncoder.setIn...
The following code is for configuring an AAC encoder: [CODE] mcAACEncoder.configure() generates the following in logcat: [CODE] Could anyone offer a tip on how to remedy this? As indicated in the code, the solution of this thread has already been implemented.
android-mediacodec
2
2016-06-22T15:25:16.643Z
2,016
6
15
2
1,035
1
259
95
1
2
true
false
false
false
false
false
low
37,656,709
Android, EspressoTesting with Multiple Activity
<p>I want to access multiple Activity in my Instrumental testing. e.g Login -> Search-> Listing-> Detail Activity</p> <p>I have achieved till 'Listing activity' but i want to go for Listing Activity Element[1]'s Detail page.</p> <p><strong>Below is my code for</strong></p> <pre><code> @RunWith(AndroidJUnit4.class...
I want to access multiple Activity in my Instrumental testing. e.g Login -> Search-> Listing-> Detail Activity I have achieved till 'Listing activity' but i want to go for Listing Activity Element[1]'s Detail page. Below is my code for [CODE] Additional Functional [CODE] Is it possible to have multi activity layer in E...
android|android-activity|android-espresso
1
2016-06-06T11:50:55.763Z
2,016
6
11
0
1,803
1
351
47
3
2
true
false
false
false
false
false
low
38,037,275
Navigation drawer not showing the hamburger icon
<p>In the small app, I want to use navigation drawer but neither the left arrow key is working nor hamburger icon... Could you please figure out the problem?</p> <p>MainActivity.java</p> <pre><code>package com.example.bablu.zoo; import android.content.res.Configuration; import android.os.Bundle; import android.os.Pe...
In the small app, I want to use navigation drawer but neither the left arrow key is working nor hamburger icon... Could you please figure out the problem? MainActivity.java [CODE] content_main.xml [CODE] activity_main.xml [CODE] Here are the pictures below: Thanks!
android|navigation-drawer
1
2016-06-26T09:58:15.947Z
2,016
6
9
6
3,339
1
265
48
2
3
true
false
true
false
false
false
low
37,702,467
How to fix apps with Apache Cordova vulnerabilities?
<p>My android application has been rejected from google play and i receive this message below :</p> <blockquote> <p>The vulnerabilities were fixed in Apache Cordova v.3.5.1. You can find more information and next steps in this <a href="https://support.google.com/faqs/answer/6325474" rel="nofollow">Google Help Cent...
My android application has been rejected from google play and i receive this message below : The vulnerabilities were fixed in Apache Cordova v.3.5.1. You can find more information and next steps in this Google Help Center article . But before submitting the update , i've update all plugins and the platform of the proj...
android|cordova|google-play|apk
1
2016-06-08T12:26:11.793Z
2,016
6
12
2
524
1
399
52
4
0
false
false
false
false
false
false
low
38,031,622
Uncalled onCreateOptionsMenu with custom ToolBar
<p>I'm using my own <strong>style</strong> in my AndroidApplication but it did not let me see the menu ( 3 dots ) also the activity title. Any suggestion? </p> <pre><code>&lt;style name="AppTheme.NoActionBar"&gt; &lt;item name="windowActionBar"&gt;false&lt;/item&gt; &lt;item name="windowNoTitle"&gt;true&lt;/i...
I'm using my own style in my AndroidApplication but it did not let me see the menu ( 3 dots ) also the activity title. Any suggestion? [CODE] But in my MainActivity the menu is not inflated, and the activity title didn't apear. You can see here my Manifest [CODE] [CODE] and my MainActivity.xml [CODE] and finally my Mai...
android|android-toolbar|android-optionsmenu
4
2016-06-25T18:23:02.737Z
2,016
6
18
5
2,828
1
373
48
3
5
true
false
true
false
false
false
low
37,906,111
BasicNetwork.performRequest: Unexpected response code 400 for URL (POST) volley
<p>I am developing an android app that sends a <code>json object</code> to an api url and should receive a json object as a <code>response</code> but i keep getting this <code>error</code> :</p> <p><code>BasicNetwork.performRequest: Unexpected response code 400 for</code> <a href="http://phoneapi.adro.co/Services/AdSe...
I am developing an android app that sends a json object to an api url and should receive a json object as a response but i keep getting this error : BasicNetwork.performRequest: Unexpected response code 400 for http://phoneapi.adro.co/Services/AdService.svc/GetAd/ I am using volley . My json object to request is suppos...
android|json|web-services|android-fragments|android-volley
1
2016-06-19T10:12:36.973Z
2,016
6
10
6
5,900
1
443
79
5
4
true
false
true
false
false
false
low
38,047,988
how to invoke fragmentB method in another fragmentA
<p>I have a fragment_A with tabs, consider tabs as fragment_B and C. And am implementing custom keypad with "Done" key in it. In my main Activity iam calling the listener to press the done button</p> <pre><code>// Used when "Done" button pressed in keyboard @Override public void keylisten() { ((Housing) fragmentStack...
I have a fragment_A with tabs, consider tabs as fragment_B and C. And am implementing custom keypad with "Done" key in it. In my main Activity iam calling the listener to press the done button [CODE] Now i want to call a method from fragment_B which goes into the whenokkeypressed() of the fragment_A;
android-fragments
1
2016-06-27T07:18:30.740Z
2,016
6
7
0
13
1
301
51
1
1
true
false
false
false
false
false
low
37,936,307
How to play a single audio file from a collection of 100k audio files split into two folders?
<p>I have placed two media folders into a single zip folder, and the total is 100k media files in the zip folder. I need to play a single file from particular folder of the zip folder. The problem is, first the total content of the Zip folder is completely read and then the necessary file is accessed. So, it takes more...
I have placed two media folders into a single zip folder, and the total is 100k media files in the zip folder. I need to play a single file from particular folder of the zip folder. The problem is, first the total content of the Zip folder is completely read and then the necessary file is accessed. So, it takes more th...
android-studio|fileinputstream|zip|fileoutputstream|zipinputstream
2
2016-06-21T05:33:26.667Z
2,016
6
5
1
269
1
453
93
5
1
true
false
false
false
false
false
low
37,968,083
Ormlite unknown ROWID
<p>I have to find the physical location of a row by <strong>ROWID</strong> using <code>Ormlite</code>.</p> <p>But when I tried to sort rows using <strong>ROWID</strong> it throws the exception.</p> <pre><code> java.lang.IllegalArgumentException: Unknown column name 'rowid' in table Deals </code></pre> <p>Code follo...
I have to find the physical location of a row by ROWID using Ormlite . But when I tried to sort rows using ROWID it throws the exception. [CODE] Code follows, [CODE] How can I overcome this worry ? Does any one have faced the Issue Prior... ?
android|ormlite
0
2016-06-22T12:30:52.487Z
2,016
6
12
2
269
1
242
21
2
2
true
false
false
false
false
false
zero
37,778,372
Volley Example Error Not in MainActivity
<p>I'm trying to run a simple HTTP query through Volley and this code works completely fine in the default Android MainActivity under onCreate():</p> <pre><code>JsonObjectRequest jsonRequest = new JsonObjectRequest(Request.Method.GET, url, (String)null, new Response.Listener&lt;JSONObject&gt;() { @Override pub...
I'm trying to run a simple HTTP query through Volley and this code works completely fine in the default Android MainActivity under onCreate(): [CODE] When I run this code in a separate class though, the final line gives an error. [CODE] The error on newRequestQueue is "Cannot resolve symbol 'newRequestQueue' and the er...
java|android|android-volley
0
2016-06-12T19:41:27.440Z
2,016
6
19
6
1,037
1
585
40
3
2
true
false
false
false
false
false
zero
38,028,060
Enter button on android keyboard
<p>I have an <code>editText</code> which allows multiline text. when the editText is focused and keyboard is shown. it shows the enter button on keyboard as shown in the attached image. </p> <p><a href="https://i.stack.imgur.com/UMzbd.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/UMzbd.jpg" alt="e...
I have an editText which allows multiline text. when the editText is focused and keyboard is shown. it shows the enter button on keyboard as shown in the attached image. But when i open the hangouts app. it shows keyboard with some other button instead of enter button. How i can show similar button in my app. Also is i...
android|keyboard|android-edittext|multiline
0
2016-06-25T11:36:28.223Z
2,016
6
11
5
1,293
1
508
32
4
0
false
false
false
false
false
false
zero
37,838,059
Sum firebase data efficiently up
<p>I have an app where I have up to a few thousand entries in a firebase table. Now someone is connecting to this table and I need to count and sum these items up. </p> <pre><code>-itemlist | --1 |-x:2 --2 |-x:4 </code></pre> <p>and so on. A user can connect at any time (meaning he never saw this table before) a...
I have an app where I have up to a few thousand entries in a firebase table. Now someone is connecting to this table and I need to count and sum these items up. [CODE] and so on. A user can connect at any time (meaning he never saw this table before) and another user can change some value at any given time or add value...
android|firebase|firebase-realtime-database
3
2016-06-15T14:17:32.343Z
2,016
6
14
2
2,317
1
772
32
3
1
true
false
false
false
false
false
low
37,680,986
Android onOptionsItemSelected in fragment is not triggered for android OS below 5
<p>I have an <code>android.support.v4.app.Fragment</code> in an <code>AppCompatActivity</code>. <br /> I added a custom Menu in my fragment. Everything works as expected in Android 5 and 6. But if I try this on Android 4, although I can see the toolbar, when I tap the menu items nothing happens and it does not trigger ...
I have an android.support.v4.app.Fragment in an AppCompatActivity . I added a custom Menu in my fragment. Everything works as expected in Android 5 and 6. But if I try this on Android 4, although I can see the toolbar, when I tap the menu items nothing happens and it does not trigger onOptionsItemSelected This is my fr...
android|android-fragments
0
2016-06-07T13:36:30.330Z
2,016
6
13
1
270
1
397
81
2
3
true
false
false
false
false
false
zero
37,667,504
How to send a notification on specific dates by checking the date
<p>I have an application which I want to send notifications in odd days (like 1,3,5 days of month). After research, I understood that I need a service. But I can't figure out how to get the new date every day, or how to notice the service that the day has changed... Something like a listener on day changed... I searche...
I have an application which I want to send notifications in odd days (like 1,3,5 days of month). After research, I understood that I need a service. But I can't figure out how to get the new date every day, or how to notice the service that the day has changed... Something like a listener on day changed... I searched a...
android|android-service|android-notifications
0
2016-06-06T21:59:02.430Z
2,016
6
21
0
1,038
1
503
65
3
0
false
false
false
false
false
false
zero
37,950,168
Converting responsive web app to Mobile app?
<p>I have my responsive web application in place which works across all browsers. Now i am planning to work convert it into mobile application. Did some googling and can think of below ways to come up with mobile app</p> <p><strong>Approach 1 :-</strong> Can be done with the help of <a href="http://www.tutorialspoin...
I have my responsive web application in place which works across all browsers. Now i am planning to work convert it into mobile application. Did some googling and can think of below ways to come up with mobile app Approach 1 :- Can be done with the help of WebView (which actually will work as thin wrapper) Approach 2 :...
java|android|mobile|responsive-design|mobile-application
0
2016-06-21T16:45:46.007Z
2,016
6
16
1
1,038
1
728
44
5
0
false
false
false
false
false
false
zero
37,603,524
Google Fit: How to Use Multiple Data Sources, and onDataPoint not being called
<p>I been playing around with the Google FIT API, so I can read the total steps taken, steps being taken, distance covered, total calories and so on. When I run the app, nothing seems to happen. I thought in order to receive data from each category, you would need to create a separate datapoint listener for each. These...
I been playing around with the Google FIT API, so I can read the total steps taken, steps being taken, distance covered, total calories and so on. When I run the app, nothing seems to happen. I thought in order to receive data from each category, you would need to create a separate datapoint listener for each. These do...
android|google-fit
3
2016-06-02T23:06:56.097Z
2,016
6
23
3
1,294
1
762
78
2
4
true
false
false
false
false
false
low
37,702,421
How can I set a placeholder value for my picker?
<p>I have this definition for my picker: </p> <pre><code>this.StateField = new UIDropdown&lt;string&gt;() { BackgroundColor = CoreTheme.COLOR_DEFAULT_INPUT_FIELD_BACKGROUND, PlaceholderText = "State", Data = new string[] { "AL", "AK", "AZ", "AR", "CA", "CO", ...
I have this definition for my picker: [CODE] Where in my view I set it like this: [CODE] However, the placeholder value is not set and it shows the first element in the array as a placeholder value instead. How can I show a placeholder value for a picker? I'm trying to do this in Xamarin.Forms particularly for Android.
c#|xamarin|xamarin.android|xamarin.forms
1
2016-06-08T12:23:55.143Z
2,016
6
12
2
5,390
1
320
48
4
2
true
false
true
false
false
false
low
37,848,309
Using AsyncTask with multiple activities
<p>I have an Asynctask class and two activity classes. First activity handles authentication and second is for chatting.Now i want to share same AsyncTask with both activities without loosing connection to server.I tried it with each activity and it works fine but when i switch activities it keeps sticking to first ac...
I have an Asynctask class and two activity classes. First activity handles authentication and second is for chatting.Now i want to share same AsyncTask with both activities without loosing connection to server.I tried it with each activity and it works fine but when i switch activities it keeps sticking to first activi...
android-asynctask
0
2016-06-16T01:13:05.713Z
2,016
6
1
3
15
1
487
40
1
0
false
false
false
false
false
false
zero
37,694,071
Firebase Auth - No Provider Data on Android
<p>I've upgraded to the 9.0.2 SDK version following the <a href="https://status.firebase.google.com/incident/Authentication/16001" rel="nofollow">solved auth problem on Android devices</a>. My FirebaseUI-Android package version is 0.4.0 and my device's Google Play Services version is 9.0.83.</p> <p>Following the fix, ...
I've upgraded to the 9.0.2 SDK version following the solved auth problem on Android devices . My FirebaseUI-Android package version is 0.4.0 and my device's Google Play Services version is 9.0.83. Following the fix, my app does authenticate, but alas it does not populate any provider data automatically (see here ), nor...
android|firebase-authentication
0
2016-06-08T05:40:11.413Z
2,016
6
5
2
271
1
630
43
2
0
false
false
false
false
false
false
zero
38,053,143
How to receive new PHPSESSID in Cordova (with android)?
<p>I am developing an app with Cordova (with android) which contains IFrame. </p> <p>The IFrame calls remote website which use PHPSESSID for authentication.</p> <p>I expected the IFrame will get a new PHPSESSID when the app restart like as stock browser. </p> <p>But, Even i set cookie expire time in the remote serv...
I am developing an app with Cordova (with android) which contains IFrame. The IFrame calls remote website which use PHPSESSID for authentication. I expected the IFrame will get a new PHPSESSID when the app restart like as stock browser. But, Even i set cookie expire time in the remote server like below. [CODE] Cordova ...
android|cordova
0
2016-06-27T11:46:25.567Z
2,016
6
11
0
271
1
681
55
2
1
true
false
false
false
false
false
zero
37,636,377
Picasso in recyclerview can not auto refresh the display when complete load?
<p>i use picasso to display an image in recyclerview, but it won't auto refresh the item when load image complete, i have to manually scroll to make the image be displayed. What have i do to fix it, to make the item of recyclerview auto update the display when completed load?</p> <p>this is my adapter class :</p> <hr...
i use picasso to display an image in recyclerview, but it won't auto refresh the item when load image complete, i have to manually scroll to make the image be displayed. What have i do to fix it, to make the item of recyclerview auto update the display when completed load? this is my adapter class : [CODE]
android|android-recyclerview|refresh|picasso
1
2016-06-05T00:43:55.057Z
2,016
6
0
6
783
1
307
76
4
1
true
false
false
false
false
false
low
37,734,695
AudioFlinger server died. Play RTSP stream won't start on Lollipop device only.
<p>I'm testing <a href="https://github.com/fyhertz/libstreaming" rel="nofollow">libstreaming library</a>. My app description: One device stream video from camera to another device via RTSP. All working perfectly on KitKat devices but my Huawei p8 lite (Lollipop) can't run stream beacause:</p> <blockquote> <p>W/Audio...
I'm testing libstreaming library . My app description: One device stream video from camera to another device via RTSP. All working perfectly on KitKat devices but my Huawei p8 lite (Lollipop) can't run stream beacause: W/AudioSystem: AudioFlinger server died! W/IMediaDeathNotifier: media server died E/MediaPlayer: erro...
android|android-mediaplayer|android-5.0-lollipop|rtsp|libstreaming
-1
2016-06-09T19:31:42.013Z
2,016
6
19
3
783
1
559
79
5
2
true
false
false
false
false
true
negative
37,896,268
Resize child view based on parent width and height
<p><a href="https://i.stack.imgur.com/kWttw.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kWttw.jpg" alt="enter image description here" /></a> I have create custom view group .</p> <pre><code>&lt;com...Template android:id=&quot;@+id/template&quot; android:layout_width=&quot;...
I have create custom view group . [CODE] i dynamically adding to above layout on runtime. Template.java [CODE] Normal Layout with height of 289 dp(template). display good.. When i used in List or grid view . Child in view group are collapsed. it should fit to parent view group (template.java). I want viewgroup as look ...
android|listview|gridview|viewgroup
0
2016-06-18T11:08:03.827Z
2,016
6
11
5
1,551
1
442
50
4
2
true
false
false
false
false
false
zero
37,669,565
Not focus edittext the first time
<p>I've got trouble with show keyboard when has focus in edittext. i want remove focus at the first time after im showing my screen. Can any pro help me. Tks so much.</p>
I've got trouble with show keyboard when has focus in edittext. i want remove focus at the first time after im showing my screen. Can any pro help me. Tks so much.
android|android-edittext|focus
2
2016-06-07T02:26:00.663Z
2,016
6
2
1
3,087
1
163
33
3
0
false
false
true
false
false
false
low
37,772,097
How can I create a button with scaling text
<p>I have a TableLayout with cells, populated like this:</p> <pre><code> TableLayout tableLayout = (TableLayout) getActivity().findViewById(R.id.button_table); for (int y = 0; y &lt; 4; y++) { TableRow row = new TableRow(getActivity()); row.setLayoutParams(new TableRow.LayoutParams(TableRow.Lay...
I have a TableLayout with cells, populated like this: [CODE] This works nicely to start with, however sometimes the buttons have their text set to something that is too large for the allocated width. This results in the button expanding to accommodate the text. I would like it to work the other way around - the buttons...
android
0
2016-06-12T08:17:27.877Z
2,016
6
8
6
16
1
461
43
1
1
true
false
false
false
false
false
zero
37,650,840
Any solution to RasterException: Invalid parameter passed? (While converting RasterImage to Bitmap)
<p>i am developing an android app and trying to convert a RasterImage to Bitmap Image in order to draw a line with given points. but i am getting an exception on conversion. i am using LEADTOOLS DICOM SDK Version 18 For this. below is the code i am using</p> <pre><code>private void drawingfunction(float x, float y, fl...
i am developing an android app and trying to convert a RasterImage to Bitmap Image in order to draw a line with given points. but i am getting an exception on conversion. i am using LEADTOOLS DICOM SDK Version 18 For this. below is the code i am using [CODE]
java|android|bitmap|leadtools-sdk
0
2016-06-06T06:29:09.677Z
2,016
6
6
0
272
1
258
99
4
1
true
false
false
false
false
false
zero
37,929,155
How to Rotate a Floating Action Button via user Drag
<p>My current Android application has a Floating Action Button</p> <p>I want to allow the User to rotate the sub menu items of the FAB by dragging one of the sub menu items either clockwise or anti clockwise.</p> <p>I can use an animation to achieve the rotation effect, however I need the User to control the rotation...
My current Android application has a Floating Action Button I want to allow the User to rotate the sub menu items of the FAB by dragging one of the sub menu items either clockwise or anti clockwise. I can use an animation to achieve the rotation effect, however I need the User to control the rotation. Am I going to hav...
android|drag|floating-action-button
0
2016-06-20T18:13:43.380Z
2,016
6
18
0
272
1
445
52
3
0
false
false
false
false
false
false
zero
37,746,508
android disable / enable tab in tabbedActivity
<p>I can not disable a tab in android tabbed activity. The tabbed activity have 3 tabs and I want to disable the tab in the middle.</p> <p>I tried the following code in my Fragment but the variable <code>middleTabView</code> is always null!</p> <pre><code>TabLayout tabhostNew = (TabLayout) getActivity().findViewById...
I can not disable a tab in android tabbed activity. The tabbed activity have 3 tabs and I want to disable the tab in the middle. I tried the following code in my Fragment but the variable middleTabView is always null! [CODE] The following code should work, but i am not able to get the variable tabwidget . [CODE] Can yo...
android|android-fragments|android-tabs|tabwidget
3
2016-06-10T10:57:39.117Z
2,016
6
10
4
528
1
359
46
4
2
true
false
false
false
false
false
low
37,922,427
Scrolling the recycleview automatically in android
<p>I have created the recycleview with horizontal scrolling function.I have used the view flipper function but it does not only the the image gets blink for particular interval.Now i want to implement the scrolling function automatically that is if i have opened the page the recycle items(Imageview and text view) get s...
I have created the recycleview with horizontal scrolling function.I have used the view flipper function but it does not only the the image gets blink for particular interval.Now i want to implement the scrolling function automatically that is if i have opened the page the recycle items(Imageview and text view) get scro...
android
0
2016-06-20T12:18:11.320Z
2,016
6
12
0
528
1
394
50
1
3
true
false
false
false
false
false
zero
37,943,834
How does Convert Java File to Kotlin File work?
<p>I'm exploring Kotlin through <a href="https://leanpub.com/kotlin-for-android-developers" rel="noreferrer">Kotlin for Android Developers</a>. One of the first steps is to use <code>Convert Java File to Kotlin File</code> to see how the Java and Kotlin files compare. </p> <p>I'm curious how this feature works. </p> ...
I'm exploring Kotlin through Kotlin for Android Developers . One of the first steps is to use Convert Java File to Kotlin File to see how the Java and Kotlin files compare. I'm curious how this feature works. Is the tool creating an abstract syntax tree from the Java input then transpiling to Kotlin? Or is doing someth...
android|android-studio|intellij-idea|kotlin
10
2016-06-21T11:59:27.563Z
2,016
6
11
1
528
1
337
47
4
0
false
false
false
false
true
false
medium
38,031,261
Android - avoiding parallel run of same service within multiple apps
<p><strong><em>Little background:</em></strong> I am developing library which uses one background service. There is a hight probability that there will be 2 or more apps implementing the library on the same android phone.</p> <p><strong>Q:</strong> Is there any solution to prevent this background service from running ...
Little background: I am developing library which uses one background service. There is a hight probability that there will be 2 or more apps implementing the library on the same android phone. Q: Is there any solution to prevent this background service from running if one of the installed apps already launched the serv...
android|service|android-library
0
2016-06-25T17:44:28.497Z
2,016
6
17
5
528
1
448
68
3
0
false
false
false
false
false
false
zero
37,792,954
Ionic - Stop spinner after page is loaded
<p>I have a simple button with spinner inside </p> <pre><code>&lt;button class=" mybutton " ng-click="click()" id="servieren" ui-sref="menu.servieren"&gt;&lt;ion-spinner ng-hide="showing" class="spinner-spiral"&gt;&lt;/ion-spinner&gt;Servieren&lt;/button&gt; </code></pre> <p>and when i click on the button the spinner...
I have a simple button with spinner inside [CODE] and when i click on the button the spinner starts spinning and page opens, all fine. This is js code inside controllers.js [CODE] BUT when i go back to page where the button is, the spinner is still spinning and it eats out the cpu. How to stop the spinner once the page...
android|ionic-framework
1
2016-06-13T14:54:22.433Z
2,016
6
14
0
784
1
331
41
2
2
true
false
false
false
false
false
low
37,610,758
How can I query all the folder and file meta data using Google Drive API Services in one time query?
<p>How can I query metadata of the folders and files using Google Drive API Services, in the one-time for all?</p> <p>I am using this API com.google.apis:google-api-services-drive:v2-rev170-1.20.0 for my app.</p> <pre><code> compile('com.google.apis:google-api-services-drive:v2-rev170-1.20.0') { exclude group: 'o...
How can I query metadata of the folders and files using Google Drive API Services, in the one-time for all? I am using this API com.google.apis:google-api-services-drive:v2-rev170-1.20.0 for my app. [CODE] This method gets all the folder and files from the root folder. But how can I get all the files in the sub-folder,...
android|google-drive-api|google-drive-android-api
0
2016-06-03T09:30:46.277Z
2,016
6
9
4
1,040
1
458
100
3
2
true
false
false
false
false
false
zero
37,602,196
How do I quit Android emulator when force quit does not work?
<p>For me, Android Studio works perfectly fine. I am able to run applications on the Android Studio emulator as well as my genymotion emulator. However, once I decide that I want to close the emulator, it exits, but it stays stuck on my dock. When I try to force quit it with the ALT + COMMAND + ESC dialog, it won't for...
For me, Android Studio works perfectly fine. I am able to run applications on the Android Studio emulator as well as my genymotion emulator. However, once I decide that I want to close the emulator, it exits, but it stays stuck on my dock. When I try to force quit it with the ALT + COMMAND + ESC dialog, it won't force ...
android|macos|performance|android-studio|mozilla
1
2016-06-02T21:12:44.420Z
2,016
6
21
3
2,064
1
1,061
61
5
0
false
false
false
false
false
false
low
37,729,066
Set POJO for Gson when JSON key has a dash
<p>The JSON string is:</p> <pre><code>{ "translation": ["some words"], "basic": { "us-phonetic": "'flæbɚɡæstɪd", "phonetic": "'flæbɚɡæstɪd", "uk-phonetic": "'flæbəga:stid", "explains": ["v. some words", "adj. some words" ] } } </code></pre> <p>But Java c...
The JSON string is: [CODE] But Java can not have a value with a "-" in it. So how to get "us-phonetic" ?
java|android|json|gson
7
2016-06-09T14:40:49.930Z
2,016
6
14
3
3,600
1
104
42
4
1
true
false
true
false
false
false
medium
37,837,105
Android Studio Doesn't Work even after finding the JDK
<p>After installing Android Studio and <strong>solving</strong> the "unable to find JDK file" problem, When I click on Android Studio it opens up for less than a second and closes rights away, as if nothing happens. Any help?</p> <p>Thanks in advance.</p> <p><strong>Windows 7</strong></p> <p><strong>Android Studio 2...
After installing Android Studio and solving the "unable to find JDK file" problem, When I click on Android Studio it opens up for less than a second and closes rights away, as if nothing happens. Any help? Thanks in advance. Windows 7 Android Studio 2.1
android-studio
0
2016-06-15T13:37:37.093Z
2,016
6
13
2
17
1
253
54
1
0
false
false
false
false
false
false
zero
37,818,188
my location button event click on titanium map v3
<p>Is there a way to get the click on the my location button in a map in titanium? It is possible to get the "regionchanged" event when te user changes the maps position like zoom or something else. But how can I get the click on the my location button?</p> <p>Is it even possible? </p>
Is there a way to get the click on the my location button in a map in titanium? It is possible to get the "regionchanged" event when te user changes the maps position like zoom or something else. But how can I get the click on the my location button? Is it even possible?
android|ios|google-maps|titanium
0
2016-06-14T17:07:04.180Z
2,016
6
17
1
273
1
271
49
4
0
false
false
false
false
false
false
zero
37,917,347
Use Share feature from device gallery to send an image to Ionic app ,similar to share to whatsapp
<p>I have created an ionic app , i don't know how i would share an image to my app from gallery . it would be similar to cordova social share except that cordova social share works in-app. How would i add my app to the list of apps in the share actionsheet.is there any cordova plugin to do this? </p> <p><a href="https...
I have created an ionic app , i don't know how i would share an image to my app from gallery . it would be similar to cordova social share except that cordova social share works in-app. How would i add my app to the list of apps in the share actionsheet.is there any cordova plugin to do this?
android|angularjs|cordova|ionic-framework|ngcordova
1
2016-06-20T08:02:51.097Z
2,016
6
8
0
273
1
293
97
5
0
false
false
false
false
false
false
low
37,948,798
Unity C# scrollable GUI.BOX not working on android
<p>I have a <code>GUI</code> I am drawing when clicking on the shop button, there is <code>GUI.BeginScrollView</code> and inside some buttons, anyway, I have the scrollview working only in unity editor, if I run this on phone it doesn't work, I see the buttons but I don't have the scroller.</p> <pre><code> using Un...
I have a GUI I am drawing when clicking on the shop button, there is GUI.BeginScrollView and inside some buttons, anyway, I have the scrollview working only in unity editor, if I run this on phone it doesn't work, I see the buttons but I don't have the scroller. [CODE] I can't understand why it works only on UnityEdito...
c#|android|unityscript|unity3d
4
2016-06-21T15:37:05.240Z
2,016
6
15
1
273
1
351
50
4
1
true
false
false
false
false
false
low
37,640,372
SwitchCompat not animating correctly in NavigationView's Menu when hiding a SubMenu
<p>I have a <code>NavigationView</code> with the usual <code>Menu</code> inside it. I add two items: one regular item with an action view containing a <code>SwitchCompat</code> in the xml definition and a submenu with several items from code. This works just fine.</p> <p><a href="https://i.stack.imgur.com/wSpG5.png" r...
I have a NavigationView with the usual Menu inside it. I add two items: one regular item with an action view containing a SwitchCompat in the xml definition and a submenu with several items from code. This works just fine. I use setOnCheckedChangeListener on the switch to check when its state changes and if it is set o...
android|android-appcompat|navigationview|switchcompat
1
2016-06-05T09:27:29.933Z
2,016
6
9
6
785
1
882
83
4
1
true
false
false
false
false
false
low
37,940,585
Alert Dialog show when clicked on drop down list in Button
<p>I have a button that when clicked show drop down list, in that I have 2 menu, Feedback menu and Log Out menu</p> <pre><code>mRightButton.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { PopupMenu popup = new PopupMenu(MapsActivity.this, mRightButton...
I have a button that when clicked show drop down list, in that I have 2 menu, Feedback menu and Log Out menu [CODE] I enter "this" in AlertDialog.Builder alertDialog = new AlertDialog.Builder(this); but it's error, what should I enter some code in that?
android|drop-down-menu|android-alertdialog|android-button
-1
2016-06-21T09:29:52.190Z
2,016
6
9
1
785
1
253
58
4
1
true
false
false
false
false
true
negative
37,748,923
setVisibleXRangeMaximum() and setVisibleYRangeMaximum() not working in MPAndroidChart
<p>I am currently working with MPAndroidChart.I want to limit the number of rows and columns to be displayed. </p> <p>To implement it, I've used <strong>setVisibleXRangeMaximum()</strong> and <strong>setVisibleYRangeMaximum()</strong> functions. But both of the above methods are not working.</p> <p>I've set visibleXR...
I am currently working with MPAndroidChart.I want to limit the number of rows and columns to be displayed. To implement it, I've used setVisibleXRangeMaximum() and setVisibleYRangeMaximum() functions. But both of the above methods are not working. I've set visibleXRangeMaximum and visibleYRangeMaximum values to 3. But ...
android|charts|mpandroidchart
2
2016-06-10T12:59:12.340Z
2,016
6
12
4
2,577
1
519
85
3
1
true
false
false
false
false
false
low
37,795,447
Tablet UI passing arguments between between 2 arguments not working
<p>I am Checking if the device screen is twopane or singlepane. If twopane i want to pass arguments(Object) to another fragment in view by using bundle for it to dynamically load. if single pane i want to start a new activity by using start intent for the fragment. How can i do this?</p>
I am Checking if the device screen is twopane or singlepane. If twopane i want to pass arguments(Object) to another fragment in view by using bundle for it to dynamically load. if single pane i want to start a new activity by using start intent for the fragment. How can i do this?
java|android|android-fragments
0
2016-06-13T17:08:08.503Z
2,016
6
17
0
18
1
281
67
3
0
false
false
false
false
false
false
zero
37,852,775
Passing ArrayList<CustomObject> along with other parameters to another activity, getting Null from arraylist
<pre><code>Intent intent = getIntent(); Model_Class dataObj = (Model_Class) intent.getSerializableExtra("value"); dataObj.getPrice(); dataObj.get_product_name(); ArrayList&lt;InputListModleClass&gt; _inputList = dataObj.getInputsList(); for (int j = 0; j &lt;_inputList.size(); j++) { InputListModleClass itemsObj =...
[CODE] I can get all values from intent, but I am getting null in Id and Lable. How can I resolve this issue.
android-studio
0
2016-06-16T07:39:25.060Z
2,016
6
7
3
18
1
109
108
1
1
true
false
false
false
false
false
zero
37,975,459
Access a piece of code in more activities?
<p>I have a <code>ListPopupWindow</code> with a couple of items which acts as a menu (more options) but i have 3 different activities and i have to copy paste the whole <code>ListPopupWindow</code> code in all activities.</p> <p>What i want to achieve is to have the <code>ListPopupWindow</code> only in one class and t...
I have a ListPopupWindow with a couple of items which acts as a menu (more options) but i have 3 different activities and i have to copy paste the whole ListPopupWindow code in all activities. What i want to achieve is to have the ListPopupWindow only in one class and to be able to open it everywhere i like. How can it...
java|android|listview|popup|popupwindow
0
2016-06-22T18:14:25.483Z
2,016
6
18
2
18
1
392
42
5
0
false
false
false
false
false
false
zero
37,639,397
Intent to open web page/app in standalone mode
<p>I have a web app with a web manifest. Users can add my web app to the home screen of their Android devices; when they do, the app opens in the "standalone" mode, meaning browser Chrome such as address bar are not shown. Good so far.</p> <p>From a native Android app, I want to start my web app in the standalone mode...
I have a web app with a web manifest. Users can add my web app to the home screen of their Android devices; when they do, the app opens in the "standalone" mode, meaning browser Chrome such as address bar are not shown. Good so far. From a native Android app, I want to start my web app in the standalone mode (irrespect...
android|google-chrome
1
2016-06-05T07:13:41.687Z
2,016
6
7
6
274
1
487
46
2
0
false
false
false
false
false
false
low
37,671,574
How to make Textchanged Listener in Edit text in android?
<p>I am developing an app in which I have two fields: mobile and pass. When a user enters the mobile number, it checks if the mobile number is of ten digit or not. If not, then it should show an error message in the respective field. But here when the app opens, it shows error in the respective fields. How can I solve ...
I am developing an app in which I have two fields: mobile and pass. When a user enters the mobile number, it checks if the mobile number is of ten digit or not. If not, then it should show an error message in the respective field. But here when the app opens, it shows error in the respective fields. How can I solve thi...
android
0
2016-06-07T05:58:42.977Z
2,016
6
5
1
274
1
352
57
1
1
true
false
false
false
false
false
zero
37,732,884
Android Floating Action Button not resetting position
<p>Using the 23.3.0 version of the support libraries and testing on Android M. And having issues with a FAB repositioning itself after a Snackbar is shown.</p> <p>The fab correctly moves up when a Snackbar is shown, however it does not move down when the Snackbar dismisses itself. </p> <p>Code:</p> <pre><code>Snackb...
Using the 23.3.0 version of the support libraries and testing on Android M. And having issues with a FAB repositioning itself after a Snackbar is shown. The fab correctly moves up when a Snackbar is shown, however it does not move down when the Snackbar dismisses itself. Code: [CODE] Also tried to use the callback func...
android|floating-action-button
1
2016-06-09T17:45:58.180Z
2,016
6
17
3
274
1
523
53
2
3
true
false
false
false
false
false
low
37,761,404
Eszett (ß) in Android App (2)
<p>I have a span like this:</p> <pre><code> private SpannableStringBuilder spandex(List&lt;String&gt; ret, Boolean startDark) { SpannableStringBuilder spanBuilder = new SpannableStringBuilder(); Spannable span = null; int color = 0; int startDarkMod = 0; if(startDark) startDarkMod = 1; ...
I have a span like this: [CODE] It produces light gray and dark grey code like this: Then there is that bright white "T". It happens after every ß character, which, as the other thread mentioned , gets converted to SS when capitalized. I would prefer no capatalization of that char, but I can live with the conversion to...
android
-1
2016-06-11T08:04:57.393Z
2,016
6
8
5
274
1
392
29
1
1
true
false
false
false
false
true
negative
37,739,070
Android: Dynamically assigning resource id for Popup menu items
<p>Touching on the question <a href="https://stackoverflow.com/questions/36031750/how-to-set-id-for-popup-menu-items-to-be-found-as-view-id">here</a>, I want to know the feasibility of creating resource ids for dynamically created popup menu items. </p> <p>A little background: my popup menu contains a "create new file...
Touching on the question here , I want to know the feasibility of creating resource ids for dynamically created popup menu items. A little background: my popup menu contains a "create new file" item in addition to an item for every file found in a given directory. The problem; since I don't know how many files exist in...
android|xml|menu|popup
2
2016-06-10T02:33:21.180Z
2,016
6
2
4
530
1
1,003
63
4
2
true
false
false
false
false
false
low
37,614,168
Issue with parse dashboard
<p>I'm not able to run parse dashboard on my browser. But I have set up my parse-dashboard-config.json as</p> <pre><code>{ "apps": [{ "serverURL": "http://instagram312345.herokuapp.com/parse", "appId": "instagram349322jfd38Hdf", "masterKey": "defjkDJFKDfjfk343dfkjJSF", "appName": "Instagram", "iconName": "" }], "ico...
I'm not able to run parse dashboard on my browser. But I have set up my parse-dashboard-config.json as [CODE] but on running parse-dashboard from node.js command line with [CODE] i get the result [CODE] but when i load parse dashboard i get the error [CODE] but as you can see in the config json file. I have provided th...
android|heroku|parse-platform
-1
2016-06-03T12:15:31.197Z
2,016
6
12
4
786
1
391
26
3
4
true
false
false
false
false
true
negative
37,786,487
USB Debugging greyed out on Samsung Galaxy Tab 3
<p>My Samsung Galaxy Tab 3 (SM-T210) running Android 4.4.2 (kitkat) has suddenly greyed out the USB Debugging option in settings. I've yet to find a fix on the internet, I've tried:</p> <ul> <li>Device Restart</li> <li>Cable plugged/unplugged</li> <li>Tapping Build Number (gives 'No need, developer mode has already be...
My Samsung Galaxy Tab 3 (SM-T210) running Android 4.4.2 (kitkat) has suddenly greyed out the USB Debugging option in settings. I've yet to find a fix on the internet, I've tried: Device Restart Cable plugged/unplugged Tapping Build Number (gives 'No need, developer mode has already been enabled') Selecting both MTP and...
android|samsung-mobile
0
2016-06-13T09:44:23.450Z
2,016
6
9
0
786
1
382
48
2
0
false
false
false
false
false
false
zero
37,857,695
Is there a way to sync data between devices without saving on the server?
<p>I want to make my own music player website and app and I want to make it so whenever I add a new song anywhere it will update on the other platform.</p> <p>How can I do this without actually saving all the songs on a server? I can use a server to pass the data through for syncing but I wanna do it without saving be...
I want to make my own music player website and app and I want to make it so whenever I add a new song anywhere it will update on the other platform. How can I do this without actually saving all the songs on a server? I can use a server to pass the data through for syncing but I wanna do it without saving because my ho...
php|android|synchronization
-4
2016-06-16T11:21:28.193Z
2,016
6
11
3
786
1
815
73
3
0
false
false
false
false
false
true
negative
37,969,391
DbHelper cannot be applied
<p>DbHelper is the class that I am using for my database. I am trying to instantiate it into a fragment. it says that DbHelper cannot be applied and this is in an error. </p> <pre><code> DbHelper db = new DbHelper(this); quesList = db.getAllQuestions(); currentQ = quesList.get(qid); </code></pre> <p>That'...
DbHelper is the class that I am using for my database. I am trying to instantiate it into a fragment. it says that DbHelper cannot be applied and this is in an error. [CODE] That's all of the code in the fragment related to DbHelper.
android|sqlite
0
2016-06-22T13:22:23.880Z
2,016
6
13
2
786
1
233
26
2
1
true
false
false
false
false
false
zero