id
int64
28.5M
73.8M
title
stringlengths
15
150
question_body
stringlengths
69
39.4k
body_text
stringlengths
6
29.2k
tags
stringlengths
7
120
score
int64
-19
384
creation_date
stringlengths
20
24
year
int64
-1
2.02k
month
int64
-1
12
hour
int64
-1
23
dayofweek
int64
-1
6
view_count
int64
3
367k
answer_count
int64
0
34
body_len
int64
6
29.2k
title_len
int64
15
150
tag_count
int64
1
6
code_block_cnt
int64
0
17
has_code
bool
2 classes
is_unanswered
bool
2 classes
is_popular
bool
2 classes
is_viral
bool
2 classes
is_highly_voted
bool
2 classes
is_negative
bool
2 classes
score_bucket
stringclasses
5 values
37,082,894
setText in listView keeps changing when you scroll down because of recycle
<p>I know that in android, a listview recycles its elements and in my case, the listview recycles them when you scroll down.</p> <p>I'm trying to make a feed that lets me "Like" a post.</p> <p>Here is my code:</p> <pre><code>@Override public View getView(final int position, View convertView, ViewGroup parent) { ...
I know that in android, a listview recycles its elements and in my case, the listview recycles them when you scroll down. I'm trying to make a feed that lets me "Like" a post. Here is my code: [CODE] As you can see, I call setText("Unlike") after the tvHomeFeedLike is pressed. It works perfectly but when I scroll down ...
android|listview|textview|android-recyclerview
1
2016-05-06T23:42:45.560Z
2,016
5
23
4
325
4
466
74
4
1
true
false
false
false
false
false
low
37,083,048
Greek characters on sms on android
<p>I want to know if it is possible to use Greek or other language characters while sending sms on android. now they look like dwarven or elvish if i use Greek.</p> <pre><code>String message1 = "Γειά σας"; SmsManager sms = SmsManager.getDefault(); sms.sendTextMessage(strPhoneNo, null, message1, null, null); </code...
I want to know if it is possible to use Greek or other language characters while sending sms on android. now they look like dwarven or elvish if i use Greek. [CODE] Actual Code public class IncomingSMSReceiver extends BroadcastReceiver{ [CODE]
java|android
1
2016-05-07T00:03:26.940Z
2,016
5
0
5
161
0
243
34
2
2
true
true
false
false
false
false
low
37,083,057
How to Connect Rad Studio 10 Seattle with Nox App Player
<p>According to this official blog post (<a href="http://en.bignox.com/blog/?p=344" rel="nofollow noreferrer">How to connect Android Studio with Nox App Player for Android development and debug</a>) it is possible to connect Android Studio with <code>Nox App Player</code>.</p> <p>Now I can connect Android Studio with ...
According to this official blog post ( How to connect Android Studio with Nox App Player for Android development and debug ) it is possible to connect Android Studio with Nox App Player . Now I can connect Android Studio with Nox App Player but this method does not work for Rad Studio . I contact Nox support team and a...
android|delphi|android-emulator|delphi-10-seattle
1
2016-05-07T00:04:52.660Z
2,016
5
0
5
4,182
2
1,074
56
4
0
false
false
true
false
false
false
low
37,083,155
Android GCM - Handling received messages
<p>I'm trying to add GCM into my app. For now I just want to see the logs of receival of message.</p> <p>My <code>AndroidManifest.xml</code> contains this:</p> <pre><code> &lt;!-- GCM Receiver --&gt; &lt;receiver android:name="com.x.android.gcm.MyBroadcastReceiver" android:permission="com.googl...
I'm trying to add GCM into my app. For now I just want to see the logs of receival of message. My AndroidManifest.xml contains this: [CODE] In the MainActivity I have: [CODE] The MyBroadcastReceiver : [CODE] The RegistrationIntentService : [CODE] And finally the MyGcmListenerService : [CODE] The requests I'm trying are...
android|google-cloud-messaging
0
2016-05-07T00:17:35.797Z
2,016
5
0
5
219
3
761
40
2
6
true
false
false
false
false
false
zero
37,083,171
Android: download manager don't work with local url
<p>I'm new in android and I'm trying to develop an app that shows videos and download it using download manager but I have 2 problem</p> <p>1st- when I trying to download video from my local server <strong>(WAMP server)</strong> it didn't download but if i put link from internet it's work</p> <p>2nd- the download arr...
I'm new in android and I'm trying to develop an app that shows videos and download it using download manager but I have 2 problem 1st- when I trying to download video from my local server (WAMP server) it didn't download but if i put link from internet it's work 2nd- the download arrow doesn't appear and I don't way th...
android|video|download|localhost
2
2016-05-07T00:19:58.250Z
2,016
5
0
5
405
0
430
51
4
2
true
true
false
false
false
false
low
37,083,220
Android Studio: Instrument Tests Cannot Find junit, mockito, or hamcrest
<p>Our project uses Cordova which has customized the build.gradle file in the following way:</p> <pre><code>android { sourceSets { main { manifest.srcFile 'AndroidManifest.xml' java.srcDirs = ['src'] resources.srcDirs = ['src'] aidl.srcDirs = ['src'] ...
Our project uses Cordova which has customized the build.gradle file in the following way: [CODE] I read the documentation on setting up Instrument tests and configured my gradle file as directed: [CODE] I've sync'd the gradle and the external libs folder does have all the junit and hamcrest and mockito files. Further p...
android|cordova|unit-testing|gradle|junit
1
2016-05-07T00:25:45.293Z
2,016
5
0
5
1,546
2
2,086
72
5
3
true
false
false
false
false
false
low
37,083,239
Horizontal Scroll View gallery is limited 5 photo only
<p>I make application with android studio about horizontal scroll view gallery images only , I make 15 ImageView in my layout .application stopped when i add larger than <strong>five images</strong></p> <p>this is my code , please any help</p> <p><div class="snippet" data-lang="js" data-hide="false"> <div class="snip...
I make application with android studio about horizontal scroll view gallery images only , I make 15 ImageView in my layout .application stopped when i add larger than five images this is my code , please any help [CODE] [CODE]
android|scrollview|gallery
0
2016-05-07T00:27:43.647Z
2,016
5
0
5
59
1
226
54
3
2
true
false
false
false
false
false
zero
37,083,356
Android Thread Synchronization
<p>I'm trying to get bitmap from multiple image urls and adding it in arraylist, I'm using below code for this.</p> <pre><code>for (int j = 0; j &lt;= imagePaths.size() - 1; j++) { final String urltemp = "http://SiteName/" + imagePaths.get(j); new Thread(new Runnable() { ...
I'm trying to get bitmap from multiple image urls and adding it in arraylist, I'm using below code for this. [CODE] code is working fine, but image order in ArryList changes randomly. how should I synchronize threads inside for loop, so that images are added in the order of for loop.
java|android|multithreading|bitmap
0
2016-05-07T00:49:40.723Z
2,016
5
0
5
255
2
284
30
4
1
true
false
false
false
false
false
zero
37,083,481
java.lang.RuntimeException: Unable to start activity ComponentInfo {..}
<p>In the below code im trying invoke a fragment from and activity</p> <h2>MainActivity</h2> <pre><code>public class WalletActivity extends AppCompatActivity { private Button mBankAccount; private Button mCreditCard; private Button mPassport; private Button mLicence; private Button mIdentity; private Button mWifiRout...
In the below code im trying invoke a fragment from and activity MainActivity [CODE] Note:- look at the Identity part of the code RecyclerView [CODE] IdentityActivity [CODE] Identity Fragment [CODE] Note:- I have implemented almost same code in BankAccount it is working fine Error Message [CODE] im getting the above mes...
android|android-fragments|android-recyclerview
3
2016-05-07T01:17:10.020Z
2,016
5
1
5
2,753
2
410
71
3
5
true
false
true
false
false
false
low
37,083,615
"hill climbing, change max number of threads 5" when debugging on my androiddevice in xamarin forms when I load data
<p>I load data from my DB and when I push buttons to recieve different data I get "hill climbing, change max number of threads 5" in the log, and it makes the app slow when I try to gather the data. </p> <p>Any idea how to resolve this? Or is this even making the app slower? It sure seems like something is spooky beca...
I load data from my DB and when I push buttons to recieve different data I get "hill climbing, change max number of threads 5" in the log, and it makes the app slow when I try to gather the data. Any idea how to resolve this? Or is this even making the app slower? It sure seems like something is spooky because it takes...
c#|android|xamarin|xamarin.forms
1
2016-05-07T01:38:55.747Z
2,016
5
1
5
1,837
1
447
116
4
2
true
false
false
false
false
false
low
37,083,685
Trouble putting ads on Android Application
<p>I'm trying to put ads on my app before I put my app on the app store.</p> <p>I followed a tutorial here >>> <a href="https://developers.google.com/admob/android/quick-start#load_the_ad_in_the_mainactivity_class" rel="nofollow">https://developers.google.com/admob/android/quick-start#load_the_ad_in_the_mainactivity_c...
I'm trying to put ads on my app before I put my app on the app store. I followed a tutorial here >>> https://developers.google.com/admob/android/quick-start#load_the_ad_in_the_mainactivity_class <<< I'm getting an error when I launch: [CODE] Here is my code: build.gradle: [CODE] strings.xml [CODE] activity_main.xml [CO...
android
0
2016-05-07T01:50:42.873Z
2,016
5
1
5
42
1
389
42
1
5
true
false
false
false
false
false
zero
37,083,767
If I'm in a nested fragment, how can I get a value from whatever fragment is the parent?
<p><strong>Edit:</strong> Here I'm trying to use getParent() in conjuction with getChildFragmentManager().</p> <p>setSchemes.java</p> <pre><code>// .getSpinnerValue() is red in the IDE, the tooltip says "cannot resolve method 'getSpinnerValue()' FragmentTransaction fragmentTransaction = getChildFragmentManager().begi...
Edit: Here I'm trying to use getParent() in conjuction with getChildFragmentManager(). setSchemes.java [CODE] I'll have many instances of a fragment, the only thing different is the spinner value. Each of these fragments add many instances of a nested fragment on a button click. I need my nested fragments to "know" whi...
java|android|android-fragments
2
2016-05-07T02:05:43.447Z
2,016
5
2
5
534
1
1,560
88
3
7
true
false
false
false
false
false
low
37,083,873
Android DataBinding —— view tag isn't correct on view:null
<p>My class extend the <code>LinearLayout</code>, I use <code>DataBinding</code> to inflate the layout. But the code throws an exception that it is view tag isn't correct on <em>view:null</em> .</p> <p>this is my code :</p> <pre><code>public class DietListView extends LinearLayout { private LayoutDietListViewBind...
My class extend the LinearLayout , I use DataBinding to inflate the layout. But the code throws an exception that it is view tag isn't correct on view:null . this is my code : [CODE] The Layout file is: [CODE]
android|data-binding
3
2016-05-07T02:28:31.030Z
2,016
5
2
5
3,548
3
209
58
2
2
true
false
true
false
false
false
low
37,083,900
Android: load java.io.file from resource file
<p>I would like to use a Java library in my Android application. The class constructors and methods of this library often take paths to files (configuration file, dictionary, etc.) and then build java.io.file instances based on the given paths.</p> <p>In my android application, I would like to store these file in the ...
I would like to use a Java library in my Android application. The class constructors and methods of this library often take paths to files (configuration file, dictionary, etc.) and then build java.io.file instances based on the given paths. In my android application, I would like to store these file in the 'res' folde...
java|android|resources
-1
2016-05-07T02:33:55.660Z
2,016
5
2
5
899
1
1,026
45
3
0
false
false
false
false
false
true
negative
37,084,006
How to solve Execution failed for task transformClassesWithDexForArmv7Debug on Cordova
<p>When i try build a APK width Cordova, this show me a error exception. To create my APK i use <code>cordova build android</code> Before install Windows 10, i use the same configuration, but work well.</p> <p><strong>My steps</strong></p> <ul> <li>Create project with <code>cordova create Example com.example.app Exam...
When i try build a APK width Cordova, this show me a error exception. To create my APK i use cordova build android Before install Windows 10, i use the same configuration, but work well. My steps Create project with cordova create Example com.example.app Example Add platform support with cordova platform add android Ad...
java|android|cordova
4
2016-05-07T02:53:07.163Z
2,016
5
2
5
13,292
4
1,690
86
3
2
true
false
true
true
false
false
low
37,084,011
.ActivityNotFoundException: Unable to find explicit activity class
<blockquote> <p>I want to start fragment activity in a textview click in activity class but I get below exception.I am new to android please help.This is my code</p> </blockquote> <pre><code> Intent intent=new Intent(this,ThreeFragment.class); startActivity(intent); </code></pre> <blockquote> <p>and got below...
I want to start fragment activity in a textview click in activity class but I get below exception.I am new to android please help.This is my code [CODE] and got below exception. [CODE]
android
-1
2016-05-07T02:54:14.790Z
2,016
5
2
5
3,056
1
184
66
1
2
true
false
true
false
false
true
negative
37,084,016
Set ImageView's width to fill white space (keeping aspect ratio) inside RecyclerView with GridLayoutManager
<p>I have <code>RecyclerView</code> with <code>GridLayoutManger</code></p> <pre><code>RecyclerView recyclerView = (RecyclerView) view.findViewById(R.id.movie_posters_recycler_view); recyclerView.setHasFixedSize(true); mRecyclerView.setLayoutManager(new GridLayoutManager(getActivity(), 2)); </code></pre> <p>Each Recyc...
I have RecyclerView with GridLayoutManger [CODE] Each RecyclerView's item represented by following layout [CODE] Currently I have such result I want to do this
android|android-layout|android-recyclerview|gridlayoutmanager
4
2016-05-07T02:55:16.267Z
2,016
5
2
5
2,367
5
159
107
4
2
true
false
false
false
false
false
low
37,084,128
How can set data from Activity to Fragment after the Activity finish loading data
<p>Fist off, I need to initial a series of Fragment classes; after that, I do some NetWork Request; after all the datas are loaded, I need to transport my specified data from Activity to Fragment, but I have no idea about this procedure.</p> <p>the codes are as follows:</p> <pre><code> private Class[] mFragmentCla...
Fist off, I need to initial a series of Fragment classes; after that, I do some NetWork Request; after all the datas are loaded, I need to transport my specified data from Activity to Fragment, but I have no idea about this procedure. the codes are as follows: [CODE] so how could I update the datas which comes from Fra...
android|android-fragments
1
2016-05-07T03:16:49.727Z
2,016
5
3
5
666
1
366
81
2
1
true
false
false
false
false
false
low
37,084,133
Out of Memory issue while using Picasso and Recycler View
<p>I get this error:</p> <pre><code>java.lang.OutOfMemoryError: Failed to allocate a 15052812 byte allocation with 12653776 free bytes and 12MB until OOM </code></pre> <p>This is my Adapter:</p> <pre><code>public class ExploreAdapter extends RecyclerView.Adapter&lt;RecyclerView.ViewHolder&gt; { private List&lt;...
I get this error: [CODE] This is my Adapter: [CODE] This is my Recycler View Call in my activity: [CODE]
android|memory-management|memory-leaks|out-of-memory|android-recyclerview
0
2016-05-07T03:17:34.770Z
2,016
5
3
5
1,324
2
104
57
5
3
true
false
false
false
false
false
zero
37,084,225
Getting values in a Recyclerview Edit Text
<p>I have a recyclerview. I am adding items(rows) to recyclerview manually. Each row has text views and a <strong>edit text</strong> where i need to input a value. After adding items to recyclerview i need to get the entered values with the text views names (Like shopping cart). I know how to get text views values. Pro...
I have a recyclerview. I am adding items(rows) to recyclerview manually. Each row has text views and a edit text where i need to input a value. After adding items to recyclerview i need to get the entered values with the text views names (Like shopping cart). I know how to get text views values. Problem is getting the ...
android|json|android-edittext|android-recyclerview
0
2016-05-07T03:34:43.617Z
2,016
5
3
5
5,759
1
766
42
4
3
true
false
true
false
false
false
zero
37,084,392
Setting text of a selected item on a spinner
<p>So I'm trying to show on a text view a selected item in a spinner,but I don't know why,it doesn't show the selected item on the spinner, it shows like an empty spinner and I would really appreciate if you can help me. ps: All the items,in the spinners are String.</p> <p>Java code:</p> <pre><code> setContentView(...
So I'm trying to show on a text view a selected item in a spinner,but I don't know why,it doesn't show the selected item on the spinner, it shows like an empty spinner and I would really appreciate if you can help me. ps: All the items,in the spinners are String. Java code: [CODE] .xml principal [CODE] .xml secondary [...
android|string|textview|android-spinner|selecteditem
0
2016-05-07T04:07:37.960Z
2,016
5
4
5
4,446
4
325
44
5
3
true
false
true
false
false
false
zero
37,084,442
The (View v) in Android studio is always "Cannot Resolve", and red no matter what
<p>I've tried everything even re-syncing and reinstalling Android studio. The onClick(View v) the "v" is always red and it says Cannot resolve symbol. I've imported view.OnclickListener too and View.view, and still the same thing. I can't even compile the code, or even build the APK. here is the code:</p> <pre><code>p...
I've tried everything even re-syncing and reinstalling Android studio. The onClick(View v) the "v" is always red and it says Cannot resolve symbol. I've imported view.OnclickListener too and View.view, and still the same thing. I can't even compile the code, or even build the APK. here is the code: [CODE] and here is t...
java|android
0
2016-05-07T04:16:51.007Z
2,016
5
4
5
4,922
2
444
81
2
2
true
false
true
false
false
false
zero
37,084,510
Authorize.net API gives null response on ChargeCreditCard
<p>I have used authorize code for android from <a href="https://github.com/AuthorizeNet/sample-code-java/blob/master/src/main/java/net/authorize/sample/PaymentTransactions/ChargeCreditCard.java" rel="nofollow">https://github.com/AuthorizeNet/sample-code-java/blob/master/src/main/java/net/authorize/sample/PaymentTransac...
I have used authorize code for android from https://github.com/AuthorizeNet/sample-code-java/blob/master/src/main/java/net/authorize/sample/PaymentTransactions/ChargeCreditCard.java Once we excute below code [CODE] then the "response" it gives null response always.
android|payment-gateway|authorize.net
2
2016-05-07T04:31:48.687Z
2,016
5
4
5
938
0
265
57
3
1
true
true
false
false
false
false
low
37,084,539
Artifacts appear on dynamically generated & animated canvas image on iOS
<p>I am making an HTML5 web app for WeChat (iOS and Android alike), using pure JavaScript (no jQuery or any other third-party library). I'm generating an artistic-looking animation on the screen, based on what image elements user selects. JS draws into canvas every single frame, and that works surprisingly well (fps on...
I am making an HTML5 web app for WeChat (iOS and Android alike), using pure JavaScript (no jQuery or any other third-party library). I'm generating an artistic-looking animation on the screen, based on what image elements user selects. JS draws into canvas every single frame, and that works surprisingly well (fps on iP...
javascript|android|ios|html|canvas
0
2016-05-07T04:36:54.313Z
2,016
5
4
5
401
1
1,316
72
5
3
true
false
false
false
false
false
zero
37,084,542
How to show web view with Navigation Drawer in android
<p>I am trying to show web view with navigation drawer in android. I am also implementing this but web view listener is not working. </p> <p><strong>This is my main Activity.</strong></p> <pre><code> @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);...
I am trying to show web view with navigation drawer in android. I am also implementing this but web view listener is not working. This is my main Activity. [CODE] And this is layout file [CODE] Any help, suggestion, tutorials would be highly appreciated. Thank you....
android|android-webview|navigation-drawer
2
2016-05-07T04:37:25.060Z
2,016
5
4
5
6,578
2
268
54
3
2
true
false
true
false
false
false
low
37,084,621
How to set AlertDialog.finish() in the AlertDialog?
<p>I am currently using an app that needs to utilize a lot of AlertDialogs. I've currently coded a basic one here:</p> <pre><code>protected void StopButton () { AlertDialog.Builder StopDialog = new AlertDialog.Builder(MainActivity.this); StopDialog.setTitle(R.string.Stop_Title); StopDialog.setMessage(R.str...
I am currently using an app that needs to utilize a lot of AlertDialogs. I've currently coded a basic one here: [CODE] The StopButton works and the Dialog comes up when I call for it. However, the finish(); function does not work. Upon review, I found that finish(); did not finish the Dialog, rather the entire app. I k...
java|android|android-alertdialog
2
2016-05-07T04:51:09.620Z
2,016
5
4
5
4,632
2
540
51
3
1
true
false
true
false
false
false
low
37,084,649
Using SetOnClick Listener makes my previous activity login button non clickable
<h2>This is my Login button function:</h2> <p>This function is just authenticating user on button click but when I use <code>onClick</code> method in another fragment constructor this button stop working.</p> <pre><code>public void onClick(View view) { user_string = usernameText.getText().toString(); ...
This is my Login button function: This function is just authenticating user on button click but when I use onClick method in another fragment constructor this button stop working. [CODE] And this is another activity(fragment) onCreate function This is the constructor of another fragment and this is just sending the dat...
java|android|onclicklistener
0
2016-05-07T04:57:09.440Z
2,016
5
4
5
68
2
386
79
3
3
true
false
false
false
false
false
zero
37,084,653
Unable to change Hint Text Appearance Color for TextInputLayout dynamically
<p>What needs to be Achieved ? </p> <p>I am trying to change the hint text color of the TextInputLayout programatically when the TextInputLayout losses its focus using the attribute :</p> <p><strong>InputLayout.setHintTextAppearance(R.style.SetFocusTheme)</strong></p> <p>But when the focus is lost, from the inputlay...
What needs to be Achieved ? I am trying to change the hint text color of the TextInputLayout programatically when the TextInputLayout losses its focus using the attribute : InputLayout.setHintTextAppearance(R.style.SetFocusTheme) But when the focus is lost, from the inputlayout to some other widget the theme doesn't wo...
android|android-textinputlayout
0
2016-05-07T04:57:27.220Z
2,016
5
4
5
3,746
2
949
75
2
1
true
false
true
false
false
false
zero
37,084,684
Android reading json return - select count result - causing error
<p>I got a problem on an android based with php result. <br> I tried to receive a SQL query result of count, and the result is pushed out as <b>JSON data</b> like the following result.</p> <pre><code>[{"count":"1"}] </code></pre> <p>And then this result will be get into the android with AsyncTask. I expected the coun...
I got a problem on an android based with php result. I tried to receive a SQL query result of count, and the result is pushed out as JSON data like the following result. [CODE] And then this result will be get into the android with AsyncTask. I expected the count result should be received successfully and then display ...
php|android|json|count
0
2016-05-07T05:02:38.223Z
2,016
5
5
5
84
0
1,164
65
4
3
true
true
false
false
false
false
zero
37,084,955
Android: Update progress bar through CountDownTimer
<p>I've to just show a count down fragment at certain trigger which includes a progress bar that reduces count on tick of a countdown timer.</p> <p>I'm using following simple steps:</p> <ol> <li>Call <code>startTimer()</code> in <code>onCreateView</code> of fragment.</li> <li>In <code>startTimer()</code> define a <co...
I've to just show a count down fragment at certain trigger which includes a progress bar that reduces count on tick of a countdown timer. I'm using following simple steps: Call startTimer() in onCreateView of fragment. In startTimer() define a CountDownTimer class where onTick method reduces progress of a ProgressBar a...
android|android-fragments|progress-bar
0
2016-05-07T05:43:07.013Z
2,016
5
5
5
767
1
711
51
3
3
true
false
false
false
false
false
zero
37,084,971
SQLite filtering and searching data
<p>Hello I have SQLite application based on SQLite database and I want it to have search/filter option. When i tried to use</p> <pre><code>adapter.getFilter().filter(query) </code></pre> <p>It filtered, but after filtering once,i can't do any more actions(add or delete items). Maybe someone have ideas how can I make ...
Hello I have SQLite application based on SQLite database and I want it to have search/filter option. When i tried to use [CODE] It filtered, but after filtering once,i can't do any more actions(add or delete items). Maybe someone have ideas how can I make search ? DBAdapter.java [CODE] MainActivity.java [CODE]
android|sqlite|listview
0
2016-05-07T05:44:27.877Z
2,016
5
5
5
677
0
311
35
3
3
true
true
false
false
false
false
zero
37,085,041
How to resolve the array index out of bound exception in android
<p>I am getting error in <code>doInBackground(String... params)</code> method, while I am calling the web-service. I am trying to write the following code.</p> <pre><code>protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_add_colony_); ...
I am getting error in doInBackground(String... params) method, while I am calling the web-service. I am trying to write the following code. [CODE] and it shows the following error at line bookmarkid = params[2]; while the app is run [CODE]
java|android
-3
2016-05-07T05:55:00.663Z
2,016
5
5
5
3,624
2
239
64
2
2
true
false
true
false
false
true
negative
37,085,172
In View Pager displayed only last Images from Json repeatedly in android
<p>I am having problem to displaying images for Image Slider in android.I am fetching the images from JSON but always displaying last image of index only, Suppose if i can move the View Pager same image again and again displaying for image sliding in Android. I don't know what is the problem, I tried almost as i ca...
I am having problem to displaying images for Image Slider in android.I am fetching the images from JSON but always displaying last image of index only, Suppose if i can move the View Pager same image again and again displaying for image sliding in Android. I don't know what is the problem, I tried almost as i can but i...
android|android-layout|android-studio|android-viewpager|android-imageview
-1
2016-05-07T06:11:15.760Z
2,016
5
6
5
377
1
480
72
5
3
true
false
false
false
false
true
negative
37,085,221
Sending Data from Activity to Fragment using Bundle Giving Null Pointer Exception
<p>Scenario is : </p> <p>I Have a MainActivity(MainActivity.java) with pager making Fragment(MyFragment.java) in it. </p> <p>I have one more activity called Main2Activity(Main2activity.java).</p> <p>I want to send Data from Main2Activity to MyFragment.</p> <p>Main2Activity.java:</p> <pre><code> public class Main2...
Scenario is : I Have a MainActivity(MainActivity.java) with pager making Fragment(MyFragment.java) in it. I have one more activity called Main2Activity(Main2activity.java). I want to send Data from Main2Activity to MyFragment. Main2Activity.java: [CODE] MyFragment.java : [CODE] But its giving me Null pointer exception ...
java|android|android-fragments|bundle
0
2016-05-07T06:18:33.893Z
2,016
5
6
5
427
1
368
81
4
3
true
false
false
false
false
false
zero
37,085,235
Block incoming SMS
<p>I was trying to block all the incoming sms in my android device.</p> <p>This is the code i was using-</p> <pre><code>public class SmsReceiver extends BroadcastReceiver { /** * Called when the activity is first created. */ private static final String ACTION = "android.provider.Telephony.SEND_SMS"; public static i...
I was trying to block all the incoming sms in my android device. This is the code i was using- [CODE] Manifest file- [CODE] It shows me blocking sms but again the sms is received. so this piece of code is not working for me. i was following this SO Question. The other questions i am looking at are - Block SMS in androi...
java|android
0
2016-05-07T06:21:43.863Z
2,016
5
6
5
1,124
1
412
18
2
2
true
false
false
false
false
false
zero
37,085,321
Handling Rotation in Android
<p>I run a webservice get the data I want and display them in another activity. So far everything is running smoothly. And now ROTATION!:). This is what I am doing. I use the <code>onSaveInstanceState(...)</code> method to save the values I want in key/values pairs. After that I use the <code>onRestoreInstanceState(......
I run a webservice get the data I want and display them in another activity. So far everything is running smoothly. And now ROTATION!:). This is what I am doing. I use the onSaveInstanceState(...) method to save the values I want in key/values pairs. After that I use the onRestoreInstanceState(...) method to read the s...
android|rotation
0
2016-05-07T06:34:14.687Z
2,016
5
6
5
26
1
540
28
2
1
true
false
false
false
false
false
zero
37,085,397
How do I capture Android http traffic using charles or wireshark (which is on PC) under VPN connection?
<p>I have googled a lot about setting up fiddlers for capturing android traffic. I have tried each of the suggested options. None of them work when there is an active VPN connection.</p> <p>Setup: Charles or Wireshark is available on PC. Both PC and android device are on same network and on seperate VPN connections.</...
I have googled a lot about setting up fiddlers for capturing android traffic. I have tried each of the suggested options. None of them work when there is an active VPN connection. Setup: Charles or Wireshark is available on PC. Both PC and android device are on same network and on seperate VPN connections. Tried approa...
android|networking|tcp|vpn|charles-proxy
0
2016-05-07T06:42:48.457Z
2,016
5
6
5
883
1
1,069
103
5
0
false
false
false
false
false
false
zero
37,085,422
How to select two list items at same time ? To be specific ONLY TWO items not more than that
<p><strong><em>I have a list view like the below image.</em></strong></p> <p><a href="https://i.stack.imgur.com/CKXqf.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CKXqf.png" alt="enter image description here"></a></p> <p>Now I want to select <strong>Only Any two items</strong> from the list view...
I have a list view like the below image. Now I want to select Only Any two items from the list view at a time and pass the values of both listview items with Intent to next activity. How can I achieve it.? If Both items are not selected set validation on it? AdapterClass [CODE] Main Class [CODE] Logcat [CODE]
android|android-layout|listview|listviewitem
0
2016-05-07T06:46:25.523Z
2,016
5
6
5
829
2
310
92
4
3
true
false
false
false
false
false
zero
37,085,480
Refreshing a list row from CustomListAdapter class which extends BaseAdapter
<p>I have a listview where there is a button, on click of the button(from CustomListAdapter class) on a particular row it inserts a value to the database and shows back the value of that particular row. It is inserting the value but not shows back the value or its not refreshing. so i used this code</p> <pre><code> ...
I have a listview where there is a button, on click of the button(from CustomListAdapter class) on a particular row it inserts a value to the database and shows back the value of that particular row. It is inserting the value but not shows back the value or its not refreshing. so i used this code [CODE] // This the cla...
android|listview
0
2016-05-07T06:53:00.230Z
2,016
5
6
5
70
0
805
76
2
2
true
true
false
false
false
false
zero
37,085,566
Search Youtube video through android app
<p>I am making app that search Yoututbe video through the app. But it throw exception on <code>SearchListResponse searchResponse = search.execute();</code> How to resolve this problem. Please help</p> <p>below is my exception that raise during search perform</p> <pre><code> 05-07 12:26:33.163 26111-26111/com.dp.vi...
I am making app that search Yoututbe video through the app. But it throw exception on SearchListResponse searchResponse = search.execute(); How to resolve this problem. Please help below is my exception that raise during search perform [CODE] below is my code [CODE]
android|android-youtube-api
-2
2016-05-07T07:03:57.657Z
2,016
5
7
5
952
1
266
40
2
2
true
false
false
false
false
true
negative
37,085,712
JPG image shows from phone but not from server - android
<p>In my app I am able to pick up a picture from the Gallery and show it on my phone. The picture has extension JPG. But when I email it to myself, save it on the server and then try to display it on my phone, it does not display. I even tried to downsize it to 30% using my email app on the phone, so now it is 220KB in...
In my app I am able to pick up a picture from the Gallery and show it on my phone. The picture has extension JPG. But when I email it to myself, save it on the server and then try to display it on my phone, it does not display. I even tried to downsize it to 30% using my email app on the phone, so now it is 220KB inste...
android
0
2016-05-07T07:20:33.093Z
2,016
5
7
5
69
3
1,002
56
1
3
true
false
false
false
false
false
zero
37,085,733
loading fragment android best practice
<p>I have a fragment which load data from API. I want to show loading progress as google play app does and hide or remove it when it is done. first off all I don't want to use other libraries(<a href="http://johnkil.github.io/Android-ProgressFragment/" rel="nofollow">http://johnkil.github.io/Android-ProgressFragment/</...
I have a fragment which load data from API. I want to show loading progress as google play app does and hide or remove it when it is done. first off all I don't want to use other libraries( http://johnkil.github.io/Android-ProgressFragment/ ) for this. I have bunch of code for that. I created a base fragment which show...
android|fragment
0
2016-05-07T07:22:59.117Z
2,016
5
7
5
423
0
529
38
2
2
true
true
false
false
false
false
zero
37,085,752
Handle large bitmap in viewpager inside listview
<p>i have viewpager inside listview,According to requirements all images coming from server so i have to display in viewpager as a listview row,so i am using piccaso library for downloading ,the problem is the images resolution is too high ,when i am trying to scroll listview then it goes out of memory,let me know any ...
i have viewpager inside listview,According to requirements all images coming from server so i have to display in viewpager as a listview row,so i am using piccaso library for downloading ,the problem is the images resolution is too high ,when i am trying to scroll listview then it goes out of memory,let me know any bet...
android
0
2016-05-07T07:24:41.210Z
2,016
5
7
5
51
1
442
48
1
2
true
false
false
false
false
false
zero
37,085,862
How to get current city name on toolbar?
<p>i want my city name on UserActivity toolbar..i am searching and showing my current city name in MainActivity...i mainactivity cityname shows on toolbar but i dont know how to get that name in useractivity...please help me...</p> <p>MainActivity.java</p> <pre><code>public class MainActivity extends Activity imp...
i want my city name on UserActivity toolbar..i am searching and showing my current city name in MainActivity...i mainactivity cityname shows on toolbar but i dont know how to get that name in useractivity...please help me... MainActivity.java [CODE] UserActivity.java [CODE] }
android
-2
2016-05-07T07:37:07.990Z
2,016
5
7
5
111
4
276
40
1
2
true
false
false
false
false
true
negative
37,085,935
Is better battery life assured in new android versions with AOT, KSM
<p>We know google has replaced android dalvik virtual machine by android runtime 'ART'. It also introduced ahead of time compilation instaed of JIT for better user experience. This requires a better memory management. So, KSM (Kernel Samepage merging) comes in place. Now KSM gives a better memory management but it requ...
We know google has replaced android dalvik virtual machine by android runtime 'ART'. It also introduced ahead of time compilation instaed of JIT for better user experience. This requires a better memory management. So, KSM (Kernel Samepage merging) comes in place. Now KSM gives a better memory management but it require...
android
1
2016-05-07T07:46:54.437Z
2,016
5
7
5
424
0
993
68
1
0
false
true
false
false
false
false
low
37,085,974
Cordova Error Error: Error code 1 for command: cmd with args: /s,/c,
<p>When I write this command in cmd cordova build android, this error happens:</p> <p>FAILURE: Build failed with an exception. Where:</p> <pre><code>Script 'H:\prjPath\prjName\platforms\android\CordovaLib\cord </code></pre> <p>ova.gradle' line: 64 What went wrong: A problem occurred evaluating root project 'androi...
When I write this command in cmd cordova build android, this error happens: FAILURE: Build failed with an exception. Where: [CODE] ova.gradle' line: 64 What went wrong: A problem occurred evaluating root project 'android'. [CODE] Try: [CODE] Option to get more log output. [CODE] What should I do?!! And this is my SDK m...
android|cordova
2
2016-05-07T07:51:27.440Z
2,016
5
7
5
3,829
0
326
68
2
4
true
true
true
false
false
false
low
37,086,000
MainActivity throwing null pointer exception in android studio
<h2>MainActivity</h2> <pre><code>com.example.vivek.settleup; import android.support.v4.widget.DrawerLayout; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.support.v7.widget.Toolbar; import android.util.Log; import android.view.Menu; import android.view.MenuInflater; import an...
MainActivity [CODE] NavigationDrawerFragment1 [CODE]
java|android|nullpointerexception
0
2016-05-07T07:54:36.117Z
2,016
5
7
5
26
0
52
62
3
2
true
true
false
false
false
false
zero
37,086,051
How to store accelerometer values for some time and then unregister
<p>From some days i am trying but still all in vain.</p> <p>i created accelerometer in service and i want to store the acceleromete values for sometime and then unregister.</p> <p>so i used pendingintent so that will call again.</p> <p>so therefor i request that how to store the values for at least 10 second and the...
From some days i am trying but still all in vain. i created accelerometer in service and i want to store the acceleromete values for sometime and then unregister. so i used pendingintent so that will call again. so therefor i request that how to store the values for at least 10 second and then unregiester. the follwing...
android
-2
2016-05-07T08:01:35.890Z
2,016
5
8
5
33
1
475
67
1
1
true
false
false
false
false
true
negative
37,086,331
how to stop duplicate file uploade on google drive?
<p>I'm uploading files to Google Drive using Google Drive api . I would like to know, how i can put a check for duplicate files. Because currently when my service runs, it uploads the file to google drive which was already uploaded before,</p> <p>Here's my code:</p> <pre><code> public class MainActivity extends Activ...
I'm uploading files to Google Drive using Google Drive api . I would like to know, how i can put a check for duplicate files. Because currently when my service runs, it uploads the file to google drive which was already uploaded before, Here's my code: [CODE] i found the following links, but was unable to use it in my ...
android|google-drive-android-api
1
2016-05-07T08:31:59.233Z
2,016
5
8
5
1,638
0
532
51
2
1
true
true
false
false
false
false
low
37,086,364
Alarm Manager does not work Android Java
<p>I am developing simple reminder using Java in Android Studio. I schedule alarms using Alarm Manager and Broadcast Receiver. When I run my program and schedule alarms, no alarms will not appear.BUt it does not show any error.</p> <p>MainActivity.java</p> <pre><code>final Intent intentAlarm = new Intent(this, Dorito...
I am developing simple reminder using Java in Android Studio. I schedule alarms using Alarm Manager and Broadcast Receiver. When I run my program and schedule alarms, no alarms will not appear.BUt it does not show any error. MainActivity.java [CODE] Brodcast receiver.java (Doritos.java) [CODE] }
java|android|broadcastreceiver|alarmmanager
1
2016-05-07T08:36:11.850Z
2,016
5
8
5
284
1
296
40
4
2
true
false
false
false
false
false
low
37,086,378
issue with place adMob below web view in LinearLayout
<p>For the last five days I am trying to place google admob bellow the webView. What thing I am missing please help. In case if the ad displays it occupies whole window and hides everything.</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/r...
For the last five days I am trying to place google admob bellow the webView. What thing I am missing please help. In case if the ad displays it occupies whole window and hides everything. [CODE] And Java code goes: [CODE] Output:
android|android-layout|android-studio|admob
-1
2016-05-07T08:37:56.580Z
2,016
5
8
5
786
2
229
53
4
2
true
false
false
false
false
true
negative
37,086,404
How to remove slash from entity android
<p>I'm trying to form a request param like below,</p> <pre><code>{"keywords":"Fufh", "tootiText":"", "email":"davmooray@gmail.com", "tweetDate":"2016-05-07T13:04:03.019+0530", "isFavorite":"false", "cultureName":"en-GB", "longitude":"79.819694", "rating":"0", "latitude":"11.9528747", "weatherType":"0", "thumbnailColor...
I'm trying to form a request param like below, [CODE] using the below method [CODE] Where i'm getting log like below, [CODE] After converting params to entity slash gets append in my request like above. But my request must be send like below [CODE] How to remove slash from entity? Please suggest me any idea..
android|json|httpentity
0
2016-05-07T08:41:35.003Z
2,016
5
8
5
91
0
310
39
3
4
true
true
false
false
false
false
zero
37,086,460
not receiving any values from php server
<p>I want to retrieve all names from my database and send it to all the registered phones by gcm. </p> <p>I get an error at my android side</p> <p>Error</p> <pre><code> java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Object java.util.ArrayList.get(int)' on a null object reference ...
I want to retrieve all names from my database and send it to all the registered phones by gcm. I get an error at my android side Error [CODE] this is the result of var_dump($message) [CODE] Please help. Thanks. PHP Server Code [CODE] Android code [CODE]
php|android|google-cloud-messaging
0
2016-05-07T08:48:33.380Z
2,016
5
8
5
47
2
253
40
3
4
true
false
false
false
false
false
zero
37,086,479
Android Marshmallow 6.0, opening gallery via intent says No apps to perform the action
<p>I am trying to open gallery on Nexus 7 with Android 6.0. It does not have in built gallery, but it does have the <strong>Google Photos</strong> app. </p> <p>I am using the following code to open the gallery :</p> <pre><code> Intent i = new intent(Intent.ACTION_PICK,android.provider.MediaStore.Images.Media.EXTER...
I am trying to open gallery on Nexus 7 with Android 6.0. It does not have in built gallery, but it does have the Google Photos app. I am using the following code to open the gallery : [CODE] The above code works well in all the versions below 6.0. And Please note that I am already using RUN TIME PERMISSIONS for accessi...
android|gallery|android-6.0-marshmallow|nexus-7
1
2016-05-07T08:51:25.730Z
2,016
5
8
5
1,007
3
638
86
4
1
true
false
false
false
false
false
low
37,086,562
What kind of font files do I need for modern browsers, Android and IOS?
<p>I have these as my font files:</p> <pre><code>@font-face { font-family: 'FontAwesome'; src: url('@{fa-font-path}/fontawesome-webfont.eot') format('embedded-opentype'), url('@{fa-font-path}/fontawesome-webfont.woff2') format('woff2'), url('@{fa-font-path}/fontawesome-webfont.woff') format('woff'), ur...
I have these as my font files: [CODE] Would just these meet my needs: [CODE] Would just the woff and woff2 meet my needs?
android|html|ios|css|fonts
21
2016-05-07T08:59:48.790Z
2,016
5
8
5
6,465
1
121
71
5
2
true
false
true
false
true
false
high
37,086,596
Android UI testing with Espresso on an AlertDialog inner views
<p>I'm testing a click on an AlertDialog's inner ListView using Espresso but keep getting NoMatchingViewException. The Dialog has a ListView that reads the accounts in the device.</p> <pre><code> AlertDialog.Builder builder = new AlertDialog.Builder(activity_reference); builder.setTitle(R.string.main_dialog_title)...
I'm testing a click on an AlertDialog's inner ListView using Espresso but keep getting NoMatchingViewException. The Dialog has a ListView that reads the accounts in the device. [CODE] And in the test [CODE] Am I doing anything wrong ? Thanks beforehand. Edit : I tried using UIAutomator too but gets UIObjectNotFoundExce...
android|dialog|android-espresso
0
2016-05-07T09:03:20.037Z
2,016
5
9
5
1,703
1
381
62
3
2
true
false
false
false
false
false
zero
37,086,608
Fabric Correct initialization as my app won't be shown in fabric io dashboard
<p>I managed to use both Answer and Crashlytic together. i did it before just with CrashLytic. But for my new app i can't initialize that again. I see logs which shows everything is alright. but my app is not in dashboard. I used this code as one of the Twitter Staff mentioned <a href="https://twittercommunity.com/t/s...
I managed to use both Answer and Crashlytic together. i did it before just with CrashLytic. But for my new app i can't initialize that again. I see logs which shows everything is alright. but my app is not in dashboard. I used this code as one of the Twitter Staff mentioned here : [CODE] In my log i see these lines : [...
crashlytics-android
-1
2016-05-07T09:04:41.933Z
2,016
5
9
5
259
1
400
77
1
2
true
false
false
false
false
true
negative
37,086,682
Android ad size (smart banner not always working)
<p>I got a realy annoying Problem with <code>adMob</code> and his <code>banner</code> sizes. The smart banner size is a realy good thing, it does almost anything for you, what has to do with sizing ads, but only almost..</p> <p>In the google docs is a table which sizes the smartbanner supports. There are many sizes su...
I got a realy annoying Problem with adMob and his banner sizes. The smart banner size is a realy good thing, it does almost anything for you, what has to do with sizing ads, but only almost.. In the google docs is a table which sizes the smartbanner supports. There are many sizes supported but not the landscape from a ...
android|admob|ads|smartbanner
4
2016-05-07T09:14:10.043Z
2,016
5
9
5
6,068
3
776
49
4
1
true
false
true
false
false
false
low
37,086,697
How can I do the same view in different phone screens?
<p>I am designing my android project on android studio. I used horizontal Linear Layout however it looks exactly the same as I wanted to be in Nexus 5, when I run the project on Nexus S, the view distorted. How can I fix this?</p> <p><strong>In nexus 5 view,</strong></p> <p><a href="https://i.stack.imgur.com/4lE42.pn...
I am designing my android project on android studio. I used horizontal Linear Layout however it looks exactly the same as I wanted to be in Nexus 5, when I run the project on Nexus S, the view distorted. How can I fix this? In nexus 5 view, In nexus S view, My xml file, [CODE]
android|xml|android-layout|android-studio
0
2016-05-07T09:15:30.443Z
2,016
5
9
5
50
1
277
54
4
1
true
false
false
false
false
false
zero
37,086,725
The specified child already has a parent. You must call removeView() on the child's parent first. (with tool bar)
<p>im trying to add spinner with custom adapter to toolbar and im haveing this error: The specified child already has a parent. You must call removeView() on the child's parent first. this is my spinner adapter class:</p> <pre><code>public class SpinnerAdapter extends BaseAdapter { ArrayList&lt;ShopCartModel&gt; l...
im trying to add spinner with custom adapter to toolbar and im haveing this error: The specified child already has a parent. You must call removeView() on the child's parent first. this is my spinner adapter class: [CODE] and this is my main class when im tryin to add the spinner to the toolbar: [CODE] EDIT: my main xm...
android|android-spinner|android-toolbar
-1
2016-05-07T09:18:24.823Z
2,016
5
9
5
938
1
366
113
3
4
true
false
false
false
false
true
negative
37,086,799
Javascript to Java NullPointerException virtual method
<p>Im new to the android stuff i do know JavaScript and a little of Java. So im trying to call a function from JavaScript to Java to get the list of bluetooth devices. I keep getting this java.lang.NullPointerException: Attempt to invoke virtual method. I have googled a day now and have tried many different ways but ca...
Im new to the android stuff i do know JavaScript and a little of Java. So im trying to call a function from JavaScript to Java to get the list of bluetooth devices. I keep getting this java.lang.NullPointerException: Attempt to invoke virtual method. I have googled a day now and have tried many different ways but can't...
javascript|java|android|bluetooth
0
2016-05-07T09:27:19.843Z
2,016
5
9
5
133
1
614
54
4
3
true
false
false
false
false
false
zero
37,086,806
Android Studio - Failed to apply plugin [id 'com.android.application']
<p>I am working on an app. In my app there is no error in code but when I try to run my project it gives following errors.</p> <blockquote> <p>Error:(1, 1) A problem occurred evaluating project ':app'.</p> <p>Failed to apply plugin [id 'com.android.application']</p> <p>Could not create plugin of type 'AppPlugin'.</p> <...
I am working on an app. In my app there is no error in code but when I try to run my project it gives following errors. Error:(1, 1) A problem occurred evaluating project ':app'. Failed to apply plugin [id 'com.android.application'] Could not create plugin of type 'AppPlugin'. I try this also Gradle is issuing an error...
android|android-gradle-plugin
123
2016-05-07T09:28:15.890Z
2,016
5
9
5
333,710
33
471
70
2
1
true
false
true
true
true
false
high
37,086,835
How to make image center horizontally in android
<p>This is layout file.</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/card_view" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_margi...
This is layout file. [CODE] even though I have mentioned android:layout_centerHorizontal="true" , But still image is not centered. How to make image horizontally centered? Any help will be appreciated.
android
-3
2016-05-07T09:31:35.753Z
2,016
5
9
5
62
6
201
48
1
1
true
false
false
false
false
true
negative
37,086,861
Error in cordova When type "cordova build android"
<p>When i do the cordova build android in cmd, it gives an error:</p> <pre><code>C:\workspace\two&gt;cordova build android ANDROID_HOME=C:\Program Files\Android\android-sdk JAVA_HOME=C:\Program Files\Java\jdk1.8.0_77 Failed to notify ProjectEvaluationListener.afterEvaluate(), but primary configur ation failure takes p...
When i do the cordova build android in cmd, it gives an error: [CODE] my SDK is complete and path is correct Cordova Version 6.1.1 Cordova Platform ls for Android 5.1.1
android|cordova|build
6
2016-05-07T09:34:53.507Z
2,016
5
9
5
902
2
168
50
3
1
true
false
false
false
false
false
medium
37,086,935
How do I refresh my cursor from another activity?
<p>How do I refresh my cursor from another activity?</p> <p>In my main activity I start a cursor to query phone contacts and display in a listview.</p> <p>In this main activity I also have a menu, 'Add new Contact', which starts the add new contact activity. A new contact gets added correctly (I can see it in other C...
How do I refresh my cursor from another activity? In my main activity I start a cursor to query phone contacts and display in a listview. In this main activity I also have a menu, 'Add new Contact', which starts the add new contact activity. A new contact gets added correctly (I can see it in other Contacts apps on my ...
android|cursor
0
2016-05-07T09:42:51.153Z
2,016
5
9
5
472
3
877
49
2
2
true
false
false
false
false
false
zero
37,086,936
RxJava default error handler
<p>Sorry, is there a possibility to set default error handler in RxJava?</p> <p>For instance, I some code in <code>Utils.kt</code> file:</p> <pre><code>fun BaseFragment.callGallery(view: View){ view.clicks().bindToLifecycle(this).subscribe { RxPaparazzo.takeImage(this) .usingGallery() .sub...
Sorry, is there a possibility to set default error handler in RxJava? For instance, I some code in Utils.kt file: [CODE] But in stacktrace there's no any hint about Utils.kt or about any of my file. I understand that I can set onError in every subscriber. with code like: [CODE] But I'd prefer to set one default onError...
java|android|exception-handling|rx-java|kotlin
7
2016-05-07T09:42:51.803Z
2,016
5
9
5
4,173
2
377
28
5
3
true
false
true
false
false
false
medium
37,087,004
AndroidJUnit4 test not found
<p>I annotated my class like here</p> <pre><code>@RunWith(AndroidJUnit4.class) public class WorkdayProviderTest </code></pre> <p>Futhermore, annotated also my test method like this</p> <pre><code>@Test public void insert_dataInsertsCorrectly() </code></pre> <p>Finally, configured my build.gradle defaultConfig and d...
I annotated my class like here [CODE] Futhermore, annotated also my test method like this [CODE] Finally, configured my build.gradle defaultConfig and dependencies like this [CODE] and configured the test run like this and it´s telling me [CODE] How to fix this issue?
android|android-testing|android-junit
3
2016-05-07T09:50:24.667Z
2,016
5
9
5
13,785
4
268
28
3
4
true
false
true
true
false
false
low
37,087,146
There was a service error: 403 in android
<p>I am making <strong>youtube search video</strong> through my app. For this I have create a project on <strong>google developer console</strong> and provide <strong>credentials</strong> like <strong>package name</strong> and <strong>SHA - 1 certificate</strong> and get <code>YouTubeApi key</code> that is use in my pr...
I am making youtube search video through my app. For this I have create a project on google developer console and provide credentials like package name and SHA - 1 certificate and get YouTubeApi key that is use in my project but when i run program it throw GoogleJsonResponseException exception with some message. I am n...
android|android-youtube-api
1
2016-05-07T10:06:38.193Z
2,016
5
10
5
153
0
445
41
2
2
true
true
false
false
false
false
low
37,087,185
Android App NOT Running on Emulator, but on real device
<p>Android Studio 2.1, Gradle 2.1.0</p> <p>I've search similar problem here, but nothing found. Mostly related to, the emulator is good but not on real device.</p> <p>The problem is, once the emulator is ready and the app is launched, the app suddenly crashed as I click on first activity. Then, I tried to run on real...
Android Studio 2.1, Gradle 2.1.0 I've search similar problem here, but nothing found. Mostly related to, the emulator is good but not on real device. The problem is, once the emulator is ready and the app is launched, the app suddenly crashed as I click on first activity. Then, I tried to run on real device and everyth...
android|image|android-studio|android-emulator|crash
1
2016-05-07T10:10:07.757Z
2,016
5
10
5
661
1
2,889
55
5
0
false
false
false
false
false
false
low
37,087,275
Xamarin Forms image in ListView gives app poor performance
<p>I have simple listview in Xamarin.Forms portable project. On Android Listview it is very slow if I put simple image in ViewCell and bind image with path. Image size is not grater than 10Kb. Application poor performance are visible on scrolling and also when I'm sliding menu (open/close). Situation is very same even ...
I have simple listview in Xamarin.Forms portable project. On Android Listview it is very slow if I put simple image in ViewCell and bind image with path. Image size is not grater than 10Kb. Application poor performance are visible on scrolling and also when I'm sliding menu (open/close). Situation is very same even on ...
c#|android|xamarin|xamarin.forms
0
2016-05-07T10:19:00.747Z
2,016
5
10
5
2,712
1
862
58
4
2
true
false
true
false
false
false
zero
37,087,277
Hiding an element in WebView in Android as it is loaded (or preventing it from loading altogether)
<p>I am loading a URL in a WebView in Android, and I want to hide an element that appears near the top of a very long page. Now, I am currently using javascript to hide the element in the onPagefinished method as below:</p> <pre><code>public void onPageFinished(WebView view, String url) { super.onPageF...
I am loading a URL in a WebView in Android, and I want to hide an element that appears near the top of a very long page. Now, I am currently using javascript to hide the element in the onPagefinished method as below: [CODE] However, this element is near the top of a page, and my page is fairly long, so this code doesn'...
javascript|android|webview
1
2016-05-07T10:19:08.980Z
2,016
5
10
5
532
1
684
98
3
1
true
false
false
false
false
false
low
37,087,352
android: bottomsheet doesn't disappear normally
<p>Edit:</p> <pre><code>package com.walkindeep.teammanagerpreview; import android.content.Context; import android.os.Bundle; import android.support.design.widget.BottomSheetBehavior; import android.support.design.widget.FloatingActionButton; import android.support.design.widget.Snackbar; import android.support.v4.wid...
Edit: [CODE] When click the floating action button "+", the bottomsheet show up like this: Here is the activity_task.xml file: [CODE] Everything seems OK, but when I click above the bottomsheet, it doesn't disappear totally as I expect: What's wrong?
android|android-layout|bottom-sheet
2
2016-05-07T10:26:47.290Z
2,016
5
10
5
3,681
2
250
47
3
2
true
false
true
false
false
false
low
37,087,528
make[2]: *** [install-libLTLIBRARIES] Errors while compiling vlc for Android
<p>Recently, I tried to compile vlc for Android and came across this error.</p> <p>My OS: OS X El Capitan.</p> <h2>Attached below is my compiling log:</h2> <pre><code>Last login: Sat May 7 17:48:07 on ttys000 wedonedeiMac:~ wedone$ cd /Volumes/D/vlc_source_code/Android wedonedeiMac:Android wedone$ ./compile.sh VLC ...
Recently, I tried to compile vlc for Android and came across this error. My OS: OS X El Capitan. Attached below is my compiling log: [CODE]
compilation|vlc-android
0
2016-05-07T10:43:27.777Z
2,016
5
10
5
1,555
2
139
76
2
1
true
false
false
false
false
false
zero
37,087,588
Azure Notification Hub Delay Issue
<p>I am using Azure notification hub to send push notifications from Raspberry pi to android application.</p> <p>I am using python client app using REST API as per this post <a href="https://azure.microsoft.com/en-in/documentation/articles/notification-hubs-python-backend-how-to/" rel="nofollow">How to use Notificatio...
I am using Azure notification hub to send push notifications from Raspberry pi to android application. I am using python client app using REST API as per this post How to use Notification Hubs from Python Everything works fine but there is, almost 2 seconds of delay in every notification from Raspberry pi to Android ap...
android|python|azure|push-notification
2
2016-05-07T10:48:36.073Z
2,016
5
10
5
893
1
464
34
4
2
true
false
false
false
false
false
low
37,087,600
Place buttons between two layouts in android frame layout
<p>I am trying to place a RelativeLayout having two ImageButtons inside a FrameLayout which already has a ImageView and a LinearLayout. I have to place the Relative Layout in such a way that vertically upper half of the ImageButton should be overlapping ImageView and lower half overlapping LinearLayout.</p> <p>My curr...
I am trying to place a RelativeLayout having two ImageButtons inside a FrameLayout which already has a ImageView and a LinearLayout. I have to place the Relative Layout in such a way that vertically upper half of the ImageButton should be overlapping ImageView and lower half overlapping LinearLayout. My current layout ...
android|android-layout|layout|android-framelayout|android-relativelayout
0
2016-05-07T10:49:25.747Z
2,016
5
10
5
1,059
1
379
57
5
1
true
false
false
false
false
false
zero
37,087,601
Output encoding for Android and iOS
<p>I have been working with PHP for quite a while and I have always dealt with web contents in various format. As far as I know, encoding the output of a procedure in a proper manner, according to the intended place for this output, hardens your web application against XSS attempt and, in general, injection-related vul...
I have been working with PHP for quite a while and I have always dealt with web contents in various format. As far as I know, encoding the output of a procedure in a proper manner, according to the intended place for this output, hardens your web application against XSS attempt and, in general, injection-related vulner...
android|ios|security|encoding|output
1
2016-05-07T10:49:30.923Z
2,016
5
10
5
122
0
1,566
35
5
1
true
true
false
false
false
false
low
37,087,620
Android - How to get merchant production keys for pay u
<p>I am new in android and integrate payU money as payment gateway but not able to get success. I am using sample PayU demo from github and it runs fine. But as i changed </p> <pre><code> String merchantProductionKeys[] = {"Sskq6q", "smsplus"}; </code></pre> <p>merchant production key with my key, it start showing er...
I am new in android and integrate payU money as payment gateway but not able to get success. I am using sample PayU demo from github and it runs fine. But as i changed [CODE] merchant production key with my key, it start showing error - Mandatory params hash missing. And i donot know where to find merchant product keys...
android|payu|payumoney
0
2016-05-07T10:51:05.697Z
2,016
5
10
5
1,270
1
359
55
3
2
true
false
false
false
false
false
zero
37,087,760
org.json.JSONException: Value at of type java.lang.String cannot be converted to JSONArray
<p>I'm getting this error </p> <pre><code>org.json.JSONException: Value [{"value":"6","startDate":"1970-01-01T00:00:00","measureTypeId":1,"endDate":"1970-01-01T00:00:00","isTimeSet":true},{"value":"12","startDate":"1970-01-01T00:00:00","measureTypeId":1,"endDate":"1970-01-01T00:00:00","isTimeSet":true}] at measureToot...
I'm getting this error [CODE] while executing the below code, [CODE] where Measure(jsonArray) will access the below code [CODE] Please suggest me any idea to solve this problem.
android|json
1
2016-05-07T11:04:11.007Z
2,016
5
11
5
1,152
2
177
90
2
3
true
false
false
false
false
false
low
37,087,761
MaterialDrawer back button in fragment
<p>I use a <code>MaterialDrawer</code> from Mike Penz and i faced with problem. I have <code>Activity (AppCompat)</code> and <strong>3 Fragmnts</strong>. <code>Activity</code> contain all <code>fragments</code>. In <code>fragment</code> 2 and 3 i enable Back <code>button</code> in <code>OnCreate</code></p> <pre><code>...
I use a MaterialDrawer from Mike Penz and i faced with problem. I have Activity (AppCompat) and 3 Fragmnts . Activity contain all fragments . In fragment 2 and 3 i enable Back button in OnCreate [CODE] and in Activity [CODE] When active fragment 2 and 3 click on the Back Button leads to opening Drawer & How can I disab...
android|navigation-drawer|materialdrawer
3
2016-05-07T11:04:13.273Z
2,016
5
11
5
397
1
562
38
3
2
true
false
false
false
false
false
low
37,087,855
Two image files created with this code, one of which is .png which contains the actual file and another file with actual name which is of 0kb
<pre><code>&lt;?php $sql ="SELECT id FROM yoring ORDER BY id ASC"; $name = $_POST["name"]; $designation=$_POST['designation']; $company=$_POST['company']; $email = $_POST["email"]; $mobile=$_POST['mobile']; $workno=$_POST['workno']; $address=$_POST['address']; $association=$_POST['ass...
[CODE] Screenshot of file directory on server where file is created: Two image files created with this code, one of which is .png which contains the actual file and another file with actual name which is of 0kb plz help me
php|android
-1
2016-05-07T11:15:32.800Z
2,016
5
11
5
39
1
222
141
2
1
true
false
false
false
false
true
negative
37,087,872
Null pointer exception while adding value on menu item in android
<p>I want to display some dynamic text on menu item. This is my code so far.</p> <p>Menu file </p> <pre><code>&lt;menu xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" tools:context=".MyActivity"&gt; &lt;item...
I want to display some dynamic text on menu item. This is my code so far. Menu file [CODE] actinbar_badge_layout.xml [CODE] and in Activity [CODE] It is giving null pointer exception error in [CODE] Can anyone help me on how to fix this?
android|nullpointerexception
-1
2016-05-07T11:17:22.357Z
2,016
5
11
5
258
2
237
65
2
4
true
false
false
false
false
true
negative
37,087,875
How Can I prevent ListView from deleting data when adding or removing elements of ListView?
<p>Here is my code and I don`t know why the data always deleted whenever I use The add or remove method of CustomAdapter which extends ArrayAdapter.</p> <pre><code>public class SetFragment extends Fragment { private CustomAdapter listAdapter = null; @Nullable @Override public View onCreateView(LayoutInflater inflater...
Here is my code and I don`t know why the data always deleted whenever I use The add or remove method of CustomAdapter which extends ArrayAdapter. [CODE] } [CODE] } when I click the Add set button , the data just goes away.I want to keep it. How Can I do that?? you can take a look at the pics attached.
android|listview|android-arrayadapter
0
2016-05-07T11:17:31.567Z
2,016
5
11
5
54
1
302
91
3
2
true
false
false
false
false
false
zero
37,087,881
Showing interstital ad on button click
<p>So in my LIBGDX game I want to show Interstital ad when the button is clicked, for example, a button to restart game.</p> <p>In the class where I have that button I've set up this globally:</p> <pre><code> AdControlller adController; public MainMenu(AdControlller adController) { this.adController = a...
So in my LIBGDX game I want to show Interstital ad when the button is clicked, for example, a button to restart game. In the class where I have that button I've set up this globally: [CODE] And then in touchUp method for the button I'm setting this: [CODE] The problem is, when I click on the button it gaves me this log...
java|android|libgdx|admob
2
2016-05-07T11:18:29.873Z
2,016
5
11
5
62
0
395
38
4
4
true
true
false
false
false
false
low
37,087,979
Insert json data in existing sqlite database?
<p>I have sqlite file in asset folder and that is copied into sqlite database and at the time of app installation it display to user. Now i want to insert new data from server json file.I have taken json data from server and done the parsing part successfully but it does not insert in existing database. Code to parse j...
I have sqlite file in asset folder and that is copied into sqlite database and at the time of app installation it display to user. Now i want to insert new data from server json file.I have taken json data from server and done the parsing part successfully but it does not insert in existing database. Code to parse json...
android|json|sqlite
0
2016-05-07T11:28:54.503Z
2,016
5
11
5
357
0
445
45
3
1
true
true
false
false
false
false
zero
37,088,106
Sending a GCM via PHP not shows data onMessageReceived
<p>I start using GCM on a android device when i send data via CURL and PHP from my server to the GCM on my android app only get a null on the onMessageReceived i think that it was my code on the app but if i call the curl via terminal it shows the data hope you can help me with my php script to see what is wrong with t...
I start using GCM on a android device when i send data via CURL and PHP from my server to the GCM on my android app only get a null on the onMessageReceived i think that it was my code on the app but if i call the curl via terminal it shows the data hope you can help me with my php script to see what is wrong with this...
php|android|curl|google-cloud-messaging
0
2016-05-07T11:45:13.067Z
2,016
5
11
5
110
2
534
54
4
3
true
false
false
false
false
false
zero
37,088,108
Fetching user data using Facebook Android SDK
<p>I want to fetch user data from Facebook using my app. I've written the code and it logs in the user but fails to fetch user data. Here's the code:</p> <pre><code>public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); AccessToken accessToken = AccessToken.getCurrentAccessToken(...
I want to fetch user data from Facebook using my app. I've written the code and it logs in the user but fails to fetch user data. Here's the code: [CODE] It logs the user but fails to get the data. On debugging, the log shows null mCallback.
android|facebook|facebook-sdk-4.0
0
2016-05-07T11:45:49.947Z
2,016
5
11
5
437
0
241
45
3
1
true
true
false
false
false
false
zero
37,088,116
Scrollview not working
<p>This is my coding i have added a toolbar and i want the data below to scroll but its scrolling entirely.I Tried many solution in SO but still its of No use.Pls check and if found any error help me</p> <p>Thanks in Advance</p> <pre><code> &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"...
This is my coding i have added a toolbar and i want the data below to scroll but its scrolling entirely.I Tried many solution in SO but still its of No use.Pls check and if found any error help me Thanks in Advance [CODE] emergency_toolbar [CODE]
android
0
2016-05-07T11:46:27.527Z
2,016
5
11
5
6,592
5
246
22
1
2
true
false
true
false
false
false
zero
37,088,140
Why Status bar is appearing with shadow?
<p>Status bar of my app is not seem as clear or it appears with some shadow. </p> <p>This is how my status bar looks:</p> <p><a href="https://i.stack.imgur.com/WFARA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/WFARA.png" alt="enter image description here"></a></p> <p>And it should appear like ...
Status bar of my app is not seem as clear or it appears with some shadow. This is how my status bar looks: And it should appear like this: Why it isn't looking like this? style.xml [CODE] What's wrong with this? Please help..
android|statusbar
2
2016-05-07T11:49:02.960Z
2,016
5
11
5
526
2
225
40
2
1
true
false
false
false
false
false
low
37,088,321
How to stop Accelerometer sensor?
<p>Im using Accelerometer Sensor to detect movments from the phone, and when it detect a movment it send notification. when it send notification i want to stop the Accelerometer sensor. well i have no idea how to do that. any idea guys? I know that i need to unregister but i dont know how and where i need to unregister...
Im using Accelerometer Sensor to detect movments from the phone, and when it detect a movment it send notification. when it send notification i want to stop the Accelerometer sensor. well i have no idea how to do that. any idea guys? I know that i need to unregister but i dont know how and where i need to unregister it...
android|accelerometer
0
2016-05-07T12:05:43.947Z
2,016
5
12
5
1,923
1
347
33
2
1
true
false
false
false
false
false
zero
37,088,519
Android Checkbox, BYTE value to Int from ENUM
<p>I am trying to get specific values from a checkbox dialog i have made with 4 options. So the four values represent bits, if the last option was checked and the rest unchecked it would result in 0001, if the first and last were selected it would give 1001.</p> <p>I am having trouble actually getting the int value to...
I am trying to get specific values from a checkbox dialog i have made with 4 options. So the four values represent bits, if the last option was checked and the rest unchecked it would result in 0001, if the first and last were selected it would give 1001. I am having trouble actually getting the int value to represent ...
java|android|android-studio|checkbox|enums
0
2016-05-07T12:25:39.110Z
2,016
5
12
5
103
0
682
45
5
3
true
true
false
false
false
false
zero
37,088,552
Thread connection Postgresql db dont work
<p>my problem is that I want connect to a db of Postgresql in android, and I see that I need do with a thread, I make this thread in a private class under main class, but dont work, the "Toast" always show "Vacío". What I do bad? :/</p> <pre><code>public class MainActivity extends AppCompatActivity { Button btnEnt...
my problem is that I want connect to a db of Postgresql in android, and I see that I need do with a thread, I make this thread in a private class under main class, but dont work, the "Toast" always show "Vacío". What I do bad? :/ [CODE]
android|database|multithreading|postgresql|android-asynctask
0
2016-05-07T12:29:42.900Z
2,016
5
12
5
46
1
236
41
5
1
true
false
false
false
false
false
zero
37,088,584
android - Dagger 2 won't inject into specific service
<p>I want to inject <code>SharedPPrefrences</code> object into different services and activities. I have this code:</p> <p><strong>Application Module:</strong></p> <pre><code>@Module public class ApplicationModule { private Application mApp; public ApplicationModule(Application app) { mApp = app; ...
I want to inject SharedPPrefrences object into different services and activities. I have this code: Application Module: [CODE] Application Component: [CODE] For some weird reason, the compiler gives me an compilation error only about the HealthService - HealthService cannot be provided without an @Inject constructor or...
java|android|dependency-injection|inversion-of-control|dagger-2
0
2016-05-07T12:32:48.360Z
2,016
5
12
5
1,024
0
750
53
5
4
true
true
false
false
false
false
zero
37,088,606
How can I save state of CheckBox with shared preferences?
<p>I have tabs and view pagers with listview with checkbox, but if I select a checkbox and i change tab and after i click on previous tab, the checkbox selected before, now is not checked.why?</p> <p><a href="https://i.stack.imgur.com/MQKCQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/MQKCQ.png" ...
I have tabs and view pagers with listview with checkbox, but if I select a checkbox and i change tab and after i click on previous tab, the checkbox selected before, now is not checked.why? FRAGMENT: [CODE] ADAPTER: [CODE]
android|listview|android-fragments|android-studio|android-sharedpreferences
-1
2016-05-07T12:35:01.850Z
2,016
5
12
5
1,441
2
222
57
5
2
true
false
false
false
false
true
negative
37,088,615
Get Date set in DatePickerDialog when Neutral button is clicked
<p>I am attempting to have my <code>DatePickerDialog</code> open up a <code>TimePickerDialog</code> when the Neutral button is pressed, however, it seems I have hit a dead end with trying to find an answer. </p> <ul> <li>First, I thought about putting in an <code>OnClick</code> listener, but then how do I get the date...
I am attempting to have my DatePickerDialog open up a TimePickerDialog when the Neutral button is pressed, however, it seems I have hit a dead end with trying to find an answer. First, I thought about putting in an OnClick listener, but then how do I get the date? Second, if I use the onDateSet in datePickerDialog , ho...
android
1
2016-05-07T12:35:42.803Z
2,016
5
12
5
308
1
418
63
1
1
true
false
false
false
false
false
low
37,088,623
Android: Change color of all buttons in listview when a button pressed
<p>In a listview, on each row, I have 10 buttons. When any of those buttons pressed, color of the buttons should changed (its like filling the bar based on where you pressed) . Here is what I've done so far: I have added references of each button to an ArrayList called buttons. Also, I have an ArrayList which has colo...
In a listview, on each row, I have 10 buttons. When any of those buttons pressed, color of the buttons should changed (its like filling the bar based on where you pressed) . Here is what I've done so far: I have added references of each button to an ArrayList called buttons. Also, I have an ArrayList which has colors s...
java|android|listview
0
2016-05-07T12:36:06.983Z
2,016
5
12
5
178
1
722
70
3
1
true
false
false
false
false
false
zero
37,088,657
Why can't this label in ListView.Header show all text?
<p>Android: 6.0<br> Xamarin.Forms: 2.1.0.6529</p> <p>Create a new Xamarin.Forms project and paste this:</p> <pre><code>class Model { public string Text { get; set; } } public class App : Application { public App() { var label = new Label { BackgroundCol...
Android: 6.0 Xamarin.Forms: 2.1.0.6529 Create a new Xamarin.Forms project and paste this: [CODE] The result is this: As you can see, the text is cropped and doesn't show more than the first 100 lines . The Label itself (yellow background) is fine because I forced the height to be big, otherwise the height of the label ...
android|xamarin|xamarin.android|xamarin.forms
0
2016-05-07T12:39:56.793Z
2,016
5
12
5
502
1
639
54
4
1
true
false
false
false
false
false
zero
37,088,815
android-nullpointer exception when retrieving json array from web service
<p>I get nullpointer exception every time I tried to run this code,but I do not see anything wrong with this.So here is the code:</p> <pre><code>@Override protected Void doInBackground(Void... params) { // Create an array arraylist = new ArrayList&lt;HashMap&lt;String, String&gt;&gt;(); // ...
I get nullpointer exception every time I tried to run this code,but I do not see anything wrong with this.So here is the code: [CODE] What can be the problem that can cause nullpointer exception? Here is the error: enter image description here
android|json|rest
0
2016-05-07T12:54:50.257Z
2,016
5
12
5
24
0
243
73
3
1
true
true
false
false
false
false
zero
37,088,878
what should be the dimensions of image for imageButton in Android Studio?
<p>This is the image button </p> <p><img src="https://i.stack.imgur.com/1zIX4.jpg" alt="this is the button image"></p> <p>image does not shown up as background of imageButton</p> <p>this is screenshot of imageButton after putting it's background as image shown</p> <p><img src="https://i.stack.imgur.com/EzZcF.png" a...
This is the image button image does not shown up as background of imageButton this is screenshot of imageButton after putting it's background as image shown Here is complete content.xml [CODE] enter image description here
android|android-layout|android-studio|photoshop
0
2016-05-07T13:00:59.177Z
2,016
5
13
5
58
2
221
73
4
1
true
false
false
false
false
false
zero
37,088,925
OSMDroid app using custom ARCGis tile server - tiles are shuffled
<p>I am developing an android mapping app using OSMDroid. I am attempting to use free custom aerial imagery, completely independent of google and/or bing api's. Please, do not propose ANY solution that uses their mapping api's.</p> <p>I have managed to display satellite imagery by including this code:</p> <pre><cod...
I am developing an android mapping app using OSMDroid. I am attempting to use free custom aerial imagery, completely independent of google and/or bing api's. Please, do not propose ANY solution that uses their mapping api's. I have managed to display satellite imagery by including this code: [CODE] BUT, tile server doe...
android|arcgis|osmdroid|esri
0
2016-05-07T13:05:53.523Z
2,016
5
13
5
453
1
616
65
4
2
true
false
false
false
false
false
zero
37,088,968
dynamically created imageview in gridlayout not working
<p>I want to set captured image to dynamically created imageview in same gridlayout but it creates a new grid layout and sets the captured image to the new gridview. </p> <p>This is my <code>mainactivity.java</code> file</p> <pre><code>public class MainActivity extends Activity implements AdapterView.OnItemClickListe...
I want to set captured image to dynamically created imageview in same gridlayout but it creates a new grid layout and sets the captured image to the new gridview. This is my mainactivity.java file [CODE] this is my adapter file CustomAdapter_back.java [CODE] My activity_manin.xml file [CODE] row_grid.xml [CODE]
android|gridview|grid-layout|image-capture
7
2016-05-07T13:10:58.733Z
2,016
5
13
5
872
4
312
55
4
4
true
false
false
false
false
false
medium