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,155,988
Can default value for exported attr for BroadcastReceiver declared in manifest be overridden
<p>If a BroadcastReceiver is declared in AndroidManifest.xml with intent-filter specified, for example</p> <pre><code>&lt;receiver android:name=".receiver.LocationProviderChangeReceiver" android:exported="false"&gt; &lt;intent-filter&gt; &lt;action android:name="android.location.PRO...
If a BroadcastReceiver is declared in AndroidManifest.xml with intent-filter specified, for example [CODE] According to http://developer.android.com/guide/topics/manifest/receiver-element.html#exported The default value depends on whether the broadcast receiver contains intent filters. The absence of any filters means ...
android|android-intent|broadcastreceiver
0
2016-05-11T07:34:46.233Z
2,016
5
7
2
1,738
1
1,939
92
3
1
true
false
false
false
false
false
zero
37,155,991
In App Browser Not Closing
<p>I have a requirement to post data to an external URL. I tried using an in app browser, and here is my code :</p> <pre><code>var form = document.createElement('form'); form.action = "https://problematic.com/action/page.jsp"; form.method = 'POST'; //form.target = '_system'; form.target = 'NewFile'; form.style.display...
I have a requirement to post data to an external URL. I tried using an in app browser, and here is my code : [CODE] The data were posted to the URL, and the resulting URL showed clean as expected. But i can't close the browser and return to my app. There are no browser panel (like address input bar, stop, refresh, home...
javascript|android|cordova|inappbrowser
0
2016-05-11T07:35:05.013Z
2,016
5
7
2
969
1
820
26
4
1
true
false
false
false
false
false
zero
37,156,029
Is making code more modular in Android selector XML code possible?
<p>I have the following code</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;selector xmlns:android="http://schemas.android.com/apk/res/android"&gt; &lt;item android:state_pressed="true"&gt; &lt;layer-list xmlns:android="http://schemas.android.com/apk/res/android"&gt; &lt;item a...
I have the following code [CODE] From the code, you would notice there are some identical piece of codes as below with only one different indicated using THE ONLY DIFFERENT [CODE] Is there a way I could group this code like making a module function, and pass in a parameter of my color... Either using include or whateve...
android|xml|android-drawable|android-selector
0
2016-05-11T07:37:00.693Z
2,016
5
7
2
33
0
418
66
4
2
true
true
false
false
false
false
zero
37,156,053
Update preference screen UI manually
<p>I've got a setting screen with preferences in my app. </p> <p>I use PreferenceFragmentCompat and usual AppCompatActivity. When I change state of some preference(f.e. SwitchPreferenceCompat) and tap on it then the Android preference framework will change its internal state and upgrade preference UI. Thats pretty goo...
I've got a setting screen with preferences in my app. I use PreferenceFragmentCompat and usual AppCompatActivity. When I change state of some preference(f.e. SwitchPreferenceCompat) and tap on it then the Android preference framework will change its internal state and upgrade preference UI. Thats pretty good. In one us...
android|sharedpreferences|android-preferences
2
2016-05-11T07:38:10.983Z
2,016
5
7
2
2,837
0
810
36
3
1
true
true
true
false
false
false
low
37,156,212
How i can get return value from cordova plugin in Android?
<p>I wrote a Java class that is a part of a cordova plugin, the main code is:</p> <pre><code>public class ClassName extends CordovaPlugin { protected void pluginInitialize() {} public boolean execute(String action, JSONArray args, CallbackContext callbackContext) throws JSONException { if (action.equals("ge...
I wrote a Java class that is a part of a cordova plugin, the main code is: [CODE] This is the js code of the plugin: [CODE] And this is the js that i use to call plugin function: [CODE] I have two questions: 1) My java class get in output a String result, how I can pass the result to my javascript function ( myfunc() )...
javascript|java|android|cordova
1
2016-05-11T07:45:43.653Z
2,016
5
7
2
2,890
1
422
58
4
3
true
false
true
false
false
false
low
37,156,318
MediaCodec simultaneous encoding and decoding
<p>I am trying to apply effects to the frames of a video using the GPU and then to re-encode those frames into a new result video.</p> <p>In the interest of performance I have implemented the following flow:</p> <p>There are 3 different threads, each with it's own OpenGL context. These contexts are set up in such a w...
I am trying to apply effects to the frames of a video using the GPU and then to re-encode those frames into a new result video. In the interest of performance I have implemented the following flow: There are 3 different threads, each with it's own OpenGL context. These contexts are set up in such a way that they share ...
android|opengl-es|android-mediacodec
3
2016-05-11T07:52:15.250Z
2,016
5
7
2
1,096
1
1,602
45
3
0
false
false
false
false
false
false
low
37,156,359
Aviary integration in Android Studio
<p>I am new to android and trying to integrate Aviary in android studio and I search it on google but finds nothing. Please help. Thanks in advance.</p> <pre><code>apply plugin: 'com.android.application' repositories { mavenCentral() maven { name 'maven.aviary.com' url uri("http://maven.aviary....
I am new to android and trying to integrate Aviary in android studio and I search it on google but finds nothing. Please help. Thanks in advance. [CODE] I think I have missed to add some in gradle file and I tried a lot to find out the solution but didn't find the solution.I am working from the last two days and tried ...
java|android
0
2016-05-11T07:55:06.363Z
2,016
5
7
2
536
1
377
36
2
1
true
false
false
false
false
false
zero
37,156,409
Connecting to arduino bluetooth
<p>I have a project which I have to connect circuit's bluetooth. First I have to connect HC-06 module then send datas like "red", "green" and "blue". I have already coded circuit and it works with windows (C#) application but I want to make android application.</p> <p>In summary, user select a color on android device....
I have a project which I have to connect circuit's bluetooth. First I have to connect HC-06 module then send datas like "red", "green" and "blue". I have already coded circuit and it works with windows (C#) application but I want to make android application. In summary, user select a color on android device. Android de...
android|bluetooth|arduino
1
2016-05-11T07:57:29.437Z
2,016
5
7
2
744
1
563
31
3
1
true
false
false
false
false
false
low
37,156,534
android- Search Result not display but already execute SELECT CRUD Sqlite
<p><a href="https://i.stack.imgur.com/mJeQG.png" rel="nofollow noreferrer">Here is the UI after input keyword</a></p> <p><a href="https://i.stack.imgur.com/mJeQG.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/mJeQG.png" alt="enter image description here"></a></p> <p>Hello, I am new to Android, I h...
Here is the UI after input keyword Hello, I am new to Android, I have read many tutorials, but they make database manual from the code. I want to make a search feature in the apps, retrieving data from sqlite database. I use MainDIY for searching activity. MainDIY.java [CODE] DataDIY.java [CODE] DBAdapter.java [CODE] T...
android|sqlite|crud|searchview
-1
2016-05-11T08:04:18.567Z
2,016
5
8
2
190
3
374
73
4
3
true
false
false
false
false
true
negative
37,156,648
Specific Contents are not visible by using or by without using scrollview
<p>Following is my xml layout.</p> <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"&gt; &lt;LinearLayout android:layout_width="match...
Following is my xml layout. [CODE] The problem with my layout is that, The linearlayout of id last is not fully visible. I tried to encapsulate the entire layout within scrollview but if i do so , the second view pager is not getting visible. Is there any alternative to overcome this scenario?
android|xml|android-layout|android-studio|scrollview
0
2016-05-11T08:09:38.473Z
2,016
5
8
2
46
3
294
73
5
1
true
false
false
false
false
false
zero
37,156,653
Not able to modify Cordova WebView
<p>I'm developing Cordova application with EmberJs. There I require to local ajax calls, i.e, ajax call to file:/// url. Cordova doesn't allow that. So I found that I need to modify Cordova WebView settings. For that, I tried this code:</p> <pre><code>import android.os.Build; import android.os.Bundle; import org.apach...
I'm developing Cordova application with EmberJs. There I require to local ajax calls, i.e, ajax call to file:/// url. Cordova doesn't allow that. So I found that I need to modify Cordova WebView settings. For that, I tried this code: [CODE] But I'm always getting following error: [CODE] appView is returning null. Any s...
android|ajax|cordova|webview
0
2016-05-11T08:09:52.583Z
2,016
5
8
2
2,650
1
459
34
4
2
true
false
true
false
false
false
zero
37,156,821
Can't resolve symbol @string/create_user_account. Validates resource references inside Android XML files
<p>I got three errors come out when i do the activity_main.xml</p> <p>Below Here is my output Error:</p> <blockquote> <p>Error:(12, 130) No resource found that matches the given name (at 'text' with value '@string/create_user_account').</p> <p>Error:(38, 133) No resource found that matches the given name (at 'text' wit...
I got three errors come out when i do the activity_main.xml Below Here is my output Error: Error:(12, 130) No resource found that matches the given name (at 'text' with value '@string/create_user_account'). Error:(38, 133) No resource found that matches the given name (at 'text' with value '@string/create_user_account'...
android|android-studio
-1
2016-05-11T08:17:47.107Z
2,016
5
8
2
514
1
639
104
2
1
true
false
false
false
false
true
negative
37,156,895
Contact list shows empty
<p>I want to show the custom list of contacts from the phone contacts. I want to get the list of contacts and I have to select multiple contacts from the list.</p> <p>For this I have created a custom view. An adapter for the custom view.</p> <p>Also I have a function to get the contacts from the phone contact. It's u...
I want to show the custom list of contacts from the phone contacts. I want to get the list of contacts and I have to select multiple contacts from the list. For this I have created a custom view. An adapter for the custom view. Also I have a function to get the contacts from the phone contact. It's using a cursor to ge...
java|android|contacts|custom-lists
0
2016-05-11T08:21:36.170Z
2,016
5
8
2
234
2
697
24
4
3
true
false
false
false
false
false
zero
37,156,903
the url inside json string is invalid after i download it from rest api by java : its like "https:\/\/
<p>i have code in my android project that download json string from rest api , but the url inside downloaded string is invalid its become like : in some reason the url correct it's self in stackoverflow site but i mean the dashes become like this in log cat : (https : // www. example.com this is screenshot from log ca...
i have code in my android project that download json string from rest api , but the url inside downloaded string is invalid its become like : in some reason the url correct it's self in stackoverflow site but i mean the dashes become like this in log cat : (https : // www. example.com this is screenshot from log cat : ...
java|android
0
2016-05-11T08:22:08.937Z
2,016
5
8
2
111
1
475
102
2
1
true
false
false
false
false
false
zero
37,157,160
Why button height differs across devices
<p>I have a button coded as below</p> <pre><code> &lt;Button android:id="@+id/btn_register" style="@style/MyButtonStyle" android:layout_width="20dp" android:layout_height="10dp" android:text="@string/word_text" /&gt; </code></pre> <p>My style is as be...
I have a button coded as below [CODE] My style is as below. [CODE] If I view on Nexus 5 Android M, the button disappear without any height. If I view on Samsung S7 Android M, it shows the 10dp height. If I have something bigger than 10dp height or wrap_content, the Samsung S7 shows a thicker button than Nexus 5. Any re...
android|android-layout|android-button
1
2016-05-11T08:33:51.847Z
2,016
5
8
2
92
2
387
40
3
2
true
false
false
false
false
false
low
37,157,329
Registration in android with php MYSQL
<p>I am trying to do registration in my android app but I am not able to register my values inside the table. It is giving me a mesage in Toast saying error in registeration' Below is my php script for it.</p> <pre><code> &lt;?php if($_SERVER['REQUEST_METHOD'] == 'POST') { $title = $_POST['title']; ...
I am trying to do registration in my android app but I am not able to register my values inside the table. It is giving me a mesage in Toast saying error in registeration' Below is my php script for it. [CODE] and this is my java android file InstantBanner.java [CODE] } This is the requestHandler class InstantRequestHa...
php|android|mysql|registration
0
2016-05-11T08:43:18.450Z
2,016
5
8
2
80
0
338
38
4
3
true
true
false
false
false
false
zero
37,157,519
Progress bar for asynctask downloading
<p><img src="https://i.stack.imgur.com/4oKmz.jpg" alt="enter image description here"></p> <p>I just want to make an app to download multiple files sequentially. But when I click download button, the progress bar doesn't move and logcat shows:</p> <pre><code>05-11 18:46:26.227 2653-2899/shiweichen22gmail.q4 E/Error: /...
I just want to make an app to download multiple files sequentially. But when I click download button, the progress bar doesn't move and logcat shows: [CODE] I already have permission in the manifest.xml mainactivity.XML [CODE] Mainactivity.java [CODE] Mainfest.xml [CODE]
java|android|android-asynctask
1
2016-05-11T08:50:42.343Z
2,016
5
8
2
3,244
2
271
38
3
4
true
false
true
false
false
false
low
37,157,611
My App Crashes after sometime onLocationChanged(),
<p>this is my LocationListener... i want my location listener to get the city only once, and store it into sharedpreference, then after that i want to use that location for other purpose.All works good, but it crashes after sometime.</p> <pre><code>loclistener = new LocationListener() { @Override ...
this is my LocationListener... i want my location listener to get the city only once, and store it into sharedpreference, then after that i want to use that location for other purpose.All works good, but it crashes after sometime. [CODE]
android|locationmanager
-3
2016-05-11T08:55:09.807Z
2,016
5
8
2
228
1
237
50
2
1
true
false
false
false
false
true
negative
37,157,661
Extended Floorplan Example crashes after adding changes from Mira release
<p>When starting an app that was based on the <a href="https://github.com/googlesamples/tango-examples-java/tree/master/java_floor_plan_example" rel="nofollow">floor plan example</a>, the app crashes, the tango core crashes and the log consists of the following:</p> <pre><code>05-11 08:39:26.422 2893-2893/[application...
When starting an app that was based on the floor plan example , the app crashes, the tango core crashes and the log consists of the following: [CODE] I assume that my problem is not code specific but rather general, which is why I don't post any actual code here. I am not sure, what causes the error having not much exp...
android|release|google-project-tango
0
2016-05-11T08:57:16.247Z
2,016
5
8
2
316
1
374
73
3
1
true
false
false
false
false
false
zero
37,157,765
ACTION_OPEN_DOCUMENT_TREE and uri serialization
<p>I'm having trouble with implementing "choose save directory" (for all files) feature in my app (in android 5+). What I need is a directory picker - so I decided to use the system one - with sending intent ACTION_OPEN_DOCUMENT_TREE. What have I done already is to implement all the stuff connected with handling the ur...
I'm having trouble with implementing "choose save directory" (for all files) feature in my app (in android 5+). What I need is a directory picker - so I decided to use the system one - with sending intent ACTION_OPEN_DOCUMENT_TREE. What have I done already is to implement all the stuff connected with handling the uri l...
android|sharedpreferences|uri
4
2016-05-11T09:01:47.137Z
2,016
5
9
2
3,063
3
794
47
3
3
true
false
true
false
false
false
low
37,157,802
How to display the login in the second fragment after a valid Login Form
<p>Hello I have a navigation drawer. In the main activity I have a login form</p> <pre><code>&lt;EditText android:id="@+id/et_login" android:layout_width="match_parent" android:layout_height="wrap_content" android:inputType="textEmailAddress" android:hint...
Hello I have a navigation drawer. In the main activity I have a login form [CODE] If the password, login and the type are true, it opens the AdminAccount MainActivity.java [CODE] I want to display the login of this user in the textview login fragment_account_main.xml [CODE] On click in the first item, it opens the frag...
java|android|android-fragments
0
2016-05-11T09:03:40.440Z
2,016
5
9
2
1,265
1
499
72
3
6
true
false
false
false
false
false
zero
37,158,063
My BLE device is getting disconnected when I am switching activity
<p>When I switch from my homescreen to another activity, my BLE device gets disconnected. Here's my main activity:</p> <pre><code>public class MainActivity extends FragmentActivity implements OnDataReceivedListener, OnStateChangedListener, PopupMenu.OnMenuItemClickListener, WorkoutTimerInterface, WorkOutOverDialogInte...
When I switch from my homescreen to another activity, my BLE device gets disconnected. Here's my main activity: [CODE] So, I have a popup menu which redirects me to another activity. When I click on this, I get a log from Bluetooth Gatt saying its closed. I have looked into my API as well and found no issue. Here's my ...
android|bluetooth|bluetooth-lowenergy|gatt
0
2016-05-11T09:14:19.997Z
2,016
5
9
2
839
1
348
66
4
2
true
false
false
false
false
false
zero
37,158,126
ClickableSpan not clickable in custom view (not TextView)
<p>In our app we want to improve scroll speed via drawing custom views with text. Problem is ClickableSpan not clicked. For TextView we can use </p> <p><code>textView.setMovementMethod(LinkMovementMethod.getInstance());</code></p> <p>But what can I do to make link clicking work in custom view?</p> <pre><code>public ...
In our app we want to improve scroll speed via drawing custom views with text. Problem is ClickableSpan not clicked. For TextView we can use textView.setMovementMethod(LinkMovementMethod.getInstance()); But what can I do to make link clicking work in custom view? [CODE]
android|android-custom-view|clickablespan
2
2016-05-11T09:17:02.343Z
2,016
5
9
2
1,620
1
270
57
3
1
true
false
false
false
false
false
low
37,158,354
Android Run time permission api "requestPermission()" design
<p>As Android added last year , Run time permission thing in Android API version 23 and above, I have a query regarding</p> <pre><code>ActivityCompat.requestPermissions(thisActivity, new String[]{Manifest.permission.READ_CONTACTS}, MY_PERMISSIONS_REQUEST_READ_CONTACTS); </code></pre> <...
As Android added last year , Run time permission thing in Android API version 23 and above, I have a query regarding [CODE] And [CODE] api for requesting permission. In above library either we have to provide Activity instance which should have implemented ActivityCompat.OnRequestPermissionsResultCallback interface. Su...
android|api|android-permissions
2
2016-05-11T09:26:46.163Z
2,016
5
9
2
594
2
1,125
60
3
3
true
false
false
false
false
false
low
37,158,466
android UI lag on some devices
<p>I have an android project that contains viewpager and navigation drawer. in each fragment of viewpager I have a gridview with load data from a server! My question is, everything is work fine in all devices from low hardware to powerful ones, but in some devices like galaxy s4 and some sony xperia it gives too much l...
I have an android project that contains viewpager and navigation drawer. in each fragment of viewpager I have a gridview with load data from a server! My question is, everything is work fine in all devices from low hardware to powerful ones, but in some devices like galaxy s4 and some sony xperia it gives too much lag ...
android|android-fragments|android-gridview|navigation-drawer
0
2016-05-11T09:30:49.363Z
2,016
5
9
2
723
3
445
30
4
1
true
false
false
false
false
false
zero
37,158,514
Cannot insert sqlite using select option in cordova
<p>I made ​​a simple application with apache cordova , I try to save data into sqlite using select option but errors, cannot be save to sqlite and using jquery mobile.</p> <p>This my script</p> <p>HTML</p> <pre><code>&lt;input type="text" id="name" placeholder="Name book" /&gt; &lt;select name="year"&gt; ...
I made ​​a simple application with apache cordova , I try to save data into sqlite using select option but errors, cannot be save to sqlite and using jquery mobile. This my script HTML [CODE] JS [CODE]
javascript|android|sqlite|cordova
0
2016-05-11T09:32:35.123Z
2,016
5
9
2
234
1
201
51
4
2
true
false
false
false
false
false
zero
37,158,535
How to change the marker bubble using OSMDROID/OSMBonusPack
<p>teI'm trying to replace google map in my application by OSM map. I've been trying to use <a href="https://github.com/MKergall/osmbonuspack" rel="nofollow">this</a> by following their how to install and imported the project using Jitpack. It works fine. On tap of marker default info bubbles(some light gray colored on...
teI'm trying to replace google map in my application by OSM map. I've been trying to use this by following their how to install and imported the project using Jitpack. It works fine. On tap of marker default info bubbles(some light gray colored ones) are shown. What should I do if I want to modify the background of the...
java|android|xml|openstreetmap|osmdroid
2
2016-05-11T09:33:36.290Z
2,016
5
9
2
2,556
1
436
59
5
1
true
false
false
false
false
false
low
37,158,537
List View item is not gettting wrap content height using `ArrayAdapter`
<p><code>ListView</code> item is not getting wrap content height as I need to show only<br> I tried to set dynamic height to item but it's not working.<br> Please provide other solutions.</p> <p>String in it's item. I am using <code>ArrayAdapter</code> and here is the code of <code>TextView</code> that I am using for ...
ListView item is not getting wrap content height as I need to show only I tried to set dynamic height to item but it's not working. Please provide other solutions. String in it's item. I am using ArrayAdapter and here is the code of TextView that I am using for inflating the item. Thank you [CODE] I am trying to set Li...
android|android-layout|listview|android-arrayadapter
0
2016-05-11T09:33:43.963Z
2,016
5
9
2
874
3
367
71
4
2
true
false
false
false
false
false
zero
37,158,671
Android incorrect behavior of child CheckBox
<p>I have a custom <code>ExpendableListViewAdapter</code>. Like this:</p> <ul> <li>Group <ul> <li>Child</li> <li>Child</li> <li>Child</li> </ul></li> <li>Group</li> </ul> <p>All his groups and childs have checkboxes. </p> <p>I want parent <code>CheckBox</code> to dynamically check itself when all his children are c...
I have a custom ExpendableListViewAdapter . Like this: Group Child Child Child Group All his groups and childs have checkboxes. I want parent CheckBox to dynamically check itself when all his children are checked. How to implement this? I've implemented selection of children then the parent element selected. This is my...
android|checkbox
0
2016-05-11T09:39:35.047Z
2,016
5
9
2
217
1
928
44
2
4
true
false
false
false
false
false
zero
37,158,684
How to achieve this layout on tablet?
<p>I'm trying to create a good UI interface for tablet / large screen device.</p> <p>The perfect solution would be the one running on <strong>GMail</strong> app (see screenshot below).</p> <p><a href="https://i.stack.imgur.com/j1ZAt.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/j1ZAt.png" alt="GM...
I'm trying to create a good UI interface for tablet / large screen device. The perfect solution would be the one running on GMail app (see screenshot below). As far as I can understand, the layout is composed like this: [CODE] But if I adopt my solution, this will give me to 2 problems: The FloatingActionButton on my c...
android|android-layout|android-tablet-layout
1
2016-05-11T09:39:59.707Z
2,016
5
9
2
381
1
752
37
3
1
true
false
false
false
false
false
low
37,158,728
Location Service doesn't work in fragment
<p>I'm trying to get a location to show the three closest restaurants in a fragment.</p> <p>The location should be get before load the View because the position of the resturants depends on the location.</p> <p>/////////////////Fragment///////////////////</p> <pre><code> private double latitude; private doubl...
I'm trying to get a location to show the three closest restaurants in a fragment. The location should be get before load the View because the position of the resturants depends on the location. /////////////////Fragment/////////////////// [CODE] /////////////////LocationService/////////////////// [CODE] The location re...
android|android-fragments|android-service
0
2016-05-11T09:41:59.747Z
2,016
5
9
2
449
1
422
41
3
2
true
false
false
false
false
false
zero
37,158,816
how to replace fragments tabs inside mainfragment by using button click
<p>hey guys i'm sufferening to problem how to call tab fragments inside fragment.i am always click on button show unfortunately app closed and in logcat show nullpointer exception.i implemented but gettting errror null object reference Lead_Fragment Main fragment in whic...
hey guys i'm sufferening to problem how to call tab fragments inside fragment.i am always click on button show unfortunately app closed and in logcat show nullpointer exception.i implemented but gettting errror null object reference Lead_Fragment Main fragment in which define the code add all tabs in toolbar and show t...
android
0
2016-05-11T09:45:22.257Z
2,016
5
9
2
410
1
1,161
71
1
4
true
false
false
false
false
false
zero
37,158,853
Error:com.android.dx.cf.iface.ParseException: bad class file magic (cafebabe) or version (0034.0000) Android studio
<p>I already know that question has been already asked very often and answers, but no one of the answers i found fixed my problem.</p> <p>It's the error:</p> <pre><code> Information:Gradle tasks [:app:assembleDebug] :app:preBuild UP-TO-DATE :app:preDebugBuild UP-TO-DATE :app:checkDebugManifest :app:preRelea...
I already know that question has been already asked very often and answers, but no one of the answers i found fixed my problem. It's the error: [CODE] 1 error; aborting Error:Execution failed for task ':app:transformClassesWithDexForDebug'. com.android.ide.common.process.ProcessException: org.gradle.process.internal.Ex...
java|android|mpxj
0
2016-05-11T09:46:58.693Z
2,016
5
9
2
2,106
1
452
115
3
2
true
false
false
false
false
false
zero
37,159,069
App is getting OOM when going to and fro from one activity to other Multiple time
<p>I have an simplest app. in which there is no heavy programming going on. I Have 2 activities and I am going to and fro from one activity to another for Example I am going to Activity2 from Activity1 and then Back to Activity1 from Activity2.</p> <p>By doing this multiple time I am getting OOM error and app crashes...
I have an simplest app. in which there is no heavy programming going on. I Have 2 activities and I am going to and fro from one activity to another for Example I am going to Activity2 from Activity1 and then Back to Activity1 from Activity2. By doing this multiple time I am getting OOM error and app crashes at that tim...
android|android-studio|out-of-memory|android-studio-2.0
0
2016-05-11T09:55:58.163Z
2,016
5
9
2
294
3
8,159
81
4
5
true
false
false
false
false
false
zero
37,159,151
Android WebView Not showing Anything
<p>I am trying to use webView to show a URL in android app.</p> <p>If I try with this URL-</p> <blockquote> <p><a href="http://stackoverflow.com">http://stackoverflow.com</a></p> </blockquote> <p>I am getting this- <a href="https://i.stack.imgur.com/DGL3C.png" rel="nofollow noreferrer"><img src="https://i.stack.im...
I am trying to use webView to show a URL in android app. If I try with this URL- http://stackoverflow.com I am getting this- But if I am trying with this- https://w.soundcloud.com/player/?url=http%3A%2F%2Fapi.soundcloud.com%2Fplaylists%2F8111706%3Fsecret_token%3Ds-3aK27&color=e2ef3a&auto_play=false&show_artwork=false I...
android|webview
2
2016-05-11T09:59:28.450Z
2,016
5
9
2
17,236
5
496
36
2
4
true
false
true
true
false
false
low
37,159,154
compare 2 string array android
<p>I am trying to compare 2 text file. I can read the files and assigned to values into words. This words then assigned to array. While comparing, it does not work.The result of numCommon= 1 but this is wrong. Can you help me? File1 example: 1-A 2-B 3-C 4-D... File2 example: 1-A 2-B 3-E 4-A ..like goes on.</p> <pre><...
I am trying to compare 2 text file. I can read the files and assigned to values into words. This words then assigned to array. While comparing, it does not work.The result of numCommon= 1 but this is wrong. Can you help me? File1 example: 1-A 2-B 3-C 4-D... File2 example: 1-A 2-B 3-E 4-A ..like goes on. [CODE]
java|android|string|file
0
2016-05-11T09:59:36.653Z
2,016
5
9
2
62
1
311
30
4
1
true
false
false
false
false
false
zero
37,159,163
Send data from Tablayout Fragment to other Fragment
<p>I have a <code>ViewPager</code> and <code>Tablayout</code> in MainActivity , inside the <code>Viewpager</code> i have a 4 fragment where in theese fragment i load the json and populate recyclerview with data. all fragment load same structure data but with different id.</p> <p>now in <code>Fragment_Four</code> I hav...
I have a ViewPager and Tablayout in MainActivity , inside the Viewpager i have a 4 fragment where in theese fragment i load the json and populate recyclerview with data. all fragment load same structure data but with different id. now in Fragment_Four I have theese codes. Fragment_four.java [CODE] In Json Response I ha...
java|android|json|android-fragments
0
2016-05-11T10:00:10.353Z
2,016
5
10
2
61
0
555
51
4
2
true
true
false
false
false
false
zero
37,159,217
How to get data from a particular CardView attached RecyclerView
<p>I have used a <code>CardView</code> to display some data (data displayed by setting values to <code>TextView</code> ).This <code>CarView</code> is attached to <code>RecyclerView</code>. Data displayed is coming from Database and hence the <code>CardView</code> also increases in list depending on no of rows in Databa...
I have used a CardView to display some data (data displayed by setting values to TextView ).This CarView is attached to RecyclerView . Data displayed is coming from Database and hence the CardView also increases in list depending on no of rows in Database. What I want is to get data from particular Card on onclick and ...
android|android-recyclerview|android-cardview
0
2016-05-11T10:02:14.943Z
2,016
5
10
2
7,453
2
940
64
3
5
true
false
true
false
false
false
zero
37,159,252
I have this error in android studio
<pre><code>Information:Gradle tasks [:Application:assembleDebug] :Application:preBuild UP-TO-DATE :Application:preDebugBuild UP-TO-DATE :Application:checkDebugManifest :Application:preReleaseBuild UP-TO-DATE :Application:prepareComAndroidSupportAppcompatV72300Library UP-TO-DATE :Application:prepareComAndroidSupportCard...
[CODE] I imported a sample code in android it's called "Camera2Basic" but i renamed it to CameraSampleApp and so after the build is done i tried running it and this error pops up. am i doing something wrong or my Android Studio is outdated.
android|android-studio|android-camera
0
2016-05-11T10:03:28.027Z
2,016
5
10
2
1,950
3
240
35
3
1
true
false
false
false
false
false
zero
37,159,341
Android: Drawablebottom hides text
<p>I have several LinearLayouts (See image at bottom and a piece of code). There is a text on each button and an image under the text. But there is an issue. When the application runs on a mobile with lower resolution the image hides text. How do I prevent this happening?</p> <p>I set layout_height to 0pt to let layou...
I have several LinearLayouts (See image at bottom and a piece of code). There is a text on each button and an image under the text. But there is an issue. When the application runs on a mobile with lower resolution the image hides text. How do I prevent this happening? I set layout_height to 0pt to let layout_weight ta...
android|xml|android-layout|button|android-linearlayout
1
2016-05-11T10:06:24.760Z
2,016
5
10
2
206
3
1,042
34
5
3
true
false
false
false
false
false
low
37,159,355
How to make the text center in TabPageIndicator
<p>hi,guys,i use TabPageIndicator in my app,everything is ok.eh,but the PageTitle can not be in center like this: <a href="https://i.stack.imgur.com/2bWhz.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2bWhz.jpg" alt="enter image description here"></a></p> <p>as u see,it is on left. i try to use a ...
hi,guys,i use TabPageIndicator in my app,everything is ok.eh,but the PageTitle can not be in center like this: as u see,it is on left. i try to use a custom style: [CODE] but it does not work. so how to make it work? thanks for u view and help.
android|android-layout|styles
0
2016-05-11T10:06:47.417Z
2,016
5
10
2
197
1
244
47
3
1
true
false
false
false
false
false
zero
37,159,391
Compile Intel TBB for Android - ARMv7 ARMv8 MIPS
<p>I've found some serious difficulties in getting a working .so library to develop an Android app with Android NDK and intel TBB. Basically I've downoaded version 4.4 Update 4 bundle for Android and followed the steps there (kind of, since the docs are not correct...).</p> <p>Problem is that I can only get x86 and x8...
I've found some serious difficulties in getting a working .so library to develop an Android app with Android NDK and intel TBB. Basically I've downoaded version 4.4 Update 4 bundle for Android and followed the steps there (kind of, since the docs are not correct...). Problem is that I can only get x86 and x86_64 .so li...
android|c++|android-studio|android-ndk|tbb
2
2016-05-11T10:07:44.023Z
2,016
5
10
2
1,959
1
1,127
48
5
2
true
false
false
false
false
false
low
37,159,426
Bluetooth Low Energy Android Studio
<p>why it doesn't works? The "#" is correctly send but not read (The other device read the character and send it). I think i can't execute the two following function in the same time but why?</p> <pre><code> Read_Data.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View...
why it doesn't works? The "#" is correctly send but not read (The other device read the character and send it). I think i can't execute the two following function in the same time but why? [CODE] But if i separe Data_Ble_Read and Data_Ble_Write with two buttons, it's operate so i don't understand why?? My functions : [...
java|android|bluetooth-lowenergy
0
2016-05-11T10:09:15.417Z
2,016
5
10
2
136
1
325
35
3
2
true
false
false
false
false
false
zero
37,159,453
how to add lib project in android studio excluding a specific package from it?
<p>i have my project which has package for example com.example.something and I'm adding gradle lib project to my project which i know has the same package. i try compile (project(':plugin-android:app')) { exclude group: 'com.example.something' } but it gives error: com.android.build.api.transform.TransformException...
i have my project which has package for example com.example.something and I'm adding gradle lib project to my project which i know has the same package. i try compile (project(':plugin-android:app')) { exclude group: 'com.example.something' } but it gives error: com.android.build.api.transform.TransformException: java....
java|android|android-studio|gradle
0
2016-05-11T10:10:37.890Z
2,016
5
10
2
2,631
2
549
78
4
2
true
false
true
false
false
false
zero
37,159,680
Parsing JSON data with Volley library
<p>i want to parse data from my local created database using android app.i have tried to do it with volley library.It doesn't work..Here is my java code</p> <pre><code>package com.example.hakobm.volleyparsing; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget....
i want to parse data from my local created database using android app.i have tried to do it with volley library.It doesn't work..Here is my java code [CODE] In my opinioin something wrong with this line " http://10.0.2.2:3000/api/people " Thanks!
java|android|json|parsing|android-volley
-2
2016-05-11T10:18:53.083Z
2,016
5
10
2
1,786
1
246
37
5
1
true
false
false
false
false
true
negative
37,159,841
Use condition IF in RecyclerView
<p>My app it's <em>online market</em>. I can add product to cart. I am trying change icon from "add to cart" to "in cart". But it doesn't work correctly. If I add only one product and scroll down, all other products icon also changed. In RecyclerView adapter OnBindViewHolder I use condition <strong><em>if</em></stron...
My app it's online market . I can add product to cart. I am trying change icon from "add to cart" to "in cart". But it doesn't work correctly. If I add only one product and scroll down, all other products icon also changed. In RecyclerView adapter OnBindViewHolder I use condition if . [CODE] EDIT Ok, I am get data from...
android|android-recyclerview
0
2016-05-11T10:25:49.383Z
2,016
5
10
2
4,081
3
736
32
2
3
true
false
true
false
false
false
zero
37,159,862
vehicle detection and tracking in android
<p>I am currently working on an android application to detect and track any type of vehicles moving on a particular road. I am currently using openCV library to do this. After so many days of reading, I have got to realize that i need to use BackgroundSubtractorMOG to detect movement but then how do i identify the obje...
I am currently working on an android application to detect and track any type of vehicles moving on a particular road. I am currently using openCV library to do this. After so many days of reading, I have got to realize that i need to use BackgroundSubtractorMOG to detect movement but then how do i identify the object ...
java|android|opencv|machine-learning|detection
1
2016-05-11T10:26:25.180Z
2,016
5
10
2
976
0
858
41
5
1
true
true
false
false
false
false
low
37,160,010
SQLite avoid crashes when data is inputted wrong
<p>I am new to android programming and have just managed to build a working sqlite database.</p> <p>However when data is entered incorrectly, such as into the "Expiry date" section which requires the user to input in the format of YYYY/MM/DD, the program will crash if inputted wrong. Is there a way to reject the infor...
I am new to android programming and have just managed to build a working sqlite database. However when data is entered incorrectly, such as into the "Expiry date" section which requires the user to input in the format of YYYY/MM/DD, the program will crash if inputted wrong. Is there a way to reject the information bein...
android|sqlite
0
2016-05-11T10:32:52.197Z
2,016
5
10
2
126
2
516
48
2
2
true
false
false
false
false
false
zero
37,160,036
How can I detect when player cancels Google Play Games sign-in?
<p>I'm using Unity.</p> <p>I'm trying to detect when the player cancels the automatic Google Play Games sign-in, so I can disable automatic sign-in attempts whenever they play the game at a later date.</p> <p>I need to do this to comply with the Quality Checklist, described here: <a href="https://developers.google.co...
I'm using Unity. I'm trying to detect when the player cancels the automatic Google Play Games sign-in, so I can disable automatic sign-in attempts whenever they play the game at a later date. I need to do this to comply with the Quality Checklist, described here: https://developers.google.com/games/services/checklist#1...
c#|android|unity3d|google-play|google-play-games
1
2016-05-11T10:33:32.683Z
2,016
5
10
2
171
0
1,035
63
5
1
true
true
false
false
false
false
low
37,160,043
How to always launch app on Gear vr USB attachment
<p>An Android application for Gear VR using Samsung S6 and S7. Following implementation is for auto launch on mobile insertion to VR. <br/> AndroidManifest.xml</p> <pre><code>&lt;activity android:name=".SplashActivity" android:theme="@style/SplashTheme" android:launchMode="singleTask" ...
An Android application for Gear VR using Samsung S6 and S7. Following implementation is for auto launch on mobile insertion to VR. AndroidManifest.xml [CODE] device_filter.xml [CODE] It works but there is problem with Oculus app, sometime my app launch before Oculus app and other time Oculus app appear but my app doesn...
android|samsung-mobile|gear-vr
2
2016-05-11T10:33:43.653Z
2,016
5
10
2
693
1
489
50
3
2
true
false
false
false
false
false
low
37,160,109
Xamarin Android Pass Data Between Fragments
<p>I create Android Project in Xamarin plugin for Visual Studio Community 2015. I have in my application 4 fragments and I switch in them by ViewPager which is navigated in ActionBar. In second and third tab, there are few fields (for second tab -> Name, Surname, Mail, Phone and for third -> description field). These f...
I create Android Project in Xamarin plugin for Visual Studio Community 2015. I have in my application 4 fragments and I switch in them by ViewPager which is navigated in ActionBar. In second and third tab, there are few fields (for second tab -> Name, Surname, Mail, Phone and for third -> description field). These fiel...
android-fragments|xamarin|xamarin.android
0
2016-05-11T10:36:12.883Z
2,016
5
10
2
1,468
1
687
43
3
3
true
false
false
false
false
false
zero
37,160,137
Android - AnalyticsReceiver is not registered or is disabled?
<p>I am using google analytics but when I debug with adb show me these messages.</p> <pre><code>05-11 14:57:48.911 1681-1912/? W/GAv4-SVC: Network compressed POST connection error: java.net.ConnectException: failed to connect to ssl.google-analytics.com/127.0.0.1 (port 443) after 60000ms: isConnected failed: ECONNREFU...
I am using google analytics but when I debug with adb show me these messages. [CODE] Is my google analytics connect or is it true ? Here is my MainActivity : [CODE] And here is my analytics_global_config.xml : [CODE] And I add json in my app project. If need to see all project I can show it. Thanks
android|google-analytics|google-analytics-api|google-analytics-firebase
1
2016-05-11T10:37:33.343Z
2,016
5
10
2
2,605
2
299
61
4
3
true
false
true
false
false
false
low
37,160,204
how to pass latitude and longitude data to navigation drawer activity
<p>i am getting null data on my recyclerview, i am passing latitude and longitude data using place picker, its working properly on my MapActivity. but when i m trying to store that data on my NavigationDrawer item activity, its getting null,</p> <p>here is my code of MapActivity</p> <pre><code>public class MapsActivi...
i am getting null data on my recyclerview, i am passing latitude and longitude data using place picker, its working properly on my MapActivity. but when i m trying to store that data on my NavigationDrawer item activity, its getting null, here is my code of MapActivity [CODE] In my LocationList class i have recycleview...
java|android|google-maps
-1
2016-05-11T10:40:25.203Z
2,016
5
10
2
267
1
548
69
3
2
true
false
false
false
false
true
negative
37,160,216
RxJava + Retrofit + polling
<p>I have a Retrofit call and want to recall it every 30sec. To do that I use an <code>Observable.interval(0, 30, TimeUnit.SECONDS)</code></p> <pre><code>Observable .interval(0, 30, TimeUnit.SECONDS) .flatMap(x -&gt; RestApi.instance().getUsers()) .observeOn(AndroidSchedulers.mainThread()) .subscribe(l...
I have a Retrofit call and want to recall it every 30sec. To do that I use an Observable.interval(0, 30, TimeUnit.SECONDS) [CODE] My problem: If the api call fails, onError is called and the subscription unsubscribes and the polling isn't working anymore :-( To catch the api error I added a retryWhen [CODE] This catche...
java|android|rx-java|retrofit2|rx-android
14
2016-05-11T10:40:49.380Z
2,016
5
10
2
6,560
4
621
27
5
2
true
false
true
false
true
false
medium
37,160,260
Problems with OAuth regarding jetty
<p>I've got following problem:</p> <p>When trying to get credentials through OAuth2, I got the runtime Exception </p> <pre><code>java.lang.NoClassDefFoundError: org.mortbay.jetty.Server at com.google.api.client.extensions.jetty.auth.oauth2.LocalServerReceiver.getRedirect...
I've got following problem: When trying to get credentials through OAuth2, I got the runtime Exception [CODE] When now trying to import jetty through dependencies and excluding it in other packages, I get following gradle error: [CODE] com.android.build.api.transform.TransformException: com.android.builder.packaging.Du...
java|android|oauth|jetty|oauth-2.0
2
2016-05-11T10:42:53.103Z
2,016
5
10
2
657
0
990
35
5
4
true
true
false
false
false
false
low
37,160,261
Get first visible item in recyclerview
<p>I'm trying to get position of first visible item in RecyclerView, because I need some information about it (e.g. title). Unfortunately when I'm using <code>LayoutManager.findFirstVisibleItemPosition()</code> it returns 0, all the time. Moreover, my RecyclerView is located in NestedScrollView. All this items are in ...
I'm trying to get position of first visible item in RecyclerView, because I need some information about it (e.g. title). Unfortunately when I'm using LayoutManager.findFirstVisibleItemPosition() it returns 0, all the time. Moreover, my RecyclerView is located in NestedScrollView. All this items are in PageAdapter (TabL...
android|android-recyclerview
6
2016-05-11T10:42:57.510Z
2,016
5
10
2
5,321
0
459
38
2
1
true
true
true
false
false
false
medium
37,160,302
More than one object in recyclerview line
<p>I have created a recyclerview view as you can see below and i want to add more than one object in a line. Can someone help me?? row_layout:</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://...
I have created a recyclerview view as you can see below and i want to add more than one object in a line. Can someone help me?? row_layout: [CODE] main layout: [CODE] looks like: https://drive.google.com/open?id=0ByeD1eD5C-v_aXkwQUlKS2w1dUU
android|android-recyclerview
0
2016-05-11T10:44:32.950Z
2,016
5
10
2
140
3
240
41
2
2
true
false
false
false
false
false
zero
37,160,327
Clarity on Android not responding dialog root cause
<p>I have a customer who is using a proof of concept Android app I created for them and they are reporting an Android not responding dialog that I cannot reproduce on my own devices.</p> <p>So I got them to get the traces.txt file off the device and it shows my apps process as being in the following state:</p> <pre><...
I have a customer who is using a proof of concept Android app I created for them and they are reporting an Android not responding dialog that I cannot reproduce on my own devices. So I got them to get the traces.txt file off the device and it shows my apps process as being in the following state: [CODE] I've had to cut...
java|android|multithreading|intentservice|android-anr-dialog
0
2016-05-11T10:45:53.217Z
2,016
5
10
2
536
0
1,814
51
5
4
true
true
false
false
false
false
zero
37,160,484
Binding buttons with Increment and decrement handlers in android databinding
<p>I am trying to implement increase and decrease of quantity in a TextView with Handlers, but always it throws the same error kindly help me to understand where I am lacking to get the expected result. </p> <p>Error:Execution failed for task ':app:compileDebugJavaWithJavac'.</p> <blockquote> <p>java.lang.RuntimeE...
I am trying to implement increase and decrease of quantity in a TextView with Handlers, but always it throws the same error kindly help me to understand where I am lacking to get the expected result. Error:Execution failed for task ':app:compileDebugJavaWithJavac'. java.lang.RuntimeException: Found data binding errors....
android|onclicklistener|runtimeexception|android-handler|android-databinding
0
2016-05-11T10:52:59.657Z
2,016
5
10
2
2,375
1
604
76
5
2
true
false
false
false
false
false
zero
37,160,495
Android navigate one fragment to another is working but , cannot see other fragment's background
<p>I try to navigate one fragment to another. In here I use a button to do this process . When I run this , I get a blank screen at the end.</p> <p>These are my steps,</p> <p><strong>MainActivity.java</strong></p> <pre><code>import android.support.v4.app.Fragment; import android.support.v4.app.FragmentActivity; impo...
I try to navigate one fragment to another. In here I use a button to do this process . When I run this , I get a blank screen at the end. These are my steps, MainActivity.java [CODE] I wanted navigate third fragment to fourth one. activity_main.xml [CODE] third_frag.xml [CODE] ThirdFragment.java [CODE] fourth_frag.xml ...
java|android|xml|android-fragments
0
2016-05-11T10:53:50.467Z
2,016
5
10
2
685
4
626
96
4
6
true
false
false
false
false
false
zero
37,160,557
android UI Test with Espresso java.lang.NoClassDefFoundError:
<p>I do UITest with Espresso, and test login function in LoginActivity.java . when running LoginScreenTest.java ,some exception got,the follow is exception message. I don't konw why LoginPresenter can be found but LoadIdlingResource cannot be found ,why and how to do.thanks very much!!! the following is exception mess...
I do UITest with Espresso, and test login function in LoginActivity.java . when running LoginScreenTest.java ,some exception got,the follow is exception message. I don't konw why LoginPresenter can be found but LoadIdlingResource cannot be found ,why and how to do.thanks very much!!! the following is exception message....
android|android-espresso|uitest
0
2016-05-11T10:56:37.133Z
2,016
5
10
2
1,105
0
351
61
3
2
true
true
false
false
false
false
zero
37,160,599
error Retrofit Unauthorized 401
<p>In my android app I need to call a Rest Web service with authantification to the server this is a part of my code :</p> <pre><code> public static final String API_URL = "http://adm-erp-tst1.adm.gov.sa:8001/webservices/rest/mobilesvc/"; private static OkHttpClient.Builder httpClient = new OkHttpClient.Builder(); ...
In my android app I need to call a Rest Web service with authantification to the server this is a part of my code : [CODE] output Log : [CODE] and I am sure that the login and password are correct. I really appreciate any help you can provide. update: [CODE]
android|basic-authentication|retrofit2|okhttp
0
2016-05-11T10:59:03.807Z
2,016
5
10
2
984
0
258
31
4
3
true
true
false
false
false
false
zero
37,160,658
Adding a view to a drawer layout in navigation drawer
<p>I have a drawer layout with a navigation view and this is populated with menu items, i want to include an image at the bottom of the drawer below the menu items where there is blank space but having difficulty achieving this, i have tried to add imageview but it places this behind the drawer and not where i was hopi...
I have a drawer layout with a navigation view and this is populated with menu items, i want to include an image at the bottom of the drawer below the menu items where there is blank space but having difficulty achieving this, i have tried to add imageview but it places this behind the drawer and not where i was hoping....
java|android|navigation-drawer|android-xml|navigationview
1
2016-05-11T11:01:26.360Z
2,016
5
11
2
5,182
2
438
53
5
2
true
false
true
false
false
false
low
37,160,672
Android Lollipop notifications
<p>How to make something like this in Android using Lollipop notifications (pointed with red shapes):</p> <p><img src="https://i.stack.imgur.com/WuKUrm.png" alt="lollipop notification"></p> <p>Here's how I implement a notification:</p> <pre><code> NotificationCompat.InboxStyle inboxStyle = new No...
How to make something like this in Android using Lollipop notifications (pointed with red shapes): Here's how I implement a notification: [CODE]
android|android-5.0-lollipop|android-notifications
1
2016-05-11T11:02:03.207Z
2,016
5
11
2
1,280
2
144
30
3
1
true
false
false
false
false
false
low
37,160,758
Online Pdf viewer with pinch zoom throws exception after close activity
<p>I want to open a PDF file from server in web-view with zoom facilities. I am using webView.setBuiltInZoomControls(true) but it throws an exception after close activity.</p> <p>I am using below code:</p> <pre><code> webView = (WebView) findViewById(R.id.webView); webView.getSettings().setSupportZoom(tru...
I want to open a PDF file from server in web-view with zoom facilities. I am using webView.setBuiltInZoomControls(true) but it throws an exception after close activity. I am using below code: [CODE] Exception is : android.view.WindowLeaked: Activity has leaked window android.widget.ZoomButtonsController$Container that ...
android-studio|webview
1
2016-05-11T11:06:14.040Z
2,016
5
11
2
474
1
345
71
2
1
true
false
false
false
false
false
low
37,160,845
Recording audio by an OnClick event in an if statement
<p>I want to create a button that both starts recording audio and stops recording audio. I am trying to make the button change its text from "Start Recording" to "Stop Recording". However, I am unable to do this. </p> <p>These are the following issues I have:</p> <p>1) Not being able to get the xml onClick event to m...
I want to create a button that both starts recording audio and stops recording audio. I am trying to make the button change its text from "Start Recording" to "Stop Recording". However, I am unable to do this. These are the following issues I have: 1) Not being able to get the xml onClick event to match to the related ...
java|android|xml|user-interface
0
2016-05-11T11:09:43.697Z
2,016
5
11
2
286
2
676
54
4
3
true
false
false
false
false
false
zero
37,160,856
SocketTimeoutException: failed to connect to myUrl (port 80) after 7000ms - Jsoup
<p>In Android I have multi threads that performs <code>HTML</code> parsing using <code>Jsoup</code>.<br> My connection code is:</p> <pre><code>Jsoup.connect(url).userAgent(this.userAgent).timeout(10 * 1000).get(); </code></pre> <p>where <code>this.userAgent</code> equals to the latest Mozilla user agent - <code>"Mozi...
In Android I have multi threads that performs HTML parsing using Jsoup . My connection code is: [CODE] where this.userAgent equals to the latest Mozilla user agent - "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/40.1" . Now how come I get this SocketTimeoutException with a parameter of 7000ms whe...
android|timeout|jsoup|user-agent|socket-timeout-exception
1
2016-05-11T11:10:16.820Z
2,016
5
11
2
3,385
2
843
81
5
2
true
false
true
false
false
false
low
37,160,935
Android Toolbar: Click on the imageButton does not stays the same
<p><code>enter code here</code>I have found similar questions on stack overflow but could not figure out the solution. I am newbie to android. I have a toolbar and I am trying to implement a "Like" button on the toolbar. Basically in viewPager's view I show user some quotation and if user like it they can click on the ...
enter code here I have found similar questions on stack overflow but could not figure out the solution. I am newbie to android. I have a toolbar and I am trying to implement a "Like" button on the toolbar. Basically in viewPager's view I show user some quotation and if user like it they can click on the like button on ...
android|android-toolbar|android-imagebutton|android-selector
0
2016-05-11T11:14:10.340Z
2,016
5
11
2
708
3
883
65
4
2
true
false
false
false
false
false
zero
37,161,017
inserting data into database "table products has no column named accFor (code 1)"
<p>Ok so i am trying to create an app that takes two values from my interface, one from a text box the other from a spinner and then insert them into the database and display them below the insertion fields.</p> <p>Error inserting accFor=Personal productname=Ayy ...
Ok so i am trying to create an app that takes two values from my interface, one from a text box the other from a spinner and then insert them into the database and display them below the insertion fields. Error inserting accFor=Personal productname=Ayy android.database.sqlite.SQLiteException: table products has no colu...
java|android|sqlite
0
2016-05-11T11:17:13.033Z
2,016
5
11
2
280
1
721
81
3
1
true
false
false
false
false
false
zero
37,161,027
Infinite smooth scrollX for HorizontalScrollView
<p>How would you implement endless smooth horizontal scroll from left to right (and vice versa)? </p> <p><code>HorizontalScrollView</code> contains only one <code>TextView</code> element with quite long text inside therefore I want to scroll that text instead of user.</p> <p>I found <code>ObjectAnimator</code> to be ...
How would you implement endless smooth horizontal scroll from left to right (and vice versa)? HorizontalScrollView contains only one TextView element with quite long text inside therefore I want to scroll that text instead of user. I found ObjectAnimator to be only one to achieve smooth scrolling. Now the problem is to...
android|android-animation|android-scrollview
-1
2016-05-11T11:17:38.207Z
2,016
5
11
2
968
1
941
48
3
1
true
false
false
false
false
true
negative
37,161,061
string.equals(string2) returns false though both strings are exactly same, even in length
<p>I'm trying to do an operation when two strings are different. The strings are actually time and am checking to see if the new time i obtained from remote database is different.</p> <p>I repeatedly get time from database and have a variable which contains the previous time to check if the new time is same as old tim...
I'm trying to do an operation when two strings are different. The strings are actually time and am checking to see if the new time i obtained from remote database is different. I repeatedly get time from database and have a variable which contains the previous time to check if the new time is same as old time. If not I...
java|android
0
2016-05-11T11:19:09.140Z
2,016
5
11
2
1,078
6
554
89
2
1
true
false
false
false
false
false
zero
37,161,111
ArrayList Hash Map extract and storing into arraylist
<p>I just configured some data in an ArrayList of HashMaps, which will be sent to another activity. There it will get decoded and the values are then stored in particular arrays. Let me show my code which I configured in the 1st Activity: </p> <pre><code>ArrayList&lt;HashMap&lt;String, String&gt;&gt; hashMapArrayList ...
I just configured some data in an ArrayList of HashMaps, which will be sent to another activity. There it will get decoded and the values are then stored in particular arrays. Let me show my code which I configured in the 1st Activity: [CODE] Now in 2nd Activity, [CODE] A big thanks, deeply appreciated.
java|android|arraylist|hashmap
1
2016-05-11T11:21:15.413Z
2,016
5
11
2
448
1
304
53
4
2
true
false
false
false
false
false
low
37,161,143
how to restrict imageview from drag out of screen?
<p><strong>how to restrict imageview from drag out of screen?</strong></p> <p><strong>java file to color border of imageview</strong></p> <pre><code> LinearLayout linearLayout = (LinearLayout) findViewById(R.id.linear); ShapeDrawable sd = new ShapeDrawable(); // Specify the shape of ShapeDrawable sd...
how to restrict imageview from drag out of screen? java file to color border of imageview [CODE] image gets out of screen i want imageview to remian in inside the layout Touch1 class i used to move and zoom in and out imageview [CODE] xml [CODE]
android|android-layout|android-imageview
0
2016-05-11T11:22:55.400Z
2,016
5
11
2
2,554
3
245
50
3
3
true
false
false
false
false
false
zero
37,161,173
Android CGM start Activity after receiving Push Notification
<p>After a <code>Push Notification</code> is received, I want to open an <code>Àctivity</code> when the <code>Notification</code> is pressed.</p> <p>Here are my <code>Services</code>:</p> <pre><code>public class GCMIntentService extends GcmListenerService { @Override public void onMessageReceived(String from, Bundle ...
After a Push Notification is received, I want to open an Àctivity when the Notification is pressed. Here are my Services : [CODE] I just did everything following the Google documentation. I implemented that feature for another project sometime ago but it was a bit different, I used my own 'BroadcastReceiver' instead of...
android|android-intent|push-notification|google-cloud-messaging|android-broadcastreceiver
2
2016-05-11T11:24:08.460Z
2,016
5
11
2
1,454
1
621
60
5
2
true
false
false
false
false
false
low
37,161,191
How i can get Uri from intent?
<p>I did</p> <pre><code>@Override public void onClick(View v) { switch (v.getId()){ //если выбрали камеру - запускаем ее case R.id.b_camera: //uri = generateFileUri(); if (uri == null) { Toast.makeText(getView().getContext(), getResources().getString(R.string...
I did [CODE] Method generateFileUri() is called in onCreateView(). Line intentCamera.putExtra("return-data", true); doesnot work for me (if use "return-data" as a key in onActivityResult at getParceble()). [CODE] I see log "result ok". I think it meens camera did work well. But then i see: Failure delivering result Res...
android|android-intent|android-camera
7
2016-05-11T11:24:46.823Z
2,016
5
11
2
21,610
4
593
30
3
2
true
false
true
true
false
false
medium
37,161,217
How to send a gcm notification on a particular date and time
<p>I have scenario, Where say x assigns a task to y with a due date and time. Right now I'm sending a notification when a task is assigned i.e on button click with date &amp; time. Now I also want to send a reminder notification if he fails to complete on specified time. Below is my code</p> <pre><code>Button dialogBu...
I have scenario, Where say x assigns a task to y with a due date and time. Right now I'm sending a notification when a task is assigned i.e on button click with date & time. Now I also want to send a reminder notification if he fails to complete on specified time. Below is my code [CODE] Server Side code [CODE] My Rece...
android|google-cloud-messaging|android-service
1
2016-05-11T11:25:53.297Z
2,016
5
11
2
417
0
613
60
3
3
true
true
false
false
false
false
low
37,161,277
Google Sign In can't work on Lollipop
<p>when i click SignIn using google sign in on Lollipop then show choose account, and after i choose account but why can't move to next activity but just stuck in SignIn activity?? and i tried on Kitkat it's successful move to next activity</p> <p>LoginActivity</p> <pre><code>package com.emergency; /** * Created b...
when i click SignIn using google sign in on Lollipop then show choose account, and after i choose account but why can't move to next activity but just stuck in SignIn activity?? and i tried on Kitkat it's successful move to next activity LoginActivity [CODE]
android|google-signin
1
2016-05-11T11:28:18.100Z
2,016
5
11
2
220
0
258
37
2
1
true
true
false
false
false
false
low
37,161,417
RecyclerView horizontal LinearLayoutManager with multiple rows
<p>I want to make a Layout Manager that will represent its items in a Tag-Cloud way of representation, just as on the Image below.</p> <p><a href="https://i.stack.imgur.com/0IAo9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0IAo9.png" alt="enter image description here"></a></p> <p>There are libr...
I want to make a Layout Manager that will represent its items in a Tag-Cloud way of representation, just as on the Image below. There are libraries that do this but I just want to learn how to do it by using the RecyclerView and its LayoutManager pattern. StaggeredGridLayoutManager is out of option because you must spe...
java|android|mobile|android-recyclerview
4
2016-05-11T11:34:08.873Z
2,016
5
11
2
1,779
0
836
62
4
0
false
true
false
false
false
false
low
37,161,461
Error in simple android app list adapter
<p>This is my java code:</p> <pre><code>import android.os.Bundle; import android.app.Activity; import android.widget.ArrayAdapter; import android.widget.ListView; import java.util.ArrayList; import java.util.List; public class MainActivity extends Activity { ListView myList; @Override protected void onCreate(Bundle s...
This is my java code: [CODE] and this is my xml layout: [CODE] When I run my app i get this error and this is what is in android monitor in case that you may need: This is what I have done so far.
java|android|android-layout
1
2016-05-11T11:36:40.460Z
2,016
5
11
2
1,218
4
196
40
3
2
true
false
false
false
false
false
low
37,161,593
How to make Toolbar not null?
<p>My app has two activities, the main one is working well but when opening the login one it crashes with the following error:</p> <blockquote> <p>java.lang.NullPointerException: Attempt to invoke virtual method 'void android.support.v7.app.ActionBar.setDisplayHomeAsUpEnabled(boolean)' on a null object reference</p>...
My app has two activities, the main one is working well but when opening the login one it crashes with the following error: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.support.v7.app.ActionBar.setDisplayHomeAsUpEnabled(boolean)' on a null object reference Here's the fragment of my cod...
android|authentication|toolbar
1
2016-05-11T11:42:10.520Z
2,016
5
11
2
1,093
2
530
29
3
1
true
false
false
false
false
false
low
37,161,600
Java Restful Web Service running only Android 4.4 Mobile not other
<p>I build a Java Restfull Web Service to be called by ionic apps running on Android Mobil devices.</p> <p>The code is successfully running on <code>Android 4.4 Mobile</code>.</p> <p>but <strong>not running</strong> on any other android mobile devices with os :<code>android lollipop, marshmallow</code>.</p> <p><str...
I build a Java Restfull Web Service to be called by ionic apps running on Android Mobil devices. The code is successfully running on Android 4.4 Mobile . but not running on any other android mobile devices with os : android lollipop, marshmallow . webservices web.xml [CODE] Rest webservice code [CODE] Rest webservice d...
android|web-services|ionic-framework|java
8
2016-05-11T11:42:26.677Z
2,016
5
11
2
707
2
575
66
4
4
true
false
false
false
false
false
medium
37,161,684
References in code moved from Activity to Fragment no longer resolve
<p>I'm quite new working with Android/Java, so please bear with me.</p> <p>I moved code from <code>LoginActivity &gt; onCreate</code> into a fragment I created <code>FragmentLogin</code> to method <code>onCreate</code> where many classes no longer resolve, such as <code>findViewById</code>. I'm assuming that somewhere...
I'm quite new working with Android/Java, so please bear with me. I moved code from LoginActivity > onCreate into a fragment I created FragmentLogin to method onCreate where many classes no longer resolve, such as findViewById . I'm assuming that somewhere I didn't pass the context of the container Activity properly. Or...
java|android
0
2016-05-11T11:46:13.057Z
2,016
5
11
2
35
3
920
68
2
2
true
false
false
false
false
false
zero
37,161,743
Downloading files and install from internal storage
<p>I would rather my application save and install the zip file in the internal storage for the app than the users sdcard so there isn't files being created which may limit users without sdcard. Could someone direct me on how to change my code so the zip file is saved internal storage rather than sdcard.</p> <pre><code...
I would rather my application save and install the zip file in the internal storage for the app than the users sdcard so there isn't files being created which may limit users without sdcard. Could someone direct me on how to change my code so the zip file is saved internal storage rather than sdcard. [CODE] }
android
1
2016-05-11T11:48:13.677Z
2,016
5
11
2
50
0
310
51
1
1
true
true
false
false
false
false
low
37,161,754
Variable not updated on AsyncTask
<p>Like title says, my variable is not updated on <code>AsyncTask</code> <code>onPostExecute()</code></p> <p>Here is the code</p> <pre class="lang-java prettyprint-override"><code>public class Search extends AppCompatActivity { ArrayList&lt;paire&gt; Sectors = new ArrayList&lt;paire&gt;();//paire is my proper class ...
Like title says, my variable is not updated on AsyncTask onPostExecute() Here is the code [CODE] Well myArray is created from data gotten from dataBase (HTTP connection, JSON result ...) and the result is a very acceptable JSON output; there's no problem here, it's just that Sectors is not updated if I try to use it on...
android|arrays|json|android-asynctask
-1
2016-05-11T11:48:30.100Z
2,016
5
11
2
115
4
414
33
4
1
true
false
false
false
false
true
negative
37,161,804
The added lines which are running in debug build are not running in signed build
<p>Strange behaviour when when generating a signed APK, The added lines which are running in debug build are not running in signed build, I really need some help .</p> <pre><code>apply plugin: 'com.android.application' android { compileSdkVersion 20 buildToolsVersion "23.0.3" defaultConfig { minS...
Strange behaviour when when generating a signed APK, The added lines which are running in debug build are not running in signed build, I really need some help . [CODE] I added few lines to the service , to test whether the values are correct, but what I could see is the lines which I added are not at all running. I mod...
android|android-gradle-plugin
0
2016-05-11T11:50:20.497Z
2,016
5
11
2
26
1
376
80
2
2
true
false
false
false
false
false
zero
37,161,841
Blocking certain content based on Keywords on mobile
<p>I would have thought that this is an obvious question, but I'm not seeing it anywhere exactly.</p> <p>Say you don't want certain types of content showing up on your Facebook, Twitter, email, web searches, etc. For example, say you have a Clown phobia, so you are somehow able - via an app (assume mobile if thats eas...
I would have thought that this is an obvious question, but I'm not seeing it anywhere exactly. Say you don't want certain types of content showing up on your Facebook, Twitter, email, web searches, etc. For example, say you have a Clown phobia, so you are somehow able - via an app (assume mobile if thats easier?) - so ...
android|ios|mobile
0
2016-05-11T11:52:14.793Z
2,016
5
11
2
31
0
1,110
52
3
0
false
true
false
false
false
false
zero
37,161,931
Retrofit 2.0.2 get error string body
<p>I use Retrofit 2.0.2 and I can't get error body json and convert it. Here my code:</p> <pre><code>public RestClient() { retrofit = new Retrofit.Builder() .baseUrl(BASE_URL) .addConverterFactory(GsonConverterFactory.create()) .build(); apiInterface = retrofit.create(ApiI...
I use Retrofit 2.0.2 and I can't get error body json and convert it. Here my code: [CODE] and here my Logs: 05-11 17:54:09.961 2606-2606/ D/Login_call: false Bad Request 05-11 17:54:09.961 2606-2606/ D/Login_call: okhttp3.ResponseBody$1@41ef0e18 How to solve this?
android|retrofit
1
2016-05-11T11:55:16.897Z
2,016
5
11
2
11,954
4
264
36
2
1
true
false
true
true
false
false
low
37,162,038
While scrolling the list ,the items in list are getting jumbled
<p>While scrolling the list ,the items in list are getting jumbled. I am using the base adapter for custom list.</p> <p>My code is:</p> <pre><code>public View getView(final int position, View convertView, ViewGroup parent) { ViewHolder holder; if (convertView == null) { holder = new ViewHolder(); ...
While scrolling the list ,the items in list are getting jumbled. I am using the base adapter for custom list. My code is: [CODE]
android
0
2016-05-11T12:00:01.137Z
2,016
5
12
2
94
1
128
63
1
1
true
false
false
false
false
false
zero
37,162,044
"non-static variable cannot ..." error - MarshMallow permission
<p>I am trying to implement the permissionChecker for Marshmallow 6.0 </p> <p>In my <code>onCreate</code> I put the permission check method (this is where the error happens every time on <code>onCreate()</code>, see error below). </p> <pre><code>@Override public void onCreate() { Permission(); //other codes...
I am trying to implement the permissionChecker for Marshmallow 6.0 In my onCreate I put the permission check method (this is where the error happens every time on onCreate() , see error below). [CODE] And this is INSIDE the MainActivity class and is called on onCreate() [CODE] This happens only if the permission is off...
android|android-6.0-marshmallow|android-permissions
0
2016-05-11T12:00:13.607Z
2,016
5
12
2
178
0
727
63
3
2
true
true
false
false
false
false
zero
37,162,046
How to use RxJava for asynchronously executing a dynamic list of consecutive dependent operations?
<p>I'm working on an Android Service Library (AAR) that has to execute a variable number of processes consecutive/pipelined on an input (JSON) in the background.</p> <p>Thereby, the next process takes the output of the previous process as input.</p> <p>The processes can involve literally every kind of possibly long r...
I'm working on an Android Service Library (AAR) that has to execute a variable number of processes consecutive/pipelined on an input (JSON) in the background. Thereby, the next process takes the output of the previous process as input. The processes can involve literally every kind of possibly long running tasks (http ...
android|rx-java|reactive-programming|rx-android
1
2016-05-11T12:00:27.447Z
2,016
5
12
2
168
0
1,384
98
4
0
false
true
false
false
false
false
low
37,162,084
How can I implements OnItemClickListener on ListView
<p>I have one android fragment that have a listView. Now I want implement onItemClickListener and show a Modal, if the user click on one item of ListView. Then, if I click on one items, I should to see a Modal with another listView. So with my code, if I try to click on one items, I can display the items of the last el...
I have one android fragment that have a listView. Now I want implement onItemClickListener and show a Modal, if the user click on one item of ListView. Then, if I click on one items, I should to see a Modal with another listView. So with my code, if I try to click on one items, I can display the items of the last eleme...
android|listview|android-fragments
0
2016-05-11T12:02:27.117Z
2,016
5
12
2
445
2
422
52
3
2
true
false
false
false
false
false
zero
37,162,141
2 Time picker in Same activity
<p>Can anyone help me to implement two time picker in same activity and store its 4 value (hour,minute) into 4 different variables.... My code is as below (not working)...</p> <p>public class Time extends AppCompatActivity{</p> <pre><code>static final int START_TIME_ID=0; static final int END_TIME_ID=1; EditText edi...
Can anyone help me to implement two time picker in same activity and store its 4 value (hour,minute) into 4 different variables.... My code is as below (not working)... public class Time extends AppCompatActivity{ [CODE] } [CODE]
android|timepicker
0
2016-05-11T12:04:36.550Z
2,016
5
12
2
2,074
3
229
30
2
2
true
false
false
false
false
false
zero
37,162,165
Gluon Charm Down Barcode Scanner - Intent handler not found
<p>I am using Netbeans 8.1 and the gluonhq jfxplugin 2.2.0.</p> <p>I am trying to read a barcode, and created a new project (the standard hello world). I changed the button handler to call a function UpdateText() (below) which in turn calls the Charm Down Scan service.</p> <p>When I run the app, and click on the butt...
I am using Netbeans 8.1 and the gluonhq jfxplugin 2.2.0. I am trying to read a barcode, and created a new project (the standard hello world). I changed the button handler to call a function UpdateText() (below) which in turn calls the Charm Down Scan service. When I run the app, and click on the button I get the follow...
android|mobile|barcode-scanner|gluon|charm
2
2016-05-11T12:05:29.427Z
2,016
5
12
2
597
1
493
59
5
2
true
false
false
false
false
false
low
37,162,184
How to check working wifi is there or not?
<pre><code>public boolean isConnected(Context context) { connected=false; ConnectivityManager connectivity = (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE); if (connectivity != null) { NetworkInfo info = connectivity.getActiveNetworkInfo(); if (info != null &amp...
[CODE] I have used this code. its working fine, but my issue is that there i need to call server. Is there any other way to check speed or working of WiFi ? [CODE] I used above code to check speed but it also not working fine. Please help me out. Thanks in advance
android|networking|connection|android-wifi
0
2016-05-11T12:06:21.713Z
2,016
5
12
2
76
2
264
42
4
2
true
false
false
false
false
false
zero
37,162,223
Permission Denial: android.permission.READ_EXTERNAL_STORAGE
<p>I am using a MediaStore class in my application and facing the below error(logcat),</p> <pre><code>E/DatabaseUtils: Writing exception to parcel java.lang.SecurityException: Permission Denial: reading com.android.providers.media.MediaProvider uri content://media/external/audio/media from pid=5769, uid=10059 requires...
I am using a MediaStore class in my application and facing the below error(logcat), [CODE] I read this question, Android reading external storage gives securityException But I have placed the permissions correctly in my manifest below, Manifest.xml [CODE] Also upon reading further I also went through this below questio...
android|permissions|android-6.0-marshmallow
3
2016-05-11T12:07:41.240Z
2,016
5
12
2
7,041
2
898
59
3
2
true
false
true
false
false
false
low
37,162,237
Blank screen on debug of Xamarin app
<p>I am not sure if it is just me, or everyone else out there, but every time i debug my Xamarin app on my mobile device i get a blank screen with an actionbar. The screen is displayed for about 2 seconds before it actually loads my specified screen.</p> <p>Here is my PCL App.cs file:</p> <pre><code>public class App ...
I am not sure if it is just me, or everyone else out there, but every time i debug my Xamarin app on my mobile device i get a blank screen with an actionbar. The screen is displayed for about 2 seconds before it actually loads my specified screen. Here is my PCL App.cs file: [CODE] The blank screen: and then finally, a...
visual-studio|xamarin|xamarin.android|xamarin.forms
2
2016-05-11T12:08:15.767Z
2,016
5
12
2
3,336
1
339
36
4
1
true
false
true
false
false
false
low
37,162,382
Selected Gallery image not showing in imageview
<p>I was selected the image after it have to set it in the imageview.But it doesn't set it in imageview.</p> <p>I have posted the relevant code.</p> <p><strong>EditViewProfileActivity.java</strong> </p> <pre><code>public class EditViewProfileActivity extends AppCompatActivity implements AdapterView.OnItemSelectedLis...
I was selected the image after it have to set it in the imageview.But it doesn't set it in imageview. I have posted the relevant code. EditViewProfileActivity.java [CODE] I dont know why selected image not showing in imageview.Anyone can help me with this.Thank you.
android
1
2016-05-11T12:14:20.307Z
2,016
5
12
2
3,552
2
266
47
1
1
true
false
true
false
false
false
low
37,162,488
GridLayout not evenly spacing children throughout screen
<p>I have a GridLayout and inside it are 6 LinearLayout children. Inside those are buttons and other things.</p> <p>In Android Studio it looks fine, however on an actual device (and even emulator) it does not space evenly. Here is a picture of what is happening. <a href="https://i.stack.imgur.com/l4AR9.png" rel="nofol...
I have a GridLayout and inside it are 6 LinearLayout children. Inside those are buttons and other things. In Android Studio it looks fine, however on an actual device (and even emulator) it does not space evenly. Here is a picture of what is happening. [CODE]
android|xml|android-linearlayout|grid-layout|android-relativelayout
1
2016-05-11T12:18:47.530Z
2,016
5
12
2
4,467
3
259
56
5
1
true
false
true
false
false
false
low
37,162,575
Add Multiple Markers with Lat and Long from Sql server 2014
<p>I want to add 100 markers wtih Lat and Long from Sql server 2014 My markers don't show on the map. I dont know what is the problem.</p> <p>Please help me improve my code or show me the better way to do it </p> <p>this is my code</p> <pre class="lang-java prettyprint-override"><code>public class Location { p...
I want to add 100 markers wtih Lat and Long from Sql server 2014 My markers don't show on the map. I dont know what is the problem. Please help me improve my code or show me the better way to do it this is my code [CODE] [CODE]
android|google-maps-markers
0
2016-05-11T12:22:17.870Z
2,016
5
12
2
66
1
227
59
2
2
true
false
false
false
false
false
zero
37,162,728
How to make zoom in / out scrollview in android?
<p>In my android application I need to create activities zoom able.nut in my application couple of activities start with scrollview and this code does not recognize scrollview. How can I make pinch zoom for scrollable activity? This is one of my layout.</p> <p>also tried also ScaleGestureDetector and <a href="https:/...
In my android application I need to create activities zoom able.nut in my application couple of activities start with scrollview and this code does not recognize scrollview. How can I make pinch zoom for scrollable activity? This is one of my layout. also tried also ScaleGestureDetector and How to make zoomable scrollv...
android|android-studio|scroll|scrollview|pinchzoom
0
2016-05-11T12:28:54.547Z
2,016
5
12
2
4,116
1
574
48
5
2
true
false
true
false
false
false
zero