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
36,830,008
Android login and authenticate facebook user into a backendless mbaas application
<p>I have done upto the code below and can succesfully authenticate and login Facebook user.</p> <p>I have compile <code>'com.backendless:backendless:3.0.15.1'</code> in my build gradle.</p> <pre><code>private FacebookCallback&lt;LoginResult&gt; mCallBack = new FacebookCallback&lt;LoginResult&gt;() { @Override ...
I have done upto the code below and can succesfully authenticate and login Facebook user. I have compile 'com.backendless:backendless:3.0.15.1' in my build gradle. [CODE]
android|facebook|backendless
0
2016-04-24T23:17:58.093Z
2,016
4
23
6
182
0
170
81
3
1
true
true
false
false
false
false
zero
36,830,034
Not able to convert JSON to Java class (call WebApi from Android app)
<p>im working on my school project and im new in android programming but i have some programming experiance in c# and .net. </p> <p>This is my code:</p> <pre><code> public class ProizvodiAPI { public class ProizvodiVM implements Serializable { public Integer proizvodID; public String naziv...
im working on my school project and im new in android programming but i have some programming experiance in c# and .net. This is my code: [CODE] Program crashes here: [CODE] Is the problem with deserializing json, if it is, shoud i change the Java class and what to change ? Here is my C# class in Web Api: [CODE]
java|c#|android|json
0
2016-04-24T23:21:34.347Z
2,016
4
23
6
49
1
313
69
4
3
true
false
false
false
false
false
zero
36,830,065
java.lang.RuntimeException: Manifest merger failed : uses-sdk element cannot have a "tools:node" attribute
<p>I am getting this error again and again Error:Execution failed for task ':quickScroll:processDebugAndroidTestManifest'. > java.lang.RuntimeException: Manifest merger failed : uses-sdk element cannot have a "tools:node" attribute</p> <p>I tried using tools:node="merge".</p> <p>This is my manifest file </p> <pre...
I am getting this error again and again Error:Execution failed for task ':quickScroll:processDebugAndroidTestManifest'. > java.lang.RuntimeException: Manifest merger failed : uses-sdk element cannot have a "tools:node" attribute I tried using tools:node="merge". This is my manifest file [CODE] And Manifest file for qui...
java|android|android-studio|android-manifest|android-studio-2.0
0
2016-04-24T23:26:10.310Z
2,016
4
23
6
1,102
1
422
106
5
2
true
false
false
false
false
false
zero
36,830,080
Having trouble with Android 's findViewById
<p>I'm using some pre-generated android code and it isn't working. </p> <p>Here is the onCreateView function for a Fragment:</p> <pre><code>@Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { View rootView = inflater.in...
I'm using some pre-generated android code and it isn't working. Here is the onCreateView function for a Fragment: [CODE] Here is the xml for this fragment: [CODE] But when I run the problem I get an error on the textView.setText line because textView is null. textView is null because the line before it failed to find t...
android
4
2016-04-24T23:28:29.450Z
2,016
4
23
6
535
3
509
43
1
2
true
false
false
false
false
false
low
36,830,125
React-Native How to update text value
<p>I'm new on this topic. Having a class called BarkodOkuycu. In this class when barcodeReceived(e) is called I need to change text value in { &lt; Tv/>}. I want to change score value but don't know how to do that.</p> <p>Since being a newbie on subject it would be great to know If something is messy or can be made b...
I'm new on this topic. Having a class called BarkodOkuycu. In this class when barcodeReceived(e) is called I need to change text value in { < Tv/>}. I want to change score value but don't know how to do that. Since being a newbie on subject it would be great to know If something is messy or can be made better in code. ...
android|react-native
0
2016-04-24T23:34:22.470Z
2,016
4
23
6
3,326
1
377
37
2
1
true
false
true
false
false
false
zero
36,830,138
How can I display a listview from a database in a fragment in a drawer navigation activity
<p>Can you help me please to display a listview from a database in a fragment (drawer navigation activity)? I tried this but it doesn't work in a fragment.</p> <p>This's my file fragment3.java</p> <pre><code>public class fragment3 extends Fragment { private String JSON_STRING; private ListView listView; public static...
Can you help me please to display a listview from a database in a fragment (drawer navigation activity)? I tried this but it doesn't work in a fragment. This's my file fragment3.java [CODE] } thanks in advance
android|listview|fragment
0
2016-04-24T23:36:50.457Z
2,016
4
23
6
113
0
209
90
3
1
true
true
false
false
false
false
zero
36,830,148
Android: Unable to start service with null: java.lang.NullPointerException
<p>Before I begin, I want to make clear that I have read previous answers to similar topics (mainly <a href="https://stackoverflow.com/questions/4679654/unable-to-start-service-service-name-with-null">this one</a>) and the answer given even in the comments didn't work for me (adding the intent != null before intent.get...
Before I begin, I want to make clear that I have read previous answers to similar topics (mainly this one ) and the answer given even in the comments didn't work for me (adding the intent != null before intent.getAction() didn't work). I'm trying to make a foreground service for a Mayan Horoscope. The purpose of the se...
java|android|service|nullpointerexception|foreground-service
0
2016-04-24T23:40:10.053Z
2,016
4
23
6
2,645
2
2,470
74
5
10
true
false
true
false
false
false
zero
36,830,150
Null object reference when initializing spinners in tablayout
<p>I have multiple tabs with spinners in them, and when you switch to a certain fragment the sliders need to be initialized with their corresponding string-arrays. The issue is that I keep receiving a "null object reference" error. here's my code.</p> <p>Fragment Code:</p> <pre><code>public class PageOne extends Frag...
I have multiple tabs with spinners in them, and when you switch to a certain fragment the sliders need to be initialized with their corresponding string-arrays. The issue is that I keep receiving a "null object reference" error. here's my code. Fragment Code: [CODE] Heres the code for MainActivity (where spinners are i...
java|android|android-fragments|android-studio-2.0
0
2016-04-24T23:40:23.510Z
2,016
4
23
6
184
2
395
61
4
2
true
false
false
false
false
false
zero
36,830,262
Setting text to multiple TextFields with Asynctasks crashes app
<p>What I want to achieve is the following: In my view, I have 4 TextViews that should show the amount of items in the connected databases. This is done using a simple php script.</p> <p>The problem I have is that I get all the correct values from the database, but when I try to set those values to my TextViews, the a...
What I want to achieve is the following: In my view, I have 4 TextViews that should show the amount of items in the connected databases. This is done using a simple php script. The problem I have is that I get all the correct values from the database, but when I try to set those values to my TextViews, the app crashes....
java|android|android-asynctask
0
2016-04-24T23:56:16.343Z
2,016
4
23
6
36
1
1,038
63
3
3
true
false
false
false
false
false
zero
36,830,265
Is it ok to use setContentView() once in OnResume()
<p>I have heard things about how it is bad to use <code>setContentView()</code></p> <p><a href="https://stackoverflow.com/questions/4757418/pattern-one-activity-multiple-views-advantages-and-disadvantages/4758715#4758715">Pattern &quot;One activity, multiple views&quot;: Advantages and disadvantages</a></p> <p>Howeve...
I have heard things about how it is bad to use setContentView() Pattern &quot;One activity, multiple views&quot;: Advantages and disadvantages However I was wondering, would it be unlikely that my application will cause memory leaks, if I use setContentView() once in the onResume() method of my activity? Whenever the u...
android
2
2016-04-24T23:56:35.423Z
2,016
4
23
6
1,782
2
650
51
1
1
true
false
false
false
false
false
low
36,830,311
Android inflate two layouts in recycler view adapter
<p>i am trying to inflate two different layouts in one recycler view. Here is my adapter code.</p> <pre><code>import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import java.util.ArrayList; public ...
i am trying to inflate two different layouts in one recycler view. Here is my adapter code. [CODE] the code is running properly but it only shows one layout, the other layout which is the layout_home_other is not showing. is it possible to show the two layouts? the two layouts also have different datas to show. how wil...
java|android|android-layout|android-fragments|android-recyclerview
1
2016-04-25T00:03:19.297Z
2,016
4
0
0
6,521
1
472
52
5
2
true
false
true
false
false
false
low
36,830,433
Android map show my location didn't work
<p>I have been struggle the get current location in google map, I even tried the official map demo, which not working also. It shows the getmylocation button on the upper right, but it didn't show any blue dot on the map which is my current location. Here is my code and i'm using emulator target api 23, i guess it ma...
I have been struggle the get current location in google map, I even tried the official map demo, which not working also. It shows the getmylocation button on the upper right, but it didn't show any blue dot on the map which is my current location. Here is my code and i'm using emulator target api 23, i guess it may be ...
android|emulation
2
2016-04-25T00:24:01.783Z
2,016
4
0
0
462
1
450
40
2
1
true
false
false
false
false
false
low
36,830,454
last item in the listview inside view pager does not appear correctly
<p>in my android application i used list view inside ViewPager but the last item does not appear as a full item, the scroll befor the last item appear as shown in the screenshot</p> <p><a href="https://i.stack.imgur.com/Pmofv.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Pmofv.png" alt="screenshot...
in my android application i used list view inside ViewPager but the last item does not appear as a full item, the scroll befor the last item appear as shown in the screenshot message_item.xml [CODE] inbox_fragment.xml [CODE] activity_main.xml [CODE]
android|android-layout|listview|android-viewpager|android-tablayout
0
2016-04-25T00:26:52.847Z
2,016
4
0
0
706
0
249
69
5
3
true
true
false
false
false
false
zero
36,830,540
WeatherApp, setting an image inside and AsyncTask while parsing XML using setImageResource()
<p>SO i'm working on basic weather application that pulls the XML from the Yahoo weather api, parses it, and displays the information. I have an Async Task that in the doInBackground method pulls the xml and uses a stringBuilder to save the xml, and in the onPostExecute parses the XML in to the format I need. I am tryi...
SO i'm working on basic weather application that pulls the XML from the Yahoo weather api, parses it, and displays the information. I have an Async Task that in the doInBackground method pulls the xml and uses a stringBuilder to save the xml, and in the onPostExecute parses the XML in to the format I need. I am trying ...
android|xml|android-fragments|android-asynctask
0
2016-04-25T00:39:43.797Z
2,016
4
0
0
180
1
931
92
4
2
true
false
false
false
false
false
zero
36,830,554
Poor recognition accuracy of Pocketsphinx using phoneme recognition on Android, French language
<p>I am working on a project where I have to integrate the speech functionalities of Pocketsphinx into an android application. In fact, I have to integrate the phoneme recognition functionality provided by Pocketpshinx that should be able to recongize phonemes in French language, e.g. the speech recongnizer should be a...
I am working on a project where I have to integrate the speech functionalities of Pocketsphinx into an android application. In fact, I have to integrate the phoneme recognition functionality provided by Pocketpshinx that should be able to recongize phonemes in French language, e.g. the speech recongnizer should be able...
android|speech-recognition|cmusphinx|pocketsphinx|phoneme
1
2016-04-25T00:42:23.787Z
2,016
4
0
0
538
1
1,451
95
5
0
false
false
false
false
false
false
low
36,830,557
MediaRecorder throws exception when setting audio source (android developing)
<p>I am trying to build a simple app to record a voice command and send it to Amazon Alexa, for that purpose I am following this <a href="http://www.tutorialspoint.com/android/android_audio_capture.htm" rel="nofollow">tutorial</a> to record a voice command. The following code snippet causes me trouble:</p> <pre><code>...
I am trying to build a simple app to record a voice command and send it to Amazon Alexa, for that purpose I am following this tutorial to record a voice command. The following code snippet causes me trouble: [CODE] By throwing the following error stack: [CODE] All googling points to the issue being the rights not set p...
java|android|mediarecorder
2
2016-04-25T00:42:57.357Z
2,016
4
0
0
4,702
1
606
77
3
3
true
false
true
false
false
false
low
36,830,566
Why can't I reference the attr `android:popupEnterTransition`?
<p>Starting from API 23, the <a href="https://android.googlesource.com/platform/frameworks/base/+/refs/heads/marshmallow-release/core/res/res/values/styles_material.xml#758" rel="nofollow">default Spinner style</a> has <code>android:popupEnterTransition</code> and <code>android:popupExitTransition</code> set:</p> <pre...
Starting from API 23, the default Spinner style has android:popupEnterTransition and android:popupExitTransition set: [CODE] I'm trying to override these in my sub-style, but it won't compile (even though I'm compiling against API 23): [CODE] I'm getting Error: No resource found that matches the given name: attr 'andro...
android
1
2016-04-25T00:44:15.433Z
2,016
4
0
0
264
1
507
62
1
2
true
false
false
false
false
false
low
36,830,585
unable to match edittext with image name
<p>Learning android by making a simple guessing game, I have set the images in an Arraylist and applied random operation on it, but now I'm confused how to match edit text value with image name so that I can set score.</p> <pre><code> public class MainActivity extends AppCompatActivity { private EditText editTex...
Learning android by making a simple guessing game, I have set the images in an Arraylist and applied random operation on it, but now I'm confused how to match edit text value with image name so that I can set score. [CODE]
java|android
0
2016-04-25T00:48:11.927Z
2,016
4
0
0
42
1
222
40
2
1
true
false
false
false
false
false
zero
36,830,615
Using a method to convert Integer to String and print in TextView
<p>I am trying to calculate the number of pages from a seek progress bar and I am having trouble printing the string to a certain TextView. Any help would be appreciated. Here is the code</p> <p>Update: It gives me value cannot divide by zero when it runs through the Update(); method in calculate_pages</p> <p>new_boo...
I am trying to calculate the number of pages from a seek progress bar and I am having trouble printing the string to a certain TextView. Any help would be appreciated. Here is the code Update: It gives me value cannot divide by zero when it runs through the Update(); method in calculate_pages new_book.java [CODE] new_b...
java|android
-2
2016-04-25T00:54:04.620Z
2,016
4
0
0
414
1
334
65
2
2
true
false
false
false
false
true
negative
36,830,636
How can I fix this misbehavior of SwipeRefreshLayout
<p>I'm trying to implement pull down to refresh and I am using SwipeRefreshLayout. But it's malfunctioning. </p> <p>When I pull down, the SwipeRefreshLayout pulls down as it should but as soon as I remove my hand, it jumps back to the top of the first item in the RecyclerView. Halve of the loader hides behind the tool...
I'm trying to implement pull down to refresh and I am using SwipeRefreshLayout. But it's malfunctioning. When I pull down, the SwipeRefreshLayout pulls down as it should but as soon as I remove my hand, it jumps back to the top of the first item in the RecyclerView. Halve of the loader hides behind the toolbar and the ...
android|pull-to-refresh|swiperefreshlayout
1
2016-04-25T00:58:48.130Z
2,016
4
0
0
1,602
2
664
52
3
8
true
false
false
false
false
false
low
36,830,821
Layout pushing views down the screen
<p>So, I have a ImageView inside a FrameLayout. I need it this way. I feel like the issue here is the image and it's size itself. The layout the image is pushes further down all the other views on my screen leaving considerable empty space that's supposed to be from the layout.</p> <p>I found that hard coding the heig...
So, I have a ImageView inside a FrameLayout. I need it this way. I feel like the issue here is the image and it's size itself. The layout the image is pushes further down all the other views on my screen leaving considerable empty space that's supposed to be from the layout. I found that hard coding the height value le...
android|android-layout|android-imageview|textview|android-framelayout
1
2016-04-25T01:28:27.730Z
2,016
4
1
0
181
1
758
36
5
1
true
false
false
false
false
false
low
36,830,985
Android 6.0 = PERMISSION_NOT_GRANTED (Issue with CONTACTS and LOCATION permission)
<p>I have an issue with Android 6.0 = PERMISSION_NOT_GRANTED</p> <p><strong>P.S.</strong> I FOUND THAT PROBLEM IS WITH CONTACTS AND LOCATION PERMISSION, is anyone know how to fix it?</p> <p>I can get DATA from JSON , BUT I can't send information to database because of PERMISSION_NOT_GRANTED exception.</p> <pre><code...
I have an issue with Android 6.0 = PERMISSION_NOT_GRANTED P.S. I FOUND THAT PROBLEM IS WITH CONTACTS AND LOCATION PERMISSION, is anyone know how to fix it? I can get DATA from JSON , BUT I can't send information to database because of PERMISSION_NOT_GRANTED exception. [CODE] I thought about an issue with permissions bu...
android|android-permissions
0
2016-04-25T01:57:33.153Z
2,016
4
1
0
344
1
518
82
2
4
true
false
false
false
false
false
zero
36,830,997
Why is my view object reference still null?
<p>If I'm interpreting the error message below correctly, the "view" object seems to be null for some reason. Looking online, most people who had a similar problem usually created the reference before setting the content view. However, as you can see by my code, this is not my case. I'm not sure what the problem is.</p...
If I'm interpreting the error message below correctly, the "view" object seems to be null for some reason. Looking online, most people who had a similar problem usually created the reference before setting the content view. However, as you can see by my code, this is not my case. I'm not sure what the problem is. Here ...
java|android
-3
2016-04-25T01:59:43.800Z
2,016
4
1
0
336
2
531
43
2
3
true
false
false
false
false
true
negative
36,831,092
How can I apply an alpha mask to an Android drawable?
<p>In my application, I need to change the background color of a button in response to certain events. That works fine by setting creating a drawable, setting its paint and using that drawable as the button background:</p> <pre><code> ShapeDrawable drawable = new ShapeDrawable(roundRectShape); drawable.getPaint...
In my application, I need to change the background color of a button in response to certain events. That works fine by setting creating a drawable, setting its paint and using that drawable as the button background: [CODE] Now, I want to overlay an alpha mask onto that drawable, creating a "striped" button. Here's how ...
android|android-drawable|android-button|android-vectordrawable
1
2016-04-25T02:18:11.547Z
2,016
4
2
0
2,446
2
1,036
53
4
1
true
false
false
false
false
false
low
36,831,115
layout_weight doesn't work on android when I use 0dp layout width
<p>I want to lay a map on my application then add a text field and a button on top of it. Below is my xml file. After launch this application, the map is shown on the screen correctly but the text field and button are not there. They are not shown even when I remove the map. What did I miss here?</p> <pre><code>&lt;?x...
I want to lay a map on my application then add a text field and a button on top of it. Below is my xml file. After launch this application, the map is shown on the screen correctly but the text field and button are not there. They are not shown even when I remove the map. What did I miss here? [CODE]
android|android-layout
-3
2016-04-25T02:23:32.413Z
2,016
4
2
0
684
2
301
65
2
1
true
false
false
false
false
true
negative
36,831,138
App not showing in Playstore for some model, but shows for other models that belongs to the same version
<p>I have developed a game using Unity 4.</p> <p>My game does not show in Play Store for Galaxy s7, s7 Edge, and Note 5 when I sort through the game category. I can find it through search, but when I try to download, it says that it is not compatible. However, I was able to download in a different Galaxy S7. S7 comes...
I have developed a game using Unity 4. My game does not show in Play Store for Galaxy s7, s7 Edge, and Note 5 when I sort through the game category. I can find it through search, but when I try to download, it says that it is not compatible. However, I was able to download in a different Galaxy S7. S7 comes with Androi...
android|mobile|google-play|android-security|unity3d
0
2016-04-25T02:26:00.317Z
2,016
4
2
0
124
1
2,323
104
5
0
false
false
false
false
false
false
zero
36,831,145
Does this code pass a value to var?
<p>There following code is from <a href="https://github.com/NanoHttpd/nanohttpd/blob/master/webserver/src/main/java/fi/iki/elonen/SimpleWebServer.java" rel="nofollow">https://github.com/NanoHttpd/nanohttpd/blob/master/webserver/src/main/java/fi/iki/elonen/SimpleWebServer.java</a>.</p> <p>Does the code <code>static {mi...
There following code is from https://github.com/NanoHttpd/nanohttpd/blob/master/webserver/src/main/java/fi/iki/elonen/SimpleWebServer.java . Does the code static {mimeTypes(); ...} pass value to the var LICENCE? Is this valid java syntax? When will the var LICENCE be passed value? Runtime or Compile-time ? [CODE]
java|android
0
2016-04-25T02:27:03.643Z
2,016
4
2
0
25
2
314
35
2
1
true
false
false
false
false
false
zero
36,831,287
webview fragment press back to return to
<p>Hi I have an android app which a <code>recycleview</code>. When user click a <code>button</code> on a recycle <code>viewholder</code>. app will launch a <code>webview</code> (inside <code>fragment</code>). I want to handle when user click back button, <code>webview</code> will goback if there is a history, and if th...
Hi I have an android app which a recycleview . When user click a button on a recycle viewholder . app will launch a webview (inside fragment ). I want to handle when user click back button, webview will goback if there is a history, and if there is no history, the app will close the webview fragment and come back the r...
android|webview|fragment|back
0
2016-04-25T02:50:39.917Z
2,016
4
2
0
354
1
665
40
4
2
true
false
false
false
false
false
zero
36,831,316
Save data to server data base in Android give unexpected error and close
<p>i make a application for track geo location and save that data to server mysql database. when i run the application is it show unexpected error and close application. some times geolocation is not pointing. but when i comment that save code geo location tracking working nicely. cant find what is the exact problem in...
i make a application for track geo location and save that data to server mysql database. when i run the application is it show unexpected error and close application. some times geolocation is not pointing. but when i comment that save code geo location tracking working nicely. cant find what is the exact problem in th...
android|android-layout|android-fragments|android-studio
0
2016-04-25T02:55:07.917Z
2,016
4
2
0
136
1
354
72
4
1
true
false
false
false
false
false
zero
36,831,379
Fail to Move a View to a TableRow
<p>I am trying to inflate a layout resource and move some views in it to a table. I remove the views from their parents and then add them to the table. It works but what I really need is to add them to a TableRow in the table instead. However, when I tried to do that, nothing showed up.</p> <p>To simplify the example,...
I am trying to inflate a layout resource and move some views in it to a table. I remove the views from their parents and then add them to the table. It works but what I really need is to add them to a TableRow in the table instead. However, when I tried to do that, nothing showed up. To simplify the example, I just use...
android
1
2016-04-25T03:04:15.193Z
2,016
4
3
0
109
1
615
33
1
3
true
false
false
false
false
false
low
36,831,426
How to Go to New Screen/Page in Android Studio?
<p>I have a quick question regarding Android Studio. </p> <p>So First Of all I am COMPLETELY new to this thing so don't get me wrong if i make a mistake. </p> <p>So what I am doing is that I have created a title screen for my app called "Canada Quiz". And below the title I have a "Start" Button. And what I done so fa...
I have a quick question regarding Android Studio. So First Of all I am COMPLETELY new to this thing so don't get me wrong if i make a mistake. So what I am doing is that I have created a title screen for my app called "Canada Quiz". And below the title I have a "Start" Button. And what I done so far is I have attached ...
android|android-studio|button
-4
2016-04-25T03:10:00.603Z
2,016
4
3
0
726
1
903
47
3
1
true
false
false
false
false
true
negative
36,831,470
How to make broadcast receiver to listen event for particular app in android?
<p>I am developing an app which contain list of app, when user click of particular app from list shown to him he will directed to website from which he can download that app to listen app is successfully download I add a broadcast receiver in android menifest.xml.The problem is that broadcast receiver listen if any app...
I am developing an app which contain list of app, when user click of particular app from list shown to him he will directed to website from which he can download that app to listen app is successfully download I add a broadcast receiver in android menifest.xml.The problem is that broadcast receiver listen if any app do...
android
0
2016-04-25T03:14:43.963Z
2,016
4
3
0
1,691
1
583
77
1
2
true
false
false
false
false
false
zero
36,831,550
How to add data to an existing .txt file in android
<p>I am developing an application that reads data coming from the accelerometer and I want to save them in .txt file, so that I can later process them.</p> <p>So far I have been able to get the readings and also to save just one reading, as from what I understand I always create a new file that overwrites the previous...
I am developing an application that reads data coming from the accelerometer and I want to save them in .txt file, so that I can later process them. So far I have been able to get the readings and also to save just one reading, as from what I understand I always create a new file that overwrites the previously existing...
android|file-io|accelerometer
2
2016-04-25T03:24:57.577Z
2,016
4
3
0
1,806
1
704
51
3
2
true
false
false
false
false
false
low
36,831,560
Android app will only display one JSON element
<p><a href="https://i.stack.imgur.com/fo9RL.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fo9RL.jpg" alt="Here is a picture of the screen output"></a>I'm making an app for class that is to retrieve stock information from an API. I have set up a way to retrieve JSON data based on a user's input stoc...
I'm making an app for class that is to retrieve stock information from an API. I have set up a way to retrieve JSON data based on a user's input stock symbol. There are two textviews right now, one that shows the company name and one that shows the stock change value. However, only the textview that has its text set fi...
android|json|okhttp
1
2016-04-25T03:26:00.650Z
2,016
4
3
0
107
3
2,793
46
3
1
true
false
false
false
false
false
low
36,831,587
Printing multiple Markers on Android google maps
<p>So I got this code trying to add markers saved in a DataBase:</p> <pre><code>@Override public void onMapReady(GoogleMap googleMap) { mMap = googleMap; // Add a marker in Sydney and move the camera control.conectar(); ArrayList&lt;Sucursal&gt; sucursales = control.getSucursales(); control.cerrar...
So I got this code trying to add markers saved in a DataBase: [CODE] All the DB rows are getting obtained correctly and the cicle is working, however only the first row seems to be "working" because its not putting it on the right location either. Ive tried this exact code another time, but I think im missing something...
android|google-maps
0
2016-04-25T03:29:44.140Z
2,016
4
3
0
67
1
325
48
2
1
true
false
false
false
false
false
zero
36,831,597
Android convert int timestamp to human datetime
<p>Hi I have an android app using <code>webRequest</code>return timestamp of type Int (or Long) I want to convert it to human reader date time (according to devices timezone)</p> <p>for example 1175714200 convert to GMT: Wed, 04 Apr 2007 19:16:40 GMT Your time zone: 4/5/2007, 3:16:40 AM GMT+8:00</p> <p>I have use thi...
Hi I have an android app using webRequest return timestamp of type Int (or Long) I want to convert it to human reader date time (according to devices timezone) for example 1175714200 convert to GMT: Wed, 04 Apr 2007 19:16:40 GMT Your time zone: 4/5/2007, 3:16:40 AM GMT+8:00 I have use this function to convert but seem ...
android|datetime|timestamp|simpledateformat
2
2016-04-25T03:30:53.037Z
2,016
4
3
0
4,520
5
1,141
47
4
1
true
false
true
false
false
false
low
36,831,779
ANDROID | send email attachment only with email clients
<p>Please read the my question carefully before marking it duplicate. thanks :)</p> <p>I want to send an email with attachment. I have used <strong><em>ACTION_SENDTO</em></strong></p> <p>Code:</p> <pre><code> Intent intent = new Intent(Intent.ACTION_SENDTO); intent.setData(Uri.parse("mailto:")); intent.putExtra(In...
Please read the my question carefully before marking it duplicate. thanks :) I want to send an email with attachment. I have used ACTION_SENDTO Code: [CODE] It shows only email clients, see the picture below: but attachment is not working except GMAIL. I have also tried to achieve it with ACTION_SEND CODE: [CODE] it sh...
android|android-intent
0
2016-04-25T03:54:48.927Z
2,016
4
3
0
83
1
627
55
2
2
true
false
false
false
false
false
zero
36,831,795
addressList size is 0 Google Maps
<p>I 'm trying to use google maps. I have this code:</p> <pre><code> public void onMapReady(GoogleMap googleMap) { mMap = googleMap; mMap.getUiSettings().setZoomControlsEnabled(true); List &lt;Address&gt; addressList = null; if (location != null || !location.equals("")){ ...
I 'm trying to use google maps. I have this code: [CODE] But I receive this: addressList size 0. Error "java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0" location is my variable but works fine. what am I doing wrong? Thanks a lot.
android|google-maps|google-geocoder
1
2016-04-25T03:57:47.397Z
2,016
4
3
0
559
1
245
33
3
1
true
false
false
false
false
false
low
36,831,872
Structure for SQLite database info to ListView
<p>I've seen a few answers here, however a lot of the answers are either going over my head or I can't relate them to my app. I was wondering if anyone could break it down a little more for me as I'm kind of new to programming . </p> <p>I'm trying to fill an ExpandableListView with data from an SQLite Database in Andr...
I've seen a few answers here, however a lot of the answers are either going over my head or I can't relate them to my app. I was wondering if anyone could break it down a little more for me as I'm kind of new to programming . I'm trying to fill an ExpandableListView with data from an SQLite Database in Android. I have ...
android|database|sqlite|listview|simplecursoradapter
0
2016-04-25T04:07:52.073Z
2,016
4
4
0
66
1
1,096
46
5
5
true
false
false
false
false
false
zero
36,831,886
Getting the values from the different fragments from ViewPager
<p>I am developing an application where the fragments are being generated dynamically.</p> <pre><code>private void setupViewPager(ViewPager viewPager) { adapter = new ViewPagerAdapter(getSupportFragmentManager()); for (int i = 0; i &lt; sequence_no.size(); i++) { adapter.addFragment(FragmentTwo.ne...
I am developing an application where the fragments are being generated dynamically. [CODE] Now suppose there does three fragments got generated. The generated fragments do have different widgets like edittext, spinner etc. which i do mannage as i have one flag which notifies me which one to be displayed(spinner or edit...
android|android-fragments|android-viewpager
0
2016-04-25T04:09:20.773Z
2,016
4
4
0
1,698
4
747
62
3
2
true
false
false
false
false
false
zero
36,831,891
PlaceAutoComplete not working in signed apk
<p>I have a very strange issue. PlaceAutoComplete was working fine in my debug apk. But now in my signed apk, the autocomplete fragement shows, but if i type anything it just returns back to the previous screen without doing anything. Here is the snippet from my MainActivity:</p> <pre><code> try { ...
I have a very strange issue. PlaceAutoComplete was working fine in my debug apk. But now in my signed apk, the autocomplete fragement shows, but if i type anything it just returns back to the previous screen without doing anything. Here is the snippet from my MainActivity: [CODE] Btw, none of the Toast messages are com...
android|apk|google-places-api
2
2016-04-25T04:10:29.700Z
2,016
4
4
0
1,242
1
806
43
3
2
true
false
false
false
false
false
low
36,831,897
why cant i turn off led's on arduino using android and esp8266
<p>i have tried to make an android application to turn on or off led's using arduino.</p> <p>esp8266 esp-01 provides access point .</p> <p>But i cant turn off the led's using the there is always some error</p> <p>also when i see the data in serial monitor it is partially gibberish</p> <p>i have taken the code from ...
i have tried to make an android application to turn on or off led's using arduino. esp8266 esp-01 provides access point . But i cant turn off the led's using the there is always some error also when i see the data in serial monitor it is partially gibberish i have taken the code from allaboutee.com/2015/01/20/esp8266-a...
android|arduino-uno|esp8266
0
2016-04-25T04:11:23.110Z
2,016
4
4
0
1,242
2
868
62
3
3
true
false
false
false
false
false
zero
36,831,931
How to use youtube API?
<p>My class:</p> <pre><code> public class MainActivity_For_Youtube extend YouTubeBaseActivity implements YouTubePlayer.OnInitializedListener { private static final int RECOVERY_DIALOG_REQUEST = 1; private YouTubePlayerView playerView; String fbid=""; @Override protected void onCreate(Bundle savedInstance...
My class: [CODE] } *I have got the android key.One thing I have done is updated to android studio 2.0. * I have registered on https://console.developers.google.com/apis/library?project=alien-vim- ***** and also enabled youtube data API.Generated the sha-1 and got the android keys. Getting these errors: [CODE]
android|youtube-api
0
2016-04-25T04:16:01.350Z
2,016
4
4
0
847
1
310
23
2
2
true
false
false
false
false
false
zero
36,831,955
Changing Location Settings - Android Tutorial
<p>I am currently trying to implement code that will request change for the location settings. I am currently following the Android Studio Tutoriel to do so.</p> <p>However, when I followed the tutorial and put the code inside the actual Studio, I saw it came up with several errors.</p> <pre><code>protected void crea...
I am currently trying to implement code that will request change for the location settings. I am currently following the Android Studio Tutoriel to do so. However, when I followed the tutorial and put the code inside the actual Studio, I saw it came up with several errors. [CODE] Firstly, [CODE] comes up with an error ...
android|location
0
2016-04-25T04:19:53.060Z
2,016
4
4
0
850
1
594
45
2
3
true
false
false
false
false
false
zero
36,832,001
Android Unit Testing / Mockito: android.location.Location not mocked
<p>I am trying to learn basic JUnit and Mockito testing on Android. I'm trying to write unit tests for a simple class that handles finding the user's location from Location Services on behalf of activities that need location information.</p> <p>I have been trying to create "faked location" to test with:</p> <pre><cod...
I am trying to learn basic JUnit and Mockito testing on Android. I'm trying to write unit tests for a simple class that handles finding the user's location from Location Services on behalf of activities that need location information. I have been trying to create "faked location" to test with: [CODE] But I get the erro...
android|unit-testing|junit|mockito
5
2016-04-25T04:25:20.067Z
2,016
4
4
0
5,892
2
686
68
4
2
true
false
true
false
false
false
low
36,832,027
In Retrofit in API call Success Gives User Object And Failure Does Not Gives User Object Then How to check that in Retrofit Success Block?
<p>User Success Login Response </p> <pre><code> { "user": [ { "name": " xyz", "email": "zy@gmail.com", "address": " Ahmedabad, Gujarat, India", "profilepic": "../media/profilepic/xyz_N6GSITKNOM_11Apr16_11421442.png", "qrcode": "1", "devicetyp...
User Success Login Response [CODE] User Failure Response [CODE] then how to message object called in retrofit Retrofit android java file [CODE] how can called a message object in android? can i possible to when failure response without object in android to success response ? can i possible to some minor changes and the...
android|retrofit
1
2016-04-25T04:29:40.133Z
2,016
4
4
0
380
1
348
138
2
3
true
false
false
false
false
false
low
36,832,035
NullPointerException at mapFragment.getMapAsync
<p>After going through SO questions relating to my title, I couldn't find a solution to the problem. I am having a <code>NullPointerException</code> at <code>mapFragment.getMapAsync</code>. Below is my <code>MapActivity</code> code.</p> <pre><code>package com.example.jerofad.mylocation; import android.app.FragmentMana...
After going through SO questions relating to my title, I couldn't find a solution to the problem. I am having a NullPointerException at mapFragment.getMapAsync . Below is my MapActivity code. [CODE] I am using google play service 8.4.0 . My Android Manifest is given below. [CODE] How can I fix the error at mapFragment....
java|android|google-maps|android-manifest|supportmapfragment
6
2016-04-25T04:30:46.437Z
2,016
4
4
0
7,376
4
426
47
5
4
true
false
true
false
false
false
medium
36,832,199
how to compare package name from market url in android?
<p>I am developing an app which contain broadcast receiver and also contain list of app when user click any particular app he will directed to play store and download that app from jsons response I get all app showing in al list url like "<a href="https://play.google.com/store/apps/details?id=com.example.launcher" rel=...
I am developing an app which contain broadcast receiver and also contain list of app when user click any particular app he will directed to play store and download that app from jsons response I get all app showing in al list url like " https://play.google.com/store/apps/details?id=com.example.launcher " what I have to...
android
0
2016-04-25T04:50:16.420Z
2,016
4
4
0
958
2
608
55
1
1
true
false
false
false
false
false
zero
36,832,269
data not save to mySQL Hosted DB
<p>i want to save this data from android app to mysql database in server. i make code with php.. when i run only php file data will be saved to db.. but it run form android application. data not save to DB. </p> <p><strong>save code in android</strong> </p> <pre><code> public void loadSave() { String my...
i want to save this data from android app to mysql database in server. i make code with php.. when i run only php file data will be saved to db.. but it run form android application. data not save to DB. save code in android [CODE] php code [CODE] calling loadSave() [CODE]
php|android|mysql|android-fragments|android-studio
1
2016-04-25T04:56:21.103Z
2,016
4
4
0
64
0
273
32
5
3
true
true
false
false
false
false
low
36,832,322
How to find distance between two locations (By latitude and longitude) in kilometers
<p>I am developing an android app which will track the current location latitude and longitude and store in external database.Here i am having a list of latitudes and longitudes.I populated them by using the custom adapter . But,Here i need the distance from one base latitude and base longitude to remaining items latit...
I am developing an android app which will track the current location latitude and longitude and store in external database.Here i am having a list of latitudes and longitudes.I populated them by using the custom adapter . But,Here i need the distance from one base latitude and base longitude to remaining items latitude...
android|google-maps|gps
2
2016-04-25T05:01:46.287Z
2,016
4
5
0
988
5
781
84
3
2
true
false
false
false
false
false
low
36,832,365
Video gallery with expandablelistview parent horizontal scrollview child
<p>Trying to implement a video gallery with horizontal scrollview children inside an expandablelistview. </p> <p>Problem facing - Instead of showing all n number of children of the group in Horizontal list view, duplicate of the first child is created n times horizontally. </p> <p>Here is my code</p> <p>This activit...
Trying to implement a video gallery with horizontal scrollview children inside an expandablelistview. Problem facing - Instead of showing all n number of children of the group in Horizontal list view, duplicate of the first child is created n times horizontally. Here is my code This activity fetches the videos saved in...
android|expandablelistview|android-sdcard|horizontal-scrolling
4
2016-04-25T05:05:15.557Z
2,016
4
5
0
393
1
722
72
4
7
true
false
false
false
false
false
low
36,832,369
Cannot replace fragments in an activity
<p>My activity contains a <code>NavigationDrawer</code>.I need to change the <code>Fragments</code> in that activity when items in navigation drawer is pressed.I get error while replacing fragments.</p> <h2>Activity</h2> <pre><code>package in.yusoft.yuride.yuride; import android.app.FragmentManager; import android.a...
My activity contains a NavigationDrawer .I need to change the Fragments in that activity when items in navigation drawer is pressed.I get error while replacing fragments. Activity [CODE] XML [CODE] I get the followng error while doing this [CODE]
android|android-fragments|navigation-drawer|buttonclick
-3
2016-04-25T05:05:28.037Z
2,016
4
5
0
337
3
246
39
4
3
true
false
false
false
false
true
negative
36,832,385
NPE try to login at web service
<p>I'm tryng to do login screen with username and password to connect to web service called vid.me.That service have API <a href="https://docs.vid.me/#api-Auth-Create" rel="nofollow">https://docs.vid.me/#api-Auth-Create</a></p> <p>through this method I must login in my app.Im trying to get some data when Im login in L...
I'm tryng to do login screen with username and password to connect to web service called vid.me.That service have API https://docs.vid.me/#api-Auth-Create through this method I must login in my app.Im trying to get some data when Im login in Log to check did I do this right way,but have NullPointerException [CODE] API ...
android|retrofit|retrofit2
0
2016-04-25T05:06:52.003Z
2,016
4
5
0
39
0
376
31
3
3
true
true
false
false
false
false
zero
36,832,416
java.lang.NoClassDefFoundError: rx.subjects.PublishSubject
<p>I've added Adobe creative SDK into my project and now im getting an error when im trying to move to Edit image function.</p> <pre><code>FATAL EXCEPTION: main java.lang.NoClassDefFoundError: rx.subjects.PublishSubject at com.adobe.creativesdk.aviary.internal.account.AdobeAccountConnec...
I've added Adobe creative SDK into my project and now im getting an error when im trying to move to Edit image function. [CODE] I went through the documentations but i've no idea why im getting this error i have attached my code [CODE]
java|android|adobecreativesdk
2
2016-04-25T05:09:25.867Z
2,016
4
5
0
2,115
3
235
58
3
2
true
false
false
false
false
false
low
36,832,487
How to remove footer view in Android?
<p>I have three buttons and I'm displaying pagination with button wise. If i click on button one calling the pagination one , if click on button 2 start the pagination 2nd , if click on button 3rd start the pagination 3rd its all working . I have add progress bar at the end of the listView setOnScrollListener per pagi...
I have three buttons and I'm displaying pagination with button wise. If i click on button one calling the pagination one , if click on button 2 start the pagination 2nd , if click on button 3rd start the pagination 3rd its all working . I have add progress bar at the end of the listView setOnScrollListener per paginati...
android|pagination
1
2016-04-25T05:16:07.513Z
2,016
4
5
0
413
0
624
37
2
1
true
true
false
false
false
false
low
36,832,547
Android SurfaceView onTouchEvent not getting called
<p>I'm developing a game using SurfaceView which listens to touch events. The onTouchEvent method in SurfaceView works fine for many of the devices, but in some devices, sometimes it doesn't get called (Moto X Style is the one) and my app also stops responding.</p> <p>I guess that this might be due to the overloading ...
I'm developing a game using SurfaceView which listens to touch events. The onTouchEvent method in SurfaceView works fine for many of the devices, but in some devices, sometimes it doesn't get called (Moto X Style is the one) and my app also stops responding. I guess that this might be due to the overloading of main thr...
android|canvas|surfaceview|touch-event
1
2016-04-25T05:20:42.420Z
2,016
4
5
0
1,251
2
670
51
4
3
true
false
false
false
false
false
low
36,832,675
problems to transmit beacon from android device
<p>Has anybody used Samsung's Bluetooth LE APIs to make a Samsung Android device advertise as an iBeacon? i am using samsung galaxy s4 ( GT- i9500)device for transmitting advertisement using altbeacon library . but my code not working is there any problems please check. </p> <pre><code> Beacon beacon = new Beacon.B...
Has anybody used Samsung's Bluetooth LE APIs to make a Samsung Android device advertise as an iBeacon? i am using samsung galaxy s4 ( GT- i9500)device for transmitting advertisement using altbeacon library . but my code not working is there any problems please check. [CODE]
android
1
2016-04-25T05:33:36.947Z
2,016
4
5
0
100
0
274
47
1
1
true
true
false
false
false
false
low
36,832,677
Android: Can't update textview in Fragment from Activity. NullPointerException
<p>I'm trying to update textview in fragment from another activity. But I'm getting a NUllPointerException when calling the setText method. I have tried the following, but still getting the NPE. 1. Tried accessing the fragments textview with FindViewbyId in activity. 2. Tried using a method in fragment and calling it f...
I'm trying to update textview in fragment from another activity. But I'm getting a NUllPointerException when calling the setText method. I have tried the following, but still getting the NPE. 1. Tried accessing the fragments textview with FindViewbyId in activity. 2. Tried using a method in fragment and calling it from...
android|android-fragments|nullpointerexception|textview|settext
1
2016-04-25T05:33:44.570Z
2,016
4
5
0
2,193
1
528
78
5
5
true
false
false
false
false
false
low
36,832,846
Adjusting width & height for view after rotating it by 90 degree in Android
<p>I want to add view &amp; rotate it by 90 degree programmatically, however I can't figure how to set its dimensions properly.</p> <p>This is my placeholder:</p> <pre><code> &lt;FrameLayout android:layout_width="40dp" android:layout_height="match_parent" android:id="@+id/pl...
I want to add view & rotate it by 90 degree programmatically, however I can't figure how to set its dimensions properly. This is my placeholder: [CODE] And this is how my code looks like: [CODE] The result is that BOTH width & height get the same value, so the view looks like this: While I wanted it to expand on entire...
android|view|rotation|width|programmatically-created
1
2016-04-25T05:45:56.087Z
2,016
4
5
0
2,348
1
342
75
5
2
true
false
false
false
false
false
low
36,832,976
I use DownloadManager.ACTION_DOWNLOAD_COMPLETE but occur ActivityNotFoundException
<p>I want get apk in my server, after install apk on android </p> <p>but when I install apk it shows ActivityNotFoundException.</p> <p>perhaps, permission problem? </p> <pre><code>&lt;uses-permission android:name="android.permission.INTERNET"/&gt; &lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_...
I want get apk in my server, after install apk on android but when I install apk it shows ActivityNotFoundException. perhaps, permission problem? [CODE] thanks please advice for me this a source [CODE]
android
0
2016-04-25T05:55:16.987Z
2,016
4
5
0
250
1
201
82
1
2
true
false
false
false
false
false
zero
36,833,149
How to show multiple viewholders in recycler view?
<p>I tried to understand how I can easily tell two different views to be inflated depending on some information on the object...</p> <p>My setup is like so but I keep crashing with this error:</p> <pre><code>java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.TextView.setTypeface(and...
I tried to understand how I can easily tell two different views to be inflated depending on some information on the object... My setup is like so but I keep crashing with this error: [CODE] which points to this line: [CODE] This is my adapter: [CODE] This is my class where I setup the adapter: [CODE] So in the adapter ...
android|android-recyclerview|android-viewholder
2
2016-04-25T06:08:37.790Z
2,016
4
6
0
5,921
2
463
50
3
4
true
false
true
false
false
false
low
36,833,178
Date string dose not get parse
<p>I have a string in date format which I want to parse in date object. I want to set the time as string in calendar object and want to set an alert at the same time. </p> <p>For this I tried to parse the string into date but nothing happens. The time dose not get set.</p> <p>When I did debug to check if the time get...
I have a string in date format which I want to parse in date object. I want to set the time as string in calendar object and want to set an alert at the same time. For this I tried to parse the string into date but nothing happens. The time dose not get set. When I did debug to check if the time get's set in calendar o...
android|string|date|datetime|simpledateformat
0
2016-04-25T06:11:48.707Z
2,016
4
6
0
119
4
1,000
30
5
3
true
false
false
false
false
false
zero
36,833,179
Change android Ripple effect center position for android Appcompat radio button
<p>I tried to make RTL radio -Put radio on right side- button for android with AppCompactRadioButton, and i achieved this with <code>android:drawableRight</code> and set <code>android:button="@null"</code> so my final view is what i wanted and final code is this:</p> <pre><code>&lt;android.support.v7.widget.AppCompatR...
I tried to make RTL radio -Put radio on right side- button for android with AppCompactRadioButton, and i achieved this with android:drawableRight and set android:button="@null" so my final view is what i wanted and final code is this: [CODE] But my question is how to to change ripple effect center position, because i s...
android|radio-button|android-appcompat
9
2016-04-25T06:11:53.950Z
2,016
4
6
0
3,106
2
790
79
3
2
true
false
true
false
false
false
medium
36,833,186
Superpowered native functions not available at runtime
<p>I have got the cross example into Android Studio 2.0</p> <p>I get a successful build and deploy to an android device but the moment it runs it fails as the java main activity can't find the native methods built in the example cpp file. The cpp is building correctly.</p> <pre><code> ...
I have got the cross example into Android Studio 2.0 I get a successful build and deploy to an android device but the moment it runs it fails as the java main activity can't find the native methods built in the example cpp file. The cpp is building correctly. [CODE] I'm missing something somewhere! It appears that the ...
android|linker
0
2016-04-25T06:12:22.800Z
2,016
4
6
0
159
1
372
54
2
1
true
false
false
false
false
false
zero
36,833,244
How to get user birthday from facebook
<p>I used below code to get facebook user information when he/ she login. but the problem is I couldn't get the user birthday or firstName of that. When I just wanted to show user birthday it will just show a me an Empty string.</p> <pre><code>package com.example.Test; import java.security.MessageDigest; import java.u...
I used below code to get facebook user information when he/ she login. but the problem is I couldn't get the user birthday or firstName of that. When I just wanted to show user birthday it will just show a me an Empty string. [CODE] }
android|facebook|user-profile
1
2016-04-25T06:16:06.017Z
2,016
4
6
0
2,030
2
234
38
3
1
true
false
false
false
false
false
low
36,833,286
Add icon in Navigatior drawer.. (Follow from android hive)
<p>im using this <a href="http://www.androidhive.info/2015/04/android-getting-started-with-material-design/" rel="nofollow">http://www.androidhive.info/2015/04/android-getting-started-with-material-design/</a> for create navigation drawer, but how to add icon in every title we have? please someone help thanks</p> <p>b...
im using this http://www.androidhive.info/2015/04/android-getting-started-with-material-design/ for create navigation drawer, but how to add icon in every title we have? please someone help thanks btw im using fragment FragmentDrawer.java [CODE] string.xml [CODE] MainActivity.java [CODE] NavDrawwerItem.java [CODE]
java|android
0
2016-04-25T06:19:48.567Z
2,016
4
6
0
47
1
315
58
2
4
true
false
false
false
false
false
zero
36,833,315
turkish character encoding in android
<p>I have a problem about turkish characters in Android Studio. I clicked File > Settings. Default Encoding, IDE and Project Encoding are Windows-1254. But i still get wrong characters in my code. </p> <p>My wrong code is :</p> <pre><code> public void showAlertExit() { AlertDialog.Builder alertbox = new Alert...
I have a problem about turkish characters in Android Studio. I clicked File > Settings. Default Encoding, IDE and Project Encoding are Windows-1254. But i still get wrong characters in my code. My wrong code is : [CODE] I clicked "Invalidate caches/Restart" but still wrong. If i do "Right click -> File Encoding -> Wind...
android|android-studio|character-encoding
1
2016-04-25T06:21:51.413Z
2,016
4
6
0
1,289
0
415
37
3
2
true
true
false
false
false
false
low
36,833,342
Implementing section indexer in list view android
<p>I want to add section headers in the list view in android like the attached image. Can some one help me with the code. I don't want to implement the side section indexer like in contacts.<a href="http://i.stack.imgur.com/3KaTB.jpg" rel="nofollow">image</a></p> <p>This is the custim list adapter that I have created-...
I want to add section headers in the list view in android like the attached image. Can some one help me with the code. I don't want to implement the side section indexer like in contacts. image This is the custim list adapter that I have created- [CODE] I am initializing this ArrayAdapter and then adding the names of t...
android|android-arrayadapter
0
2016-04-25T06:23:49.920Z
2,016
4
6
0
648
1
495
49
2
1
true
false
false
false
false
false
zero
36,833,381
Android fragment show/hide is not working
<p>In my activity I have 2 fragments of a same type but different instances and I want to show one and hide the other when different button is pressed.</p> <p>Here is the code for adding fragments to the activity:</p> <pre><code>_pardisCinemaFragment = NewsListingFragment.newInstance(TAB_CINEMA); _shoppingFragmen...
In my activity I have 2 fragments of a same type but different instances and I want to show one and hide the other when different button is pressed. Here is the code for adding fragments to the activity: [CODE] and here's the onclick event: [CODE] but nothing happens and it doesn't hide then show the fragments. is it b...
android|android-fragments|fragmentmanager
0
2016-04-25T06:26:15.377Z
2,016
4
6
0
1,065
0
639
41
3
2
true
true
false
false
false
false
zero
36,833,385
Android: AlarmManager called my Broadcast Receiver even though the trigger time not reached yet
<p>I am having trouble with alarm manager and the broadcast. This is my code which schedule the task in an hour. </p> <pre><code>var preference = PreferenceManager.GetDefaultSharedPreferences (Application.Context); var alarmManager = (AlarmManager)Application.Context.GetSystemService (Application.AlarmService)...
I am having trouble with alarm manager and the broadcast. This is my code which schedule the task in an hour. [CODE] The Broadcast Receiver which receiving the schedule is [CODE] I have a bootComplete action and shutdown action but I do a breakpoint but the intent didn't contain these action so I don't think this is th...
android|broadcastreceiver|alarmmanager
0
2016-04-25T06:26:31.227Z
2,016
4
6
0
283
1
461
95
3
2
true
false
false
false
false
false
zero
36,833,444
How To View 3D Buildings in My Google Maps Application On Android
<p>This is the first question on English stackoverflow(I'm a Japanese), so I'm not used to writing English and not good at English.Sorry.</p> <p>I want to ask about Google Maps API v2 on Android.I created a very simple map application, and I want to show 3D buildings. I could show a map, but it can not view 3D buildin...
This is the first question on English stackoverflow(I'm a Japanese), so I'm not used to writing English and not good at English.Sorry. I want to ask about Google Maps API v2 on Android.I created a very simple map application, and I want to show 3D buildings. I could show a map, but it can not view 3D buildings. I know ...
android|google-maps
2
2016-04-25T06:30:14.853Z
2,016
4
6
0
921
0
622
65
2
1
true
true
false
false
false
false
low
36,833,476
JNI method to return bitmap from file path
<p>Below is my code to get byte[] from the specified by in parameters but i want to get the bitmap that the path represent not just the byte array so that i don't have to convert it to bitmap in java.</p> <pre><code>JNIEXPORT jbyteArray JNICALL Java_com_lightbox_android_photoprocessing_PhotoProcessing_getFile(JNIEnv ...
Below is my code to get byte[] from the specified by in parameters but i want to get the bitmap that the path represent not just the byte array so that i don't have to convert it to bitmap in java. [CODE]
android|c|java-native-interface
0
2016-04-25T06:32:59.837Z
2,016
4
6
0
380
0
204
42
3
1
true
true
false
false
false
false
zero
36,833,538
Android. Fit webview size to youtube video size
<p>I'd like to play youtube video by using android webview. <strong>But I want to fit my webview to youtube video size.</strong> Until now, my implementaion is like below.</p> <pre><code> String vid = TextUtils.extractYoutubeVId(body); if (StringUtils.isBlank(vid)) { return null; } ...
I'd like to play youtube video by using android webview. But I want to fit my webview to youtube video size. Until now, my implementaion is like below. [CODE] mImportedVideoWebview is just a WebView and its width is MATCH_PARENT and height is 350dp. By using above code, I can play youtube video. But, I want to put my w...
android|webview|youtube
2
2016-04-25T06:37:56.137Z
2,016
4
6
0
3,303
2
444
47
3
1
true
false
true
false
false
false
low
36,833,540
Interface value is always null
<p>I am using custom recycler view and in adapter class i have implemented interface which is always null on button click. Here is my adapter class.</p> <pre><code>public class FeedListAdapter extends RecyclerView.Adapter&lt;AddtoCartHolder&gt; { private OnFeedItemClickListener onFeedItemClickListener; public ...
I am using custom recycler view and in adapter class i have implemented interface which is always null on button click. Here is my adapter class. [CODE] I am always getting null whenever clicking on button really down know why it is coming null... Here is my fragment class which have implemented interface. [CODE]
java|android|android-fragments|interface|android-recyclerview
1
2016-04-25T06:37:57.740Z
2,016
4
6
0
943
2
314
30
5
2
true
false
false
false
false
false
low
36,833,559
Please suggest me on proper usage of notifyDataSetChanged()
<p>I'm using view pager with swiping tab layouts. And i'm displaying list view of data using custom adapter. And also onclick of list view i have a list view detail activity where I'm displaying data in more detail. In these detail activity i'm performing some changes to the data(some post method). after that I create ...
I'm using view pager with swiping tab layouts. And i'm displaying list view of data using custom adapter. And also onclick of list view i have a list view detail activity where I'm displaying data in more detail. In these detail activity i'm performing some changes to the data(some post method). after that I create an ...
android|listview|custom-adapter|notifydatasetchanged
-1
2016-04-25T06:39:10.150Z
2,016
4
6
0
76
1
1,043
59
4
4
true
false
false
false
false
true
negative
36,833,570
Error in compile SDK version?
<p>Can anyone please tell me how do i fix this error:</p> <pre><code>apply plugin: 'com.android.application' android { compileSdkVersion 21 buildToolsVersion '21.1.2' defaultConfig { applicationId "com.example.abhishek.detector" minSdkVersion 10 targetSdkVersion 21 versionC...
Can anyone please tell me how do i fix this error: [CODE] Error: Error:Execution failed for task ':app:processDebugResources'. com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Users\hp-pc\AppData\Local\Android\sdk\build-tools\21.1.2\aapt.exe'' finished wit...
android|android-studio|android-gradle-plugin
0
2016-04-25T06:39:52.733Z
2,016
4
6
0
1,775
2
343
29
3
1
true
false
false
false
false
false
zero
36,833,601
Android automatic sort list of model when new item is added
<p>Hi I have and Android app using RecycleView. I have a model class <code>Topstory</code> with a variable <code>time</code> (data is <code>long</code> value). New item will be added to <code>List</code> of <code>Topstory</code> (topstories) from a JSON response from server. I want to update the recycle View to add new...
Hi I have and Android app using RecycleView. I have a model class Topstory with a variable time (data is long value). New item will be added to List of Topstory (topstories) from a JSON response from server. I want to update the recycle View to add new item but sort the items by time (i.e: newest appear first (by time)...
android|sorting|time|android-recyclerview
0
2016-04-25T06:41:41.653Z
2,016
4
6
0
392
0
628
59
4
2
true
true
false
false
false
false
zero
36,833,606
Android support library error after updating to 23.3.0
<p>I have been using android support v4 23.1.1 and recently tried to update it to 23.3.0 ( the latest one when this was asked) but I got the following error:</p> <blockquote> <p>Error:Conflict with dependency 'com.android.support:support-annotations'.<br> Resolved versions for app (23.3.0) and test app (23.1.1) di...
I have been using android support v4 23.1.1 and recently tried to update it to 23.3.0 ( the latest one when this was asked) but I got the following error: Error:Conflict with dependency 'com.android.support:support-annotations'. Resolved versions for app (23.3.0) and test app (23.1.1) differ. See http://g.co/androidstu...
android|android-support-library
48
2016-04-25T06:41:53.637Z
2,016
4
6
0
74,843
13
672
54
2
2
true
false
true
true
true
false
high
36,833,798
Sending json object via http post method in android
<blockquote> <p>its NOT DUPLICATE.Link that has been provided is an OLD one."http client" has been removed in api23</p> </blockquote> <p>I want to send json object:</p> <pre><code>{"emailId":"ashish.bhatt@mobimedia.in","address":"Naya bans","city":"Noida","pincode":"201301","account_number":"91123546374208","bank_n...
its NOT DUPLICATE.Link that has been provided is an OLD one."http client" has been removed in api23 I want to send json object: [CODE] to url: http://10digimr.mobimedia.in/api/mobile_retailer/update_profile How do i do it? via post method? METHOD: [CODE] MANDATORY KEY: [CODE] REQUEST JSON: [CODE] RESPONSE: [CODE]
android|json|http-post|httprequest|httpurlconnection
1
2016-04-25T06:54:21.153Z
2,016
4
6
0
25,805
2
314
51
5
5
true
false
true
true
false
false
low
36,833,871
Android numberpicker edge scrolling glitch
<p>I've created a number picker with some string values.</p> <pre><code>public void setValues() { boolean defaultAvaliable = false; int defaultRow = 0; String[] values = new String[pickValues.size()]; for (int i = 0; i &lt; pickValues.size(); i++) { if (pickValues.get(i).equals("01:00")) { ...
I've created a number picker with some string values. [CODE] And when I scroll to edge values (first or last) the picker first jumps to that item in a weird, not smooth way and after that when i try to go back to other values it doesn't scroll. The picker glitches on the edge value and after some time it finally goes b...
java|android|numberpicker
5
2016-04-25T06:58:21.047Z
2,016
4
6
0
999
0
847
42
3
2
true
true
false
false
false
false
low
36,833,892
Cloning data partition to other Android devices
<p>We have several devices running Android in an industrial environment.<br> We think about completely setting up one device and then copy the whole /data directory to the other devices. The expected benefit is to configure things like wireless settings and install the required apps and updates only once on one device ...
We have several devices running Android in an industrial environment. We think about completely setting up one device and then copy the whole /data directory to the other devices. The expected benefit is to configure things like wireless settings and install the required apps and updates only once on one device and som...
android|copy|partition
0
2016-04-25T06:59:40.313Z
2,016
4
6
0
323
0
1,078
47
3
0
false
true
false
false
false
false
zero
36,833,959
Android layout_below in RelativeLayout
<p>I came across a strange issue, below is my layout:</p> <pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="wrap_content" &gt; &lt;ImageView android:src="@color/colorAccent" android:layout_width="matc...
I came across a strange issue, below is my layout: [CODE] TextView is not below ImageView as expected, it's below the original position of ImageView . If i set layout_height of RelativeLayout to 200dp or match_parent , it works fine. How do i solve this?
android|android-layout|user-interface|android-relativelayout
0
2016-04-25T07:04:00.110Z
2,016
4
7
0
857
4
254
38
4
1
true
false
false
false
false
false
zero
36,833,970
Android ViewPager setCurrentItem not loading the requested page
<p>I am trying to move to the specified page in viewPager.</p> <p>My code is - </p> <pre><code> if(isFirstCall) { mPagerAdapter = new ScreenSlidePagerAdapter(getFragmentManager(), pageId); mPager.setAdapter(mPagerAdapter); } new Handler().post(new Runnable() { @Override pub...
I am trying to move to the specified page in viewPager. My code is - [CODE] When I try to update the currentPagePosition variable, the viewPager hangs and does not move to the specified page immediately. (It is observed that, after approximately 10-15 mins the specified page is called.) Whereas, if I don't modify the v...
android|android-viewpager
0
2016-04-25T07:04:43.690Z
2,016
4
7
0
764
1
799
63
2
1
true
false
false
false
false
false
zero
36,833,985
Unity3D - Get smooth speed and acceleration with GPS data
<p>I'm using Unity3D and I created simple distance, speed and acceleration calculator using latitude and longitude of last position. I'm calculating last distance, speed and acceleration in each GPS update (approximately once per second). But sometimes (2-3 second interval) latitude and longitude values changes rapidly...
I'm using Unity3D and I created simple distance, speed and acceleration calculator using latitude and longitude of last position. I'm calculating last distance, speed and acceleration in each GPS update (approximately once per second). But sometimes (2-3 second interval) latitude and longitude values changes rapidly (i...
android|unity3d|gps|location|distance
1
2016-04-25T07:06:16.607Z
2,016
4
7
0
1,662
0
650
57
5
1
true
true
false
false
false
false
low
36,834,092
Link fragment button to another activity
<p><strong>Below is the EDITED code</strong></p> <pre><code>@Override public void onClick(View v) { switch (v.getId()){ case R.id.btn_chg_password: showDialog(); break; case R.id.btn_order: changemenu(); break; } } private void changemenu() { ...
Below is the EDITED code [CODE] i want to change the link to activity_activityresult1 after i press btn_order I believe i cannot just link it like this because its fragment to activity? on clicking the btn_order i want to direct to the activity_activityresult1 <----- this layout Below is the original code [CODE]
android|android-fragments|android-studio
-1
2016-04-25T07:11:55.817Z
2,016
4
7
0
1,024
1
313
40
3
2
true
false
false
false
false
true
negative
36,834,125
HTML text in div go to next line automatically for some text in Android 4.4.2
<p>Some text (not all) in the div suddenly go to new line while the text is not reach the max width of the div. For example:<br> With this long text, in the view it show correctly: "UMI TERIYAKI &amp; SUSHI", this text is placed on the same line in my div.<br> My HTML:<br></p> <pre><code>&lt;listitem&gt;&lt;div style=...
Some text (not all) in the div suddenly go to new line while the text is not reach the max width of the div. For example: With this long text, in the view it show correctly: "UMI TERIYAKI & SUSHI", this text is placed on the same line in my div. My HTML: [CODE] Result in browser: [CODE] But with this shorter text: "MAC...
android|html|css|ionic-framework
1
2016-04-25T07:13:25.113Z
2,016
4
7
0
59
1
578
77
4
4
true
false
false
false
false
false
low
36,834,145
Parcelable encountered IOException writing serializable object [QUICKBLOX DIALOG]
<p>I am facing an issue in quickblox since 15th April, when Quickblox updated SDK for android to 2.5.2. The problem that i noticed is like, if i have <strong>customData</strong> parameter filled for a dialog, then it throws the IOExeption mentioned below. else no issues.</p> <p><em>Dialog that casues no issues.</em></...
I am facing an issue in quickblox since 15th April, when Quickblox updated SDK for android to 2.5.2. The problem that i noticed is like, if i have customData parameter filled for a dialog, then it throws the IOExeption mentioned below. else no issues. Dialog that casues no issues. QBDialog{id=xxxx, created_at=2016-19-0...
android|serialization|quickblox|quickblox-android
1
2016-04-25T07:14:43.470Z
2,016
4
7
0
7,071
3
1,358
81
4
3
true
false
true
false
false
false
low
36,834,146
Setting background color of a button changes the size of button
<p>I am creating an Alert Dialog on clicking an imageView .Code is given below:</p> <pre><code>imgEditStatus.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { AlertDialog.Builder builder = new AlertDialog.Builder(ProfileActivity.this); ...
I am creating an Alert Dialog on clicking an imageView .Code is given below: [CODE] dialog_edit_status.xml [CODE] I am trying to set orange color in the background of OK button.But its size got changed. I tried to use the following code : [CODE] it is giving me error :setColorFilter() in Drawable can not be applied to ...
android
0
2016-04-25T07:15:00.790Z
2,016
4
7
0
70
3
359
63
1
3
true
false
false
false
false
false
zero
36,834,148
Combine json and make arraylist<object>
<p>I have <strong>JSON</strong> that I want to combine data from 1st object into 2nd object </p> <pre><code>{ "ViewId": { "56": { "ViewId": "56", "Name": "hi", "param": "value" }, "88": { "ViewId": "88", "Name": "hi2", ...
I have JSON that I want to combine data from 1st object into 2nd object [CODE] Basically from this I am making ArrayList, How can I add ViewId data in to que. I want to merge JSON in following way: [CODE]
android|json|arraylist
1
2016-04-25T07:15:02.927Z
2,016
4
7
0
110
2
204
39
3
2
true
false
false
false
false
false
low
36,834,279
How to add the text at the particular position in custom adapter in android
<p><a href="https://i.stack.imgur.com/MOUUT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/MOUUT.png" alt="enter image description here"></a>I am creating android app that populates the list of GPS co-ordinates which was entered by the user using custom adapter like this </p> <pre><code>SELECTION ...
I am creating android app that populates the list of GPS co-ordinates which was entered by the user using custom adapter like this [CODE] If user selects the check-box 1 then i have to find the distance from check-box 1 lat long to check-box 2,check-box 3,check-box-4 lat long .Here i need to display the result text in ...
android|listview|maps|adapter
0
2016-04-25T07:22:52.237Z
2,016
4
7
0
1,383
3
700
75
4
2
true
false
false
false
false
false
zero
36,834,401
Android create a collection which automatic sort new item when add
<p>Hi i have and android app with model <code>TopStory</code>. I want create a collection of <code>TopStory</code> (topStories) which order the item by value (ie.time) Whenever new item is added. the new added item will be at the correct index (order by value time) (ie: create an already sorted Collection so that whene...
Hi i have and android app with model TopStory . I want create a collection of TopStory (topStories) which order the item by value (ie.time) Whenever new item is added. the new added item will be at the correct index (order by value time) (ie: create an already sorted Collection so that whenever we add new item, it will...
android|sorting|collections|priority-queue
-1
2016-04-25T07:29:50.407Z
2,016
4
7
0
146
2
517
66
4
1
true
false
false
false
false
true
negative
36,834,449
Android Application Login with Facebook is not working with Facebook App installed
<p>This code is working well <strong>when I uninstalled the Facebook App</strong> but didn't work with Facebook App installed. I'm using Facebook SDK 4.0.</p> <p><strong>This is my code</strong></p> <pre><code>package com.example.nhp04.gqfood; import com.facebook.AccessToken; import com.facebook.AccessTokenTracker; i...
This code is working well when I uninstalled the Facebook App but didn't work with Facebook App installed. I'm using Facebook SDK 4.0. This is my code [CODE] this function for checking login [CODE] this on Resume and on Stop methods [CODE] And this is my onActivityResult [CODE]
java|android|sdk|facebook-android-sdk|facebook-sdk-4.0
13
2016-04-25T07:32:40.307Z
2,016
4
7
0
11,097
4
278
82
5
4
true
false
true
false
true
false
medium
36,834,513
Binary XML file line #9 : Error inflating class fragment
<p>I'm unable to figure out why I'm getting this error. Below is my code:</p> <p>View.java</p> <hr> <pre><code>public class View extends FragmentActivity { public static final String tview = "View"; Context context; public void onCreate(Bundle savedInstanceState) { try { context = this; su...
I'm unable to figure out why I'm getting this error. Below is my code: View.java [CODE] ViewArrayAdapter.java [CODE] ViewFragment.java [CODE] listview.xml [CODE] view_1.xml [CODE] view.xml [CODE] view_fragment.xml [CODE] logcat messages [CODE] Can someone please help me in identifying what I' doing wrong here? Thanks
android|android-fragments
1
2016-04-25T07:36:43.430Z
2,016
4
7
0
1,458
1
318
56
2
8
true
false
false
false
false
false
low
36,834,545
Why is my HTTPost in android gives me null on JSP page?
<p>I am building an app which tracks the user with latitude and longitude. This latitude and longitude has to be posted to a server.</p> <p>I build a service so that it gives me the users current location.</p> <p>This is my code:</p> <p>MYService.java</p> <pre><code>package com.example.rama.locationtracking; /** ...
I am building an app which tracks the user with latitude and longitude. This latitude and longitude has to be posted to a server. I build a service so that it gives me the users current location. This is my code: MYService.java [CODE] MainActivity.java [CODE] JSP Code [CODE]
android|jsp|http
0
2016-04-25T07:37:49.837Z
2,016
4
7
0
43
0
275
55
3
3
true
true
false
false
false
false
zero
36,834,603
Clickable View Pager in Android
<p>I want to set on click event in my View Pager. My <code>ViewPagerAdapter</code> looks like this- </p> <pre><code>public class ViewPagerAdapder extends PagerAdapter { Activity activity; String image[]; public ViewPagerAdapder(Activity act, String[] imgArra) { image = imgArra; activity =...
I want to set on click event in my View Pager. My ViewPagerAdapter looks like this- [CODE] And I am setting OnClickListener like this in my Main Activity [CODE] My ViewPager works fine. I tried to implement OnClickListener in both Main Activity as well as in the ViewPagerAdapter class. It does not work either way.
java|android|android-viewpager|onclicklistener
5
2016-04-25T07:41:15.917Z
2,016
4
7
0
7,654
3
315
31
4
2
true
false
true
false
false
false
low
36,834,622
2D basic movement UNITY
<p>Currently my character works perfectly on the keyboard, but when I convert your movements to touch, through 3 UI Buttons (i tried UI image too, but success) i'm not succeeding</p> <p>It basically goes to the right, left, and jumps.</p> <p>How should do to make it follow these instructions:</p> <p>When the user pr...
Currently my character works perfectly on the keyboard, but when I convert your movements to touch, through 3 UI Buttons (i tried UI image too, but success) i'm not succeeding It basically goes to the right, left, and jumps. How should do to make it follow these instructions: When the user presses directional, the char...
c#|android|unity3d|unityscript
-1
2016-04-25T07:42:10.537Z
2,016
4
7
0
2,431
2
558
23
4
1
true
false
false
false
false
true
negative
36,834,632
Android MediaCodec: Backlink to input
<p>I'm receiving video data via RTP/H.264 (Profile Baseline). I'm building a complete NAL unit (using the NAL (Network Abstraction Limit) delimiter 0x09) and pushing this to the MediaCodec. Afterwards I'm rendering the decoded image via OpenGL to a SurfaceTexture. This does work well so far. </p> <p>Now I need to know...
I'm receiving video data via RTP/H.264 (Profile Baseline). I'm building a complete NAL unit (using the NAL (Network Abstraction Limit) delimiter 0x09) and pushing this to the MediaCodec. Afterwards I'm rendering the decoded image via OpenGL to a SurfaceTexture. This does work well so far. Now I need to know in my rende...
android|video
3
2016-04-25T07:42:25.530Z
2,016
4
7
0
38
0
1,028
37
2
0
false
true
false
false
false
false
low
36,834,861
RXJava - buffer observable 1 until observable 2 emits one item
<p>I want following behaviour:</p> <p><code>observableMain</code> should buffers all items until <code>observableResumed</code> emits a value. Then <code>observableMain</code> should emit all buffered and all feature values...</p> <p>What I do in my <code>activity's</code> <code>onCreate</code>:</p> <pre><code> Publ...
I want following behaviour: observableMain should buffers all items until observableResumed emits a value. Then observableMain should emit all buffered and all feature values... What I do in my activity's onCreate : [CODE] Problem All items that are send to the subject after the activity is resumed are working, all ite...
android|rx-java
4
2016-04-25T07:56:02.937Z
2,016
4
7
0
1,026
2
450
62
2
1
true
false
false
false
false
false
low
36,834,932
How to add cookie to url using HttpUrlConnection class in android?
<p>I'm trying to parse the json data from an url, when i try to create connection , it throws the exception as <strong>java.net.ProtocolException: cannot write request body after response has been read</strong></p> <p>I got the response message as <strong>Not found</strong>.</p> <p>and i checked the url in web brows...
I'm trying to parse the json data from an url, when i try to create connection , it throws the exception as java.net.ProtocolException: cannot write request body after response has been read I got the response message as Not found . and i checked the url in web browser it shows the Json data when i login wuth my creden...
android|json|cookies
2
2016-04-25T08:00:07.150Z
2,016
4
8
0
24,187
1
490
66
3
1
true
false
true
true
false
false
low
36,834,956
Cordova Android Push Notification With Action Button
<p>I have used <a href="https://github.com/phonegap/phonegap-plugin-push" rel="noreferrer">Push Plugin</a> , when i am sending push with action button 1)accept 2)ignore.</p> <p>when notification came , i was clicked on "accept" button . but i want parameters with the "accept" button callback. from that i will identify...
I have used Push Plugin , when i am sending push with action button 1)accept 2)ignore. when notification came , i was clicked on "accept" button . but i want parameters with the "accept" button callback. from that i will identify with notification's "accept" was called. code reference [CODE] in code "app.onPushAccept" ...
android|cordova|push-notification
5
2016-04-25T08:01:40.530Z
2,016
4
8
0
2,761
3
409
52
3
1
true
false
true
false
false
false
low