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,776,296
Change color of selected Navigation Drawer icons
<p>I used the Android Studio template for creating an app with NavigationDrawer, but want to change to dark theme. This works quite good, but I've got problems changing the color of the icons and selected icon of the drawer.</p> <p>It's very similar to <a href="https://stackoverflow.com/q/33407448/2176962">Change colo...
I used the Android Studio template for creating an app with NavigationDrawer, but want to change to dark theme. This works quite good, but I've got problems changing the color of the icons and selected icon of the drawer. It's very similar to Change color of Navigation Drawer Icon in Android Studio default template but...
android|android-theme|android-drawer
3
2016-04-21T17:10:07.913Z
2,016
4
17
3
2,123
0
1,035
48
3
0
false
true
false
false
false
false
low
36,776,412
Detect list of beacon with Altbeacon
<p>I am trying to get the list of the nearby beacons with the Android Beacon Library. I was following this <a href="https://altbeacon.github.io/android-beacon-library/samples.html" rel="nofollow">sample</a> but as a newbie I found it too complicated. I don't want to detect beacons in the backgroun, I don't want to dete...
I am trying to get the list of the nearby beacons with the Android Beacon Library. I was following this sample but as a newbie I found it too complicated. I don't want to detect beacons in the backgroun, I don't want to detect regions entry ... I just want to have the list of the actual visible beacons. In the onCreate...
android|ibeacon-android|altbeacon
0
2016-04-21T17:16:44.700Z
2,016
4
17
3
898
1
542
36
3
1
true
false
false
false
false
false
zero
36,776,565
Use rx java to load reference data but blocking if necessary
<p>I am trying to implement a solution for storing reference data in the database of my app. </p> <p>The data is initially stored as JSON files, which I will need to sync from a server on each launch. I have a local copy of the files baked into the app. Each launch I have to check shared preferences for a version. And...
I am trying to implement a solution for storing reference data in the database of my app. The data is initially stored as JSON files, which I will need to sync from a server on each launch. I have a local copy of the files baked into the app. Each launch I have to check shared preferences for a version. And if it not p...
java|android|rx-java|reactive-programming
0
2016-04-21T17:24:05.937Z
2,016
4
17
3
93
1
1,084
60
4
0
false
false
false
false
false
false
zero
36,776,596
How i can handle my socket
<p>Guys there is something wrong with my code when i run it gets connected to server and send the message but after that its stops. Any suggestions </p> <pre><code> public void onClick(View arg0) { serverIP=Ip.getText().toString(); new Thread(new Runnable() { @Override ...
Guys there is something wrong with my code when i run it gets connected to server and send the message but after that its stops. Any suggestions [CODE] enter image description here
android|serversocket
-3
2016-04-21T17:26:01.060Z
2,016
4
17
3
26
1
180
26
2
1
true
false
false
false
false
true
negative
36,776,620
Eliminate pause in transitions between animations in AnimationSet
<p>I have an AnimationSet which moves around a view in a rectangular way:</p> <pre><code>private void animate(final View viewToAnimate) { final AnimationSet animationSet = new AnimationSet(true); TranslateAnimation animationOne = new TranslateAnimation(0, ((int) HelperPixel.convertDpToPixel(this.getApplicatio...
I have an AnimationSet which moves around a view in a rectangular way: [CODE] My problem now is that there is a small but very obvious pause between those animations. I don't want that. I want a smooth transition between the animations so that the user thinks it is one animation. He should not see that there are severa...
android|animation
0
2016-04-21T17:27:28.703Z
2,016
4
17
3
123
0
357
65
2
1
true
true
false
false
false
false
zero
36,776,700
Invalidate does not call onDraw
<p>i need to by clicking on the button redraw the picture, but after method invalidate onDraw method is not called. But the call onDraw only happens after running the application.</p> <pre><code>public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { su...
i need to by clicking on the button redraw the picture, but after method invalidate onDraw method is not called. But the call onDraw only happens after running the application. [CODE] Here is the code Draw.java [CODE] main.xml [CODE] Thanks in advance.
android|android-canvas
-1
2016-04-21T17:32:39.230Z
2,016
4
17
3
1,600
2
252
31
2
3
true
false
false
false
false
true
negative
36,776,812
Android pass selected item in listview to popupMenu
<p>I would like to pass the selected item "id" from listview to popupMenu , the mainActivity:</p> <pre><code>public class ListChildrenActivity extends AppCompatActivity implements Config, PopupMenu.OnMenuItemClickListener { private static final String TAG = "ListChildrenActivity"; ProgressDialog progressDialog; Tool...
I would like to pass the selected item "id" from listview to popupMenu , the mainActivity: [CODE] enter image description here class adapter: [CODE] Whene i click to the row of listview i get the "id" but how i can pass it to the popupMenu. The solution: it just add settag(position) to imageview in getview, then : [COD...
android|listview|popupmenu
1
2016-04-21T17:40:23.620Z
2,016
4
17
3
1,516
2
322
51
3
3
true
false
false
false
false
false
low
36,776,952
Call another activity from childrow, expandable listview, filter
<p>I would like to make an expandable list On clicking on an option take me to another activity. At the moment I only managed to make a message appear. I have only a few childrow, but I want to add more and they all take me to different activities</p> <p><strong>MainActivity.java</strong></p> <pre><code>package com.e...
I would like to make an expandable list On clicking on an option take me to another activity. At the moment I only managed to make a message appear. I have only a few childrow, but I want to add more and they all take me to different activities MainActivity.java [CODE] MyExpandableListAdapter.java [CODE]
java|android|android-activity|filter|expandablelistview
0
2016-04-21T17:47:55.810Z
2,016
4
17
3
53
0
305
64
5
2
true
true
false
false
false
false
zero
36,776,976
Logcat not working inside onReceive in Broadcast Receiver while listening to deskclock alarm intent
<p>I am listening to deskclock alarm change intent using my broadcast receiver. When the <code>onReceive()</code> method in my Broadcast Receiver is called, the logs <code>(Log.i/v())</code> inside the <code>onReceive</code> are not getting printed on Android monitor but Toasts are working just fine.</p> <p>Manifest F...
I am listening to deskclock alarm change intent using my broadcast receiver. When the onReceive() method in my Broadcast Receiver is called, the logs (Log.i/v()) inside the onReceive are not getting printed on Android monitor but Toasts are working just fine. Manifest File : [CODE] Broadcast Receiver: [CODE]
android|broadcastreceiver|intentfilter
3
2016-04-21T17:49:07.887Z
2,016
4
17
3
1,715
3
309
99
3
2
true
false
false
false
false
false
low
36,776,993
Removing Dynamically added views in android crashing application on view ClickListener for removing
<p>I want to implement the dynamically add and removing Views in android layout and Save the changes in shared preferences,<br/><br/> Everything works fine But while i m clicking on the specific view to remove on that specific view ClickListener something went wrong and its crashing the application but its removing tha...
I want to implement the dynamically add and removing Views in android layout and Save the changes in shared preferences, Everything works fine But while i m clicking on the specific view to remove on that specific view ClickListener something went wrong and its crashing the application but its removing that view and di...
android|dynamic|android-view|layout-inflater
1
2016-04-21T17:50:20.643Z
2,016
4
17
3
70
0
527
99
4
2
true
true
false
false
false
false
low
36,777,017
Running progress bar while another task is being run android
<p>I have an activity class where when a button is clicked i calls a function which updates some data. Below is the function "startDIImport"</p> <p>This function internally uses Thread.sleep(10000) to wait for another task to be completed.</p> <p>Hence while this function is in progress i am planning to show a progre...
I have an activity class where when a button is clicked i calls a function which updates some data. Below is the function "startDIImport" This function internally uses Thread.sleep(10000) to wait for another task to be completed. Hence while this function is in progress i am planning to show a progress bar. "showProgre...
android|progress-bar
-1
2016-04-21T17:52:16.137Z
2,016
4
17
3
406
1
777
60
2
1
true
false
false
false
false
true
negative
36,777,130
Android Sqlite Multiple Joins with Alias does not return anything
<p>I have this query:</p> <pre><code> Cursor res = db.rawQuery("SELECT t1.Id, t2.EmpId FROM table1 t1 LEFT JOIN table2 t2 ON t1.t2Id = t2.Id LEFT JOIN table3 t3 ON t1.t3Id = t3.Id WHERE t1.Id = 90909", null); </code></pre> <p>Now ...
I have this query: [CODE] Now when I go [CODE] The objProp.EmpId returns nothing (or 0). I looked at the cursor columns and it's Fields basically did not include the table alias names. How do I go about getting the values of those aliased fields? Thanks! EDIT Apologies. I forgot to add that if for example it's referenc...
sqlite|android-sqlite|group-concat
0
2016-04-21T17:59:29.150Z
2,016
4
17
3
636
1
408
65
3
3
true
false
false
false
false
false
zero
36,777,135
DialogFragment's inflated view being reused in next instance
<p>I have a dialog fragment with a custom view. The background color of the custom view also changes depending on the passed argument from <code>newInstance()</code> method. To make certain that it's really a different DialogFragment instance, I also passed another argument to the <code>newInstance()</code> method, the...
I have a dialog fragment with a custom view. The background color of the custom view also changes depending on the passed argument from newInstance() method. To make certain that it's really a different DialogFragment instance, I also passed another argument to the newInstance() method, the dialog title. The background...
java|android|android-fragments
0
2016-04-21T17:59:44.867Z
2,016
4
17
3
36
1
835
60
3
2
true
false
false
false
false
false
zero
36,777,170
How can I pass spinner value to a string in Android
<p>I'm new to Android and I'm trying to build a simple app that passes the value selected on a spinner to the database. But I can't figure out how to pass this value to the variable. I've read all of the threads related to the subject, but I just can't find the answer. Here is my code:</p> <pre><code>package com.examp...
I'm new to Android and I'm trying to build a simple app that passes the value selected on a spinner to the database. But I can't figure out how to pass this value to the variable. I've read all of the threads related to the subject, but I just can't find the answer. Here is my code: [CODE] When I debug this code, I can...
android|android-spinner
1
2016-04-21T18:01:43.587Z
2,016
4
18
3
638
1
535
51
2
1
true
false
false
false
false
false
low
36,777,254
Removeing from SQLite database takes a long time, causing hangs
<p>I use a SQLite Database in my app. For a specific action, I want to remove multiple (could be quite some, up to approx. a hundred) entries in a specific table. I have tried doing this by calling <code>deleteStuffLink()</code> as many times as needed in a <code>for</code> loop, and adding the loop inside the <code>de...
I use a SQLite Database in my app. For a specific action, I want to remove multiple (could be quite some, up to approx. a hundred) entries in a specific table. I have tried doing this by calling deleteStuffLink() as many times as needed in a for loop, and adding the loop inside the deleteStuffLink() method. Both of tho...
android|android-sqlite|sqliteopenhelper
2
2016-04-21T18:06:19.720Z
2,016
4
18
3
395
1
545
63
3
2
true
false
false
false
false
false
low
36,777,300
Mapbox tracking mode SDK 4.0.0
<p>I'm using android Mapbox SDK 4.0.0 and I cann't set center of map when location changed. I don't understand how to use MyLocationTrackingMode. Or how to recive current latitude and longitude and past them to CameraPosition. Can somebody help me, please? Thanks in advance!</p> <pre><code>package com.detores.wristmap...
I'm using android Mapbox SDK 4.0.0 and I cann't set center of map when location changed. I don't understand how to use MyLocationTrackingMode. Or how to recive current latitude and longitude and past them to CameraPosition. Can somebody help me, please? Thanks in advance! [CODE]
android|mapbox
1
2016-04-21T18:08:47.587Z
2,016
4
18
3
814
1
279
30
2
1
true
false
false
false
false
false
low
36,777,323
How can I save data in Android Studio using the library SQLite?
<p>I want to save a person's data in some mSQLite tables I've already made but I don't know how to do so or how to use the library. Can someone please help me??</p> <p>This is the code I have right now:</p> <pre><code>Button guardar; Button volver; EditText name; EditText email; EditText password; EditText age; EditT...
I want to save a person's data in some mSQLite tables I've already made but I don't know how to do so or how to use the library. Can someone please help me?? This is the code I have right now: [CODE] Thanks in advance!
java|android|xml|sqlite|android-studio
0
2016-04-21T18:09:56.443Z
2,016
4
18
3
68
1
218
63
5
1
true
false
false
false
false
false
zero
36,777,420
How to change background colour of an activity via button from another activity
<p>Im working on a small project with 2 activities. I want to ba able to click a button on one activity and it will change the background colour of all of the activities to #264A73. So far I have; </p> <pre><code>import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; ...
Im working on a small project with 2 activities. I want to ba able to click a button on one activity and it will change the background colour of all of the activities to #264A73. So far I have; [CODE] It changes the colour of the current activity (settings) to blue, as I wasn't sure how to use an RGB value there, but g...
java|xml|android-studio
0
2016-04-21T18:14:53.340Z
2,016
4
18
3
1,659
1
816
79
3
2
true
false
false
false
false
false
zero
36,777,452
android AAPT loses some resources
<p>My app imports android.support.v7.appcompat. Both my app and this android jar have resource file colors.xml and strings.xml. My app works well if I use Android Studio 1.5 to build it. But when I tried to use Android.mk to build it together with the rest of my system, the app just crashes every time. It comes down to...
My app imports android.support.v7.appcompat. Both my app and this android jar have resource file colors.xml and strings.xml. My app works well if I use Android Studio 1.5 to build it. But when I tried to use Android.mk to build it together with the rest of my system, the app just crashes every time. It comes down to th...
android|resources|flags|aapt
0
2016-04-21T18:16:27.930Z
2,016
4
18
3
471
1
1,401
33
4
2
true
false
false
false
false
false
zero
36,777,528
NDK no such directory or file error
<p>I am trying to compile <code>.so</code> files in Android, first issue is when I directly use <code>gradle</code> it runs perfectly but no <code>.so</code> files are generated, so I resorted to calling <code>ndk</code> by myself, I made a few changes to my <code>gradle.build</code> file now it looks like my `:</p> <...
I am trying to compile .so files in Android, first issue is when I directly use gradle it runs perfectly but no .so files are generated, so I resorted to calling ndk by myself, I made a few changes to my gradle.build file now it looks like my `: [CODE] } When I compile my code it just gives me an error to say ndk encou...
java|android|c++|opencv|android-ndk
1
2016-04-21T18:20:13.037Z
2,016
4
18
3
406
0
851
35
5
3
true
true
false
false
false
false
low
36,777,557
ArrayList being empty after adding elements
<p>I have this android code which bring a JSON from a server and fill an ArrayList from that JSON I checked the size of the ArrayList "meals" inside the onresponse void it gives me 1 but when i check it after the StringRequest object i get 0 items . meals is defined in global scope and initialized inside the oncreatevi...
I have this android code which bring a JSON from a server and fill an ArrayList from that JSON I checked the size of the ArrayList "meals" inside the onresponse void it gives me 1 but when i check it after the StringRequest object i get 0 items . meals is defined in global scope and initialized inside the oncreateview ...
java|android|arraylist
2
2016-04-21T18:22:04.250Z
2,016
4
18
3
2,598
2
345
43
3
1
true
false
false
false
false
false
low
36,777,584
How to resize an AlertDialog.Builder?
<p>I'd like to resize my <code>AlertDialog.Builder</code> but I didn't find any resolution on this website, I tried everything I saw on questions like <a href="https://stackoverflow.com/questions/4406804/how-to-control-the-width-and-height-of-default-alert-dialog-in-android">this one</a> but seems older than I'm lookin...
I'd like to resize my AlertDialog.Builder but I didn't find any resolution on this website, I tried everything I saw on questions like this one but seems older than I'm looking for, The code I'm watching doesn't work right now... ALERTDIALOGBUILDER.JAVA [CODE] I tried to become AlertDialog.Builder to AlertDialog to res...
android|resize|android-alertdialog
0
2016-04-21T18:23:43.507Z
2,016
4
18
3
4,708
2
1,204
37
3
4
true
false
true
false
false
false
zero
36,777,607
How to access `this` inside a renderRow of a ListView?
<p>I'm having trouble to run a function for the onPress event inside a row of a <code>ListView</code>. I'm following the React Native tutorial trying to continue from there. It seems it's using ES6 syntax style.</p> <p>This is the relevant part of the code.</p> <pre><code>/** * Sample React Native App * https://git...
I'm having trouble to run a function for the onPress event inside a row of a ListView . I'm following the React Native tutorial trying to continue from there. It seems it's using ES6 syntax style. This is the relevant part of the code. [CODE] I'm unable to run the something function. I've tried various syntax without s...
javascript|android|listview|react-native
10
2016-04-21T18:24:50.107Z
2,016
4
18
3
3,326
2
740
54
4
1
true
false
true
false
true
false
medium
36,777,860
Text Editor keyboard overlaps with the recyclerview list
<p>The layout has a recyclerview and a text editor at the bottom of the view. When I click the editor, the keyboard popup and overlaps with the recycerview. I want the recyclerview to be resized when the keyboard is brought up. In my Manifest file I have :</p> <pre><code> &lt;activity android:name=".CommentActivity"...
The layout has a recyclerview and a text editor at the bottom of the view. When I click the editor, the keyboard popup and overlaps with the recycerview. I want the recyclerview to be resized when the keyboard is brought up. In my Manifest file I have : [CODE] My layout looks like this : [CODE] How do I make the list s...
android|keyboard|android-recyclerview
3
2016-04-21T18:37:35.093Z
2,016
4
18
3
4,074
1
528
56
3
2
true
false
true
false
false
false
low
36,777,861
How to detect KEYCODE_DEL on soft keyboard?
<p><code>mMessageComposeUsernames</code> is a <code>MultiAutoCompleteTextView</code> and I want to delete space (if it is last char of my <code>MultiAutoCompleteTextView</code>) or delete a single word (to the last <code>" "</code>, if it is not). </p> <p>Code:</p> <pre><code>mMessageComposeUsernames.setOnKeyListener...
mMessageComposeUsernames is a MultiAutoCompleteTextView and I want to delete space (if it is last char of my MultiAutoCompleteTextView ) or delete a single word (to the last " " , if it is not). Code: [CODE] The problem is that I get nothing in Logs , so I think onKey isn't executed... How can I do what I want when KEY...
android|string|android-edittext|android-softkeyboard
0
2016-04-21T18:37:35.787Z
2,016
4
18
3
207
1
362
43
4
1
true
false
false
false
false
false
zero
36,777,915
Can I not use SharedPreference inside a constructor?
<p>I'm using a simple class to perform some actions (calculations) and want to write a value in SharedPreferences that may later be used.</p> <p>However, this is not working. I extended the class from Activity so that I can use the <code>getSharedPReferences()</code> method. Is this incorrect and not allowed?</p> <p>...
I'm using a simple class to perform some actions (calculations) and want to write a value in SharedPreferences that may later be used. However, this is not working. I extended the class from Activity so that I can use the getSharedPReferences() method. Is this incorrect and not allowed? I'm getting a null pointer excep...
android|android-sharedpreferences
1
2016-04-21T18:40:34.320Z
2,016
4
18
3
582
2
610
52
2
1
true
false
false
false
false
false
low
36,777,974
android - viewpager OutOfMemoryError
<p>I have a problem. I want to get image URL from JSON and setting to viewpager. I tried it with <code>drawable</code> folder, but large images are causing problems. If the image would be small, then I would not have a problem. How can I get large images? I benefited from this article : <a href="http://manishkpr.webhe...
I have a problem. I want to get image URL from JSON and setting to viewpager. I tried it with drawable folder, but large images are causing problems. If the image would be small, then I would not have a problem. How can I get large images? I benefited from this article : enter link description here GalleryActivity [COD...
java|android|out-of-memory
1
2016-04-21T18:44:04.240Z
2,016
4
18
3
90
0
396
36
3
3
true
true
false
false
false
false
low
36,778,063
Are there known issues with Android Services on 4.1.x (Jelly Bean)?
<p><strong>My question</strong> is a shot in the dark: what is the deal with Android 4.x / Jelly Bean? Are there known problems with services, stickiness, foreground, etc.?</p> <p><strong>Backstory</strong>: I tested my music player application successfully on all sorts of Android devices and emulators and then just r...
My question is a shot in the dark: what is the deal with Android 4.x / Jelly Bean? Are there known problems with services, stickiness, foreground, etc.? Backstory : I tested my music player application successfully on all sorts of Android devices and emulators and then just recently on a physical Jelly Bean device (Sam...
android|android-4.1-jelly-bean
0
2016-04-21T18:48:34.207Z
2,016
4
18
3
80
1
1,021
67
2
0
false
false
false
false
false
false
zero
36,778,067
Recyclerview only load Image when itemview is shown
<p>I would like to load images in my itemviews of my recyclerview but only if the itemview is shown. I tried something like this in my adapter so far:</p> <pre><code>if (holder.itemView.isShown()) { Log.e("SHOWn", "yes " + position); } if (holder.itemView.isFocused()) { Log.e("F...
I would like to load images in my itemviews of my recyclerview but only if the itemview is shown. I tried something like this in my adapter so far: [CODE] and I tried in my fragment to add a onScrollListener to the recylcerview: [CODE] But I don't know how to use it for my case. To sum up, I would like to detect the cu...
android|android-recyclerview|onscrolllistener
0
2016-04-21T18:48:51.690Z
2,016
4
18
3
1,478
2
389
51
3
2
true
false
false
false
false
false
zero
36,778,070
How to save information in json file without deleting previous information python
<p>I am making an app using python and kivy that allows the user to make a new entry for their glucose readings. Right now it saves into the json file but another new entry deletes the previous data. How can I make it so that each entry saves separately so that I can access the information for the user's history?</p>...
I am making an app using python and kivy that allows the user to make a new entry for their glucose readings. Right now it saves into the json file but another new entry deletes the previous data. How can I make it so that each entry saves separately so that I can access the information for the user's history? .py file...
android|python|json|save|kivy
-1
2016-04-21T18:49:02.067Z
2,016
4
18
3
915
1
327
81
5
1
true
false
false
false
false
true
negative
36,778,085
Unable to build react-native app on Android device :failed to find target with hash string 'android-23'
<p>Here is the full error: <code>failed to find target with hash string 'android-23' in: /Users/username/Library/Android/sdk </code></p> <p>This is the <code>build.gradle</code> file in my <code>android/app</code>: </p> <pre><code>android { compileSdkVersion 23 buildToolsVersion "23.0.1" defaultConfig { ...
Here is the full error: failed to find target with hash string 'android-23' in: /Users/username/Library/Android/sdk This is the build.gradle file in my android/app : [CODE] I ran the Android SDK Manager, and I have the Android SDK Build-Tools Rev 23.0.1 installed, along with all the files for Android 6.0 (API 23). I se...
android|react-native
9
2016-04-21T18:49:53.667Z
2,016
4
18
3
5,080
2
1,072
103
2
1
true
false
true
false
false
false
medium
36,778,117
Moving Vehicle Path Distance Calculation Using Android Device and LocationManager
<p>Any good and gives accurate traveled distance example are welcomed. I tried by calculating the Latitude and Longitude. Storing previous and current points data and get the distance and adding for every 5 seconds when vehicle speed != 0 I checked with many rounds of moving vehicle, Every time I am getting different K...
Any good and gives accurate traveled distance example are welcomed. I tried by calculating the Latitude and Longitude. Storing previous and current points data and get the distance and adding for every 5 seconds when vehicle speed != 0 I checked with many rounds of moving vehicle, Every time I am getting different KMs ...
java|android
0
2016-04-21T18:51:27.607Z
2,016
4
18
3
631
2
418
81
2
1
true
false
false
false
false
false
zero
36,778,144
Get PicturePath selected from gallery to store it in dataBase
<p>I used this code to upload image from gallery .it works perfectly..but the problem is that i wanna get the Image's path to store it in wamp dataBase ..`</p> <pre><code>public class Image extends Activity { ImageView contact; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedIns...
I used this code to upload image from gallery .it works perfectly..but the problem is that i wanna get the Image's path to store it in wamp dataBase ..` [CODE] Thank you for help
android|mysql|android-studio
-1
2016-04-21T18:52:54.387Z
2,016
4
18
3
43
2
178
61
3
1
true
false
false
false
false
true
negative
36,778,175
I want to use random colors for background with smooth transition effect in loop
<p>My problem is instead of getting random colors at background I am just getting 2 colors with animation effect as background. And when i restart app the 2 color changes. My goal is there must be random colors use as background with smooth animation of color change Here's my code</p> <pre><code>public class MainActi...
My problem is instead of getting random colors at background I am just getting 2 colors with animation effect as background. And when i restart app the 2 color changes. My goal is there must be random colors use as background with smooth animation of color change Here's my code [CODE] And this is my main xml file [CODE...
android|android-layout|android-fragments|android-studio
1
2016-04-21T18:54:44.410Z
2,016
4
18
3
836
1
321
80
4
2
true
false
false
false
false
false
low
36,778,371
Retrofit,onResponse method doesnt work
<p>Im new in Retrofit,try to get data from one web server,create Model,Interface but this still not working.Problem(maybe) in method onResponse() I add to that method Log.d and Toast but I dont see Log and Toast when launch my app.Why that dont work? I can understand when I get wrong response or something else,but onRe...
Im new in Retrofit,try to get data from one web server,create Model,Interface but this still not working.Problem(maybe) in method onResponse() I add to that method Log.d and Toast but I dont see Log and Toast when launch my app.Why that dont work? I can understand when I get wrong response or something else,but onRespo...
android|retrofit|android-recyclerview|retrofit2
0
2016-04-21T19:05:35.107Z
2,016
4
19
3
11,475
1
984
38
4
3
true
false
true
false
false
false
zero
36,778,381
Android/Java - Clicking a image in a listview
<p>I made a listview in Android Studio. The listview has a image in every item but I don't know how to make it clickable. I did browse the internet for a solution but the hard part seems to be implementing it in my own code. I cannot figure that out.</p> <p>Image in question = ex_img</p> <p>-- Keep in mind when the i...
I made a listview in Android Studio. The listview has a image in every item but I don't know how to make it clickable. I did browse the internet for a solution but the hard part seems to be implementing it in my own code. I cannot figure that out. Image in question = ex_img -- Keep in mind when the image is clicked, it...
java|android|listview|onclick
0
2016-04-21T19:06:11.060Z
2,016
4
19
3
43
1
491
45
4
2
true
false
false
false
false
false
zero
36,778,641
on Bind View Holder returning Null pointer exception when updating Textview text despite being fed a Dataset
<p>I want to find out how to update a recyclerview with asychronous data.. I start the fragment out with an empty dataset and then go on to add values to it onSuccess of the Retrofit call then next I call notifyDatasetChanged if the adapter itemcount is 0, or notifyItemRangeInserted if it isnt..To my knowledge that sho...
I want to find out how to update a recyclerview with asychronous data.. I start the fragment out with an empty dataset and then go on to add values to it onSuccess of the Retrofit call then next I call notifyDatasetChanged if the adapter itemcount is 0, or notifyItemRangeInserted if it isnt..To my knowledge that should...
java|android|asynchronous|android-recyclerview|retrofit2
0
2016-04-21T19:20:07.277Z
2,016
4
19
3
27
0
634
108
5
4
true
true
false
false
false
false
zero
36,778,703
Installing Chrome extension via zip, requires App Runtime for Chrome: 'import' extension is not installed
<p>We are releasing an Android app for Chromebook. This has to be available as a file download (i.e. flash drive, private login) and not through the Chrome Web Store.</p> <p>ARC Welder gave me the Chrome Extension <code>zip</code> based on the original Android App <code>apk</code>. The <code>zip</code> easily installed...
We are releasing an Android app for Chromebook. This has to be available as a file download (i.e. flash drive, private login) and not through the Chrome Web Store. ARC Welder gave me the Chrome Extension zip based on the original Android App apk . The zip easily installed on a Chromebook which has ARC Welder, Evernote ...
android|google-chrome-extension|dependencies|installation|google-chrome-arc
1
2016-04-21T19:23:56.957Z
2,016
4
19
3
4,550
1
1,310
105
5
1
true
false
true
false
false
false
low
36,778,748
Handle programmaticaly created spinners and locate them to bottom
<p>I am developing app, where you can fill your school shedule(with auth etc.) In dialog class I create new Spinner + TextView. How to allocate them in MainActivity and how to set content view to the bottom of the list? I know there's some LayoutParams thing, but I can't understand it.</p> <p>Also it would be great if...
I am developing app, where you can fill your school shedule(with auth etc.) In dialog class I create new Spinner + TextView. How to allocate them in MainActivity and how to set content view to the bottom of the list? I know there's some LayoutParams thing, but I can't understand it. Also it would be great if you can he...
android|android-layout|android-spinner|android-alertdialog
0
2016-04-21T19:26:17.720Z
2,016
4
19
3
64
1
419
65
4
2
true
false
false
false
false
false
zero
36,779,035
How to restore element in Activity Transition Animation to different position?
<p>I have LinearLayout in a vertical ScrollView with multiple ImageViews, when I click on one image view I do a Transition Animation from (Activity 1) to a Full Screen Gallery (Activity 2), the gallery has view pager where user can swipe right / left .. now when user swipes to a different Image in the gallery and press...
I have LinearLayout in a vertical ScrollView with multiple ImageViews, when I click on one image view I do a Transition Animation from (Activity 1) to a Full Screen Gallery (Activity 2), the gallery has view pager where user can swipe right / left .. now when user swipes to a different Image in the gallery and presses ...
android|android-transitions|activity-transition
4
2016-04-21T19:42:08.017Z
2,016
4
19
3
1,823
1
1,428
78
3
7
true
false
false
false
false
false
low
36,779,133
Cardview, cardCornerRadius not working
<p>I'm trying to set to my cards a <code>cardCornerRadius</code> but its not working. </p> <p>Take a look my code below:</p> <p><strong>CardView</strong> where the last property is the <code>cardCornerRadius</code></p> <pre><code>&lt;android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/re...
I'm trying to set to my cards a cardCornerRadius but its not working. Take a look my code below: CardView where the last property is the cardCornerRadius [CODE] Dependencies compile 'com.android.support:appcompat-v7:23.3.0' compile 'com.android.support:design:23.3.0' compile 'com.android.support:cardview-v7:23.3.0' I d...
android|android-cardview
6
2016-04-21T19:47:51.360Z
2,016
4
19
3
7,429
2
428
38
2
1
true
false
true
false
false
false
medium
36,779,436
Android Progress Dialog Issue
<p>I've been trying to get ProgressDialog to work.</p> <p>At first, I had it inside activity, but it was not showing up no matter how many permutations and combinations I tried.</p> <p>Then I moved it inside AsyncTask. I'm initializing and showing it in onPreExecute, and dismissing it in onPostExecute.</p> <pre><cod...
I've been trying to get ProgressDialog to work. At first, I had it inside activity, but it was not showing up no matter how many permutations and combinations I tried. Then I moved it inside AsyncTask. I'm initializing and showing it in onPreExecute, and dismissing it in onPostExecute. [CODE] However, I'm not sure what...
android|progressdialog
0
2016-04-21T20:07:52.673Z
2,016
4
20
3
404
2
943
29
2
1
true
false
false
false
false
false
zero
36,779,559
Capture, store and retrieve photo in activity
<p>I have a problem, that I can't fix. I have spent almost all day today trying to get this to work, but I can't and I am out of any ideas, so decided to ask for your help.</p> <p>Also, I have looked around google and stackoverflow for answers, none of which helped me.</p> <p>The problem regards photo capturing with ...
I have a problem, that I can't fix. I have spent almost all day today trying to get this to work, but I can't and I am out of any ideas, so decided to ask for your help. Also, I have looked around google and stackoverflow for answers, none of which helped me. The problem regards photo capturing with android. I have an ...
java|android|image|capture
1
2016-04-21T20:14:00.217Z
2,016
4
20
3
113
0
1,214
45
4
3
true
true
false
false
false
false
low
36,779,712
Reading text file keeping previous format
<p>Im making a simple network app and want to load the chat log on start up, this works fine but it formats the text as one line </p> <p>Writing to file </p> <pre><code>CharSequence cs = tv.getText (); final String str = cs + "\r\n" + s; //Write to text file try { FileOutputStream fos = openFileOutput("Chat Log", Con...
Im making a simple network app and want to load the chat log on start up, this works fine but it formats the text as one line Writing to file [CODE] Reading Text [CODE] Current Result Screenshot
android|android-studio|fileinputstream|fileoutputstream
0
2016-04-21T20:23:21.243Z
2,016
4
20
3
74
1
194
41
4
2
true
false
false
false
false
false
zero
36,779,778
android.support.v4.app.Fragment.mFragmentManager' on a null object reference
<p>i have the follow lines of code that I am using to create a navigationview to load fragments and this android application. I am getting the error: <strong>android.support.v4.app.Fragment.mFragmentManager' on a null object reference</strong>. I created the fragments already and the navigationview works.</p> <pre><co...
i have the follow lines of code that I am using to create a navigationview to load fragments and this android application. I am getting the error: android.support.v4.app.Fragment.mFragmentManager' on a null object reference . I created the fragments already and the navigationview works. [CODE]
android|android-fragments|navigationview
0
2016-04-21T20:26:46.820Z
2,016
4
20
3
3,991
2
294
76
3
1
true
false
true
false
false
false
zero
36,779,810
get parse object from userList android
<p>I am little bit confused to resolve this error. I want to search email Id from Parse and check it either this email Id already exists there or not, if it exists there then it will give toast message to the user otherwise it will be create the account and it's data will be save on Parse. But, I am getting an error my...
I am little bit confused to resolve this error. I want to search email Id from Parse and check it either this email Id already exists there or not, if it exists there then it will give toast message to the user otherwise it will be create the account and it's data will be save on Parse. But, I am getting an error my da...
java|android|android-studio|parse-platform
0
2016-04-21T20:28:27.610Z
2,016
4
20
3
176
1
529
38
4
1
true
false
false
false
false
false
zero
36,779,892
How do i use relativelayout as header to listview
<p>I have a simple app that allows users top post messages that others can comment on.I have two activities the mainActivity and the commentActivity.On the mainActivity when a user clicks on a post on the list view</p> <pre><code>Intent intent = new Intent(MainActivity.this, CommentActivity.class); intent.putExtra...
I have a simple app that allows users top post messages that others can comment on.I have two activities the mainActivity and the commentActivity.On the mainActivity when a user clicks on a post on the list view [CODE] on the comment activity I retrieve [CODE] And displays them on a relative layout that is above a list...
android|listview|android-intent
-1
2016-04-21T20:33:19.910Z
2,016
4
20
3
44
1
717
49
3
4
true
false
false
false
false
true
negative
36,779,910
Web Audio Api biquadFilter in Android needs extra configuration?
<p><a href="http://caniuse.com/#feat=audio-api" rel="nofollow">Here</a> says the Web audio API works in Chrome for Android, and <a href="http://www.doboism.com/projects/webaudio-compatibility/" rel="nofollow">here</a> I have tested CM Browser, Chrome and CyanogenMod default Android 5.1.1 browsers, and all pass the test...
Here says the Web audio API works in Chrome for Android, and here I have tested CM Browser, Chrome and CyanogenMod default Android 5.1.1 browsers, and all pass the tests (specially the biquadNode one). But When I open this codepen with an eq (biquadNode), I can hear the music but not the eq working. Does biquadNode wor...
android|web-audio-api
0
2016-04-21T20:34:09.147Z
2,016
4
20
3
97
1
406
64
2
1
true
false
false
false
false
false
zero
36,779,916
Memory Leak - Writing to files in a loop
<p>I am fairly new to android development and I'm having trouble debugging memory leaks. I have tried using the Memory Allocation Tracking tool on Android Studio and found this... <a href="http://i.stack.imgur.com/dExqm.png" rel="nofollow">Memory Allocation Tracking Tool</a></p> <p>Using this tool pointed that the maj...
I am fairly new to android development and I'm having trouble debugging memory leaks. I have tried using the Memory Allocation Tracking tool on Android Studio and found this... Memory Allocation Tracking Tool Using this tool pointed that the majority of my memory allocation come from this line: [CODE] and this one: [CO...
java|android|memory|memory-leaks|file-writing
0
2016-04-21T20:34:33.190Z
2,016
4
20
3
443
0
487
40
5
3
true
true
false
false
false
false
zero
36,779,953
How to send data from one activity to another. (Bluetooth)
<p>I'm creating small Bluetooth messenger app. I have 2 activities Main Activity and Messenger Activity. Main activity have background threads for creating Bluetooth socket and managing connection. When socket is created it starts Messenger activity on both devices. Messenger activity have edit box, list view and butto...
I'm creating small Bluetooth messenger app. I have 2 activities Main Activity and Messenger Activity. Main activity have background threads for creating Bluetooth socket and managing connection. When socket is created it starts Messenger activity on both devices. Messenger activity have edit box, list view and button. ...
java|android|bluetooth
0
2016-04-21T20:36:37.433Z
2,016
4
20
3
413
1
639
58
3
2
true
false
false
false
false
false
zero
36,779,974
How to know when one moving view (overlaps) is on the top of the over
<p>(not sure about the Title. Please make it right)</p> <p>Hi. I'm trying to create a small game, where player can move objects inside <code>RalativeLayout</code>. What I want is to check whether my moving object is inside <code>FrameLayout</code> or outside of it. For example I want to change the text of this object ...
(not sure about the Title. Please make it right) Hi. I'm trying to create a small game, where player can move objects inside RalativeLayout . What I want is to check whether my moving object is inside FrameLayout or outside of it. For example I want to change the text of this object when it is inside FrameLayout . So I...
android
0
2016-04-21T20:37:36.313Z
2,016
4
20
3
41
1
845
69
1
3
true
false
false
false
false
false
zero
36,780,063
Custom PopupMenu styles are being ignored
<p>I've been struggling with PopupMenu styling, and after a lot of research, the process of creating a custom PopupMenu style for my theme seemed to be fairly straightfoward. For example the answer on <a href="https://stackoverflow.com/questions/12636101/how-to-style-popupmenu">this question</a> seems like an easy way ...
I've been struggling with PopupMenu styling, and after a lot of research, the process of creating a custom PopupMenu style for my theme seemed to be fairly straightfoward. For example the answer on this question seems like an easy way to change the background color of a PopupMenu. However, none of these solutions have ...
android|android-styles|popupmenu|android-popupwindow
2
2016-04-21T20:42:37.223Z
2,016
4
20
3
535
2
1,510
41
4
6
true
false
false
false
false
false
low
36,780,134
Cardboard unity sdk 0.7 CardboardAudio Renderer effect not found
<p>Recently I downloaded new version(0.7) of google cardboard sdk for unity. While importing package this error occurred, but from what I know it's like that for everybody(and from what i have been told hitting cancel has no effect).<a href="https://i.stack.imgur.com/JNhr4.jpg" rel="nofollow noreferrer"><img src="http...
Recently I downloaded new version(0.7) of google cardboard sdk for unity. While importing package this error occurred, but from what I know it's like that for everybody(and from what i have been told hitting cancel has no effect). (odmowa dostępu means acces denyed) But then, after hitting cancel this error occurres: E...
android|unity3d|google-cardboard|virtual-reality
-1
2016-04-21T20:47:01.517Z
2,016
4
20
3
645
1
725
64
4
0
false
false
false
false
false
true
negative
36,780,182
android/ios opening external browser while maintaining controle
<p>Good morning everyone,</p> <p>I am facing an issue with both my Android and iOS apps. While they use webviews, we just had a requirement coming in to open the external browsers in order to reach our payment portal. For iOS especially, as part of the iOS guidelines this is preventing my app from getting accepted unf...
Good morning everyone, I am facing an issue with both my Android and iOS apps. While they use webviews, we just had a requirement coming in to open the external browsers in order to reach our payment portal. For iOS especially, as part of the iOS guidelines this is preventing my app from getting accepted unfortunately....
android|ios|browser|url-scheme
0
2016-04-21T20:49:57.420Z
2,016
4
20
3
36
0
986
63
4
0
false
true
false
false
false
false
zero
36,780,239
ImageArray not populating when the fields are passed to it
<p>So I have an imageArray it finds the 17 fields. But will not populate them to an Array at the end. It says the image array is empty. My debugger shows that the log is populated with 17 fields from the database. But the array fails to include them @</p> <pre><code>imageArray.add(rn); </code></pre> <p>Java onCreate<...
So I have an imageArray it finds the 17 fields. But will not populate them to an Array at the end. It says the image array is empty. My debugger shows that the log is populated with 17 fields from the database. But the array fails to include them @ [CODE] Java onCreate [CODE] Receipt List initialised [CODE]
java|android|arrays|sqlite|android-studio
0
2016-04-21T20:53:15.633Z
2,016
4
20
3
38
0
308
58
5
3
true
true
false
false
false
false
zero
36,780,324
Center of a cluster of latitude and longitude points in Google map android
<p>I am trying to get the center of a shape in android. The shape is draw by hand on the map. I have all of the co-ordinates but the mean values are turning out to be trickier than I thought. I want to plot a marker on the mean latitude and longitude.</p> <p>I have tried summing up the latitude and longitude separatel...
I am trying to get the center of a shape in android. The shape is draw by hand on the map. I have all of the co-ordinates but the mean values are turning out to be trickier than I thought. I want to plot a marker on the mean latitude and longitude. I have tried summing up the latitude and longitude separately and then ...
android|google-maps|coordinates
2
2016-04-21T20:57:28.800Z
2,016
4
20
3
1,360
2
662
74
3
1
true
false
false
false
false
false
low
36,780,346
Android. Positioning of the elements in relativelayot
<p>I have <code>RelativeLayout</code> with <code>CardView</code>, inside which are placed: <code>ImageView</code>, <code>TextView1</code>, <code>TextView2</code>. These 3 elements needed to place so <code>ImageView</code> must be left, <code>TextView1</code> and <code>TextView2</code> to the right of it. <code>Text...
I have RelativeLayout with CardView , inside which are placed: ImageView , TextView1 , TextView2 . These 3 elements needed to place so ImageView must be left, TextView1 and TextView2 to the right of it. TextView2 must be pressed to the bottom of CardView , at the same time be below of TextView1 (if TextView1 has much t...
android|android-layout
0
2016-04-21T20:59:02.587Z
2,016
4
20
3
34
2
646
53
2
1
true
false
false
false
false
false
zero
36,780,499
can't use HttpPost in Android Studio after successful Gradle sync
<p>I'm trying to use HttpPost as I did in the past in Android. I realize that it has been removed from recent Android versions. Following the solutions on a similar StackOverflow question, I added this to my Gradle dependencies:</p> <pre><code>compile 'org.apache.httpcomponents:httpcore:4.4.1' compile 'org.apache.http...
I'm trying to use HttpPost as I did in the past in Android. I realize that it has been removed from recent Android versions. Following the solutions on a similar StackOverflow question, I added this to my Gradle dependencies: [CODE] After a Gradle sync that complained of no errors, I still cannot import the HttpPost pr...
android|gradle|http-post
1
2016-04-21T21:07:10.633Z
2,016
4
21
3
2,810
2
661
65
3
2
true
false
true
false
false
false
low
36,780,557
Android recyclerview, databinding and sub view animation
<p>Could you help me to find a proper way without leak to animate a RecylcerView's item's sub item?</p> <p>I want to create a two level drawer menu, where the menu items are in a RecyclerView created by an adapter. Some of the menu items contain sub items, and this items can open with an arrow at the end to add sub it...
Could you help me to find a proper way without leak to animate a RecylcerView's item's sub item? I want to create a two level drawer menu, where the menu items are in a RecyclerView created by an adapter. Some of the menu items contain sub items, and this items can open with an arrow at the end to add sub items to the ...
android|android-animation|android-recyclerview|android-databinding
1
2016-04-21T21:10:44Z
-1
-1
-1
-1
622
0
1,215
56
4
5
true
true
false
false
false
false
low
36,780,608
Async Task with multiple requests in android
<p>I am using this asynctask Class to update two different tables on Sql Server so far this code works fine i'm interested in more better and sufficient code structure of this class specially in <code>doinbackground()</code> Is it okay to call multiple webservices methods in a single thread? can any one suggest me? ...
I am using this asynctask Class to update two different tables on Sql Server so far this code works fine i'm interested in more better and sufficient code structure of this class specially in doinbackground() Is it okay to call multiple webservices methods in a single thread? can any one suggest me? [CODE]
android|android-asynctask|httprequest|android-ksoap2
-2
2016-04-21T21:14:24.580Z
2,016
4
21
3
1,044
1
307
44
4
1
true
false
false
false
false
true
negative
36,780,642
Hide Floating Action Button in Android unless position in Recycler View is at the very top
<p>I'm trying to only display a floating action button when the Recycler View position is at the very top. Is there any way I can achieve this?</p> <p>Here is my current layout file:</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/androi...
I'm trying to only display a floating action button when the Recycler View position is at the very top. Is there any way I can achieve this? Here is my current layout file: [CODE] Thanks
android|xml|android-recyclerview|material-design|floating-action-button
0
2016-04-21T21:16:28.560Z
2,016
4
21
3
370
0
186
90
5
1
true
true
false
false
false
false
zero
36,780,740
Unable to create file on removeable sdcard in Android 5.0.1
<p>I am working on an application that needs the ability to create files on the removable sd card in the Samsung S4 i9295 device. I am running a stock Samsung ROM 5.0.1 that has been rooted. For test purposes, I have been trying to create these files by hardcoding the paths for this specific device, but have been unabl...
I am working on an application that needs the ability to create files on the removable sd card in the Samsung S4 i9295 device. I am running a stock Samsung ROM 5.0.1 that has been rooted. For test purposes, I have been trying to create these files by hardcoding the paths for this specific device, but have been unable t...
android|android-5.0-lollipop|android-sdcard|samsung-mobile|android-external-storage
0
2016-04-21T21:22:33.323Z
2,016
4
21
3
644
1
1,148
59
5
2
true
false
false
false
false
false
zero
36,780,828
RecyclerView scrolling makes changes
<p>I have a RecyclerView which has a custom adapter that inflates a rowLayout. Each Row contains a CardView and in it some text and images as buttons. In particular i have a "like" button(<code>ImageView</code>) that as for now only is supposed to change imageResource on click.</p> <p>I was able to set an <code>onClic...
I have a RecyclerView which has a custom adapter that inflates a rowLayout. Each Row contains a CardView and in it some text and images as buttons. In particular i have a "like" button( ImageView ) that as for now only is supposed to change imageResource on click. I was able to set an onClicklistener in the onBindViewH...
java|android|xml|android-recyclerview|onclicklistener
-1
2016-04-21T21:30:04.890Z
2,016
4
21
3
701
1
637
36
5
2
true
false
false
false
false
true
negative
36,780,859
Navigation Drawer back button Xamarin
<p>I am using this binding for this awesome Material Drawer Library by MikePenz. </p> <p>I have implemented the Navigation Drawer with this library and I have also managed to change the hamburger menu to the back arrow when I go level deep. Now I have some problems to get the back arrow to work correctly. When I click...
I am using this binding for this awesome Material Drawer Library by MikePenz. I have implemented the Navigation Drawer with this library and I have also managed to change the hamburger menu to the back arrow when I go level deep. Now I have some problems to get the back arrow to work correctly. When I click on the back...
xamarin|xamarin.android|materialdrawer
0
2016-04-21T21:32:11.730Z
2,016
4
21
3
606
1
751
37
3
1
true
false
false
false
false
false
zero
36,780,911
UI Changes made in fragment layout is not reflected in emulator.(using page Viewers to create Fragment)
<p>I am using pageviewers to create fragments. I have defined a pageviewer in <code>MainActivity</code> Layout.</p> <h3>MainActivity.xml</h3> <pre class="lang-xml prettyprint-override"><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas....
I am using pageviewers to create fragments. I have defined a pageviewer in MainActivity Layout. MainActivity.xml [CODE] I made some changes to my FragmentLayout.xml which are not being reflected in the emulator. FragmentLayout.xml [CODE] My emulator is currently showing
android|xml|android-fragments|view|android-viewpager
0
2016-04-21T21:35:26.773Z
2,016
4
21
3
179
0
270
103
5
2
true
true
false
false
false
false
zero
36,781,052
Could not find property 'VERSION_CODE' Error:(21,0)
<p>I am trying to import a project in my Android Studio 1.5.1. I firstly removed one error of 'com.android.application' not found but then this error has been risen. <a href="http://i.stack.imgur.com/xi8pP.png" rel="nofollow">enter image description here</a></p> <blockquote> <p>Gradle sync failed: Could not find pro...
I am trying to import a project in my Android Studio 1.5.1. I firstly removed one error of 'com.android.application' not found but then this error has been risen. enter image description here Gradle sync failed: Could not find property 'VERSION_CODE' on ProductFlavor_Decorated{name=main, dimension=null, minSdkVersion=D...
android|android-studio|gradle
0
2016-04-21T21:46:16.073Z
2,016
4
21
3
2,988
1
921
51
3
0
false
false
true
false
false
false
zero
36,781,058
NoClassDefFoundError When Using Dagger 2 After Switching to Android Studio 2.0
<p>Before upgrading to Android Studio 2.0 I could use Dagger 2 no problem. Now I am getting a <code>NoClassDefFoundError</code> This has shut me down for more than a day and I'm reaching out for some help. </p> <p>It seems as though Gradle cannot my <code>AppModule</code> class even though it is pretty clear that it...
Before upgrading to Android Studio 2.0 I could use Dagger 2 no problem. Now I am getting a NoClassDefFoundError This has shut me down for more than a day and I'm reaching out for some help. It seems as though Gradle cannot my AppModule class even though it is pretty clear that it is in my project. I have even included ...
android|android-studio|gradle|noclassdeffounderror|dagger-2
9
2016-04-21T21:46:56.903Z
2,016
4
21
3
6,692
3
759
78
5
7
true
false
true
false
false
false
medium
36,781,073
Android - Fatal Signal 11 when stopping and resetting camera after recording video
<p>I currently have an app that I am trying to record video, with the following method to initialize the camera:</p> <pre><code>private void initRecorder(Surface surface) throws IOException { if (mCamera == null) { mCamera = Camera.open(); mCamera.unlock(); } if (mMediaRecorder == null) mM...
I currently have an app that I am trying to record video, with the following method to initialize the camera: [CODE] When I try to stop the camera or when surfaceDestroyed is called, I call the following method: [CODE] However, somewhere in this code I am getting a Fatal Signal 11 error. Apparently the code is trying t...
android|android-camera|segmentation-fault|android-mediarecorder
1
2016-04-21T21:48:05Z
-1
-1
-1
-1
346
1
504
82
4
3
true
false
false
false
false
false
low
36,781,273
Unreachable code? user image upload
<p>Eclipse keeps showing me the syntax error to insert '}' to complete Classbody at the dne of my code, but when i do so, it shows a different error that the last part of the code is unreachable? What am i doing wrong?</p> <p>My code: </p> <pre><code> public class GetImage extends Activity { private static fina...
Eclipse keeps showing me the syntax error to insert '}' to complete Classbody at the dne of my code, but when i do so, it shows a different error that the last part of the code is unreachable? What am i doing wrong? My code: [CODE]
java|android
-6
2016-04-21T22:05:22.420Z
2,016
4
22
3
39
1
231
35
2
1
true
false
false
false
false
true
negative
36,781,339
SetFitsSystemWindow programmatically doesn't work as expected
<p>I'm trying to work with different AppBarLayouts in one Activity.<br> When a Fragment is loaded, it can call a "ToolbarManager", that handles the replacing of the currently active Toolbar (namely an AppBarLayout). For some of these Toolbars (using CollapsingToolbarLayout) I want them to draw behind the StatusBar.<br>...
I'm trying to work with different AppBarLayouts in one Activity. When a Fragment is loaded, it can call a "ToolbarManager", that handles the replacing of the currently active Toolbar (namely an AppBarLayout). For some of these Toolbars (using CollapsingToolbarLayout) I want them to draw behind the StatusBar. This works...
android|android-support-library
4
2016-04-21T22:10:31.530Z
2,016
4
22
3
2,274
0
1,590
61
2
3
true
true
false
false
false
false
low
36,781,353
java.lang.UnsatisfiedLinkError: Native method not found in Android
<p>Could someone help me locate my error, I have looked at looked I can't seem to find it, I am trying to run my code but it keeps giving me the error <code>java.lang.UnsatisfiedLinkError: Native method not found: nemo.lungu.receiptor.scanlibrary.ScanActivity.getPoints:(Landroid/graphics/Bitmap;)[F</code> below is my a...
Could someone help me locate my error, I have looked at looked I can't seem to find it, I am trying to run my code but it keeps giving me the error java.lang.UnsatisfiedLinkError: Native method not found: nemo.lungu.receiptor.scanlibrary.ScanActivity.getPoints:(Landroid/graphics/Bitmap;)[F below is my activity method g...
java|android|c++|android-ndk
0
2016-04-21T22:12:32.543Z
2,016
4
22
3
590
1
870
66
4
4
true
false
false
false
false
false
zero
36,781,387
Automatic button creation when activity gets passed a string and icon
<p>I was wondering how to automatically create a button when my activity gets passed a string and icon. I have an activity that is listening on a port to receive a string and image from a computer. Once this image and string get passed to my app, I want my app to automatically create a button using that image as the ba...
I was wondering how to automatically create a button when my activity gets passed a string and icon. I have an activity that is listening on a port to receive a string and image from a computer. Once this image and string get passed to my app, I want my app to automatically create a button using that image as the backg...
java|android|button|automation
0
2016-04-21T22:15:39.240Z
2,016
4
22
3
55
2
989
69
4
2
true
false
false
false
false
false
zero
36,781,465
Android WindowManager position like Facebook Reactions Behavior
<p>this is a sequence of this <a href="https://stackoverflow.com/questions/36734610/similar-facebook-reactions-animated-view-with-objectanimator-clicklistener-not">Question</a></p> <p>I'm trying to replicate the implementation of Facebook Reactions but Vertically, someone answered that was made with WindowManager. I'v...
this is a sequence of this Question I'm trying to replicate the implementation of Facebook Reactions but Vertically, someone answered that was made with WindowManager. I've created a layout with buttons, set setOnTouchListener to take MotionEvent.ACTION_DONW, when rvIv1 is pressed on the Cardview I catch catch event.ge...
android|android-animation|android-windowmanager
0
2016-04-21T22:22:39.723Z
2,016
4
22
3
180
0
722
63
3
1
true
true
false
false
false
false
zero
36,781,467
AsyncTask of 'Activity A' doesn't execute if I re-open 'Activity A' before the original AsyncTask has finished executing
<p>I have an AsyncTask which is implemented as follows: </p> <pre><code> AsyncTask asyncTask = new AsyncTask() { @Override protected Object doInBackground(Object[] params) { //downloading images from google places api } @Override ...
I have an AsyncTask which is implemented as follows: [CODE] This AsyncTask is triggered to run multiple times and it's executed by the scope of the doInBackground() method of another AsyncTask. It runs fine the first time I load an activity, and if I let all the data download and then exit the activity (so that onStop(...
java|android|multithreading|android-asynctask
0
2016-04-21T22:22:53.840Z
2,016
4
22
3
114
1
679
120
4
1
true
false
false
false
false
false
zero
36,781,494
Android Studio doesn't generate Drawable from VectorDrawable for old versions
<p>I use Android Studio 2.0 and support <code>VectorDrawable</code> library. My gradle:</p> <pre><code>android { compileSdkVersion 23 buildToolsVersion "23.0.3" defaultConfig { minSdkVersion 8 vectorDrawables.useSupportLibrary = true } aaptOptions { additionalParameters "-...
I use Android Studio 2.0 and support VectorDrawable library. My gradle: [CODE] But when I try to load icon in menu on old device: [CODE] Icon is a vector but AndroidStudio must generate and drawable for old versions (raster drawable). If it isn't so when how I need to use it? Vector example ic_labels_gray_24dp.xml [COD...
android|android-studio|android-vectordrawable
0
2016-04-21T22:24:54.030Z
2,016
4
22
3
157
0
463
77
3
4
true
true
false
false
false
false
zero
36,781,528
Can't use button in android
<p>Hi I have been trying to use a onclicklistener on a button but it give me an error. This is the code I am using: </p> <pre><code>public class login extends AppCompatActivity { private LoginButton loginButton; private CallbackManager callbackManager; private Button testbutton; @Override prot...
Hi I have been trying to use a onclicklistener on a button but it give me an error. This is the code I am using: [CODE] And this is the error I am getting: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.buddifyapp.buddify.buddify/com.buddifyapp.buddify.buddify.UI.login}: java.lang.NullPointerExc...
android
-1
2016-04-21T22:27:54.100Z
2,016
4
22
3
47
2
499
27
1
1
true
false
false
false
false
true
negative
36,781,568
Game wont fully load on Android (Xamarin/CocosSharp)
<p>Let me start by saying that i'm new to Xamarin/Cocossharp and game development in general. I did a very basic game/application starting from the Cocossharp template for Shared application in VS2015. Now my app works well on WP (Emulator &amp; Device) but wont start up on android. After the emulator laoded this is w...
Let me start by saying that i'm new to Xamarin/Cocossharp and game development in general. I did a very basic game/application starting from the Cocossharp template for Shared application in VS2015. Now my app works well on WP (Emulator & Device) but wont start up on android. After the emulator laoded this is what i ge...
android|xamarin|visual-studio-2015|cocossharp
1
2016-04-21T22:30:58.227Z
2,016
4
22
3
265
1
838
52
4
0
false
false
false
false
false
false
low
36,781,779
Android dialog not showing when background task is running
<p>This is an extension of my question here, where you can see all of my code for both the fragment containing the button and the Service being used: <a href="https://stackoverflow.com/questions/36734304/android-sending-messages-between-fragment-and-service">Android sending messages between fragment and service</a></p>...
This is an extension of my question here, where you can see all of my code for both the fragment containing the button and the Service being used: Android sending messages between fragment and service I have a button, which when clicked will start a Service, collect some sensor data, insert into database. When clicked ...
android|android-fragments|android-service|executorservice|android-dialog
3
2016-04-21T22:50:25.657Z
2,016
4
22
3
1,213
1
3,731
58
5
3
true
false
false
false
false
false
low
36,781,830
Get Google+ profile picture from Uri to Bitmap on Android
<p>I am using Google+ Sign In to get an instance of GoogleSignInAccount and I can correctly load the users name and email without issues, so I know it is correctly set up. Then I get the Uri of the users profile picture and am trying to set that as the icon for an ImageButton.</p> <p>The variable userPhoto is an andro...
I am using Google+ Sign In to get an instance of GoogleSignInAccount and I can correctly load the users name and email without issues, so I know it is correctly set up. Then I get the Uri of the users profile picture and am trying to set that as the icon for an ImageButton. The variable userPhoto is an android.net.Uri ...
java|android|bitmap|google-plus|google-plus-signin
1
2016-04-21T22:55:46.533Z
2,016
4
22
3
1,342
2
1,101
57
5
2
true
false
false
false
false
false
low
36,781,929
Curved edges on Activity android
<p>I am trying to create a pop-up window with curved edges. I saw there is an existing question similar to this from a year ago with many answers that I tried out and none of which solve the problem at hand. Ultimately, I am creating an activity that will have curved edges itself, however, there is a white background t...
I am trying to create a pop-up window with curved edges. I saw there is an existing question similar to this from a year ago with many answers that I tried out and none of which solve the problem at hand. Ultimately, I am creating an activity that will have curved edges itself, however, there is a white background that...
android|xml|android-activity
-1
2016-04-21T23:04:15.813Z
2,016
4
23
3
613
2
671
32
3
3
true
false
false
false
false
true
negative
36,782,039
requestPermissions() for gps inside a service . Error:"location provider requires ACCESS_FINE_LOCATION permission."
<p>The Problem I am facing is giving gps permissions to the application through service I am writing. I tried finding an example to achieve this and examples shows writing a gpslocation finder in Activity, but in this case, i would like to implement this in service.</p> <p>The Service code is as follows: </p> <pre><...
The Problem I am facing is giving gps permissions to the application through service I am writing. I tried finding an example to achieve this and examples shows writing a gpslocation finder in Activity, but in this case, i would like to implement this in service. The Service code is as follows: [CODE] Here is my code i...
android|service|permissions|android-gps
-1
2016-04-21T23:16:01.210Z
2,016
4
23
3
4,553
1
508
115
4
2
true
false
true
false
false
true
negative
36,782,059
Build NativeActivity using ndk-build
<p>I am trying to launch native activity after launching it normally from java(I need to load another library that's why I am launching NativeActivity from java). </p> <p>How would I build the sample using Android.mk? the original sample uses gradle. I tried to build it and at launch the library fails to load. </p> <...
I am trying to launch native activity after launching it normally from java(I need to load another library that's why I am launching NativeActivity from java). How would I build the sample using Android.mk? the original sample uses gradle. I tried to build it and at launch the library fails to load. [CODE] Here are sni...
android|android-ndk|native-activity
0
2016-04-21T23:17:23.340Z
2,016
4
23
3
747
1
554
36
3
5
true
false
false
false
false
false
zero
36,782,198
Insert record to MySql from AndroidStudio only works when application Start
<p>I have an application that insert certain parameters in a MySQL table stored in a hosting.</p> <p>When i start the app for first time and send the information the register is succesfully added to the DB. Then i continue using the application. If later i try to add another registry, nothing happen, the insert is not...
I have an application that insert certain parameters in a MySQL table stored in a hosting. When i start the app for first time and send the information the register is succesfully added to the DB. Then i continue using the application. If later i try to add another registry, nothing happen, the insert is not realized. ...
android|mysql
-1
2016-04-21T23:31:41.053Z
2,016
4
23
3
111
1
918
75
2
3
true
false
false
false
false
true
negative
36,782,214
Array Adapter is not functioning Correctly
<p>I am using an array adapter to populate a listview from user input. The array adpter will not work however and crashes the app. I don't no why it does this and I would appreciate if anyone could explain why. Below is my class and the error I get.</p> <p>My Class</p> <pre><code>import android.content.Intent; import...
I am using an array adapter to populate a listview from user input. The array adpter will not work however and crashes the app. I don't no why it does this and I would appreciate if anyone could explain why. Below is my class and the error I get. My Class [CODE] Error Error:(62, 53) error: cannot infer type arguments f...
android|arrays|android-arrayadapter
-1
2016-04-21T23:34:02.007Z
2,016
4
23
3
74
2
337
42
3
1
true
false
false
false
false
true
negative
36,782,290
Deleting custom objects from a listview within a fragment using onClick XML
<p>I'm still learning a lot about programming. I've currently set up my own listview item layout to display a custom object. Within this custom listview layout, there's an image button that has an onClick method associated to it.</p> <p>I've realised that the onClick is passed back to the parent activity, but i'm not ...
I'm still learning a lot about programming. I've currently set up my own listview item layout to display a custom object. Within this custom listview layout, there's an image button that has an onClick method associated to it. I've realised that the onClick is passed back to the parent activity, but i'm not sure how to...
android|listview|android-fragments|nullpointerexception
0
2016-04-21T23:42:23.810Z
2,016
4
23
3
20
1
793
75
4
3
true
false
false
false
false
false
zero
36,782,332
ViewPager view extending Display
<p>I am new to Android Programming. This might be something simple that I am missing. I have a <code>ViewPager</code> within a <code>CoordinatorLayout</code>along with a toolbar and tablayout. However the <code>ViewPager</code> view seems to extend the display, so any other layout I use to populate the ViewPager gets c...
I am new to Android Programming. This might be something simple that I am missing. I have a ViewPager within a CoordinatorLayout along with a toolbar and tablayout. However the ViewPager view seems to extend the display, so any other layout I use to populate the ViewPager gets cut off. Example XML code [CODE]
android|xml|android-fragments|android-studio|android-viewpager
0
2016-04-21T23:46:53.903Z
2,016
4
23
3
30
0
310
32
5
1
true
true
false
false
false
false
zero
36,782,333
Gap between CardViews increases on scrolling
<p>I'm using CarViews with RecyclerView and it looks fine when loaded but once when the list is scrolled the gap between the CardViews increases and there shows only one card in the view at a time.</p> <p>Here is my CardView.xml</p> <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android...
I'm using CarViews with RecyclerView and it looks fine when loaded but once when the list is scrolled the gap between the CardViews increases and there shows only one card in the view at a time. Here is my CardView.xml [CODE] and here is how I'm using that view [CODE] Here is the screenshot before the list is scrolled ...
android|android-layout|android-recyclerview|android-cardview
1
2016-04-21T23:47:02.880Z
2,016
4
23
3
1,327
1
358
44
4
2
true
false
false
false
false
false
low
36,782,354
Android custom row layout issue
<p>Sorry in advance I need to include a few pictures to make my problem a little easier to understand. I am using a linear layout for my custom rows and it is giving me lots of trouble trying to get the rows to look how I want. Currently it looks like this</p> <p><a href="https://i.stack.imgur.com/d9bNs.jpg" rel="no...
Sorry in advance I need to include a few pictures to make my problem a little easier to understand. I am using a linear layout for my custom rows and it is giving me lots of trouble trying to get the rows to look how I want. Currently it looks like this Please forgive the quick paint picture I am about to show but it i...
android|android-layout|android-linearlayout
0
2016-04-21T23:49:54.770Z
2,016
4
23
3
35
1
890
31
3
1
true
false
false
false
false
false
zero
36,782,506
Android Espresso listView scroll to
<p>I have a list_view, which I want to test.</p> <p>list_view item layout is <code>RelativeLayout</code>, adapter is <code>ItemAdapter</code>.</p> <hr> <p>This code works fine (item contatining <em>Daft Punk</em> is visible):</p> <pre><code>@Test public void listViewTest() { Espresso.onView(withText("Daft Punk"...
I have a list_view, which I want to test. list_view item layout is RelativeLayout , adapter is ItemAdapter . This code works fine (item contatining Daft Punk is visible): [CODE] Both of this variants fail: (The scrolling starts, comes to the item and then fails, the error is at the very and of this question.) [CODE] ar...
android|listview|android-testing|android-espresso
6
2016-04-22T00:08:39.333Z
2,016
4
0
4
7,880
3
365
35
4
4
true
false
true
false
false
false
medium
36,782,598
ListView not displaying anything in new activity using array adapter
<p>I've got a class that should, theoretically, display RSS headlines, from a SINGLE RSS feed site, in a ListView called <code>searchListView</code>. If the ListView is empty a TextView appears informing the user that the ListView is empty, which is what happens every time I navigate to this activity. The button and E...
I've got a class that should, theoretically, display RSS headlines, from a SINGLE RSS feed site, in a ListView called searchListView . If the ListView is empty a TextView appears informing the user that the ListView is empty, which is what happens every time I navigate to this activity. The button and EditText is for f...
android|listview|rss|android-arrayadapter|android-loadermanager
0
2016-04-22T00:17:55.657Z
2,016
4
0
4
115
1
1,215
68
5
3
true
false
false
false
false
false
zero
36,782,673
How to destroy an unselect tab? or replace the current tab with a new one? TABLAYOUT android
<p>i´m trying to delete/remake/replace or destroy all the tabs that aren´t selected. so i can reload/create my tab and get the content refreshed. since the OnResume doesn´t work on tablayout.</p> <p>i´m using tablayout here is my MainActivity code:</p> <pre><code>public class MainActivity extends AppCompatActivity{ ...
i´m trying to delete/remake/replace or destroy all the tabs that aren´t selected. so i can reload/create my tab and get the content refreshed. since the OnResume doesn´t work on tablayout. i´m using tablayout here is my MainActivity code: [CODE] my Adapter code: [CODE]
android|destroy|android-tablayout
1
2016-04-22T00:28:40.817Z
2,016
4
0
4
559
0
269
92
3
2
true
true
false
false
false
false
low
36,782,677
Android Studio - Gradle builds all flavors of library instead of only current one
<p>My app consists of main module <code>mobile</code> and library module <code>core</code>. Each of them has two build flavors: <code>flavor1</code> and <code>flavor2</code>.</p> <p><strong>Library build.gradle:</strong></p> <pre><code>apply plugin: 'com.android.library' android { .... publishNonDefa...
My app consists of main module mobile and library module core . Each of them has two build flavors: flavor1 and flavor2 . Library build.gradle: [CODE] Project build.gradle: [CODE] Now everything works and compiles, but I noticed something strange in how Gradle builds the library: If I assemble library, by doing gradlew...
android|android-studio|gradle|android-gradle-plugin
4
2016-04-22T00:29:42.760Z
2,016
4
0
4
213
0
956
81
4
2
true
true
false
false
false
false
low
36,782,843
How to get LatLng data from Google Geocoding API json?
<p>I am creating an application with map and faced with a problem. I have a mapView in my Fragment and AutoCompleteTextView. When I pick any city from the AutoComplete, it should appear as a marker on the map.</p> <p>Here is the code and it is working well on real Samsung Galaxy S3 and Galaxy S6 emulator, but not work...
I am creating an application with map and faced with a problem. I have a mapView in my Fragment and AutoCompleteTextView. When I pick any city from the AutoComplete, it should appear as a marker on the map. Here is the code and it is working well on real Samsung Galaxy S3 and Galaxy S6 emulator, but not work on Meizu M...
java|android|google-maps
0
2016-04-22T00:50:30.927Z
2,016
4
0
4
1,738
1
668
54
3
1
true
false
false
false
false
false
zero
36,782,844
Android: Avoid duplicate entry when supporting both ACTION_GET_CONTENT and ACTION_OPEN_DOCUMENT
<p><a href="http://developer.android.com/guide/topics/providers/document-provider.html" rel="nofollow noreferrer">http://developer.android.com/guide/topics/providers/document-provider.html</a> states:</p> <pre><code>ACTION_OPEN_DOCUMENT is not intended to be a replacement for ACTION_GET_CONTENT. The one you should use...
http://developer.android.com/guide/topics/providers/document-provider.html states: [CODE] This indicates that most apps that provides files should support both intent types. But when an app supports both ACTION_GET_CONTENT (by having an activity matching that in its intent filter) and ACTION_OPEN_DOCUMENT (by implement...
android|android-intent|android-contentprovider|android-fileprovider|storage-access-framework
2
2016-04-22T00:50:41.303Z
2,016
4
0
4
339
1
730
95
5
1
true
false
false
false
false
false
low
36,782,886
Error code 2 in beacon transmitter for Android Beacon library
<p>I want to send a BLE advertisement using Android beacon library. Below is the code I am using for it.</p> <pre><code>package com.example.beacon_emitter; import java.util.Arrays; import org.altbeacon.beacon.Beacon; import org.altbeacon.beacon.BeaconParser; import org.altbeacon.beacon.BeaconTransmitter; import and...
I want to send a BLE advertisement using Android beacon library. Below is the code I am using for it. [CODE] It always gives me an errorcode 2, ADVERTISE_FAILED_TOO_MANY_ADVERTISERS. But the strange thing is when I checked the toast message it says the my device is supported the beacon transmission. I am confused. Plea...
android|bluetooth-lowenergy|ibeacon-android
2
2016-04-22T00:56:15.053Z
2,016
4
0
4
1,754
2
347
61
3
1
true
false
false
false
false
false
low
36,782,961
Realm 0.89 causes UnsatisfiedLinkError
<p>Since upgrading from Realm 0.83.1 to 0.85 or 0.89, I'm unable to run the app. So I'm stuck in 0.83.1 version. I'm getting this weird link error when I run on the device. I'm trying to encrypt the database, but it's only fully supported in 0.85 or higher. Any help would be appreciated!</p> <p>Here is my Logcat outpu...
Since upgrading from Realm 0.83.1 to 0.85 or 0.89, I'm unable to run the app. So I'm stuck in 0.83.1 version. I'm getting this weird link error when I run on the device. I'm trying to encrypt the database, but it's only fully supported in 0.85 or higher. Any help would be appreciated! Here is my Logcat output: Caused b...
android|realm
1
2016-04-22T01:07:16.947Z
2,016
4
1
4
235
1
1,267
38
2
0
false
false
false
false
false
false
low
36,782,991
How to use a value from the if statement?
<p>I am trying to use a value that is created inside an "if statement" and print it outside of it but to create a pop up it does not recognize it and I do not know why. Can someone help me please??</p> <pre><code>@Override public void onClick (View v){ int sum = uno + dos + tres + cuatro; double pru = sum*8; ...
I am trying to use a value that is created inside an "if statement" and print it outside of it but to create a pop up it does not recognize it and I do not know why. Can someone help me please?? [CODE] Thanks in advance!
java|android|android-studio
0
2016-04-22T01:11:18.650Z
2,016
4
1
4
304
4
220
41
3
1
true
false
false
false
false
false
zero
36,783,018
How do I create a URL to query Google places with the CID
<p>I have an app that searches the Google Places API and returns places based on categories that I choose.</p> <p>The result is a JSON Object that contains a lot of data about each place. I want to share this place via email with other people. I extract the information I want from this object about the specified p...
I have an app that searches the Google Places API and returns places based on categories that I choose. The result is a JSON Object that contains a lot of data about each place. I want to share this place via email with other people. I extract the information I want from this object about the specified place by using t...
android|google-maps|google-maps-android-api-2|google-places-api
1
2016-04-22T01:13:23.587Z
2,016
4
1
4
1,504
1
917
57
4
2
true
false
false
false
false
false
low
36,783,076
Android: "Element intent-filter is not allowed here" inside <provider>?
<p>At <a href="http://developer.android.com/guide/topics/providers/document-provider.html#manifest" rel="nofollow">http://developer.android.com/guide/topics/providers/document-provider.html#manifest</a> it is shown how to register a custom document provider in the manifest:</p> <pre><code>&lt;manifest... &gt; ... ...
At http://developer.android.com/guide/topics/providers/document-provider.html#manifest it is shown how to register a custom document provider in the manifest: [CODE] This <intent-filter> element is necessary here, but Android Studio complains with: Element intent-filter is not allowed here and the documentation for the...
android|android-studio|android-manifest|android-xml|storage-access-framework
5
2016-04-22T01:20:07.480Z
2,016
4
1
4
2,062
1
449
71
5
2
true
false
false
false
false
false
low
36,783,385
How to know if phone app is closed
<p>please explain me how does android call lock screen after closing emergency dialer. I've tried to check every second if emergency call is the top activity if it's not then i just lock device but this didn't do it's job in android 5.0 and higher. So, I need another solution.</p> <p>My code:</p> <pre><code>private s...
please explain me how does android call lock screen after closing emergency dialer. I've tried to check every second if emergency call is the top activity if it's not then i just lock device but this didn't do it's job in android 5.0 and higher. So, I need another solution. My code: [CODE] And this: [CODE]
android
0
2016-04-22T01:48:46.313Z
2,016
4
1
4
88
1
307
34
1
2
true
false
false
false
false
false
zero