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
28,716,903
Android ViewPager with Fragments
<p>I have an App using ViewPager which has 3 tabs. I need each tab to contain a navigation stack of fragments e.g. I have a list on the first fragment which will then display a detail fragment based on clicking an item. What is the best way to design this? At the moment, I have one MainActivity which replaces the Fr...
I have an App using ViewPager which has 3 tabs. I need each tab to contain a navigation stack of fragments e.g. I have a list on the first fragment which will then display a detail fragment based on clicking an item. What is the best way to design this? At the moment, I have one MainActivity which replaces the Fragment...
android|android-fragments|android-viewpager
0
2015-02-25T10:43:47.723Z
2,015
2
10
2
58
1
485
32
3
0
false
false
false
false
false
false
zero
28,716,914
Stop a location listener activity when the user presses the back button, or when a new intent is made
<p>This app will beep whenever the user's location changes. The problem is, the app will continue monitoring the user's location even after they have left the app and it is in the background.</p> <p>How do I stop the location listener, once the app goes into the background?</p> <p>I think I have to add something to t...
This app will beep whenever the user's location changes. The problem is, the app will continue monitoring the user's location even after they have left the app and it is in the background. How do I stop the location listener, once the app goes into the background? I think I have to add something to the OnPause(), but I...
android|location|listener|lifecycle|onpause
0
2015-02-25T10:44:28.543Z
2,015
2
10
2
2,284
2
347
101
5
1
true
false
false
false
false
false
zero
28,716,949
Error NullPointerException trying to invoke a method passed
<p>Main Activity there is:</p> <pre><code>public class Demo { public void main() { Class[] paramTypes = new Class[1]; parameterTypes[0] = Integer.Type;// tried also int.class; Method method1 = Demo.class.getMethod("method1", parameterTypes); OtherClass.askValue(this, new Demo(), m...
Main Activity there is: [CODE] In other Class in other java file: [CODE] When i confirm to the dialog (press positive button), it should invoke the method "method1", but instead it enter in the exception. The getCause() of that exception is "NullPointerException". In the android manual there is written it is caused whe...
java|android|reflection|nullpointerexception
0
2015-02-25T10:45:59.417Z
2,015
2
10
2
149
1
580
59
4
4
true
false
false
false
false
false
zero
28,717,006
android go back to previous view
<p>I am working on a android application and i want to exit the application on back press when it comes to state where no view is available to go back. Until then it should go to the previous view on back press. How can i do this.</p> <p>What i need</p> <ul> <li>Go back to previous view on back press.</li> <li>If you...
I am working on a android application and i want to exit the application on back press when it comes to state where no view is available to go back. Until then it should go to the previous view on back press. How can i do this. What i need Go back to previous view on back press. If you cant go back anymore show a toast...
android|back-button
0
2015-02-25T10:48:37.133Z
2,015
2
10
2
874
4
368
32
2
1
true
false
false
false
false
false
zero
28,717,017
Using SQLite cursor to output table contents in listview in a fragment
<p>I have <code>MyDBHandler</code> with a <code>getAllDetails</code> method that queries the database using a cursor and returns a list. </p> <p>What I don't know what to do now is how to output this list in a <code>listview</code> in another fragment. I was told to create two XML layouts and a custom adapter but I do...
I have MyDBHandler with a getAllDetails method that queries the database using a cursor and returns a list. What I don't know what to do now is how to output this list in a listview in another fragment. I was told to create two XML layouts and a custom adapter but I don't know how to this exactly! MyDBHandler class [CO...
android|android-cursor
1
2015-02-25T10:48:50.757Z
2,015
2
10
2
1,407
3
323
70
2
1
true
false
false
false
false
false
low
28,717,020
Android intent filter for a URL that ends with the given String
<p>I am trying to open the app for links that look like this - </p> <p><a href="http://www.somesite.com/abcd.html?defg&amp;opener=mail" rel="nofollow">http://www.somesite.com/abcd.html?defg&amp;opener=mail</a></p> <p>I have tried (does not work):</p> <pre><code>&lt;intent-filter&gt; &lt;action androi...
I am trying to open the app for links that look like this - http://www.somesite.com/abcd.html?defg&opener=mail I have tried (does not work): [CODE] And for testing purpose it works without pathPattern added for any site that contains that host, but i need it to work only for this exactly site with "opener=mail" ending.
android|android-manifest|intentfilter|deep-linking
0
2015-02-25T10:48:55.697Z
2,015
2
10
2
1,293
1
320
63
4
1
true
false
false
false
false
false
zero
28,717,022
CPP undefined reference to function in same file
<p>While compiling a CPP project into an .so library it generates the following errors :</p> <pre><code> ... jni/core/src/sqlite3/sqlite3c++.h:26: error: undefined reference to 'sqlite3cpp::database::mp_checkSqliteError(int, std::string)' jni/core/src/sqlite3/sqlite3c++.h:51: error: undefined reference to 'sqlite3...
While compiling a CPP project into an .so library it generates the following errors : [CODE] Where those files are : part of sqlite3c++.h : [CODE] part of sqlite3c++.cpp : [CODE] It's building with cygwin via nkd-build.cmd for android with this Android.mk : [CODE] It's probably just something I missed or got wrong conf...
android|c++|sqlite
0
2015-02-25T10:48:58.407Z
2,015
2
10
2
182
0
382
48
3
4
true
true
false
false
false
false
zero
28,717,164
Android Navigation Drawer is overwriting my main layout
<p>I recently added a Navigation Drawer to my Android layout. The Drawer itself is working fine, however the old layout is not displaying at all (the elements are there, but not visable). </p> <p>I have tried to play around with the positioning of the elements, but nothing seems to work.</p> <p>This is my Layout: ...
I recently added a Navigation Drawer to my Android layout. The Drawer itself is working fine, however the old layout is not displaying at all (the elements are there, but not visable). I have tried to play around with the positioning of the elements, but nothing seems to work. This is my Layout: [CODE] This is the navi...
android|android-layout|android-fragments
0
2015-02-25T10:56:31.197Z
2,015
2
10
2
258
2
415
55
3
3
true
false
false
false
false
false
zero
28,717,317
Getting GPS in service in android
<p>My problem is not new, but none of answers in Stackoverflow was helpful for me.</p> <p>Situation: I have a service which works with an Alarm. it repeats every 1 minutes and run a service for me. in that service I need to send GPS data to a web server.</p> <p>the codes are as below:</p> <pre><code>import android.a...
My problem is not new, but none of answers in Stackoverflow was helpful for me. Situation: I have a service which works with an Alarm. it repeats every 1 minutes and run a service for me. in that service I need to send GPS data to a web server. the codes are as below: [CODE] [CODE] Problem: When the codes go to get GPS...
android|gps|android-service|android-handler
1
2015-02-25T11:03:12.863Z
2,015
2
11
2
581
1
466
33
4
4
true
false
false
false
false
false
low
28,717,354
Use syncAdapter for real time data ( small scale of data)
<p>in order to transfer data i want to use syncAdapter. i read this article : <a href="http://developer.android.com/training/sync-adapters/index.html" rel="nofollow">http://developer.android.com/training/sync-adapters/index.html</a>.</p> <p>it's been written that " <em>Sync adapters run asynchronously, so you should ...
in order to transfer data i want to use syncAdapter. i read this article : http://developer.android.com/training/sync-adapters/index.html . it's been written that " Sync adapters run asynchronously, so you should use them with the expectation that they transfer data regularly and efficiently, but not instantaneously . ...
real-time|android-syncadapter
0
2015-02-25T11:04:34.657Z
2,015
2
11
2
269
1
607
57
2
0
false
false
false
false
false
false
zero
28,717,417
Having an issue with Radiogroup in Android
<p>I'm facing a trouble with a RadioGroup in Android, I tested everything, but it doesn't seem to work.</p> <p>Here is my code :</p> <p><div class="snippet" data-lang="js" data-hide="false"> <div class="snippet-code"> <pre class="snippet-code-js lang-js prettyprint-override"><code>protected void onCreate(Bundle saved...
I'm facing a trouble with a RadioGroup in Android, I tested everything, but it doesn't seem to work. Here is my code : [CODE] [CODE] My code has a lot of things, the problem I'm facing is only with the RadioGroup, I'm having an error launching the activity, the problem is with the line : rg.setOnCheckedChangeListener(n...
android|radio-group
1
2015-02-25T11:07:44.317Z
2,015
2
11
2
79
1
488
42
2
2
true
false
false
false
false
false
low
28,717,467
Get name of item which is checked from CustomListView and Pass that item in next Intent
<p><br> I have created one app<br>In my app I created custom <code>ListView</code> , In list view I add one <code>CheckBox</code>, <code>ImageView</code> and 2 <code>TextView</code> .<br>Now I want to pass data in next activity which is checked.<br> How can I do that?<br> ChannelListView.java</p> <pre><code>public cla...
I have created one app In my app I created custom ListView , In list view I add one CheckBox , ImageView and 2 TextView . Now I want to pass data in next activity which is checked. How can I do that? ChannelListView.java [CODE] ListViewAdapter.java [CODE] DisplayChannelListData.java [CODE]
android|android-listview
1
2015-02-25T11:10:05.800Z
2,015
2
11
2
406
1
290
87
2
3
true
false
false
false
false
false
low
28,717,471
HDP android implementation
<p>I`m trying to link my Android phone(xperia sp) with installed HDP app(sink) to laptop with Ubuntu 14 and Antidote(sample_bt_agent).</p> <p>HDP application: <a href="https://android.googlesource.com/platform/development/+/512ea9b6f8cc75ec74a7ab8d1c38dec201667f1e/samples/BluetoothHDP" rel="nofollow">https://android.g...
I`m trying to link my Android phone(xperia sp) with installed HDP app(sink) to laptop with Ubuntu 14 and Antidote(sample_bt_agent). HDP application: https://android.googlesource.com/platform/development/+/512ea9b6f8cc75ec74a7ab8d1c38dec201667f1e/samples/BluetoothHDP Antidote: http://oss.signove.com/index.php/Antidote:_...
android|bluetooth|android-bluetooth|bluez
0
2015-02-25T11:10:14.227Z
2,015
2
11
2
541
1
606
26
4
0
false
false
false
false
false
false
zero
28,717,482
Android - ACTION_SEND chooser only sms messages
<p>there are few questions about this issue but none of them seems to help me, I have a dialog with a "Share in SMS" button. when I press it, I want to show the sms apps that can send it. it's working, but I get waaaaay more apps then I want. I want to only show the apps that are suppose to send sms, but it shows EVERY...
there are few questions about this issue but none of them seems to help me, I have a dialog with a "Share in SMS" button. when I press it, I want to show the sms apps that can send it. it's working, but I get waaaaay more apps then I want. I want to only show the apps that are suppose to send sms, but it shows EVERYTHI...
android|android-intent
0
2015-02-25T11:10:35.087Z
2,015
2
11
2
3,131
4
636
47
2
1
true
false
true
false
false
false
zero
28,717,594
json not receiving from server after encoding the URL in Android
<p>I am in real trouble. I spent 8 hours on it, but failed. I want to receive json from server using email as a criteria. Here is working part of code in java script: <a href="http://jsfiddle.net/7ydnw3ty/1/" rel="nofollow">http://jsfiddle.net/7ydnw3ty/1/</a> When i try to convert it in android, i get empty result. Pl...
I am in real trouble. I spent 8 hours on it, but failed. I want to receive json from server using email as a criteria. Here is working part of code in java script: http://jsfiddle.net/7ydnw3ty/1/ When i try to convert it in android, i get empty result. Please let me know, where is the issue. Please, Please, get me out ...
java|javascript|android|json
0
2015-02-25T11:16:01.943Z
2,015
2
11
2
61
1
415
64
4
2
true
false
false
false
false
false
zero
28,717,624
How to open a new activity on click of items in Navigation Drawer
<p>I am a newbie in android development and as expected finding some difficulties with navigation drawer, I want to open a new activity by clicking the items that appear in left pane of navigation drawer.</p> <p>i.e if the click the items appear in navigation drawer it should open a new activity.</p> <p>I have tried ...
I am a newbie in android development and as expected finding some difficulties with navigation drawer, I want to open a new activity by clicking the items that appear in left pane of navigation drawer. i.e if the click the items appear in navigation drawer it should open a new activity. I have tried the following but h...
android|android-fragments|navigation-drawer
-2
2015-02-25T11:17:20.540Z
2,015
2
11
2
4,918
1
437
65
3
1
true
false
true
false
false
true
negative
28,717,642
NullPointerException in android
<p>Here i am try to open photo from folder which i saved in before activity of this program's but here i still face the Exception.</p> <pre><code>ImageView img = null; Bitmap bmp = null; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.phot...
Here i am try to open photo from folder which i saved in before activity of this program's but here i still face the Exception. [CODE] Exception : '02-25 17:07:07.543: E/BitmapFactory(24805): Unable to decode stream: java.io.FileNotFoundException: /sdcard/GWonderPhoto/1424905623242.jpg: open failed: ENOENT (No such fil...
java|android
1
2015-02-25T11:18:03.747Z
2,015
2
11
2
77
2
336
31
2
1
true
false
false
false
false
false
low
28,717,676
Multiple Variables / files from resource Android
<p>I have 5 files (test1,test2,test3,test4,test5) in Android resources. All resources should be assign to variable <strong>parser</strong>. How it should be done properly?</p> <p>public class MainActivity extends Activity {</p> <pre><code>@Override public void onCreate(Bundle savedInstanceState) { super.onCreate(...
I have 5 files (test1,test2,test3,test4,test5) in Android resources. All resources should be assign to variable parser . How it should be done properly? public class MainActivity extends Activity { [CODE]
android|variables|android-resources|xmlpullparser|android-xmlpullparser
0
2015-02-25T11:19:45.897Z
2,015
2
11
2
33
0
204
48
5
1
true
true
false
false
false
false
zero
28,717,692
Tool tip for Stacked Bar Chart using MarkerView & Issues in Legends
<p>I want to Display a Stacked Bar Chart in my Android Application with tooltip functionality. I used the MarkerView to display it but no Success. Here is the sample code.</p> <p>Also I am facing issues in Legends..! As text wrapping is not supported by the Library the legends are not showing. And the values at Y-axis...
I want to Display a Stacked Bar Chart in my Android Application with tooltip functionality. I used the MarkerView to display it but no Success. Here is the sample code. Also I am facing issues in Legends..! As text wrapping is not supported by the Library the legends are not showing. And the values at Y-axis are showin...
android|mpandroidchart
0
2015-02-25T11:20:40.973Z
2,015
2
11
2
1,395
1
533
67
2
1
true
false
false
false
false
false
zero
28,717,739
Exception in thread "pool-1-thread-1" java.lang.NoClassDefFoundError: org/eclipse/aether/spi/connector/Transfer$State
<p>Hii everyone I am trying to generate automated Maven build script for android project i'm using Maven 3.2.5 for generating build and i'm getting following issues while trying to generate script for sample helloworld project</p> <pre><code> Exception in thread "pool-1-thread-1"java.lang.NoClassDefFoundError:org/ec...
Hii everyone I am trying to generate automated Maven build script for android project i'm using Maven 3.2.5 for generating build and i'm getting following issues while trying to generate script for sample helloworld project [CODE] i'm using following script for building [CODE] tried changing and searched in google didn...
android|maven|pom.xml|building
6
2015-02-25T11:22:55.730Z
2,015
2
11
2
5,602
2
351
117
4
2
true
false
true
false
false
false
medium
28,717,750
Notification Manager on background process
<p>I am creating an Android app which is just a WebView for wrapping a news website. In this app I also want a process that parses an RSS feed every eg. 5 minutes. If there is a new post in that RSS then raise notification.</p> <p>The question is, when the app is not running can the notification still be raised? If it...
I am creating an Android app which is just a WebView for wrapping a news website. In this app I also want a process that parses an RSS feed every eg. 5 minutes. If there is a new post in that RSS then raise notification. The question is, when the app is not running can the notification still be raised? If it's possible...
android|notifications|rss
1
2015-02-25T11:23:09.967Z
2,015
2
11
2
1,758
1
344
42
3
0
false
false
false
false
false
false
low
28,717,753
Sniffing Android App Data
<p>I've setup fiddler to sniff the data going from my Android emulator. However, it's only picking up browser requests. How do I go about picking up the data calls apps make via the device? I know they use web services, such as WhatsApp, but it won't pick anything up. Do I use something else other than fiddler?</p>
I've setup fiddler to sniff the data going from my Android emulator. However, it's only picking up browser requests. How do I go about picking up the data calls apps make via the device? I know they use web services, such as WhatsApp, but it won't pick anything up. Do I use something else other than fiddler?
android|security|fiddler|packet-sniffers
0
2015-02-25T11:23:13.400Z
2,015
2
11
2
939
1
309
25
4
0
false
false
false
false
false
false
zero
28,717,761
Android: Compare two values doesn't work
<p>at the moment i have a wierd problem... i can't make out where i did a mistake.</p> <p>I have two pairs of values of the same type and i want to know if these are equal. When i print the values in my Log the values are equal but my if statement doesn't work :/</p> <p>The values are from type double, but i reduced ...
at the moment i have a wierd problem... i can't make out where i did a mistake. I have two pairs of values of the same type and i want to know if these are equal. When i print the values in my Log the values are equal but my if statement doesn't work :/ The values are from type double, but i reduced the decimal to two ...
android|if-statement|compare|rounding|decimalformat
0
2015-02-25T11:23:50.817Z
2,015
2
11
2
1,075
3
433
40
5
2
true
false
false
false
false
false
zero
28,717,812
How do I calculate the average by using the get method for class objects?
<p>I want to get the average years of service for the employees. When I typed the code below and run the app, it crashes. I don't know what to do, so I just commented out for now. Also to note, I want the average to be in two decimal places using the String format method only. Here is what the code that causes the cras...
I want to get the average years of service for the employees. When I typed the code below and run the app, it crashes. I don't know what to do, so I just commented out for now. Also to note, I want the average to be in two decimal places using the String format method only. Here is what the code that causes the crash l...
java|android|eclipse
-1
2015-02-25T11:26:21.450Z
2,015
2
11
2
63
1
336
73
3
1
true
false
false
false
false
true
negative
28,717,831
setColorFilter() broken on Android 4, working on Android 5
<p>I am trying to flash different colours onto the screen at regular intervals (a few times per second).</p> <p>To change the colours, I use <code>Drawable.setColorFilter(int color, Mode mode)</code> on the background of my main view: </p> <ul> <li><code>myView.getBackground().setColorFilter(Color.RED, PorterDuff.Mod...
I am trying to flash different colours onto the screen at regular intervals (a few times per second). To change the colours, I use Drawable.setColorFilter(int color, Mode mode) on the background of my main view: myView.getBackground().setColorFilter(Color.RED, PorterDuff.Mode.SRC); For debugging purposes, I added anoth...
android|android-5.0-lollipop|android-4.0-ice-cream-sandwich
13
2015-02-25T11:27:02.763Z
2,015
2
11
2
5,241
7
1,002
58
3
1
true
false
true
false
true
false
medium
28,717,843
Android SQLite transactions and multi threads
<p>In my application, I call some webservices to update a database. Each webservice call is made in a specific thread, resulting in multiple threads updating the database object "at a time".</p> <p>In each thread, I use transactions like that :</p> <pre><code>Thread 1 (webservice 1) beginTransaction() insert a row in...
In my application, I call some webservices to update a database. Each webservice call is made in a specific thread, resulting in multiple threads updating the database object "at a time". In each thread, I use transactions like that : [CODE] But I struggle with one question I can't answer myself after googling it; As t...
android|multithreading|sqlite|transactions|android-sqlite
6
2015-02-25T11:27:52.200Z
2,015
2
11
2
2,497
1
862
45
5
2
true
false
false
false
false
false
medium
28,717,951
Animating camera on specific position
<p>As per <a href="https://developers.google.com/maps/documentation/android/views#moving_the_camera" rel="nofollow noreferrer">google developer's guide here</a>,to animate camera on specific position</p> <pre><code>CameraPosition cameraPosition = new CameraPosition.Builder() .target(MOUNTAIN_VIEW) // Sets the ...
As per google developer's guide here ,to animate camera on specific position [CODE] But, in api reference , CameraPosition has already a constructor defined as: [CODE] So, If I write as: [CODE] or [CODE] are they both same or different? Is there any need of using static nested class CameraPosition.Builder as per refere...
java|android|google-maps|design-patterns|builder
2
2015-02-25T11:32:56.737Z
2,015
2
11
2
1,267
2
877
37
5
4
true
false
false
false
false
false
low
28,717,959
Crittercism Android - Does not always post crash report to Server
<p>I have a android app in which Crittercism SDK is included and initialised as per standard documentation. </p> <p>I intentionally put a loophole in the flow by which I can make app crash by manipulating data on my server and then pushing it to device. </p> <p>Recently few users reported crash but I didnot see it on...
I have a android app in which Crittercism SDK is included and initialised as per standard documentation. I intentionally put a loophole in the flow by which I can make app crash by manipulating data on my server and then pushing it to device. Recently few users reported crash but I didnot see it on Crittercism website....
android|crittercism
5
2015-02-25T11:33:21.837Z
2,015
2
11
2
333
1
735
65
2
0
false
false
false
false
false
false
low
28,717,970
find area of polygon in google map v2 in android
<p>I have made an android app, showing google maps, and on that map i am drawing a polygon whose LatLng is stored in the arrayList.. I want to find the area of that polygon drawn on the google map, I have tried my best, but didn't succeeded, I am unable to use Spherical util, compute area function, as it gives error, p...
I have made an android app, showing google maps, and on that map i am drawing a polygon whose LatLng is stored in the arrayList.. I want to find the area of that polygon drawn on the google map, I have tried my best, but didn't succeeded, I am unable to use Spherical util, compute area function, as it gives error, plea...
android|maps
2
2015-02-25T11:33:46.633Z
2,015
2
11
2
1,631
3
475
48
2
1
true
false
false
false
false
false
low
28,717,975
Google Maps doesn't work if device is restarted
<p>Hey guys so my problem is a little weird. I'm doing an application that requires the map to work as the first activity. I'll give you the context:</p> <p>The application is started, the main activity shows a welcome screen with an image (nothing special) and then is reedirected to th maps activity. And that's where...
Hey guys so my problem is a little weird. I'm doing an application that requires the map to work as the first activity. I'll give you the context: The application is started, the main activity shows a welcome screen with an image (nothing special) and then is reedirected to th maps activity. And that's where all things...
java|android|google-maps
0
2015-02-25T11:34:12.533Z
2,015
2
11
2
98
1
1,239
47
3
2
true
false
false
false
false
false
zero
28,718,005
How to delete application folder on uninstalling the app
<p>When i install my app some folders are created in external storage .At the time of uninstalling the app i need to delete all these folders.</p> <p>I have tried Broadcast Receiver PACKAGE_REMOVED but it does not work</p>
When i install my app some folders are created in external storage .At the time of uninstalling the app i need to delete all these folders. I have tried Broadcast Receiver PACKAGE_REMOVED but it does not work
android
0
2015-02-25T11:35:42.210Z
2,015
2
11
2
932
1
208
56
1
0
false
false
false
false
false
false
zero
28,718,009
Android EditText dynamic height programmatically
<p>i got a little problem with my EditText. I want it to automatically increase its height. I found other people asking for it: <a href="https://stackoverflow.com/questions/12537819/how-to-make-edittext-box-height-expand">like this one</a></p> <p>My problem is that im not using a XML-File. I just use my Java-Code:</p>...
i got a little problem with my EditText. I want it to automatically increase its height. I found other people asking for it: like this one My problem is that im not using a XML-File. I just use my Java-Code: [CODE] Is there any way to get in automatically increasing height with just my java code? Thanks in advance!
java|android|android-edittext
1
2015-02-25T11:35:52.420Z
2,015
2
11
2
1,189
1
316
48
3
1
true
false
false
false
false
false
low
28,718,021
App crashes when a button is clicked
<p>I am trying to store the data entered by user to MySQL database using PHP in my android app. But whenever the button is clicked, i receive this message "Unfortunately, [app] has stopped working."</p> <pre><code>public class Register extends Activity implements View.OnClickListener { private EditText userName, u...
I am trying to store the data entered by user to MySQL database using PHP in my android app. But whenever the button is clicked, i receive this message "Unfortunately, [app] has stopped working." [CODE] And here is my JSONParser code. [CODE] And here is the logcat [CODE] After Log.i("DATA",json) is added [CODE]
java|android|mysql|android-asynctask
-1
2015-02-25T11:36:23.193Z
2,015
2
11
2
1,947
2
312
36
4
4
true
false
false
false
false
true
negative
28,718,069
Set width of parent linear layout as percentage of the screen
<p>I am building an android application and I have a dialog fragment. The dialog fragment has a set width. However, the issue is that when the app is run on a device with a different screen size, the dialog fragment isn't centered properly.</p> <p>Initially, what I had was:</p> <pre><code>&lt;?xml version=&quot;1.0&quo...
I am building an android application and I have a dialog fragment. The dialog fragment has a set width. However, the issue is that when the app is run on a device with a different screen size, the dialog fragment isn't centered properly. Initially, what I had was: [CODE] As you can see, I have a relativeLayout with a d...
android|android-layout|android-dialogfragment|android-percent-library
2
2015-02-25T11:38:50.997Z
2,015
2
11
2
8,590
3
774
61
4
2
true
false
true
false
false
false
low
28,718,091
Recyclerview not calling onCreate or onBind or the constructor
<p>RecyclerView is not calling onCreate or onBind or the constructor. No breakpoint hit or logs. What could be the reason? what could be the reason? Anybody how to fix this? here is my code. Adapter :</p> <pre><code>public class MainContentRecyclerAdapter extends RecyclerView.Adapter&lt;MainContentRecyclerAdapter.Main...
RecyclerView is not calling onCreate or onBind or the constructor. No breakpoint hit or logs. What could be the reason? what could be the reason? Anybody how to fix this? here is my code. Adapter : [CODE] Here is my layout [CODE] Activity onCreate [CODE]
android|android-recyclerview
1
2015-02-25T11:39:45.213Z
2,015
2
11
2
2,046
1
254
62
2
3
true
false
false
false
false
false
low
28,718,118
Error in getting session id from magento web service using ksoap2
<pre><code>private static final String NAMESPACE = "urn:Magento"; private static final String URL = "http://example.com/api/v2_soap"; private static final String METHOD="login"; private static final String ACTION="urn:Magento/login"; String sessionId,error; try { SoapObject request = new SoapObject(NAME...
[CODE] this is the code i am using. I am getting SocketTimeoutException. I have tried all other answers which are given in stack overflow for this SocketTimeoutException related questions but still getting same error. Can anyone help me please?
android|magento|android-ksoap2
1
2015-02-25T11:41:06.433Z
2,015
2
11
2
236
1
244
65
3
1
true
false
false
false
false
false
low
28,718,124
Javascript function getBoundingClientRect() returns weird results (top = 0) on mobile devices, when keyboard appears
<p>We encountered a problem, when positioning the DIV using JavaScript getBoundingClientRect() function. </p> <p>While everywhere it returns fine answers, it will stop giving reliable results on mobile devices (android as well as iPhone). As the keyboard appears, the window.resize event is triggered, but getBoundingCl...
We encountered a problem, when positioning the DIV using JavaScript getBoundingClientRect() function. While everywhere it returns fine answers, it will stop giving reliable results on mobile devices (android as well as iPhone). As the keyboard appears, the window.resize event is triggered, but getBoundingClientRect() f...
javascript|android|ios
0
2015-02-25T11:41:18.907Z
2,015
2
11
2
537
1
466
116
3
0
false
false
false
false
false
false
zero
28,718,144
Model parsed with Retrofit
<p>I have this JSON Response that I want to parse with Model Retrofit</p> <pre><code>[{"category":{"id":31,"name":"App's."}}, {"category":{"id":32,"name":"Reinvention"}}] </code></pre> <p>With <a href="http://www.jsonschema2pojo.org/" rel="nofollow">http://www.jsonschema2pojo.org/</a> I get these models:</p> <pre><...
I have this JSON Response that I want to parse with Model Retrofit [CODE] With http://www.jsonschema2pojo.org/ I get these models: [CODE] And this is my Interface: [CODE] But the next call not works: [CODE] Does anyone know how to parsed with Model Retrofit?
android|json|model|response|retrofit
0
2015-02-25T11:42:38.133Z
2,015
2
11
2
1,022
1
258
26
5
4
true
false
false
false
false
false
zero
28,718,156
Android Virtual Device on Macbook Pro with Retina Display
<p>I'm programming on Android Studio with a MBP with retina display. But when I launch the avd(I try with nexus 5 and 7 avds) it looks grainy(very poor quality). The OS is 10.10.2 and the Android Studio version is 1.0.2.</p>
I'm programming on Android Studio with a MBP with retina display. But when I launch the avd(I try with nexus 5 and 7 avds) it looks grainy(very poor quality). The OS is 10.10.2 and the Android Studio version is 1.0.2.
android|avd|retina-display
2
2015-02-25T11:43:02.103Z
2,015
2
11
2
370
0
217
57
3
0
false
true
false
false
false
false
low
28,718,245
Highlight selection in listview using CursorAdapter upon ImageView click
<p>I have a custom listview item like this:</p> <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="wrap_content" android:state_activated="true" android:descendantFocusability="blocksDescendants" android:orientation="horizonta...
I have a custom listview item like this: [CODE] Then I am setting Mulitple choice selection: [CODE] In the bindItemViewHolder method of my CursorAdapter I set the Listener for the ImageView: [CODE] Once the ImageView is clicked, the whole list item should highlight, whereas once the item iteself is clicked, some other ...
android|android-listview
0
2015-02-25T11:47:15.430Z
2,015
2
11
2
643
2
654
72
2
3
true
false
false
false
false
false
zero
28,718,293
How to view incremented Date
<p>I have created a SMS Scheduler which can send Message on Custom Days For Eg. If I set date to 25/02/2015(Wednesday) and select Saturday to send the message it will send directly on 28/02/2015(Saturday) but problem is when I am using</p> <pre><code> c.set(Calendar.HOUR_OF_DAY, mHour); c.set(Calendar.MINUT...
I have created a SMS Scheduler which can send Message on Custom Days For Eg. If I set date to 25/02/2015(Wednesday) and select Saturday to send the message it will send directly on 28/02/2015(Saturday) but problem is when I am using [CODE] Logic for CustomDays is simple I just put 0 or 1 when I want to send then find t...
android|date|calendar
0
2015-02-25T11:49:24.370Z
2,015
2
11
2
22
0
621
28
3
1
true
true
false
false
false
false
zero
28,718,300
Denying usage of applications in android
<p>I am developing an <strong>administrative application</strong> that has functions like denying usage of camera, locking the user device or setting passwords. Is it possible to also restrict the usage of certain applications like facebook or youtube or dropbox? What are the permissions required? Can anyone help?</p>
I am developing an administrative application that has functions like denying usage of camera, locking the user device or setting passwords. Is it possible to also restrict the usage of certain applications like facebook or youtube or dropbox? What are the permissions required? Can anyone help?
android|administrator|developer-tools
0
2015-02-25T11:49:48.213Z
2,015
2
11
2
32
0
295
40
3
0
false
true
false
false
false
false
zero
28,718,377
My for loop is not incrementing
<p>So I have an <code>Arraylist</code> containing <code>Strings</code> which are urls, I am then parsing these strings into an ImageLoader.. My problem is that the <code>int</code> in the loop doesn't seem to be incrementing, however I know the loop is looping because I get the same output the same number of times as t...
So I have an Arraylist containing Strings which are urls, I am then parsing these strings into an ImageLoader.. My problem is that the int in the loop doesn't seem to be incrementing, however I know the loop is looping because I get the same output the same number of times as the size of the Arraylist . Here is the cod...
java|android|arraylist
-1
2015-02-25T11:54:50.840Z
2,015
2
11
2
476
3
1,076
31
3
1
true
false
false
false
false
true
negative
28,718,385
Android: Listview with button Delete
<p>I'm trying to do a Listview which should have a button Delete per item. Each item has 3 textViews inside.</p> <p>The problem is that I'm getting an exception "<strong><em>java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.TextView.setText(java.lang.CharSequence)' on a null object ...
I'm trying to do a Listview which should have a button Delete per item. Each item has 3 textViews inside. The problem is that I'm getting an exception " java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.TextView.setText(java.lang.CharSequence)' on a null object reference " I know I'm...
android
0
2015-02-25T11:55:13.727Z
2,015
2
11
2
60
5
602
36
1
4
true
false
false
false
false
false
zero
28,718,434
Android Beam and SNEP to pn532
<p>we are trying to send a big file from an android phone to a mikroprocessor via nfc-p2p, android-beam and snep.</p> <p>This is what we have so far. I can connect the pn532(target) with the phone(initiator). My android app uses setNdefPushMessage to send a NdefMessage via nfc. As soon as i tap the phone(Beam-UI) it ...
we are trying to send a big file from an android phone to a mikroprocessor via nfc-p2p, android-beam and snep. This is what we have so far. I can connect the pn532(target) with the phone(initiator). My android app uses setNdefPushMessage to send a NdefMessage via nfc. As soon as i tap the phone(Beam-UI) it starts to co...
android|nfc|nfc-p2p|android-beam
1
2015-02-25T11:57:28.590Z
2,015
2
11
2
1,261
1
2,109
30
4
0
false
false
false
false
false
false
low
28,718,502
Debugger doesn't stop at breakpoint
<p>have an Android app in Eclipse. At some breakpoints my debugger stops, at some it doesn't. Where it doesn't I added log output messages, I do see these messages so code is executed. I did the usual things, like restart Eclipse, clean project, new workspace, wiped app from device. What I found on the net is that some...
have an Android app in Eclipse. At some breakpoints my debugger stops, at some it doesn't. Where it doesn't I added log output messages, I do see these messages so code is executed. I did the usual things, like restart Eclipse, clean project, new workspace, wiped app from device. What I found on the net is that some ot...
java|android|eclipse|debugging
0
2015-02-25T12:00:34.357Z
2,015
2
12
2
181
0
644
35
4
0
false
true
false
false
false
false
zero
28,718,518
Random number generator android
<p><strong>ActivityMain.java</strong></p> <pre><code>package com.abhinav.random; import android.app.Activity; import android.app.AlertDialog; import android.content.DialogInterface; import android.os.Bundle; import android.view.View; import android.widget.EditText; import android.widget.Toast; public class MainActiv...
ActivityMain.java [CODE] main_activity.xml [CODE] Whats wrong with the above code?
android|random
-1
2015-02-25T12:01:16.787Z
2,015
2
12
2
154
2
82
31
2
2
true
false
false
false
false
true
negative
28,718,536
How to clear All Activity from Stack in android
<p>I am try to finish activity.I have 5 activity in a Second activity i have list view and on clicking on item of list view 3rd activity is open without finishing activity. and the i come back and i click on button on 2nd activity and go to 5 activity an there is one button lo-gout. i click on that button and go to 1 ...
I am try to finish activity.I have 5 activity in a Second activity i have list view and on clicking on item of list view 3rd activity is open without finishing activity. and the i come back and i click on button on 2nd activity and go to 5 activity an there is one button lo-gout. i click on that button and go to 1 acti...
android
-3
2015-02-25T12:01:51.953Z
2,015
2
12
2
56
2
424
47
1
0
false
false
false
false
false
true
negative
28,718,650
Custom ListView doesn't display image in Second Activity when item clicked on
<p>I have put together a custom ListView, with images and text in a list. I have then created a second activity to display the image in a larger format, when clicked on in the list.</p> <p>Although I have put together all the correct-looking code (no errors etc), the Intent is not displaying the larger image (images a...
I have put together a custom ListView, with images and text in a list. I have then created a second activity to display the image in a larger format, when clicked on in the list. Although I have put together all the correct-looking code (no errors etc), the Intent is not displaying the larger image (images are all in t...
android|listview|android-intent
1
2015-02-25T12:06:45.197Z
2,015
2
12
2
939
5
794
77
3
6
true
false
false
false
false
false
low
28,718,714
How to access raw nv21 frame using native camera class in Android L?
<p>We are trying to create a native camera application which will process nv21 data for Android L. We are using Camera class from the path: /frameworks/av/include/camera/Camera.h in source code. We have registered startRecording function with CameraRecordingProxyListener.</p> <p>In ProxyListener::dataCallbackTimestamp...
We are trying to create a native camera application which will process nv21 data for Android L. We are using Camera class from the path: /frameworks/av/include/camera/Camera.h in source code. We have registered startRecording function with CameraRecordingProxyListener. In ProxyListener::dataCallbackTimestamp(nsecs_t ti...
android|android-camera
1
2015-02-25T12:10:15.747Z
2,015
2
12
2
196
0
868
68
2
0
false
true
false
false
false
false
low
28,718,735
Failed to find class JsonObject
<p>In an android project I have added as an external jar: gson-2.3.jar But I keep getting:</p> <blockquote> <p>java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/gson/JsonObject;</p> </blockquote> <p>I tried to debug it and I see the code goes to <code>protected final Class&lt;?&gt; findLoadedClass...
In an android project I have added as an external jar: gson-2.3.jar But I keep getting: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/gson/JsonObject; I tried to debug it and I see the code goes to protected final Class<?> findLoadedClass(String className) and the return VMClassLoader.findLoadedClas...
java|android|eclipse|class
0
2015-02-25T12:11:10.863Z
2,015
2
12
2
635
1
557
31
4
1
true
false
false
false
false
false
zero
28,718,738
Google maps gets GPS fix faster than LocationManager! WHY?
<p><strong>Setup</strong></p> <p>Mobile set to GPS only. Network NOT enabled.</p> <p>Implemented <code>LocationManager.requestLocationUpdates</code> to get a location fix. After long period of inactivity (like overnight) it takes the LocationManager more than 3 minutes to get a fix. Subsequent updates are reasonably ...
Setup Mobile set to GPS only. Network NOT enabled. Implemented LocationManager.requestLocationUpdates to get a location fix. After long period of inactivity (like overnight) it takes the LocationManager more than 3 minutes to get a fix. Subsequent updates are reasonably fast (like 5-10 seconds). If I instead open up Go...
android|google-maps|gps
2
2015-02-25T12:11:25.410Z
2,015
2
12
2
294
1
634
58
3
0
false
false
false
false
false
false
low
28,718,777
For Loop, ArrayList
<p>this might be a very very simple question, im new to java and i got an annoying problem, let me try to describe my problem.</p> <p>When a user selects my listview item, the for loop returns the title of that selected item. Now when the user selects another one, while having the last selected item still selected, t...
this might be a very very simple question, im new to java and i got an annoying problem, let me try to describe my problem. When a user selects my listview item, the for loop returns the title of that selected item. Now when the user selects another one, while having the last selected item still selected, the app retur...
java|android|for-loop|arraylist
-1
2015-02-25T12:13:26.733Z
2,015
2
12
2
129
2
513
19
4
3
true
false
false
false
false
true
negative
28,718,784
ViewPager ViewPager.PageTransformer causes unusual click
<p>Here is my scenario. In a ViewPager i have two fragment. In second Fragment i have a list of item &amp; each item is clickable. I used <code>ViewPager.PageTransformer</code> to animate my ViewPager to go from one fragment to another.</p> <p>I used this : <code>vPager.setPageTransformer(true, new FlipPageViewTransfo...
Here is my scenario. In a ViewPager i have two fragment. In second Fragment i have a list of item & each item is clickable. I used ViewPager.PageTransformer to animate my ViewPager to go from one fragment to another. I used this : vPager.setPageTransformer(true, new FlipPageViewTransformer()); where FlipPageViewTransfo...
android|android-viewpager|android-pagetransformer
3
2015-02-25T12:13:43.510Z
2,015
2
12
2
746
0
544
56
3
0
false
true
false
false
false
false
low
28,718,794
How to run Intel XDK on my system (Windows 8 64 bit)?
<p>This app always hangs up on startup showing the "initializing" window and nothing happen.I had uninstall and reinstall the latest version several times but probem was not solved. I downloaded node-webkit files compatible with my system and replaced the original files as answered on other questions here on stackoverf...
This app always hangs up on startup showing the "initializing" window and nothing happen.I had uninstall and reinstall the latest version several times but probem was not solved. I downloaded node-webkit files compatible with my system and replaced the original files as answered on other questions here on stackoverflow...
android|html|cross-platform|mobile-website|intel-xdk
0
2015-02-25T12:14:08.003Z
2,015
2
12
2
503
1
444
53
5
0
false
false
false
false
false
false
zero
28,718,801
How to use ListView from ListFragment?
<p><div class="snippet" data-lang="js" data-hide="false"> <div class="snippet-code"> <pre class="snippet-code-html lang-html prettyprint-override"><code>public class sidebar extends ListFragment{ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); ArrayList&lt;String&gt; pav...
[CODE] I am dealing with List Fragments. I have used setContentView(Listview) without creating other layout files for an activity and used activities listview. How could I do same with List fragments without using other xml layouts and only using List View of List Fragment.setContentView and returning listview simply s...
android|listview|fragment|android-listfragment
3
2015-02-25T12:14:25.917Z
2,015
2
12
2
135
2
343
38
4
1
true
false
false
false
false
false
low
28,718,872
Push notifications with big Images using cordova push plugin
<p>I want to get push notification something like flipkart or myntra does. (Push notification will come with an Big image detailing about offers, on clicking of which will take to offers zone). Does anyone know how to get it done. I have code something like this:</p> <pre><code>NotificationCompat.Builder mBuilder = ...
I want to get push notification something like flipkart or myntra does. (Push notification will come with an Big image detailing about offers, on clicking of which will take to offers zone). Does anyone know how to get it done. I have code something like this: [CODE]
android|push-notification|cordova-plugins
1
2015-02-25T12:18:10.493Z
2,015
2
12
2
1,198
1
267
60
3
1
true
false
false
false
false
false
low
28,718,949
Sometimes gyroscope provides strange values on Android
<p>I am developing an Android app to analyse the location, rotation and acceleration data provided by the Android sensors while driving in the car. Therefore I implemented one service for the GPS location updates and one service for the values given by the gyroscope and accelerometer.</p> <p>Furthermore I converted th...
I am developing an Android app to analyse the location, rotation and acceleration data provided by the Android sensors while driving in the car. Therefore I implemented one service for the GPS location updates and one service for the values given by the gyroscope and accelerometer. Furthermore I converted the values gi...
android|rotation|gyroscope
1
2015-02-25T12:22:21.110Z
2,015
2
12
2
122
0
1,867
54
3
0
false
true
false
false
false
false
low
28,718,965
Android onTouch event
<p>I have manage to create this code to slide in or out a button in a listview. It works ok if my gesture on the phone screen is horizontal. But if my gesture is also diagonal ... it does not trigger to show/hide the button. The gesture is horizontal ( left to right or right to left ) but it can be a little diagonal. ...
I have manage to create this code to slide in or out a button in a listview. It works ok if my gesture on the phone screen is horizontal. But if my gesture is also diagonal ... it does not trigger to show/hide the button. The gesture is horizontal ( left to right or right to left ) but it can be a little diagonal. What...
android
0
2015-02-25T12:23:15.423Z
2,015
2
12
2
45
1
385
21
1
1
true
false
false
false
false
false
zero
28,718,997
HorizontalScrollView which auto scrolls automatically in every 2min time interval
<p>I had used HorizontalScrollView and i want this horizantalscrollview scroll automatically in every time interval from right to left. And when it comes to end of horizontalscrollview then it again scroll from the beginning. I had used the code like:</p> <pre><code> mHorizontalScrollView.postDelayed(new Runnable()...
I had used HorizontalScrollView and i want this horizantalscrollview scroll automatically in every time interval from right to left. And when it comes to end of horizontalscrollview then it again scroll from the beginning. I had used the code like: [CODE] But it scroll only one time when application start. And i had go...
android
3
2015-02-25T12:25:11.117Z
2,015
2
12
2
101
1
485
81
1
1
true
false
false
false
false
false
low
28,719,053
styling the actionbar with background color
<pre><code> &lt;!-- Base application theme. --&gt; &lt;style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar"&gt; &lt;item name="android:actionBarStyle"&gt;@style/MyActionBar&lt;/item&gt; &lt;/style&gt; &lt;!-- ActionBar styles --&gt; &lt;style name="MyActionBar" parent="@style/Widget.AppCompat...
[CODE] I've added this to my manifest [CODE] I'm trying to style my actionbar but the below isn't working can anyone help me to understand why. Thank you in advance.
android
0
2015-02-25T12:28:04.673Z
2,015
2
12
2
35
2
165
43
1
2
true
false
false
false
false
false
zero
28,719,068
Display results of Android unit tests in Jenkins?
<p>Android Studio and Android Gradle Plugin v1.1 provide some basic support for unit testing in Android: <a href="http://tools.android.com/tech-docs/unit-testing-support" rel="nofollow">http://tools.android.com/tech-docs/unit-testing-support</a></p> <p>I have it working on a Jenkins CI server and it works well, but I'...
Android Studio and Android Gradle Plugin v1.1 provide some basic support for unit testing in Android: http://tools.android.com/tech-docs/unit-testing-support I have it working on a Jenkins CI server and it works well, but I'd prefer to see the test results displayed in an easier to read form than trawling through the c...
android|android-studio|android-gradle-plugin|jenkins-plugins
2
2015-02-25T12:28:59.677Z
2,015
2
12
2
339
0
498
49
4
0
false
true
false
false
false
false
low
28,719,070
Android retrieve and display SMS conversation
<p>I'm trying to build a sms app. I've managed to get all the inbox message and display them in a thread but my approaching is probably wrong. I use a HashMap to store the address and based on it to delete existing message(only display the newest sms)</p> <pre><code>public void refreshSmsInbox() { ContentResolver...
I'm trying to build a sms app. I've managed to get all the inbox message and display them in a thread but my approaching is probably wrong. I use a HashMap to store the address and based on it to delete existing message(only display the newest sms) [CODE] and when I click a thread it will open an intent to display the ...
android|listview|sms
0
2015-02-25T12:29:14.920Z
2,015
2
12
2
1,761
1
530
45
3
1
true
false
false
false
false
false
zero
28,719,168
Regular expressions are extremly slow
<p><strong>Pre:</strong> I'm trying to extract different types of <code>parts</code> from a big array using regexp. This operation is performed in <code>AsyncTask</code>. <code>part.plainname</code> is a string, 256 char maximum. <code>item_pattern</code> looks like <code>"^keyword.*?$"</code></p> <p><strong>Problem:<...
Pre: I'm trying to extract different types of parts from a big array using regexp. This operation is performed in AsyncTask . part.plainname is a string, 256 char maximum. item_pattern looks like "^keyword.*?$" Problem: I found the method, that's slows everything: [CODE] There's only 950 parts , but it works horribly s...
java|android|regex
0
2015-02-25T12:34:33.213Z
2,015
2
12
2
283
4
627
37
3
2
true
false
false
false
false
false
zero
28,719,221
MapController setCenter doesn't work
<p>I've got a <code>GeoPoint gPt</code> with 55.790833, 49.114444 coordinates. I add that thing to map and try to center. But my marker is not in the center of map (it's a little bit higher). <img src="https://i.stack.imgur.com/lLuBu.png" alt="enter image description here"> <img src="https://i.stack.imgur.com/2tJ7K.pn...
I've got a GeoPoint gPt with 55.790833, 49.114444 coordinates. I add that thing to map and try to center. But my marker is not in the center of map (it's a little bit higher). What is wrong? This is my code: [CODE] EDIT: If you are feeling lazy to update osmdroid, just add next statements: [CODE]
java|android|openstreetmap|osmdroid
2
2015-02-25T12:37:07.917Z
2,015
2
12
2
1,102
3
297
36
4
2
true
false
false
false
false
false
low
28,719,282
ListAdapter in Android guide to populating list views. What does it mean?
<p>I am trying to learn how to make an app using Xamarin and C#. I want to populate a ListView with data from a database and I tried to reference official sources. But I came across this piece of code</p> <pre><code> [Activity(Label = "BasicTable", MainLauncher = true, Icon = "@drawable/icon")] public class Home...
I am trying to learn how to make an app using Xamarin and C#. I want to populate a ListView with data from a database and I tried to reference official sources. But I came across this piece of code [CODE] I have no clue what is the function of the line with ListAdapter. My xamarin is throwing an exeption telling me tha...
c#|android|xamarin
0
2015-02-25T12:39:50.283Z
2,015
2
12
2
1,178
2
671
73
3
1
true
false
false
false
false
false
zero
28,719,297
Quickblox-chat in android AndroidRuntime java.lang.NoClassDefFoundError: com.quickblox.chat.QBChatService
<p>I have download quickblox <a href="http://quickblox.com/developers/Android_XMPP_Chat_Sample" rel="nofollow noreferrer">quickblox-chat</a> where I followed all these rules with quickblox-chat At Login closed with exceptions errors </p> <blockquote> <p><img src="https://i.stack.imgur.com/tq1kl.png" alt="source"> ...
I have download quickblox quickblox-chat where I followed all these rules with quickblox-chat At Login closed with exceptions errors Now I got exception log Here [CODE] Any solution please?
android|eclipse
0
2015-02-25T12:40:26.250Z
2,015
2
12
2
292
1
189
105
2
1
true
false
false
false
false
false
zero
28,719,307
Implement Custom Filtering based on various parameters in Android
<p>I am developing an education based app which lists of subjects and containing courses. It is implemented using View Pager(which has list of courses in subject) and PagerTabStrip(containing subject name)</p> <p>class Subject contains List of Courses</p> <pre><code>public class Subject{ private int id; ...
I am developing an education based app which lists of subjects and containing courses. It is implemented using View Pager(which has list of courses in subject) and PagerTabStrip(containing subject name) class Subject contains List of Courses [CODE] And class Course containing its own Attributes [CODE] How to implement ...
android|filter|android-viewpager|android-filterable|pagertabstrip
-2
2015-02-25T12:40:44.400Z
2,015
2
12
2
57
1
544
65
5
2
true
false
false
false
false
true
negative
28,719,310
Best practice for Android app: Multiple services or just one
<p>I'm working on an Android app which controls some BLE enabled hardware. It also accesses a Server API and use location services. The current app organises this as three different services: Location (system service), BLE service and Server service. That means a lot of broadcasts coming to the GUI part of the app and ...
I'm working on an Android app which controls some BLE enabled hardware. It also accesses a Server API and use location services. The current app organises this as three different services: Location (system service), BLE service and Server service. That means a lot of broadcasts coming to the GUI part of the app and a l...
android|service
1
2015-02-25T12:40:59.840Z
2,015
2
12
2
665
0
1,219
60
2
0
false
true
false
false
false
false
low
28,719,318
How to implement voice command recognition in android?
<p>Hello I want build an app where my android app recognize my voice command &amp; perform certain task. i have searched a lot but didn't find any valid solution. Kindly tell how to implement it?</p>
Hello I want build an app where my android app recognize my voice command & perform certain task. i have searched a lot but didn't find any valid solution. Kindly tell how to implement it?
android|voice-recognition|voice-recording
2
2015-02-25T12:41:22.137Z
2,015
2
12
2
3,462
1
188
54
3
0
false
false
true
false
false
false
low
28,719,414
Android jQuery can't load image from certain server
<p>I'm using jQuery to load some images in to a list view. The image exists under that URL but it wont show, I tried to open an other images on the server but none of them will open. If I upload the same image to Imgur or any other server jQuery can load the image. </p> <p>Has someone ever encountered a similar proble...
I'm using jQuery to load some images in to a list view. The image exists under that URL but it wont show, I tried to open an other images on the server but none of them will open. If I upload the same image to Imgur or any other server jQuery can load the image. Has someone ever encountered a similar problem with jQuer...
java|android|android-query
0
2015-02-25T12:46:32.427Z
2,015
2
12
2
64
0
349
51
3
1
true
true
false
false
false
false
zero
28,719,529
Android CLPlacemark.ocean equivalent or how to get extra data from location
<p>I am planning a typical routes application for both Android and iOS, and there is something I can't replicate on Android. You can, in iOS, get some extra information about a particular point in a map by using CLPlacemark.ocean and CLPlacemark.inlandWater. Those two properties tell whether the point is over water and...
I am planning a typical routes application for both Android and iOS, and there is something I can't replicate on Android. You can, in iOS, get some extra information about a particular point in a map by using CLPlacemark.ocean and CLPlacemark.inlandWater. Those two properties tell whether the point is over water and, i...
android|ios|google-maps|geolocation
0
2015-02-25T12:51:53.517Z
2,015
2
12
2
253
1
589
75
4
0
false
false
false
false
false
false
zero
28,719,561
No Launcher Activity found ! in android
<p>I have an android app in which i am using google maps setting in the <code>manifest.xml</code> file. When i run the app in the eclipse the output was as below</p> <pre><code>[2015-02-25 17:59:06 - MainActivity] ------------------------------ [2015-02-25 17:59:06 - MainActivity] Android Launch! [2015-02-25 17:59:06 ...
I have an android app in which i am using google maps setting in the manifest.xml file. When i run the app in the eclipse the output was as below [CODE] The app was installed on the emulator(android 4.2.2, API level 19) but when i tried to open it the was crashed by saying Unfortunately your app was closed and i found ...
android|eclipse|android-activity|android-fragments|android-launcher
0
2015-02-25T12:53:18.920Z
2,015
2
12
2
234
3
566
39
5
5
true
false
false
false
false
false
zero
28,719,574
Receiving the json data from asynctask to activity
<p>in my activity onCreatemethode im excuting the asynctask as shown below,</p> <pre><code>public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); new PizzaCustomizeAsyncTask(ActivityPizzaCustomize.this, null).execute(); </code></pre> <p>PizzaCustomizeAsyncTask</p> <pre...
in my activity onCreatemethode im excuting the asynctask as shown below, [CODE] PizzaCustomizeAsyncTask [CODE] in this asynctask im getting the response for the responseJson. when i tried to send it back to the onTaskComplete methode it crashes and giving the message application has stopped. then i have in same activit...
android|json|android-asynctask
0
2015-02-25T12:53:52.050Z
2,015
2
12
2
271
3
784
50
3
6
true
false
false
false
false
false
zero
28,719,718
._android-support-v4.jr cannot be read
<p>I import my older project, and i give this error:</p> <blockquote> <p>Description Resource Path Location Type Archive for required library: 'C:/Users/Janko/workspace/gb android zdrojáky/girlsapp/client/GirlBom/libs/._android-support-v4.jar' in project 'GirlBom' cannot be read or is not a valid ZIP fi...
I import my older project, and i give this error: Description Resource Path Location Type Archive for required library: 'C:/Users/Janko/workspace/gb android zdrojáky/girlsapp/client/GirlBom/libs/._android-support-v4.jar' in project 'GirlBom' cannot be read or is not a valid ZIP file GirlBom Build path Build Path Proble...
android|eclipse|android-support-library
0
2015-02-25T13:01:45.807Z
2,015
2
13
2
178
1
508
38
3
0
false
false
false
false
false
false
zero
28,719,749
implement android firewall by using vpn service
<p>I have to create an android application, to block some sites depend on site URL so I think VPNService is the best choice for me The problem is: I don't have a third party server to connect the tunnel with the server so how can I create a locally third party server to handle the requests from the tunnel then forward...
I have to create an android application, to block some sites depend on site URL so I think VPNService is the best choice for me The problem is: I don't have a third party server to connect the tunnel with the server so how can I create a locally third party server to handle the requests from the tunnel then forward it ...
android
0
2015-02-25T13:03:17.030Z
2,015
2
13
2
424
0
360
47
1
0
false
true
false
false
false
false
zero
28,719,754
Unable to delete dynamically generated ImageView - Android
<p>I've got a list of images in my database table. When loading the activity, I read the path of images from the file and create image view instances programatically and add one after the other to my linear layout container. Then for every imageView, when clicked - I open my custom image editing activity and edit it. O...
I've got a list of images in my database table. When loading the activity, I read the path of images from the file and create image view instances programatically and add one after the other to my linear layout container. Then for every imageView, when clicked - I open my custom image editing activity and edit it. Once...
android|android-activity|imageview
0
2015-02-25T13:03:37.617Z
2,015
2
13
2
113
2
935
58
3
1
true
false
false
false
false
false
zero
28,719,776
OnLoadFinished called infinitely
<p>Yesterday I try to write my content provider and to test it. Unfortunately, this piece of code:</p> <pre><code>if(loader.getId() == 1) getContentResolver().insert(Uri.parse("content://com.example.djak.contentprovidertest.provider/cte"), values); </code></pre> <p>does something, because of which onLoadFinis...
Yesterday I try to write my content provider and to test it. Unfortunately, this piece of code: [CODE] does something, because of which onLoadFinished is called infinitely. Has someone idea what is going on? When I remove it onLoadFinished is called only once. And when onLoaderReset is called ? Can someone give me an r...
android|android-contentprovider|loader
3
2015-02-25T13:04:53.180Z
2,015
2
13
2
521
1
541
32
3
3
true
false
false
false
false
false
low
28,719,777
Android: How to stop alarm sound when the app is in background
<p>I'm working on an app which plays an alarm sound under specific conditions. Now i would like to give the user a button or something else to stop the alarm even when the app is in the background, so the user doesn't need to reopen the app to stop the alarm. But i have no idea how i can do such a thing... :/</p> <p>T...
I'm working on an app which plays an alarm sound under specific conditions. Now i would like to give the user a button or something else to stop the alarm even when the app is in the background, so the user doesn't need to reopen the app to stop the alarm. But i have no idea how i can do such a thing... :/ The best thi...
android|android-activity
0
2015-02-25T13:04:54.060Z
2,015
2
13
2
232
1
435
62
2
0
false
false
false
false
false
false
zero
28,719,780
AlertDialog.Builder dynamically setMessage
<p>I am trying to dynamically set message to AlertDialog.Builder , but when i run the app , no message is shown. I want the message to be changed according to the text the user types on some editText widgets. Any advice appreciated.</p> <pre><code>private AlertDialog.Builder builder; private AlertDialog dialog; priva...
I am trying to dynamically set message to AlertDialog.Builder , but when i run the app , no message is shown. I want the message to be changed according to the text the user types on some editText widgets. Any advice appreciated. [CODE]
android|android-alertdialog|builder
0
2015-02-25T13:05:13.157Z
2,015
2
13
2
523
1
236
42
3
1
true
false
false
false
false
false
zero
28,719,842
save image captured by camera in external storage in android
<p>I am using camera in my app, by calling the camera api in my app itself, (I am not doing intent to open the main camera application of android).</p> <p>I am showing an overlay image on the screen while camera preview is on, that overlay image is animated as per the change in orientation sensor.</p> <p>My problem i...
I am using camera in my app, by calling the camera api in my app itself, (I am not doing intent to open the main camera application of android). I am showing an overlay image on the screen while camera preview is on, that overlay image is animated as per the change in orientation sensor. My problem is that when ever i ...
android|camera|external|sensors
0
2015-02-25T13:08:09.403Z
2,015
2
13
2
3,108
2
691
60
4
1
true
false
true
false
false
false
zero
28,719,848
Supporting Multiple Android Screens: Advantages vs. disadvantages of having drawer folders (images) for all densities?
<p>I don't get why it's recommended to have a drawable (image) for all densities (ldpi, ..., xxhdpi).</p> <p>Would it not be better to add one file with the highest needed density (xxxhdpi) and than programmatically scale that image down (e.g. for tab icons I could just set a explicit dp size)?</p> <p>Therefore I wou...
I don't get why it's recommended to have a drawable (image) for all densities (ldpi, ..., xxhdpi). Would it not be better to add one file with the highest needed density (xxxhdpi) and than programmatically scale that image down (e.g. for tab icons I could just set a explicit dp size)? Therefore I would only have to man...
android|android-layout|android-resources|android-drawable|android-resolution
1
2015-02-25T13:08:35.410Z
2,015
2
13
2
435
3
1,047
118
5
0
false
false
false
false
false
false
low
28,719,955
Android ScrollView loses clip on rotation animation
<p>I'm using Rotate3dAnimation to flip a card view which contains a ScrollView. But during animation ScrollView loses a clip somehow so I see top and bottom of ScrollView content outside the card view (and ScrollView) bounds until animation is done.</p> <p>Why is that and how to beat this behaviour?</p>
I'm using Rotate3dAnimation to flip a card view which contains a ScrollView. But during animation ScrollView loses a clip somehow so I see top and bottom of ScrollView content outside the card view (and ScrollView) bounds until animation is done. Why is that and how to beat this behaviour?
android|android-animation|android-scrollview|clip
2
2015-02-25T13:13:54.963Z
2,015
2
13
2
236
1
290
51
4
0
false
false
false
false
false
false
low
28,719,965
GridView using Table Layout Android
<p>I am basically trying to create a gridview kind of a thing using TableLayout. I am getting the horizontal thing(2 columns) working fine. But each item is getting cut and looks like is taking up only 50dp height and not 120dp height as mentioned in the table_row.xml</p> <pre><code> for(int i=0;i&lt;10;i++) { ...
I am basically trying to create a gridview kind of a thing using TableLayout. I am getting the horizontal thing(2 columns) working fine. But each item is getting cut and looks like is taking up only 50dp height and not 120dp height as mentioned in the table_row.xml [CODE] My table_layout.xml [CODE] My table_row.xml [CO...
android|gridview|android-tablelayout
0
2015-02-25T13:14:40.967Z
2,015
2
13
2
832
1
323
35
3
3
true
false
false
false
false
false
zero
28,719,987
Attendee invitation is not sent?
<p>I am generating an calendar events based on filled form and I don't use an intend method but direct insert via URI. Suddenly sending invitation to the attendee stopped working. This is part of the code where the invitation should be initiated:</p> <pre><code> ContentResolver atend = getContentResolver(); Con...
I am generating an calendar events based on filled form and I don't use an intend method but direct insert via URI. Suddenly sending invitation to the attendee stopped working. This is part of the code where the invitation should be initiated: [CODE]
android|calendar
0
2015-02-25T13:15:34.700Z
2,015
2
13
2
109
0
250
32
2
1
true
true
false
false
false
false
zero
28,719,993
Android Studio Action Bar Color not Changing
<p>in styles.xml running Android 5.0 lollipop</p> <pre><code>&lt;resources&gt; &lt;!-- Base application theme. --&gt; &lt;style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar"&gt; &lt;!-- Customize your theme here. --&gt; &lt;item name="android:colorPrimary"&gt;@color/primary&lt;/item&gt; &lt;...
in styles.xml running Android 5.0 lollipop [CODE] when I build it and run it, I only get the status bar colored with the colorPrimaryDark while the toolbar remains black. How do I make it turn to colorPrimary? This is what I'm currently getting https://www.dropbox.com/s/alp8d2fhzfd5g71/Screenshot_2015-02-25-21-13-01.pn...
android|xml|android-studio|android-5.0-lollipop
5
2015-02-25T13:15:51.583Z
2,015
2
13
2
22,284
4
326
44
4
1
true
false
true
true
false
false
low
28,720,038
Setting an identifier for Listview items android
<p>I'm creating a listview from a database of people. When I click on the person I want to bring up the persons details. I want to set my own id for the person then bring up the details corresponding from this id.</p> <p>I tried to do this by adding a int id to the tag object and getting the views tag in the onItemCli...
I'm creating a listview from a database of people. When I click on the person I want to bring up the persons details. I want to set my own id for the person then bring up the details corresponding from this id. I tried to do this by adding a int id to the tag object and getting the views tag in the onItemClick() method...
android|android-listview|baseadapter
0
2015-02-25T13:18:33.237Z
2,015
2
13
2
138
1
858
48
3
3
true
false
false
false
false
false
zero
28,720,044
Sending an Opencv feature descriptor from android device to JAVA server
<p>I want to compare data transmission cost of diffrent feature descriptors provided by the <code>Opencv4Android</code> package.</p> <p>After Feature extraction the descriptor is represented by the <code>OPENCV Mat Object</code></p> <p>My question now is how to send this object to server via mobile network connection...
I want to compare data transmission cost of diffrent feature descriptors provided by the Opencv4Android package. After Feature extraction the descriptor is represented by the OPENCV Mat Object My question now is how to send this object to server via mobile network connection. It is a possible to use JSON ?
android|json|opencv|client-server|transmission
1
2015-02-25T13:18:49.093Z
2,015
2
13
2
139
0
307
71
5
0
false
true
false
false
false
false
low
28,720,051
prevent app to clear application data while running in background
<p>I am developing an android application related to gps. that is sending location information periodically to the server. sometime i am getting process killing issue in some devices. </p> <p>if my application running in foreground then its working file. but while we minimize app and move it to back or once phone goin...
I am developing an android application related to gps. that is sending location information periodically to the server. sometime i am getting process killing issue in some devices. if my application running in foreground then its working file. but while we minimize app and move it to back or once phone going to sleep t...
android|erase|kill-process|application-data
1
2015-02-25T13:19:14.427Z
2,015
2
13
2
1,124
1
741
65
4
0
false
false
false
false
false
false
low
28,720,053
Data passing to a Fragment
<pre><code>Fragment fragment = new Videonew_fragment(); FragmentManager fragmentManager = getActivity().getFragmentManager(); FragmentTransaction fragmentTransaction = fragmentManager.beginTransaction(); fragmentTransaction.replace(R.id.content_frame, fragment...
[CODE] using above code for go to another fragment.i need to pass data along with this method.for data passing i used below code it not working perfectly.what i am doing wrong? help me? [CODE]
android|android-fragments
0
2015-02-25T13:19:16.410Z
2,015
2
13
2
24
1
192
26
2
2
true
false
false
false
false
false
zero
28,720,056
What is the alternative to use createInputSurface() on API 17 and below
<p>For one of my app which saves camera preview to a buffer, I am using the function Mediacodec.createInputSurface() and everything works fine as I was using API 19 and above. Now I want the same code to work for api 17 and below as well for some other devices where this api does not exist. Can someone help me by tell...
For one of my app which saves camera preview to a buffer, I am using the function Mediacodec.createInputSurface() and everything works fine as I was using API 19 and above. Now I want the same code to work for api 17 and below as well for some other devices where this api does not exist. Can someone help me by telling ...
android|android-camera|android-mediacodec
1
2015-02-25T13:19:27.983Z
2,015
2
13
2
736
1
403
71
3
1
true
false
false
false
false
false
low
28,720,062
Class Cast Exception when passing array of Serializables from one activity to another
<p>I have an array containing serializable objects and am trying to use Intent's putExtra() and Bundle's getSerializable(). However, I am getting a class cast exception and don't understand why. </p> <p>Below is the code. UserInfo is my own class which implements Serializable, and I have been able to pass individual...
I have an array containing serializable objects and am trying to use Intent's putExtra() and Bundle's getSerializable(). However, I am getting a class cast exception and don't understand why. Below is the code. UserInfo is my own class which implements Serializable, and I have been able to pass individual UserInfo obje...
java|android|arrays|serialization
6
2015-02-25T13:19:38.350Z
2,015
2
13
2
3,957
4
1,033
85
4
5
true
false
true
false
false
false
medium
28,720,096
Android: startService ends up in java.lang.RuntimeException - how to debug with jdb?
<p>I am trying to create a simple app which would run a background thread. The aim is to send some data to my pebble watch, like the phone battery status, etc.</p> <p>I looked here: <a href="https://developer.android.com/training/run-background-service/create-service.html" rel="nofollow">https://developer.android.com...
I am trying to create a simple app which would run a background thread. The aim is to send some data to my pebble watch, like the phone battery status, etc. I looked here: https://developer.android.com/training/run-background-service/create-service.html Wrote some code (I skipped "imports" here): [CODE] Compiled ("ant ...
java|android|ant|jdb
1
2015-02-25T13:21:17.603Z
2,015
2
13
2
248
0
735
84
4
3
true
true
false
false
false
false
low
28,720,107
Custom ProgressBar manage different UI operations with Thread
<p>I would like to apply two operations on my progressBar one after the other. This progressBar is displayed in a custom dialog.</p> <p>First I have a state in progress where the current time is displayed in an editText over my progressBar and then I want to manage a second state where my progress bar is full but wher...
I would like to apply two operations on my progressBar one after the other. This progressBar is displayed in a custom dialog. First I have a state in progress where the current time is displayed in an editText over my progressBar and then I want to manage a second state where my progress bar is full but where the time ...
android|multithreading|android-progressbar
0
2015-02-25T13:21:44.987Z
2,015
2
13
2
109
1
1,127
61
3
1
true
false
false
false
false
false
zero
28,720,117
Multiple Clickable links in TextView on Android
<p>I'm trying to add multiple links in a textview similar to what Google &amp; Flipboard has done below with their <strong>Terms and conditions</strong> AND <strong>Privacy Policy</strong> shown in the screen shot below:</p> <p>So far I've stumbled on using this approach</p> <p>textView.setText(Html.fromHtml(myHtml);...
I'm trying to add multiple links in a textview similar to what Google & Flipboard has done below with their Terms and conditions AND Privacy Policy shown in the screen shot below: So far I've stumbled on using this approach textView.setText(Html.fromHtml(myHtml); textView.setMovementMethod(LinkMovementMethod.getInstanc...
java|android|android-layout|textview
32
2015-02-25T13:22:12.253Z
2,015
2
13
2
25,770
8
475
47
4
0
false
false
true
true
true
false
high
28,720,121
how to implement vertical scroll in scroll view in android
<p>I want to scroll a page using the following code. I am not getting where i am wrong. I am using this piece of code</p> <pre><code>scroll = (ScrollView)findViewById(R.id.scroll); scroll.post(new Runnable() { @Override public void run() { // TODO Auto-generated method stub ...
I want to scroll a page using the following code. I am not getting where i am wrong. I am using this piece of code [CODE]
android
0
2015-02-25T13:22:17.743Z
2,015
2
13
2
188
1
121
58
1
1
true
false
false
false
false
false
zero
28,720,133
RingCaptcha SDK import into android project in android studio
<p>Im trying to import an sdk called ringcaptcha and unfortunately I have followed their docs without much success. I have the following statement in my build.gradle file</p> <pre><code>dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) compile 'com.android.support:appcompat-v7:21.0.3' compile 'com.thr...
Im trying to import an sdk called ringcaptcha and unfortunately I have followed their docs without much success. I have the following statement in my build.gradle file [CODE] I have also imported the module ringcaptcha. It still gives me the error that it cannot resolve com.thrivecom.ringcaptcha:ringcaptcha:1.0.3 Im no...
android|import|sdk|android-studio
0
2015-02-25T13:22:51.057Z
2,015
2
13
2
183
1
472
61
4
1
true
false
false
false
false
false
zero
28,720,138
Android Custom Listview Programmatically Click Item
<p>I am using a custom single choice listview. I want to call <code>ItemOnClickListener</code> programmatically. I am using <code>android:listSelector="#47D149"</code> property in my xml. I saw <a href="https://stackoverflow.com/questions/8094268/android-listview-performitemclick">this post</a>. <code>performItemClick<...
I am using a custom single choice listview. I want to call ItemOnClickListener programmatically. I am using android:listSelector="#47D149" property in my xml. I saw this post . performItemClick function is working but doesn't change the background of list item. What should I do? Any suggestions. Thanks!
android|android-listview
0
2015-02-25T13:23:03.890Z
2,015
2
13
2
958
3
304
51
2
0
false
false
false
false
false
false
zero
28,720,166
ImageView's setImageMatrix doesn't work properly on some devices (maybe older than Android 4.4)
<p>I tried to move an ImageView on touch events by this code:</p> <pre><code>public class ScrollableImageView extends ImageView { private GestureDetectorCompat gestureDetectorCompat; public ScrollableImageView(Context context) { this(context, null); } public ScrollableImageView(Context contex...
I tried to move an ImageView on touch events by this code: [CODE] At first, everything worked well on Nexus 5 (Android 4.4.4 and Lollipop). But then I tried on older versions of Android like 4.0.4(Galaxy S2) or Nexus S(4.1.1)... and none of them worked. Then after struggling for a while, I came up with this solution an...
android|matrix|imageview
2
2015-02-25T13:24:11.337Z
2,015
2
13
2
1,263
1
1,354
95
3
2
true
false
false
false
false
false
low
28,720,180
Terminating timer in android
<p>I am a begineer in android app development, i have <b>stoptimertask</b> function in my mainactivity, and a <b>button stop</b> in another activity. What i want to do is when i press this stop button from my 2nd activity(which is maps.class), i want the <b>stoptimertask</b> to stop i.e. stop the tasks. However the app...
I am a begineer in android app development, i have stoptimertask function in my mainactivity, and a button stop in another activity. What i want to do is when i press this stop button from my 2nd activity(which is maps.class), i want the stoptimertask to stop i.e. stop the tasks. However the app crashes. Here is my cod...
java|android|timer|timertask
0
2015-02-25T13:24:46.233Z
2,015
2
13
2
517
2
418
28
4
3
true
false
false
false
false
false
zero