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,069,264
Toolbar is not collapsing
<p>I have used a CollapsingToolbarLayout with a Cordinatorlayout and i have a swift tab , when i scroll on the tab view inside the viewpager the Toolbar should collapse, but the toolbar is not collapsing , i am using an Imageview at the collapsing toolbar </p> <p>here is my code:</p> <pre><code>&lt;android.support.de...
I have used a CollapsingToolbarLayout with a Cordinatorlayout and i have a swift tab , when i scroll on the tab view inside the viewpager the Toolbar should collapse, but the toolbar is not collapsing , i am using an Imageview at the collapsing toolbar here is my code: [CODE] PlanetDetails.JAVA [CODE]
android
0
2016-05-06T09:48:23.130Z
2,016
5
9
4
170
2
302
25
1
2
true
false
false
false
false
false
zero
37,069,423
Huge distance between listview items
<p>I have a listview with weight sum 4. After including images, I having big padding, but I clear all margins and paddings. All data receiving via adapter from MainActivity. There are screen shot and code below. Thanks for watching and help.</p> <p><a href="https://i.stack.imgur.com/q0GmJ.jpg" rel="nofollow noreferrer...
I have a listview with weight sum 4. After including images, I having big padding, but I clear all margins and paddings. All data receiving via adapter from MainActivity. There are screen shot and code below. Thanks for watching and help. [CODE]
android|android-recyclerview|space|items
0
2016-05-06T09:56:00.863Z
2,016
5
9
4
91
2
245
36
4
1
true
false
false
false
false
false
zero
37,069,446
Windows macros in clang 3.5, ndk r10e, CMake
<p>I am building a CMake-based project for Android, using NDK r10e, x86_64, toolchain name is <code>arm-linux-androideabi-clang3.5</code></p> <p>Currently I'm getting very strange errors, suggesting that some Windows preprocessor macros come out, like <code>_WIN32</code>, <code>_WIN64</code>, <code>__MINGW32__</code>....
I am building a CMake-based project for Android, using NDK r10e, x86_64, toolchain name is arm-linux-androideabi-clang3.5 Currently I'm getting very strange errors, suggesting that some Windows preprocessor macros come out, like _WIN32 , _WIN64 , __MINGW32__ . My project uses parts of stlplus3, version 3-03-11, particu...
c++|android-ndk|macros|cmake|clang++
0
2016-05-06T09:57:12.770Z
2,016
5
9
4
407
1
1,326
44
5
6
true
false
false
false
false
false
zero
37,069,483
How to unregisterReceiver which declare in the Manifest
<p>My app need to receiver broadcast and do something just once. The occasion might be the time my app has not started yet so I declare the receiver in the Manifest:</p> <pre><code>&lt;receiver android:name=".OneShotBroadcast" android:permission="com.ytinrete.broadcast.accesspermisson"&gt; &lt;intent-filte...
My app need to receiver broadcast and do something just once. The occasion might be the time my app has not started yet so I declare the receiver in the Manifest: [CODE] And here's onReceive: [CODE] Here comes the problem: I can't find any ways to unregister this receiver when I first get the broadcast. I've try this: ...
android|broadcastreceiver
0
2016-05-06T09:59:07.670Z
2,016
5
9
4
221
2
768
55
2
4
true
false
false
false
false
false
zero
37,069,515
Write an outputstream after reading bluetooth socket android
<p>I want to write after reading from a device (via Bluetooth socket ) The problem is that the while(true) finish when the socket is closed so I can't Write again.</p> <p>This is the code:</p> <pre><code> try { // This will block until it succeeds in connecting to the device // through ...
I want to write after reading from a device (via Bluetooth socket ) The problem is that the while(true) finish when the socket is closed so I can't Write again. This is the code: [CODE] Logcat Can you help me
java|android|sockets|bluetooth
0
2016-05-06T10:00:21.467Z
2,016
5
10
4
1,627
1
208
60
4
1
true
false
false
false
false
false
zero
37,069,572
How to overlay TextView on Button?
<p>My XML code is:</p> <pre><code>&lt;RelativeLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="right"&gt; &lt;Button android:id="@+id/btnMyDeals" android:layout_width="wrap_content" android:layout_height="32dp" android:layout_gravity="right" an...
My XML code is: [CODE] I want TextView bubble which is a notification badge to float over the Button . TextView may float over top right or top left corner of Button . How to do it?
android|android-layout|android-relativelayout
1
2016-05-06T10:03:02.650Z
2,016
5
10
4
6,736
6
181
34
3
1
true
false
true
false
false
false
low
37,069,604
Android rhombus drawable
<p>I have a question - how to draw scalable rhombus drawable in android xml's? I want to draw something like this: <a href="https://i.stack.imgur.com/XO4dT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XO4dT.png" alt="rhombus"></a></p> <p>I tried to draw rectangle and rotate it 45 degrees:</p> <p...
I have a question - how to draw scalable rhombus drawable in android xml's? I want to draw something like this: I tried to draw rectangle and rotate it 45 degrees: [CODE] But result is awful, one corner is higher than other: I think it is because cell is not square. So, how to draw rhombus which could be scaled without...
android|drawable
2
2016-05-06T10:04:23.330Z
2,016
5
10
4
2,334
1
330
24
2
1
true
false
false
false
false
false
low
37,069,743
Service redeliver intent strange behavior?
<p>I'm using a Service with <code>START_REDELIVER_INTENT</code> and with that Service I want to upload to a server a video and some metadata that comes along with the video.</p> <p>As far as I can tell I need to use <code>START_REDELIVER_INTENT</code> and not <code>START_STICKY</code> since the first will try and get ...
I'm using a Service with START_REDELIVER_INTENT and with that Service I want to upload to a server a video and some metadata that comes along with the video. As far as I can tell I need to use START_REDELIVER_INTENT and not START_STICKY since the first will try and get the data from the intent again and I need those da...
android|android-service
0
2016-05-06T10:11:30.083Z
2,016
5
10
4
1,040
1
734
42
2
1
true
false
false
false
false
false
zero
37,069,820
Android POI : crash when using autoSizeColumn()
<p><code>autoSizeColumn</code> method of POI throws an exception that I didn't manage to resolve :</p> <pre><code> "java.lang.ClassNotFoundException: Didn't find class "java.awt.font.FontRenderContext" on path:..." </code></pre> <p>with this error </p> <pre><code>"java.lang.NoClassDefFoundError: Failed resolution o...
autoSizeColumn method of POI throws an exception that I didn't manage to resolve : [CODE] with this error [CODE] Here my code, the method is called after placing data in the column : [CODE] Someone have any clue to help me from this ? Thanks in advance.
java|android|apache-poi
11
2016-05-06T10:15:10.707Z
2,016
5
10
4
3,807
1
253
47
3
3
true
false
true
false
true
false
medium
37,070,028
how do i stop my application from crashing
<p>i created a simple application RealHeartRate, i linked the main activity to a new activity using a clickable text("check your heart rate") but each time i run the application the main activity(MainActivity.java) runs successfully but when i click the text("check your heart rate") which is supposed to link me to the ...
i created a simple application RealHeartRate, i linked the main activity to a new activity using a clickable text("check your heart rate") but each time i run the application the main activity(MainActivity.java) runs successfully but when i click the text("check your heart rate") which is supposed to link me to the nex...
android|xml
-1
2016-05-06T10:25:34.960Z
2,016
5
10
4
81
4
812
42
2
4
true
false
false
false
false
true
negative
37,070,046
How to change text color of one tab in Tab Layout View Pager android
<p>I have only two tabs in tabLayout say Objectives and Students. Now, I want the color of students text to be grey till i check the objectives checkbox. After i have checked the checkbox, the colour of students text should change from grey to white. Below is the image of tabs :- <a href="https://i.stack.imgur.com/KqM4...
I have only two tabs in tabLayout say Objectives and Students. Now, I want the color of students text to be grey till i check the objectives checkbox. After i have checked the checkbox, the colour of students text should change from grey to white. Below is the image of tabs :- this is image 2 Following is the code for ...
android|android-viewpager|android-tablayout
2
2016-05-06T10:26:16.097Z
2,016
5
10
4
2,980
2
339
68
3
1
true
false
true
false
false
false
low
37,070,065
Keyboard obscures input text area
<p>I have a form that is displayed inside <a href="http://ionicframework.com/docs/api/service/$ionicPopup/" rel="nofollow">http://ionicframework.com/docs/api/service/$ionicPopup/</a>. The issue is that when cursor is placed inside the final input (text area), the keyboard shows but the input doesn't scroll back into vi...
I have a form that is displayed inside http://ionicframework.com/docs/api/service/$ionicPopup/ . The issue is that when cursor is placed inside the final input (text area), the keyboard shows but the input doesn't scroll back into view and is obscured by the keyboard. The user has to scroll down. I am using an android ...
android|angularjs|ionic-framework|ionic-popup
5
2016-05-06T10:27:13.793Z
2,016
5
10
4
649
3
816
33
4
1
true
false
false
false
false
false
low
37,070,137
Can't make FragmentPagerAdapter to update Fragments contents
<p>I am trying to update the data passed to my adapter and hence update Fragments whose contents depends on these data, </p> <p>here is the adpater:</p> <pre><code>import android.app.Fragment; import android.app.FragmentManager; import android.os.Bundle; import android.support.v13.app.FragmentPagerAdapter; public cla...
I am trying to update the data passed to my adapter and hence update Fragments whose contents depends on these data, here is the adpater: [CODE] I have tried to use this answer , but It did not work , or I couldn't understand it ! and here how I use the adapter and how I try to update it. at onCreateView of a Main Frag...
android|android-viewpager|fragmentpageradapter
1
2016-05-06T10:31:12.590Z
2,016
5
10
4
2,245
3
511
60
3
3
true
false
false
false
false
false
low
37,070,158
How to store parseObject.getString() into a member variable
<p>I am having a weird issue with ParseObject.</p> <p>I have a class that manages data with 1 member variables.</p> <pre><code>String partnerEmail = "default@email.com"; </code></pre> <p>I try to retrieve an email address from parseObject with:</p> <pre><code>object.getString("partnerEmail"); </code></pre> <p>and ...
I am having a weird issue with ParseObject. I have a class that manages data with 1 member variables. [CODE] I try to retrieve an email address from parseObject with: [CODE] and I want to save it into my member variable (partnerEmail) but it never saves it. Here is full code of the method to read the partner email: [CO...
java|android|android-studio|parse-platform
0
2016-05-06T10:32:05.747Z
2,016
5
10
4
104
3
570
59
4
3
true
false
false
false
false
false
zero
37,070,178
Get the monday's date incorrect after set the first day of week to monday when use calendar in android
<p>I try to get the date of monday used the codes below (today is 2016/5/6)</p> <pre><code>Calendar calendar1 = Calendar.getInstance(); calendar1.setFirstDayOfWeek(Calendar.MONDAY); calendar1.set(Calendar.DAY_OF_WEEK, Calendar.MONDAY); calendar1.getTime(); </code></pre> <p>But the result was <code>2016/4/25</code>, a...
I try to get the date of monday used the codes below (today is 2016/5/6) [CODE] But the result was 2016/4/25 , and the result should be the 2016/5/2 , and it seems that just wrong in May And it work correct below [CODE] But while I try below [CODE] It still not work correct And I want to know the reason
android|calendar
3
2016-05-06T10:33:00.007Z
2,016
5
10
4
209
2
304
102
2
3
true
false
false
false
false
false
low
37,070,418
How to show dialog on start of subscribe?
<p>I want to show ProgressBar while performing of Observable:</p> <pre><code>Observable&lt;T&gt; observable; Observer&lt;T&gt; observer; ................... observable.doOnSubscribe(()-&gt;{showProgressBar();} .finallyDo(()-&gt; {hideProgressBar();}) .subscribeOn(Schedulers.newThread()) ....
I want to show ProgressBar while performing of Observable: [CODE] ; but I receive this error: [CODE] on line mProgressBar.setVisibility(View.VISIBLE); how to run showProgressBar() from doOnSubscribe() ?
java|android|rx-java|rx-android
0
2016-05-06T10:46:02.490Z
2,016
5
10
4
723
1
202
41
4
2
true
false
false
false
false
false
zero
37,070,429
Convert uploading file to retrofit request
<p>I need to upload image file to server. Current code</p> <pre><code> File body = ... Properties headers = getDefaultHeaders(); HttpClient httpClient = new DefaultHttpClient(); HttpPost httpPost = new HttpPost(convertToURL(command).toString()); if (headers != null) { for (Map.Entry&lt;Objec...
I need to upload image file to server. Current code [CODE] I want to do same, using retrofit, but have some problems with it. My interface: [CODE] Code: [CODE] Service creating code: [CODE] And get Bad request result. Where have I done an error? Other requests with not media type (JSON) works fine.
android|retrofit
1
2016-05-06T10:46:37.887Z
2,016
5
10
4
297
0
299
42
2
4
true
true
false
false
false
false
low
37,070,491
How to get checked RadioButtons according to IDs of dynamically generated RadioGroups
<p>I have dynamically generated multiple RadioGroups for questions which are fetched from the database and i have also assigned IDs to the RadioGroups serially.</p> <p>Now, I want to get all checked RadioButtons from all the RadioGrouips so I may store them in the database. </p> <p>How can I get all these RadioGroups...
I have dynamically generated multiple RadioGroups for questions which are fetched from the database and i have also assigned IDs to the RadioGroups serially. Now, I want to get all checked RadioButtons from all the RadioGrouips so I may store them in the database. How can I get all these RadioGroups and their checked R...
android|radio-button|radio-group|android-radiogroup
0
2016-05-06T10:49:27.513Z
2,016
5
10
4
55
1
420
85
4
1
true
false
false
false
false
false
zero
37,070,527
Java.lang.NoSuchMethodError: org.json.JSONObject.put
<p>I'm developing an Android library, i add my lib in my Test project, now i have a error that can't allow to finish my test:</p> <pre><code>Could not find method org.json.JSONObject.put, referenced from method com.ldm.JsonBuilder.jsonbuilder Process: , PID: 31181 java.lang.NoSuchMethodError: org.json.JSONObject.put ...
I'm developing an Android library, i add my lib in my Test project, now i have a error that can't allow to finish my test: [CODE] This is my gradle: [CODE] And this is a part of my code: [CODE] How i can resolve it ?
java|android|json
1
2016-05-06T10:51:06.937Z
2,016
5
10
4
6,737
2
216
52
3
3
true
false
true
false
false
false
low
37,070,548
how sum variables of different classes?
<p>i have two listview and i want sum only int value of checkbox selected of both listviews when i click on botton.I would know how i can do it I hope that you can help me.</p> <p>Thanks</p> <p>This is my code:</p> <pre><code>public class MyListFragment extends Fragment implements android.widget.CompoundButton.O...
i have two listview and i want sum only int value of checkbox selected of both listviews when i click on botton.I would know how i can do it I hope that you can help me. Thanks This is my code: [CODE] SECOND FRAGMENT: [CODE]
android|listview|android-fragments|android-studio
1
2016-05-06T10:52:01.113Z
2,016
5
10
4
33
0
224
39
4
2
true
true
false
false
false
false
low
37,070,584
list youtube playlist from my playlist with ID PLSt1J_r1AmrzOUCGZ6sWNxvOePK4nOwIk into my android application
<p>List youtube playlist from my playlist with ID PLSt1J_r1AmrzOUCGZ6sWNxvOePK4nOwIk into my android application but it is showing one video at a time but on want it to show the whole list of videos before I play any video.</p> <p>My main activity code</p> <pre><code>public class MainActivity extends YouTubeBaseActiv...
List youtube playlist from my playlist with ID PLSt1J_r1AmrzOUCGZ6sWNxvOePK4nOwIk into my android application but it is showing one video at a time but on want it to show the whole list of videos before I play any video. My main activity code [CODE]
android|youtube|playlist
2
2016-05-06T10:53:55.250Z
2,016
5
10
4
120
1
249
109
3
1
true
false
false
false
false
false
low
37,070,633
Passing data from Activity to Fragment (by accessing activity from fragment) giving Class Cast Exception
<p>There are so many ways but i am using this one:</p> <p>Activity:</p> <pre><code>public class Main2Activity extends AppCompatActivity{ private String myString = "hello"; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_my);...
There are so many ways but i am using this one: Activity: [CODE] Fragment: [CODE] BUT its giving me class cast exception: [CODE] java.lang.ClassCastException: com.example.dev03.xyz.Fragments.MainActivity cannot be cast to com.example.dev03.xyz.Fragments.Main2Activity -- Package is same Thanks
java|android|android-fragments
1
2016-05-06T10:56:04.100Z
2,016
5
10
4
90
4
293
104
3
3
true
false
false
false
false
false
low
37,070,690
How to make walkthrough (introduction) screens of the app?
<p>I want to add introduction screens to my app. it should slide from one page to another. I want to add 3 screens. like the screen as follows:</p> <p>There are 3 dots at the bottom. I want to implement those. Also as it slides to next page it's color changes as well as position changes to the middle dot.</p> <p>I fo...
I want to add introduction screens to my app. it should slide from one page to another. I want to add 3 screens. like the screen as follows: There are 3 dots at the bottom. I want to implement those. Also as it slides to next page it's color changes as well as position changes to the middle dot. I found one library whi...
java|android|android-layout|screen|walkthrough
0
2016-05-06T10:59:12.240Z
2,016
5
10
4
1,300
2
932
58
5
1
true
false
false
false
false
false
zero
37,070,716
Retrofit - POST request's field is sent as POJO's package name
<p>I have a POJO which I want to send to my backend server using Retrofit 2.0.2. It's a simple <code>LoginRequest</code> with <code>loginId</code> and <code>password</code>. Here's the POJO class:</p> <pre><code>public class LoginRequest { private String loginId; private String password; public void setL...
I have a POJO which I want to send to my backend server using Retrofit 2.0.2. It's a simple LoginRequest with loginId and password . Here's the POJO class: [CODE] The server is expected to get this data as a raw JSON, it would look like this: [CODE] The initialization of Retrofit is the following: [CODE] As you can see...
java|android|json|retrofit|pojo
0
2016-05-06T11:00:15.637Z
2,016
5
11
4
1,455
1
1,021
62
5
6
true
false
false
false
false
false
zero
37,070,750
Remove runnable from handler
<p>I have created a thread to be called after some time to update time using <code>Handler</code> i want stop it when time finish by removing it from handler using <code>handler.removeCallbacks(runnable)</code> . So i use a boolean flag inside thread to stop it.</p> <p><strong>Issue:</strong> Time finish values of ti...
I have created a thread to be called after some time to update time using Handler i want stop it when time finish by removing it from handler using handler.removeCallbacks(runnable) . So i use a boolean flag inside thread to stop it. Issue: Time finish values of time starts going negative but thread is not getting stop...
java|android|multithreading|android-studio|timer
-1
2016-05-06T11:02:02.943Z
2,016
5
11
4
948
1
432
28
5
1
true
false
false
false
false
true
negative
37,070,756
In View Pager show the same images to fetch the JSON URL in android
<p>I am doing View Pager for sliding images, but View Pages are displaying same images repeatedly and to get index value correctly from JSON URL Images. It can fetch only last index of images displaying repeatedly.I don't know what I did mistake only last index of images only displaying in my view pager.</p> <p>Code:<...
I am doing View Pager for sliding images, but View Pages are displaying same images repeatedly and to get index value correctly from JSON URL Images. It can fetch only last index of images displaying repeatedly.I don't know what I did mistake only last index of images only displaying in my view pager. Code: [CODE] Adap...
android|android-fragments|android-studio|android-viewpager|android-imageview
0
2016-05-06T11:02:12.163Z
2,016
5
11
4
1,275
2
378
67
5
3
true
false
false
false
false
false
zero
37,070,784
In android how to get transition on click like dropdown
<p><a href="https://i.stack.imgur.com/ilIbQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ilIbQ.png" alt="Can any body explain this image please. what is the name of this action. When we click it transit below and show the details and on another click it becomes same as it was previous. Can anyone ...
Can any expert tell me how to achieve this which is available is given image description.Can any body explain this image please. what is the name of this action. When we click it transit below and show the details and on another click it becomes same as it was previous. Can anyone tell me the name also. If possible can...
android|transition
0
2016-05-06T11:03:31.743Z
2,016
5
11
4
378
2
495
55
2
0
false
false
false
false
false
false
zero
37,070,824
Is empty implementation of abstract methods a good approach?
<p>I'm working with two different Analytics services (Google Analytics and Mixpanel) for my Android app.</p> <p>I created an abstract base class like so:</p> <pre><code>public abstract class AnalyticsService { public abstract void trackAppOpen(); public abstract void identifyUserOnLogin(); } </code></pre> ...
I'm working with two different Analytics services (Google Analytics and Mixpanel) for my Android app. I created an abstract base class like so: [CODE] Then I created concrete subclasses which extended from the AnalyticsService base class. [CODE] Now Google Analytics doesn't actually support user identification so I had...
java|android|design-patterns
4
2016-05-06T11:05:54.540Z
2,016
5
11
4
916
1
896
60
3
3
true
false
false
false
false
false
low
37,070,882
IllegalArgumentException: Unable to create converter for java.util.List<ModelClass> when using SimpleXmlConverter with retrofit 2.0
<p><strong>Usage</strong></p> <pre><code>private Retrofit mRetrofit = new Retrofit.Builder() .baseUrl("http://www.w3schools.com") .addConverterFactory(SimpleXmlConverterFactory.create()) .build(); </code></pre> <p><strong>Service class</strong></p> <pre><code>public in...
Usage [CODE] Service class [CODE] Model class [CODE] Gradle config [CODE] Side note: I was able to make it work with GsonConverterfactory, when used a different url.
android|retrofit
2
2016-05-06T11:09:48.450Z
2,016
5
11
4
2,238
1
165
131
2
4
true
false
false
false
false
false
low
37,070,918
listView checkbox scrolling bug
<p>I have a problem with a listView consisting of check-boxes. When I scroll some items get selected automatically. This is my code for the getView method in my custom adapter:</p> <pre><code> @Override public View getView(int position, View convertView, ViewGroup parent) { ViewHolder holder; if (convertVi...
I have a problem with a listView consisting of check-boxes. When I scroll some items get selected automatically. This is my code for the getView method in my custom adapter: [CODE] Also, criticism of the code would be welcomed as I'm new to android development. Thank you.
android|listview|android-checkbox
1
2016-05-06T11:11:22.510Z
2,016
5
11
4
710
2
272
31
3
1
true
false
false
false
false
false
low
37,070,951
Android: The method makeText(Context, CharSequence, int) in the type Toast is not applicable for the arguments (ListViewAdapter, String, int)
<p>I am using the toast inside filter class. Here is the code for it</p> <pre><code> public void filter(String charText) { charText = charText.toLowerCase(Locale.getDefault()); expressionlist.clear(); if (charText.length() == 0) { expressionlist.addAll(arraylist); } else ...
I am using the toast inside filter class. Here is the code for it [CODE] I am getting error The method makeText(Context, CharSequence, int) in the type Toast is not applicable for the arguments (ListViewAdapter, String, int) How can I solve this?
java|android|listview
-1
2016-05-06T11:12:54.680Z
2,016
5
11
4
115
1
246
141
3
1
true
false
false
false
false
true
negative
37,070,960
Android AutoCompleteTextView result in List instead of default dropdown
<p>Android AutoCompleteTextView search and returns the result in List instead of default dropdown.</p> <p>Is there a way that I could redesign and put the result of an AutoCompleteTextView into a list other than to its default list design?</p> <p>In my MainActivity, I have this:</p> <pre><code> String[]fruits = {...
Android AutoCompleteTextView search and returns the result in List instead of default dropdown. Is there a way that I could redesign and put the result of an AutoCompleteTextView into a list other than to its default list design? In my MainActivity, I have this: [CODE] In My xml, [CODE] Furthermore, here is a Visual Ex...
android|listview|android-arrayadapter|autocompletetextview
2
2016-05-06T11:13:34.023Z
2,016
5
11
4
1,776
1
749
71
4
2
true
false
false
false
false
false
low
37,070,970
Why so much Android Studio launcher icon padding?
<p>The Android design guidelines state that a launcher icon should be 48dp across, with 1dp padding within that on each side, meaning the actual icon is 46dp in size (assuming a square icon). <a href="https://www.google.com/design/spec/style/icons.html#icons-product-icons" rel="noreferrer">https://www.google.com/design...
The Android design guidelines state that a launcher icon should be 48dp across, with 1dp padding within that on each side, meaning the actual icon is 46dp in size (assuming a square icon). https://www.google.com/design/spec/style/icons.html#icons-product-icons But when I use the launcher icon creation tool in Android S...
android|android-studio
13
2016-05-06T11:14:04.157Z
2,016
5
11
4
1,618
0
876
49
2
0
false
true
false
false
true
false
medium
37,070,984
How to get RecyclerView Edit Text values?
<p>I have a <code>RecyclerView</code> with <code>EditText</code>. I am manually adding items to <code>RecyclerView</code> by searching and each row has a <code>EditText</code> and some <code>TextViews</code>. I know how to get <code>TextView</code> data, but the problem is to get <code>EditText</code> input data(numb...
I have a RecyclerView with EditText . I am manually adding items to RecyclerView by searching and each row has a EditText and some TextViews . I know how to get TextView data, but the problem is to get EditText input data(number values). I can get first 5 edit text data (first 5 rows) but from the 5th position it gave ...
java|android|android-edittext|android-recyclerview
2
2016-05-06T11:14:32.473Z
2,016
5
11
4
885
0
572
41
4
3
true
true
false
false
false
false
low
37,071,058
Get model object from ImageTarget Android
<p>Currently, i'm trying to work with augment reality in android. For this task i'm using <code>Unity</code> + <code>Vuforia</code>.</p> <p>So, i have made a scene, which is working, when i'm looking to specific object from my camera it shows me my model(basically 3d cat model with animation). I've done this according...
Currently, i'm trying to work with augment reality in android. For this task i'm using Unity + Vuforia . So, i have made a scene, which is working, when i'm looking to specific object from my camera it shows me my model(basically 3d cat model with animation). I've done this according to tutorials like this: text format...
android|unity3d|augmented-reality
1
2016-05-06T11:18:28.820Z
2,016
5
11
4
560
1
2,319
41
3
4
true
false
false
false
false
false
low
37,071,091
Android app can not connect to localhost server
<p>I've created <code>Database</code> in my localhost, and want parse data from it with android app.I Create server with <code>NodeJS</code> and it works i can see the Database in browser, but my android app can't connect with this localhost server. Here is my Java code.</p> <pre><code> public class MainActivity exten...
I've created Database in my localhost, and want parse data from it with android app.I Create server with NodeJS and it works i can see the Database in browser, but my android app can't connect with this localhost server. Here is my Java code. [CODE] I thnk something wrong with this line [CODE] Thanks
java|android|node.js|server
0
2016-05-06T11:20:01.460Z
2,016
5
11
4
882
1
301
47
4
2
true
false
false
false
false
false
zero
37,071,169
Duplicate permission in an SDK app
<p>I have an SDK/Library that is used in several apps. I want to be able to send a secure broadcast from the SDK to the app implementing it, so I'm protecting my broadcast with a permission. My SDK defines the permission:</p> <pre><code>&lt;permission android:name="my.sdk.permission.BROADCAST" android:label="my_sd...
I have an SDK/Library that is used in several apps. I want to be able to send a secure broadcast from the SDK to the app implementing it, so I'm protecting my broadcast with a permission. My SDK defines the permission: [CODE] And the app manifest has: [CODE] However, with this setup I sometimes get errors installing mu...
android
0
2016-05-06T11:24:35.643Z
2,016
5
11
4
102
1
565
34
1
2
true
false
false
false
false
false
zero
37,071,187
How to send notification by calling api from a Android background service in a seperate process periodically
<p>I want to send notification to the user by calling an API periodically to check if there is any pending notification whether the user is using the app or not. I want to run the service in background for 24 hours. </p> <p>right now I am doing the task by Alarm Manager </p> <p>here is the code :</p> <p><strong><em>...
I want to send notification to the user by calling an API periodically to check if there is any pending notification whether the user is using the app or not. I want to run the service in background for 24 hours. right now I am doing the task by Alarm Manager here is the code : Service: [CODE] Receiver [CODE] AlarmMana...
android|android-service|android-notifications
0
2016-05-06T11:25:29.287Z
2,016
5
11
4
1,920
1
443
108
3
3
true
false
false
false
false
false
zero
37,071,240
How to open different layouts from a custom list view depending on the text on the list view?
<p><a href="https://i.stack.imgur.com/J3aGY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/J3aGY.png" alt="enter image description here"></a><strong>I have a custom listview it's onItemClick method is below</strong></p> <pre><code>if (bean.getResType().equals("Music")) { ListView listView; ...
I have a custom listview it's onItemClick method is below [CODE] In this listview, I am showing a different kind of list items eg.Music and video. So if user press music item it opens a new layout and if the video is selected it open video layout.But whatever I select it always open the first layout ex.music layout.
android|custom-lists
1
2016-05-06T11:27:53.710Z
2,016
5
11
4
62
2
317
93
2
1
true
false
false
false
false
false
low
37,071,342
How to create RTL ViewPager?
<p>I'm using ViewPager in my application and I want to support RTL, but when I cahnge my device language to RTl it seems it does'nt working.</p> <p>I want the tabs to start from the right side (the first fragment in the right).</p> <p>Please help me to solve it.</p> <p><strong>EDIT</strong>: Here is a picture of it:...
I'm using ViewPager in my application and I want to support RTL, but when I cahnge my device language to RTl it seems it does'nt working. I want the tabs to start from the right side (the first fragment in the right). Please help me to solve it. EDIT : Here is a picture of it: Tabs start from the left side Here is my c...
android|android-viewpager|right-to-left
16
2016-05-06T11:33:26.717Z
2,016
5
11
4
15,950
10
391
28
3
2
true
false
true
true
true
false
medium
37,071,440
AutoCompleteTextView populated by remote API gives exception IndexOutOfBoundsException OnItemClickListener
<p>So i wanted to implement an dynamic AutoCompleteTextView which, which will give the list that is to be populated in the dropDown of the AutoCompleteTextView.</p> <p>Below are the files and the code that i have written.</p> <pre><code>addLocationEdit = (AutoCompleteTextView) footerView.findViewById(R.id.add_locatio...
So i wanted to implement an dynamic AutoCompleteTextView which, which will give the list that is to be populated in the dropDown of the AutoCompleteTextView. Below are the files and the code that i have written. [CODE] Below is the AsyncTask that im using: [CODE] Below is the adapter i'm using: [CODE] When i click on t...
android|web-services|api|indexoutofboundsexception|autocompletetextview
0
2016-05-06T11:38:36.713Z
2,016
5
11
4
620
1
2,059
106
5
3
true
false
false
false
false
false
zero
37,071,503
How to process GCM notifications, launching activity per alert without erasing other alerts
<p>I guess it is hard to explain just by reading the title of this question. I am coding an app that gets ambient factors alerts (temperature, etc) sent by a known server to GCM, and then GCM sends it back to the phone. The whole GCM works well. The problem is when notifications arrive. It is thought to send notifica...
I guess it is hard to explain just by reading the title of this question. I am coding an app that gets ambient factors alerts (temperature, etc) sent by a known server to GCM, and then GCM sends it back to the phone. The whole GCM works well. The problem is when notifications arrive. It is thought to send notifications...
android|notifications|google-cloud-messaging
0
2016-05-06T11:42:29.087Z
2,016
5
11
4
42
1
1,062
91
3
2
true
false
false
false
false
false
zero
37,071,543
Decompiling a self generated jar in lib in Android Studio
<pre><code>apply plugin: 'com.android.application' apply plugin: 'com.neenbedankt.android-apt' apply plugin: 'com.github.triplet.play' android { compileSdkVersion 23 buildToolsVersion "23.0.2" defaultConfig { applicationId "com.prototype" minSdkVersion 19 targetSdkVersion 23 ...
[CODE] I have generated a jar using swagger codegen and have placed in lib folder of my app in the Android studio. It is not getting decompiled, i.e., I am not able to see classes of my jar here. I have tried Invalidate caches/Restart . It worked sometimes before. But it is not working anymore. Any help will be appreci...
android-studio
4
2016-05-06T11:45:00.680Z
2,016
5
11
4
367
2
325
57
1
1
true
false
false
false
false
false
low
37,071,578
cell2mat error on Matlab from accelerometer txt data and how to plot it
<p>I am newbie on Matlab, and i am trying to plot the data from the txt file written by an android application ( <a href="https://play.google.com/store/apps/details?id=com.lul.accelerometer&amp;hl=it" rel="nofollow">https://play.google.com/store/apps/details?id=com.lul.accelerometer&amp;hl=it</a>) </p> <p>I cleaned th...
I am newbie on Matlab, and i am trying to plot the data from the txt file written by an android application ( https://play.google.com/store/apps/details?id=com.lul.accelerometer&hl=it ) I cleaned the file and i have only the 4 columns with values separated by the " " X Y Z time_from_previous_sample(ms) e.g. -1.413 6.57...
android|matlab|text|plot|accelerometer
0
2016-05-06T11:46:42.847Z
2,016
5
11
4
251
1
862
71
5
5
true
false
false
false
false
false
zero
37,071,633
Scrollview not scrolling on android
<p>My scrollview doesnt scroll on android.</p> <p>This is the XAML i am using.</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8" ?&gt; &lt;ContentPage xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:local="clr-namespace:SmartTen...
My scrollview doesnt scroll on android. This is the XAML i am using. [CODE] I have tried many diffrent variations of orientation, vertical options. On both the scrollview and the stackview. After a great deal of searching i cant find out why this wont scroll. Vartiations of the above code seem to work fine for others. ...
c#|android|xamarin|xamarin.forms
1
2016-05-06T11:49:32.167Z
2,016
5
11
4
866
0
355
35
4
1
true
true
false
false
false
false
low
37,071,663
Sql query to group_by items by sort - android
<p>I'm creating android app with lots of data user enters. </p> <p>Now I need to display some data just like on the image below <a href="https://i.stack.imgur.com/3UmXo.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3UmXo.png" alt="enter image description here"></a></p> <p>I made first part of ima...
I'm creating android app with lots of data user enters. Now I need to display some data just like on the image below I made first part of image, where all data is listed. Now I need to made some recapitulation where data is grouped by sort. If there are items with the same grade it needs to place them under the same ro...
android|sqlite|sorting
1
2016-05-06T11:50:46.910Z
2,016
5
11
4
114
1
727
45
3
1
true
false
false
false
false
false
low
37,071,725
Pass data from Activity to Fragment Class Cast Exception
<p>There are so many ways but i am using this one:</p> <p>Activity:(Main2Activity)</p> <pre><code>public class Main2Activity extends AppCompatActivity{ private String myString = "hello"; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layou...
There are so many ways but i am using this one: Activity:(Main2Activity) [CODE] Fragment: [CODE] Main Activity: [CODE] BUT its giving me class cast exception: [CODE] -- Package is same. Thanks
java|android|android-fragments
2
2016-05-06T11:54:03.663Z
2,016
5
11
4
796
7
192
56
3
4
true
false
false
false
false
false
low
37,071,759
CountDownLatch blocking Asnychronous Callback
<p>I have the following construct in code</p> <pre><code>public boolean do(){ final boolean[] returnValue = new boolean[1]; final CountDownLatch cdl = new CountDownLatch(1); event.addListener(new Listener() { @Override public void onDataChange(DataSnapshot dataSnapshot) { Log.d...
I have the following construct in code [CODE] What happens is the CountDownLatch waits for 1 Minute and then the Listener triggers. But since the latch has already counted down false is always returned. To me it seems as if the Latch is blocking the entire thread and not letting the Async Callback happen. I have tried ...
java|android|asynchronous|countdownlatch
1
2016-05-06T11:55:44.390Z
2,016
5
11
4
749
0
638
45
4
1
true
true
false
false
false
false
low
37,071,784
Facing Error in GetJson() & OnClick() in Fragments. Plese see code help me for same
<p>I am adding side menu screen content as a Currencyconverter. When i am clicking to calculate currency it is not getting &amp; App is crashing. I have used yahoo API for currency converter. Facing Error in <code>GetJson()</code> &amp; <code>onClick()</code> in Fragments. Please see code help me for same . i am stuck ...
I am adding side menu screen content as a Currencyconverter. When i am clicking to calculate currency it is not getting & App is crashing. I have used yahoo API for currency converter. Facing Error in GetJson() & onClick() in Fragments. Please see code help me for same . i am stuck why this is happening ? In 1st image ...
android|android-fragments|currency
0
2016-05-06T11:56:42.623Z
2,016
5
11
4
94
2
488
83
3
3
true
false
false
false
false
false
zero
37,071,820
why checkbox are not selected if i click on another tab?
<p>when i stay on tab so on a page viewer and i select a checkbox, when i click on another tab the checkbox that i selected before is not selected....why?</p> <p>I hope that you can help me.</p> <p>Thanks everybody!!!!!</p> <pre><code>public abstract class BirraAdapter extends ArrayAdapter&lt;Birra&gt; implements Co...
when i stay on tab so on a page viewer and i select a checkbox, when i click on another tab the checkbox that i selected before is not selected....why? I hope that you can help me. Thanks everybody!!!!! [CODE] FRAGMENT: [CODE] MAIN [CODE]
android|listview|android-fragments|android-studio|android-viewpager
1
2016-05-06T11:58:32.377Z
2,016
5
11
4
212
3
238
56
5
3
true
false
false
false
false
false
low
37,071,826
App Closes after getting redirected to an Activity When back pressed on click of push notification
<p>I am in big trouble and the scenario is that I have an app so when i open it up the the back stack of activities is like activity A is splash and then move to B then C and then D. So when i press back button the order of activites launch is D-C-B-A. But when a push notification is hit and after clicking on it it ope...
I am in big trouble and the scenario is that I have an app so when i open it up the the back stack of activities is like activity A is splash and then move to B then C and then D. So when i press back button the order of activites launch is D-C-B-A. But when a push notification is hit and after clicking on it it open A...
android|push-notification|android-notifications
0
2016-05-06T11:58:48.670Z
2,016
5
11
4
289
0
715
98
3
2
true
true
false
false
false
false
zero
37,071,856
How to retain navigation menu items between android screen rotations?
<p>I have a menu attached to a "navigationview" that has some static items arranged by group and I also have to populate some more items dynamically to it appending to the group ( called "group_users"). I am able to add menu items to a navigation view dynamically and view it under the navigationview of my DrawerLayout....
I have a menu attached to a "navigationview" that has some static items arranged by group and I also have to populate some more items dynamically to it appending to the group ( called "group_users"). I am able to add menu items to a navigation view dynamically and view it under the navigationview of my DrawerLayout. Ho...
android
0
2016-05-06T12:00:13.817Z
2,016
5
12
4
84
0
711
69
1
2
true
true
false
false
false
false
zero
37,071,920
mxmlc does not include *.ane files during command line build
<p>Here is the command that I am using to build an android application.</p> <pre><code>mxmlc +configname=airmobile -output Example.swf -locale=en_US -source-path+=D:\fb_projects\Example\localeB\{locale} -library-path+=D:\fb_projects\Example\libs -source-path+=D:\fb_projects\Example\src -external-library-path+=D:\...
Here is the command that I am using to build an android application. [CODE] Update : Please check the command that i am using now to build/compile my flex android application , I have modified the command as per dump config [CODE] ADT Command : [CODE] Any help would be appreciated. Thanks.
android|actionscript-3|apache-flex|mxmlc|ane
1
2016-05-06T12:02:50.627Z
2,016
5
12
4
305
1
290
60
5
3
true
false
false
false
false
false
low
37,072,009
Unable to get location using Google's fused location API
<p>I am trying to get my location using Google's fused location API.For this I have created two classes. One is MainActivity and second is FusedLocationService in which MainActivity is the main class . But I am getting longitude and latitude as 0.0. So please help me.</p> <p>Here is my code of MainActivity:-</p> <pre...
I am trying to get my location using Google's fused location API.For this I have created two classes. One is MainActivity and second is FusedLocationService in which MainActivity is the main class . But I am getting longitude and latitude as 0.0. So please help me. Here is my code of MainActivity:- [CODE] Here is my Fu...
android|google-api|location|latitude-longitude
4
2016-05-06T12:06:57.260Z
2,016
5
12
4
3,246
3
465
56
4
2
true
false
true
false
false
false
low
37,072,013
Android two Textview with "wrapcontent" in single line
<p>I am unable to get a seemingly easy layout configuration right !!</p> <p>I have two textview in a Relative (tried Linear with orientation horizontal) both "wrapcontent" - I want them one beside other. Something like:</p> <blockquote> <ol> <li><p>First Text || Second Text [<em>this is of smaller text size</em>]...
I am unable to get a seemingly easy layout configuration right !! I have two textview in a Relative (tried Linear with orientation horizontal) both "wrapcontent" - I want them one beside other. Something like: First Text || Second Text [ this is of smaller text size ] (For Small Title works good) When the first text is...
android|android-layout|android-linearlayout|textview
2
2016-05-06T12:07:04.587Z
2,016
5
12
4
1,986
5
876
54
4
1
true
false
false
false
false
false
low
37,072,102
Android OutOfMemoryError in SetContentView line
<p>When i try to open my chat class , sometimes it runs properly , sometimes it gives OutOfMemoryError at setContentView line.I can't understand what is the cause of problem? Here is my xml code : </p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;FrameLayout xmlns:android="http://schemas.android.com/apk...
When i try to open my chat class , sometimes it runs properly , sometimes it gives OutOfMemoryError at setContentView line.I can't understand what is the cause of problem? Here is my xml code : [CODE] Here is the error : [CODE]
android
3
2016-05-06T12:10:50.973Z
2,016
5
12
4
1,374
4
227
47
1
2
true
false
false
false
false
false
low
37,072,158
Getting user location in Android seems impossible
<p>I'm tryin for a couple of days to retrieve user's location but no succes. The textview is not updating. I've tried debugging but the location isn't received.</p> <p>Here is my code:</p> <p><strong>MainActivity</strong></p> <p><div class="snippet" data-lang="js" data-hide="false"> <div class="snippet-code"> <pre c...
I'm tryin for a couple of days to retrieve user's location but no succes. The textview is not updating. I've tried debugging but the location isn't received. Here is my code: MainActivity [CODE] LocationProvider [CODE] Manifest [CODE] What to do ? Mention that GPS is enabled on device and also from settings. The device...
android|gps|location
0
2016-05-06T12:13:11.640Z
2,016
5
12
4
152
1
490
49
3
3
true
false
false
false
false
false
zero
37,072,344
How can I display two RecycleViews in one Activity?
<p>I want to display in my activity Android, a modal that contains two RecycleView. So I have build this xml file as modal:</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" an...
I want to display in my activity Android, a modal that contains two RecycleView. So I have build this xml file as modal: [CODE] With this code I can see the two RecycleView are superimposed, instead I want to display Text, under RecycleView, under Text, under the second Recycle view. It is possible to do this?
android
0
2016-05-06T12:22:53.793Z
2,016
5
12
4
108
3
311
51
1
1
true
false
false
false
false
false
zero
37,072,368
Retrofit @body with @multipart having Issue
<h2>Image Multipart in class type object.</h2> <h3>case 1. (Which I had done)</h3> <p>Service params:</p> <pre><code>{"id":"1","name":"vishal","image/file":""} </code></pre> <p>At that time my <code>API</code> of <code>Retrofit</code></p> <pre><code>@Multipart @POST("webservice") Call&lt;SignUpResp&gt; loadSignup...
Image Multipart in class type object. case 1. (Which I had done) Service params: [CODE] At that time my API of Retrofit [CODE] case 2. (Where I have Problem) with @Body class<UploadwithImage> [CODE] I am trying this API [CODE] Java side [CODE] I don't know why but it returns error like: "@Body parameters cannot be used...
android|annotations|retrofit2
12
2016-05-06T12:24:23.557Z
2,016
5
12
4
48,971
8
385
43
3
5
true
false
true
true
true
false
medium
37,072,475
java.lang.NullPointerException: Attempt to invoke virtual method 'android.graphics.RectF
<p>I'm kinda new to this all android game development and need a little help..my game is crashing and i cant find to solve the problem..Thank you in advance.</p> <pre><code>public class BrickBreaker extends AppCompatActivity { BreakerView brickView; @Override protected void onCreate(Bundle savedInstance...
I'm kinda new to this all android game development and need a little help..my game is crashing and i cant find to solve the problem..Thank you in advance. [CODE] and here is the log [CODE]
android|nullpointerexception
0
2016-05-06T12:29:30.113Z
2,016
5
12
4
1,613
1
188
88
2
2
true
false
false
false
false
false
zero
37,072,485
how to loop through 2d array and make the result appear in table form in android
<p>HI below is the code which gets the four columns data from the curson and put in the 2d array. basically there are two issues one is that i get the last value as nullnullnullnull means all for columns are fetched as null. </p> <p>the seconds is that i want to print the array in multitextline or if any other widget ...
HI below is the code which gets the four columns data from the curson and put in the 2d array. basically there are two issues one is that i get the last value as nullnullnullnull means all for columns are fetched as null. the seconds is that i want to print the array in multitextline or if any other widget availabe so ...
android|database|loops|format|cursor
0
2016-05-06T12:30:09.577Z
2,016
5
12
4
43
1
495
80
5
1
true
false
false
false
false
false
zero
37,072,592
Update the zxing barcode result in expandablelistview in Android
<p>I have custom expandablelistvitiew in my application, in that if i click the child view(textview) then it will call the zxing barcode to scan,Then i tried to get the result from that and set it into the child view(Textview) but i could not able to get the result from that. Please check the code below, which i have t...
I have custom expandablelistvitiew in my application, in that if i click the child view(textview) then it will call the zxing barcode to scan,Then i tried to get the result from that and set it into the child view(Textview) but i could not able to get the result from that. Please check the code below, which i have trie...
android|expandablelistview|expandablelistadapter
1
2016-05-06T12:36:18.043Z
2,016
5
12
4
74
0
376
64
3
2
true
true
false
false
false
false
low
37,072,656
With latest google api I am getting null Access Token with GoogleAuthUtil
<p>Hello I am getting null Access Token with latest google API I dont what am i doing wrong. Please help..</p> <pre><code>Token=GoogleAuthUtil.getToken( MainActivity.this, mGoogleApiClient.getAccountName(), "oauth2:" + SCOPES) </code></pre> <p>the token is null here..</p> <p>Here is the code </p> <pre><code>GoogleA...
Hello I am getting null Access Token with latest google API I dont what am i doing wrong. Please help.. [CODE] the token is null here.. Here is the code [CODE] Also i am getting the account name but why not the access token?
android|google-authentication
0
2016-05-06T12:39:25.513Z
2,016
5
12
4
58
0
224
73
2
2
true
true
false
false
false
false
zero
37,072,762
each IntelliJ module to a different Git repository
<p>I am just migrating my Android development from Eclipse+SVN to Android Studio+Git. </p> <p>In Eclipse I had 2 projects: a library project and a app project using the library. Both were kept in separate SVN repos.</p> <p>Now, I have imported my Eclipse App project, and it has automatically created a single IntelliJ...
I am just migrating my Android development from Eclipse+SVN to Android Studio+Git. In Eclipse I had 2 projects: a library project and a app project using the library. Both were kept in separate SVN repos. Now, I have imported my Eclipse App project, and it has automatically created a single IntelliJ project with 2 modu...
android|eclipse|git|android-studio
2
2016-05-06T12:43:27.667Z
2,016
5
12
4
335
0
1,175
50
4
2
true
true
false
false
false
false
low
37,072,768
ViewPager Inside ScrollView is not showing Fragments
<p>I am having a strange problem, I have an Activity which has a vertical scrollview. ScrollView has 8 ViewPagers, each ViewPager has fragments. When i scroll down the scrollview to 7th viewpager i see the five pagerIndicator dots but fragments are not visible in that. I see blank viewpager.</p> <p>But when i put that...
I am having a strange problem, I have an Activity which has a vertical scrollview. ScrollView has 8 ViewPagers, each ViewPager has fragments. When i scroll down the scrollview to 7th viewpager i see the five pagerIndicator dots but fragments are not visible in that. I see blank viewpager. But when i put that same viewp...
android|android-viewpager|android-scrollview|fragmentstatepageradapter
0
2016-05-06T12:43:39.363Z
2,016
5
12
4
946
0
786
52
4
3
true
true
false
false
false
false
zero
37,072,947
Android download manager don't work
<p>I'm trying to develop an app which provides many movies and you can play it or download the movie.</p> <p>I'm using Download Manager to download the movie from server, but it didn't work...</p> <p>this is my method</p> <pre><code>public void downloadFileFromUrl(String url, String fileName) { String fileP...
I'm trying to develop an app which provides many movies and you can play it or download the movie. I'm using Download Manager to download the movie from server, but it didn't work... this is my method [CODE] this is attribute url : ( http://192.168.1.5:8080/BlueNet_NMC/video_shared/blue_elephant.mp4 ) filename : (blue_...
android|android-download-manager
0
2016-05-06T12:52:25.217Z
2,016
5
12
4
233
0
468
35
2
2
true
true
false
false
false
false
zero
37,072,971
How to hide the Toolbar in a fragment with a fixed CardView and a RecyclerView
<p>So I have a main layout with a Toolbar, TabLayout, ViewPager and a Floating Action Button, and in one of the fragments layout I want to have a fixed CardView on top and a Recycler View next. At the same time, I want to hide the Toolbar and FAB on scroll in any of the fragments. However, in this fragment, I can't hid...
So I have a main layout with a Toolbar, TabLayout, ViewPager and a Floating Action Button, and in one of the fragments layout I want to have a fixed CardView on top and a Recycler View next. At the same time, I want to hide the Toolbar and FAB on scroll in any of the fragments. However, in this fragment, I can't hide t...
android|android-fragments|android-recyclerview|android-toolbar
0
2016-05-06T12:53:10.263Z
2,016
5
12
4
346
1
494
78
4
2
true
false
false
false
false
false
zero
37,072,996
android: Show fab icon only on first tab
<p>I have layout with 5 tabs inside a coordinator layout.</p> <p>I want to show the fab icon only on the first tab and hide on the rest.</p> <p>I tried this and its working:</p> <pre><code>viewPager.addOnPageChangeListener(new ViewPager.OnPageChangeListener() { @Override public void onPageScr...
I have layout with 5 tabs inside a coordinator layout. I want to show the fab icon only on the first tab and hide on the rest. I tried this and its working: [CODE] the problem is I also wanted the hide on scrolling effect for the fab button. so I create a ScrollAwareFABBehavior class which extends FloatingActionButton....
android|tabs|floating-action-button
1
2016-05-06T12:54:28.463Z
2,016
5
12
4
502
1
758
40
3
3
true
false
false
false
false
false
low
37,073,061
Failed to ensure app sand-boxed folder on external sd card with marshmallow devices
<p>Android documentation says :- Every Android app runs in a limited-access sandbox. If an app needs to use resources or information outside of its own sandbox, the app has to request the appropriate permission.</p> <p>If app uses its own limited access sandbox however it may be on internal storage or on external stor...
Android documentation says :- Every Android app runs in a limited-access sandbox. If an app needs to use resources or information outside of its own sandbox, the app has to request the appropriate permission. If app uses its own limited access sandbox however it may be on internal storage or on external storage. It can...
android|facebook
0
2016-05-06T12:57:47.470Z
2,016
5
12
4
532
1
757
83
2
1
true
false
false
false
false
false
zero
37,073,081
Listview out of memory exception in viewholder
<p>Hello I'm trying to display a range of images within a ListView but when I run the application it runs out of memory, which is very strange as when testing it last night it worked perfect and when returning to it this morning it know longer wishes to play ball. I'm using a ViewHolder pattern and I was wondering if s...
Hello I'm trying to display a range of images within a ListView but when I run the application it runs out of memory, which is very strange as when testing it last night it worked perfect and when returning to it this morning it know longer wishes to play ball. I'm using a ViewHolder pattern and I was wondering if some...
android|memory|memory-leaks|out-of-memory|android-viewholder
0
2016-05-06T12:58:51.627Z
2,016
5
12
4
484
3
395
46
5
3
true
false
false
false
false
false
zero
37,073,187
issue with setOnPageChangeListener
<p>I have issue with <code>setOnPageChangeListener</code>. Please help me out to solve this problem.</p> <p>When I run my app without <code>setOnPageChangeListener</code> it works good, but with this it get crashed and show this message:</p> <blockquote> <p>Attempt to invoke virtual method 'void android.support.v4....
I have issue with setOnPageChangeListener . Please help me out to solve this problem. When I run my app without setOnPageChangeListener it works good, but with this it get crashed and show this message: Attempt to invoke virtual method 'void android.support.v4.view.ViewPager.setOnPageChangeListener(android.support.v4.v...
android|android-pageradapter
0
2016-05-06T13:04:13.447Z
2,016
5
13
4
124
3
390
34
2
1
true
false
false
false
false
false
zero
37,073,376
Recyclerview with endless scrolling in nestedscrollview, triggers onScrolled
<p>I have recyclerview in the nestedscrollview:</p> <pre><code> &lt;android.support.v4.widget.NestedScrollView android:layout_width="match_parent" android:layout_height="wrap_content"&gt; &lt;LinearLayout android:layout_width="match_parent" android:layout_height="wrap...
I have recyclerview in the nestedscrollview: [CODE] Recyclerview have OnScrollListener which is handling endless scrolling taken from this example: https://guides.codepath.com/android/Endless-Scrolling-with-AdapterViews-and-RecyclerView . However it seems like nestedscrollview is triggering onScrolled method, so whole ...
android|android-recyclerview|endlessscroll|android-nestedscrollview
11
2016-05-06T13:13:21.447Z
2,016
5
13
4
2,930
1
483
76
4
1
true
false
true
false
true
false
medium
37,073,461
Synchronization with JSONObjectRequest (Android)
<p>I am making an Android app and I need to make a JSONObjectRequest to get a parameter (<code>logo</code>) from a <code>package.json</code> in a github repository. </p> <p>This is the method where I make the JSON request</p> <pre><code>public void askLogoPath(String url) { JsonObjectRequest req = new JsonObject...
I am making an Android app and I need to make a JSONObjectRequest to get a parameter ( logo ) from a package.json in a github repository. This is the method where I make the JSON request [CODE] I have defined a variable ( logo ) in Global class that follows Singleton pattern, so I can access it everywhere in my program...
java|android|json|synchronization|jsonobjectrequest
0
2016-05-06T13:17:27.780Z
2,016
5
13
4
190
3
803
48
5
2
true
false
false
false
false
false
zero
37,073,468
RxAndroid chain actions
<p>I am using RxAndroid + Retrofit and what I want to do is to combine 2 actions in one. For example I have two methods. First one return some URL in onNext block. </p> <pre><code>apiRequests.getApi().getURL() .subscribeOn(Schedulers.newThread()) .observeOn(AndroidSchedulers.mainThread()) ...
I am using RxAndroid + Retrofit and what I want to do is to combine 2 actions in one. For example I have two methods. First one return some URL in onNext block. [CODE] The second method user this URL to do something else [CODE] Is it possible to combine these methods into one? Thanks
java|android|retrofit|rx-java|rx-android
0
2016-05-06T13:17:53.423Z
2,016
5
13
4
561
1
284
23
5
2
true
false
false
false
false
false
zero
37,073,516
ZXing.Result appears to always be null in Xamarin Forms
<p>I have done some extensive searching on this issue and finding very few support documents.</p> <p>I am trying to take an already existing image <a href="https://drive.google.com/file/d/0B42XN3-a_tIoanlvVVpnenRoSUU/view" rel="nofollow">Download here</a> with a simple barcode on it and process the barcode in a PCL la...
I have done some extensive searching on this issue and finding very few support documents. I am trying to take an already existing image Download here with a simple barcode on it and process the barcode in a PCL layer of the project. Here is the code i am processing: [CODE] for the image helper (at the android level) [...
c#|xamarin|xamarin.android|xamarin.forms|zxing
3
2016-05-06T13:21:17.810Z
2,016
5
13
4
193
0
648
55
5
2
true
true
false
false
false
false
low
37,073,609
Remove default delay before second launch of ObjectAnimator
<p>I'm scrolling <code>HorizontalScrollView</code> using <code>ObjectAnimator</code> (left -> right -> left). Therefore the result should be kind of infinite scrolling from one side to another. </p> <p>The <strong>problem</strong> is that there's some delay like 1 sec after I start to animate right -> left. What cause...
I'm scrolling HorizontalScrollView using ObjectAnimator (left -> right -> left). Therefore the result should be kind of infinite scrolling from one side to another. The problem is that there's some delay like 1 sec after I start to animate right -> left. What causes such behavior? I've created 2 animations and start on...
android|android-animation|horizontalscrollview|objectanimator
2
2016-05-06T13:25:59.123Z
2,016
5
13
4
781
1
394
59
4
1
true
false
false
false
false
false
low
37,073,665
Where do I define textViews within a fragment to change its content multiple time?
<p>so I have this fragment which includes multiple TextView that gets changed when user clicks on a <strong>"next"</strong> button or <strong>"previous"</strong> button.</p> <p>within the onCreateView method i have:</p> <pre><code>@Override public View onCreateView(LayoutInflater inflater, ViewGroup container, ...
so I have this fragment which includes multiple TextView that gets changed when user clicks on a "next" button or "previous" button. within the onCreateView method i have: [CODE] on the update method I have [CODE] the update method gets called on user click. It occurs to me that the textview is redefined everytime upda...
java|android|android-layout|android-fragments|android-studio
0
2016-05-06T13:29:08.340Z
2,016
5
13
4
64
2
411
82
5
2
true
false
false
false
false
false
zero
37,073,704
How to show "connection error" page?
<p>Maybe, It's a noobie question but I cannot make a good solution. <br><strong>Problem</strong> <br>For example: I have a some fragment that send some HTTPS-request. And at this moment user's device loses the Internet connection. In the most part of apps it shows page to user with message "Internet connection failed....
Maybe, It's a noobie question but I cannot make a good solution. Problem For example: I have a some fragment that send some HTTPS-request. And at this moment user's device loses the Internet connection. In the most part of apps it shows page to user with message "Internet connection failed... bla-bla... and e.g. button...
android|android-fragments
3
2016-05-06T13:30:16.503Z
2,016
5
13
4
118
0
1,406
36
2
0
false
true
false
false
false
false
low
37,073,729
google custom search api for android
<p>When I am trying to run the below URL:</p> <p><a href="https://www.googleapis.com/customsearch/v1?q=a&amp;key=AIzaSyAlA7Vv79S_pH8tWjD-SAFUIlVh2ZzHw2o&amp;cx=002019692856142923148:nijox13azs4" rel="nofollow">https://www.googleapis.com/customsearch/v1?q=a&amp;key=AIzaSyAlA7Vv79S_pH8tWjD-SAFUIlVh2ZzHw2o&amp;cx=0020196...
When I am trying to run the below URL: https://www.googleapis.com/customsearch/v1?q=a&key=AIzaSyAlA7Vv79S_pH8tWjD-SAFUIlVh2ZzHw2o&cx=002019692856142923148:nijox13azs4 the response is: {"error": {"errors": [{"domain": "usageLimits","reason": "ipRefererBlocked", "message": "The referrer null does not match does not match...
android|google-custom-search
1
2016-05-06T13:31:19.060Z
2,016
5
13
4
311
0
816
36
2
0
false
true
false
false
false
false
low
37,073,802
WebView ZoomButtonsController
<p>While having "Do not keep activities" option ON in developer settings, I am loading url to webview with <code>vWebView.getSettings().setBuiltInZoomControls(true);</code> As a result I am getting followed problem.</p> <pre><code>WindowManager: android.view.WindowLeaked: Activity pl.izmajlowiczl.zoomcontrolls.MainAct...
While having "Do not keep activities" option ON in developer settings, I am loading url to webview with vWebView.getSettings().setBuiltInZoomControls(true); As a result I am getting followed problem. [CODE] After checking ZoomButtonsController code I find out that the problem is posting delayed message on handler which...
android|android-webview
10
2016-05-06T13:35:06.417Z
2,016
5
13
4
361
1
605
29
2
1
true
false
false
false
true
false
medium
37,073,815
Synchronize the time between an android app and a server
<p>I use a raspberry pi with a Bluetooth dongle to simulate a beacon. I want to measure the time needed for a mobile app to detect the UUID of a beacon when I change it in the raspberry. With this code I found out the server used by the smartphone to synchronize the tile </p> <pre><code>final Resources res = this.getR...
I use a raspberry pi with a Bluetooth dongle to simulate a beacon. I want to measure the time needed for a mobile app to detect the UUID of a beacon when I change it in the raspberry. With this code I found out the server used by the smartphone to synchronize the tile [CODE] Than I synchronized the time in the raspberr...
linux|raspberry-pi|ibeacon|ibeacon-android|ntpd
0
2016-05-06T13:35:33.340Z
2,016
5
13
4
1,883
1
677
56
5
3
true
false
false
false
false
false
zero
37,073,965
Webview is opening also the browser
<p>Hello i used a webview to show a gif animation of a logo but in some phones with 4.0 - 4.2 SO if i touch the gif when coming from onresume it opens the browser in a blank page. and i cannot go into app till i close it. Why is this happening ?</p> <pre><code> webViewSplash.clearCache(true); webViewSplash.reload(...
Hello i used a webview to show a gif animation of a logo but in some phones with 4.0 - 4.2 SO if i touch the gif when coming from onresume it opens the browser in a blank page. and i cannot go into app till i close it. Why is this happening ? [CODE]
android|webview
0
2016-05-06T13:42:49.453Z
2,016
5
13
4
63
1
249
35
2
1
true
false
false
false
false
false
zero
37,074,003
Android - change text colour of the visual Contextual Action Mode menu actions
<p>How can I change the text colour of the visible menu actions of the Contextual Action Mode? </p> <p>Changing the background, title colour and subtitle colour in the CAB-actionbar is easy: </p> <p>1 - in my App theme: </p> <pre><code>&lt;item name="actionModeStyle"&gt;@style/MyActionMode&lt;/item&gt; </code></pre>...
How can I change the text colour of the visible menu actions of the Contextual Action Mode? Changing the background, title colour and subtitle colour in the CAB-actionbar is easy: 1 - in my App theme: [CODE] 2 - then I defined the following styles: [CODE] Can I change the text colour of only the context action bar menu...
android|android-actionbar|android-actionmode
2
2016-05-06T13:44:24.173Z
2,016
5
13
4
750
0
420
78
3
2
true
true
false
false
false
false
low
37,074,062
Having trouble with sending data over a bluetooth connection
<p>So I know this type of question has been posted before, but I just can't understand them, I currently have a simple program which shows paired devices (works fine) and then when you press a button it should send data to the other device's TextView to edit it. Here is the code that I have, can anybody see what I'm do...
So I know this type of question has been posted before, but I just can't understand them, I currently have a simple program which shows paired devices (works fine) and then when you press a button it should send data to the other device's TextView to edit it. Here is the code that I have, can anybody see what I'm doing...
android|android-studio
1
2016-05-06T13:47:37.420Z
2,016
5
13
4
18
0
369
60
2
1
true
true
false
false
false
false
low
37,074,112
Serverside error 'invalidRegistration' with GCM (Google Cloud Messaging)
<p>When I run the GCM client-side code,I got error as "invalidRegistration". I checked with the refered<a href="https://developers.google.com/cloud-messaging/http-server-ref#error-codes" rel="nofollow">page</a>.But still unable to get success as 1.The API key provided by JSON file and Server API Key which I got it when...
When I run the GCM client-side code,I got error as "invalidRegistration". I checked with the refered page .But still unable to get success as 1.The API key provided by JSON file and Server API Key which I got it when the configuration process are different.But for both itself, I got InvalidRegistarion.`public class Mai...
android|google-cloud-messaging|chrome-gcm
0
2016-05-06T13:49:57.590Z
2,016
5
13
4
320
1
408
72
3
2
true
false
false
false
false
false
zero
37,074,114
How to update outerscope variable from the onSuccess() method of anonymous class Firebase.ValueResultHandler
<p>I am calling this class' method from other class and i always gets <code>false</code>, How can I update the outer scope data member (status) in </p> <blockquote> <p>onSuccess()</p> </blockquote> <p>method, whenever I call this method it always return null, can anyone tell me how can I get the correct result</p> ...
I am calling this class' method from other class and i always gets false , How can I update the outer scope data member (status) in onSuccess() method, whenever I call this method it always return null, can anyone tell me how can I get the correct result [CODE] I also try static keyword but it didnot work.
android|firebase
1
2016-05-06T13:50:10.220Z
2,016
5
13
4
705
2
307
108
2
1
true
false
false
false
false
false
low
37,074,178
Handle menuitem selection with speed dial floating action buttons
<p>I'm currently developing my first Android app and therefore I'm using <a href="https://android-arsenal.com/details/1/3062" rel="nofollow noreferrer">fab-speed-dial</a>. I've implemented the floating action button so that the options suit my needs. But now I need to assign actions to the menu items.</p> <p>E.g. I wa...
I'm currently developing my first Android app and therefore I'm using fab-speed-dial . I've implemented the floating action button so that the options suit my needs. But now I need to assign actions to the menu items. E.g. I want to show an input field if one clicks on "add room" in the Screenshot below: I've tried so ...
java|android|floating-action-button
1
2016-05-06T13:52:33.500Z
2,016
5
13
4
2,200
1
624
65
3
3
true
false
false
false
false
false
low
37,074,245
Cordova Camera Plugin force orientation of camera to portrait
<p>I am using cordova camera plugin latest to take a photo of documents in my cordova android app. The following are the options:</p> <pre><code>camera.options = { quality: 100, destinationType: Camera.DestinationType.FILE_URI, sourceType: Camera.PictureSourceType.CAMERA...
I am using cordova camera plugin latest to take a photo of documents in my cordova android app. The following are the options: [CODE] But when I click a photo of my document in portrait mode, the camera flips it 90 degrees and it becomes landscape. I don't want it to flip it. I want it to keep it as it is. Also, I must...
android|cordova|camera
10
2016-05-06T13:55:35.767Z
2,016
5
13
4
12,159
4
548
61
3
1
true
false
true
true
true
false
medium
37,074,356
Display Images (Using Volley) in DIalog Box
<p>i want to show display my image(using voley) and show in display box when item from listview click, here below screenshot apps:</p> <p>This Listview : </p> <p><a href="https://i.stack.imgur.com/hbf9l.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hbf9l.png" alt="Listview"></a> </p> <p>and This...
i want to show display my image(using voley) and show in display box when item from listview click, here below screenshot apps: This Listview : and This Dialog Box when Item Click My Question : how to show images too in dialog box when item from listview clicked? Here my code : AbdominalFrgament.java [CODE] listrow.xml...
android|listview|dialog
0
2016-05-06T14:00:54.623Z
2,016
5
14
4
496
2
345
43
3
3
true
false
false
false
false
false
zero
37,074,460
Here SDK Android Zoom to several markers
<p>Im currently testing out Here Maps SDK for Android. I have a set of markers and i need to be able to zoom in so they all fit the screen. I currently tried using GeoBoundingBox but you have to insert 2 places at once (the corners). Searched the documentation but didnt find any relevant information. <strong>Is it poss...
Im currently testing out Here Maps SDK for Android. I have a set of markers and i need to be able to zoom in so they all fit the screen. I currently tried using GeoBoundingBox but you have to insert 2 places at once (the corners). Searched the documentation but didnt find any relevant information. Is it possible and ho...
android|here-api
3
2016-05-06T14:05:21.357Z
2,016
5
14
4
1,055
2
362
40
2
1
true
false
false
false
false
false
low
37,074,462
IntentService show null value
<p>i tried many time but cannot get any good result.</p> <p>i created IntentService in which read the accelrometer data. but unfortunatly i got the null value.</p> <p>the following is the manifest file;</p> <pre><code> &lt;uses-feature android:name="android.hardware.sensor.accelerometer" android:requir...
i tried many time but cannot get any good result. i created IntentService in which read the accelrometer data. but unfortunatly i got the null value. the following is the manifest file; [CODE] And this is the java class; [CODE] any one can help to show the accelerometer values i mean to hold the accelerometer values fo...
android
-2
2016-05-06T14:05:29.407Z
2,016
5
14
4
68
1
446
29
1
2
true
false
false
false
false
true
negative
37,074,529
Drawing a border in full screen
<p>this is my code to draw the rectangle:</p> <pre><code> &lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;shape xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/listview_background_shape" &gt; &lt;stroke android:width="5dp" android:color="#000000" /&gt; &lt;p...
this is my code to draw the rectangle: [CODE] then it appears like this: but that's what i wannt: can anyone help me with that?
android|border
0
2016-05-06T14:07:58.070Z
2,016
5
14
4
168
1
127
31
2
1
true
false
false
false
false
false
zero
37,074,552
How do I get the ID item in the database?
<p>I am new to android development and must take the value of the id in the clicked item database. Already searched several posts but not found the answer .</p> <p>Below is my code Listview :</p> <p><div class="snippet" data-lang="js" data-hide="false"> <div class="snippet-code"> <pre class="snippet-code-js lang-js p...
I am new to android development and must take the value of the id in the clicked item database. Already searched several posts but not found the answer . Below is my code Listview : [CODE] My Adapter: [CODE] JogadorEntidade: [CODE] [CODE]
android|listview|android-arrayadapter|onitemclicklistener
0
2016-05-06T14:08:48.800Z
2,016
5
14
4
50
1
238
41
4
4
true
false
false
false
false
false
zero
37,074,671
Display data from database inside ListView
<p>I have this Activity that get data from a table in my database and I display this data inside a ListView. But the thing is that I want to make clickable the itens inside this ListView and once the user clicks on an item it should redirect him to another screen that displays the details of this item. I am displaying ...
I have this Activity that get data from a table in my database and I display this data inside a ListView. But the thing is that I want to make clickable the itens inside this ListView and once the user clicks on an item it should redirect him to another screen that displays the details of this item. I am displaying onl...
android|json|database|listview
1
2016-05-06T14:13:49.787Z
2,016
5
14
4
473
1
456
42
4
1
true
false
false
false
false
false
low
37,074,860
Handle SQL Exception without allow to close App
<p>I have a project in which i connect to my <code>Local Network DB</code>. I Insert,Update and Select from <code>DB</code>, and DB type is <code>SQL Server 2005</code>. I made a class named <code>ConnectionHelper</code> and everywhere i want to connect to DB, i make an <code>Instance</code> of it and then call its <co...
I have a project in which i connect to my Local Network DB . I Insert,Update and Select from DB , and DB type is SQL Server 2005 . I made a class named ConnectionHelper and everywhere i want to connect to DB, i make an Instance of it and then call its getConnection Method. This class has a Constructor like this : [CODE...
java|android
0
2016-05-06T14:23:34.640Z
2,016
5
14
4
209
2
833
47
2
3
true
false
false
false
false
false
zero
37,074,867
Android - Create Button Programmatically
<p>I have an Activity called GameLoop (class which extends Activity). But instead of using an xml file for the layout, i'm using a class for it, since I want to be able to draw to a canvas. (I've seen on some tutorials this is what you're supposed to do)</p> <p>The layout class is called GameLoopLayout.</p> <p>I have...
I have an Activity called GameLoop (class which extends Activity). But instead of using an xml file for the layout, i'm using a class for it, since I want to be able to draw to a canvas. (I've seen on some tutorials this is what you're supposed to do) The layout class is called GameLoopLayout. I have a game loop runnin...
android|button
0
2016-05-06T14:23:59.563Z
2,016
5
14
4
322
2
601
40
2
1
true
false
false
false
false
false
zero
37,074,872
Android : FileProvider on custom external storage folder
<p>I'm trying to set up a fileprovider for sharing file. My files are saved in a folder "AppName" in the external storage (same level as Android, Movies and Pictures folders).</p> <p>Here is my file provider config :</p> <pre><code>&lt;provider android:name="android.support.v4.content.FileProvider" android:au...
I'm trying to set up a fileprovider for sharing file. My files are saved in a folder "AppName" in the external storage (same level as Android, Movies and Pictures folders). Here is my file provider config : [CODE] and the file_paths.xml : [CODE] When i try to access my file with : [CODE] It returns an error: java.lang....
android|android-fileprovider
22
2016-05-06T14:24:18.983Z
2,016
5
14
4
38,844
8
854
56
2
4
true
false
true
true
true
false
high
37,074,967
Viewpager with Toolbar
<p>I have a bar which includes menu. Im using viewbar and i need to show my bar every single page.</p> <p>So thats why i created my bar in MainActivity and viewpager_layout.xml</p> <p>If i use same fragment layout every page its working well but when i try change layout its suck. Here my code.</p> <p>MainActivity</p...
I have a bar which includes menu. Im using viewbar and i need to show my bar every single page. So thats why i created my bar in MainActivity and viewpager_layout.xml If i use same fragment layout every page its working well but when i try change layout its suck. Here my code. MainActivity [CODE] viewpager_layout.xml [...
android|android-layout|android-fragments
1
2016-05-06T14:28:15.640Z
2,016
5
14
4
1,187
1
421
22
3
2
true
false
false
false
false
false
low
37,074,975
Facebook Login Dialog Doesn't Close after Signup - Android Parse
<p>I'm actually utilizing ParseFacebookUtils to login to the application. Everything works perfectly except for one minor nuisance. After logging in/signing up, the facebook login screen refreshes as a blank Facebook login. It isn't until you exit that it completes the signup/login. The code below is what is being util...
I'm actually utilizing ParseFacebookUtils to login to the application. Everything works perfectly except for one minor nuisance. After logging in/signing up, the facebook login screen refreshes as a blank Facebook login. It isn't until you exit that it completes the signup/login. The code below is what is being utilize...
java|android|parse-platform
1
2016-05-06T14:28:49.463Z
2,016
5
14
4
95
0
329
64
3
1
true
true
false
false
false
false
low
37,075,064
Display Toast Message & Perform an action When a certain period of time has passed
<p>I have an app where it reads through a file of numbers. A threshold is predefined and every number in the file is compared with the threshold, one by one. When the number read is greater than the threshold, display an alert with a button. If the button is not pressed for 2 minutes, send an sms message. And if the bu...
I have an app where it reads through a file of numbers. A threshold is predefined and every number in the file is compared with the threshold, one by one. When the number read is greater than the threshold, display an alert with a button. If the button is not pressed for 2 minutes, send an sms message. And if the butto...
java|android
1
2016-05-06T14:32:50.480Z
2,016
5
14
4
72
1
829
82
2
2
true
false
false
false
false
false
low