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,663,747
Read encrypted file on another device?
<p>Suppose an app securely writes a file using following methods. A user copies the file and pastes in the same directory on another device. Can the app read the file on the new device? I mean is the following file read/write process device-specific or not?</p> <pre><code>static void encrypt() throws IOException, NoSu...
Suppose an app securely writes a file using following methods. A user copies the file and pastes in the same directory on another device. Can the app read the file on the new device? I mean is the following file read/write process device-specific or not? [CODE]
android|file|encryption
1
2016-04-16T11:46:22.943Z
2,016
4
11
5
61
1
261
38
3
1
true
false
false
false
false
false
low
36,663,757
Ignore specific Urls from Intent filter
<p>How to ignore specific set of URLs from Intent Filter. Existing filter.</p> <pre><code>&lt;intent-filter android:autoVerify="true"&gt; &lt;action android:name="android.intent.action.VIEW" /&gt; &lt;category android:name="android.intent.category.DEFAULT" /&gt; &lt;category android:name="android.intent.c...
How to ignore specific set of URLs from Intent Filter. Existing filter. [CODE] With the above filter, all URLs opens in the app. I want to ignore few URLs & it has to opened using browser. Example urls to be ignored. [CODE] The below code directly opens the app. [CODE]
android|android-intent|intentfilter|android-intent-chooser
5
2016-04-16T11:47:15.483Z
2,016
4
11
5
1,300
0
269
39
4
3
true
true
false
false
false
false
low
36,663,779
Android Socket Connections
<p>Trying to run a loop to check if a IP is open.</p> <pre><code>for (int z = 0; z &lt; 100; z++) { String ip = "10.0.0." + z; try { log(ip); Socket socket = new Socket(ip, MainActivity._util.getPort()); // Handle Stuff when Exception NOT throw } catch (Exception...
Trying to run a loop to check if a IP is open. [CODE] log is a function I made (no errors there) .getPort() is just a "global" port number I've defined EDIT : That returns 2683 (just a random number) it is supposed to just catch the exception then move on with the for loop but that doesn't happen. Currently this just p...
java|android|sockets|exception|freeze
-1
2016-04-16T11:48:37.127Z
2,016
4
11
5
68
1
573
26
5
2
true
false
false
false
false
true
negative
36,663,844
Customize Button (ANDROID)
<p><strong>I want to fully customize button in android, with keeping all its juicy material design styles.</strong></p> <ul> <li>Without a custom drawable png for button, just applying a color to button, i am able to change the color of the button and keep the <em>Elevation, Ripple Effect, Rounded corner</em> and it l...
I want to fully customize button in android, with keeping all its juicy material design styles. Without a custom drawable png for button, just applying a color to button, i am able to change the color of the button and keep the Elevation, Ripple Effect, Rounded corner and it looks nice. The code i used for this is [COD...
android|android-layout|button|material-design
0
2016-04-16T11:54:21.777Z
2,016
4
11
5
181
1
900
26
4
2
true
false
false
false
false
false
zero
36,663,852
Custom ListView changing item color
<p>I have a <code>ListView</code> with custom adapter and I want to change the background color of an item. I used this code:</p> <pre><code> @Override public View getView(final int position, View convertView, ViewGroup parent) { // TODO Auto-generated method stub final Holder holder = new Holder()...
I have a ListView with custom adapter and I want to change the background color of an item. I used this code: [CODE] It is working fine, but my question is - how can I change the next item color within the onclick function with knowing the last item will not get pressed(causing out of bounds error)? (If I press the ite...
android
0
2016-04-16T11:54:45.897Z
2,016
4
11
5
99
1
402
35
1
2
true
false
false
false
false
false
zero
36,663,878
Can't bind my app to sql server DB
<p>hi this is a fragment but i tried it in an activity and it throw the same error i don't know what to do if the error has thrown because of my sql server or there is something i should do so i hope someone would help me this is the exception : <strong>04-16 07:53:06.693: E/Error(1144): Network error IOException: fa...
hi this is a fragment but i tried it in an activity and it throw the same error i don't know what to do if the error has thrown because of my sql server or there is something i should do so i hope someone would help me this is the exception : 04-16 07:53:06.693: E/Error(1144): Network error IOException: failed to conne...
android|sql-server|eclipse
0
2016-04-16T11:57:26.143Z
2,016
4
11
5
25
0
406
34
3
1
true
true
false
false
false
false
zero
36,664,005
Activity Does not show up when Alarm Raised
<p>i've schedule an alarm to start an Broadcast Reciver when it's time raised and and inside the broadcast check's for some param of alarm object to determine which activity to start .. the app works find when the screen is on but when screen is locked it's not working </p> <p>Here's what i did : </p> <p>-this for sc...
i've schedule an alarm to start an Broadcast Reciver when it's time raised and and inside the broadcast check's for some param of alarm object to determine which activity to start .. the app works find when the screen is on but when screen is locked it's not working Here's what i did : -this for schedule the alarm [COD...
android|broadcastreceiver|alarmmanager
0
2016-04-16T12:10:15.523Z
2,016
4
12
5
73
1
430
43
3
3
true
false
false
false
false
false
zero
36,664,048
Android save stream data of Accelecrometer and Gryo log to text file
<p>I am trying to record accelerometer and gro data and save it in a text or csv file for analysis, though i am able to stream data in <a href="/questions/tagged/log.i" class="post-tag" title="show questions tagged &#39;log.i&#39;" rel="tag">log.i</a>, but don't know how to save log information in a text file. </p> ...
I am trying to record accelerometer and gro data and save it in a text or csv file for analysis, though i am able to stream data in log.i , but don't know how to save log information in a text file. [CODE]
java|android
0
2016-04-16T12:15:21.293Z
2,016
4
12
5
1,389
1
205
68
2
1
true
false
false
false
false
false
zero
36,664,085
Android Layout - layouts of 3 textviews inside a listview
<p>I searched and try a lot about my problem, but I haven't found a solution yet, also I tried whatever answer I was able to find on this site and much more, but I didn't find a proper solution.</p> <p>My problem is simple, I have a Listview containing 3 textviews, and for each textview I'd like to set their layout pa...
I searched and try a lot about my problem, but I haven't found a solution yet, also I tried whatever answer I was able to find on this site and much more, but I didn't find a proper solution. My problem is simple, I have a Listview containing 3 textviews, and for each textview I'd like to set their layout parameters su...
android|android-layout|listview
2
2016-04-16T12:20:03.497Z
2,016
4
12
5
481
6
1,851
57
3
7
true
false
false
false
false
false
low
36,664,135
Permissions in android 6 and GPS
<p>I have a problem with permissions on my application, I actually get a first error "java.lang.ArrayIndexOutOfBoundsException: length = 0; index = 0" and then a second due to the permissions, but the application works although when it is a lower version 6 due to its:</p> <pre><code> if (Build.VERSION.SDK_INT &gt;= B...
I have a problem with permissions on my application, I actually get a first error "java.lang.ArrayIndexOutOfBoundsException: length = 0; index = 0" and then a second due to the permissions, but the application works although when it is a lower version 6 due to its: [CODE] This can perhaps come to onRequestPermissionsRe...
java|android|android-studio|android-6.0-marshmallow|android-permissions
0
2016-04-16T12:23:56.887Z
2,016
4
12
5
379
0
560
32
5
2
true
true
false
false
false
false
zero
36,664,168
Error while running the app using emulator Gradle sync failed
<p>I am getting the following error when trying to run my very first app on emulator in android studio <br/> Please help:<br/><br/> Gradle sync failed: <br/><br/>Unable to start the daemon process.<br/> This problem might be caused by incorrect configuration of the daemon.<br/> For example, an unr...
I am getting the following error when trying to run my very first app on emulator in android studio Please help: Gradle sync failed: Unable to start the daemon process. This problem might be caused by incorrect configuration of the daemon. For example, an unrecognized jvm option is used. Please refer to the user guide ...
android|android-studio
0
2016-04-16T12:27:31.503Z
2,016
4
12
5
136
1
733
61
2
0
false
false
false
false
false
false
zero
36,664,178
Create a Upnp Server as a android system service, how to set permission for system server so that it can handle http connect requests?
<p>I am creating a service based system on <code>cybergarage</code> upnp library. I am successfully able to run this service as part of system server by adding it's entry in <code>SystemServer.java</code> file. The service gets registered and Upnp server starts sending multicast notify messages. I am using a <strong>c...
I am creating a service based system on cybergarage upnp library. I am successfully able to run this service as part of system server by adding it's entry in SystemServer.java file. The service gets registered and Upnp server starts sending multicast notify messages. I am using a control point application which can dis...
java|android|upnp
0
2016-04-16T12:28:00.953Z
2,016
4
12
5
323
1
1,001
134
3
0
false
false
false
false
false
false
zero
36,664,200
How to supply the right context that will make the button of an AlertDialog to work
<p>From the <a href="https://stackoverflow.com/a/36435357/6181476">accepted answer to this question</a>, I building an AlertDialog that I can use several times in my Activity but I having a problem with the positive button. Have been trying to supply the right context to line <code>(!NetworkCheck.isAvailableAndConnecte...
From the accepted answer to this question , I building an AlertDialog that I can use several times in my Activity but I having a problem with the positive button. Have been trying to supply the right context to line (!NetworkCheck.isAvailableAndConnected(getApplicationContext())) { in the code below: MainActivity [CODE...
android|android-alertdialog
0
2016-04-16T12:29:51.247Z
2,016
4
12
5
125
2
1,084
83
2
3
true
false
false
false
false
false
zero
36,664,228
Search bar to search a listView
<p>I have made an app that has a list of insurance companies using a <code>listView</code>. The <code>listView</code> is populated using an array adapter. I want to be able to search through this list with a search bar and only return an insurance company that is searched for. I have fallowed a tutorial however it does...
I have made an app that has a list of insurance companies using a listView . The listView is populated using an array adapter. I want to be able to search through this list with a search bar and only return an insurance company that is searched for. I have fallowed a tutorial however it doesn't filter the insurance com...
java|android|listview|android-studio|android-search
0
2016-04-16T12:32:17.060Z
2,016
4
12
5
153
0
453
31
5
3
true
true
false
false
false
false
zero
36,664,239
Android Volley: Response.ErrorListener() returning 'null' error
<p>On StringRequest, Response.ErrorListener() giver null error.</p> <p>In log it shows:</p> <p>E/Login_1_Phone: Posting params: {mobile=8681070970}</p> <p>E/Volley: [7239] BasicNetwork.performRequest: Unexpected response code 404 for <a href="http://54.254.177.58/android_sms/msg91/request_sms.php" rel="nofollow">htt...
On StringRequest, Response.ErrorListener() giver null error. In log it shows: E/Login_1_Phone: Posting params: {mobile=8681070970} E/Volley: [7239] BasicNetwork.performRequest: Unexpected response code 404 for http://54.254.177.58/android_sms/msg91/request_sms.php E/Login_1_Phone: Error: null Source Code: Activity requ...
php|android|android-volley|androidhttpclient
0
2016-04-16T12:33:23.457Z
2,016
4
12
5
2,485
0
359
63
4
2
true
true
false
false
false
false
zero
36,664,262
Realm and RecyclerView Item sorting and automatic ViewPager Fragment Communication
<p>I'm facing a few problems for a while now which I'm having trouble to solve. So I refer to the Realm and RecyclerView geniuses among the community. I'm woking on a ToDo-List that sets completed tasks back to the ToDo-List after 2 days. The app uses a ViewPager with two tabs: "TODO" &amp; "DONE".</p> <p><strong>1. R...
I'm facing a few problems for a while now which I'm having trouble to solve. So I refer to the Realm and RecyclerView geniuses among the community. I'm woking on a ToDo-List that sets completed tasks back to the ToDo-List after 2 days. The app uses a ViewPager with two tabs: "TODO" & "DONE". 1. RecyclerView 1.1. I want...
android|android-fragments|android-viewpager|android-recyclerview|realm
1
2016-04-16T12:35:58.853Z
2,016
4
12
5
1,185
1
2,881
82
5
6
true
false
false
false
false
false
low
36,664,265
Android:Get Selected Item from ListView
<p>I am writing a code where the user selects some apps as sensitive to put a lock to them. I am using the predefined layout from API22 called <code>android.R.layout.simple_list_item_multiple_choice</code> which contains <code>CheckedTextView</code>. I am unable to retrieve that which items are selected by the user. I ...
I am writing a code where the user selects some apps as sensitive to put a lock to them. I am using the predefined layout from API22 called android.R.layout.simple_list_item_multiple_choice which contains CheckedTextView . I am unable to retrieve that which items are selected by the user. I have tried a few things in t...
android|listview|android-arrayadapter|checkedtextview
0
2016-04-16T12:36:33.783Z
2,016
4
12
5
1,700
1
439
39
4
1
true
false
false
false
false
false
zero
36,664,266
problems with Fragment onBackPress
<p>in my navigation drawer there are 5 menu items.one of them is about us item.when I click on this item, I call AboutUsFragment and show it(its content is just a text).but when I click onBackPress, fragment is gone but its texts remains on my activity.how can I solve this problem?what`s it related to?!</p> <p>select ...
in my navigation drawer there are 5 menu items.one of them is about us item.when I click on this item, I call AboutUsFragment and show it(its content is just a text).but when I click onBackPress, fragment is gone but its texts remains on my activity.how can I solve this problem?what`s it related to?! select item of nav...
android|android-fragments|android-activity|navigation-drawer|onbackpressed
0
2016-04-16T12:36:35.367Z
2,016
4
12
5
155
2
673
34
5
5
true
false
false
false
false
false
zero
36,664,285
How to Solve Error inflating class fragment?
<p>I am trying to archive multiple set (Tablet and Handset) app which has 2 fragments (BaseFragment and BlankFragment). When I run, it shows message and indicate onCreate(MainActivity.java:18) ** **</p> <blockquote> <p>android.view.InflateException: Binary XML file line #8: Error inflating class fragment</p> </blo...
I am trying to archive multiple set (Tablet and Handset) app which has 2 fragments (BaseFragment and BlankFragment). When I run, it shows message and indicate onCreate(MainActivity.java:18) ** ** android.view.InflateException: Binary XML file line #8: Error inflating class fragment ** line 18--- setContentView(R.layout...
android|android-layout|android-fragments|android-manifest|android-fragmentactivity
0
2016-04-16T12:38:34.330Z
2,016
4
12
5
1,051
0
681
44
5
6
true
true
false
false
false
false
zero
36,664,346
Randomized (collection.shuffle) questions and answer buttons Android Studio
<p>I am developing a quiz game which has three different difficulties easy, medium and hard. I have used collection.shuffle but it is not seems to work.</p> <p>Note - when I had one level (easy) it was working but now I have three level it's not working I have researched and played around but no luck. I am new to co...
I am developing a quiz game which has three different difficulties easy, medium and hard. I have used collection.shuffle but it is not seems to work. Note - when I had one level (easy) it was working but now I have three level it's not working I have researched and played around but no luck. I am new to coding so an an...
android|android-studio
1
2016-04-16T12:45:35.047Z
2,016
4
12
5
2,670
1
453
75
2
3
true
false
true
false
false
false
low
36,664,376
SQLite for android is causing the app to crash
<p>I want to use my place picker to save the marker details to an SQLite database in android. but when i run the app, it crashes. Can somebody advise where i am going wrong.</p> <p>my DB handler</p> <pre><code>public class HistoryDBHandler extends SQLiteOpenHelper { private static final int DATABASE_VERSION = 1; // ...
I want to use my place picker to save the marker details to an SQLite database in android. but when i run the app, it crashes. Can somebody advise where i am going wrong. my DB handler [CODE] Constructors [CODE] This is the place picker in which im asking to execute an intent and also to add to database [CODE] Calling ...
android|sqlite
-1
2016-04-16T12:47:54.027Z
2,016
4
12
5
2,083
2
356
46
2
5
true
false
false
false
false
true
negative
36,664,451
Ffmpeg android build
<p>I'm trying to build ffmpeg library for android, using <a href="http://www.roman10.net/2013/08/18/how-to-build-ffmpeg-with-ndk-r9/" rel="nofollow noreferrer">roman10 tutorial</a></p> <p>I am able to run build_android.sh script.. but its not creating that ‘android’ folder in my source/ffmpeg folder !!</p> <p>In my cas...
I'm trying to build ffmpeg library for android, using roman10 tutorial I am able to run build_android.sh script.. but its not creating that ‘android’ folder in my source/ffmpeg folder !! In my case i try ffmpeg 3.0.1 in Ubuntu 14.04; 64bit. In the command line ./build_android.sh: line 17: --prefix=/home/Admin/Documents...
android|linux|ffmpeg|ubuntu-14.04|android-ffmpeg
3
2016-04-16T12:54:41.810Z
2,016
4
12
5
1,553
1
1,805
20
5
0
false
false
false
false
false
false
low
36,664,464
Android ListAdapter :NullPointerException exception
<p>This code works in basic Activity, but it doesn't in Tabbed activity. I want to use the ListView with custom view. Common code:</p> <pre><code>list_row.xml: &lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" an...
This code works in basic Activity, but it doesn't in Tabbed activity. I want to use the ListView with custom view. Common code: [CODE] It is my simple data class, I want to show it: [CODE] And my custom ListAdapter: [CODE] This works, but when I want use it in another application in Tabbed activity, it throws: NullPoin...
android|exception|listadapter
0
2016-04-16T12:56:16.307Z
2,016
4
12
5
52
1
552
51
3
5
true
false
false
false
false
false
zero
36,664,513
Issue with Handler. thread exiting with uncaught exception.
<p>don't hesitate me, it's my first program. I try to send the message from one thread to another, however it fails on receiving. Here is a log from crash.</p> <pre><code>04-15 18:29:43.610 14765-15803/annikov.dd E/PositionConnection: Updating message: 50385 04-15 18:29:43.630 14765-15803/annikov.dd E/PositionConnecti...
don't hesitate me, it's my first program. I try to send the message from one thread to another, however it fails on receiving. Here is a log from crash. [CODE] It's the sender's part of code: [CODE] ... [CODE] And this is from receiver: [CODE] ... [CODE] Can anybody figure out what's wrong here? I really don't know how...
java|android|multithreading
0
2016-04-16T13:01:00Z
-1
-1
-1
-1
55
1
342
59
3
5
true
false
false
false
false
false
zero
36,664,524
How to solve the RecylerView error in Android SDK?
<p>I'm writing this code to create a material Navigation bar. The error is <code>cannot resolve a RecylerView</code> in the line of code:</p> <pre><code> mRecyclerView = (RecyclerView)findViewById(R.id.RecyclerView); mRecyclerView.setHasFixedSize(true); </code></pre> <p>the error is coming on the RecyclerVi...
I'm writing this code to create a material Navigation bar. The error is cannot resolve a RecylerView in the line of code: [CODE] the error is coming on the RecyclerView present in the R.id.RecyclerView. My android api is 23 and android sdk version is 1.5.1. NavigationBar.java [CODE] Gradle [CODE]
java|android
0
2016-04-16T13:02:53.490Z
2,016
4
13
5
80
0
297
50
2
3
true
true
false
false
false
false
zero
36,664,533
Good Practice - Passing instance and call methods on instance
<p>I would like to bounce something off you guys. </p> <p>In my Mobile App, I have a lot of Activity and Fragment classes and many of them contain a method or two with code for uploading images to a WebAPI 2.0 web service etc. etc. Sorry, just for info.</p> <p>Now, I thought about creating a new class (e.g. ServiceC...
I would like to bounce something off you guys. In my Mobile App, I have a lot of Activity and Fragment classes and many of them contain a method or two with code for uploading images to a WebAPI 2.0 web service etc. etc. Sorry, just for info. Now, I thought about creating a new class (e.g. ServiceController) and then m...
java|android|android-studio
1
2016-04-16T13:03:31.763Z
2,016
4
13
5
55
1
914
61
3
0
false
false
false
false
false
false
low
36,664,617
How to link RadioButtons with images in Android Studio
<p>I'm trying to make an app that shows the name for each character in Ninja Turtles, I've made the 4 RadioButtons and imported the pictures. Whenever I run the the app, it crashes.</p> <p>The XML is:</p> <pre><code>&lt;RadioGroup android:layout_width="wrap_content" android:layout_height="wrap_content" an...
I'm trying to make an app that shows the name for each character in Ninja Turtles, I've made the 4 RadioButtons and imported the pictures. Whenever I run the the app, it crashes. The XML is: [CODE] [CODE] The Java code is: public void pickTurtle(View view) { [CODE]
java|android|android-studio
0
2016-04-16T13:12:35.627Z
2,016
4
13
5
333
1
265
54
3
3
true
false
false
false
false
false
zero
36,664,621
setOnCompletionListener is not working
<p>I have an onCompletion Listener for MediaPlayer, but it's not working after the MediaPlayer stops, and it's causing an error. I want to change the button background after the audio stops; here's the code:</p> <pre><code> btnPlay.setOnClickListener(new View.OnClickListener() { @Override public void ...
I have an onCompletion Listener for MediaPlayer, but it's not working after the MediaPlayer stops, and it's causing an error. I want to change the button background after the audio stops; here's the code: [CODE]
java|android|media-player
1
2016-04-16T13:12:53.937Z
2,016
4
13
5
665
1
211
38
3
1
true
false
false
false
false
false
low
36,664,663
Could not get Resource guava.jar Tag mismatch
<p><strong>I am getting this error during gradle build.I am using android studio 2.1 beta 2.</strong></p> <pre><code>Error:A problem occurred configuring project ':app'. &gt; Could not download guava.jar (com.google.guava:guava:19.0) &gt; Could not get resource 'https://jcenter.bintray.com/com/google/guava/guava/19....
I am getting this error during gradle build.I am using android studio 2.1 beta 2. [CODE] I have tried adding guava dependency in build.gradle but still it is showing same error. This is my build.gradle apply plugin: 'com.android.application' [CODE]
android|android-studio|android-gradle-plugin
1
2016-04-16T13:16:23.277Z
2,016
4
13
5
756
0
248
45
3
2
true
true
false
false
false
false
low
36,664,716
Toggle Button sharedpreferences Media Player
<p>I have 2 activity. In first activity I have a toggle button(setChecked = true) and a Media Player. When toggle is on, Media Player start; when toggle is off, media Player pause and seekTo "0". There is no problem in there but I want to save toggle button situation. Because when user change toggle off and start secon...
I have 2 activity. In first activity I have a toggle button(setChecked = true) and a Media Player. When toggle is on, Media Player start; when toggle is off, media Player pause and seekTo "0". There is no problem in there but I want to save toggle button situation. Because when user change toggle off and start second a...
android
1
2016-04-16T13:20:49.257Z
2,016
4
13
5
86
1
692
44
1
4
true
false
false
false
false
false
low
36,664,744
How to make a fragment?
<p>I've never made a fragment before, and have been trying to get this to work. I followed some online tutorials but those didn't yield much.</p> <p>My issue is the methods are getting called out of order. When MyActivity's XML file gets loaded, it also loads the fragment and calls its onCreate() method. This is done ...
I've never made a fragment before, and have been trying to get this to work. I followed some online tutorials but those didn't yield much. My issue is the methods are getting called out of order. When MyActivity's XML file gets loaded, it also loads the fragment and calls its onCreate() method. This is done before I ca...
java|android|android-layout|android-fragments|android-studio
-1
2016-04-16T13:23:23.937Z
2,016
4
13
5
78
4
769
23
5
4
true
false
false
false
false
true
negative
36,664,748
how to shuffle image on recyclerview
<p>i want to suffle my grid recylerview on button click. how do i do that</p> <p>here is my code.</p> <pre><code>public class MainActivity extends AppCompatActivity { Toolbar toolbar; Context mContext; Button suffle; List&lt;ImageData&gt; data = new ArrayList&lt;&gt;(); Recycle_Adapter adapter = new Recycle_Adapter...
i want to suffle my grid recylerview on button click. how do i do that here is my code. [CODE] i used Collections.Shuffle(data); but its not working,maybe i dont know how to used, i just found and try to use, i have no clue, help me..
android|android-studio|android-recyclerview|shuffle
0
2016-04-16T13:23:39.527Z
2,016
4
13
5
2,209
2
234
36
4
1
true
false
false
false
false
false
zero
36,664,789
Android SearchView: passing data to details acivity
<p>I am following <a href="https://androidhub.intel.com/en/posts/nglauber/Android_Search.html" rel="nofollow noreferrer">this tutorial</a> to create a search view in my toolbar. What I want is when I click on one of the search result items I want to display its corresponding data in a details activity but I can't seem ...
I am following this tutorial to create a search view in my toolbar. What I want is when I click on one of the search result items I want to display its corresponding data in a details activity but I can't seem to make it happen. This is my code: MainActivity class: [CODE] SearchableActivity class: [CODE] CitySuggestion...
android|sqlite|search|android-contentprovider
2
2016-04-16T13:27:53.483Z
2,016
4
13
5
2,167
1
830
51
4
5
true
false
false
false
false
false
low
36,664,861
RuntimeException not caught when thrown in Observable.from()
<p>In order to update the progress when downloading a file,I customized a InputStreamToFileIterable class to work with rxjava:</p> <pre><code>public class InputStreamToFileIterable implements Iterable&lt;Integer&gt; { private InputStream inputStream; private FileOutputStream outputStream; private byte[] bu...
In order to update the progress when downloading a file,I customized a InputStreamToFileIterable class to work with rxjava: [CODE] However when I subscribe an Observable like this: [CODE] my observer can't catch the RuntimeException thrown by InputStreamIterator.next() if the inputStream is closed halfway.I will get a ...
java|android|rx-java|rx-android
0
2016-04-16T13:35:13.807Z
2,016
4
13
5
272
1
473
60
4
4
true
false
false
false
false
false
zero
36,664,960
onDraw() or dispatchDraw() not getting called on touch
<p>Code:</p> <pre><code>public class MainActivity extends AppCompatActivity implements GestureDetector.OnGestureListener, GestureDetector.OnDoubleTapListener { DrawView drawView; private GestureDetectorCompat g1; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(sa...
Code: [CODE] Code for drawing: [CODE] On doing some research I found that one need to call setWillNotDraw(false) while overriding onDraw() or use dispatchDraw() . I have tried both but Draw function is called only once. I am new to android development.
java|android|android-studio
1
2016-04-16T13:45:45.093Z
2,016
4
13
5
1,304
1
252
54
3
2
true
false
false
false
false
false
low
36,665,004
Google cloud messaging not sending notification
<p>Hello everyone I am able to get the token from GCM cloud and store it to my data base but when i am going to send notification on the relevant token it's output is something like {"multicast_id":8449678444605960595,"success":0,"failure":1,"canonical_ids":0,"results":[{"error":"NotRegistered"}]}</p> <pre><code>I do...
Hello everyone I am able to get the token from GCM cloud and store it to my data base but when i am going to send notification on the relevant token it's output is something like {"multicast_id":8449678444605960595,"success":0,"failure":1,"canonical_ids":0,"results":[{"error":"NotRegistered"}]} [CODE] //token_reg table...
android|google-cloud-messaging
1
2016-04-16T13:49:24.603Z
2,016
4
13
5
64
1
347
47
2
1
true
false
false
false
false
false
low
36,665,033
buildToolsVersion is not specified, all "apply plugin: xxxx " is in app/build.gradle
<p>my module build.gradle</p> <pre><code>apply plugin: 'com.android.application' model { android { // 编译SDK的版本 compileSdkVersion = 23 // build tools的版本 buildToolsVersion = "23.0.3" //useLibrary = 'org.apache.http.legacy' defaultConfig.with { // 应用的包名 ...
my module build.gradle [CODE] my project build.gradle [CODE] gradle wrapper [CODE] if I use "com.android.tools.build:gradle:0.20" in project build.gradle, and make some according changes it just works fine, But I want the new feature instant, run I have googled almost one afternoon.
android|gradle|android-studio-2.0
0
2016-04-16T13:51:56.133Z
2,016
4
13
5
2,499
1
283
84
3
3
true
false
false
false
false
false
zero
36,665,039
Call class' constructor by reflection with Kotlin
<p>I have the following data class</p> <pre><code>data class Person (val id: Int? = null, val name: String, val active: Boolean) </code></pre> <p>I need to call it's constructor by reflection. I tried the following code </p> <pre><code>private fun &lt;T&gt; createEntity(constructor: Constructor&lt;*&gt;, vararg args...
I have the following data class [CODE] I need to call it's constructor by reflection. I tried the following code [CODE] and call it with an array for the args parameter. [CODE] With entity: Class<T> and cursor: Cursor from a local database Kotlin Documentation says : When we call a vararg-function, we can pass argument...
java|android|reflection|kotlin
15
2016-04-16T13:52:46.523Z
2,016
4
13
5
10,804
1
623
49
4
4
true
false
true
false
true
false
medium
36,665,056
NoClassDefFoundError after importing aar
<p>I successfuly used <a href="https://github.com/lzyzsd/CircleProgress" rel="nofollow noreferrer">https://github.com/lzyzsd/CircleProgress</a> according to documentation.</p> <pre><code>compile 'com.github.lzyzsd:circleprogress:1.1.0@aar' &lt;com.github.lzyzsd.circleprogress.DonutProgress xmlns:custom="http://sc...
I successfuly used https://github.com/lzyzsd/CircleProgress according to documentation. [CODE] But I missed an attribute donut_circle_starting_degree that was added to Git but new version has not been released. So I downloaded this library and packaged it myself locally. I used Android studio feature to import a module...
android
1
2016-04-16T13:54:26.723Z
2,016
4
13
5
1,671
1
561
40
1
2
true
false
false
false
false
false
low
36,665,124
Spinner in Action Bar results is Null Pointer Exception
<p>I am trying to implement a spinner in my action bar. I have added the spinner using XML in my layout, and then am trying to set its adapter in the base activity class(activity_main_layout.xml ). </p> <p>Below is main activity :</p> <pre><code>public class MainLayoutActivity extends AppCompatActivity implem...
I am trying to implement a spinner in my action bar. I have added the spinner using XML in my layout, and then am trying to set its adapter in the base activity class(activity_main_layout.xml ). Below is main activity : [CODE] spinnerlayout.xml : [CODE] activity_main_layout : [CODE] main_layout.xml : [CODE]
android|android-layout
0
2016-04-16T14:01:10.727Z
2,016
4
14
5
185
1
308
55
2
4
true
false
false
false
false
false
zero
36,665,134
GCM - why im getting NULL in onMessageReceived?
<p>im using google cloud messaging and i successfully send push notification. the only problem i have is that the method onMessageReceived always gets null. i can tell by the log, it shows me null. im sending from the server to the user and thats what i get</p> <hr> <p>for example <strong>04-16 12:29:17.231 19...
im using google cloud messaging and i successfully send push notification. the only problem i have is that the method onMessageReceived always gets null. i can tell by the log, it shows me null. im sending from the server to the user and thats what i get for example 04-16 12:29:17.231 19637-19705/com.world.bolandian.wa...
android|google-cloud-messaging
1
2016-04-16T14:02:00.603Z
2,016
4
14
5
1,034
1
590
47
2
2
true
false
false
false
false
false
low
36,665,283
Loading Large Bitmaps fails
<p>I got problems with the recommended way of loading large bitmaps. I've simply gone by the guide provided by Google themself. But I can't get it to work, when I try to upload the bitmap to my backend I get returned that the bitmap is null:</p> <blockquote> <p>java.lang.NullPointerException: Attempt to invoke virt...
I got problems with the recommended way of loading large bitmaps. I've simply gone by the guide provided by Google themself. But I can't get it to work, when I try to upload the bitmap to my backend I get returned that the bitmap is null: java.lang.NullPointerException: Attempt to invoke virtual method 'int android.gra...
java|android|bitmap
1
2016-04-16T14:16:27.670Z
2,016
4
14
5
107
0
631
27
3
1
true
true
false
false
false
false
low
36,665,306
Searching not working in custom list view
<p>I have referred to <a href="https://stackoverflow.com/questions/36035207/custom-filter-not-working-in-android">this</a> , <a href="https://stackoverflow.com/questions/28670012/android-listview-filter-not-working">this also</a> and <a href="https://stackoverflow.com/questions/28363382/android-custom-adapter-filter-no...
I have referred to this , this also and this one too . No where I am finding the solution of my problem. On typing in edit text No filtering is there and list view remains as it is Here is the code: MainActivity.java [CODE] } CustomAdapter.java [CODE] content_main.xml [CODE] Please help me out. using ArrayAdapter [CODE...
java|android|listview|baseadapter|android-filterable
0
2016-04-16T14:18:58.600Z
2,016
4
14
5
86
1
321
41
5
4
true
false
false
false
false
false
zero
36,665,333
App successfully builds without error but when ran an error comes up
<p>So my project successfully builds however when i try run the app on my device i get this error. I am completely clueless on why. It doesn't help it take 20+ minutes each time i try to run it either.</p> <pre><code>Error:Execution failed for task ':app:transformClassesWithDexForDebug'. &gt; com.android.ide.common.pr...
So my project successfully builds however when i try run the app on my device i get this error. I am completely clueless on why. It doesn't help it take 20+ minutes each time i try to run it either. [CODE] Here is my project build file ; // Top-level build file where you can add configuration options common to all sub-...
android|gradle|android-gradle-plugin|build.gradle
0
2016-04-16T14:21:44.617Z
2,016
4
14
5
105
0
377
68
4
2
true
true
false
false
false
false
zero
36,665,364
How to get string from opened groupView in ExpandableListView?
<p>I have ExpandableListView. It can be only one opened groupView. I want get string from selected GroupView. Im trying get string in getGroupView methods (groupName - var) but it always show text from another groupView. Whats wrong with my code? Help please! Here is my adapter:</p> <pre><code>public class ExpandListA...
I have ExpandableListView. It can be only one opened groupView. I want get string from selected GroupView. Im trying get string in getGroupView methods (groupName - var) but it always show text from another groupView. Whats wrong with my code? Help please! Here is my adapter: [CODE]
android|expandablelistview
0
2016-04-16T14:25:01.603Z
2,016
4
14
5
95
1
283
62
2
1
true
false
false
false
false
false
zero
36,665,457
String doesn't update when passed to different Fragment?
<p>I'm trying to send two strings from Fragment A to Fragment B. Currently, i've implemented an <code>interface</code> listener like this...</p> <p><strong>Fragment A Method:</strong></p> <pre><code>String arrayTitle1 = arrayList.get(Index).get("ArrayTitle1"); String arrayTitle2 = arrayList.get(Index).get("ArrayTitle...
I'm trying to send two strings from Fragment A to Fragment B. Currently, i've implemented an interface listener like this... Fragment A Method: [CODE] I pass these strings to the Activity which sends them to Fragment B like this... Activity: [CODE] Fragment B: They are then received and stored in Fragment B as public s...
java|android|android-fragments
0
2016-04-16T14:33:44.907Z
2,016
4
14
5
25
2
550
56
3
4
true
false
false
false
false
false
zero
36,665,516
Is there a way to overcome clipping in FAB button?
<p>I'm working on animating the drawable of a <a href="http://developer.android.com/reference/android/support/design/widget/FloatingActionButton.html" rel="nofollow noreferrer">FAB</a>. The animation makes the part of the drawable twice as big. However, once is starts growing, it is clipped under the layout of the FAB:...
I'm working on animating the drawable of a FAB . The animation makes the part of the drawable twice as big. However, once is starts growing, it is clipped under the layout of the FAB: Is there a way that I can avoid this clipping? It's placed in a CoordinatorLayout, so it isn't possible to place an ImageView on top of ...
android|material-design|floating-action-button
0
2016-04-16T14:39:48.980Z
2,016
4
14
5
159
0
521
50
3
1
true
true
false
false
false
false
zero
36,665,600
How can I call AsyncTask from onCreatemethod.?
<p>I' m developing simple android app where I'm accessing servlet using this code but I'm getting <code>java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()</code> error. I tried to search it on google but can't find anything."MY_IP_ADDRESS" is to be considered as an Ipadr...
I' m developing simple android app where I'm accessing servlet using this code but I'm getting java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare() error. I tried to search it on google but can't find anything."MY_IP_ADDRESS" is to be considered as an Ipadress of my system...
java|android|android-asynctask
0
2016-04-16T14:46:55.137Z
2,016
4
14
5
33
2
410
46
3
1
true
false
false
false
false
false
zero
36,665,619
android.view.InflateException: Binary XML file line #2: Binary XML file line #2: Error inflating class android.support.design.widget.CoordinatorLayout
<p>Got this error when trying to run the app in Nexus 5x. </p> <p>Below is the stack:</p> <pre><code>04-16 22:41:37.083 23199-23199/au.com... E/AndroidRuntime: FATAL EXCEPTION: main Process: au.com.beewest.natswarehouse, PID: 23199 ...
Got this error when trying to run the app in Nexus 5x. Below is the stack: [CODE] And my build.gradle [CODE]
android
4
2016-04-16T14:48:45.767Z
2,016
4
14
5
11,884
1
108
150
1
2
true
false
true
true
false
false
low
36,665,674
PendingIntent returned from getBuyIntent is always null
<p>I'm trying to offer a subscription but the PendingIntent I get from getBuyIntent is always null. Although, requesting purchases and item details works.</p> <p>I already tried with different accounts, signed, debuggable and non debuggable apks but still the same.</p> <pre><code>Bundle bundle = mService.getBuyIntent...
I'm trying to offer a subscription but the PendingIntent I get from getBuyIntent is always null. Although, requesting purchases and item details works. I already tried with different accounts, signed, debuggable and non debuggable apks but still the same. [CODE] And this is the logcat output : SUBSCRIBE: RESPONSE_CODE ...
android|in-app-purchase|in-app-billing|android-pendingintent|subscription
1
2016-04-16T14:54:41.450Z
2,016
4
14
5
589
1
650
55
5
1
true
false
false
false
false
false
low
36,665,701
Setting the text to be in the center works for one spinner, but not for other
<p>In my application I've got 3 spinners - one on the top, which when used provides the user with 2 more aligned below it. </p> <p>I looked at <a href="https://stackoverflow.com/questions/5755506/text-is-pushed-to-the-left-in-a-spinner-android">this question</a> where I found the answer I was looking for, but only hal...
In my application I've got 3 spinners - one on the top, which when used provides the user with 2 more aligned below it. I looked at this question where I found the answer I was looking for, but only half-way.. Now the two supplementary spinners have their text shown in the center, but the first one - no. Looking at the...
android|xml|android-layout|spinner
3
2016-04-16T14:56:55.223Z
2,016
4
14
5
705
5
1,158
77
4
2
true
false
false
false
false
false
low
36,665,905
How to create a class or method for multiple instance of webview
<p>I have 3 fragments with their 3 layouts in tablayout. All three layout have their individual webview, swipeRefreshLayout and a progress bar. Currently I copy paste the same code in all three fragments . I want to make a class or a single method such that the changes i make in it will reflect on all three webview set...
I have 3 fragments with their 3 layouts in tablayout. All three layout have their individual webview, swipeRefreshLayout and a progress bar. Currently I copy paste the same code in all three fragments . I want to make a class or a single method such that the changes i make in it will reflect on all three webview settin...
java|android|android-fragments|webview
0
2016-04-16T15:16:25.983Z
2,016
4
15
5
137
1
642
64
4
1
true
false
false
false
false
false
zero
36,665,979
Multiple Libraries Founded Alert and High Cache
<p>I am working on an android app and it started opening late.</p> <pre><code>04-16 18:07:09.834 2683-2683/pp.com.dersProgramim W/ResourceType: Found multiple library tables, ignoring... 04-16 18:07:23.159 2683-2683/pp.com.dersProgramim D/NotificationMan...: Step 1 </code></pre> <p>Here is the logcat in first run. It...
I am working on an android app and it started opening late. [CODE] Here is the logcat in first run. It waits so long to open in "Found Multiple Library tables, ignoring" part. Its like 12 seconds. After the first run, app makes big size cache and data, like 30 MB. App Info Its so big i think. And the second run for exa...
android
0
2016-04-16T15:22:13.107Z
2,016
4
15
5
1,036
1
632
47
1
6
true
false
false
false
false
false
zero
36,666,080
Gradle sync failed: Failed to update Android plugin to version '2.0.0'
<p>I've recently updated Android Studio to 2.0. I am working on a part time course and I have to work on a project provided. When gradle tried to build the project a dialog popped up asking me to update the android studio gradle plugin. When I clicked update, I got an error which is in the title.</p> <p>My gradle f...
I've recently updated Android Studio to 2.0. I am working on a part time course and I have to work on a project provided. When gradle tried to build the project a dialog popped up asking me to update the android studio gradle plugin. When I clicked update, I got an error which is in the title. My gradle files are as fo...
android|android-studio|android-gradle-plugin|gradle-plugin|android-studio-2.0
7
2016-04-16T15:30:15.923Z
2,016
4
15
5
16,188
1
627
70
5
3
true
false
true
true
false
false
medium
36,666,091
Attempt to invoke virtual method 'android.view.Window$Callback android.view.Window.getCallback()' on a null object reference
<p>When my <code>SplashActivity</code> opens the <code>LoginActivity</code> my app crashes.</p> <p>The following is my <code>SplashActivity.java</code>:</p> <pre><code>package com.example.android.appName; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; impor...
When my SplashActivity opens the LoginActivity my app crashes. The following is my SplashActivity.java : [CODE] and my LoginActivity.java : [CODE] Part of AndroidManifest.xml : [CODE] Error in logcat: [CODE]
java|android|findviewbyid
27
2016-04-16T15:31:00.140Z
2,016
4
15
5
75,555
2
207
124
3
4
true
false
true
true
true
false
high
36,666,107
Android parse JSON array of array
<p>I have JSON code like above, as a response:</p> <pre><code>"candidates": [ { "subtest1": "0.802138030529022", "enrollment_timestamp": "1416850761" }, { "elizabeth": "0.802138030529022", "enrollment_timestamp": "1417207485" }, { "elizabeth": "0.777253568172455", "enrollment_timestamp": "1416518415" }, { ...
I have JSON code like above, as a response: [CODE] I try to get names from candidates array. [CODE] It is hard, because these values are in an array of an array and without identifier. Identifier is the exact value, so couldn't define variable in my code. I need only first value, like subtest1 in this example.
android|arrays|json|parsing
0
2016-04-16T15:32:41.263Z
2,016
4
15
5
151
1
311
33
4
2
true
false
false
false
false
false
zero
36,666,121
How to continuously move marker same as google default current location marker on google map android
<pre><code> package com.jaygandhi.map3; import android.Manifest; import android.content.pm.PackageManager; import android.location.Location; import android.os.Build; import android.support.v4.app.ActivityCompat; import android.support.v4.app.FragmentActivity; import android.os.Bundle; import android.support.v...
[CODE] This code I get from different answer but it did not update in real time. I tried this code but when maps loads first time marker show current location but when my location is changed marker do not move to new location.
android|google-maps|google-maps-api-3|google-maps-markers
5
2016-04-16T15:33:41.033Z
2,016
4
15
5
20,677
5
226
100
4
1
true
false
true
true
false
false
low
36,666,171
Spinner not showing item in android
<p>I am trying to add items on spinner using fillHymNumber methodhow ever it does not update. No errors in the logs</p> <p>Below is main activity is like this:</p> <pre><code>public class MainLayoutActivity extends AppCompatActivity implements NavigationView.OnNavigationItemSelectedListener { private stat...
I am trying to add items on spinner using fillHymNumber methodhow ever it does not update. No errors in the logs Below is main activity is like this: [CODE] spinnerlayout.xml looks like this : [CODE] activity_main_layout : [CODE] main_layout.xml : [CODE]
android|android-studio
0
2016-04-16T15:38:17.587Z
2,016
4
15
5
118
1
254
35
2
4
true
false
false
false
false
false
zero
36,666,207
How to set an ImageView into a fragment Android?
<p>My app needs a profile's image either taking a photo or choose from gallery. I'm on a fragment and when I click a button I can choose if take a photo or choose it from gallery. The function works and I open the camera and the gallery, but when I return on my fragment I don't see the image taking or choosing into my ...
My app needs a profile's image either taking a photo or choose from gallery. I'm on a fragment and when I click a button I can choose if take a photo or choose it from gallery. The function works and I open the camera and the gallery, but when I return on my fragment I don't see the image taking or choosing into my Ima...
java|android|android-fragments|android-camera|android-gallery
0
2016-04-16T15:41:03.257Z
2,016
4
15
5
286
0
535
48
5
4
true
true
false
false
false
false
zero
36,666,223
Touch and Drag Issues Unity 2D Game
<p>I am having a few issues with my touch controls.</p> <p>1) My game is 2D. When I tested this on my android device the 2D image will almost disappear when shifting from right touch to left touch. The object is being treated as 3D object. I think this has something to do with the Z space.</p> <p>2) How could I make ...
I am having a few issues with my touch controls. 1) My game is 2D. When I tested this on my android device the 2D image will almost disappear when shifting from right touch to left touch. The object is being treated as 3D object. I think this has something to do with the Z space. 2) How could I make the character move ...
android|touch|2d|unity3d
1
2016-04-16T15:42:17.110Z
2,016
4
15
5
418
1
642
35
4
2
true
false
false
false
false
false
low
36,666,238
Android - getFilesDir().lstFiles() returning null?
<p>I want to read out the first line of each file in my app's private filesdir. I am using following code:</p> <pre><code> String[] f ={}; File[] files = con.getFilesDir().listFiles(); for (int i = 0; i&lt;=files.length-1; i++){ try { FileInputStream in = con.openFileInput(files[i].getNa...
I want to read out the first line of each file in my app's private filesdir. I am using following code: [CODE] Logcat always says "E/File input reading﹕ length=0; index=0" - means that the length of the files array is 0, because listfiles() returned null, but there is definitely a file in this directory. why is it not ...
java|android|file-handling
0
2016-04-16T15:43:10.600Z
2,016
4
15
5
668
1
465
50
3
2
true
false
false
false
false
false
zero
36,666,248
live streaming using vitamio library
<p>I am trying to stream live video from Spydriod to video view in Vitamio. It is streaming on VLC palyer, but when I try it on vitamio all I see is just a black screen. I have searched internet and tried many solution, but nothing really solved the issue. Following are links that i visited.</p> <p><a href="https://gi...
I am trying to stream live video from Spydriod to video view in Vitamio. It is streaming on VLC palyer, but when I try it on vitamio all I see is just a black screen. I have searched internet and tried many solution, but nothing really solved the issue. Following are links that i visited. https://github.com/yixia/Vitam...
android|streaming|live|vitamio
1
2016-04-16T15:43:57.090Z
2,016
4
15
5
870
0
674
36
4
2
true
true
false
false
false
false
low
36,666,284
Android Logcat Message "Could not find Class"
<p>i have downgraded the compile SDK from API 23 to API 22 now after downgrade i am receiving the following messages in logcat.</p> <p>need you kind assistance to reduce errors. i have updated this question with gradle app file as well</p> <pre><code> 04-16 20:36:35.814 27855-27855/com.example.arsal.androtasbih E/...
i have downgraded the compile SDK from API 23 to API 22 now after downgrade i am receiving the following messages in logcat. need you kind assistance to reduce errors. i have updated this question with gradle app file as well [CODE] Gradle File is as below. i have changed compile sdk to 22 and also changed built tool n...
android
2
2016-04-16T15:47:01.297Z
2,016
4
15
5
3,510
2
375
45
1
2
true
false
true
false
false
false
low
36,666,451
How to retrieve questions and answers from mysql database by using php files
<p>i would like to make a Quiz Application but i have some problems and i am not too sure as to how I should approach them. I am at a fairly basic level for php so was wondering if anyone could help me?</p> <p>In mysql I have a database with a "Questions" table and "Answers" table.</p> <p><a href="http://i.stack.imgu...
i would like to make a Quiz Application but i have some problems and i am not too sure as to how I should approach them. I am at a fairly basic level for php so was wondering if anyone could help me? In mysql I have a database with a "Questions" table and "Answers" table. The layout of my database on mysql My database ...
php|android
0
2016-04-16T16:03:11.717Z
2,016
4
16
5
651
1
1,047
76
2
0
false
false
false
false
false
false
zero
36,666,488
Show Message According to TIme
<p>I've a TextView where I want to set a message according to time ( hour of day). To achieve this I'm using-</p> <pre><code>Thread t2 = new Thread() { @Override public void run() { try { while (!isInterrupted()) { Thread.sleep(3600000); ...
I've a TextView where I want to set a message according to time ( hour of day). To achieve this I'm using- [CODE] where update(hour) is used to update the message. This works fine, however, the updating is done depending on the launching time. For example, the message should update at time 20:00. But if the app is laun...
android|multithreading|time
1
2016-04-16T16:07:12.780Z
2,016
4
16
5
44
2
561
30
3
1
true
false
false
false
false
false
low
36,666,620
AsyncTask LIFX Bulb response
<p>I have got problem with read output form request. </p> <pre><code> public JSONArray listLights() { try { URL adres = new URL("https://api.lifx.com/v1/lights/all"); HttpURLConnection polaczenie = (HttpURLConnection) adres.openConnection(); polaczenie.setRequestProperty("Authorizati...
I have got problem with read output form request. [CODE] StackTrace I added to AndroidManifest Internet access too. Welcome to leave any comments. :P EDIT: I google internet and found partial solution. Added AsyncTask, but now I'm receiving '429' response code. [CODE] My current StackTrace EDIT2: New day, new surprise....
java|android|json|android-asynctask|httpsurlconnection
0
2016-04-16T16:19:47.963Z
2,016
4
16
5
67
3
414
28
5
2
true
false
false
false
false
false
zero
36,666,636
Progressbar in Recyclerview
<p>I am working on a android project in which there will be a Recyclerview consisting of items(rows). At run time whenever item(row) is added to the Recyclerview, it starts uploading to server and updates the progressbar in that item(row). Each Item here is a file. Everything goes fine as long as the items are added ti...
I am working on a android project in which there will be a Recyclerview consisting of items(rows). At run time whenever item(row) is added to the Recyclerview, it starts uploading to server and updates the progressbar in that item(row). Each Item here is a file. Everything goes fine as long as the items are added till ...
android|android-recyclerview|android-progressbar
2
2016-04-16T16:21:46.533Z
2,016
4
16
5
7,111
1
836
27
3
1
true
false
true
false
false
false
low
36,666,872
Could not invoke RNCookieManagerAndroid.getAll
<p>Right now I'm trying to use this a package called <a href="https://github.com/joeferraro/react-native-cookies" rel="nofollow noreferrer">react-native-cookies</a> and I'm having trouble using any of the functions listed (for android). I'm encountering this error, which points to line 279 of BaseJavaModule.java, in Re...
Right now I'm trying to use this a package called react-native-cookies and I'm having trouble using any of the functions listed (for android). I'm encountering this error, which points to line 279 of BaseJavaModule.java, in ReactAndroid/src/main/java/com/facebook/react/bridge/BaseJavaModule.java [CODE] The line throw n...
android|cookies|react-native
1
2016-04-16T16:43:55.277Z
2,016
4
16
5
404
0
928
46
3
2
true
true
false
false
false
false
low
36,666,928
Logical operator short-circuit on Samsung
<p>I am getting a NullPointerException reported in one of my apps. The stacktrace gets me to a point where I check some BLE related features.</p> <p>The code is the following :</p> <pre><code>private static boolean areHardwareFeaturesSupported(BluetoothManager bluetoothManager) { BluetoothAdapter bluetoothAdapter...
I am getting a NullPointerException reported in one of my apps. The stacktrace gets me to a point where I check some BLE related features. The code is the following : [CODE] The exception is raised with the following reason : [CODE] I am puzzled as this expression should not even try to invoke the function if the objec...
java|android|samsung-mobile
2
2016-04-16T16:48:16.020Z
2,016
4
16
5
44
0
540
41
3
2
true
true
false
false
false
false
low
36,666,982
Android: removing and adding views to a recyclerView properly
<p>I have a simple RecyclerView that looks like a list, I'm setting each view a diffrent ID, and adding views by clicking on the first view, and removing views when they're clicked (expect the first one). What's not working correctly is when I remove a view and then add another one, the new view's ID breaks the order.<...
I have a simple RecyclerView that looks like a list, I'm setting each view a diffrent ID, and adding views by clicking on the first view, and removing views when they're clicked (expect the first one). What's not working correctly is when I remove a view and then add another one, the new view's ID breaks the order. The...
java|android|android-recyclerview
0
2016-04-16T16:54:08.570Z
2,016
4
16
5
2,245
2
596
61
3
3
true
false
false
false
false
false
zero
36,667,027
Android EditText blocks parent SwipeMenu
<p>Working on this app on which have some SwipeMenuListViews.</p> <p>One of those has an edit menu item like this.</p> <p><a href="https://i.stack.imgur.com/FV2h6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FV2h6.png" alt="enter image description here"></a></p> <p>Now as you can imagine on Edi...
Working on this app on which have some SwipeMenuListViews. One of those has an edit menu item like this. Now as you can imagine on Edit click should make the item editable. And this is not working out at all. Tried a lot and on what I found was that I needed to use an EditText view and so I did. The problem I've got by...
java|android|android-edittext
1
2016-04-16T16:57:32.347Z
2,016
4
16
5
73
0
776
40
3
2
true
true
false
false
false
false
low
36,667,094
How to prevent custom shape from pushing out of the LinearLayout?
<p>I have a Custom View that extends RelativeLayout with overridden onDraw() method so that it looks like a message bubble. This View is in the LinearLayout. When I try to fill this custom View with content, part of its shape is pushed out of the LinearLayout. How to prevent this behaviour?How to prevent this behaviour...
I have a Custom View that extends RelativeLayout with overridden onDraw() method so that it looks like a message bubble. This View is in the LinearLayout. When I try to fill this custom View with content, part of its shape is pushed out of the LinearLayout. How to prevent this behaviour?How to prevent this behaviour? [...
android|xml|android-layout|message|shapes
0
2016-04-16T17:03:12.927Z
2,016
4
17
5
53
1
358
65
5
2
true
false
false
false
false
false
zero
36,667,121
Adreno error crashes Android cordova app on select dropdown
<p>My Android cordova-based app crashes on an Motorola Droid Turbo 2, Android Version 6.0. The app runs fine on many other devices/platforms - including my android phone.  I can crash the app by making a selection in a completely barebones dropdown.</p> <p>ADDITIONAL DETAILS (new 5/27/16): 1.) The app does not always...
My Android cordova-based app crashes on an Motorola Droid Turbo 2, Android Version 6.0. The app runs fine on many other devices/platforms - including my android phone. I can crash the app by making a selection in a completely barebones dropdown. ADDITIONAL DETAILS (new 5/27/16): 1.) The app does not always crash the fi...
android|cordova
6
2016-04-16T17:05:38.530Z
2,016
4
17
5
693
0
910
59
2
1
true
true
false
false
false
false
medium
36,667,164
Lag when scrolling recyclerview
<p>This is my adapters code:</p> <pre><code>public class CatAdapter extends RecyclerView.Adapter&lt;CatAdapter.ViewHolder&gt; { ArrayList&lt;CatModel&gt; objects_; Context context; Class res = R.drawable.class; public class ViewHolder extends RecyclerView.ViewHolder { TextView cat_text,cat_des; ImageView cat_...
This is my adapters code: [CODE] CatModel class [CODE] CatModel.img is id of my drawables that I put them in R.strings . All of my items int arraylist is about 20 items and my drawables are optimized SVG that I converted into vector drawable. but when I'm scrolling it's not smooth. What can I do to optimize it?
java|android
2
2016-04-16T17:10:02.583Z
2,016
4
17
5
419
1
312
31
2
2
true
false
false
false
false
false
low
36,667,190
AlarmManager notification shows previous data
<p>I am trying to pass string using alarm manager and receive it in BroadcastReceiver. But my problem is that I get previous value of string.</p> <pre><code>int min = 65; int max = 80; Random r = new Random(); int i1 = r.nextInt(max - min + 1) + min; AlarmManager alarmManager = (AlarmManager) getS...
I am trying to pass string using alarm manager and receive it in BroadcastReceiver. But my problem is that I get previous value of string. [CODE] i1 generates random value. For example i1 generates 20 then putExtar pass null. again when service is started then it generates a random value for eg 30 then putExtra passes ...
java|android|android-studio
1
2016-04-16T17:13:39.643Z
2,016
4
17
5
32
0
353
45
3
1
true
true
false
false
false
false
low
36,667,238
Error when binding an .AAR in Xamarin.Android
<p>i'm trying to bind the core library: <a href="https://github.com/gabrielemariotti/cardslib" rel="nofollow">https://github.com/gabrielemariotti/cardslib</a></p> <p>I downloaded the .AAR file from Maven Central and did everything in this tutorial Binding an .AAR, but when i'm building the Binding Library i'm getting ...
i'm trying to bind the core library: https://github.com/gabrielemariotti/cardslib I downloaded the .AAR file from Maven Central and did everything in this tutorial Binding an .AAR, but when i'm building the Binding Library i'm getting this errors: [CODE] It looks like the binding generator has some bugs, is there any f...
android|binding|xamarin|xamarin.android|aar
0
2016-04-16T17:17:32.327Z
2,016
4
17
5
637
1
351
45
5
1
true
false
false
false
false
false
zero
36,667,338
Issue with Cursor When Trying to Query an SQLite Database
<p>I am pretty new to SQLite and have been trying to figure this out for a few days by searching this site and googling. If anyone could point me in the right direction, it would be much appreciated.</p> <p>For some reason when I am trying to populate items from my database into a ListView, I am getting the error bel...
I am pretty new to SQLite and have been trying to figure this out for a few days by searching this site and googling. If anyone could point me in the right direction, it would be much appreciated. For some reason when I am trying to populate items from my database into a ListView, I am getting the error below: Attempt ...
android-sqlite
0
2016-04-16T17:25:44.053Z
2,016
4
17
5
179
0
4,415
57
1
2
true
true
false
false
false
false
zero
36,667,358
Android SwitchCompat not rendering track when in off state
<p>My question is probably best asked visually -- I want a <a href="http://developer.android.com/reference/android/support/v7/widget/SwitchCompat.html" rel="nofollow noreferrer"><code>SwitchCompat</code></a> switch to look the way they do in the Android Settings app:</p> <p>This is off:</p> <p><a href="https://i.stac...
My question is probably best asked visually -- I want a SwitchCompat switch to look the way they do in the Android Settings app: This is off: This is on: But for some reason, my SwitchCompat switch looks like this when off: There is no gray "track" extending out to the right side. But, when on, it looks as expected: As...
android|switchcompat
3
2016-04-16T17:28:29.823Z
2,016
4
17
5
2,484
2
805
58
2
4
true
false
false
false
false
false
low
36,667,424
Android: customize a single row in RecyclerView
<p>I have a recyclerView behanving like a list, how do I change the background color of only one view? The item I want to change the color's ID is "1", I thought about getting it in the activity by it's ID and add it a decorator, but I don't know how to, or if it's even possible.</p> <p><strong>Inside the adapter:</st...
I have a recyclerView behanving like a list, how do I change the background color of only one view? The item I want to change the color's ID is "1", I thought about getting it in the activity by it's ID and add it a decorator, but I don't know how to, or if it's even possible. Inside the adapter: [CODE]
java|android|android-recyclerview
1
2016-04-16T17:33:15.273Z
2,016
4
17
5
890
2
304
47
3
1
true
false
false
false
false
false
low
36,667,500
Cant retrieve data correctly from realm
<p>I am trying to implement a generic realm wrapper. So, i can pass an object with its class to either add/update or get. I am using the realm browser to confirm that i am saving the data correctly, but when i perform a getAll query, i receive an array with the correct amount with the correct data structure but all the...
I am trying to implement a generic realm wrapper. So, i can pass an object with its class to either add/update or get. I am using the realm browser to confirm that i am saving the data correctly, but when i perform a getAll query, i receive an array with the correct amount with the correct data structure but all the fi...
android|realm
0
2016-04-16T17:41:00.787Z
2,016
4
17
5
687
1
646
39
2
3
true
false
false
false
false
false
zero
36,667,542
i'm trying import my sqlite database into android
<p>each time i run the application it gives the message "Unfortunately application has stop working" . i don't know where are the errors ..i will be glad if someone could help me .</p> <p>this is the DatabaseHelper class :</p> <pre><code>import java.io.File; import java.io.FileOutputStream; import java.io.IOException...
each time i run the application it gives the message "Unfortunately application has stop working" . i don't know where are the errors ..i will be glad if someone could help me . this is the DatabaseHelper class : [CODE] } and here is the DBAdapter class [CODE] the logcat [CODE]
android|sqlite
0
2016-04-16T17:44:43.090Z
2,016
4
17
5
34
0
278
49
2
3
true
true
false
false
false
false
zero
36,667,573
How to use BUILT IN "Sync Calendar" mechanism instead of implementing custom Sync Adapter?
<p>If you want to sync some <strong>custom</strong> data between your Android app and remote server, usually you need to implement a local storage for the data, <a href="http://developer.android.com/guide/topics/providers/content-providers.html" rel="nofollow">Content Provider</a>, and <a href="http://developer.android...
If you want to sync some custom data between your Android app and remote server, usually you need to implement a local storage for the data, Content Provider , and Sync Adapter to perform custom syncing. What if in my app I am using standard Calendar Provider with its storage and want to sync my changes with Google Cal...
android|google-api|google-calendar-api|android-contentprovider|android-syncadapter
1
2016-04-16T17:47:37.190Z
2,016
4
17
5
349
0
776
90
5
0
false
true
false
false
false
false
low
36,667,628
How to refactor helper methods with generics and foreign classes? (Java Android)
<p>I'm building an Android app and using ORMLite for SQLite operations and want to create helper class for database handling. I have faced the problem of big code duplicates, but can't figure out how to refactor them.<br> Please advise if you have any thoughts about it.<br> I feel that this issue because of lack some b...
I'm building an Android app and using ORMLite for SQLite operations and want to create helper class for database handling. I have faced the problem of big code duplicates, but can't figure out how to refactor them. Please advise if you have any thoughts about it. I feel that this issue because of lack some basic knowle...
java|android|refactoring|ormlite
1
2016-04-16T17:52:27.203Z
2,016
4
17
5
158
1
471
80
4
1
true
false
false
false
false
false
low
36,667,645
Push single List<> Elements in a ListView with custom ArrayAdapter
<p>i have a problem with my custom <code>ArrayAdapter</code>. I have in my <code>ArrayAdaper</code> a <code>List&lt;Object&gt;</code> with some data. The data come from a another class <code>DataContainer</code>. I have some methods to filter my <code>List&lt;Object&gt;</code> and push the <code>List&lt;Object&gt;</cod...
i have a problem with my custom ArrayAdapter . I have in my ArrayAdaper a List<Object> with some data. The data come from a another class DataContainer . I have some methods to filter my List<Object> and push the List<Object> with a foreach loop in 2 TextViews (Song Title = TextView1, Songwriter,Genre = TextView 2) Now...
android
1
2016-04-16T17:53:39.477Z
2,016
4
17
5
256
0
465
66
1
1
true
true
false
false
false
false
low
36,667,708
Android - Get the subtraction to the next block
<p>I need to know how to get the subtraction to the next block, the blocks are <code>60</code> each time:</p> <pre><code>60 is the first block 120 is the next block // 60 + 60 180 is the next block // 120 + 60 240 is the next block // 180 + 60 and so on... </code></pre> <p>The number could be anything (with or withou...
I need to know how to get the subtraction to the next block, the blocks are 60 each time: [CODE] The number could be anything (with or without decimals, but if has decimals, it will have 2, like: 123.45) For example, if the Number is 123 what I need to get is the subtraction to the next block: [CODE] The thing is that ...
android
0
2016-04-16T18:00:07.383Z
2,016
4
18
5
33
1
617
47
1
2
true
false
false
false
false
false
zero
36,667,730
TabLayout Indicator slides really slow on Tab selection
<p>I'm using <code>TabLayout</code> with two nested Fragments and I have noticed that when user clicks the other Tab, while the content changes immediately, the indicator move from the first Tab to the second takes literally 3-4 seconds.</p> <p>I have the same behavior in any device I have so far tried the app (not on...
I'm using TabLayout with two nested Fragments and I have noticed that when user clicks the other Tab, while the content changes immediately, the indicator move from the first Tab to the second takes literally 3-4 seconds. I have the same behavior in any device I have so far tried the app (not only genymotion). Nexus 4 ...
android|android-tablayout
5
2016-04-16T18:02:03.410Z
2,016
4
18
5
1,556
2
430
55
2
2
true
false
false
false
false
false
low
36,667,787
Android Socket Programming: AsyncTask for sending real-time data
<p>I'm doing socket programming. Whenever a user touches the screen, the touch position is sent to my server. But at times, there is a delay of up to 5 seconds in sending this data from my client android app to my server .My question is that is there any possibility that because a larger number of AsyncTasks are being ...
I'm doing socket programming. Whenever a user touches the screen, the touch position is sent to my server. But at times, there is a delay of up to 5 seconds in sending this data from my client android app to my server .My question is that is there any possibility that because a larger number of AsyncTasks are being exe...
android|sockets|android-asynctask
0
2016-04-16T18:07:15.717Z
2,016
4
18
5
739
1
812
64
3
1
true
false
false
false
false
false
zero
36,667,905
How to refresh my listview after deleting an item from database
<p>I'm new to android and I got a problem with refreshing my listview after deleting items from it. I've tried everything and cant get it to work so I'm asking for help. I know that I gotta use notifyDataSetChanged on my adapter but I just have no clue where to put it. Thanks in advance guys. Whole project uploaded on ...
I'm new to android and I got a problem with refreshing my listview after deleting items from it. I've tried everything and cant get it to work so I'm asking for help. I know that I gotta use notifyDataSetChanged on my adapter but I just have no clue where to put it. Thanks in advance guys. Whole project uploaded on zip...
android|listview
1
2016-04-16T18:15:59.137Z
2,016
4
18
5
2,484
3
422
63
2
2
true
false
false
false
false
false
low
36,667,944
How to set fullscreen option with android videoview?
<p>I have videos I am implementing in my app and I need to know if it is possible to set a feature on the videoview to allow a fullscreen option like there is on youtube videos.</p> <p>Below is my code to put the video on the videoview and I currently have a mediacontroller on it so I can start, pause and go back and ...
I have videos I am implementing in my app and I need to know if it is possible to set a feature on the videoview to allow a fullscreen option like there is on youtube videos. Below is my code to put the video on the videoview and I currently have a mediacontroller on it so I can start, pause and go back and forward in ...
android|video
0
2016-04-16T18:19:34.367Z
2,016
4
18
5
403
0
495
52
2
1
true
true
false
false
false
false
zero
36,667,953
405 Method Not Allow When Emulator Connect To Web API
<p>I'm trying to use emulator to connect to the .net Web API </p> <p>But the emulator always response 405 Method Not Allow</p> <p>Here is my android code on eclipse</p> <pre><code>String url1 = "http://192.168.1.106:8085/api/user"; con = (HttpURLConnection) ( new URL(url1).openConnection()); ...
I'm trying to use emulator to connect to the .net Web API But the emulator always response 405 Method Not Allow Here is my android code on eclipse [CODE] here is the url run on browser http://192.168.1.106:8085/api/user [CODE] here is my api controller on visual studio 2013 [CODE] I have tried to view all the similar q...
android|asp.net-web-api
2
2016-04-16T18:20:01.980Z
2,016
4
18
5
201
1
417
53
2
3
true
false
false
false
false
false
low
36,668,036
NullPointerException when trying to instanciate a Messenger in onServiceConnected()
<p>I have a problem when trying to start a messenger between my activity and a service. On my activity, I have this:</p> <pre><code>Messenger bluetoothServiceMessenger; private ServiceConnection bluetoothServiceConnection = new ServiceConnection() { @Override public void onServiceConnected(ComponentNam...
I have a problem when trying to start a messenger between my activity and a service. On my activity, I have this: [CODE] As you can see, i'm trying to create the messenger using the IBinder. On my service, the method onBind() is this one: [CODE] So, the problem is I'm getting the following NullPointerException on the o...
android|wear-os
0
2016-04-16T18:27:42.413Z
2,016
4
18
5
30
0
560
83
2
3
true
true
false
false
false
false
zero
36,668,063
Android styling indeterminate progress bar
<p>I'm trying to get this horizontal indeterminate progress bar (bottom) looking like the other (top, determinate) progress bars in my app:</p> <p><img src="https://i.imgur.com/rSsPdCA.png" /></p> <p>I'm using the same style parent for each, but it shows a different progress background, and thickness.</p> <p>My dete...
I'm trying to get this horizontal indeterminate progress bar (bottom) looking like the other (top, determinate) progress bars in my app: I'm using the same style parent for each, but it shows a different progress background, and thickness. My determinate progress bars are defined as: [CODE] And my indeterminate horizon...
android|android-styles|android-progressbar
0
2016-04-16T18:30:38.087Z
2,016
4
18
5
570
0
511
42
3
3
true
true
false
false
false
false
zero
36,668,066
Android XML Resource Values Error
<p>I am getting an error after modifying some of my xml resource files and I'm not quite sure how to fix it.</p> <p>I was modifying my "main_activity.xml" layout file and went in to alter some text. Not wanting to hard code the values, I went in to create a "text style" by selecting my text, clicking "style" in the pr...
I am getting an error after modifying some of my xml resource files and I'm not quite sure how to fix it. I was modifying my "main_activity.xml" layout file and went in to alter some text. Not wanting to hard code the values, I went in to create a "text style" by selecting my text, clicking "style" in the properties me...
android|xml|android-resources
2
2016-04-16T18:30:52.057Z
2,016
4
18
5
1,898
2
1,287
33
3
1
true
false
false
false
false
false
low
36,668,101
Button isn't displayed in RelativeLayout below GridView
<p>I have the next problem: when a gridview content doesn't fit into device display and scrolling begins then a button below the gridview is not shown.</p> <p>Here is my code:</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" and...
I have the next problem: when a gridview content doesn't fit into device display and scrolling begins then a button below the gridview is not shown. Here is my code: [CODE] Would be very thankful for your help !
android|android-layout
0
2016-04-16T18:33:51.547Z
2,016
4
18
5
90
3
211
55
2
1
true
false
false
false
false
false
zero
36,668,147
Disable mobile longpress context menu on specific elements
<p>I have an image gallery with various controls. One of the controls is a basic delete function, to delete you click and hold for approx 1 second to get a confirmation asking if you want to delete. All works fine, it's just that on mobile devices it often causes the "Save Image As, etc" menu to pop up which has to be ...
I have an image gallery with various controls. One of the controls is a basic delete function, to delete you click and hold for approx 1 second to get a confirmation asking if you want to delete. All works fine, it's just that on mobile devices it often causes the "Save Image As, etc" menu to pop up which has to be clo...
javascript|android|jquery|html|css
5
2016-04-16T18:38:22.153Z
2,016
4
18
5
3,915
1
854
58
5
2
true
false
true
false
false
false
low
36,668,209
Clear TextView from within TextWatcher method
<p>I have a "current password" EditText and an error TextView which displays an error message. I want to clear the error message when the EditText contents change, usually when the user types in another letter or erases something.</p> <p>The error TextView is not being cleared even though the system prints the messag...
I have a "current password" EditText and an error TextView which displays an error message. I want to clear the error message when the EditText contents change, usually when the user types in another letter or erases something. The error TextView is not being cleared even though the system prints the messages. The Text...
java|android|events|android-edittext
0
2016-04-16T18:43:55.490Z
2,016
4
18
5
411
1
544
45
4
1
true
false
false
false
false
false
zero
36,668,260
Simpler way to remove a large amount of characters from a string?
<p>i want to remove a set of characters from a string in the most efficient way possible. </p> <p>Right now i just copy and paste the one code line but there has to be a more efficient way!</p> <p>My code:</p> <pre><code>ProductName = ProductName.replace("!", ""); ProductName = ProductName.replace("#", ""); ProductN...
i want to remove a set of characters from a string in the most efficient way possible. Right now i just copy and paste the one code line but there has to be a more efficient way! My code: [CODE]
java|android|string
1
2016-04-16T18:48:08.243Z
2,016
4
18
5
46
3
194
65
3
1
true
false
false
false
false
false
low
36,668,264
How to generate AlertDialog recursively after every 1 minute in the given code?
<p>Here is the code which starts flashlight but after every 1 minute it should ask "whether to continue or not if user press ok then again after 1 minute it should display ALertDialog till the user press cancel in Alert Dialog. In this code it is displaying only 1 time alertdialog after 1 minute but how to generate it...
Here is the code which starts flashlight but after every 1 minute it should ask "whether to continue or not if user press ok then again after 1 minute it should display ALertDialog till the user press cancel in Alert Dialog. In this code it is displaying only 1 time alertdialog after 1 minute but how to generate it rec...
android
1
2016-04-16T18:48:19.983Z
2,016
4
18
5
190
0
352
79
1
1
true
true
false
false
false
false
low
36,668,279
Does Android abstract the device architecture?
<p>I'm new to android programming, I was reading the answers on this question <a href="https://stackoverflow.com/questions/13773686/why-shouldnt-an-android-app-be-written-in-c-c-because-you-simply-prefer-to-p">Why shouldn&#39;t an Android app be written in C/C++ because you &quot;simply prefer to program in C/C++&quot;...
I'm new to android programming, I was reading the answers on this question Why shouldn&#39;t an Android app be written in C/C++ because you &quot;simply prefer to program in C/C++&quot;? in the first answer by Devunwired. he mentioned that "your native code must be built into .so files (one for armv5, armv7 and x86) al...
android|c++|c|operating-system|cpu-architecture
3
2016-04-16T18:49:37.307Z
2,016
4
18
5
110
1
1,002
46
5
0
false
false
false
false
false
false
low
36,668,589
Specifying what data to scrape - Jsoup + Android Studio
<p>I am using JSoup to scrape data and display in on my phone using android studio. I have code that will scrape all the <code>&lt;td&gt;</code> tags however i am not trying to scrape them all, just certain ones in a certain order. </p> <pre><code> &lt;/tr&gt; &lt;/table&gt; &lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td&g...
I am using JSoup to scrape data and display in on my phone using android studio. I have code that will scrape all the <td> tags however i am not trying to scrape them all, just certain ones in a certain order. [CODE] Also when it displays on my phone the <td> is being displayed and I don't want them to. I don't want to...
java|android|html|android-studio|jsoup
1
2016-04-16T19:17:49.860Z
2,016
4
19
5
123
1
598
55
5
4
true
false
false
false
false
false
low