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,742,029
ERROR getting 'name' attribute: attribute is not a string value Hybrid Cordova App
<p>I am new to Hybrid Android applications using Cordova and salesforce.</p> <p>I have built a signed APK and ZipAligned it.</p> <p>But when I am uploading it to app store it gives me following error:</p> <p><a href="https://i.stack.imgur.com/Erpur.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/E...
I am new to Hybrid Android applications using Cordova and salesforce. I have built a signed APK and ZipAligned it. But when I am uploading it to app store it gives me following error: Following is my Manifest file: [CODE] I am not able to locate where in the Manifest file I am doing it wrong. Any help is appreciated. T...
android|eclipse|cordova|android-manifest|hybrid-mobile-app
0
2016-04-20T11:12:05.387Z
2,016
4
11
2
175
1
337
82
5
1
true
false
false
false
false
false
zero
36,742,060
JSON parsing issue : Getting only one Array
<p>My JSON array contains TWO array data (weekid = 16 and weekid = 15). But When I parse, I am only getting one (weekid = 16). Unable to get (weekid = 15). Thanks in advance. </p> <p>Below is my code :</p> <pre><code>private JSONArray data = null; JSONObject json = jsonParser.makeHttpRequest(url, "GET", params, fal...
My JSON array contains TWO array data (weekid = 16 and weekid = 15). But When I parse, I am only getting one (weekid = 16). Unable to get (weekid = 15). Thanks in advance. Below is my code : [CODE]
android
0
2016-04-20T11:13:19.613Z
2,016
4
11
2
45
0
197
43
1
1
true
true
false
false
false
false
zero
36,742,066
How to make background in full screen?
<p>I wrote code with guide to move my background in game and it's working, but the size of my background is original and I want to make the size of my moving background in full screen, please, help me))</p> <p>Code:</p> <pre><code>public class Background extends SurfaceView implements SurfaceHolder.Callback { pr...
I wrote code with guide to move my background in game and it's working, but the size of my background is original and I want to make the size of my moving background in full screen, please, help me)) Code: [CODE] } Example:
android
1
2016-04-20T11:13:35.787Z
2,016
4
11
2
50
1
223
38
1
1
true
false
false
false
false
false
low
36,742,068
My app keeps crashing when i open it
<p>I had added 2 spinners to my cricket scoring app and there are no compiler errors however my app keeps crashing on start. It was working fine when I added the first spinner but the moment I added the second spinner the app started to crash. Please help.</p> <pre><code>package com.example.visha.cricketcounter; impo...
I had added 2 spinners to my cricket scoring app and there are no compiler errors however my app keeps crashing on start. It was working fine when I added the first spinner but the moment I added the second spinner the app started to crash. Please help. [CODE]
java|android|compiler-errors
-5
2016-04-20T11:13:38.013Z
2,016
4
11
2
756
3
260
36
3
1
true
false
false
false
false
true
negative
36,742,075
playing cards unicode characters not changing color in android TextView
<p>I got the Unicode of heart and diamond characters from <a href="https://en.wikipedia.org/wiki/Playing_cards_in_Unicode" rel="nofollow noreferrer">this</a> link and I am struggling to make them appear red in android TextView. Suprisingly same code changes color for hollow heart and diamond but not for solid ones. myc...
I got the Unicode of heart and diamond characters from this link and I am struggling to make them appear red in android TextView. Suprisingly same code changes color for hollow heart and diamond but not for solid ones. mycodes are below: [CODE] // inside activity [CODE] this is the snapshot of result in android
android|unicode|textview
4
2016-04-20T11:14:10.343Z
2,016
4
11
2
392
0
312
71
3
2
true
true
false
false
false
false
low
36,742,137
Why do I get android java.io.IOException: No authentication challenges found?
<p>i wrote the following code to get the json string from the service which is protected by basic auth</p> <pre><code> InputStream input; StringBuilder sb = new StringBuilder(); HttpURLConnection connection; try { URL url = new URL(pa...
i wrote the following code to get the json string from the service which is protected by basic auth [CODE] this function return exception says No authentication challenges found i see some people says you MUST include a WWW-Authenticate header field how to include it if it is the soltution ? or what is the correct solu...
java|android
0
2016-04-20T11:17:11.087Z
2,016
4
11
2
322
1
378
77
2
2
true
false
false
false
false
false
zero
36,742,161
OSMDROID: error: incompatible types: IGeoPoint cannot be converted to GeoPoint
<p>I am building a sample OSMdroid app mixing and matching from various sources.</p> <p>In using <a href="http://android-er.blogspot.com.br/2012/05/display-current-location-marker-on.html" rel="nofollow">this sample code</a>, </p> <pre><code>import org.osmdroid.util.GeoPoint; ... private void setOverlayLoc(Location ...
I am building a sample OSMdroid app mixing and matching from various sources. In using this sample code , [CODE] I started receiving the following error (in reference to the last line above): error: incompatible types: IGeoPoint cannot be converted to GeoPoint I am using Android Studio 2.0, osmdroid 4.3, slf4j 1.6.1 Th...
android|osmdroid
1
2016-04-20T11:18:03.693Z
2,016
4
11
2
538
3
495
78
2
1
true
false
false
false
false
false
low
36,742,255
Add a background shape to a ImageView in xml Android?
<p>The problem is that i can't put a shape behind my ImageView (that is a animation). The center of the ImageView have to be center-align with te shape.</p> <p>The shape size is 92dp and from my animation es 48dp, so the shape have to include the animation.</p> <p>This is the video when you can see what I try to get:...
The problem is that i can't put a shape behind my ImageView (that is a animation). The center of the ImageView have to be center-align with te shape. The shape size is 92dp and from my animation es 48dp, so the shape have to include the animation. This is the video when you can see what I try to get: Click Me This is m...
android|android-layout|android-studio|android-imageview|shapes
0
2016-04-20T11:21:55.827Z
2,016
4
11
2
2,014
1
472
53
5
2
true
false
false
false
false
false
zero
36,742,406
IONIC ANDROID - Barcode scanner app doesn't ask for camera permissions
<p>I have an app that reads QR codes. It's built on iOS and Android. On iOS works fine. My problems are in Android. When I tap the "scan" button nothing happens.</p> <p>If I add camera permissions from: Settings > My App > Camera, the app works but on every clean installation the app doesn't ask for camera permissions...
I have an app that reads QR codes. It's built on iOS and Android. On iOS works fine. My problems are in Android. When I tap the "scan" button nothing happens. If I add camera permissions from: Settings > My App > Camera, the app works but on every clean installation the app doesn't ask for camera permissions and barcod...
android|xcode|cordova|ionic-framework
0
2016-04-20T11:28:08.140Z
2,016
4
11
2
1,905
1
625
70
4
2
true
false
false
false
false
false
zero
36,742,483
How to pass image as url into arraylist using picaso library instead of drawable resource?
<p><strong>arr_title,arr_description,arr_img are the array list</strong></p> <pre><code> arr_title.add(title); arr_description.add(description); arr_img.add(R.drawable.ic_launcher); </code></pre> <p>arr_img , here takes a static image which is working fine . But , how to...
arr_title,arr_description,arr_img are the array list [CODE] arr_img , here takes a static image which is working fine . But , how to get it done dynamically from an image url , so that I get to fetch image from url and pass it into this arr_img , than just drawable image . I tried , using Picaso library , but I did not...
android|arraylist|android-arrayadapter|drawable|custom-lists
2
2016-04-20T11:31:19.923Z
2,016
4
11
2
1,893
4
438
90
5
2
true
false
false
false
false
false
low
36,742,526
how to Set forcefully back camera and disable front camera in android
<pre><code> Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE); intent.putExtra(MediaStore.EXTRA_OUTPUT, MediaStore.Images.Media.EXTERNAL_CONTENT_URI.toString()); intent.putExtra("android.intent.extras.CAMERA_FACING", 0); // ******** code for crop image ...
[CODE] this code i have use for Open Camera : [CODE] this code for return data of bitmap please tell me how to set Camera always back not always front in android when i Open Camera please suggest me Solution for this .
android
1
2016-04-20T11:32:57.693Z
2,016
4
11
2
6,406
2
218
69
1
2
true
false
true
false
false
false
low
36,742,566
Making a calendar with a GridView
<p>I have some code that I made to display a calendar using a <code>GridView</code> and I want to know if there is either an easier method of making a calendar, or if there is a way that I can change the appearance of a single item in the <code>GridView</code> for the current day. Code is below.</p> <pre><code>TextVie...
I have some code that I made to display a calendar using a GridView and I want to know if there is either an easier method of making a calendar, or if there is a way that I can change the appearance of a single item in the GridView for the current day. Code is below. [CODE]
java|android|gridview|calendar
1
2016-04-20T11:35:01.143Z
2,016
4
11
2
4,621
1
274
33
4
1
true
false
true
false
false
false
low
36,742,573
Anonymous Error in RecyclerView
<p>I am populating <code>List&lt;Object&gt;</code> data which is retrieving from Local DB.It is well populated in Initial Time. I am having 13 tabs here.Depends on Category I am populating Products.</p> <p>I'm moving towards Right like Backery <code>--&gt;</code> Bowl<code>--&gt;</code>Box<code>--&gt;</code> Cups ===...
I am populating List<Object> data which is retrieving from Local DB.It is well populated in Initial Time. I am having 13 tabs here.Depends on Category I am populating Products. I'm moving towards Right like Backery --> Bowl --> Box --> Cups ===> Everything is fine. (Like Image 1) But when I swipe towards Backery <-- Bo...
android|android-recyclerview
0
2016-04-20T11:35:13.783Z
2,016
4
11
2
69
1
539
31
2
1
true
false
false
false
false
false
zero
36,742,646
How To Add data to another table only if a checkbox is checked using Sqlite database?- android studio
<p>I have made a register activity for a student attendance app, where the faculty is registered only if the "faculty checkbox" is checked. The faculty info should be added to a faculty table. If the checkbox is not checked then by default, the info will be entered to student table. So 1 database and 2 tables.</p> <p>...
I have made a register activity for a student attendance app, where the faculty is registered only if the "faculty checkbox" is checked. The faculty info should be added to a faculty table. If the checkbox is not checked then by default, the info will be entered to student table. So 1 database and 2 tables. This is the...
java|android|windows|android-studio
0
2016-04-20T11:38:58.003Z
2,016
4
11
2
796
2
579
101
4
2
true
false
false
false
false
false
zero
36,742,657
android.view.InflateException: Binary XML file line X Error inflating class Y
<p>I am getting 3 different crashes on Crashlytics. The crashes are appearing on both Android 4 and 5. Also there is no spesific device. The following 3 crashes don't appear all the time, in fact only 6 different users experienced them (among +1M user)</p> <pre><code>Fatal Exception: java.lang.RuntimeException Unable ...
I am getting 3 different crashes on Crashlytics. The crashes are appearing on both Android 4 and 5. Also there is no spesific device. The following 3 crashes don't appear all the time, in fact only 6 different users experienced them (among +1M user) [CODE] - [CODE] - [CODE] As other answers suggested I checked memory, ...
android
0
2016-04-20T11:39:19.210Z
2,016
4
11
2
989
0
498
77
1
5
true
true
false
false
false
false
zero
36,742,685
Getting Permission Variable
<p>I am currently following the tutorial on how to get permission in Android. Now, in the Android tutorial, it says to type the following:</p> <pre><code>if (ContextCompat.checkSelfPermission(MainActivity.this, Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED) { if (ActivityCo...
I am currently following the tutorial on how to get permission in Android. Now, in the Android tutorial, it says to type the following: [CODE] However, I do not get what MY_PERMISSIONS_REQUEST_ACCESS_FINE_LOCATION is supposed to do. It says it should be an app defined int constant. I have put in placebo number 1 to pas...
android|permissions
0
2016-04-20T11:40:28.670Z
2,016
4
11
2
811
1
496
27
2
1
true
false
false
false
false
false
zero
36,742,835
AppWidgetProvider takes resources from wrong package (Lollipop only)
<p>I have an app widget that shows an image.</p> <pre><code>Uri uri = Uri.parse("android.resource://" + packageName + "/" + resId); rv = new RemoteViews(defaultPackageName, widgetLayout); rv.setImageViewUri(R.id.image, uri); </code></pre> <p>Images are stored in different packages under <code>drawable</code> director...
I have an app widget that shows an image. [CODE] Images are stored in different packages under drawable directory, i am getting its resource id like so: [CODE] Everything works correctly until the image_1 is an xml bitmap, that has an android:src tag: [CODE] After a long research, what i found out and what i have tried...
android|android-5.0-lollipop|android-appwidget|android-5.1.1-lollipop|appwidgetprovider
0
2016-04-20T11:47:25.773Z
2,016
4
11
2
96
1
1,110
68
5
5
true
false
false
false
false
false
zero
36,742,838
android 5.1 do not ask for security warning for camera access
<p>I had developed app that is working fine with other version of android except android 5.1 "LG thing".</p> <p>I created my own camera activity in app and while running app on other versions of android, It ask for Security warning pop up on screen.</p> <p>If Pressed allow app shows camera....</p> <p>In android 5.1 ...
I had developed app that is working fine with other version of android except android 5.1 "LG thing". I created my own camera activity in app and while running app on other versions of android, It ask for Security warning pop up on screen. If Pressed allow app shows camera.... In android 5.1 the security pop up never s...
android|android-camera|android-permissions|android-security
1
2016-04-20T11:47:39.433Z
2,016
4
11
2
442
0
406
61
4
1
true
true
false
false
false
false
low
36,742,872
Android PreferencesActivity showing previous fragment
<p>I created a Preferences screen by extending PreferencesActivity as per the example <a href="http://developer.android.com/reference/android/preference/PreferenceActivity.html" rel="nofollow noreferrer">here</a>.</p> <p>The first screen appears okay but when I click to see the second screen I see them one on top of t...
I created a Preferences screen by extending PreferencesActivity as per the example here . The first screen appears okay but when I click to see the second screen I see them one on top of the other. So, taking advice from a number of other thread, I changed the background of the second fragment to black. This worked in ...
android|android-preferences
1
2016-04-20T11:49:04.537Z
2,016
4
11
2
118
1
652
53
2
3
true
false
false
false
false
false
low
36,742,955
osmdroid: How to load offline map from sdcard to MapView
<p>I have generated a set of maps, zipped it under name <code>tiles.zip</code> and copied in <code>sdcard/osmdroid</code> folder. Here are <code>atlas</code> setting and folder content.</p> <p><a href="https://i.stack.imgur.com/792eg.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/792eg.jpg" alt="en...
I have generated a set of maps, zipped it under name tiles.zip and copied in sdcard/osmdroid folder. Here are atlas setting and folder content. I used the example project here . It runs without error but my maps are not presented in MapView . Here is MainActivity and layout: [CODE] and [CODE] As I tested, if I unzip th...
android|osmdroid
0
2016-04-20T11:52:57.753Z
2,016
4
11
2
1,494
1
435
56
2
2
true
false
false
false
false
false
zero
36,742,968
Codename one Geofencing not firing
<p>I'm trying to implement geofencing to my codename one app. I do everything as given in the example on github but my entered and exit methods don't seem to be firing. I included GPlayServices in the build hints as well as android.playService.* and ios.locationUsageDescription.</p> <p>I've tried testing it with both ...
I'm trying to implement geofencing to my codename one app. I do everything as given in the example on github but my entered and exit methods don't seem to be firing. I included GPlayServices in the build hints as well as android.playService.* and ios.locationUsageDescription. I've tried testing it with both and ios and...
android|ios|location|codenameone|geofencing
1
2016-04-20T11:53:40.293Z
2,016
4
11
2
133
1
410
34
5
2
true
false
false
false
false
false
low
36,743,140
Calling setContentRotation by 90 degrees on IconGenerator shows inconsitent apperance with extra padding and clipping of contents
<p>im trying to display a marker with custom content view, to the right hand side of the map location. Im using android google map utility library to create a marker icon from custom content view using the icongenerator class.</p> <p>As suggested in <a href="http://googlemaps.github.io/android-maps-utils/" rel="nofoll...
im trying to display a marker with custom content view, to the right hand side of the map location. Im using android google map utility library to create a marker icon from custom content view using the icongenerator class. As suggested in documentation , the correct way to get the marker to right hand side of the loca...
android|google-maps|google-maps-api-3|google-maps-markers
3
2016-04-20T12:00:54.450Z
2,016
4
12
2
65
0
1,032
129
4
0
false
true
false
false
false
false
low
36,743,158
How to access and update Sqlite db file stored locally[asset folder] in project file using cordova
<p>I have a <code>sqlite db</code> file stored in <code>assets</code> folder of my <code>cordova</code> project ,which i want to access inside my application and also want to update the db.</p> <p>So far i had a look on i found there <code>cordova sqlite plug-in</code> which can create a sqlite db and update it,but no...
I have a sqlite db file stored in assets folder of my cordova project ,which i want to access inside my application and also want to update the db. So far i had a look on i found there cordova sqlite plug-in which can create a sqlite db and update it,but not sure how to update a existing db file from asset folder in co...
android|cordova|android-sqlite
0
2016-04-20T12:01:48.133Z
2,016
4
12
2
2,802
1
405
98
3
1
true
false
true
false
false
false
zero
36,743,166
I can´t obtain actual path android file
<p>I am trying to get the full path of a file with i pick up with android browser. Therefore, i use the following code:</p> <pre><code>private void showFileChooser() { Intent intent = new Intent(Intent.ACTION_GET_CONTENT); intent.setType("*/*"); intent.addCategory(Intent.CATEGORY_OPENABLE); ...
I am trying to get the full path of a file with i pick up with android browser. Therefore, i use the following code: [CODE] However, i don´t get the file path: [CODE] I don´t know what is happening.
android|path
0
2016-04-20T12:02:09.443Z
2,016
4
12
2
67
1
198
39
2
2
true
false
false
false
false
false
zero
36,743,215
how to call a fragment from dialog box in android?
<p>i want to know, how to call a fragment from dialog box click action in android. The dialog box is in another activity.</p> <p>below is the dialog box section code</p> <pre><code>public static void Bookingconfirm(final Context _context, String title,String strMessage) { final Dialog dialog1 = new Dialog(_contex...
i want to know, how to call a fragment from dialog box click action in android. The dialog box is in another activity. below is the dialog box section code [CODE]
android|dialog|fragment
-2
2016-04-20T12:03:42.277Z
2,016
4
12
2
1,116
3
162
50
3
1
true
false
false
false
false
true
negative
36,743,243
android java.lang.AssertionError: java.lang.NoSuchMethodException - Proguard
<p>I am getting my app crashed with this error, in the released version of app. Its working fine in debug mode </p> <pre><code>Process: com.app, PID: 13162 java.lang.AssertionError: java.lang.NoSuchMethodException: &lt;init&gt; [interface twitter4j.conf.Configuration, interface twitter4j.a.b] ...
I am getting my app crashed with this error, in the released version of app. Its working fine in debug mode [CODE] The error seems to be generated because of proguard file Here is the proguard-rules.pro as follows - [CODE] Please let me know, what am I doing wrong, and how to fix.
android|twitter|crash|android-proguard
7
2016-04-20T12:04:50.840Z
2,016
4
12
2
1,134
2
281
76
4
2
true
false
false
false
false
false
medium
36,743,253
How to set hight programmatically of ListView in ScrollView where row contains ExpandableTextView with hight wrap_content
<p>In row.xml </p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"&gt; &lt;com.sample.utils.ExpandableTextView android...
In row.xml [CODE] For calculating listview hight programeticaly in Activity Class: [CODE] I am using ListView in between ScrollView so i have to set hight programmatically of ListView for full activity scrolling. But when the ExpandableTextView of row is expand then lower row are goes to hidden. how to calculate and se...
android|listview
0
2016-04-20T12:05:19.477Z
2,016
4
12
2
147
1
382
121
2
2
true
false
false
false
false
false
zero
36,743,303
Facebook audience network creation stopped in Update Basic Settings
<p>I have been following Quick Start of Audience Network in Facebook developers to create ads. In the step <em>Update Basic Settings</em>, it shows </p> <blockquote> <p>Update Basic Settings For mobile apps: select Settings and add your Bundle ID (for iOS app) or Package Name (for Android app). For mobile websites...
I have been following Quick Start of Audience Network in Facebook developers to create ads. In the step Update Basic Settings , it shows Update Basic Settings For mobile apps: select Settings and add your Bundle ID (for iOS app) or Package Name (for Android app). For mobile websites: in the Audience Network Mobile Web ...
android|facebook
2
2016-04-20T12:07:34.053Z
2,016
4
12
2
206
0
1,127
67
2
0
false
true
false
false
false
false
low
36,743,311
Twitter OAuth Rest Api Status Parameter '@' symbol
<p>I am using twitter rest api which is (<a href="https://api.twitter.com/1.1/">https://api.twitter.com/1.1/</a>). </p> <p>First of all I used signpost library to generate oauth_signature. it is working well.</p> <p>Upload Status endpoint (<a href="https://api.twitter.com/1.1/statuses/upload.json">https://api.twitter...
I am using twitter rest api which is ( https://api.twitter.com/1.1/ ). First of all I used signpost library to generate oauth_signature. it is working well. Upload Status endpoint ( https://api.twitter.com/1.1/statuses/upload.json ) is working well, but if status parameter contains '@' symbol, that is not working. So h...
android|twitter|oauth|retrofit2|twitter-rest-api
7
2016-04-20T12:07:58.533Z
2,016
4
12
2
883
2
766
50
5
7
true
false
false
false
false
false
medium
36,743,323
How to handle pagination with retrofit?
<p>I have an API response that I need to show on my listView. At the beginning It starts off with 15 items, and I want to add more as the user scrolls down and reaches the end of the list. What would be the best strategy to page through the API automatically with Retrofit, so that all available data is downloaded by de...
I have an API response that I need to show on my listView. At the beginning It starts off with 15 items, and I want to add more as the user scrolls down and reaches the end of the list. What would be the best strategy to page through the API automatically with Retrofit, so that all available data is downloaded by defau...
android|retrofit|api-design
1
2016-04-20T12:08:36.837Z
2,016
4
12
2
1,775
0
536
39
3
3
true
true
false
false
false
false
low
36,743,381
ViewFlipper or ImageView for slideshow animation?
<p>I am trying to replicate this <a href="https://dribbble.com/shots/1815592-Breather-2-0-OnBoarding" rel="nofollow">Prototype</a> I am currently using a view Flipper for the background to move (animate) but i am able to use the animate on the first image but not as the same in others images.</p> <p>When the Slideshow...
I am trying to replicate this Prototype I am currently using a view Flipper for the background to move (animate) but i am able to use the animate on the first image but not as the same in others images. When the Slideshow starts again, the first image does not animate only. Is it because i am animating it in OnCreate()...
android|animation|imageview|slideshow|viewflipper
1
2016-04-20T12:11:04.873Z
2,016
4
12
2
572
0
397
49
5
1
true
true
false
false
false
false
low
36,743,423
Android studio not working while gradle does not compile and has error
<p>I have tried the ways of changing the extension, but it could not solve the problem too, is there any way else?</p> <pre><code>:app:mergeDebugResources :app:prepareComAndroidSupportDesign2330Library :app:prepareComAndroidSupportRecyclerviewV72330Library :app:prepareComAndroidSupportAnimatedVectorDrawable2330Libr...
I have tried the ways of changing the extension, but it could not solve the problem too, is there any way else? [CODE] Some file crunching failed, see logs for details [CODE]
android|android-studio|logging|android-gradle-plugin|build.gradle
1
2016-04-20T12:12:55.610Z
2,016
4
12
2
418
1
174
70
5
2
true
false
false
false
false
false
low
36,743,497
Can't find Closeable for StrictMode
<p>I'm going through the test procedures from Android and while I was testing with StrictMode I got a warning about a resource leak at my camera, but I can't seem to find where. Here is the warning:</p> <pre><code>A resource was acquired at attached stack trace but never released. See java.io.Closeable for information...
I'm going through the test procedures from Android and while I was testing with StrictMode I got a warning about a resource leak at my camera, but I can't seem to find where. Here is the warning: [CODE] I know it has something to do with the camera, but I'm not sure if it's the CameraView or the CameraActivity, so here...
java|android|android-camera|resource-leak|android-strictmode
0
2016-04-20T12:15:38.170Z
2,016
4
12
2
712
1
993
35
5
3
true
false
false
false
false
false
zero
36,743,575
Android: in drawable xml, layer-list, why does the width for item not work in API 19 or lower?
<pre><code>&lt;layer-list xmlns:android="http://schemas.android.com/apk/res/android" &gt; &lt;!--width here doesn't work--&gt; &lt;item android:gravity="left" android:width="10dp" &gt; &lt;shape android:shape="rectangle" &gt; &lt;stroke android:width="1dp" and...
[CODE] Here is the example. It works in Lollipop or higher, but it doesn't work in Kitkat, the width is being ignored, the rectangle will fill the whole view. I also tried to remove the second item, only leaves the first item, the width is still being ignored. The ImageView uses this drawable: [CODE] How to solve this?
android|xml-drawable
3
2016-04-20T12:18:39.230Z
2,016
4
12
2
1,973
1
320
94
2
2
true
false
false
false
false
false
low
36,743,592
Android capturing a new image and setting it to imageview. causes Exception
<p>Hai i am working on an Application where the user have to upload a image either by picking an image from gallery or taking a new image from camera.When testing the app works fine when i pick an image from gallery.but when i capture a new image using camera the app crashes with exception <strong>caused by: java.lang...
Hai i am working on an Application where the user have to upload a image either by picking an image from gallery or taking a new image from camera.When testing the app works fine when i pick an image from gallery.but when i capture a new image using camera the app crashes with exception caused by: java.lang.nullpointer...
android
0
2016-04-20T12:19:22.197Z
2,016
4
12
2
49
0
570
75
1
4
true
true
false
false
false
false
zero
36,743,610
Black screen on chrome for android html5 video
<p><strong>Problem:</strong> The videos are placed in my site: <a href="http://dege.cloud/">http://dege.cloud/</a> (click on one of the pictures) When I load the page on my desktop or on firefox mobile everything is fine. When the same page is loaded on chrome for android the video is black without controls, the videos...
Problem: The videos are placed in my site: http://dege.cloud/ (click on one of the pictures) When I load the page on my desktop or on firefox mobile everything is fine. When the same page is loaded on chrome for android the video is black without controls, the videos don't have audio, so I don't know if it plays. Expec...
android|html|google-chrome|video|html5-video
9
2016-04-20T12:19:54.317Z
2,016
4
12
2
5,204
1
745
46
5
1
true
false
true
false
false
false
medium
36,743,643
ImageView Size Changes When Swiping Through Images
<p>I have a grid view that shows pictures from Flickr and when an image is selected, a new activity with the large version of the image is shown. The user can then swipe through the images. I'm loading the images with Glide and the problem I'm having is that once I swipe to a different sized image, such as a portrait i...
I have a grid view that shows pictures from Flickr and when an image is selected, a new activity with the large version of the image is shown. The user can then swipe through the images. I'm loading the images with Glide and the problem I'm having is that once I swipe to a different sized image, such as a portrait imag...
android|image|imageview|android-glide
0
2016-04-20T12:21:15.407Z
2,016
4
12
2
174
0
455
50
4
1
true
true
false
false
false
false
zero
36,743,751
Do custom fonts work for formatted string?
<p>I have followed Sven's example for custom font for formattedstrings here: <a href="https://github.com/smstuebe/xamarin-forms-formattedtext" rel="nofollow">https://github.com/smstuebe/xamarin-forms-formattedtext</a></p> <p>However, I'm running into a strange issue where the tap gestures on my view don't work if I im...
I have followed Sven's example for custom font for formattedstrings here: https://github.com/smstuebe/xamarin-forms-formattedtext However, I'm running into a strange issue where the tap gestures on my view don't work if I implement the UIFormattedStringLabel(). This is super strange because if I use a regular label tha...
c#|xamarin|xamarin.android|xamarin.forms
1
2016-04-20T12:25:33.907Z
2,016
4
12
2
942
2
673
42
4
2
true
false
false
false
false
false
low
36,744,077
ImageView in a ScrollView
<p>I have a bit of a weird issue. I have an <code>ImageView</code> that is wrapped in a <code>NestedScrollView</code>.</p> <p>Layout is as follows:</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;android.support.v4.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android" ...
I have a bit of a weird issue. I have an ImageView that is wrapped in a NestedScrollView . Layout is as follows: [CODE] EDIT: [CODE] My issue is that on a device with 4.2.2 installed the image is flush with the toolbar (which is what I want) BUT on a device with 4.1.1 the image has some sort of padding from somewhere t...
android|android-layout|android-xml
0
2016-04-20T12:38:45.087Z
2,016
4
12
2
526
1
817
25
3
2
true
false
false
false
false
false
zero
36,744,092
Login button in android application, correct comunciation with server
<p>I'm trying to make a login button work, my aim is to : send web request to server with username and password(in md5), receive the response from the server(the response is in xml), save the response to a file or something and use it for the next requests. My code is similar to this : </p> <pre><code>Button login_but...
I'm trying to make a login button work, my aim is to : send web request to server with username and password(in md5), receive the response from the server(the response is in xml), save the response to a file or something and use it for the next requests. My code is similar to this : [CODE] My problem appears to be in t...
android|xml|authentication|android-asynctask|webresponse
0
2016-04-20T12:39:38.760Z
2,016
4
12
2
74
1
467
69
5
3
true
false
false
false
false
false
zero
36,744,108
how to pass function to another class and call if from there in android studio?
<p>i want to have a function in one class, that does an animation and then notify''s a function that is passed to it which is in another class. how do i do that ?</p> <p>exapmle: in my scanning barcode activity i have: </p> <pre><code> public void callbackFNC () { //this is the callback bunction } </code></pre>...
i want to have a function in one class, that does an animation and then notify''s a function that is passed to it which is in another class. how do i do that ? exapmle: in my scanning barcode activity i have: [CODE] from scanning barcode activity i'm calling a function that is in another activity like (i want to pass t...
android|android-studio
0
2016-04-20T12:40:13.097Z
2,016
4
12
2
462
1
659
79
2
3
true
false
false
false
false
false
zero
36,744,226
set variable and get value on different task
<p>So I have this task on Gradle:</p> <pre><code>task generateLibraryJar &lt;&lt; { exec { workingDir "library/" commandLine 'jar' , '-cvf', 'myLibrary.jar', '.' } } </code></pre> <p>And I also have the following android config:</p> <pre><code>android { (...) buildTypes { deb...
So I have this task on Gradle: [CODE] And I also have the following android config: [CODE] I want gradle to generate a jar with a different name depending on the build type. i.e. I want it to generate myLibrary-release.jar for release and myLibrary-debug.jar for debug. Is there a way to get the current build type on th...
java|android|gradle
1
2016-04-20T12:45:03.090Z
2,016
4
12
2
48
0
396
44
3
2
true
true
false
false
false
false
low
36,744,247
Android: Using an XML configuration file at startup, is it possible?
<p>So I have this Java framework I made a while back while working with Swing apps. It's one of those things that was more of an academic exercise of "can I really do this?" than something that I've used a whole lot. Basically, it works like this:</p> <ol> <li><p>Reads an XML configuration file at startup with informa...
So I have this Java framework I made a while back while working with Swing apps. It's one of those things that was more of an academic exercise of "can I really do this?" than something that I've used a whole lot. Basically, it works like this: Reads an XML configuration file at startup with information, including pack...
java|android|xml
0
2016-04-20T12:45:54.700Z
2,016
4
12
2
73
1
2,121
68
3
0
false
false
false
false
false
false
zero
36,744,380
How to use android as ANCS content provider?
<p>I'm trying to demo android side service (content provider in ANCS lingo), that communicates with embedded device that supports Apple Notification Service (ANCS) notification consumer. Reason for this is, that the embedded device only supports ANCS. As the ANCS BLE side things are publiced by Apple, this should be po...
I'm trying to demo android side service (content provider in ANCS lingo), that communicates with embedded device that supports Apple Notification Service (ANCS) notification consumer. Reason for this is, that the embedded device only supports ANCS. As the ANCS BLE side things are publiced by Apple, this should be possi...
android|bluetooth-lowenergy|ancs
0
2016-04-20T12:50:34.807Z
2,016
4
12
2
943
1
1,264
44
3
0
false
false
false
false
false
false
zero
36,744,381
Android keep Orientation from app Start
<p>Is it somehow possible to set the orientation of the app depending on which orientation was used when the app was started?</p> <p><strong>Example</strong></p> <p>By that i mean lets say user started my app in Landscape. O would like it to save that state and dont let the user change the orientation by turrning the...
Is it somehow possible to set the orientation of the app depending on which orientation was used when the app was started? Example By that i mean lets say user started my app in Landscape. O would like it to save that state and dont let the user change the orientation by turrning the phone ( I want to lock it, until us...
android|screen-orientation
0
2016-04-20T12:50:37.793Z
2,016
4
12
2
128
2
616
39
2
1
true
false
false
false
false
false
zero
36,744,428
View Pager in the Dialog Not working
<p>When I'm trying to put view pager in dialog it give Exception like <strong>IllegalArgumentException</strong> .</p> <p><em>this is the exception I found:</em></p> <pre><code> 04-20 17:54:20.579 21212-21212/com.example.user.sampleproject E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.user.sampleproje...
When I'm trying to put view pager in dialog it give Exception like IllegalArgumentException . this is the exception I found: [CODE] android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1059) below is the code I am using where DialogWithPager implements AppCompatActivity. [CODE]
android|android-fragments|android-studio|android-viewpager
1
2016-04-20T12:53:08.983Z
2,016
4
12
2
319
1
301
36
4
2
true
false
false
false
false
false
low
36,744,556
Android ObjectAnimator: Padding after scale animation
<p>I have a problem with scaleX and scaleY animations using ObjectAnimator. </p> <p>At the end of animation, the Drawable inside is resized but not the size of the border of the ImageView.</p> <p>Schema of my problem : <a href="http://i.stack.imgur.com/9N9yM.png" rel="nofollow">click here</a></p> <p><strong>XML Imag...
I have a problem with scaleX and scaleY animations using ObjectAnimator. At the end of animation, the Drawable inside is resized but not the size of the border of the ImageView. Schema of my problem : click here XML ImageView code [CODE] Animation code: [CODE] I think my problem is here : Before the animation : avenger...
android|animation|imageview|scale
1
2016-04-20T12:57:55.140Z
2,016
4
12
2
1,260
1
434
53
4
2
true
false
false
false
false
false
low
36,744,720
how to copy files from android to windows share using python?
<p>Im trying to copy some files to and from a windows share. I am using python 2.7 and the <a href="https://pythonhosted.org/pysmb/api/smb_SMBConnection.html" rel="nofollow" title="pysmb">pysmb library</a>. This works fine with win7, but not with android. I build my connection over VPN with <code>SMBConnection</code>. ...
Im trying to copy some files to and from a windows share. I am using python 2.7 and the pysmb library . This works fine with win7, but not with android. I build my connection over VPN with SMBConnection . listShares and listPath is working. Under win7 there is no problem using also os.path.isdir or shutil.copyfile . Bu...
android|python|smb
0
2016-04-20T13:03:51.550Z
2,016
4
13
2
583
1
593
61
3
2
true
false
false
false
false
false
zero
36,744,782
Conversion buffer overflow when saving updated XML to file
<pre><code>&lt;?xml version='1.0' encoding='ISO-8859-1' standalone='yes'?&gt; &lt;Collection&gt; &lt;Book Id='1' ISBN='1-100000ABC-200'&gt; &lt;Title&gt;Principle of Relativity&lt;/Title&gt; &lt;/Book&gt; &lt;/Collection&gt; </code></pre> <p>Whenever I want to save my updated XML file in the app directory which is <c...
[CODE] Whenever I want to save my updated XML file in the app directory which is /data/data/App17.App17/files an exception occurs which is System.ArgumentException: Conversion buffer overflow. Why does this exception is occur and how can I solve it? [CODE]
android|file|xamarin|xamarin.android|filepath
0
2016-04-20T13:06:02.377Z
2,016
4
13
2
130
1
256
58
5
2
true
false
false
false
false
false
zero
36,744,845
Data Changes in android wear app not reflecting in mobile app
<p>I have added increment counter in wear module and trying to pass the incremented value to the mobile module. Even though , I receive "successfully sent" response from the wear module(through google API sendmessage() called inside a service), the message is not being received by Listener service(extends Wearable list...
I have added increment counter in wear module and trying to pass the incremented value to the mobile module. Even though , I receive "successfully sent" response from the wear module(through google API sendmessage() called inside a service), the message is not being received by Listener service(extends Wearable listene...
android|wear-os|android-wear-data-api
2
2016-04-20T13:08:12.363Z
2,016
4
13
2
191
0
1,085
61
3
1
true
true
false
false
false
false
low
36,744,846
EditText in ListView have repeating cursor position android
<p>I have a listview in which it has an edittext. When I click on first position of edittext and write something on that, the same text is written in another edittext of same field id of edittext in different position of the listview.</p> <p>I have been stuck in this for last 12 hours. I have tried to search every whe...
I have a listview in which it has an edittext. When I click on first position of edittext and write something on that, the same text is written in another edittext of same field id of edittext in different position of the listview. I have been stuck in this for last 12 hours. I have tried to search every where but I ha...
android
-1
2016-04-20T13:08:17.600Z
2,016
4
13
2
220
1
451
59
1
1
true
false
false
false
false
true
negative
36,744,869
Two Application's using sharedUserID - createPackageContext issue
<p>I have two separate applications. I would like appB to have access to the database within appA's code. I do not want to use a content provider in this instance.</p> <p>I have read the post on SO regarding this and followed the instructions (<a href="https://stackoverflow.com/questions/7053809/share-sqlite-database...
I have two separate applications. I would like appB to have access to the database within appA's code. I do not want to use a content provider in this instance. I have read the post on SO regarding this and followed the instructions ( Share SQLite database between 2 android apps? ). What I have done: The Android Manife...
android|shared-data
0
2016-04-20T13:09:00.947Z
2,016
4
13
2
3,040
1
1,332
65
2
4
true
false
true
false
false
false
zero
36,744,883
Up navigation key : NullPointerException Java Android
<p>i have an android application that i want to enable the up navigation key but the up key for my layout does not display and i get the following NullPointerException from it when i run:</p> <pre><code>04-20 16:06:48.722 2420-2420/spmrs.mari.com.marispmrs_api19 E/AndroidRuntime: FATAL EXCEPTION: main ...
i have an android application that i want to enable the up navigation key but the up key for my layout does not display and i get the following NullPointerException from it when i run: [CODE] Here is my AndroidManifest.xml' SmsActivity [CODE] And here is the SmsActivity codeblock which give me a null pointer exception:...
java|android
0
2016-04-20T13:09:33.520Z
2,016
4
13
2
117
2
405
53
2
3
true
false
false
false
false
false
zero
36,744,895
How to get file path , When uploading a file to server?
<p>I am developing a simple application in which user can upload his document to server. I am able to upload file to server but the problem i am getting is , when i am selecting file from this location <code>/storage/sdcard/sample.txt</code> ,i am able to upload but when i am selecting the file from different location ...
I am developing a simple application in which user can upload his document to server. I am able to upload file to server but the problem i am getting is , when i am selecting file from this location /storage/sdcard/sample.txt ,i am able to upload but when i am selecting the file from different location the file is not ...
android|android-asynctask|android-file
0
2016-04-20T13:10:04.090Z
2,016
4
13
2
1,779
3
497
55
3
2
true
false
false
false
false
false
zero
36,745,073
Android GCM received message always return null
<p>I am trying to do push notifications on android. At server site I am using asp. I can send and receive notifications but cant handle the message that I want to show in notification. Mesaage always returns null. Here is my manifest:</p> <pre><code>&lt;uses-permission android:name="android.permission.INTERNET" /&gt; ...
I am trying to do push notifications on android. At server site I am using asp. I can send and receive notifications but cant handle the message that I want to show in notification. Mesaage always returns null. Here is my manifest: [CODE] And there is my GcmIntentService [CODE]
android|push-notification|google-cloud-messaging
1
2016-04-20T13:16:39.573Z
2,016
4
13
2
950
1
278
47
3
2
true
false
false
false
false
false
low
36,745,074
Why my Activity which using a custom layout cant show?
<p>I am using Android Studio write a program for studying and I defined a custom layout extends Relativelayout like follow:</p> <pre><code>public class ClipLayout extends RelativeLayout { private Path clipPath; private int centerX, centerY; private float clipRadius; private int clipHeight; private ...
I am using Android Studio write a program for studying and I defined a custom layout extends Relativelayout like follow: [CODE] I crate a sample Activity in Android Studio,at beginning it worked.but after I use it in XML of the activity: [CODE] the screen show anything but blank.I can click button on toolbar of some co...
android|android-layout
0
2016-04-20T13:16:39.897Z
2,016
4
13
2
51
0
527
54
2
2
true
true
false
false
false
false
zero
36,745,252
Android login showing error
<p>I'm trying to make a login screen where if username is admin and password is admin, then it directs me to a new screen. When I try run it, it shows up with these errors</p> <blockquote> <p>Error:(35, 10) error: ')' expected</p> <p>Error:(37, 2) error: reached end of file while parsing</p> <p>Error:Execution failed f...
I'm trying to make a login screen where if username is admin and password is admin, then it directs me to a new screen. When I try run it, it shows up with these errors Error:(35, 10) error: ')' expected Error:(37, 2) error: reached end of file while parsing Error:Execution failed for task ':app:compileDebugJavaWithJav...
android
-7
2016-04-20T13:23:22.337Z
2,016
4
13
2
76
2
450
27
1
1
true
false
false
false
false
true
negative
36,745,309
Accessing resources in fragment background task returns illegalStateException often
<p>I am making an asynchronous network request to fetch reviews and trailers.</p> <p>If the reviews and trailers are present then they are set as TextView texts. If there are no reviews present then I am setting the textview test as <strong>"No reviews"(message_no_reviews)</strong> which is a predefined string variabl...
I am making an asynchronous network request to fetch reviews and trailers. If the reviews and trailers are present then they are set as TextView texts. If there are no reviews present then I am setting the textview test as "No reviews"(message_no_reviews) which is a predefined string variable in strings.xml file. Now i...
android|android-fragments
5
2016-04-20T13:25:19.903Z
2,016
4
13
2
3,284
3
806
83
2
3
true
false
true
false
false
false
low
36,745,432
How to modify a List value while debugging in IntelliJ
<p>I need to change a variable during debugging an application. Until now it was just basic variables which could directly be set. Now I need to clear an array so that <code>isEmpty()</code> returns true;</p> <pre><code>ArrayList&lt;String&gt; someList = new ArrayList&lt;String&gt;; someList.add("1"); ... if(someList....
I need to change a variable during debugging an application. Until now it was just basic variables which could directly be set. Now I need to clear an array so that isEmpty() returns true; [CODE] In the intellij debugger I see: [CODE] I used the 'setValue' method of the debugger and tried: new ArrayList<String>() or so...
debugging|android-studio|intellij-idea|intellij-14|android-studio-2.0
19
2016-04-20T13:30:27.937Z
2,016
4
13
2
16,479
3
685
54
5
3
true
false
true
true
true
false
medium
36,745,484
Xamarin visual studio filenotfoundException Windows.winmd
<p>I'm creating a Portable Xamarin.Forms project, and I just added some pages I had on my shared project fixing errors.</p> <p>After the edits, the project doesn't compile with the error</p> <blockquote> <p>Unexpected error - Please file a bug report at <a href="http://bugzilla.xamarin.com" rel="nofollow noreferrer">ht...
I'm creating a Portable Xamarin.Forms project, and I just added some pages I had on my shared project fixing errors. After the edits, the project doesn't compile with the error Unexpected error - Please file a bug report at http://bugzilla.xamarin.com . Reason: System.IO.FileNotFoundException: Could not load assembly &...
c#|xamarin|mono|xamarin.android
1
2016-04-20T13:32:03.963Z
2,016
4
13
2
1,581
0
930
57
4
0
false
true
false
false
false
false
low
36,745,588
Not visualizing byte[] in snackbar
<p>I am sending and receiving data from an android app to an arduino using the USB. The data I receive from the Arduino is in <code>byte[]</code> form:</p> <pre><code>UsbSerialInterface.UsbReadCallback mCallback = new UsbSerialInterface.UsbReadCallback() { //Defining a Callback which triggers whenever data is read. ...
I am sending and receiving data from an android app to an arduino using the USB. The data I receive from the Arduino is in byte[] form: [CODE] I am able to put all the data received in a TextView using the tvAppend method: [CODE] But I cannot manage to put display the data on a Snackbar ... [CODE] How can i transform t...
android|string|byte|charsequence
0
2016-04-20T13:36:18.810Z
2,016
4
13
2
65
1
466
34
4
3
true
false
false
false
false
false
zero
36,745,636
DataBinding Annotation @BindingAdapter for recyclerView doesn't fire
<p>I'm getting crazy testing a 2-way databinding recyclerView.</p> <p>I read lots of articles about and I'm trying to implement it through mvvm pattern.</p> <p>So I have:</p> <ul> <li><p>Model</p> <pre><code>public class User { private String firstName; private String lastName; public User(String firstN...
I'm getting crazy testing a 2-way databinding recyclerView. I read lots of articles about and I'm trying to implement it through mvvm pattern. So I have: Model [CODE] ViewModel [CODE] In the XML file after of course the proper init code in the head about databinding, I set the attribute for the RecyclerView [CODE] that...
android|data-binding|android-databinding
2
2016-04-20T13:37:54.663Z
2,016
4
13
2
680
0
493
68
3
4
true
true
false
false
false
false
low
36,745,651
How to show AlertDialog without closing ProgressDialog
<p>I have a <code>ProgressDialog</code> with Cancel <code>Button</code>. On click the <code>Button</code> I want to show an <code>AlertDialog</code>for confirmation. However, when the <code>AlertDialog</code> pops up the <code>ProgressDialog</code> is closed. I tried calling PD.hide() on click, then AD.dismiss() and PD...
I have a ProgressDialog with Cancel Button . On click the Button I want to show an AlertDialog for confirmation. However, when the AlertDialog pops up the ProgressDialog is closed. I tried calling PD.hide() on click, then AD.dismiss() and PD.show(), for the option of disallowing cancel. Can't retrieve the progress bar....
android
0
2016-04-20T13:38:37.340Z
2,016
4
13
2
117
1
546
54
1
1
true
false
false
false
false
false
zero
36,745,754
add prebuilt jar to AOSP
<p>I am trying to add a prebuilt jar to Android when I compile AOSP. The name of the jar is "nxpnfclib.jar" and I put it to AOSP/prebuilts/misc/common/nxp. I also write a Android.mk:</p> <pre><code>LOCAL_PATH:= $(call my-dir) include $(CLEAR_VARS) LOCAL_PREBUILT_JAVA_LIBRARIES := \ nxpnfclib$(COMMON_JAVA_PACKAGE...
I am trying to add a prebuilt jar to Android when I compile AOSP. The name of the jar is "nxpnfclib.jar" and I put it to AOSP/prebuilts/misc/common/nxp. I also write a Android.mk: [CODE] I want to use this jar in AOSP/packages/apps/Settings, so I add nxpnfclib to AOSP/packages/apps/Settings/Android.mk [CODE] However, w...
jar|android-source|android-proguard
7
2016-04-20T13:43:08.693Z
2,016
4
13
2
1,801
2
1,019
24
3
2
true
false
false
false
false
false
medium
36,745,800
How to update data in RecyclerView on android
<p>I want develop android application for one site. for load data i use <code>RecyclerView</code> and i want when user <strong>swipe</strong> <code>Recyclerview</code> update datas. i write this code, but i don't know write update code and use in <code>onRefresh</code> method !<br> <strong>My Adapter codes:</strong></p...
I want develop android application for one site. for load data i use RecyclerView and i want when user swipe Recyclerview update datas. i write this code, but i don't know write update code and use in onRefresh method ! My Adapter codes: [CODE] Main activity codes: [CODE] How can write update method in Adapter and use ...
android|android-recyclerview
1
2016-04-20T13:44:34.617Z
2,016
4
13
2
4,459
2
437
45
2
2
true
false
true
false
false
false
low
36,745,824
implementing tabs in a fragment amidst multiple fragments
<p>I have a sole activity for a lot of fragments. In one of the fragments, I must now have a few tabs inside. The ways I can think of doing it is are: </p> <p><strong>Solution 1 - Creating a new activity just for that, and then implementing ViewPager :</strong></p> <p>My main concern regarding that solution is this:...
I have a sole activity for a lot of fragments. In one of the fragments, I must now have a few tabs inside. The ways I can think of doing it is are: Solution 1 - Creating a new activity just for that, and then implementing ViewPager : My main concern regarding that solution is this: So far, on my Activity , I had the fo...
android|android-fragments|android-activity|tabs|fragment
2
2016-04-20T13:45:22.550Z
2,016
4
13
2
866
1
2,433
57
5
0
false
false
false
false
false
false
low
36,745,854
Android : Jetty's HttpClient not working with Https
<p>I am working on an Android project in which I am trying to connect <code>HttpClient</code> to an <code>Https</code> endpoint. For this, I found out that I had to add an <code>SSLContextFactory</code> while instantiating. After doing that, when I run the code, I get the an error mentioned below.</p> <p><strong>How c...
I am working on an Android project in which I am trying to connect HttpClient to an Https endpoint. For this, I found out that I had to add an SSLContextFactory while instantiating. After doing that, when I run the code, I get the an error mentioned below. How can I setup HttpClient to work with https? Error log : [COD...
java|android|ssl|jetty|cometd
0
2016-04-20T13:46:35.233Z
2,016
4
13
2
838
0
347
51
5
2
true
true
false
false
false
false
zero
36,746,046
How to make Android pathEffect to a SVG pattern
<p>For example, there is a picture that a line with some short line array on it.<br> <img src="https://i.stack.imgur.com/xAfyg.png" alt="enter image description here"><br> I know I can code it as this:</p> <pre><code>mPaint.setColor(context.getResources().getColor(R.color.MAIN_CONTOUR_LINE_YELLOW)); mPaint.setStyle(Pa...
For example, there is a picture that a line with some short line array on it. I know I can code it as this: [CODE] so we can see we have not actually compute where every short lines located at. BUT in a particular professional graphics software, picture output as svg and here is I open it as text [CODE] the <line> is m...
android|svg
0
2016-04-20T13:53:17.653Z
2,016
4
13
2
555
1
534
47
2
2
true
false
false
false
false
false
zero
36,746,197
How to properly parse and display json from a link in a parent json
<p>I am parsing this json:</p> <pre><code>[ { "title": American Government, "type": "Democracy", "independent": { "from": [ { "Britain" } ], "date": [ { "by": "Britain", "day_real": "http://example...
I am parsing this json: [CODE] The value of "day_real" leads to another json which looks like this: [CODE] My aim is to parse both json and display it in a recyclerview. These are my classes. MainActivity [CODE] GovnAdapter [CODE] The problem I am having with this code is getting the value of "from" to display. It just...
java|android|json|android-recyclerview
0
2016-04-20T13:59:50.190Z
2,016
4
13
2
66
2
560
67
4
4
true
false
false
false
false
false
zero
36,746,210
A better way to get a distance?
<p>I am currently writing a program that tries to measure the speed of a person walking, via GPS.</p> <pre><code> if (OldLocation != null) { OldLocation = NewLocation; NewLocation = lm.getLastKnownLocation(LocationManager.GPS_PROVIDER); } else { OldLocation = lm.getLastKnownLocation(Locat...
I am currently writing a program that tries to measure the speed of a person walking, via GPS. [CODE] Here, I am currently using Thread.sleep to 'stagger', or delay getting NewLocation after getting the OldLocation. However, I am using another system with mInterval: [CODE] ... to delay the entire sequence of the first....
android|time
0
2016-04-20T14:00:27.443Z
2,016
4
14
2
37
0
453
31
2
2
true
true
false
false
false
false
zero
36,746,354
How to pass value from non_activity to fragment?
<p>I want to pass a value from an <code>Activity</code> to a <code>Fragment</code> but my <code>Activity</code> doesn't have a layout. I have used a barcode scanner so I want to send scanned data to <code>Fragment</code> class but I am getting a null value error, so please help me out.</p> <pre><code>public class Sca...
I want to pass a value from an Activity to a Fragment but my Activity doesn't have a layout. I have used a barcode scanner so I want to send scanned data to Fragment class but I am getting a null value error, so please help me out. [CODE]
android
0
2016-04-20T14:06:08.423Z
2,016
4
14
2
71
1
238
48
1
1
true
false
false
false
false
false
zero
36,746,369
retrofit 2 multipart send only array file instead of part with array
<p>I'm trying to send a POST using multipart/form-data. I faced some problems, which were resolved at this forum, like extra quotes and how to send several files. But now, I would like to send my files with unique names inside of one array. I will attach two files to express better what I want to do.</p> <p>I'm receiv...
I'm trying to send a POST using multipart/form-data. I faced some problems, which were resolved at this forum, like extra quotes and how to send several files. But now, I would like to send my files with unique names inside of one array. I will attach two files to express better what I want to do. I'm receiving the fil...
android|rx-java|retrofit2
0
2016-04-20T14:06:37.287Z
2,016
4
14
2
4,125
1
546
68
3
1
true
false
true
false
false
false
zero
36,746,388
viewpager lagging when listview got too many items
<p>I'm using a viewpager (<a href="https://github.com/ogaclejapan/SmartTabLayout" rel="nofollow">SmartTabLayout</a>) with four tabs (fragments). In all four fragments i am using custom listviews. These listviews load images from sd card per item. I use <a href="https://github.com/nostra13/Android-Universal-Image-Loader...
I'm using a viewpager ( SmartTabLayout ) with four tabs (fragments). In all four fragments i am using custom listviews. These listviews load images from sd card per item. I use Nostra's universal image loader for that. Everything works fine that far. But when I increase the number of items in one of the aforementioned ...
android|performance|listview|android-viewpager|universal-image-loader
0
2016-04-20T14:07:12.737Z
2,016
4
14
2
798
2
586
50
5
3
true
false
false
false
false
false
zero
36,746,412
How to add image in android studio without following errors?
<p>When I try to insert any photo to the android studio. Following errors happen:</p> <ol> <li>Image shows blank</li> <li>Unable to resize</li> </ol> <p>So please help me! I am suffering from this type of thing from 2days. <a href="https://i.stack.imgur.com/UCfGa.png" rel="nofollow noreferrer"><img src="https://i.sta...
When I try to insert any photo to the android studio. Following errors happen: Image shows blank Unable to resize So please help me! I am suffering from this type of thing from 2days. The xml layout: [CODE]
java|android
0
2016-04-20T14:07:58.180Z
2,016
4
14
2
135
2
206
60
2
1
true
false
false
false
false
false
zero
36,746,445
Android - Take/Select picture and put it in the right imageview
<p><strong>Problem:</strong> The user may take/select up to 3 photos. I'm having trouble in figuring out how to fill the 3 cases; I'm not sure how I could do to retrieve the corresponding ImageView ID.</p> <p><a href="https://i.stack.imgur.com/5JIAK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5J...
Problem: The user may take/select up to 3 photos. I'm having trouble in figuring out how to fill the 3 cases; I'm not sure how I could do to retrieve the corresponding ImageView ID. I tried the putextra since I'm using Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE) , but it seems that it's not possible to ...
android|android-intent|camera
0
2016-04-20T14:09:08.003Z
2,016
4
14
2
104
2
1,059
63
3
3
true
false
false
false
false
false
zero
36,746,474
Unable to create directory: /sdcard/Downloads
<p>I am using DownloadManager class to download file and save it.</p> <pre><code>DownloadManager.Request request = new DownloadManager.Request(uri); request.setDestinationInExternalPublicDir(Environment.DIRECTORY_DOWNLOADS,"logo.jpg"); </code></pre> <p>I am getting "java.lang.IllegalStateException: Unable to create...
I am using DownloadManager class to download file and save it. [CODE] I am getting "java.lang.IllegalStateException: Unable to create directory: /sdcard/Download" runtime exception. I have searched all the possible solutions and not able to get the answer. Below is the full stack tracel . [CODE]
android|android-sdcard
2
2016-04-20T14:10:21.587Z
2,016
4
14
2
1,235
3
296
45
2
2
true
false
false
false
false
false
low
36,746,609
Timer with intent extras
<p>So in <code>activity A</code> I want to have <code>SeekBar</code> which sets it's time on <code>TextView</code> below it.</p> <p>That's done with this code:</p> <pre><code> textViewDisplaySekundiVisokogIntenziteta = (TextView) findViewById(R.id.textViewDisplaySekundiVisokogIntenziteta); seekBarIntervali...
So in activity A I want to have SeekBar which sets it's time on TextView below it. That's done with this code: [CODE] But i don't have actual timer TextView in this activity ( TextView that will decrease it's time every second), it's located in Activity B . I'm trying to pass it in that activity like this: [CODE] NOTE ...
java|android|timer
0
2016-04-20T14:14:53.377Z
2,016
4
14
2
39
1
565
24
3
4
true
false
false
false
false
false
zero
36,746,620
Proguard obfuscation issue on an android library project
<p>I need to delivery my code as a library. I've created it and now I need to obfuscate mainly all the code except the public classes that the final user of my library will need. </p> <p>My library has 2 packages:</p> <ul> <li><ol> <li>package <strong>com.xxx.xxx</strong> where is locate all the public classes.</li>...
I need to delivery my code as a library. I've created it and now I need to obfuscate mainly all the code except the public classes that the final user of my library will need. My library has 2 packages: package com.xxx.xxx where is locate all the public classes. package com.yyy.yyy where there are a lot classes that ha...
android|proguard
1
2016-04-20T14:15:14.840Z
2,016
4
14
2
514
0
1,071
56
2
2
true
true
false
false
false
false
low
36,746,632
Android - How can I write an ArrayList to a text file line by line and read it back?
<p>I'm very new to Android/Java programming (have some experience in VB and took some C++ classes in college many years ago but don't remember anything), so I apologize for the headache in advance.</p> <p>I'm using Android Studio and I've worked on this for a couple days now (lots of Google searches) and can't get any...
I'm very new to Android/Java programming (have some experience in VB and took some C++ classes in college many years ago but don't remember anything), so I apologize for the headache in advance. I'm using Android Studio and I've worked on this for a couple days now (lots of Google searches) and can't get anything to fu...
java|android|arraylist
1
2016-04-20T14:15:48.333Z
2,016
4
14
2
5,888
2
1,149
84
3
2
true
false
true
false
false
false
low
36,746,676
Inexpliccable Android activity resumption behaviour - activites restart instead of resuming under select circumstances
<p>I'm experiencing weird behaviour with my android activities in an app I'm working on. Sorry for the lengthy post, but I'm facing a very specific issue.</p> <p>Essentially, when I pause the activities manually by using the hardware buttons to put the phone to sleep or tab out of the app, it will resume the activity ...
I'm experiencing weird behaviour with my android activities in an app I'm working on. Sorry for the lengthy post, but I'm facing a very specific issue. Essentially, when I pause the activities manually by using the hardware buttons to put the phone to sleep or tab out of the app, it will resume the activity as intended...
java|android|xml
1
2016-04-20T14:17:39.223Z
2,016
4
14
2
32
0
2,102
118
3
1
true
true
false
false
false
false
low
36,746,707
Adding animation to textview child of listview in a row
<p>I have a listview containing 10 rows. Each row has a textview and when I try to add a fade_out animation on the textview itself, animations only happen to listviews last item. I want to do it on all child textview. </p> <pre><code>@Override public View getView(int position, View convertView, ViewGroup parent) {...
I have a listview containing 10 rows. Each row has a textview and when I try to add a fade_out animation on the textview itself, animations only happen to listviews last item. I want to do it on all child textview. [CODE] and here I want to add animation [CODE]
java|android|listview
0
2016-04-20T14:18:39.297Z
2,016
4
14
2
68
1
261
55
3
2
true
false
false
false
false
false
zero
36,746,788
Text gets cut off in tablayout tab
<p>I'm using a tablayout in my android app that inflates custom tabs and set them up with icons. The text of one of the tabs gets cut off because of the lack of space. I have to make the text really small to display is fully. Here's how my tablayout is setup.</p> <pre><code> &lt;android.support.design.widget.Ta...
I'm using a tablayout in my android app that inflates custom tabs and set them up with icons. The text of one of the tabs gets cut off because of the lack of space. I have to make the text really small to display is fully. Here's how my tablayout is setup. [CODE] The custom tab layout looks like this: [CODE] and here's...
android|tabs|android-tablayout
2
2016-04-20T14:21:28.173Z
2,016
4
14
2
3,043
2
587
34
3
3
true
false
true
false
false
false
low
36,746,904
Android linker: undefined reference to bsd_signal
<p>I'm running <code>gradlew</code> to compile an Android app that has a static lib dependency. Somehow, I have an undefined reference to <code>bsd_signal</code>.</p> <p>I was able to compile this app with gradle 1.X, but I've been obliged to switch to gradle 2.10 and to drop my <code>Android.mk</code> file in favour ...
I'm running gradlew to compile an Android app that has a static lib dependency. Somehow, I have an undefined reference to bsd_signal . I was able to compile this app with gradle 1.X, but I've been obliged to switch to gradle 2.10 and to drop my Android.mk file in favour of putting more build instruction into my gradle....
android|android-ndk|static-libraries|build.gradle
7
2016-04-20T14:25:32.027Z
2,016
4
14
2
5,191
2
723
49
4
2
true
false
true
false
false
false
medium
36,746,957
ImageView With Button inside
<p>I want to do the imageView layout with the button to edit photo inside.</p> <p><a href="https://i.stack.imgur.com/GhYfw.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/GhYfw.png" alt="enter image description here"></a></p> <p>I think to put image as imageView background but i don´t know how to d...
I want to do the imageView layout with the button to edit photo inside. I think to put image as imageView background but i don´t know how to do the semicircle transparency and set the icon. Any ideas? UPDATE Now i have this. [CODE] Can i do the imageButtons background as a semicircular shape?
android|layout|imageview|profile
-1
2016-04-20T14:27:36.567Z
2,016
4
14
2
931
1
293
28
4
1
true
false
false
false
false
true
negative
36,747,012
How to use a locally known android phone brand for app development?
<p>i know it might be the same as <a href="https://stackoverflow.com/questions/3490804/can-i-use-any-android-phone-for-application-development">this</a> question. i am from the philippines as well but the phone mentioned in that link is a samsung which is an internationally well-known brand and i know that adb supports...
i know it might be the same as this question. i am from the philippines as well but the phone mentioned in that link is a samsung which is an internationally well-known brand and i know that adb supports that brand. what i am planning and really want to buy is this locally known phone. it got a really nice specs but i ...
android|android-studio
-5
2016-04-20T14:29:31.330Z
2,016
4
14
2
116
1
822
67
2
0
false
false
false
false
false
true
negative
36,747,129
How To Install Google Play Services Through ADB cmd line Step by Step
<p>Good day, I was in the middle of running my application and I have <code>Google Map</code> included with it. I attempt to install <code>Google Play Store</code> but I failed, on Google's provided emulator, so instal <code>Genymotion</code>. And I do this things based on <code>Youtube</code> <a href="https://www.yout...
Good day, I was in the middle of running my application and I have Google Map included with it. I attempt to install Google Play Store but I failed, on Google's provided emulator, so instal Genymotion . And I do this things based on Youtube tutorial . Is this the right procedure of installing? Setp 1 : Download the fol...
android|google-maps|google-play-services|adb
1
2016-04-20T14:33:59.457Z
2,016
4
14
2
23,820
2
814
69
4
1
true
false
true
true
false
false
low
36,747,140
Firebase authentication from various providers
<p>Trying to better understand how firebase works.</p> <p>Consider this scenario :</p> <p>App authenticates user through facebook as described here. <a href="https://www.firebase.com/docs/android/guide/login/facebook.html" rel="nofollow">https://www.firebase.com/docs/android/guide/login/facebook.html</a></p> <p><cod...
Trying to better understand how firebase works. Consider this scenario : App authenticates user through facebook as described here. https://www.firebase.com/docs/android/guide/login/facebook.html public void onAuthenticated(AuthData authData) { id = authData.getUid() we want later to be able to connect with the same us...
android|firebase
1
2016-04-20T14:34:17.753Z
2,016
4
14
2
218
1
844
46
2
0
false
false
false
false
false
false
low
36,747,218
ADT unable to render activity layout xml file
<p><a href="https://i.stack.imgur.com/ewzEk.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ewzEk.png" alt="Example Image"></a></p> <p>layout.xml</p> <pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layou...
layout.xml [CODE] I'm getting a java.lang.NullPointerException for some reason. I just updated my SDK build to 24.4.1, using Android 6.0 (API level 23) on Eclipse Mars.2. How do I fix this?
android|android-layout|nullpointerexception|adt
0
2016-04-20T14:37:11.017Z
2,016
4
14
2
52
1
189
45
4
1
true
false
false
false
false
false
zero
36,747,243
running firebase transaction within ArrayAdapter and getView
<p>Could you run a firebase transaction within an Array adapter and getView as this ;</p> <pre><code> public class upImgAdapter extends ArrayAdapter { public List&lt;uploadedContentModels&gt; upImgModelsList; private int resource; private LayoutInflater inflater; public upImgAdapter(Context cont...
Could you run a firebase transaction within an Array adapter and getView as this ; [CODE] the problem i am facing that when i run the debug and after i clikc the button, i see that the execution jumps from the address line [CODE] to the end of the getView method ( after return convertView ) i've tried several ways, by ...
transactions|firebase|android-arrayadapter
0
2016-04-20T14:38:35.127Z
2,016
4
14
2
201
1
719
60
3
3
true
false
false
false
false
false
zero
36,747,248
Positioning text using Canvas.drawText()
<p>I'm new in Android development and now trying to make a simple app. The user can choose an image and add text to it. The user can choose different fonts and text sizes. For a preview, I'm using ImageView in RelativeLayout, created text will be added to layout from code (using TextView). When user push saves button, ...
I'm new in Android development and now trying to make a simple app. The user can choose an image and add text to it. The user can choose different fonts and text sizes. For a preview, I'm using ImageView in RelativeLayout, created text will be added to layout from code (using TextView). When user push saves button, the...
android
4
2016-04-20T14:38:52.063Z
2,016
4
14
2
4,200
1
733
40
1
2
true
false
true
false
false
false
low
36,747,393
(Android - Google Maps) Why polyline automatically making a closed figure
<p>I've been developing a map based app. In that I'm showing bus routes with the help of Polylines. Everything works fine as you can see in this image:</p> <p><a href="https://i.stack.imgur.com/tI1jX.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tI1jX.png" alt="First start" /></a></p> <p>But when I...
I've been developing a map based app. In that I'm showing bus routes with the help of Polylines. Everything works fine as you can see in this image: But when I restart the app or revisit map activity, the polyline automatically connects the last and very first points (co-ordinates),thus making a closed figure. So is th...
android|google-maps|google-polyline
2
2016-04-20T14:44:23.370Z
2,016
4
14
2
2,566
2
412
73
3
1
true
false
false
false
false
false
low
36,747,441
Xamarin Android bind and use Java library in Visual Studio
<p>I want to add this Floating action button library from github into my Visual Studio project: <a href="https://github.com/Clans/FloatingActionButton" rel="nofollow">https://github.com/Clans/FloatingActionButton</a></p> <p>I followed this description with suggested adding a Binding Library (Android). (<a href="https...
I want to add this Floating action button library from github into my Visual Studio project: https://github.com/Clans/FloatingActionButton I followed this description with suggested adding a Binding Library (Android). ( https://developer.xamarin.com/guides/android/advanced_topics/binding-a-java-library/binding-a-jar/ )...
java|android|visual-studio|xamarin|binding
2
2016-04-20T14:46:27.067Z
2,016
4
14
2
1,271
2
477
58
5
2
true
false
false
false
false
false
low
36,747,527
Get wikipedia city info
<p>Get city information from wikipedia, and show it on an Android APP.</p> <p>However, every time I try to transform the data to JSON, throws an exception</p> <p><a href="https://en.wikipedia.org/w/api.php?action=query&amp;prop=revisions&amp;titles=Threadless&amp;rvprop=content&amp;format=json&amp;rvsection=0" rel="n...
Get city information from wikipedia, and show it on an Android APP. However, every time I try to transform the data to JSON, throws an exception https://en.wikipedia.org/w/api.php?action=query&prop=revisions&titles=Threadless&rvprop=content&format=json&rvsection=0 [CODE]
java|android|api|rest|wikipedia-api
-2
2016-04-20T14:49:41.700Z
2,016
4
14
2
162
2
271
23
5
1
true
false
false
false
false
true
negative
36,747,573
Parsing XML in Android, and put into ListView
<p>I am creating an app that makes an HTTP request to a web service and receives information in XML format.</p> <p>I have a EditExt where I insert the name and using a submit button the request..</p> <pre><code>public class MainActivity extends AppCompatActivity { //Variabili layout TextView result_text; EditText per...
I am creating an app that makes an HTTP request to a web service and receives information in XML format. I have a EditExt where I insert the name and using a submit button the request.. [CODE] in "OnPostExecute" method of asyncktask I want to do the xml parsing the result and add it to a list view... the xml result is ...
java|android|listview|android-studio|xml-parsing
-1
2016-04-20T14:51:47.980Z
2,016
4
14
2
1,587
1
442
45
5
2
true
false
false
false
false
true
negative
36,747,601
Support screen issue
<p>I added support screen for different sizes for the devices but when i test it it seems that the buttons are a bit up,not like in the preview(I have the same phone as the preview).</p> <p>Here's the layout for my phone specs:</p> <p><div class="snippet" data-lang="js" data-hide="false"> <div class="snippet-code"> <...
I added support screen for different sizes for the devices but when i test it it seems that the buttons are a bit up,not like in the preview(I have the same phone as the preview). Here's the layout for my phone specs: [CODE] I also have another device where it's like the other one a bit up even when i put the configura...
java|android|xml|android-screen-support
0
2016-04-20T14:52:32.970Z
2,016
4
14
2
34
1
337
20
4
1
true
false
false
false
false
false
zero
36,747,820
java.net.ConnectException: failed to connect to localhost/127.0.0.1 (port 80): connect failed: ECONNREFUSED (Connection refused)
<p>I am creating an Android app and I have implemented a client server using a WAMP server. I have created my php file, the server is running and a simple version of my php file was inserting data successfully into my mysql database. In my app I have included an <code>AsyncTask</code> java file in order to insert my da...
I am creating an Android app and I have implemented a client server using a WAMP server. I have created my php file, the server is running and a simple version of my php file was inserting data successfully into my mysql database. In my app I have included an AsyncTask java file in order to insert my data. I am sure my...
java|php|android|mysql
2
2016-04-20T15:01:46.420Z
2,016
4
15
2
14,911
3
1,030
128
4
2
true
false
true
true
false
false
low
36,747,830
unable to start a service error in android
<p>I have created a service in my application and called the function that starts the service using a button using onClick in xml but the app crashes. some help will be appreciated. package slide.apptech.com.nav;</p> <pre><code>import android.app.AlarmManager; import android.app.PendingIntent; import android.app.P...
I have created a service in my application and called the function that starts the service using a button using onClick in xml but the app crashes. some help will be appreciated. package slide.apptech.com.nav; [CODE] } service.java [CODE] content_main.xml [CODE] logcat [CODE]
java|android|service
0
2016-04-20T15:02:11.160Z
2,016
4
15
2
1,264
2
276
42
3
4
true
false
false
false
false
false
zero
36,748,016
Using GCM, no error but no message received
<p>I'm trying to use GCM. I would like to send a message from a server (PHP file) to my device (Android phone)</p> <p>The idea is to start the app, load test.php on any navigator (chrome, firefox...) and then a notification should appear on my phone. Actually, nothing happen on my phone. In the log of Android Studio, ...
I'm trying to use GCM. I would like to send a message from a server (PHP file) to my device (Android phone) The idea is to start the app, load test.php on any navigator (chrome, firefox...) and then a notification should appear on my phone. Actually, nothing happen on my phone. In the log of Android Studio, I can see t...
android|google-cloud-messaging
0
2016-04-20T15:09:08.327Z
2,016
4
15
2
371
1
877
43
2
7
true
false
false
false
false
false
zero
36,748,426
JSON Parsing with Gson in Android
<p>Hi I am trying to Parsing JSON object with using Gson and for this I wrote the code bellow, but when I run my app I am getting an Exception:</p> <blockquote> <p>java.lang.NullPointerException: Attempt to invoke virtual method 'com.example.venkat.checkingservicesexample2.TerritoryBean com.example.venkat.checkingse...
Hi I am trying to Parsing JSON object with using Gson and for this I wrote the code bellow, but when I run my app I am getting an Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'com.example.venkat.checkingservicesexample2.TerritoryBean com.example.venkat.checkingservicesexample2.Header.getA...
android|json|gson
1
2016-04-20T15:24:09.343Z
2,016
4
15
2
441
1
472
33
3
5
true
false
false
false
false
false
low
36,748,452
Unity Google Analytics v4 works for Editor and iOS, not for Android
<p>I set up Google Analytics v4 for Unity using the provided plugin. It works fine for both editor and on iOS devices and the logged events and so on are received online. However on android I get a series of exceptions at runtime, even though I set up everything like it should (edited the manifest and imported the plug...
I set up Google Analytics v4 for Unity using the provided plugin. It works fine for both editor and on iOS devices and the logged events and so on are received online. However on android I get a series of exceptions at runtime, even though I set up everything like it should (edited the manifest and imported the plugin)...
android|unity3d|google-analytics
1
2016-04-20T15:25:03.070Z
2,016
4
15
2
3,706
2
1,266
67
3
2
true
false
true
false
false
false
low