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,112,855
MPAndroidChart RadarChart collapses itself
<p>I have some problems with <code>RadarChart</code> labels. Specifically, if I use long texts (e.g. 15-20 chars), and the available space is not too big, the chart gets collapsed and the labels are positioned inside the collapsed chart (but there is clearly more space available).</p> <p>I tried to use <code>ValueForm...
I have some problems with RadarChart labels. Specifically, if I use long texts (e.g. 15-20 chars), and the available space is not too big, the chart gets collapsed and the labels are positioned inside the collapsed chart (but there is clearly more space available). I tried to use ValueFormatter for the label axis that ...
android|mpandroidchart|radar-chart
7
2016-05-09T10:01:04.257Z
2,016
5
10
0
1,636
2
761
42
3
1
true
false
false
false
false
false
medium
37,112,949
Fragment enter and exit transitions are not executed at the same time
<p>Running a simple slide to the left animation for both entering and existing fragment produces the effect of the entering fragment slightly overlapping with the exit fragment. This leads me to think that both transition are not executed at the same time. Any clue or confirmation of this behavior?</p> <p>The desired ...
Running a simple slide to the left animation for both entering and existing fragment produces the effect of the entering fragment slightly overlapping with the exit fragment. This leads me to think that both transition are not executed at the same time. Any clue or confirmation of this behavior? The desired effect is t...
android|android-fragments|android-animation|fragment-transitions
3
2016-05-09T10:05:13.073Z
2,016
5
10
0
5,697
2
687
69
4
1
true
false
true
false
false
false
low
37,112,967
Android "Cannot resolve symbol '@id/myLabel"
<p>I am getting an error saying "<code>Cannot resolve symbol '@id/myLabel</code>'". same error is for following elements:</p> <pre><code>"Cannot resolve symbol '@id/numberStudents'" "Cannot resolve symbol '@id/accept'" </code></pre> <p>Please help me to resolve this issue. Sample of my xml is being pasted below.</p> ...
I am getting an error saying " Cannot resolve symbol '@id/myLabel '". same error is for following elements: [CODE] Please help me to resolve this issue. Sample of my xml is being pasted below. Thanks, Abhilash Kadala. [CODE]
java|android|xml|android-layout
5
2016-05-09T10:05:54.197Z
2,016
5
10
0
10,572
4
224
44
4
2
true
false
true
false
false
false
low
37,113,004
Table has no column named xyz while inserting data into SQLite database
<p>It says that the column name bmi does not exist. The resulting Error message is that the system cannot find a column called bmi. I checked it already a couple of times and I couldn't find a mistake in the code. Maybe you guys see one... The full Stack Dump is attached after the code.</p> <pre><code>public class MyD...
It says that the column name bmi does not exist. The resulting Error message is that the system cannot find a column called bmi. I checked it already a couple of times and I couldn't find a mistake in the code. Maybe you guys see one... The full Stack Dump is attached after the code. [CODE] } Error and Stack Dump:
android|mysql|sqlite
-2
2016-05-09T10:07:43.463Z
2,016
5
10
0
40
2
315
71
3
1
true
false
false
false
false
true
negative
37,113,138
android web browser does not open url
<p>i want to open url through browser but when i click on button it does not open the url please tell me where i made mistake. here is the code of java file.</p> <pre><code> public class MainActivity extends AppCompatActivity { Button button; EditText editText; WebView webView; @Override protected...
i want to open url through browser but when i click on button it does not open the url please tell me where i made mistake. here is the code of java file. [CODE] here is xml file [CODE] when i click on button it does not open the page and in the logcat it show message like this
java|android|webview
1
2016-05-09T10:13:14.290Z
2,016
5
10
0
199
2
278
37
3
2
true
false
false
false
false
false
low
37,113,146
Display a Viewpager that scrolls together with a RecyclerView
<p>I want to display a Viewpager that scrolls up when the RecyclerView that I have placed below scrolls up.</p> <p>The information displayed in the RecyclerView depends on the page displayed in the Viewpager. Above the Viewpager there is a Toolbar.</p> <p>This is the layout I'm using:</p> <pre><code>&lt;?xml version...
I want to display a Viewpager that scrolls up when the RecyclerView that I have placed below scrolls up. The information displayed in the RecyclerView depends on the page displayed in the Viewpager. Above the Viewpager there is a Toolbar. This is the layout I'm using: [CODE] Note: MultiViewPager is a ViewPager that dis...
android|scroll|android-viewpager|android-recyclerview
0
2016-05-09T10:13:27.600Z
2,016
5
10
0
975
2
950
61
4
3
true
false
false
false
false
false
zero
37,113,239
Android : Avoid app to quit after automation testing
<p>I am writing android automation test using Robotium and after successful test, I want to take screenshot of the app.</p> <p>The problem is however that the application quits after the test is completed and my job for screen capture takes home screenshot which is not desired.</p> <p>Is there a way I could stop my ...
I am writing android automation test using Robotium and after successful test, I want to take screenshot of the app. The problem is however that the application quits after the test is completed and my job for screen capture takes home screenshot which is not desired. Is there a way I could stop my application to quit ...
java|android|automation|robotium
0
2016-05-09T10:18:04.657Z
2,016
5
10
0
70
2
572
52
4
1
true
false
false
false
false
false
zero
37,113,306
Is it possible to change AppBar text color in my theme (AppCompat)?
<p>I want to change only the AppBar text color, but in the Theme Editor (I use Android Studio) I can only change <code>textColorPrimary</code> (it changes AppBar text color but also the LargeText color).</p> <p>My current theme: <a href="https://i.stack.imgur.com/CqCrC.png" rel="nofollow noreferrer"><img src="https://...
I want to change only the AppBar text color, but in the Theme Editor (I use Android Studio) I can only change textColorPrimary (it changes AppBar text color but also the LargeText color). My current theme: I can change only textColorPrimary: Now I change the text color like this: style.xml [CODE] activity.xml [CODE] Is...
android|android-appcompat
3
2016-05-09T10:21:57.927Z
2,016
5
10
0
15,719
2
383
67
2
2
true
false
true
true
false
false
low
37,113,337
How to change a textview in NavigationView app:headerLayout?
<pre class="lang-C# prettyprint-override"><code>&lt;android.support.design.widget.NavigationView android:layout_width="wrap_content" android:layout_height="match_parent" android:layout_gravity="start" android:id="@+id/nav_view" app:headerLayout="@layout/drawer_header" app...
[CODE] MainActivity [CODE] I have tried it but I got error at textUsername. I'm making a login. I need load a image, textview to drawer_header.How to change a textview in NavigationView app:headerLayout?
xamarin|xamarin.android
0
2016-05-09T10:23:33.227Z
2,016
5
10
0
223
1
203
60
2
2
true
false
false
false
false
false
zero
37,113,502
WSO2 EMM - Usage limitations
<p>helpers and everyone, First, I would like to thanks the site to give access at this source of information, has been really helpful in the past. I'm newbie in this world of developing and MDM. Today, I'm working on WSO2 EMM 2.0.1 solution. After a first setup, I have public and enterprise apps deployed on 2 Android d...
helpers and everyone, First, I would like to thanks the site to give access at this source of information, has been really helpful in the past. I'm newbie in this world of developing and MDM. Today, I'm working on WSO2 EMM 2.0.1 solution. After a first setup, I have public and enterprise apps deployed on 2 Android devi...
android|wso2|mdm
0
2016-05-09T10:31:14.800Z
2,016
5
10
0
303
1
1,530
28
3
0
false
false
false
false
false
false
zero
37,113,535
Hide soft keyboard on pressing back
<p>I have an <code>EditText</code> in an <code>Activity</code> and I want it to be active and soft-keyboard be open when I open that <code>Activity</code>. Here is my <code>xml</code> for <code>EditText</code>:</p> <pre><code>&lt;EditText android:background="@null" android:cursorVisible="true" android:eleg...
I have an EditText in an Activity and I want it to be active and soft-keyboard be open when I open that Activity . Here is my xml for EditText : [CODE] and I have used android:windowSoftInputMode="stateVisible" for the activity in which I have this EditText . The problem is, when I press back once, the keyboard does no...
android|android-edittext|android-manifest|android-softkeyboard
10
2016-05-09T10:33:01.293Z
2,016
5
10
0
12,963
4
733
35
4
1
true
false
true
true
true
false
medium
37,113,591
app:dexDebug - UNEXPECTED TOP-LEVEL EXCEPTION - on AsyncTask
<p>Oh how I hate this error.</p> <p>I'm getting the dreaded dexDebug error, but this time around I have no idea how to fix it.</p> <p>The exact error is:</p> <pre><code> Information:Gradle tasks [:app:assembleDebug] :app:preBuild UP-TO-DATE :app:preDebugBuild UP-TO-DATE :app:checkDebugManifest :app:preReleaseBuild U...
Oh how I hate this error. I'm getting the dreaded dexDebug error, but this time around I have no idea how to fix it. The exact error is: [CODE] I have only two dependencies and a fairly clean app.gradle as below: [CODE] Here are the things I have tried to fix this, to no avail: 1) I was including the jar for JSoup but ...
android|gradle|android-asynctask
1
2016-05-09T10:36:31.107Z
2,016
5
10
0
116
1
756
60
3
3
true
false
false
false
false
false
low
37,113,657
Rising memory usage after start new activities
<p>Similar case with <a href="https://stackoverflow.com/questions/12326061/repeated-activity-initializations-and-memory-usage">this question</a>, my App uses multiple activities to display different sections. With a sliding menu's button, I can switch from one activity to another. Codes are as follow:</p> <pre><code>I...
Similar case with this question , my App uses multiple activities to display different sections. With a sliding menu's button, I can switch from one activity to another. Codes are as follow: [CODE] similar for other menu buttons, which switch to Activity B, C and D. When I switch from A to B, memory usage is 30MB; then...
android|android-intent|memory|memory-management
0
2016-05-09T10:39:38.530Z
2,016
5
10
0
455
0
667
46
4
2
true
true
false
false
false
false
zero
37,113,685
How to search and replace with in 2d array in android
<p>I have sqlite db with 4 columns. i.e. id , rule body, cons and bool. i can insert data to it and retrieve using a cursor and store in 2d array. example row can be like</p> <pre><code>id rule body cons bool 1 jogging(?X) athelete(?x) 0 2 athelete(?X) ...
I have sqlite db with 4 columns. i.e. id , rule body, cons and bool. i can insert data to it and retrieve using a cursor and store in 2d array. example row can be like [CODE] same is the structure of array without columns heading. now what i want to do it that a user has to give input in the following format [CODE] it ...
android|search|multidimensional-array|replace|expert-system
1
2016-05-09T10:40:35.897Z
2,016
5
10
0
126
4
861
53
5
6
true
false
false
false
false
false
low
37,113,725
ArrayList Length gets 0 in Singleton
<p>I am using a singleton for fetching data from a web service and storing the resulting data object in an ArrayList. It looks like this:</p> <pre><code>public class DataHelper { private static DataHelper instance = null; private List&lt;CustomClass&gt; data = null; protected DataHelper() { data = new ArrayList...
I am using a singleton for fetching data from a web service and storing the resulting data object in an ArrayList. It looks like this: [CODE] The data is fetched correctly and the list actually contains data after it. Also, only one instance is created, as intended. However, whenever I call getData later, the length of...
android|memory-management|singleton
0
2016-05-09T10:42:44.170Z
2,016
5
10
0
179
3
1,272
36
3
3
true
false
false
false
false
false
zero
37,113,750
simple webservices using php in android
<pre><code> package com.example.simplewebservices; import java.io.IOException; import org.apache.http.HttpResponse; import org.apache.http.client.HttpClient; import org.apache.http.client.methods.HttpPost; import org.apache.http.impl.client.DefaultHttpClient; import org.apache.http.util.Ent...
[CODE] Here is activity_main.xml [CODE] Here manifest.xml [CODE] Here Logcat information [CODE] `this is simple webservices(hello world) in android using php.i Create php file and copy it in to www directory of wamp server.but when i run this application its unfortunately stopped.and below i mention logcat information....
android|eclipse
-1
2016-05-09T10:44:29.767Z
2,016
5
10
0
26
1
358
39
2
4
true
false
false
false
false
true
negative
37,113,812
RecyclerView LinearLayout manager always returns -1 in landscape mode - findLastCompletelyVisibleItemPosition()
<p>I'm using <code>findLastCompletelyVisibleItemPosition()</code> to determine the last visible item in my RecyclerView.</p> <p>Here is a code snippet of how I'm setting up my layout:</p> <pre><code> mRecyclerView.setHasFixedSize(true); LinearLayoutManager mLayoutManager = new LinearLayoutManager(getContext())...
I'm using findLastCompletelyVisibleItemPosition() to determine the last visible item in my RecyclerView. Here is a code snippet of how I'm setting up my layout: [CODE] Layout XML: [CODE] In portrait mode, this works fine and always returns the right position. However in landscape mode, the position returned is always -...
android|android-layout|android-recyclerview|linearlayoutmanager
6
2016-05-09T10:47:25.667Z
2,016
5
10
0
4,175
4
525
111
4
2
true
false
true
false
false
false
medium
37,113,814
NullPointerException when setting listview adapter (DrawerLayout)
<p>I have a fragment layout which is the drawer and looks like this:</p> <p><strong>fragment_overview.xml</strong></p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/drawer_layout" android:l...
I have a fragment layout which is the drawer and looks like this: fragment_overview.xml [CODE] And the java class for that fragment: OverviewFragment.java [CODE] With this code in the resources folder: [CODE] And this as a list item: simple_list_item_1.xml [CODE] However when the setAdapter method runs in the java clas...
java|android|listview|android-fragments|drawerlayout
0
2016-05-09T10:47:27.333Z
2,016
5
10
0
358
3
635
65
5
5
true
false
false
false
false
false
zero
37,113,837
twitterLoginButton.performClick(); not working in android
<p>I tried to perform click programmatic way, But app getting crash everytime.</p> <pre><code>twitterLoginButton = (TwitterLoginButton) findViewById(R.id.twitterLogin); twitterLoginButton.performClick(); twitterLoginButton.setPressed(true); twitterLoginButton.invalidate(); //Adding callback to the butt...
I tried to perform click programmatic way, But app getting crash everytime. [CODE] Given below error. Manual button clicks working fine, cannot figure_out the problem... [CODE]
android|twitter-fabric|android-twitter
0
2016-05-09T10:48:20.417Z
2,016
5
10
0
651
1
176
57
3
2
true
false
false
false
false
false
zero
37,113,966
Android how to init child and parent data for expandable listview
<p>Greetings to everyone. I am developing an app where I want to implement a dynamic <code>ExpandableListView</code>.</p> <p>ClientFunction.java</p> <pre><code>public class ClientFunction extends AppCompatActivity { String id, name, mo, city, pin, date, profmail; SessionManager session; ArrayList&lt;HashM...
Greetings to everyone. I am developing an app where I want to implement a dynamic ExpandableListView . ClientFunction.java [CODE] I don't know how to add data in List<String> listDataHeader and HashMap<String, List<String>> listDataChild . I successfully added data in listDataHeader , but I don't know how to add data d...
android|expandablelistview
-1
2016-05-09T10:54:22.867Z
2,016
5
10
0
643
1
514
65
2
2
true
false
false
false
false
true
negative
37,114,004
green dao update column on play store update has taken place
<p>this is my Generator class</p> <pre><code>public class Generator { public static void main(String[] args) throws Exception { Schema schema = new Schema(1, "app.abc.db.dao"); createAbcDB(schema); } private static void createAbcDB(Schema schema) throws IOException, Exception { Ent...
this is my Generator class [CODE] This is the code where i get abc dao from dao session. This works fine. [CODE] I added one more column [CODE] to createAbcDB in generator to new version of app. Once users get updated they are getting sql exception saying no column found. Because i am calling on new login [CODE] But pr...
android|sqlite|greendao|greendao-generator
0
2016-05-09T10:56:16.323Z
2,016
5
10
0
207
1
577
60
4
4
true
false
false
false
false
false
zero
37,114,117
How fix bug - login with facebook
<p>I did login with facebook in the Activity</p> <pre><code>private CallbackManager callbackManager; private LoginButton loginFBButton; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(LAYOUT); callbackManager = CallbackManager.Factory.crea...
I did login with facebook in the Activity [CODE] in gradle [CODE] in AndroidManifest [CODE] in MyApp [CODE] but it does not always work on 4.4.2 - OK, in the phone (5.1) on one normal and the other hangs after login with a progress bar under which there is a notice of confirmation of access to personal data, and then t...
java|android|facebook
0
2016-05-09T11:02:41.567Z
2,016
5
11
0
165
1
460
33
3
5
true
false
false
false
false
false
zero
37,114,246
android service not starting or giving explict error
<p>I have a service which check for screen on of. I am calling this service from an activity which is mentioned below. Now when i call the service in any device below lollipop it works. It was working with lollipop also. Suddenly it stopped working on lollipop and gives me error java.lang.IllegalArgumentException: Ser...
I have a service which check for screen on of. I am calling this service from an activity which is mentioned below. Now when i call the service in any device below lollipop it works. It was working with lollipop also. Suddenly it stopped working on lollipop and gives me error java.lang.IllegalArgumentException: Service...
android|android-service
0
2016-05-09T11:07:57.887Z
2,016
5
11
0
188
0
535
52
2
2
true
true
false
false
false
false
zero
37,114,283
Run background service in android for data syncing
<p>I'm new to Xamarin platform. I'm developing an application for Android platform using Xamarin.forms. How can I sync data with my server in the background. I want to upload the data as soon as the internet connection is available and at that time whatever the user is doing.</p> <p>Here is the sample service code by ...
I'm new to Xamarin platform. I'm developing an application for Android platform using Xamarin.forms. How can I sync data with my server in the background. I want to upload the data as soon as the internet connection is available and at that time whatever the user is doing. Here is the sample service code by which I hav...
c#|android|xamarin|background-process
1
2016-05-09T11:10:26.630Z
2,016
5
11
0
1,914
0
914
50
4
2
true
true
false
false
false
false
low
37,114,322
Recycler Item not giving feedback when clicked
<p>this is my row item that I am using on a recycler view:</p> <pre><code>&lt;RelativeLayout android:id="@+id/requestCard" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="wrap_conten...
this is my row item that I am using on a recycler view: [CODE] and another implementation programmatically [CODE] and I am using the appCompact style: [CODE] These are some of suggestions on how I can fix this issue from different thread in SO and there's still no feedback when an item is clicked on my recycler view. H...
android|android-recyclerview
0
2016-05-09T11:12:26.680Z
2,016
5
11
0
43
0
378
46
2
4
true
true
false
false
false
false
zero
37,114,514
How to translate view with smooth animation in android
<p>I have written a peace of code that perform animation. for that i have written a animation file in anim folder</p> <pre><code>my animone.xml file &lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:anim/linear_interpola...
I have written a peace of code that perform animation. for that i have written a animation file in anim folder [CODE] and here i apply the animation on the view that is a LinearLayout [CODE] so when i run this code . it will suddenly change the position of view without smooth sliding after specified duration. i want to...
android|android-animation
2
2016-05-09T11:22:31.713Z
2,016
5
11
0
7,516
2
585
54
2
5
true
false
true
false
false
false
low
37,114,621
Can I add a marker to an ArrayList and a HashMap at the same time?
<p>I have this code that is working exactly as I want. I mean I have a map fragment that displays 5 marker category, I can filter them as I want by category and everything works fine. As you might observe marker 1 and marker 8 will appear in more than one category. Here is the code and I will continue my problem afterw...
I have this code that is working exactly as I want. I mean I have a map fragment that displays 5 marker category, I can filter them as I want by category and everything works fine. As you might observe marker 1 and marker 8 will appear in more than one category. Here is the code and I will continue my problem afterward...
android|google-maps|google-maps-markers|infowindow
0
2016-05-09T11:28:00.553Z
2,016
5
11
0
1,176
1
1,428
66
4
3
true
false
false
false
false
false
zero
37,114,649
How to get the current fragment in a Preference Activity?
<p>I've implemented an NFC scanner and when a tag is scanned the <code>onNewIntent</code> method gets called successfully, like so:</p> <pre><code>@Override protected void onNewIntent(Intent intent) { setIntent(intent); resolveIntent(intent); } </code></pre> <p>In <code>resolveIntent</code> I want to update t...
I've implemented an NFC scanner and when a tag is scanned the onNewIntent method gets called successfully, like so: [CODE] In resolveIntent I want to update the UI based on the scanned tag. The problem is that I can't figure out how to get a reference to the fragment. I thought that I could use the isValidFragment meth...
android|android-fragments|android-preferences
2
2016-05-09T11:28:58.550Z
2,016
5
11
0
1,707
3
778
57
3
3
true
false
false
false
false
false
low
37,114,768
How to resolve ClassNotFoundException in Android Studio
<p>I have recently migrated my project from Eclipse to Android Studio. Earlier everything was working perfectly, but recently when I started working on it again I am not able to launch the application. Its always showing me the same error. I haven't changed anything on application level, still getting the same result. ...
I have recently migrated my project from Eclipse to Android Studio. Earlier everything was working perfectly, but recently when I started working on it again I am not able to launch the application. Its always showing me the same error. I haven't changed anything on application level, still getting the same result. Her...
android|android-studio
3
2016-05-09T11:35:17.467Z
2,016
5
11
0
3,805
3
598
55
2
1
true
false
true
false
false
false
low
37,114,815
ViewPager is not showing up on bottomSheetDialog
<p>ViewPager is not showing up on BottomSheetDialog. Here is the implementation.</p> <pre><code>public void show(final BoxItem boxItem) { bottomSheet = (mContext).getLayoutInflater().inflate(R.layout.layout_change_size_and_frequency, null); bottomSheetDialog.setContentView(bottomSheet); bottomS...
ViewPager is not showing up on BottomSheetDialog. Here is the implementation. [CODE]
android|android-design-library|bottom-sheet
1
2016-05-09T11:38:09.287Z
2,016
5
11
0
546
1
84
48
3
1
true
false
false
false
false
false
low
37,114,878
Dynamic Json Parsing Using Gson Android
<p>I have a json as mentioned below.</p> <pre><code>{ "product": [ { "classification": "abc", "ABC": [ { "classification": "abc", "name": "abc new product one", "price": "10775.0000", }, { "classification": "abc", "name": "abc ...
I have a json as mentioned below. [CODE] In the above json, the key in capital letter is dynamic (Ex: ABC, DEF) . I've created pojo class as below: [CODE] I'm struggling to write the next part in Products pojo class, As the keys which are in capitals (Ex: ABC, DEF) are dynamic. I am using volley library for getting the...
java|android|json|android-volley|gson
-1
2016-05-09T11:40:43.040Z
2,016
5
11
0
480
2
385
39
5
2
true
false
false
false
false
true
negative
37,114,908
Suppressing Keyboard popup for a single Edittext
<p>Long story short, I currently have a date picker dialog that pops up on click for an edittext attribute. Everything is working fine, except when the dialog pops up so does the soft keyboard.<br> I do not want to disable the keyboard for the other attributes on the page, and I do not want to leave it as is, because n...
Long story short, I currently have a date picker dialog that pops up on click for an edittext attribute. Everything is working fine, except when the dialog pops up so does the soft keyboard. I do not want to disable the keyboard for the other attributes on the page, and I do not want to leave it as is, because not only...
android
1
2016-05-09T11:42:22.287Z
2,016
5
11
0
453
3
676
48
1
2
true
false
false
false
false
false
low
37,114,911
Re-use of xml menu template with flavors
<p>I am currently making an app with 3 flavors. I am using a <code>NavigationView</code> inside a <code>DrawerLayout</code> for my navigation. I have specified my menu from XML in the <code>NavigationView</code> like this:</p> <pre><code>... app:menu="@menu/activity_main_drawer" ... </code></pre> <p>and this goes for...
I am currently making an app with 3 flavors. I am using a NavigationView inside a DrawerLayout for my navigation. I have specified my menu from XML in the NavigationView like this: [CODE] and this goes for all 3 flavors. The activity_main_drawer looks like this: [CODE] This is used in my starting, main activity called ...
android|xml|android-productflavors
0
2016-05-09T11:42:29.943Z
2,016
5
11
0
289
1
1,150
40
3
2
true
false
false
false
false
false
zero
37,115,113
Calculating data rate per second but the result always the same
<p>Iam calculating the cellular data rate per second by using Handler, the code is being executed every second and the overall traffic been calculated then it suppose to subtract the old traffic since boot from the current traffic since boot to get the current data rate per second.</p> <p>The problem I'm facing that t...
Iam calculating the cellular data rate per second by using Handler, the code is being executed every second and the overall traffic been calculated then it suppose to subtract the old traffic since boot from the current traffic since boot to get the current data rate per second. The problem I'm facing that the current ...
android
-1
2016-05-09T11:51:54.677Z
2,016
5
11
0
59
2
552
63
1
1
true
false
false
false
false
true
negative
37,115,188
Capture with camera and Crop the Image Capture
<p>I am learning about cropping image. I follow this <a href="http://code.tutsplus.com/tutorials/capture-and-crop-an-image-with-the-device-camera--mobile-11458" rel="nofollow">tutorial</a>.</p> <p>I follow the tutorial throughly, and run my code in Android Studio, when i click the button, its force closed. Please Help...
I am learning about cropping image. I follow this tutorial . I follow the tutorial throughly, and run my code in Android Studio, when i click the button, its force closed. Please Help me, Here is the code that i follow from the website. [CODE] This is the logcat [CODE] activity.xml [CODE]
android
0
2016-05-09T11:55:12.447Z
2,016
5
11
0
558
0
289
46
1
3
true
true
false
false
false
false
zero
37,115,235
passing variable beetween fragmentActivity and his fragment
<p>I am created a FragmentAcitivity and a ShareFragment. I want to pass variable (image url) from FragmentAcitivity to ShareFragment. I try to use bundle to get extras in ShareFragment but it doesn't work. I put this in FragmentActivity</p> <pre><code> private ShareFragment mShareFragment; FragmentManager fm = ...
I am created a FragmentAcitivity and a ShareFragment. I want to pass variable (image url) from FragmentAcitivity to ShareFragment. I try to use bundle to get extras in ShareFragment but it doesn't work. I put this in FragmentActivity [CODE] Sharefragment.java: [CODE] }
java|android|android-fragments
1
2016-05-09T11:57:34.923Z
2,016
5
11
0
33
1
269
59
3
2
true
false
false
false
false
false
low
37,115,274
Copy folder from Android app to local Windows directory
<p>I'm trying to use the <code>Android Adb Command Prompt</code> to copy a folder inside the app container to a local Windows folder. The device is running Android 5.1.1 and is <strong>not rooted</strong>.</p> <p><code>adb pull</code> or <code>cp</code> aren't working. How can I copy a folder?</p> <p>The following ap...
I'm trying to use the Android Adb Command Prompt to copy a folder inside the app container to a local Windows folder. The device is running Android 5.1.1 and is not rooted . adb pull or cp aren't working. How can I copy a folder? The following approaches aren't working: Approach 1 [CODE] error: device not found Inside ...
android|shell|copy|adb
4
2016-05-09T11:59:24.123Z
2,016
5
11
0
16,834
3
1,225
55
4
6
true
false
true
true
false
false
low
37,115,338
Trouble connecting to GooglePlayServices on AVD
<p>I am currently trying to access the GooglePlayServices. The internet for all the other functions on the AVD (API 23) works fine, however I am not quite sure what the problem is on my actual app.</p> <p>Everytime I try to connect, it says that Connection has failed. I believe I have set up the GoogleAPIClient correc...
I am currently trying to access the GooglePlayServices. The internet for all the other functions on the AVD (API 23) works fine, however I am not quite sure what the problem is on my actual app. Everytime I try to connect, it says that Connection has failed. I believe I have set up the GoogleAPIClient correctly, though...
android|location|google-play-services
0
2016-05-09T12:03:11.630Z
2,016
5
12
0
65
1
604
47
3
4
true
false
false
false
false
false
zero
37,115,367
OnClick() is not working for currency converter.
<p>I want to add currency converter in side menu of my app. But i am unable to get conversion after on click(). On click "calculate" i am not getting conversion. Please see the code why i am not able to click . I have used yahoo api.</p> <p>CurrencyConverter.java</p> <pre><code>import android.app.Fragment; import and...
I want to add currency converter in side menu of my app. But i am unable to get conversion after on click(). On click "calculate" i am not getting conversion. Please see the code why i am not able to click . I have used yahoo api. CurrencyConverter.java [CODE] CurrencyConverter.xml [CODE] Error: [CODE]
android|fragment
0
2016-05-09T12:04:55.787Z
2,016
5
12
0
128
2
303
48
2
3
true
false
false
false
false
false
zero
37,115,381
Button Pressed Background is Transparent Before Clicked
<p>I have implement Ripple Animation after the button is pressed. Everything works great except before I Click the Button is Transparent makes it impossible to be visible.</p> <pre><code>&lt;ripple xmlns:android="http://schemas.android.com/apk/res/android" android:color="?android:colorControlHighlight"&gt; &lt...
I have implement Ripple Animation after the button is pressed. Everything works great except before I Click the Button is Transparent makes it impossible to be visible. [CODE] This is the Custom Button Class I have created. [CODE] Here is where I have used the myButton class [CODE] Screenshots:
android
1
2016-05-09T12:05:25.423Z
2,016
5
12
0
322
2
295
55
1
3
true
false
false
false
false
false
low
37,115,385
java.security.InvalidKeyException when implementing DH protocol
<p>In my android application I would like to implement the Diffie-Hellman protocol in order to generate a common secret between two users. </p> <p>What I do is the following: when the first user sends a friendship request to the second one, the app generates a key pair, storing the public one in a remote database and ...
In my android application I would like to implement the Diffie-Hellman protocol in order to generate a common secret between two users. What I do is the following: when the first user sends a friendship request to the second one, the app generates a key pair, storing the public one in a remote database and the private ...
java|android|cryptography|diffie-hellman|java-security
4
2016-05-09T12:05:37.063Z
2,016
5
12
0
341
0
1,181
63
5
8
true
true
false
false
false
false
low
37,115,406
Viewpager inside a fragment is blank when a listiview item in it is clicked and redirected to another fragment
<p>I am using a Viewpager inside a fragment and the viewpager is having a listview within its fragment.So when a list item is clicked it is redirected to another fragment in the same activity. So when i come back to my previous fragment(viewpager) the viewpager is blank! why is it so I am desperate for the solution. An...
I am using a Viewpager inside a fragment and the viewpager is having a listview within its fragment.So when a list item is clicked it is redirected to another fragment in the same activity. So when i come back to my previous fragment(viewpager) the viewpager is blank! why is it so I am desperate for the solution. Any s...
android|android-viewpager|fragment
0
2016-05-09T12:06:44.967Z
2,016
5
12
0
65
1
395
110
3
2
true
false
false
false
false
false
zero
37,115,560
Android + PHP + mySQL - Http post don't work
<p>I'm trying to upload form data from android java app (Using android studio). I've created php file that handle the server side of the upload, The file using POST method, by receiving from the app the form info, and upload this data to my sql database.</p> <p>So i'm trying to enter data, the Async process work end c...
I'm trying to upload form data from android java app (Using android studio). I've created php file that handle the server side of the upload, The file using POST method, by receiving from the app the form info, and upload this data to my sql database. So i'm trying to enter data, the Async process work end connect, the...
php|android|server
0
2016-05-09T12:14:04.490Z
2,016
5
12
0
97
0
956
44
3
3
true
true
false
false
false
false
zero
37,115,658
Why does my app close when swiping tabs in ViewPager? (Only on Huawei devices)
<p>This happens only on Huawei devices (except honor 5x). This is the app (Music Player): <a href="https://play.google.com/store/apps/details?id=com.ms.musicplayer" rel="nofollow">https://play.google.com/store/apps/details?id=com.ms.musicplayer</a></p> <p>Code for ViewPager and Tabs:</p> <pre><code>// Viewpager setup...
This happens only on Huawei devices (except honor 5x). This is the app (Music Player): https://play.google.com/store/apps/details?id=com.ms.musicplayer Code for ViewPager and Tabs: [CODE] XML for Tabs: [CODE] I have checked the phone with other music players with ViewPager and there's no problem.
android|android-viewpager|android-tabs|huawei-mobile-services
2
2016-05-09T12:19:27.937Z
2,016
5
12
0
168
0
297
78
4
2
true
true
false
false
false
false
low
37,115,678
Listview inside spinner in hamburger menu
<p>I've created menu using <code>DrawerLayout</code></p> <p>MainActivity.java</p> <pre><code>package com.example.vsoftwares.hamburgermenu; import android.content.Context; import android.content.res.Configuration; import android.os.Bundle; import android.support.v4.widget.DrawerLayout; import android.support.v7.app.A...
I've created menu using DrawerLayout MainActivity.java [CODE] activity_main.xml [CODE] This is what I currently have: I have tried spinner inside layout in my code, but it's not producing what I want. Please give me some help. I need it to look more like the following:
android
1
2016-05-09T12:20:12.843Z
2,016
5
12
0
333
0
269
41
1
2
true
true
false
false
false
false
low
37,115,771
Android multiple text view multi line issue
<p>Suppose there are four <code>TextViews</code> and there is a menu icon at the right most:</p> <pre><code>one two three four menu icon </code></pre> <p>In the fourth text the text will be something like this:</p> <pre><code>Krishanu Das(one) shared(two) avoy roy(three) 's post(four) </code></pre> <p>That means...
Suppose there are four TextViews and there is a menu icon at the right most: [CODE] In the fourth text the text will be something like this: [CODE] That means the text is [CODE] Sometimes it will be [CODE] Then the two other TextViews will be Gone/Invisible. My problem is that whenever the size of two TextViews [one & ...
android|xml|android-layout
1
2016-05-09T12:25:24.457Z
2,016
5
12
0
991
1
636
43
3
5
true
false
false
false
false
false
low
37,115,830
Multi-level ExpandableListView with CheckBoxes in Android
<p>I'm trying to implement a 3-level <code>ExpandableListView</code> in Android.</p> <p>It looks something like this:</p> <ul> <li>Level 1 <ul> <li>Level 2</li> <li>Level 2 <ul> <li>Level 3</li> </ul></li> <li>Level 2</li> </ul></li> <li>Level 1 <ul> <li>Level 2</li> <li>Level 2</li> </ul></li> </ul> <p>Level 2 a...
I'm trying to implement a 3-level ExpandableListView in Android. It looks something like this: Level 1 Level 2 Level 2 Level 3 Level 2 Level 1 Level 2 Level 2 Level 2 and Level 3 are supposed to have CheckBox -es. And when CheckBox in Level 2 is selected, all his children in Level 3 are selected as well. I've done 2 ad...
android|user-interface|checkbox|expandablelistview
3
2016-05-09T12:27:50.340Z
2,016
5
12
0
2,562
1
1,437
57
4
4
true
false
false
false
false
false
low
37,115,917
Conversion of PDF files to BMP and print
<p>I need a working android code to print pdf files into bmp. The code which I had is able to print but the text is so blurry and shrinked that it is very difficult to read.The device used to print is small with a paper width of 384. the printed text should be clear to read.</p> <pre><code>public class PdfToImage { ...
I need a working android code to print pdf files into bmp. The code which I had is able to print but the text is so blurry and shrinked that it is very difficult to read.The device used to print is small with a paper width of 384. the printed text should be clear to read. [CODE]
android|pdf|bmp
-1
2016-05-09T12:31:23.473Z
2,016
5
12
0
442
1
279
40
3
1
true
false
false
false
false
true
negative
37,115,922
Update sqlite not working on android
<p>I have a login and reset password activity. When I enter the new updated password and try to login again, I cannot do so with the new password. Logging in with the old password works fine. Basically, the password field is not getting updated/overwritten.</p> <p>There is no error in the logcat. Just that the passwor...
I have a login and reset password activity. When I enter the new updated password and try to login again, I cannot do so with the new password. Logging in with the old password works fine. Basically, the password field is not getting updated/overwritten. There is no error in the logcat. Just that the password is not up...
android|database|sqlite|android-studio|android-sqlite
0
2016-05-09T12:31:35.367Z
2,016
5
12
0
96
1
535
36
5
4
true
false
false
false
false
false
zero
37,116,016
Activity with two fragments showing different on screen rotation
<p>I have one activity with to fragments. I don't know how to make the layout so that they will be one under another in portrait orientation, and one next to the other in landscape orientation. Do I have to make two layouts and check the orientation in "onCreate" method and render the appropriate one? Or should I set t...
I have one activity with to fragments. I don't know how to make the layout so that they will be one under another in portrait orientation, and one next to the other in landscape orientation. Do I have to make two layouts and check the orientation in "onCreate" method and render the appropriate one? Or should I set the ...
android-layout|android-fragments
1
2016-05-09T12:36:00.960Z
2,016
5
12
0
294
1
502
64
2
1
true
false
false
false
false
false
low
37,116,048
Android global layout listener called repeatedly in android
<p>Add global layout listener gets called even if there is no listener attached, It gets in a loop in this situation, how can I edit attributes without firing global layout listener in a loop ? thank you</p> <pre><code>final View getDecorView = activity.getWindow().getDecorView(); getDecorView.getViewTreeO...
Add global layout listener gets called even if there is no listener attached, It gets in a loop in this situation, how can I edit attributes without firing global layout listener in a loop ? thank you [CODE]
android|android-layout
6
2016-05-09T12:37:25.560Z
2,016
5
12
0
9,782
2
207
59
2
1
true
false
true
false
false
false
medium
37,116,054
OSMDroid - zoom in without changing tiles, is it possible?
<p>I am developing an android mobile mapping app using OSMDroid (v 4.3). I have established a basemap using arcgisonline as my tile server.</p> <pre><code> String[] urlArray = {"http://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/"}; mapView.setTileSource(new OnlineTileSourceBase("...
I am developing an android mobile mapping app using OSMDroid (v 4.3). I have established a basemap using arcgisonline as my tile server. [CODE] Tile server works perfectly well. BUT when zooming in (level 14+), the tile set with satellite imagery has clouds that partially cover the ground, so i would like to know if it...
android|osmdroid
3
2016-05-09T12:37:40.130Z
2,016
5
12
0
816
1
752
58
2
1
true
false
false
false
false
false
low
37,116,055
Gridview changing its views if Scrolled
<p>I want to change text color of grid item when selected and one time only one item should be selected, This is done already but If gridview have many items that if I am selecting any Item and scrolling gridview then It will select random item in grid and also allowing to selecte multiple items. I tried many answers b...
I want to change text color of grid item when selected and one time only one item should be selected, This is done already but If gridview have many items that if I am selecting any Item and scrolling gridview then It will select random item in grid and also allowing to selecte multiple items. I tried many answers but ...
java|android|xml|gridview
-1
2016-05-09T12:37:44.233Z
2,016
5
12
0
86
1
752
39
4
3
true
false
false
false
false
true
negative
37,116,141
How i can apply style / color to date in CalendarView
<p>Hello I created a fragment that contains a calendar</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent"&gt; &lt;LinearLayout xmlns:android="http...
Hello I created a fragment that contains a calendar [CODE] By clicking on a specific date, I added an action that opens a new fragment containing the events of that day. Theese events should be stored in a database? How can I color the date containing an events like this image [CODE] thanks in advance
android|calendar
3
2016-05-09T12:42:32.560Z
2,016
5
12
0
1,453
3
302
53
2
2
true
false
false
false
false
false
low
37,116,364
Retrofit2 return null Unit in kotlin for 204 No Content response
<p>I'm using Retrofit 2.0.2 to post data to server using the interface below:</p> <pre><code>@POST("/path/to/post") fun postData(/*args*/): Observable&lt;Unit&gt; </code></pre> <p>And received success response from server.</p> <pre><code>05-09 21:20:21.770 23117 23224 D OkHttp : --&gt; POST https://myserver.com/api...
I'm using Retrofit 2.0.2 to post data to server using the interface below: [CODE] And received success response from server. [CODE] But i got exception below, seems retrofit pass null Unit to onNext. Is this expected behaviour? [CODE] Thank you.
android|kotlin|retrofit2
5
2016-05-09T12:53:45.903Z
2,016
5
12
0
3,508
2
245
64
3
3
true
false
true
false
false
false
low
37,116,373
Application requires a device running 'N'
<p>I'm trying to test my app against Android N using Eclipse. I am getting the error, Application requires a device running 'N' when I try to debug it. </p> <p>I have created an emulator for an android device running Android N. <a href="https://i.stack.imgur.com/9EENU.jpg" rel="nofollow noreferrer"><img src="https:/...
I'm trying to test my app against Android N using Eclipse. I am getting the error, Application requires a device running 'N' when I try to debug it. I have created an emulator for an android device running Android N. Here's my console log: [CODE] Here's a snippet from my manifest: [CODE] Any thoughts on what is wrong? ...
android|eclipse|android-emulator
0
2016-05-09T12:54:28.757Z
2,016
5
12
0
189
0
326
41
3
2
true
true
false
false
false
false
zero
37,116,391
Retrofit 2 response body contents only "<html>" string
<p>I'm trying to understand how to use retrofit library, so I created an android project and a simple php script. My index.php file location is xampp's htdocs directory. </p> <p>Here is my php script, here I just want to return a string when the script is executed</p> <pre><code>&lt;html&gt; &lt;head&gt; &lt;title...
I'm trying to understand how to use retrofit library, so I created an android project and a simple php script. My index.php file location is xampp's htdocs directory. Here is my php script, here I just want to return a string when the script is executed [CODE] On the android part I want to send a GET request [CODE] Her...
php|android
1
2016-05-09T12:55:21.230Z
2,016
5
12
0
4,384
4
571
54
2
4
true
false
true
false
false
false
low
37,116,486
FirebaseRecyclerAdapter doesn't work for me
<p><strong>I need the parent key with it's child keys to represent a list of latitude and longitude in a RecyclerView.</strong> Guess I need to do something with the <code>LatLngsModel item</code> in the <code>populateViewHolder</code> inside the <code>FirebaseRecyclerAdapter</code> but no matter what I do I don't get ...
I need the parent key with it's child keys to represent a list of latitude and longitude in a RecyclerView. Guess I need to do something with the LatLngsModel item in the populateViewHolder inside the FirebaseRecyclerAdapter but no matter what I do I don't get it right. I currently loops trough all the parent keys with...
java|android|firebase|pojo|firebase-realtime-database
1
2016-05-09T12:59:48.097Z
2,016
5
12
0
1,104
2
4,503
43
5
4
true
false
false
false
false
false
low
37,116,491
Android Exception in parsing a static json
<p>I have a configuration file that I pick up from the server at the launch of my android app. The code for fetching the file is pretty standard</p> <pre><code>@Override protected void onResume() { super.onResume(); new ConnectionTask().execute(); } private class ConnectionTask extends AsyncTask&lt;String, Str...
I have a configuration file that I pick up from the server at the launch of my android app. The code for fetching the file is pretty standard [CODE] I am getting a strange exception while parsing the file. I and my team have not encountered this error in all our unit testing but Crashlytics reports a lot of user facing...
java|android|json
-3
2016-05-09T13:00:01.907Z
2,016
5
13
0
499
3
670
42
3
4
true
false
false
false
false
true
negative
37,116,597
fail to install app on my device receiving INSTAL_FAILED_CONFLICTING_PROVIDER
<p>When I am trying to build my app using android studio, I have faced with following error :</p> <p><a href="https://i.stack.imgur.com/ecfMm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ecfMm.png" alt="enter image description here"></a></p> <p>After clicking ok, it can not unistall the app beca...
When I am trying to build my app using android studio, I have faced with following error : After clicking ok, it can not unistall the app because I already unistalled it. I get the following error : $ adb shell pm uninstall com.siritime DELETE_FAILED_INTERNAL_ERROR Error while Installing APK I was able run the app on m...
android|build|android-contentprovider
-1
2016-05-09T13:05:43.577Z
2,016
5
13
0
401
1
887
77
3
1
true
false
false
false
false
true
negative
37,116,677
get all checked item of listview on check of checkbox without using POJO class
<p>I have a listview.Listview data i am populating from database and i am using customAdapter .In my customAdapter i have two textview and one checkbox.And i am not using any POJO class I want to get all the checkeditem of that listview on check of checkbox. How i can do that.anyone please help me. </p> ...
I have a listview.Listview data i am populating from database and i am using customAdapter .In my customAdapter i have two textview and one checkbox.And i am not using any POJO class I want to get all the checkeditem of that listview on check of checkbox. How i can do that.anyone please help me. [CODE]
android|listview|checkbox
0
2016-05-09T13:10:02.317Z
2,016
5
13
0
47
0
303
78
3
1
true
true
false
false
false
false
zero
37,116,921
Android Studio - include and consume .so library
<p>I need to use some native libraries(.so) in my android project. According to some answers here in StackOverflow about this topic, I created a <code>jniLibs</code> folder in <code>app/src/main</code> and put there my files:</p> <pre><code>armeabi/my_lib.so armeabi-v7a/my_lib.so x86/my_lib.so </code></pre> <p>Then, ...
I need to use some native libraries(.so) in my android project. According to some answers here in StackOverflow about this topic, I created a jniLibs folder in app/src/main and put there my files: [CODE] Then, in my activity class I use: [CODE] But when I run the app, an UnsatisfiedLinkError exception is generated. If ...
java|android|android-studio|gradle
5
2016-05-09T13:22:46.427Z
2,016
5
13
0
16,777
3
670
48
4
3
true
false
true
true
false
false
low
37,117,021
In cardview with radiogroup in list some radio buttons are already checked
<p>I had created cardview with radio group in android here i am making student attendence taker system ,i had already made backend part and student list is coming correctly and showing in cards but problem is at time of present, or absent marking of student , i had used radiogroup with 4 radio button in each card . But...
I had created cardview with radio group in android here i am making student attendence taker system ,i had already made backend part and student list is coming correctly and showing in cards but problem is at time of present, or absent marking of student , i had used radiogroup with 4 radio button in each card . But so...
java|android|radio-button|android-cardview|android-radiogroup
0
2016-05-09T13:27:07.943Z
2,016
5
13
0
1,984
1
882
74
5
6
true
false
false
false
false
false
zero
37,117,309
Androidplot how to hide the domain values in the plot?
<p>I need to hide the domain values in a linegraph. Could someone please help me?</p> <pre><code> plot0.setDomainBoundaries(0, windowsize, BoundaryMode.FIXED); plot0.addSeries(series0, formatter); plot0.setDomainStepMode(XYStepMode.INCREMENT_BY_VAL); plot0.setDrawRangeOriginEnabled(true); plot0.setTi...
I need to hide the domain values in a linegraph. Could someone please help me? [CODE] UPDATE:- Library version compile 'com.androidplot:androidplot-core:0.9.7' I have modified the XML with as below. But the changes are not reflecting unless I modify it inside the code. [CODE]
android|androidplot
1
2016-05-09T13:40:31.850Z
2,016
5
13
0
917
2
276
54
2
2
true
false
false
false
false
false
low
37,117,349
java.lang.NoClassDefFoundError: android.support.v7.widget.TintManager
<p>I am getting nuts with this case for whole day.</p> <p><strong>This is MyPagerAdapter class</strong></p> <pre><code>/** * Created by ram on 5/9/16. */ import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentStatePagerAdapter; import com.bidhe...
I am getting nuts with this case for whole day. This is MyPagerAdapter class [CODE] This is pager_activity_layout.xml file for PagerActivity.java [CODE] This is my PagerActivity.java [CODE] In above code whenever I comment the line with the function setTabLayout(); in onCreate() method view pager works fine but doesn't...
android|android-viewpager|android-tablayout
0
2016-05-09T13:43:04.877Z
2,016
5
13
0
712
1
578
69
3
5
true
false
false
false
false
false
zero
37,117,468
NullPointerException on Fragment Listener
<p>I have a Activity with ViewPager, In ViewPager Adapter I provide Fragment for each position.</p> <p>An example Fragment is DebugFragment. I have written the source code below.</p> <pre><code>public class DebugFragment extends android.support.v4.app.Fragment { private OnFragmentInteractionListener mListener; publ...
I have a Activity with ViewPager, In ViewPager Adapter I provide Fragment for each position. An example Fragment is DebugFragment. I have written the source code below. [CODE] My Activity implementation below. [CODE] I call getUserData of my DebugFragment from onResume of Fragment, BroadcastReceiver, OnActivityResult o...
android|android-fragments|android-fragmentactivity|android-lifecycle|fragment-lifecycle
4
2016-05-09T13:48:32.570Z
2,016
5
13
0
1,875
4
799
41
5
4
true
false
false
false
false
false
low
37,117,483
Android Studio 2.1 stable doesn't show variable values on hover for local variables
<p>Ever since I updated to Android Studio to version 2.1, I am unable to debug my app properly.</p> <p>I can see the variable values for all class variables but I am unable to see values for method or local variables. When I do evaluate expression for a variable, I see this error <strong>"Cannot find local variable"</...
Ever since I updated to Android Studio to version 2.1, I am unable to debug my app properly. I can see the variable values for all class variables but I am unable to see values for method or local variables. When I do evaluate expression for a variable, I see this error "Cannot find local variable" I have exhausted all...
android|android-gradle-plugin|android-debug
3
2016-05-09T13:49:02.597Z
2,016
5
13
0
329
0
510
83
3
1
true
true
false
false
false
false
low
37,117,545
Stacking notifications from GCM is not working with setGroup
<p>I have the following notification logic inside a class that extends GcmListenerService, and gets called when one notification arrives. Then, when clicked, the app takes you to MainActivity where the notification is displayed properly.</p> <pre><code>public static void mostrarAvisoBarraEstado(Context context, String...
I have the following notification logic inside a class that extends GcmListenerService, and gets called when one notification arrives. Then, when clicked, the app takes you to MainActivity where the notification is displayed properly. [CODE] So, right now, each one is displayed separately, and if they build up, the res...
android|google-cloud-messaging|android-notifications
0
2016-05-09T13:51:16.233Z
2,016
5
13
0
451
1
1,245
60
3
2
true
false
false
false
false
false
zero
37,117,761
Will push notifications through GCM be supported in eclipse
<p>I am using eclipse IDE for development. I followed lots of tutorials and implemented push notifications in my project but I'm not getting the GCM Registration id, So my questions is: will <strong>eclipse</strong> support the push notifications or not?</p> <p>Below is the code snippet; if you need more clarity pleas...
I am using eclipse IDE for development. I followed lots of tutorials and implemented push notifications in my project but I'm not getting the GCM Registration id, So my questions is: will eclipse support the push notifications or not? Below is the code snippet; if you need more clarity please comment below. [CODE]
android|eclipse|push-notification|google-cloud-messaging
0
2016-05-09T14:00:31.333Z
2,016
5
14
0
865
2
315
59
4
1
true
false
false
false
false
false
zero
37,117,835
Android - ListFragment, empty bundle,
<p>I was trying to pass parameters to my fragment <a href="https://stackoverflow.com/questions/10450348/do-fragments-really-need-an-empty-constructor">in the way described here.</a> But I have a problem, I get empty bundle (null) every time. Fragment gets connected first in setContentView, then it gets replaced using n...
I was trying to pass parameters to my fragment in the way described here. But I have a problem, I get empty bundle (null) every time. Fragment gets connected first in setContentView, then it gets replaced using newInstance (everything works fine there, bundle is created, added and returned in fragment). In both cases i...
android|android-fragments|fragment|bundle|android-listfragment
0
2016-05-09T14:04:45.080Z
2,016
5
14
0
274
1
555
37
5
3
true
false
false
false
false
false
zero
37,117,895
How to execute unix 'top' command with options in android
<p>I am trying to execute 'top' command with following code which is working correctly:</p> <pre><code>try { Process proc = Runtime.getRuntime().exec("top"); InputStream is = proc.getInputStream(); BufferedReader reader = new BufferedReader(new InputStreamReader(is), 500); StringBui...
I am trying to execute 'top' command with following code which is working correctly: [CODE] This is returning me all processes including kernel/root processes. I want to get only system processes except woner=root. For that I tried following 'top' with following options, which didn't work: [CODE] I know I can also get ...
android|unix|command
4
2016-05-09T14:07:25.900Z
2,016
5
14
0
2,129
2
463
57
3
3
true
false
false
false
false
false
low
37,117,896
What should I use instead of custom dialog in android api less 20
<p>I wrote an application which have to call dialog to get name. I need the custom view in dialog so I used <code>.setContentView()</code>. But in android with api less 20 I have problems with displaying it. This is calling dialog:</p> <pre><code>public void setName(View v) { nameDialog = new Dialog(this); ...
I wrote an application which have to call dialog to get name. I need the custom view in dialog so I used .setContentView() . But in android with api less 20 I have problems with displaying it. This is calling dialog: [CODE] the xml file: [CODE] How it looks when api upper then 20: http://i.imgur.com/pJ1oZky.png Less th...
android|api|dialog|customdialog
0
2016-05-09T14:07:32.037Z
2,016
5
14
0
113
1
357
65
4
2
true
false
false
false
false
false
zero
37,117,899
want to load a webView from custom renderer class in Xamarin forms
<p>I have two tabs in my mainscreen ,one tab displays a map,When i click on the map pin , it opens an information window , i want to click on this window and load a webview with some url content <strong>Without hiding the tabbar present on top of screen</strong> .</p> <p>i am able to do this when i load webview in ne...
I have two tabs in my mainscreen ,one tab displays a map,When i click on the map pin , it opens an information window , i want to click on this window and load a webview with some url content Without hiding the tabbar present on top of screen . i am able to do this when i load webview in new activity , but it hides the...
android|xamarin|android-webview|xamarin.forms
3
2016-05-09T14:07:38.233Z
2,016
5
14
0
1,034
0
806
66
4
2
true
true
false
false
false
false
low
37,117,932
How to create and add cordova plugin to project
<p>I'm developing a Cordova plugin for an Android application, I read all documentation on Oracle website but I don't understand how i can create custom plugin and use it.</p> <p>1) I have created a Cordova project which I insert a custom library (jar), this library allow to me to use some customized functions.</p> <...
I'm developing a Cordova plugin for an Android application, I read all documentation on Oracle website but I don't understand how i can create custom plugin and use it. 1) I have created a Cordova project which I insert a custom library (jar), this library allow to me to use some customized functions. My cordova projec...
java|android|cordova
2
2016-05-09T14:09:01.897Z
2,016
5
14
0
954
3
791
47
3
3
true
false
false
false
false
false
low
37,117,947
Android Studio Current Location Google Map
<p>I am supposed when I open google maps in my application to have a direct focus on the current user's position. With a lot of researches, I found the correct way to do it (avoiding as well all the deprecated functions) but I still can't find the right way to check my permissions. Here are my codes :</p> <p>LocationP...
I am supposed when I open google maps in my application to have a direct focus on the current user's position. With a lot of researches, I found the correct way to do it (avoiding as well all the deprecated functions) but I still can't find the right way to check my permissions. Here are my codes : LocationProvider.cla...
java|android|google-maps|gps|location
0
2016-05-09T14:09:43.183Z
2,016
5
14
0
255
0
607
42
5
3
true
true
false
false
false
false
zero
37,118,095
Push notification with buttons appcelerator (Android and iOS)
<p>I am having a hard time with push notifications to update an app, to send the push, is ok, using the notification, first I lost a bit of time to learn that you need the physical devices to test the push.</p> <p>ok receiving the push done, but on a near update I need to create a push with buttons (ok, cancel), and h...
I am having a hard time with push notifications to update an app, to send the push, is ok, using the notification, first I lost a bit of time to learn that you need the physical devices to test the push. ok receiving the push done, but on a near update I need to create a push with buttons (ok, cancel), and hear that ev...
android|ios|push-notification|appcelerator|appcelerator-titanium
0
2016-05-09T14:16:10.900Z
2,016
5
14
0
164
1
1,158
61
5
0
false
false
false
false
false
false
zero
37,118,185
StaggeredGridLayoutManager dislocation (2)
<p>Same problem, don't know if this counts as a duplicate.</p> <p>I have a problem with Android's <code>StaggeredGridLayoutManager</code>. The description of the problem is pretty much the same with <a href="https://stackoverflow.com/questions/32432579/staggeredgridlayoutmanager-dislocation">StaggeredGridLayoutManager...
Same problem, don't know if this counts as a duplicate. I have a problem with Android's StaggeredGridLayoutManager . The description of the problem is pretty much the same with StaggeredGridLayoutManager dislocation . Here's the screenshot (sorry for the censorship, those are CardViews ): And the adapter: [CODE] The th...
android|imageview|android-recyclerview|staggeredgridlayout
0
2016-05-09T14:20:15.543Z
2,016
5
14
0
453
1
493
42
4
1
true
false
false
false
false
false
zero
37,118,228
How can I read/write files in Android/iOs devices subdirectories using Cordova File Plugin?
<p>I'm trying this code: </p> <pre><code>function onDeviceReady() { requestFileSystem(LocalFileSystem.PERSISTENT, 0, function(fileSystem) { alert(fileSystem.root.toURL()); fileSystem.root.getDirectory('myDir', { create: true }, function (myDirEntry) { alert(myDirEntry.toURL()); myDirEntry...
I'm trying this code: [CODE] As a result of executing it on a Samsung SM-G318ML, Kernel version 3.10.17-983426, I got alerts showing the following messages: [CODE] Neverthless, when I look in my device's file system I have no desired directories created... besides it a strange directory, called .mtp, was created, void,...
android|ios|file|cordova|plugins
3
2016-05-09T14:22:12.810Z
2,016
5
14
0
3,241
2
776
91
5
2
true
false
true
false
false
false
low
37,118,341
zxing intent handle in non-Activity class
<p>I would like to Start and Handle ZXing intent in non-Activity class. But I don't know how to catch Result in this class.</p> <p>This code is typed in Xamarin, but it is not important.</p> <p>ScannerZXing.cs:</p> <pre><code>Intent intenScanner; public ScannerZXing() { intentScanner = ScanIntent.GetZXingScanI...
I would like to Start and Handle ZXing intent in non-Activity class. But I don't know how to catch Result in this class. This code is typed in Xamarin, but it is not important. ScannerZXing.cs: [CODE] MainClass.cs: [CODE] If I do OnActivityResult in MainActivity, it works. But I want to move Scanning logic to separated...
android|android-intent|xamarin|zxing
0
2016-05-09T14:27:25.473Z
2,016
5
14
0
149
1
327
41
4
2
true
false
false
false
false
false
zero
37,118,438
RecyclerView GridLayoutManager: change column width
<p>I have a RecyclerView and a GridLayoutManager. The columns width are equal but I want the first column with <code>80dp</code> width. Is this possible?</p> <blockquote> <p>Example: RecyclerView width 5 columns</p> </blockquote> <pre><code>final columnsCount = 5; recyclerView.width = 500dp column0.width = 80dp ...
I have a RecyclerView and a GridLayoutManager. The columns width are equal but I want the first column with 80dp width. Is this possible? Example: RecyclerView width 5 columns [CODE] Any advice? Edit: code [CODE] view_item.xml [CODE] view_item_small.xml [CODE] Usage: [CODE]
android|android-recyclerview|gridlayoutmanager
3
2016-05-09T14:31:50.690Z
2,016
5
14
0
6,530
2
274
51
3
5
true
false
true
false
false
false
low
37,118,452
Android Studio reading and writing data via Bluetooth
<p>I am currently writing an app which connects 2 paired devices and allows them to send data to one another. I'm very new to Android development and I'm having some problems, I can't seem to get the data transmission working.</p> <p>I have been following this tutorial: <a href="http://developer.android.com/guide/topi...
I am currently writing an app which connects 2 paired devices and allows them to send data to one another. I'm very new to Android development and I'm having some problems, I can't seem to get the data transmission working. I have been following this tutorial: http://developer.android.com/guide/topics/connectivity/blue...
android
0
2016-05-09T14:32:29.060Z
2,016
5
14
0
1,710
2
526
53
1
3
true
false
false
false
false
false
zero
37,118,671
Is it possible to monitor all camera activity on Android
<p>I have a requirement to develop an application which will monitor the usage of the phone cameras and record information about when/where a photo was taken. I am aware that this information is typically recorded in the image metadata but I have a need to add additional information to this and record it separately fro...
I have a requirement to develop an application which will monitor the usage of the phone cameras and record information about when/where a photo was taken. I am aware that this information is typically recorded in the image metadata but I have a need to add additional information to this and record it separately from t...
android|camera|android-camera|monitoring
1
2016-05-09T14:41:37.017Z
2,016
5
14
0
1,900
1
1,091
56
4
0
false
false
false
false
false
false
low
37,118,737
Proguard with Roboguice
<p>I turned on proguard in by application I have a warning in application <code>onCreate</code></p> <pre><code>RoboGuice.injectMembers(_appContext, this); </code></pre> <p>The exception:</p> <pre><code>nalizableReferenceQueue﹕ Could not load Finalizer in its own class loader. Loading Finalizer in the current class l...
I turned on proguard in by application I have a warning in application onCreate [CODE] The exception: [CODE] I include in my proguard file: [CODE] What else should I do?
android|android-proguard
1
2016-05-09T14:44:29.470Z
2,016
5
14
0
166
2
169
23
2
3
true
false
false
false
false
false
low
37,118,779
Why is this custom view attribute ignored?
<p>I am trying to define an attribute for any view using the <a href="https://developer.android.com/intl/es/tools/data-binding/guide.html" rel="nofollow">Data Binding Library</a>, as explained in <a href="https://plus.google.com/+AndroidDevelopers/posts/Pq6aDpZEYA5" rel="nofollow">this Android Developers post</a>.</p> ...
I am trying to define an attribute for any view using the Data Binding Library , as explained in this Android Developers post . To do so, the post says one first needs a layout with an enclosing <layout> tag: [CODE] At this point, the layout caused a ClassNotFoundException when inflated . The only way I found to get ri...
android|android-layout|android-databinding|android-attributes
0
2016-05-09T14:46:57.290Z
2,016
5
14
0
590
3
823
42
4
3
true
false
false
false
false
false
zero
37,118,999
NavigationView: background color of pressed item alternates randomly on Jellybean
<p>My app has two activities with a <code>DrawerLayout</code> and a <code>NavigationView</code> (android.support.design.widget.NavigationView). </p> <p>I use an app theme with parent <code>Theme.AppCompat.Light.DarkActionBar</code>, and for my Lollipop emulator, there are no problems.</p> <p>But for my Jellybean devi...
My app has two activities with a DrawerLayout and a NavigationView (android.support.design.widget.NavigationView). I use an app theme with parent Theme.AppCompat.Light.DarkActionBar , and for my Lollipop emulator, there are no problems. But for my Jellybean device and emulator, I have a very strange behaviour: The back...
android|android-navigationview|android-drawer
0
2016-05-09T14:57:48.623Z
2,016
5
14
0
788
0
2,635
81
3
8
true
true
false
false
false
false
zero
37,119,001
Exception while trying to execute build in ionic application
<p>I'm having a problem running the command 'ionic build android' , and I can not solve . Previously run the ionic command 'platform android add'.</p> <pre><code>D:\ionic\hello&gt;ionic build android Running command: "C:\Program Files (x86)\nodejs\node.exe" D:\ionic\hello\hooks\a fter_prepare\010_add_platform_class.js...
I'm having a problem running the command 'ionic build android' , and I can not solve . Previously run the ionic command 'platform android add'. [CODE] I need to generate a package to perform a test on a android device. my build.gradle is : [CODE] ... How can I solve ?
android|ionic-framework
1
2016-05-09T14:57:52.140Z
2,016
5
14
0
61
1
268
60
2
2
true
false
false
false
false
false
low
37,119,102
Android Bluetooth `InputStream` doesn't receive data
<p>I have a Raspberry Pi which I am using to read some sensor data and then trying to send that data through Bluetooth RFCOMM socket to Android phone. I can send data from the Android phone to the Raspberry Pi without problems but for some reason I am not able to read the sensor data with the Android phone sent by the ...
I have a Raspberry Pi which I am using to read some sensor data and then trying to send that data through Bluetooth RFCOMM socket to Android phone. I can send data from the Android phone to the Raspberry Pi without problems but for some reason I am not able to read the sensor data with the Android phone sent by the Ras...
android|c|bluetooth|raspberry-pi
1
2016-05-09T15:02:21.870Z
2,016
5
15
0
394
0
1,076
52
4
2
true
true
false
false
false
false
low
37,119,119
React Native DrawerLayoutAndroid ref not working
<p>This is what i have so far</p> <pre><code> &lt;DrawerLayoutAndroid ref={'drawer'} drawerWidth={300} drawerPosition={DrawerLayoutAndroid.positions.Left} renderNavigationView={() =&gt; { return navigationView; }}&gt; &lt;Navigator ref={'navigator'} initialRoute={initia...
This is what i have so far [CODE] Now in the renderScene method of Navigator the first line logs this and this.refs console.log(this, this.refs) When i inspect this in the chrome it has the proper refs set on it but the second this.refs is and empty object. Why is that ?
android|reactjs|react-native|drawerlayout
1
2016-05-09T15:02:57.173Z
2,016
5
15
0
1,098
1
271
48
4
1
true
false
false
false
false
false
low
37,119,180
Null object reference even though i declared the checkbox
<p>UPD: I'm sorry, apparently i added 2 id's to my checkbox cause i forgot to delete the default one</p> <p>I am using a check box and I get this error when running apk:</p> <pre><code>Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.CheckBox.setOnClickListener(android....
UPD: I'm sorry, apparently i added 2 id's to my checkbox cause i forgot to delete the default one I am using a check box and I get this error when running apk: [CODE] on the line I want to use checkbox.setOnClickListener this is the code [CODE]
java|android
-1
2016-05-09T15:06:06.690Z
2,016
5
15
0
63
1
244
57
2
2
true
false
false
false
false
true
negative
37,119,203
Android Dynamic tabs(fragments) with dynamic listviews
<p>i am developing a android app where i have a fragment which will have dynamic tabs(tabs will be depend on server data) and in this dynamic tabs a same listview is reused for every fragment </p> <p>1) now the problem is how can i fetch data from edittext present in listview between - and + reused in every fragment ...
i am developing a android app where i have a fragment which will have dynamic tabs(tabs will be depend on server data) and in this dynamic tabs a same listview is reused for every fragment 1) now the problem is how can i fetch data from edittext present in listview between - and + reused in every fragment 2) how can i ...
android|sqlite|listview|android-fragments|tabs
0
2016-05-09T15:07:12.433Z
2,016
5
15
0
216
1
567
54
5
1
true
false
false
false
false
false
zero
37,119,291
OnItemClick redirects to blank screen?
<p>listview.xml</p> <pre><code>&lt;!--?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?--&gt; &lt;LinearLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot; android:orientation=&quot;vertical&quot; android:layout_width=&quot;fill_parent&quot; android:layout_height=&quot;wrap_co...
listview.xml [CODE] ListView Code [CODE] specific.class xml (Generic as I am trying to debug the issue) [CODE] Specific.java code [CODE] The issue I am running into is that when I click the specific listview item to go to the specific animal, all it shows is a blank page. I'm not really sure why though, but I have a st...
java|android|listview
-2
2016-05-09T15:10:57.920Z
2,016
5
15
0
67
1
946
38
3
4
true
false
false
false
false
true
negative
37,119,429
Android Retrofit 2, differences between addInterceptor & addNetworkInterceptor for editing responses
<p>I've been trying to implement an interceptor <strong>( OkHttp 3.2 &amp; Retrofit 2 )</strong> for editing the JSON response before is returned as response. The server we request data returns different data dependes on success or error and that makes difficult to map the objects. </p> <p>I was trying to do it by add...
I've been trying to implement an interceptor ( OkHttp 3.2 & Retrofit 2 ) for editing the JSON response before is returned as response. The server we request data returns different data dependes on success or error and that makes difficult to map the objects. I was trying to do it by adding the interceptor to Retrofit a...
android|interceptor|retrofit2|okhttp
47
2016-05-09T15:17:26.787Z
2,016
5
15
0
18,077
2
710
100
4
1
true
false
true
true
true
false
high
37,119,433
Phonegap Android dynamic anchor tel: or mailto: not interpreted
<p>I'm using PhoneGap 5.5.0, and trying to dynamically add anchor links based on AJAX JSON response data, using for example this code snippet:</p> <p>HTML:</p> <pre><code>&lt;div class="profileData col-xs-12 col-sm-6" id="phoneNumber"&gt; &lt;figure&gt;&lt;img id="phoneNumberImage" alt="Phone number" src="img/pro...
I'm using PhoneGap 5.5.0, and trying to dynamically add anchor links based on AJAX JSON response data, using for example this code snippet: HTML: [CODE] jQuery: [CODE] This works fine in iOS, and also works in Android with a hardcoded link using no jQuery like this: [CODE] It's like the links are not interpreted anymor...
java|android|jquery|cordova
1
2016-05-09T15:17:31.720Z
2,016
5
15
0
189
0
600
63
4
5
true
true
false
false
false
false
low
37,119,526
requestLocationUpdates() takes too much time OR it does not works at all
<p>I have used <code>requestLocationUpdates</code> method inside <code>Service</code> in my Android application for getting updates whenever location of my device changes. I have set <code>minTime = 0</code> But this <code>requestLocationUpdates</code> method is giving update after very long delays (that is 10 to 15 mi...
I have used requestLocationUpdates method inside Service in my Android application for getting updates whenever location of my device changes. I have set minTime = 0 But this requestLocationUpdates method is giving update after very long delays (that is 10 to 15 minutes, or even more). And sometimes when I run my appli...
android|android-gps
1
2016-05-09T15:21:44.273Z
2,016
5
15
0
2,764
1
688
72
2
2
true
false
true
false
false
false
low
37,119,552
intermediates folder generated by Android Studio
<p>I have a fairly large viewpager app that I want to restyle to Material Design. I used Android Studio to create a brand new app that doesn't do anything other than demonstrate a working viewpager, tabs, and Material Design. The new app has a look that is exactly what I want. </p> <p>Examining the new app I see t...
I have a fairly large viewpager app that I want to restyle to Material Design. I used Android Studio to create a brand new app that doesn't do anything other than demonstrate a working viewpager, tabs, and Material Design. The new app has a look that is exactly what I want. Examining the new app I see that AS generated...
android|android-studio|material-design
-7
2016-05-09T15:23:06.280Z
2,016
5
15
0
3,095
1
1,099
48
3
2
true
false
true
false
false
true
negative
37,119,613
Android - Size in chars of an http response
<p>I am not an pro developing android. I wanted to download a JSON object from my server, but only code I could find was this:</p> <pre><code> private String downloadUrl(String myurl) throws IOException { InputStream is = null; // Only display the first 500 characters of the retrieved // web...
I am not an pro developing android. I wanted to download a JSON object from my server, but only code I could find was this: [CODE] And it works fine, I cant understand. But it has a int len = 500 , and my returned json is cropped to 500 chars. I tried changing to a great number, but it puts spaces at the end. How can I...
java|android|json
0
2016-05-09T15:27:02.580Z
2,016
5
15
0
40
2
393
43
3
1
true
false
false
false
false
false
zero
37,119,659
Android withText option does not work for action bar buttons on Huawei MediaPad (T1-A21L)
<p>The buttons on the action bar on this tablet, if shown with text, suffer from text warping as in the screenshot below:</p> <p><a href="https://i.stack.imgur.com/icXLx.png" rel="noreferrer"><img src="https://i.stack.imgur.com/icXLx.png" alt="enter image description here"></a></p> <p>I tried many possible settings c...
The buttons on the action bar on this tablet, if shown with text, suffer from text warping as in the screenshot below: I tried many possible settings combinations (ifRoom, always, withText,...). Even attempting to manipulate the actual view of the button get me nowhere (or maybe I didn't persevere enough). Setting the ...
android|huawei-mobile-services
13
2016-05-09T15:29:44.370Z
2,016
5
15
0
441
3
751
89
2
2
true
false
false
false
true
false
medium
37,119,660
How to receive email from system, using Intent Filter?
<p>I searched for the query online and figured the <code>intent-filter</code> in the AndroidManifest.xml file. However, I am still unable to find how to receive the clicked email id in my application.</p> <p>My problem</p> <ul> <li>Suppose I receive a message on my WhatsApp chat box containing an email id (xyz@test.c...
I searched for the query online and figured the intent-filter in the AndroidManifest.xml file. However, I am still unable to find how to receive the clicked email id in my application. My problem Suppose I receive a message on my WhatsApp chat box containing an email id (xyz@test.com). On clicking the email id (xyz@tes...
android|android-intent|whatsapp
0
2016-05-09T15:29:44.867Z
2,016
5
15
0
626
2
700
54
3
1
true
false
false
false
false
false
zero
37,119,833
Getting failed network response when Authenticating with Google Signin API using Retrofit 2
<p>Recently I have been trying to work with the <code>Google Signin API</code> and <code>Retrofit 2.0</code></p> <p>I am using <code>OAuth 2.0</code> as you probably expected and using <code>Bearer</code> Authentication within the headers. I intercept the traffic and do the following...</p> <pre><code>httpClient.addI...
Recently I have been trying to work with the Google Signin API and Retrofit 2.0 I am using OAuth 2.0 as you probably expected and using Bearer Authentication within the headers. I intercept the traffic and do the following... [CODE] The token that this above code uses is retrieved from the following... Class - GoogleSi...
java|android|google-signin|retrofit2|bearer-token
2
2016-05-09T15:37:41.503Z
2,016
5
15
0
292
0
841
91
5
3
true
true
false
false
false
false
low
37,119,862
Android FragmentStatePagerAdapter Preload Fragment
<p>3 fragments will displayed on ViewPager with FragmentStatePagerAdapter.</p> <p>I named those fragments and 3 fragments have customed layout</p> <blockquote> <p>1.StepOneFragmet</p> <p>2.StepTwoFragmet </p> <p>3.StepThreeFragmet</p> </blockquote> <p>I need to fetch the data from Server and binding thos...
3 fragments will displayed on ViewPager with FragmentStatePagerAdapter. I named those fragments and 3 fragments have customed layout 1.StepOneFragmet 2.StepTwoFragmet 3.StepThreeFragmet I need to fetch the data from Server and binding those data into different fragment separately. How can i create and initialized 3 fra...
android|android-viewpager
0
2016-05-09T15:38:55.233Z
2,016
5
15
0
605
2
620
50
2
2
true
false
false
false
false
false
zero