id
int64
28.5M
73.8M
title
stringlengths
15
150
question_body
stringlengths
69
39.4k
body_text
stringlengths
6
29.2k
tags
stringlengths
7
120
score
int64
-19
384
creation_date
stringlengths
20
24
year
int64
-1
2.02k
month
int64
-1
12
hour
int64
-1
23
dayofweek
int64
-1
6
view_count
int64
3
367k
answer_count
int64
0
34
body_len
int64
6
29.2k
title_len
int64
15
150
tag_count
int64
1
6
code_block_cnt
int64
0
17
has_code
bool
2 classes
is_unanswered
bool
2 classes
is_popular
bool
2 classes
is_viral
bool
2 classes
is_highly_voted
bool
2 classes
is_negative
bool
2 classes
score_bucket
stringclasses
5 values
36,616,222
remove a value from Hashmap by onitemclicklistner in listview
<p>i am trying to remove values id and name from listview, where we user ArrayList> DataListResult; and user ListAdapter private ListAdapter adapter = null; when i have use DataListResult.clear(); it is work and it clear all list items but i want remove only one item by click.</p> <pre><code> ArrayList&lt;HashMap&lt...
i am trying to remove values id and name from listview, where we user ArrayList> DataListResult; and user ListAdapter private ListAdapter adapter = null; when i have use DataListResult.clear(); it is work and it clear all list items but i want remove only one item by click. [CODE] where i am doing mistake please anyone...
java|android|listview|hashmap
2
2016-04-14T07:17:35.987Z
2,016
4
7
3
910
1
337
61
4
1
true
false
false
false
false
false
low
36,616,515
Instant Run not working
<p><strong>Precondition</strong></p> <p>Since I use android studio 2.0 (Release version) I get many inner class erros when compiling my app (those seem to be not relevant, as the app still works fine). When I disable instant run, my app works perfectly fine, if I enable it, the app crashes</p> <p><strong>Observations...
Precondition Since I use android studio 2.0 (Release version) I get many inner class erros when compiling my app (those seem to be not relevant, as the app still works fine). When I disable instant run, my app works perfectly fine, if I enable it, the app crashes Observations The errors while compiling are following: [...
android|instant-run
7
2016-04-14T07:32:26.103Z
2,016
4
7
3
1,962
4
696
23
2
2
true
false
false
false
false
false
medium
36,616,524
Xamarin Support Package error
<pre><code>Please install package: 'Xamarin.Android.Support.Design' available in SDK installer. Android resource directory C:\Users\Srinivasarao\AppData\Local\Xamarin\Android.Support.Design\23.0.1.3\embedded\./ doesn't exist. Sample.Droid Please install package: 'Xamarin.Android.Support.Design' available in SDK insta...
[CODE] Hi Friends I am trying to Execute Sample Xamarin Form App In VisualStudio But i am Getting Above errors. Please Help me. But when i trying to install this version package it is instatting empty folder in this location 'C:\Users\Srinivasarao\AppData\Local\Xamarin\Android.Support.Design\23.0.1.3\'
android|xamarin|xamarin.android|xamarin.forms|android-permissions
1
2016-04-14T07:33:00.867Z
2,016
4
7
3
4,187
4
303
29
5
1
true
false
true
false
false
false
low
36,616,543
Replace Android handler with RXJava
<p>In Activity I have some kind of timeout for user action. If user do nothing I need produce some other action for system. For this I am using Handler</p> <pre><code>protected void stopTimeout() { handler.removeMessages(0); } private void startTimeout() { stopTimeout(); handler.postDelayed(new Runnable()...
In Activity I have some kind of timeout for user action. If user do nothing I need produce some other action for system. For this I am using Handler [CODE] Handler can be stopped for some user actions like buttons click [CODE] But at the moment I have to many variants of user actions. All this push to stopTimout from a...
android|handler|rx-java
1
2016-04-14T07:34:24.953Z
2,016
4
7
3
4,392
2
474
35
3
2
true
false
true
false
false
false
low
36,616,722
When drawable left is set the floating text is moving towards right
<p>I have an <code>EditText</code> with <code>TextInputLayout</code>. I am setting an image at drawable left, but when I set it the floating hint text also moving towards right. Please see the below screenshot:</p> <p><a href="https://i.stack.imgur.com/sUwBn.png" rel="nofollow noreferrer"><img src="https://i.stack.img...
I have an EditText with TextInputLayout . I am setting an image at drawable left, but when I set it the floating hint text also moving towards right. Please see the below screenshot: I want the view looks like below: If anybody has idea on how to fix it, please help me. Xml code below: [CODE]
android|android-edittext|android-drawable|android-textinputlayout
1
2016-04-14T07:43:53.333Z
2,016
4
7
3
528
0
293
67
4
1
true
true
false
false
false
false
low
36,616,785
how to set click event in current tab layout
<p>i have two tab one is login and 2nd is inquiry. i set layout in both tab. but i don't have idea how to set click event on login activity and inquiry activity. just take example currently i am on login tab. In login i have two button submit and cancel if user press submit go to next page ..how i do like that</p> <p...
i have two tab one is login and 2nd is inquiry. i set layout in both tab. but i don't have idea how to set click event on login activity and inquiry activity. just take example currently i am on login tab. In login i have two button submit and cancel if user press submit go to next page ..how i do like that LoginEnquir...
android|onclick|android-tabhost
-1
2016-04-14T07:47:11.817Z
2,016
4
7
3
2,207
1
361
44
3
2
true
false
false
false
false
true
negative
36,616,791
Out of memory error while loading image in CircularImageView
<p>I am trying to load an image in CircularImageView but it is giving me outOfMemory error. I am using following code for CircularImageView:</p> <p><strong>CircularImageView.java</strong></p> <pre><code> public class CircularImageView extends ImageView { public CircularImageView(Context ctx, AttributeSet attr...
I am trying to load an image in CircularImageView but it is giving me outOfMemory error. I am using following code for CircularImageView: CircularImageView.java [CODE] I using it in the design as given below: [CODE] I am getting image from server and trying to display it in the list view using Adapter.Following code is...
android|imageview|out-of-memory
-1
2016-04-14T07:47:25.753Z
2,016
4
7
3
455
2
498
60
3
3
true
false
false
false
false
true
negative
36,616,900
react-native ListView line feed
<p>listview line feed to next line ,every line with two items, here is the datasource:</p> <pre><code>var data=[ { "name": "test name0", "url": "http://someurl.com" }, { "name": "test name1", "url": "http://someurl.com" }, { ...
listview line feed to next line ,every line with two items, here is the datasource: [CODE] I want to display it as what the red words shows: test name0 ,test name1 (then line feed and data shows at the next line). test name 2,test name3 ... I think it might not be a difficult problem. But I just don't know how to make ...
android|listview|react-native
-1
2016-04-14T07:53:02.973Z
2,016
4
7
3
198
1
349
31
3
2
true
false
false
false
false
true
negative
36,616,910
How to pass HashMap Value through an Instance?
<p>I am creating Fragment depends on retrieving of Category Count from Server. If it has 5 Category, 5 Tab Fragment has to be created.For this, I used the following code.</p> <p>Here values1 is the Category Id &amp; Category Name is values.</p> <pre><code> class ViewPagerAdapter extends FragmentStatePagerAdapter {...
I am creating Fragment depends on retrieving of Category Count from Server. If it has 5 Category, 5 Tab Fragment has to be created.For this, I used the following code. Here values1 is the Category Id & Category Name is values. [CODE] return TabFragmentSearch.newInstance(values1.get(position), values.get(position)); Now...
android|android-fragments|tabs|hashmap|instance
0
2016-04-14T07:53:36.360Z
2,016
4
7
3
52
1
482
46
5
1
true
false
false
false
false
false
zero
36,616,962
Youtube API to fetch all the vidoes uploaded in a channel using channel id
<p>I have created a test youtube account. I want to retreive all the vidoes uploaded in this channel using channel id and show all these vidoes to the users without authentication. In the below YouTube api page:</p> <pre><code>https://developers.google.com/youtube/v3/sample_requests#playlists </code></pre> <p>I foun...
I have created a test youtube account. I want to retreive all the vidoes uploaded in this channel using channel id and show all these vidoes to the users without authentication. In the below YouTube api page: [CODE] I found a API that can be used for unathenticated requests to fetch all the uploaded videos using channe...
android|api|youtube
0
2016-04-14T07:56:18.363Z
2,016
4
7
3
363
1
695
74
3
4
true
false
false
false
false
false
zero
36,616,987
No response from menu option buttons
<p>menu buttons are not responding in this code . But the same code with another activity works correctly and gave responses.Update.java code works correctly.Cant identify what the problem is.. </p> <p>ItemAdd.java</p> <pre><code> public class ItemAdd extends AppCompatActivity implements View.OnClickListener { ...
menu buttons are not responding in this code . But the same code with another activity works correctly and gave responses.Update.java code works correctly.Cant identify what the problem is.. ItemAdd.java [CODE] Update.java` [CODE] Menu [CODE]
java|android
1
2016-04-14T07:57:52.427Z
2,016
4
7
3
36
0
242
36
2
3
true
true
false
false
false
false
low
36,617,006
Android - Single button in Activity used in over 3 Fragments
<p>So I'm using <code>AppbarLayout</code> which gives every <code>Fragment</code> replaced onto the <code>FrameLayout</code> (my container) scrolled a bit downwards.. I don't know what it's called but that's a normal <code>AppbarLayout</code> behavior, yes?</p> <p>So I need a footer which will stay in the bottom of sc...
So I'm using AppbarLayout which gives every Fragment replaced onto the FrameLayout (my container) scrolled a bit downwards.. I don't know what it's called but that's a normal AppbarLayout behavior, yes? So I need a footer which will stay in the bottom of screen, containing a button for specifically 3 Fragments and it's...
android|android-fragments
0
2016-04-14T07:58:49.457Z
2,016
4
7
3
226
2
1,126
60
2
0
false
false
false
false
false
false
zero
36,617,017
How to optimize insertion of thousands records in SQLite
<p>I am inserting 3000 records in DB using mentioned code i am getting list of param from server and making query using them but the problem is on emulator it took 2.5 minutes to insert and it taking just double on real device.</p> <p>So please tell me how should optimize insertion.</p> <p>Here is my code</p> <pre><...
I am inserting 3000 records in DB using mentioned code i am getting list of param from server and making query using them but the problem is on emulator it took 2.5 minutes to insert and it taking just double on real device. So please tell me how should optimize insertion. Here is my code [CODE]
android|sqlite
0
2016-04-14T07:59:30.610Z
2,016
4
7
3
89
1
296
56
2
1
true
false
false
false
false
false
zero
36,617,076
How to onresume in listview checkbox and edittext value
<p>In my app, i have listview with checkbox and edittext(quantity) finally submit button in fragment1. I select some checkbox and enter value in edittext and click submit button and its move to fragment2. </p> <p>My problem is.. If i again back to fragment1 means, I want to checked check box which one i choosed and se...
In my app, i have listview with checkbox and edittext(quantity) finally submit button in fragment1. I select some checkbox and enter value in edittext and click submit button and its move to fragment2. My problem is.. If i again back to fragment1 means, I want to checked check box which one i choosed and set quantity v...
java|android
0
2016-04-14T08:02:20.287Z
2,016
4
8
3
113
2
447
55
2
2
true
false
false
false
false
false
zero
36,617,158
Variable expected with a getter in a fragment
<p>I have a 2 dimensions array of int in a fragment, with his getter, as follows :</p> <pre><code>public class AddMatriceCalc extends Fragment { private static int [][] matriceRes = new int[MatriceActivity.n][MatriceActivity.n]; public static int[][] getMatriceResAM() { return matriceRes; } ... </code><...
I have a 2 dimensions array of int in a fragment, with his getter, as follows : [CODE] I want to use the getter in another fragment, but it doesn't work. When I used matriceRes without a getter ( public static int [][] matriceRes = new int[MatriceActivity.n][MatriceActivity.n] ) it works, but when I use the getter it d...
java|android|android-fragments|getter
1
2016-04-14T08:07:27.027Z
2,016
4
8
3
650
0
533
45
4
2
true
true
false
false
false
false
low
36,617,172
Android MediaScanner in UncaughtExceptionHandler not scanning file
<p>I have implemented an exception handler in my app which creates a dump file when the app crashes due to an uncaught exception, then hands off to the default exception handler.</p> <p>The file gets created with the correct contents, but it's not visible on a connected PC unless I manually trigger a media scan. I've ...
I have implemented an exception handler in my app which creates a dump file when the app crashes due to an uncaught exception, then hands off to the default exception handler. The file gets created with the correct contents, but it's not visible on a connected PC unless I manually trigger a media scan. I've added code ...
android|exception-handling|race-condition|android-mediascanner
0
2016-04-14T08:08:26.783Z
2,016
4
8
3
490
1
1,283
66
4
1
true
false
false
false
false
false
zero
36,617,182
Java file can't find DeviceEventManagerModule when compiling debug with Java
<p>I have been trying to write a module for react-native thats should call a Javascript method when the phone recevies a call. But when i run the command <code>react-native run-android</code> the <code>compileDebugJavaWithJavac</code> craches with the following error.</p> <pre><code>CallListenerModule.java:44 error: p...
I have been trying to write a module for react-native thats should call a Javascript method when the phone recevies a call. But when i run the command react-native run-android the compileDebugJavaWithJavac craches with the following error. [CODE] this is the CallListenerModule class: [CODE] I have search the great inte...
java|android|react-native
4
2016-04-14T08:08:51.090Z
2,016
4
8
3
1,937
1
637
76
3
2
true
false
false
false
false
false
low
36,617,304
How to make Tool bar Icon actionable in android?
<p>I have a Tool bar in main activity in which I have a refresh icon which is actionable right now But problem is that when I click refresh icon it opens a popup menu like this</p> <p><img src="https://i.stack.imgur.com/YKhAw.png" alt="ActionBar"></p> <p>when I again click on this text it refresh page .what I want to...
I have a Tool bar in main activity in which I have a refresh icon which is actionable right now But problem is that when I click refresh icon it opens a popup menu like this when I again click on this text it refresh page .what I want to refresh page without this text only when I click refresh icon it will refresh page...
android
0
2016-04-14T08:15:00.177Z
2,016
4
8
3
30
1
431
48
1
2
true
false
false
false
false
false
zero
36,617,328
Singleton Method Gives Error in OnResum (Android)
<p>I have a problem that I could not understand why it is happening.</p> <p>I have a fragment, and in the fragment I have the on resume method as below:</p> <pre><code>@Override public void onResume(){ super.onResume(); System.out.println("number 1"); int s = ((StarterApplication) this.getActivity().get...
I have a problem that I could not understand why it is happening. I have a fragment, and in the fragment I have the on resume method as below: [CODE] And my singletons are as below: [CODE] And I call this fragment once in the oncreate of the activity as below, which works fine. The singleton methods and else. [CODE] An...
android|fragment|global-variables|onresume
0
2016-04-14T08:16:27.527Z
2,016
4
8
3
156
1
658
49
4
5
true
false
false
false
false
false
zero
36,617,361
Does AcitivtyAnimation don't work when there is a fragment
<p>I have an Activity in Which I am trying to use Activity Transition but The Explode Transition is not working for some reason What I have is an Activity which has Exploded Animation and I am inflating fragment inside it.</p> <p>The Fragment has a RecyclerView which has a gridLayoutManager what I want my Explode Anim...
I have an Activity in Which I am trying to use Activity Transition but The Explode Transition is not working for some reason What I have is an Activity which has Exploded Animation and I am inflating fragment inside it. The Fragment has a RecyclerView which has a gridLayoutManager what I want my Explode Animation to do...
android|android-animation|android-transitions
2
2016-04-14T08:18:03.450Z
2,016
4
8
3
267
0
446
58
3
1
true
true
false
false
false
false
low
36,617,658
How can I sum multiple spinners?
<p>I have multiple spinners with a string array that has 3 items called "70","80" and "90". After the user selects these different spinner items I want to be able to sum up all of the items which the user has selected and display the total in a textview.For example a user selects "70" from one spinner and "70" from ano...
I have multiple spinners with a string array that has 3 items called "70","80" and "90". After the user selects these different spinner items I want to be able to sum up all of the items which the user has selected and display the total in a textview.For example a user selects "70" from one spinner and "70" from anothe...
java|string|android-studio|sum|spinner
0
2016-04-14T08:31:12.117Z
2,016
4
8
3
737
1
386
32
5
1
true
false
false
false
false
false
zero
36,617,707
Fullscreen videoview inside recyclerview
<p>In recyclerview i want when i click full screen button the videoview must play in fullscreen mode. But i don't want to use another activity for videoview fullscreen. Is there any best way possible to do this.</p> <pre><code> DisplayMetrics displaymetrics = new DisplayMetrics(); getActivity()....
In recyclerview i want when i click full screen button the videoview must play in fullscreen mode. But i don't want to use another activity for videoview fullscreen. Is there any best way possible to do this. [CODE] using above method makes the videoview fullscreen in the recyclerview. i want the videoview only should ...
android|android-mediaplayer|android-recyclerview|android-videoview
0
2016-04-14T08:33:35Z
-1
-1
-1
-1
830
1
354
40
4
1
true
false
false
false
false
false
zero
36,617,801
What is the good strategy when dealing with Proguard, MultiDex, Testing and Product Flavors?
<p>I have an app that reference ~ 100K methods, with min Sdk = 16</p> <p>Here is 2 option for assembling:</p> <ul> <li>Proguard shrink this bunch of methods to only 44K methods</li> <li>Use Multi Dex</li> </ul> <p>Now I have some common use cases:</p> <ol> <li>Run and debug on emulator and devices <ul> <li>It requ...
I have an app that reference ~ 100K methods, with min Sdk = 16 Here is 2 option for assembling: Proguard shrink this bunch of methods to only 44K methods Use Multi Dex Now I have some common use cases: Run and debug on emulator and devices It requires to be as fast as possible Do tests (Integration and UI) It requires ...
android|gradle|proguard|android-productflavors|android-multidex
6
2016-04-14T08:37:39.163Z
2,016
4
8
3
1,255
2
866
92
5
1
true
false
false
false
false
false
medium
36,617,847
"Uncaught TypeError: Cannot read property 'o' of null" | Google Print Android
<p>I am implementing Google Print from my Android App. And i have implemented but when i do the print i am getting this error - </p> <pre><code>[INFO:CONSOLE(287)] "Uncaught TypeError: Cannot read property 'o' of null", source: https://www.google.com/cloudprint/client/1572946473-dialog_mobile.js (287) </code></pre> <...
I am implementing Google Print from my Android App. And i have implemented but when i do the print i am getting this error - [CODE] I have search about this error. And i got settings.setDomStorageEnabled(true); But still i am getting same error. Please help me out. Thanks in Advance. Code to Call PrintDialog. [CODE]
android
2
2016-04-14T08:40:19.593Z
2,016
4
8
3
646
1
317
77
1
2
true
false
false
false
false
false
low
36,617,852
Send value to broadcastReceiver Intent Filter
<p>I am trying to send extra value to broadcast receiver I am always getting null value. Can somebody help me fix this?</p> <p>Here is what I have tried:</p> <pre class="lang-java prettyprint-override"><code> IntentFilter intentFilter = new IntentFilter(DownloadManager.ACTION_DOWNLOAD_COMPLETE); context.registerRece...
I am trying to send extra value to broadcast receiver I am always getting null value. Can somebody help me fix this? Here is what I have tried: [CODE] And in my BroadcastReceiver : [CODE] Thanks!
android|intentfilter|android-broadcastreceiver
1
2016-04-14T08:40:41.600Z
2,016
4
8
3
440
1
195
45
3
2
true
false
false
false
false
false
low
36,617,893
Android - AppCompat does not support the current theme features Error
<p>My app was working fine until I deleted few layout files and activities. Since then its showing this error: </p> <pre><code>java.lang.RuntimeException: Unable to start activity ComponentInfo{com.skaprer.jope/com.skaprer.jope.Controllers.LoaderActivity}: java.lang.IllegalArgumentException: AppCompat does not support...
My app was working fine until I deleted few layout files and activities. Since then its showing this error: [CODE] My LoaderActivity file where error occurs : [CODE] Theme files: [CODE] v21 : [CODE] Ever since the change, the app fails to start. I tried changing the intent filter to start different activities to check ...
android|themes|android-appcompat|android-styles|illegalargumentexception
0
2016-04-14T08:42:14.813Z
2,016
4
8
3
3,014
4
433
69
5
4
true
false
true
false
false
false
zero
36,617,922
I am trying to implement typedarray for drawables array
<p>I tried different ways through simple int[] then Typed array now my Typed array is giving resource id as 2130837586. How do I convert it to in the form of <code>R.drawable</code>? And if I tried to use <code>getDrawable</code> it gives this : </p> <pre><code>android.graphics.drawable.BitmapDrawable@42007a80 </code>...
I tried different ways through simple int[] then Typed array now my Typed array is giving resource id as 2130837586. How do I convert it to in the form of R.drawable ? And if I tried to use getDrawable it gives this : [CODE] I checked these in logcat. Edit - ids.getIndexCount() is also zero. This is my code. Please Hel...
android|arrays|android-drawable|typed-arrays
0
2016-04-14T08:43:29.617Z
2,016
4
8
3
337
1
384
55
4
4
true
false
false
false
false
false
zero
36,618,009
Android get textview width and height before the setting text and rendering
<p>I am trying to get the width of a textview setting the text. Here's the Code I am using:</p> <pre><code>public int getTextViewEffectedWidth(TextView textView, String content){ Rect bounds = new Rect(); Paint paint = textView.getPaint(); paint.getTextBounds(content, 0, content.len...
I am trying to get the width of a textview setting the text. Here's the Code I am using: [CODE] But this method returns larger width. Example: I need set in textview value "6978" This method was calculate width = 46 (By the way returned value in dp or sp ? I set in dp, cause in px this value in not enough.) If I set te...
android|textview|width
1
2016-04-14T08:48:02.007Z
2,016
4
8
3
682
2
503
75
3
1
true
false
false
false
false
false
low
36,618,154
Android SupportMapFragment inside Fragment
<p>I'm trying to use SupportMapFragment inside a fragment. On the first launch, the map is display without any error. </p> <p>But when I perform a transaction to another fragment, and after that return to the map, I have an error inflating fragment. But I don't have any error when I make en new instance of the fragmen...
I'm trying to use SupportMapFragment inside a fragment. On the first launch, the map is display without any error. But when I perform a transaction to another fragment, and after that return to the map, I have an error inflating fragment. But I don't have any error when I make en new instance of the fragment that conta...
android|supportmapfragment
7
2016-04-14T08:54:27.050Z
2,016
4
8
3
8,443
2
680
42
2
4
true
false
true
false
false
false
medium
36,618,175
Dynamic ImageView 100% width in android Xamarin
<p>I am working with Xamarin and Visual studio. I want to add dynamically ImageView on my app from on an REST service.</p> <p>My Main.axml is looking like this:</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientati...
I am working with Xamarin and Visual studio. I want to add dynamically ImageView on my app from on an REST service. My Main.axml is looking like this: [CODE] My MainActivity.cs is like this: [CODE] I am trying to make the ImageView to be on the whole width of the screen. Unfortunatelly it looks like this: What should I...
c#|android|visual-studio|xamarin.android
0
2016-04-14T08:55:33.833Z
2,016
4
8
3
1,372
1
380
47
4
2
true
false
false
false
false
false
zero
36,618,180
How do I prevent Navigation Drawer to close accidentally while I try to scroll a list inside it?
<p>I am using android.support.v4.widget.DrawerLayout in my activty and navigation drawer occupies 3/4th of the screen width. The drawer has a recycleview which gets populated using some adapater. Now the problem is that when I try to scroll the recycleview then sometimes DrawerLayout steals the event and close the draw...
I am using android.support.v4.widget.DrawerLayout in my activty and navigation drawer occupies 3/4th of the screen width. The drawer has a recycleview which gets populated using some adapater. Now the problem is that when I try to scroll the recycleview then sometimes DrawerLayout steals the event and close the drawer ...
android|navigation-drawer
0
2016-04-14T08:55:44.300Z
2,016
4
8
3
761
1
572
96
2
1
true
false
false
false
false
false
zero
36,618,189
Android : java.lang.SecurityException: Permission Denial:
<p>I have an android application that i need to receive sms and I found a certain tutorial that teaches how to do that but when I run it &amp; I get android permission exception</p> <blockquote> <p>FATAL EXCEPTION: main ...
I have an android application that i need to receive sms and I found a certain tutorial that teaches how to do that but when I run it & I get android permission exception FATAL EXCEPTION: main Process: androidreceivesms.javapapers.com.smsbroadcastreceiver, PID: 12206 java.lang.RuntimeException: Unable to start activity...
java|android
0
2016-04-14T08:56:07.843Z
2,016
4
8
3
14,854
2
3,196
57
2
4
true
false
true
true
false
false
zero
36,618,192
NullPointException in RecyclerView
<p>I try to download list from server in AsyncTask and put it into recyclerView. However, I still get NullPointException on RecyclerView and have no idea why. I set LayoutManager and other stuff but problem still exists. Here's my fragment:</p> <pre><code>public class ChatMainFragment extends Fragment { private stat...
I try to download list from server in AsyncTask and put it into recyclerView. However, I still get NullPointException on RecyclerView and have no idea why. I set LayoutManager and other stuff but problem still exists. Here's my fragment: [CODE] Here's my adapter : [CODE] What I'm doing wrong ?
android-recyclerview
0
2016-04-14T08:56:13.703Z
2,016
4
8
3
33
1
294
34
1
2
true
false
false
false
false
false
zero
36,618,245
Android Studio 2.0 build gradle error
<p>I've just updated Android Studio to version 2.0 built on 5'th April 2016 from a stable channel and now I have a strange error when I try to build my project:</p> <blockquote> <p>Ignoring InnerClasses attribute for an anonymous inner class (org.apache.commons.collections.BeanMap$1) that doesn't come with an as...
I've just updated Android Studio to version 2.0 built on 5'th April 2016 from a stable channel and now I have a strange error when I try to build my project: Ignoring InnerClasses attribute for an anonymous inner class (org.apache.commons.collections.BeanMap$1) that doesn't come with an associated EnclosingMethod attri...
android|android-studio|build|android-gradle-plugin|build.gradle
6
2016-04-14T08:58:31.760Z
2,016
4
8
3
1,771
1
771
37
5
1
true
false
false
false
false
false
medium
36,618,294
open google play store on image click in android
<p>I have a about us page in android and there is a google play store image. On click of that image i want to open google play store Can any1 help me about how to do this thing? XML file and java class attached below. I am a newbie in android so please tell about all the changes to be made in all the files. Thanks</p> ...
I have a about us page in android and there is a google play store image. On click of that image i want to open google play store Can any1 help me about how to do this thing? XML file and java class attached below. I am a newbie in android so please tell about all the changes to be made in all the files. Thanks [CODE] ...
android|image|click
0
2016-04-14T09:00:26.537Z
2,016
4
9
3
757
2
345
48
3
2
true
false
false
false
false
false
zero
36,618,353
Horizontal Curved Sliding menu
<p>In my app i want to achieve some thing like this </p> <p><a href="https://i.stack.imgur.com/vOoHR.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vOoHR.jpg" alt="enter image description here"></a></p> <p>I have tried a lot of libraries which provide a circular layout for example like this one:- ...
In my app i want to achieve some thing like this I have tried a lot of libraries which provide a circular layout for example like this one:- https://github.com/dmitry-zaitsev/CircleLayout You can check the code for circlelayout there , not posting here as its too big. I have also tried Circular List view as discussed i...
android|xml|android-layout|horizontalscrollview
3
2016-04-14T09:03:13.550Z
2,016
4
9
3
3,646
2
581
30
4
0
false
false
true
false
false
false
low
36,618,407
Not getting proper voltage reading from my OBDII reading app
<p>I'm working on a OBDII reading app to read basic data such as (in this case) voltage. I've tried other apps and it works just fine to read the voltage of the OBDII adapter, so there's nothing wrong with the adapter itself.</p> <p>I'm using the <a href="https://github.com/pires/obd-java-api" rel="nofollow noreferrer...
I'm working on a OBDII reading app to read basic data such as (in this case) voltage. I've tried other apps and it works just fine to read the voltage of the OBDII adapter, so there's nothing wrong with the adapter itself. I'm using the OBDII api from pires on github . When connection to my OBDII via Bluetooth successf...
java|android|bluetooth|obd-ii
2
2016-04-14T09:05:24.710Z
2,016
4
9
3
84
0
549
60
4
4
true
true
false
false
false
false
low
36,618,420
When i switch between tabs i lose variable change inside listview
<p>Like i said: for example i am in Tab1 and inside it i have a customlistview where in a row there is an EditText object.</p> <p>So if i put 5, for example, it change but if i go to tab3 and then i return back to tab1 the value in EditText go back to 0.</p> <p>This is my <strong>Activity</strong> with Tabs:</p> <p>...
Like i said: for example i am in Tab1 and inside it i have a customlistview where in a row there is an EditText object. So if i put 5, for example, it change but if i go to tab3 and then i return back to tab1 the value in EditText go back to 0. This is my Activity with Tabs: and this is the ViewPagerHolder.java [CODE] ...
android|listview|variables|tabs|android-viewpager
0
2016-04-14T09:05:54.340Z
2,016
4
9
3
272
3
346
65
5
1
true
false
false
false
false
false
zero
36,618,540
Setting the FloatingActionButton ripple
<p>Im trying to set the FloatingActionButton ripple to something similar to <a href="https://material-design.storage.googleapis.com/publish/material_v_4/material_ext_publish/0B6Okdz75tqQsWDNDYXc2NXJUNDQ/components-buttons-fab_02_xhdpi_002.webm" rel="noreferrer">this</a></p> <p>From Material design.</p> <p>The problem...
Im trying to set the FloatingActionButton ripple to something similar to this From Material design. The problem is that I only get a "Flat style" where there is no ripple, it just changes the button from, in my case, white to orange without the animation shown in the link above. I have followed the answer here: Floatin...
android|android-animation|material-design|floating-action-button
20
2016-04-14T09:10:41.693Z
2,016
4
9
3
16,485
5
546
39
4
2
true
false
true
true
true
false
medium
36,618,543
Null Pointer Exception while calling Fragment method from parent activity
<p>This is the parent activity of the fragment from where we will call a method of FragmentClass. The reference to fragment class is showing a null pointer exception.</p> <p>Below we will see the starting of fragment from the parent activity.</p> <pre><code>public class HomeActivity extends FragmentActivity { Ro...
This is the parent activity of the fragment from where we will call a method of FragmentClass. The reference to fragment class is showing a null pointer exception. Below we will see the starting of fragment from the parent activity. [CODE] Now the method from where we are calling the fragment class method. There is som...
java|android|android-fragments
0
2016-04-14T09:10:46.353Z
2,016
4
9
3
745
1
840
73
3
5
true
false
false
false
false
false
zero
36,618,599
My App works for some but not others and I cant figure out why
<p>My App Drive Safe can be found <a href="https://play.google.com/store/apps/details?id=westport.andrewirwin.com.drivesafe" rel="nofollow">here</a>. Drive Safe is a free app to prevent distracted driving. It automatically replies to anyone who calls or texts you while the app is on.</p> <p>I have 2 test phones and it...
My App Drive Safe can be found here . Drive Safe is a free app to prevent distracted driving. It automatically replies to anyone who calls or texts you while the app is on. I have 2 test phones and it works perfect on them, and have tested it on friends phones, up to nearly 20 at this stage and it works perfect on them...
android|broadcastreceiver|sms|android-service|call
1
2016-04-14T09:13:37.427Z
2,016
4
9
3
73
0
1,604
62
5
4
true
true
false
false
false
false
low
36,618,604
Android Java - Call a WCF Rest Webservice with Post Request
<p>I'm tired of giving turns to something that seems so simple but it is not to give and have scoured all forums and tututiais .</p> <p>I wanted to do in android a call to a WCF Rest WebService through POST requests .</p> <p>In c# I can do it, sending the post , url and "body param" ." </p> <p>But in android ( java ...
I'm tired of giving turns to something that seems so simple but it is not to give and have scoured all forums and tututiais . I wanted to do in android a call to a WCF Rest WebService through POST requests . In c# I can do it, sending the post , url and "body param" ." But in android ( java ) when sending a parameter ,...
android|rest|post|request|webservices-client
2
2016-04-14T09:13:46.830Z
2,016
4
9
3
568
0
663
59
5
2
true
true
false
false
false
false
low
36,618,897
Ionic CSS animation not working on device
<p>I've got a ToDo-List style Ionic app with an <code>&lt;ion-list&gt;</code> and <code>&lt;ion-item ng-repeat&gt;</code>.</p> <p>The <code>&lt;ion-items&gt;</code> do have the folowing <code>animation.css</code> on <code>.ng-hide</code>:</p> <pre><code> -webkit-animation: flipOutX 0.3s; animation: flipOutX 0.3s; ...
I've got a ToDo-List style Ionic app with an <ion-list> and <ion-item ng-repeat> . The <ion-items> do have the folowing animation.css on .ng-hide : [CODE] The animation works fine in the browser but doesn't work on devices (android/ios). When I debug the app with safari I can see that .ng-hide with the right css is pro...
android|ios|css|angularjs|ionic-framework
0
2016-04-14T09:26:27.077Z
2,016
4
9
3
1,710
1
858
41
5
2
true
false
false
false
false
false
zero
36,618,907
Make textview expand in recyclerView
<p>I have an item of RecyclerView that looks :</p> <p><a href="https://i.stack.imgur.com/pS050.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pS050.png" alt="enter image description here"></a></p> <p>If user click on the help icon, I want to show a description of the item in the middle expanding t...
I have an item of RecyclerView that looks : If user click on the help icon, I want to show a description of the item in the middle expanding the height of the item like this: I tryed differents ways but I cant make it work, I tryed to set the height of the parent ( but I dont think this is a good approach, since it sho...
android|xml|android-layout|textview|android-recyclerview
1
2016-04-14T09:26:49.157Z
2,016
4
9
3
920
2
556
36
5
1
true
false
false
false
false
false
low
36,618,935
ubuntu 15.10 64bit build Android source 5.0 version
<p>How can I fix this problem?When I was building the Android source of 5.0 with 'make -j4', it was causing a problem. This is the error log:</p> <pre><code>Install: out/host/linux-x86/bin/acp Yacc: aidl &lt;= frameworks/base/tools/aidl/aidl_language_y.y prebuilts/misc/linux-x86/bison/bison -d -o out/host/linux-x86/...
How can I fix this problem?When I was building the Android source of 5.0 with 'make -j4', it was causing a problem. This is the error log: [CODE]
android|linux|ubuntu|android-source
-3
2016-04-14T09:28:07.543Z
2,016
4
9
3
4,426
2
145
51
4
1
true
false
true
false
false
true
negative
36,618,993
how can i change backcolor of row in listview
<ul> <li><p>hello frnds i m developing shopping app</p></li> <li><p>This is my code here i want to change backcolor of row in listview when quantity of item is greater than 0,so that i can differ the items that bought by customers and items which are not. </p></li> <li><p>i am using this xml to show my itemlist</p> <p...
hello frnds i m developing shopping app This is my code here i want to change backcolor of row in listview when quantity of item is greater than 0,so that i can differ the items that bought by customers and items which are not. i am using this xml to show my itemlist thnk you in advance [CODE]
android|listview|backcolor
-1
2016-04-14T09:30:28.470Z
2,016
4
9
3
38
1
294
45
3
1
true
false
false
false
false
true
negative
36,619,157
TextViews animation onClickListener
<p>I animated a LinearLayout to make it like "live news", like this.</p> <pre><code> &lt;LinearLayout android:id="@+id/ll_live_tv" android:layout_width="wrap_content" android:layout_height="wrap_content" android:gravity="top|start|left" android:orientation="horizontal" &gt; ...
I animated a LinearLayout to make it like "live news", like this. [CODE] Inside that LinearLayout there are several LinearLayout constituted by 2 TextViews(Title and Description)... [CODE] I tried to put OnclickListener on the childs of first layout, like this... [CODE] i tried aswell put in the TextViews(Title and Des...
java|android|textview|android-linearlayout|onclicklistener
2
2016-04-14T09:36:49.573Z
2,016
4
9
3
500
0
1,073
35
5
5
true
true
false
false
false
false
low
36,619,217
place two layouts besides each other
<p>My layout look like this:</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent" android:background="@drawable/ightwall...
My layout look like this: [CODE] I want the two linear layers to look like this: the red layout will be for buttons ,and the green layout will be for changeable screens I'm developing in android studio . I need the red layout to fill a fixed width the the green layout to fill the rest of the screen. i want to get rid o...
android|android-layout|android-linearlayout
0
2016-04-14T09:38:59.677Z
2,016
4
9
3
82
2
353
36
3
1
true
false
false
false
false
false
zero
36,619,340
How to change the statusbar color
<p>Hey i want to change my statusbar color i set in my <code>styles.xml</code> and v21/styles.xml this:</p> <pre><code> &lt;style name="AppTheme" parent="Theme.AppCompat"&gt; &lt;!-- Customize your theme here. --&gt; &lt;item name="colorPrimary"&gt;@color/colorPrimary&lt;/item&gt; &lt;item name="colorPr...
Hey i want to change my statusbar color i set in my styles.xml and v21/styles.xml this: [CODE] and in my main activity this: [CODE] but it dosent work... can someone help? I use AppCompact in my mainAcitvity
android|android-statusbar|android-color
-1
2016-04-14T09:43:59.540Z
2,016
4
9
3
852
2
207
33
3
2
true
false
false
false
false
true
negative
36,619,353
How to pass hashmap KEY to spinner1 and its corresponding VALUES to spinner2 android
<p>I am fetching values from XML values from web.....in below code I am getting values correctly but I am not able to pass the KEY to spinneer1 and when spinner1 is changed its corresponding VALUES in spinner2 will be changed accordingly.</p> <p><strong>In LOGCAT I am getting values like this which i have to pass to b...
I am fetching values from XML values from web.....in below code I am getting values correctly but I am not able to pass the KEY to spinneer1 and when spinner1 is changed its corresponding VALUES in spinner2 will be changed accordingly. In LOGCAT I am getting values like this which i have to pass to both the spinners [C...
java|android|arrays|hashmap|android-arrayadapter
-1
2016-04-14T09:44:23.523Z
2,016
4
9
3
220
1
953
84
5
4
true
false
false
false
false
true
negative
36,619,426
Libgdx - fade away effect
<p>Currently I have implemented my fade effect away, so that when the screen opens up it starts with <code>[alpha = 0]</code>, and then for each Sprite that it is drawing it does <code>[alpha += 2.5f * delta_time]</code> until it reaches <code>[alpha + 2.5f * delta &gt;= 1]</code>...</p> <p>And the same applies to <co...
Currently I have implemented my fade effect away, so that when the screen opens up it starts with [alpha = 0] , and then for each Sprite that it is drawing it does [alpha += 2.5f * delta_time] until it reaches [alpha + 2.5f * delta >= 1] ... And the same applies to [if screen = closed] --> [alpha = 1] and [alpha -= 2.5...
android|libgdx
0
2016-04-14T09:47:13.997Z
2,016
4
9
3
200
1
980
25
2
1
true
false
false
false
false
false
zero
36,619,579
How can I set up button onclicklistner when using simple cursor adapter
<ul> <li>Here is the code I am using to show a custom <code>ListView</code> using simple <code>CursorAdapter</code></li> <li>I am using this code to show cart items, and I want to add button in <code>ListView</code></li> <li>As I am new to android development I'm not able to figure out what the problem is</li> </ul> <...
Here is the code I am using to show a custom ListView using simple CursorAdapter I am using this code to show cart items, and I want to add button in ListView As I am new to android development I'm not able to figure out what the problem is [CODE]
android|listview|simplecursoradapter
1
2016-04-14T09:54:31.543Z
2,016
4
9
3
442
1
247
71
3
1
true
false
false
false
false
false
low
36,619,637
Android EditText error underlined
<p>I tried to test my perfectly working app on 6.0 android and this is what i get:</p> <p><a href="https://i.stack.imgur.com/Af6jz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Af6jz.png" alt="My problem. that error message is underlined"></a></p> <p>The main idea that there is no Error message a...
I tried to test my perfectly working app on 6.0 android and this is what i get: The main idea that there is no Error message and error message View is underlined. My edit text looks like this: [CODE] And selected Style "EditTextSmartTheme.Dark" is: [CODE] When i remove theme Error message shows as it should, but EditTe...
android|styles
1
2016-04-14T09:56:51.283Z
2,016
4
9
3
584
1
381
33
2
2
true
false
false
false
false
false
low
36,619,648
Preview size automatically changed to 1024X768 in galaxy tab which has 1200X800 surface view
<p>I want to show a video preview in my galaxy tab which has surface view of 1200X800 when I try to set the camera parameters with that value, it just does not take, if it does not take, it shows me squeezed videos. After finding the issue, I found that, it takes the resolution of 1024X768, I am not sure why its not ta...
I want to show a video preview in my galaxy tab which has surface view of 1200X800 when I try to set the camera parameters with that value, it just does not take, if it does not take, it shows me squeezed videos. After finding the issue, I found that, it takes the resolution of 1024X768, I am not sure why its not takin...
android|android-camera|surfaceview|javacv
0
2016-04-14T09:57:41.190Z
2,016
4
9
3
87
0
421
92
4
1
true
true
false
false
false
false
zero
36,619,816
NullPointerException: Attempt to invoke virtual method findViewById(int)' on a null object reference
<p>I wrote codes about fragment according to the <a href="http://developer.android.com/training/basics/fragments/communicating.html" rel="nofollow">Google official tutorial</a><br> and both of them are almost the same,but why I still got error that couldn't find the <code>TextView</code>. It consists of four ja...
I wrote codes about fragment according to the Google official tutorial and both of them are almost the same,but why I still got error that couldn't find the TextView . It consists of four java classes, and three layout files.I may want to work on the landscape,the tricky part is in the landscape,for the portrait works ...
android|xml|android-layout|android-fragments
-9
2016-04-14T10:03:26.347Z
2,016
4
10
3
448
1
911
100
4
5
true
false
false
false
false
true
negative
36,619,889
SSLHandshakeException using HttpsURLConnection in Android
<p>Details about my app:</p> <pre><code>compileSdkVersion 22 buildToolsVersion '22.0.1' defaultConfig { applicationId "My application id" minSdkVersion 13 targetSdkVersion 22 versionCode 4 versionName "2" } </code></pre> <p>I'm using HttpsURLConnection for Login ...
Details about my app: [CODE] I'm using HttpsURLConnection for Login authentication.But now i'm facing javax.net.ssl.SSLHandshakeException: javax.net.ssl.SSLProtocolException that too on devices running below android lollipop.Authentication is working as expected on devices running OS verions abouve 5.Please let me know...
android|httpsurlconnection|sslv3
1
2016-04-14T10:06:47.473Z
2,016
4
10
3
1,713
1
424
57
3
3
true
false
false
false
false
false
low
36,619,892
Facebook SDK 4.10 Read And Publish Permission android Code
<p>how to put facebook readpermission and publish permission in single login. Here my code</p> <pre><code> protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); FacebookSdk.sdkInitialize(getApplicationContext()); setContentView(R.layout.activity_main); callbackManager...
how to put facebook readpermission and publish permission in single login. Here my code [CODE] the callbackmanager always calling back when facebook activity are done.
android|facebook|authentication|permissions
0
2016-04-14T10:06:52.180Z
2,016
4
10
3
229
0
167
58
4
1
true
true
false
false
false
false
zero
36,620,208
How to save images from bitmap into Storage in android
<p>I saved images in a storage succesfull, but I cann't read those images from storage, And this my code:-</p> <pre><code>String dir = Environment.getExternalStorageDirectory()+ File.separator+"DCIM/stegano"; </code></pre> <p><div class="snippet" data-lang="js" data-hide="false"> <div class="snippet-code"> <pre class...
I saved images in a storage succesfull, but I cann't read those images from storage, And this my code:- [CODE] [CODE]
java|android
0
2016-04-14T10:20:30.340Z
2,016
4
10
3
3,821
1
117
54
2
2
true
false
true
false
false
false
zero
36,620,226
Integer.parseInt() saying "invalid int" in Marhsmallow 6.0.1, Its working perfectly in Pre-Marshamallow versions
<p>I know really very well that the value i am parsing as an <strong>Integer</strong> here is a <strong>Long</strong> value.</p> <blockquote> <p><strong>The Question is :</strong> Why its working in Pre-Marshmallow ??</p> </blockquote> <p>Here is my code:</p> <pre><code>public void print(long mili) { Long serv...
I know really very well that the value i am parsing as an Integer here is a Long value. The Question is : Why its working in Pre-Marshmallow ?? Here is my code: [CODE] My Function: [CODE] Stacktrace : java.lang.RuntimeException: Unable to start activity ComponentInfo{com.srk/com.srk.DayPSearchActivity}: java.lang.Numbe...
java|android|integer|android-6.0-marshmallow
-7
2016-04-14T10:21:06.950Z
2,016
4
10
3
2,108
3
1,221
112
4
2
true
false
false
false
false
true
negative
36,620,254
**EDIT** How to set a cache clearing button in my android application
<p><strong>I want to place a button on that app that will clear the cache of my android app. Anyone know if that's possible?</strong></p> <p>Edit: This is my <strong>MainActivity</strong> code, that I use in my application.</p> <pre><code>package nl.giuliandenicola.giuliansportfolio; import android.net.ConnectivityM...
I want to place a button on that app that will clear the cache of my android app. Anyone know if that's possible? Edit: This is my MainActivity code, that I use in my application. [CODE]
android|android-layout|android-studio|directory|android-webview
1
2016-04-14T10:22:06.450Z
2,016
4
10
3
1,417
1
186
69
5
1
true
false
false
false
false
false
low
36,620,294
Offline navigation with Mapbox Sdk in Android app from Kml
<p>I'm trying to develop an <strong>offline</strong> navigation app for Trekking.</p> <p>The app shows to the user a list of nearby track/routes where he can go. Examples:<br> -Walking to Etna Vulcan<br> -Walking in the wood.</p> <p>I've several KML files provided to me by local guides, each one for a different track...
I'm trying to develop an offline navigation app for Trekking. The app shows to the user a list of nearby track/routes where he can go. Examples: -Walking to Etna Vulcan -Walking in the wood. I've several KML files provided to me by local guides, each one for a different track. So, if i choose "Walking to Etna Vulcan", ...
android|android-studio|mapbox|offline-caching|mapbox-gl
0
2016-04-14T10:23:55.500Z
2,016
4
10
3
1,512
1
995
58
5
0
false
false
false
false
false
false
zero
36,620,302
Dialog dismiss delay - Android
<p>I have a dialog and I want it to be dismissible on-touch-outside after a time delay.</p> <p>If I do this -</p> <pre><code>dialog.setCanceledOnTouchOutside(false); </code></pre> <p>And add a touch listener to an underlying view,</p> <pre><code> listview.setOnTouchListener(new View.OnTouchListener() { @Ove...
I have a dialog and I want it to be dismissible on-touch-outside after a time delay. If I do this - [CODE] And add a touch listener to an underlying view, [CODE] obviously it won't work, since I've made it un-cancelable. But if I do this - [CODE] I can't control the delay in dismissal. Any window properties etc. I can ...
android|dialog
2
2016-04-14T10:24:17.903Z
2,016
4
10
3
1,486
1
388
30
2
3
true
false
false
false
false
false
low
36,620,320
It works fine in Android Studio also in my Phone(SONY) but other phone it says stopped working
<p><a href="https://i.stack.imgur.com/4Xh29.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4Xh29.jpg" alt="enter image description here"></a></p> <p>In my Sony Xperia phone it works fine no errors </p> <p>my Logcat:</p> <pre><code>04-13 17:53:18.388 2500-2500/com.example.shyeilla.myfirstgamev10 I...
In my Sony Xperia phone it works fine no errors my Logcat: [CODE]
javascript|java|android
1
2016-04-14T10:25:09.470Z
2,016
4
10
3
111
0
65
94
3
1
true
true
false
false
false
false
low
36,620,333
Error in android studio while starting and creating a new project
<p>Android Studio worked fine everyday. But when i re-install my studio, it started showing an error when I create a new project and on started. </p> <p>Error Message : </p> <pre><code>Illegal type at constant pool entry 92 in class com.android.tools.idea.gradle.invoker.GradleTasksExecutor$3 Exception Det...
Android Studio worked fine everyday. But when i re-install my studio, it started showing an error when I create a new project and on started. Error Message : [CODE]
android|android-studio|intellij-idea
0
2016-04-14T10:25:35.230Z
2,016
4
10
3
52
1
164
65
3
1
true
false
false
false
false
false
zero
36,620,499
Unable to startActivity from Recycler View Adapter
<pre><code>public class VendorAdapter extends RecyclerView.Adapter&lt;VendorAdapter.MyViewHolder&gt; { private List&lt;Vendor&gt; vendorList; public class MyViewHolder extends RecyclerView.ViewHolder implements View.OnClickListener { public TextView name, rating, address; RelativeLayout rl; Context con; ...
[CODE] } Unable to startActivity from Recycler View Adapter I want to open same activity on every item click of recycler view,but the way i am doing it,i am getting NULL POINTER on this line-con.startActivity(intent); Please help me with this. ##
android|onclick|android-recyclerview
8
2016-04-14T10:33:45.310Z
2,016
4
10
3
11,688
2
246
50
3
1
true
false
true
true
false
false
medium
36,620,984
Image posting to API
<p>I would like to post my image (It is named as <code>file</code>.) to Kairos API for recognition. I try to send a built in camera made <code>JPG</code> picture. I have already tested one of these photos with <code>Postman</code> and service can successfully process these images.</p> <pre><code> public void on...
I would like to post my image (It is named as file .) to Kairos API for recognition. I try to send a built in camera made JPG picture. I have already tested one of these photos with Postman and service can successfully process these images. [CODE] I get following in logcat: 04-14 12:46:42.323 12969-12969/kovacsdev.hu.f...
android|face-recognition|api-design
1
2016-04-14T10:55:12.483Z
2,016
4
10
3
55
0
2,331
20
3
1
true
true
false
false
false
false
low
36,621,072
Android error when casting a interface in fragment?
<p>AndroidRuntime: FATAL EXCEPTION: main Process: app.com.exam.administrator.healthcareapp, PID: 2663 java.lang.ClassCastException: app.com.exam...
AndroidRuntime: FATAL EXCEPTION: main Process: app.com.exam.administrator.healthcareapp, PID: 2663 java.lang.ClassCastException: app.com.exam.administrator.healthcareapp.MainActivity cannot be cast to app.com.exam.administrator.healthcareapp.SaveHealth at app.com.exam.administrator.healthcareapp.BMI_Fragment.onActivity...
android
-4
2016-04-14T10:59:04.180Z
2,016
4
10
3
767
1
1,183
51
1
0
false
false
false
false
false
true
negative
36,621,096
How to use handwave library for Android studio?
<p>I want to get hand gestures for my application.</p> <p>I googled for this.Some one suggested Hand Wave library full fill this.</p> <p>I get some sample code of Hand Wave by using the following link.</p> <p><a href="https://github.com/kritts/HandWave-Sample-Apps" rel="nofollow">https://github.com/kritts/HandWave-S...
I want to get hand gestures for my application. I googled for this.Some one suggested Hand Wave library full fill this. I get some sample code of Hand Wave by using the following link. https://github.com/kritts/HandWave-Sample-Apps I am trying to import those samples to Android studio. It shows error like Project Hands...
android
1
2016-04-14T10:59:59.783Z
2,016
4
10
3
662
1
844
47
1
0
false
false
false
false
false
false
low
36,621,097
Image is not setting
<p>Here I am trying put image in view but I am not able to set Image in it I am using third party library of setting circular view.I am getting error while setting image.</p> <p>This code is in Main Activity and call when button is clicked.Any solution on code will be welcome</p> <pre><code>@Override protected void ...
Here I am trying put image in view but I am not able to set Image in it I am using third party library of setting circular view.I am getting error while setting image. This code is in Main Activity and call when button is clicked.Any solution on code will be welcome [CODE] Here is my Image Picker Activity which also co...
android|performance|android-studio
0
2016-04-14T11:00:00.783Z
2,016
4
11
3
563
2
586
20
3
3
true
false
false
false
false
false
zero
36,621,142
screen blinks during activity starts in android
<p>I have redirecting the fragment to activity.Progress wheel rotate before getting the data and then it will stops after getting data from web service.After loading the data from web service the screen gets blinks fraction of seconds.After blinking all the data are displayed in activity.How to remove the blinking effe...
I have redirecting the fragment to activity.Progress wheel rotate before getting the data and then it will stops after getting data from web service.After loading the data from web service the screen gets blinks fraction of seconds.After blinking all the data are displayed in activity.How to remove the blinking effects...
android
1
2016-04-14T11:01:53.330Z
2,016
4
11
3
1,023
1
341
47
1
1
true
false
false
false
false
false
low
36,621,291
Android store, fetch and display from sqlite db
<pre><code> **Activity.java** public class Next11 extends Activity { ListView listView; SQLiteDatabase sqLiteDatabase; UserDBhelper userDBhelper; Cursor cursor; ListDataAdapter listDataAdapter; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);...
[CODE] I am fetching data from sqlite db and displaying it in a multi column list view. But the app stops working before going to the display activity. And where do I check the db and inserted values? What is the solution?
android-layout
0
2016-04-14T11:08:36.613Z
2,016
4
11
3
16
0
222
47
1
1
true
true
false
false
false
false
zero
36,621,384
CoordinatorLayout scroll Tablayout itself
<p>I want to have an activity, which contains a TabLayout and a Viewpager and some stuff below the Viewpager, which is visible in every Tab, and also scrollable.</p> <p>When the recyclerview "tracks_recyclerview" is scrolled up, the TabLayout and the Edittext and the Viewpager hide as they should and the "all_tracks"-...
I want to have an activity, which contains a TabLayout and a Viewpager and some stuff below the Viewpager, which is visible in every Tab, and also scrollable. When the recyclerview "tracks_recyclerview" is scrolled up, the TabLayout and the Edittext and the Viewpager hide as they should and the "all_tracks"-relativelay...
scroll|android-recyclerview|android-tablayout|android-coordinatorlayout|android-appbarlayout
1
2016-04-14T11:12:58.783Z
2,016
4
11
3
421
0
761
41
5
1
true
true
false
false
false
false
low
36,621,393
Take full size photo from camera
<p>I Updated my code with @CommonWare's suggestions. </p> <pre><code>private static final String EXTRA_FILENAME = "qamatris.novi.com.tr.EXTRA_FILENAME"; private static final String FILENAME = UUID.randomUUID().toString().replaceAll("-", "");; @Override protected void onSaveInstanceState(Bundle outState) { super...
I Updated my code with @CommonWare's suggestions. [CODE] Now im getting NullpointerException:file " Uri uri =Uri.fromFile(output);" because of output is null. this line ( output=(File)savedInstanceState.getSerializable(EXTRA_FILENAME);)
android|android-camera-intent|onactivityresult
0
2016-04-14T11:13:19.900Z
2,016
4
11
3
115
2
236
32
3
1
true
false
false
false
false
false
zero
36,621,543
EditText addTextChangedListener loop
<p>I have two Edit Texts, each one have text watcher that change the second edittext text when the first edittext text is changed, it seems the code create a loop, is there something i can do to make the text watcher only listen to user input and not by changing the text by code?</p> <pre><code>et1.addTextChangedListe...
I have two Edit Texts, each one have text watcher that change the second edittext text when the first edittext text is changed, it seems the code create a loop, is there something i can do to make the text watcher only listen to user input and not by changing the text by code? [CODE]
java|android
0
2016-04-14T11:20:22.200Z
2,016
4
11
3
1,282
1
284
36
2
1
true
false
false
false
false
false
zero
36,621,638
Android location - no matter how I implement it, I never get the location marker icon in the notification bar
<p>I am trying to implement location in an Android application. I first tried the approach that I have learned from paid courses - extending the LocationListener. I tried working with the "best provider" returned by locationManager.getBestProvider, but I found out that it is too often GPS, which returns 0,0. So I cha...
I am trying to implement location in an Android application. I first tried the approach that I have learned from paid courses - extending the LocationListener. I tried working with the "best provider" returned by locationManager.getBestProvider, but I found out that it is too often GPS, which returns 0,0. So I changed ...
android|google-api|gps|location|locationlistener
-1
2016-04-14T11:25:03.930Z
2,016
4
11
3
102
1
1,360
109
5
0
false
false
false
false
false
true
negative
36,621,674
Reducing time complexity of bilinear interpolation
<p>I use bilinear interpolation in my android application. It runs perfectly, but takes a lot of time to get the result. </p> <p>I test it when xi = 259,920, and yi also = 259,920. The time to response was: Galaxy Note 4 takes 3 sec, and HTC One M8 takes about 8 sec !. So what I can change o...
I use bilinear interpolation in my android application. It runs perfectly, but takes a lot of time to get the result. I test it when xi = 259,920, and yi also = 259,920. The time to response was: Galaxy Note 4 takes 3 sec, and HTC One M8 takes about 8 sec !. So what I can change or use to reduce the time?! The code I u...
java|android|algorithm|opencv|time-complexity
1
2016-04-14T11:26:40.860Z
2,016
4
11
3
370
1
692
50
5
2
true
false
false
false
false
false
low
36,621,684
App working really slow on Nexus 6 Android marshmallow Skipped "n" frames
<p>I need some help with a problem I really don't undestand. </p> <p>I'm working on my app which I debugg with real devices. I have two, the first one is a motorola with really <strong>low resources (Android 5.0.2)</strong> which helps me to catch more errors; in this one the app strangly <strong>works perfectly</stro...
I need some help with a problem I really don't undestand. I'm working on my app which I debugg with real devices. I have two, the first one is a motorola with really low resources (Android 5.0.2) which helps me to catch more errors; in this one the app strangly works perfectly . The second device is a Nexus 6 (Android ...
android|android-6.0-marshmallow
3
2016-04-14T11:27:04.673Z
2,016
4
11
3
501
1
1,596
73
2
2
true
false
false
false
false
false
low
36,622,010
fill parent in HorizontalScrollView
<p>I use this code for scroll view and i select fill-parent for both width and height. but only height are fill parent and not width. i want that each button fill the whole screen.</p> <p><a href="https://i.stack.imgur.com/EHLVE.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/EHLVE.png" alt="enter i...
I use this code for scroll view and i select fill-parent for both width and height. but only height are fill parent and not width. i want that each button fill the whole screen. [CODE]
android|android-layout
0
2016-04-14T11:41:51.410Z
2,016
4
11
3
186
0
184
35
2
1
true
true
false
false
false
false
zero
36,622,094
How can i convert JSON to ArrayList using Gson?
<p>Hi I am very new for android and I want to convert my JSON object to ArrayList using Gson for this I wrote the code bellow, but this is not working.</p> <p>Please help me.</p> <p>How can I convert my JSON object to ArrayList ?</p> <h2>JSON Response:-</h2> <pre><code>{ "header" : { "alerts" : [ ...
Hi I am very new for android and I want to convert my JSON object to ArrayList using Gson for this I wrote the code bellow, but this is not working. Please help me. How can I convert my JSON object to ArrayList ? JSON Response:- [CODE] my code:- [CODE] modelObject:- [CODE]
android|json|arraylist|jsonparser
-1
2016-04-14T11:45:32.130Z
2,016
4
11
3
490
1
273
47
4
3
true
false
false
false
false
true
negative
36,622,139
android-Staying on same activity
<p>I have lots of button that refers other activities,but when I click one of them it opens the activities on another page.For example if I click 10 button that refers 10 different activities,those activies will open in 10 different pages.I wanted to do it within one page no other page,but I don't know how to do it.So ...
I have lots of button that refers other activities,but when I click one of them it opens the activities on another page.For example if I click 10 button that refers 10 different activities,those activies will open in 10 different pages.I wanted to do it within one page no other page,but I don't know how to do it.So any...
android|android-activity
0
2016-04-14T11:47:24.840Z
2,016
4
11
3
1,472
2
485
32
2
1
true
false
false
false
false
false
zero
36,622,163
How can I extend AppCompatActivity to centralize codes, e.g. DrawerLayout?
<p>I would like to extend <code>AppCompatActivity</code> to centralize codes in order to share codes, e.g. <code>DrawerLayout</code>, etc.</p> <p>However, I encounter <code>NullPointerException</code>. Here is my code:</p> <p><strong>MasterActivity</strong></p> <pre><code>public class MasterActivity extends AppCompa...
I would like to extend AppCompatActivity to centralize codes in order to share codes, e.g. DrawerLayout , etc. However, I encounter NullPointerException . Here is my code: MasterActivity [CODE] ChildActivity [CODE] activity_child.xml [CODE] The NPE appears at: [CODE] the error message is: Attempt to invoke virtual meth...
android|drawerlayout|appcompatactivity
0
2016-04-14T11:48:26.483Z
2,016
4
11
3
85
1
678
74
3
4
true
false
false
false
false
false
zero
36,622,193
Error "Expected BEGIN_OBJECT but was STRING" Happening only at remote servers
<p>I have this bug happening when accessing a login route from my restful api (Rails), but only for an specific address.</p> <p>Here's the deal, I have 3 different addresses which I can use to test my Android Application. One is my local machine, I start my rest server locally for testing and dev purposes and as my bu...
I have this bug happening when accessing a login route from my restful api (Rails), but only for an specific address. Here's the deal, I have 3 different addresses which I can use to test my Android Application. One is my local machine, I start my rest server locally for testing and dev purposes and as my build variant...
android|retrofit|restful-authentication|okhttp
2
2016-04-14T11:49:38.943Z
2,016
4
11
3
412
1
1,625
77
4
4
true
false
false
false
false
false
low
36,622,266
Inserting values into a json array at a specific position in java?
<p>I am getting a json array as a string from one activity to the other using intent extras.How can I insert a value at a certain position in the json array in java. This is the json array that I am using.</p> <pre><code>{"result":[{"itembarcode":"BRMS","weight":"10","gross_wt":"1","stone_amt":"0","stone_wt":"","rate"...
I am getting a json array as a string from one activity to the other using intent extras.How can I insert a value at a certain position in the json array in java. This is the json array that I am using. [CODE] And I would like to insert a doc_no inside this array something like [CODE] I have tried something like this [...
java|android|arrays|json
0
2016-04-14T11:53:48.343Z
2,016
4
11
3
1,285
2
402
66
4
3
true
false
false
false
false
false
zero
36,622,295
Configure RetroFit BASE URL in Settings
<p>I have an app that will be deployed to multiple customers on different sites. It uses RetroFit to communicate with the server product. </p> <p>The problem is that each customer will deploy this server product on their own local server, with its own BASE_URL, so the BASE_URL cannot be hardcoded into the app. It need...
I have an app that will be deployed to multiple customers on different sites. It uses RetroFit to communicate with the server product. The problem is that each customer will deploy this server product on their own local server, with its own BASE_URL, so the BASE_URL cannot be hardcoded into the app. It needs to be conf...
android|retrofit2
2
2016-04-14T11:54:51.983Z
2,016
4
11
3
1,427
1
912
39
2
1
true
false
false
false
false
false
low
36,622,352
Android WebView not redirect
<p>I have 2 problem was the interia dawn to solve, I'm trying to load a site within the webview my android application, the site works coprretamente within the webview it opens normally there starts coming problems</p> <p>This site has a registration form and when the registration ends it redirects to another page wit...
I have 2 problem was the interia dawn to solve, I'm trying to load a site within the webview my android application, the site works coprretamente within the webview it opens normally there starts coming problems This site has a registration form and when the registration ends it redirects to another page within the sam...
java|android|eclipse|android-studio|netbeans-platform
0
2016-04-14T11:57:03.493Z
2,016
4
11
3
3,629
1
921
28
5
2
true
false
true
false
false
false
zero
36,622,389
Need coordinates in one object
<p>I have to parse coordinates from JSON and want to save both values (lat, lng) in one "object". After that, I want to display the first 10 objects in my Google Maps Activity on the map.</p> <p>My MainActivity</p> <pre><code>List&lt;JSONModels&gt; jsonModelsList = new ArrayList&lt;&gt;(); try { ...
I have to parse coordinates from JSON and want to save both values (lat, lng) in one "object". After that, I want to display the first 10 objects in my Google Maps Activity on the map. My MainActivity [CODE]
java|android|google-maps|coordinates
0
2016-04-14T11:58:14.587Z
2,016
4
11
3
49
1
207
30
4
1
true
false
false
false
false
false
zero
36,622,519
Listeners creating memory leaks
<p>I have a listener that delivers response from volley to the activity that makes the request:</p> <pre><code>public interface MyListener{ void interpretResponseListener(String response); void interpretErrorListener(VolleyError error); } </code></pre> <p>Method that is used to make the call:</p> <pre><code>public s...
I have a listener that delivers response from volley to the activity that makes the request: [CODE] Method that is used to make the call: [CODE] Activity Code: [CODE] I make changes to database in the response. Leakcanary gives me the following error: [CODE]
android|memory-leaks|android-volley|leakcanary
1
2016-04-14T12:03:33.733Z
2,016
4
12
3
697
0
258
31
4
4
true
true
false
false
false
false
low
36,622,586
Show my current location in the Google Map
<p>Finally I succeed to display the map,Now,I want to show my current location, I tried by using these code but it didn't work when I clicked the my location button in the top right corner. </p> <p>AndroidManifest.xml</p> <pre><code>&lt;uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /&gt; &lt...
Finally I succeed to display the map,Now,I want to show my current location, I tried by using these code but it didn't work when I clicked the my location button in the top right corner. AndroidManifest.xml [CODE] MapsActivity.java [CODE]
java|android|google-maps|android-studio|gps
1
2016-04-14T12:06:06.740Z
2,016
4
12
3
2,731
5
238
42
5
2
true
false
true
false
false
false
low
36,622,697
NullPointerException when I call method of interface (fragments communication)
<p>My app works with a TabLayout (and so a ViewPager).</p> <p>I have a Fragment A and a Fragment B. My goal is to recover data from my EditTexts of Fragment A to, obviously, print and works with them in my Fragment B.</p> <p>For this, I use an interface named <code>ButtonCliked</code>, but seems not to work well. Did...
My app works with a TabLayout (and so a ViewPager). I have a Fragment A and a Fragment B. My goal is to recover data from my EditTexts of Fragment A to, obviously, print and works with them in my Fragment B. For this, I use an interface named ButtonCliked , but seems not to work well. Did I forgot something ? TabFragme...
java|android|android-fragments|interface
-4
2016-04-14T12:10:34.183Z
2,016
4
12
3
490
2
499
78
4
3
true
false
false
false
false
true
negative
36,622,828
Firebase: aggregation queries possible via appropriate denormalisation (Android SDK)?
<p>I understand that one cannot do aggregation queries on firebase to compute statistics and/or return bucketed data similar to a relational db. I wondered if denormalising data could some how replicate aggregation?</p> <p>I have the following specific problem:</p> <ol> <li>I have a set of data with id, subject, scor...
I understand that one cannot do aggregation queries on firebase to compute statistics and/or return bucketed data similar to a relational db. I wondered if denormalising data could some how replicate aggregation? I have the following specific problem: I have a set of data with id, subject, score, author, date, tags, lo...
android|firebase
0
2016-04-14T12:15:23.880Z
2,016
4
12
3
209
0
1,126
85
2
0
false
true
false
false
false
false
zero
36,622,890
Visual Studio Android Emulator network not working
<p>I started using xamarin in visual studio, and I installed visual studio android emulator. Emulator works flawlessly, but network on it doesn't. In settings it says it's connected, but browser can't open websites. I started windows phone emulator, and there network works without problem. When I started android emulat...
I started using xamarin in visual studio, and I installed visual studio android emulator. Emulator works flawlessly, but network on it doesn't. In settings it says it's connected, but browser can't open websites. I started windows phone emulator, and there network works without problem. When I started android emulator,...
visual-studio|xamarin|visual-studio-2015|android-emulator
0
2016-04-14T12:18:12.700Z
2,016
4
12
3
7,593
2
889
50
4
0
false
false
true
false
false
false
zero
36,622,916
Android Layout Problems Nexus 4 and 6
<p>I know there are many layout questions out there for Android. </p> <p>My problem is, I have two folders 'layout' and 'layout-large'. Now the layout files fit perfectly on my Note 3 and Nexus 6P as well as the 6 (there is a bit of difference between the 6P and 6 but it still displays relatively how I need it with no...
I know there are many layout questions out there for Android. My problem is, I have two folders 'layout' and 'layout-large'. Now the layout files fit perfectly on my Note 3 and Nexus 6P as well as the 6 (there is a bit of difference between the 6P and 6 but it still displays relatively how I need it with nothing overla...
android|xml|android-layout|layout
0
2016-04-14T12:19:33.360Z
2,016
4
12
3
532
1
1,007
37
4
0
false
false
false
false
false
false
zero
36,622,948
How to load JSON with OkHttp in Android
<p>I want develop android application for website. i want use <code>OkHttp</code> to load <code>Json</code> in my application. <br> I write this codes, but when start application and hide <code>progressDialog</code>, don't show me website datas (from json). <br><strong>not</strong> show any FC error (in logcat), <stron...
I want develop android application for website. i want use OkHttp to load Json in my application. I write this codes, but when start application and hide progressDialog , don't show me website datas (from json). not show any FC error (in logcat), not show any null exception error (in logcat), just not show website data...
android|json|android-json
0
2016-04-14T12:21:05.417Z
2,016
4
12
3
2,060
2
540
39
3
3
true
false
false
false
false
false
zero
36,623,139
How to get all RecyclerView ViewHolder?
<p>I want to change all items' text color when I click on one of them. My problem is that the color is changing only on visible items. The color of invisible items does not change at all. </p> <p><strong>New:</strong> Also I would like to know how to change the color of the clicked item only.</p> <p>EffectPanelRecycl...
I want to change all items' text color when I click on one of them. My problem is that the color is changing only on visible items. The color of invisible items does not change at all. New: Also I would like to know how to change the color of the clicked item only. EffectPanelRecyclerViewAdapter.java: [CODE] } MainActi...
android|android-recyclerview|android-viewholder
4
2016-04-14T12:28:36.747Z
2,016
4
12
3
22,078
4
382
39
3
4
true
false
true
true
false
false
low
36,623,188
Android SQL database Load data from specific table
<p>I am creating one table when application launches and adding more tables from EditText String names.</p> <p>My First Database table</p> <pre><code>public static final String CREATE_ERAMPE_TABLE = "create table details" + "(id integer primary key, username text, metre text, northing double," + "east...
I am creating one table when application launches and adding more tables from EditText String names. My First Database table [CODE] Creating additional tables from activity by [CODE] when inserting data to specific [CODE] getting list of all tablenames into a listview i use the following code [CODE] now from here when ...
android|sqlite|listview
0
2016-04-14T12:30:24.623Z
2,016
4
12
3
372
1
500
50
3
5
true
false
false
false
false
false
zero
36,623,197
Filter Records from SQLite to show in a List
<p>I have some data in <strong>SQLite</strong> database, which I would like to show in a <code>List</code> based on small logic.</p> <p>I have three fields in my table, </p> <pre><code>first field : id second field : title third field : type </code></pre> <p>where <strong>Type</strong> can be : <code>Monthly</code>...
I have some data in SQLite database, which I would like to show in a List based on small logic. I have three fields in my table, [CODE] where Type can be : Monthly or Yearly Here is my code: [CODE] This is the situation, where I need help from you guys, As you can see still, I am showing each and every record from data...
java|android|sqlite
0
2016-04-14T12:30:48.830Z
2,016
4
12
3
131
2
603
44
3
2
true
false
false
false
false
false
zero
36,623,248
ViewHolder not show a button in method onSwiped()
<p>I have a big issues about onSwiped method and set a button's visibility to VISIBLE. Here my code Java Class :</p> <pre><code>@Override public void onSwiped(RecyclerView.ViewHolder viewHolder, int swipeDir) { mRecyclerView.getAdapter(); StepListAdapter.ViewHolder listViewHolder = (StepListAdapter.ViewHolder) viewHol...
I have a big issues about onSwiped method and set a button's visibility to VISIBLE. Here my code Java Class : [CODE] And here my xml layout file: [CODE] My problem is that when the method onSwiped was called, and after I setup the VISIBILITY of the button by Java code, the main card doesn't show the button . Thanks a l...
java|android|button|android-recyclerview
0
2016-04-14T12:32:56.007Z
2,016
4
12
3
65
0
327
49
4
2
true
true
false
false
false
false
zero
36,623,654
Back button and ViewPager
<p>I am using viewPager with android.support.design.widget.TabLayout. My xml is </p> <pre><code>&lt;RelativeLayout android:layout_width="match_parent" android:layout_height="match_parent"&gt; &lt;android.support.v4.view.ViewPager android:id="@+id/home_container" androi...
I am using viewPager with android.support.design.widget.TabLayout. My xml is [CODE] I set viewPager as below [CODE] My tabListener is [CODE] I have override the onBackPressed method as follow [CODE] To sum up, I have tabs with icons and texts. When a tab is selected then the icon is changed and the text turned in green...
android|android-tablayout|onbackpressed
4
2016-04-14T12:50:03.157Z
2,016
4
12
3
8,495
4
609
25
3
4
true
false
true
false
false
false
low
36,623,677
How to set the zooming feature in alert dialog while using imageview in it
<p>I used an <strong>ImageView</strong> in the <strong>alertdialog</strong> to show an image. Image is successfully loading in the alertdialog. I want to add additional feature of zooming the image. I tried but no result.</p> <p><strong>My code for alert dialog is as below</strong></p> <pre><code>private void loadP...
I used an ImageView in the alertdialog to show an image. Image is successfully loading in the alertdialog. I want to add additional feature of zooming the image. I tried but no result. My code for alert dialog is as below [CODE]
android|imageview|zooming|android-alertdialog
0
2016-04-14T12:51:01.340Z
2,016
4
12
3
619
0
228
74
4
1
true
true
false
false
false
false
zero
36,623,681
How to find the ndk revision number for your android setup
<p>Is there a means to find the <code>ndk revision number</code> ideally from the cmd line or from within android studio?</p> <p>My use case is android studio has run an update, replaced <code>ndk-bundle</code> with the latest version and I want to be able to find out what revision no. that is. i.e. <code>r10d</code>,...
Is there a means to find the ndk revision number ideally from the cmd line or from within android studio? My use case is android studio has run an update, replaced ndk-bundle with the latest version and I want to be able to find out what revision no. that is. i.e. r10d , r11a etc. UPDATE ~/Android/Sdk/ndk-bundle/CHANGE...
android|android-ndk
36
2016-04-14T12:51:05.817Z
2,016
4
12
3
36,420
3
476
58
2
1
true
false
true
true
true
false
high