id int64 28.5M 73.8M | title stringlengths 15 150 | question_body stringlengths 69 39.4k | body_text stringlengths 6 29.2k | tags stringlengths 7 120 | score int64 -19 384 | creation_date stringlengths 20 24 | year int64 -1 2.02k | month int64 -1 12 | hour int64 -1 23 | dayofweek int64 -1 6 | view_count int64 3 367k | answer_count int64 0 34 | body_len int64 6 29.2k | title_len int64 15 150 | tag_count int64 1 6 | code_block_cnt int64 0 17 | has_code bool 2
classes | is_unanswered bool 2
classes | is_popular bool 2
classes | is_viral bool 2
classes | is_highly_voted bool 2
classes | is_negative bool 2
classes | score_bucket stringclasses 5
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
28,724,717 | Dagger2 - null instead of injected object | <p>For making things simple, suppose I want to inject EmailValidator from apache validators into my activity:</p>
<pre><code>public class MainActivity extends FragmentActivity {
@Inject
EmailValidator emailValidator;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreat... | For making things simple, suppose I want to inject EmailValidator from apache validators into my activity: [CODE] I have a MainModule class: [CODE] and MainComponent interface: [CODE] When trying to use my validator in activity, I'm getting a nullpointer exception: [CODE] Obviously I'm missing something. I know that da... | android|dagger-2 | 15 | 2015-02-25T16:46:24.190Z | 2,015 | 2 | 16 | 2 | 18,788 | 1 | 1,046 | 41 | 2 | 8 | true | false | true | true | true | false | medium |
28,724,731 | How to integrate prestashop with android? | <p>Recently I have created a eshop website using prestashop </p>
<p><a href="https://www.prestashop.com/en/" rel="noreferrer">https://www.prestashop.com/en/</a></p>
<p>And since I am going to build the android app for it. What includes in apps are only some basic function</p>
<p>e.g. create customer account / list p... | Recently I have created a eshop website using prestashop https://www.prestashop.com/en/ And since I am going to build the android app for it. What includes in apps are only some basic function e.g. create customer account / list product / order product / pay / view order etc..common eshop functions... The problem is it... | php|android|api|prestashop|prestashop-1.6 | 8 | 2015-02-25T16:47:15.163Z | 2,015 | 2 | 16 | 2 | 10,840 | 2 | 791 | 41 | 5 | 0 | false | false | true | false | false | false | medium |
28,724,752 | How to connect several devices on a gatt server using BLE? | <p>I made a connection between an Android device and a gatt server using bleno module from Nodejs in a RaspberryPi.
I'm sending some datas with my phone and in the meanwhile I want to connect an other device to the gatt server. However when I want to do this, I cannot see the RaspberryPi ie the gatt server with this s... | I made a connection between an Android device and a gatt server using bleno module from Nodejs in a RaspberryPi. I'm sending some datas with my phone and in the meanwhile I want to connect an other device to the gatt server. However when I want to do this, I cannot see the RaspberryPi ie the gatt server with this secon... | android|node.js|raspberry-pi|bluetooth-lowenergy|gatt | 1 | 2015-02-25T16:48:14.120Z | 2,015 | 2 | 16 | 2 | 292 | 0 | 514 | 58 | 5 | 0 | false | true | false | false | false | false | low |
28,724,759 | Fetch the Google drive data from Android App | <p>I am new in Google Drive Integration in Android Application.I need to know whether its possible to read all the contents of google drive from our customize android app.</p>
<p>For Eg: <strong>I need to open an excel file which is stored in google drive & need to fetch the number of rows and columns.</strong></p... | I am new in Google Drive Integration in Android Application.I need to know whether its possible to read all the contents of google drive from our customize android app. For Eg: I need to open an excel file which is stored in google drive & need to fetch the number of rows and columns. I have seen the below link: Androi... | android|google-drive-api | 1 | 2015-02-25T16:48:35.590Z | 2,015 | 2 | 16 | 2 | 1,578 | 1 | 638 | 44 | 2 | 2 | true | false | false | false | false | false | low |
28,724,829 | Android SQLiteDatabase.openDatabase returns the path instead of the Database itself | <p>I'm trying to open a database passed from a intent,
when I try to open the DB it will return the DB path instead of the DB self, so when I try to perform SQLite commands it wont work</p>
<pre><code>URI uri = (Uri) getIntent().getExtras().get(Intent.EXTRA_STREAM);
SQLiteDatabase oldDB = SQLiteDatabase.openDatabase(u... | I'm trying to open a database passed from a intent, when I try to open the DB it will return the DB path instead of the DB self, so when I try to perform SQLite commands it wont work [CODE] will result in error: SELECT * FROM SQLiteDatabase: /mnt/sdcard/path/to/database.db.table1 I need to get the actual Database "SELE... | android|sqlite | 0 | 2015-02-25T16:51:42.253Z | 2,015 | 2 | 16 | 2 | 570 | 2 | 352 | 83 | 2 | 1 | true | false | false | false | false | false | zero |
28,724,864 | Android layout like Messaging app | <p>I am trying to create an Android GUI similar to the one used by the stock Android Messaging application.</p>
<ul>
<li>An EditText and Button will be anchored to the bottom of the view. The EditText may grow and shrink to show one or more lines of text. The Button will be placed to the right of the EditText.</li>
<... | I am trying to create an Android GUI similar to the one used by the stock Android Messaging application. An EditText and Button will be anchored to the bottom of the view. The EditText may grow and shrink to show one or more lines of text. The Button will be placed to the right of the EditText. A MvvmCross MvxListView ... | android|android-layout|xamarin | 0 | 2015-02-25T16:52:59.307Z | 2,015 | 2 | 16 | 2 | 520 | 1 | 781 | 33 | 3 | 1 | true | false | false | false | false | false | zero |
28,725,053 | Facebook Android SDK returns always an error in response (SSLHandshakeException) | <p>I have an app with a login process, that the user can complete with his Facebook account. The app only requires permissions to read the user's public profile.
I've setup the Facebook SDK version 3.23.0 in Android Studio. The login process runs perfectly, and the app has an open active Session with its right token, b... | I have an app with a login process, that the user can complete with his Facebook account. The app only requires permissions to read the user's public profile. I've setup the Facebook SDK version 3.23.0 in Android Studio. The login process runs perfectly, and the app has an open active Session with its right token, but ... | android|facebook | 1 | 2015-02-25T17:01:31.983Z | 2,015 | 2 | 17 | 2 | 320 | 1 | 835 | 80 | 2 | 1 | true | false | false | false | false | false | low |
28,725,130 | String array out of bounds exception | <p>My string array has around 40 items, so how I can set the length of string[]?
My code:</p>
<pre><code>Context context;
String[] mTitle;
String[] mSubTitle;
LayoutInflater inflater;
public MenuListAdapter(Context context, String[] title, String[] subtitle)
{
this.context = context;
this.mTitle = tit... | My string array has around 40 items, so how I can set the length of string[]? My code: [CODE] And my string array: [CODE] Where should I declare the length of array? The exact error is: java.lang.ArrayIndexOutOfBoundsException: length=4; index=4 I do not want to use string list, as I don't know how. Please help me. Tha... | android|arrays|string | 0 | 2015-02-25T17:04:19.423Z | 2,015 | 2 | 17 | 2 | 97 | 1 | 335 | 36 | 3 | 2 | true | false | false | false | false | false | zero |
28,725,155 | Check who created android app via email/password combination | <p>Is it possible to <em>ask</em> google who created a certain android app? For example, can I check if <em>email</em> and <em>password</em> was the creator of <em>com.android.app</em> via the information stored in google play store by requesting it to google? If so, how?</p> | Is it possible to ask google who created a certain android app? For example, can I check if email and password was the creator of com.android.app via the information stored in google play store by requesting it to google? If so, how? | android | -1 | 2015-02-25T17:05:36.773Z | 2,015 | 2 | 17 | 2 | 36 | 1 | 233 | 60 | 1 | 0 | false | false | false | false | false | true | negative |
28,725,183 | Android WifiP2pManager Encryption / Secure | <p>I have built a basic app that can send messages to other phones with the app without required a WiFi AP thanks to the WifiP2pManager class.</p>
<p>However, I am now trying to secure the messages transferred through the app, and I unsure on how to best do this securely. </p>
<p>I would like to use a form of public ... | I have built a basic app that can send messages to other phones with the app without required a WiFi AP thanks to the WifiP2pManager class. However, I am now trying to secure the messages transferred through the app, and I unsure on how to best do this securely. I would like to use a form of public key encryption, but ... | android|encryption|android-wifi|wifi-direct|wifimanager | 0 | 2015-02-25T17:06:40.893Z | 2,015 | 2 | 17 | 2 | 924 | 1 | 588 | 42 | 5 | 0 | false | false | false | false | false | false | zero |
28,725,261 | How to detect all color tones by using hex codes? | <p>I'm trying to develop an Android application which will take the picture of an object and then detect the color of that object. I want to show user which color has the object. I've implemented the detecting color according to density and luminance with the help of answers to my question in this link:</p>
<p><a href... | I'm trying to develop an Android application which will take the picture of an object and then detect the color of that object. I want to show user which color has the object. I've implemented the detecting color according to density and luminance with the help of answers to my question in this link: What is the best w... | android|colors|hex | -1 | 2015-02-25T17:09:28.483Z | 2,015 | 2 | 17 | 2 | 298 | 1 | 686 | 49 | 3 | 0 | false | false | false | false | false | true | negative |
28,725,301 | Android: How to passing a variable to the Parse.com cloud code | <p>I am now working on CloudCode, and would like to retrieve the number of items in the Parse Database that is greater than certain criteria (i.e. an inputting parameter).</p>
<h2>Parse Cloud Code:</h2>
<pre><code>Parse.Cloud.define("query_num_greater_than_local", function(request, response)
{
var DB = Parse.Obj... | I am now working on CloudCode, and would like to retrieve the number of items in the Parse Database that is greater than certain criteria (i.e. an inputting parameter). Parse Cloud Code: [CODE] Android code: [CODE] Question: While the above codes return a correct count of items greater than 1234, I would like to ask wh... | android|jquery|parameters|parse-platform | 1 | 2015-02-25T17:11:26.273Z | 2,015 | 2 | 17 | 2 | 437 | 0 | 571 | 62 | 4 | 2 | true | true | false | false | false | false | low |
28,725,341 | How to run an android TV app on real TV | <p>I am in the process of learning android TV programming. I want to get the hardware needed ready. However on the website <a href="http://developer.android.com/training/tv/start/start.html" rel="noreferrer">http://developer.android.com/training/tv/start/start.html</a>
I can only find the guideline to run on emulator. ... | I am in the process of learning android TV programming. I want to get the hardware needed ready. However on the website http://developer.android.com/training/tv/start/start.html I can only find the guideline to run on emulator. I am curious how can I run an app on an real TV. When developing for android phone. I need t... | android|android-tv | 5 | 2015-02-25T17:13:17.927Z | 2,015 | 2 | 17 | 2 | 2,844 | 3 | 665 | 39 | 2 | 0 | false | false | true | false | false | false | low |
28,725,421 | Is it possible to change endianness mid-execution on ARM (Android/Linux)? | <p>I am wondering if it is possible to change the endianness of a running application mid-execution on the ARM platform. As some of you know, ARM is bi-endian (supporting both big and little) and I am wondering if on Android (or linux in general) if it is possible to either set a single application to use a different e... | I am wondering if it is possible to change the endianness of a running application mid-execution on the ARM platform. As some of you know, ARM is bi-endian (supporting both big and little) and I am wondering if on Android (or linux in general) if it is possible to either set a single application to use a different endi... | android|linux|arm | 4 | 2015-02-25T17:17:52.537Z | 2,015 | 2 | 17 | 2 | 1,269 | 1 | 1,021 | 73 | 3 | 0 | false | false | false | false | false | false | low |
28,725,446 | Google Play Saved Games conflicts between DIFFERENT snapshots | <p>I am attempting to use the newer Google Play Saved Games API (on Android, via Java).</p>
<p>It's possible I've misunderstood something, but when using multiple devices to save games I am getting conflicts reported for snapshots that have a <em>different</em> UniqueName, e.g. for a given Snapshots.OpenSnapshotResult... | I am attempting to use the newer Google Play Saved Games API (on Android, via Java). It's possible I've misunderstood something, but when using multiple devices to save games I am getting conflicts reported for snapshots that have a different UniqueName, e.g. for a given Snapshots.OpenSnapshotResult, calling: [CODE] re... | android|google-play-services | 1 | 2015-02-25T17:19:00.640Z | 2,015 | 2 | 17 | 2 | 303 | 1 | 855 | 61 | 2 | 2 | true | false | false | false | false | false | low |
28,725,474 | Android Studio builds a debug apk but doesn't deploy/run on device | <p>I'm struggling with coming to terms with Andoid Studio after years working with Eclipse. I've imported an existing Eclipse simple project into AStudio 1.1.0 and altough it builds an APK</p>
<blockquote>
<p>Directory of
C:\dev\projects\AndroidStudio\DiddyOsmdroid\TinyOsmdroid\build\out
puts\apk</p>
<p>25/02/2015 17:... | I'm struggling with coming to terms with Andoid Studio after years working with Eclipse. I've imported an existing Eclipse simple project into AStudio 1.1.0 and altough it builds an APK Directory of C:\dev\projects\AndroidStudio\DiddyOsmdroid\TinyOsmdroid\build\out puts\apk 25/02/2015 17:02 176,517 TinyOsmdroid-debug-u... | android|android-studio | 6 | 2015-02-25T17:20:05.410Z | 2,015 | 2 | 17 | 2 | 6,630 | 1 | 775 | 66 | 2 | 1 | true | false | true | false | false | false | medium |
28,725,487 | Unable to resume activity - SharedPreferences | <p>I'm trying to implement a "first-launch" method that will open a specific activity the first time the user opens the app.</p>
<p>I have a SharedPreferences called prefs:</p>
<pre><code>public class MainActivity extends ActionBarActivity {
SharedPreferences prefs = null;
public static final String DEFAULT = "N/A"... | I'm trying to implement a "first-launch" method that will open a specific activity the first time the user opens the app. I have a SharedPreferences called prefs: [CODE] Now, in my onResume method: [CODE] This works totally fine in other apps where I want to have this feature as well. But in this project, it fails: [CO... | android|sharedpreferences|onresume | 1 | 2015-02-25T17:20:47.323Z | 2,015 | 2 | 17 | 2 | 2,407 | 2 | 453 | 45 | 3 | 3 | true | false | false | false | false | false | low |
28,725,504 | Why won't ADB Shell let me run backup-data-partition.sh in /cache/imaging? | <p>I know it's there, because <code>ls</code> shows it to me, but every time I try to run it, it says <code>No such file or directory</code>, or simply <code>not found</code>.</p>
<p>Here's the contents of my terminal:</p>
<pre class="lang-none prettyprint-override"><code>C:\Users\benleggiero>adb shell
root@androi... | I know it's there, because ls shows it to me, but every time I try to run it, it says No such file or directory , or simply not found . Here's the contents of my terminal: [CODE] | android|shell|file-not-found | 0 | 2015-02-25T17:21:38.157Z | 2,015 | 2 | 17 | 2 | 571 | 0 | 178 | 74 | 3 | 1 | true | true | false | false | false | false | zero |
28,725,515 | Custom listview doesnot show all data present in my List | <p>Here is the Adapter class that doesn't work properly.
It always shows me 3 rows even if I'm passing 5 values in List as an parameter.
Can anyone tell me where is the problem in my adapter class.
Any help will be greatly appreciated.
Thanks:)</p>
<pre><code> import java.util.ArrayList;
... | Here is the Adapter class that doesn't work properly. It always shows me 3 rows even if I'm passing 5 values in List as an parameter. Can anyone tell me where is the problem in my adapter class. Any help will be greatly appreciated. Thanks:) [CODE] Here, I have attached my code where I'm initializing my adapter. I have... | android | 1 | 2015-02-25T17:22:04.287Z | 2,015 | 2 | 17 | 2 | 47 | 1 | 435 | 56 | 1 | 4 | true | false | false | false | false | false | low |
28,725,792 | Not able to POST to REST API | <p>Today I'm making my first attempt of sending a POST request with a JSON to save some data, and I'm not being able to do so.
My app works by signing in, and then save, modify and delete data. It's already done in iOS, but since I'm new to Android, I'm not sure how to do it.
Here's my POST function:</p>
<pre><code>pu... | Today I'm making my first attempt of sending a POST request with a JSON to save some data, and I'm not being able to do so. My app works by signing in, and then save, modify and delete data. It's already done in iOS, but since I'm new to Android, I'm not sure how to do it. Here's my POST function: [CODE] The method abo... | android|spring|security|rest | 0 | 2015-02-25T17:34:52.197Z | 2,015 | 2 | 17 | 2 | 66 | 1 | 1,119 | 28 | 4 | 1 | true | false | false | false | false | false | zero |
28,725,817 | How find the right android:colorControlHighlight color for Material? | <p>How find the right colorControlHighlight color for Material ?
This is my some theme colors </p>
<pre><code><color name="colorPrimaryDT">#256E93</color>
<color name="colorPrimaryDarkDT">#1A4C66</color>
<color name="colorAccentDT">#18ffff</color>
</code></pre>
<p>Please help find ... | How find the right colorControlHighlight color for Material ? This is my some theme colors [CODE] Please help find colorControlHighlight or help - how find ? Maybe - online services, or algoritmes .... | android|material-design | 2 | 2015-02-25T17:36:07.810Z | 2,015 | 2 | 17 | 2 | 4,062 | 1 | 201 | 68 | 2 | 1 | true | false | true | false | false | false | low |
28,725,926 | Android Camera Application does not display image correctly | <p>I want to make an app that takes a picture with the device's camera, saves the image in the internal memory, and then displays that image in the next Activity. The preview works perfectly, but when I hit the Capture button the app goes to the next activity and only shows a blank white screen. Maybe I'm not writing o... | I want to make an app that takes a picture with the device's camera, saves the image in the internal memory, and then displays that image in the next Activity. The preview works perfectly, but when I hit the Capture button the app goes to the next activity and only shows a blank white screen. Maybe I'm not writing or r... | java|android|memory|bitmap|camera | 0 | 2015-02-25T17:40:37.730Z | 2,015 | 2 | 17 | 2 | 1,260 | 1 | 515 | 59 | 5 | 3 | true | false | false | false | false | false | zero |
28,725,981 | Exception 'java.sql.SQLEXCEPTION' is never thrown in the corresponding try block | <p>I have this error in my onCreate. Any ideas what this means and how I rectify it?</p>
<pre><code> @Override
public void onCreate(SQLiteDatabase db) {
try {
db.execSQL(TABLE_CREATE);
}
catch(SQLException e)
{
e.printStackTrace();
}
}
</code></pr... | I have this error in my onCreate. Any ideas what this means and how I rectify it? [CODE] | java|android|sqlite|android-studio | 1 | 2015-02-25T17:43:27.593Z | 2,015 | 2 | 17 | 2 | 1,017 | 0 | 88 | 80 | 4 | 1 | true | true | false | false | false | false | low |
28,726,069 | how to make the ImageSwitcher run automatically | <p>hi am Trying to use ImageSwitcher i manage to make it work but i have problem is that i need to press start to make it start and stop to make it stop , i want it to start automatically when the activity start </p>
<p>this is my code </p>
<pre><code>public class MainActivity extends Activity
</code></pre>
<p>{<br... | hi am Trying to use ImageSwitcher i manage to make it work but i have problem is that i need to press start to make it start and stop to make it stop , i want it to start automatically when the activity start this is my code [CODE] { private ImageSwitcher imageSwitcher; [CODE] } | android|android-layout | 0 | 2015-02-25T17:48:33.680Z | 2,015 | 2 | 17 | 2 | 1,564 | 1 | 279 | 47 | 2 | 2 | true | false | false | false | false | false | zero |
28,726,129 | Phonegap play audio with Media plugin | <p>I'm using Media from phonegap to play some audio in my APP.</p>
<pre><code>function playSnd(url) {
// Play the audio file at url
var my_media = new Media(url,
// success callback
function() {
console.log("playAudio():Audio Success");
},
// error callback
f... | I'm using Media from phonegap to play some audio in my APP. [CODE] And after I call playSnd('audio.mp3') in my console I recive Uncaught ReferenceError: Media is not defined index.js:54 LE: I have https://github.com/apache/cordova-plugin-media installed. | javascript|android|cordova|audio | 0 | 2015-02-25T17:50:48.940Z | 2,015 | 2 | 17 | 2 | 128 | 1 | 254 | 37 | 4 | 1 | true | false | false | false | false | false | zero |
28,726,198 | how can i appropriately change this error code(audioFx app for Android)? | <p>I'm studying about audio effect(here audiofx for android api), processing audio recording in real-time etc and making a sample application project that can be released.</p>
<p>I think I am almost completing my project. I simply referred a application that can be sample and could get some code snippets which were de... | I'm studying about audio effect(here audiofx for android api), processing audio recording in real-time etc and making a sample application project that can be released. I think I am almost completing my project. I simply referred a application that can be sample and could get some code snippets which were decompiled, b... | android|audio-recording|android-audiomanager|main-activity|audioeffect | 0 | 2015-02-25T17:54:32.350Z | 2,015 | 2 | 17 | 2 | 112 | 0 | 1,045 | 72 | 5 | 9 | true | true | false | false | false | false | zero |
28,726,201 | How to update database when it's empty? Android | <p>If you look at my code at the bottom, I have database with column 'used'. If it's 1 it means that it haven't been used, when it is used it set to update the number to 0. But when all of the rows have used number 0, that I would like to update used from 0 to 1 again. How to do that? I do not have a clue. Tried with c... | If you look at my code at the bottom, I have database with column 'used'. If it's 1 it means that it haven't been used, when it is used it set to update the number to 0. But when all of the rows have used number 0, that I would like to update used from 0 to 1 again. How to do that? I do not have a clue. Tried with cd.g... | android|database | 0 | 2015-02-25T17:54:35.613Z | 2,015 | 2 | 17 | 2 | 63 | 1 | 668 | 47 | 2 | 1 | true | false | false | false | false | false | zero |
28,726,221 | Android: unique id for the same user on all devices | <p>Is there an unique value to identify the same Android user on different devices?</p>
<p><a href="http://developer.android.com/reference/android/provider/Settings.Secure.html#ANDROID_ID" rel="nofollow">ANDROID_ID</a> is a value which identifies the device</p>
<p>but what about a value to identify the user?</p>
<p>... | Is there an unique value to identify the same Android user on different devices? ANDROID_ID is a value which identifies the device but what about a value to identify the user? if you request the GET_ACCOUNTS permission in your app, you are able to access the email address of the user, but that requires your app to ask ... | android|google-play|google-play-services|userid | 2 | 2015-02-25T17:56:04.353Z | 2,015 | 2 | 17 | 2 | 328 | 1 | 486 | 51 | 4 | 0 | false | false | false | false | false | false | low |
28,726,231 | Take android app name/package from a running process | <p>I want to ask if it's there any way to do a background process in Android that each time i open an app to understand it and show a flash message, lets say, with the process name or package name of this app.
Than you in advance.</p> | I want to ask if it's there any way to do a background process in Android that each time i open an app to understand it and show a flash message, lets say, with the process name or package name of this app. Than you in advance. | android|android-activity|android-service|android-package-managers | 0 | 2015-02-25T17:56:28.053Z | 2,015 | 2 | 17 | 2 | 153 | 0 | 227 | 52 | 4 | 0 | false | true | false | false | false | false | zero |
28,726,287 | Visual Studio 2015 CTP 6 android emulator invalid device | <p>The android emulator in Visual Studio 2015 CTP 6 will not start. If I try to start a debug session with any native android c++ project on any android emulator (KitKat or Lollipop, phone or tablet) I'll get the error message:</p>
<pre><code>"The device '' is invalid or not running. Please switch to another device, ... | The android emulator in Visual Studio 2015 CTP 6 will not start. If I try to start a debug session with any native android c++ project on any android emulator (KitKat or Lollipop, phone or tablet) I'll get the error message: [CODE] I repaired and reinstalled Visual Studio and the Visual Studio android emulator already ... | android|android-emulator|visual-studio-2015 | 0 | 2015-02-25T17:59:41.287Z | 2,015 | 2 | 17 | 2 | 542 | 1 | 334 | 56 | 3 | 1 | true | false | false | false | false | false | zero |
28,726,299 | Run my app at opening of a file of determinate extension android | <p>i'm developing an android app, this app generate text files that contains a Json string, the files are saved using .fr extension.
What i want is that when the user open a file with .fr extension the system run my app.
I read other similar questions in stack and i add an intent filter in my manifest.xml, but it don't... | i'm developing an android app, this app generate text files that contains a Json string, the files are saved using .fr extension. What i want is that when the user open a file with .fr extension the system run my app. I read other similar questions in stack and i add an intent filter in my manifest.xml, but it don't ru... | android|file | 1 | 2015-02-25T18:00:14.333Z | 2,015 | 2 | 18 | 2 | 77 | 0 | 573 | 64 | 2 | 1 | true | true | false | false | false | false | low |
28,726,340 | Error while adding mp4parser library to a project in android studio | <p>I'm trying to use <a href="https://github.com/sannies/mp4parser" rel="nofollow">mp4parser library</a> in my project. My android studio version is 1.0.2. Here's what I've done so far:</p>
<ol>
<li>I've downloaded mp4parser zipfile from the link: <a href="https://github.com/sannies/mp4parser" rel="nofollow">https:/... | I'm trying to use mp4parser library in my project. My android studio version is 1.0.2. Here's what I've done so far: I've downloaded mp4parser zipfile from the link: https://github.com/sannies/mp4parser I've extracted the zip file to MyProjectName/app/libraries Renamed the folder to mp4parser Add this line of code to s... | android-studio|mp4parser | 0 | 2015-02-25T18:02:28.200Z | 2,015 | 2 | 18 | 2 | 1,023 | 1 | 650 | 67 | 2 | 2 | true | false | false | false | false | false | zero |
28,726,348 | Unable to start activity when adding requestWindowFeature() | <p>I'm an Android beginner,and I have written an extremely simple project. All is Ok. But when I wrote <code>requestWindowFeature(Window.FEATURE_NO_TITLE);</code> the project failed in running. IDE told me that I wrote it after <code>setContentView</code> but in fact I wrote it exactly before <code>setContentView</code... | I'm an Android beginner,and I have written an extremely simple project. All is Ok. But when I wrote requestWindowFeature(Window.FEATURE_NO_TITLE); the project failed in running. IDE told me that I wrote it after setContentView but in fact I wrote it exactly before setContentView . I have tried clicking "clean project" ... | android | 1 | 2015-02-25T18:02:48.363Z | 2,015 | 2 | 18 | 2 | 148 | 2 | 381 | 59 | 1 | 2 | true | false | false | false | false | false | low |
28,726,415 | How to create Android browser history & bookmark | <p>How to save or create browser history for android browser. every time when web view loads a page, browser history saves the link. & again how to create bookmark for browser
Thanks in advance...</p> | How to save or create browser history for android browser. every time when web view loads a page, browser history saves the link. & again how to create bookmark for browser Thanks in advance... | android | 0 | 2015-02-25T18:06:00.650Z | 2,015 | 2 | 18 | 2 | 71 | 1 | 193 | 48 | 1 | 0 | false | false | false | false | false | false | zero |
28,726,464 | "Out of memory" when using Picasso to download images and put images into GridView | <p>I have an app which loads certain Images into a Grid View. The problem is, that, after 2 or 3 images are loaded the following error appears:</p>
<pre><code>E/dalvikvm-heap﹕ Out of memory on a 7056016-byte allocation.
</code></pre>
<p>I have read on other Stackoverflow related questions, and some of the solutions c... | I have an app which loads certain Images into a Grid View. The problem is, that, after 2 or 3 images are loaded the following error appears: [CODE] I have read on other Stackoverflow related questions, and some of the solutions consisted in using .fit() and .resize() on a Bitmap to solve this problem. The problem is, t... | android|gridview|bitmap|picasso | 0 | 2015-02-25T18:08:34.120Z | 2,015 | 2 | 18 | 2 | 432 | 1 | 481 | 82 | 4 | 2 | true | false | false | false | false | false | zero |
28,726,481 | Adding multiple marker locations in Google Maps Android API V2 | <p>I am using Google Map API v2 in my application to show Maps.
i want to add multiple location (LatLng)</p>
<pre><code>main.java
GoogleMap mMap;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
mMap = ((MapFragme... | I am using Google Map API v2 in my application to show Maps. i want to add multiple location (LatLng) [CODE] } | android|api|google-maps|google-maps-android-api-2 | 0 | 2015-02-25T18:09:52.823Z | 2,015 | 2 | 18 | 2 | 1,926 | 2 | 110 | 62 | 4 | 1 | true | false | false | false | false | false | zero |
28,726,506 | Tabs in Toolbar without Viewpager in android | <p>I have gone through lot of answers in SO and didn't get any proper solution to implement the Tabs in Toolbar without Viewpager. </p>
<p>I have gone through the SlidingTabsBasic example available in sdk samples, however, that didn't meet my requirements. </p>
<p>Please help me to implement the Tabs in Toolbar witho... | I have gone through lot of answers in SO and didn't get any proper solution to implement the Tabs in Toolbar without Viewpager. I have gone through the SlidingTabsBasic example available in sdk samples, however, that didn't meet my requirements. Please help me to implement the Tabs in Toolbar without Viewpager. Please ... | android|tabs|android-toolbar | 3 | 2015-02-25T18:11:21.650Z | 2,015 | 2 | 18 | 2 | 3,928 | 2 | 408 | 44 | 3 | 0 | false | false | true | false | false | false | low |
28,726,516 | How to add layouts to tab fragments? | <p>I'm trying to create an Android up that has a Tab layout achieved using ViewPager.
I can't understand where i have to handle the layout of any tab.
I know there's the function <code>onCreateView()</code> in the <code>PageFragment</code> class that does that and i already done this:</p>
<pre><code>@Override
pub... | I'm trying to create an Android up that has a Tab layout achieved using ViewPager. I can't understand where i have to handle the layout of any tab. I know there's the function onCreateView() in the PageFragment class that does that and i already done this: [CODE] This simply shows a ListView in the first Tab. This acti... | android|listview|android-fragments|layout|tabs | 0 | 2015-02-25T18:11:44.987Z | 2,015 | 2 | 18 | 2 | 341 | 1 | 754 | 36 | 5 | 2 | true | false | false | false | false | false | zero |
28,726,573 | Get realtime amplitude from audiojack (MIC) using AudioRecord(not MediaRecorder) | <p><code>enter code here</code>I am trying to get realtime amplitude. The data is coming from a temp sensor connected to audiojack via MIC. I need to use AudioRecord as I need the data as it is(Raw data). The code I used is as below:</p>
<pre><code>public class MainActivity extends Activity {
private static final Stri... | enter code here I am trying to get realtime amplitude. The data is coming from a temp sensor connected to audiojack via MIC. I need to use AudioRecord as I need the data as it is(Raw data). The code I used is as below: [CODE] | android|audiorecord|amplitude | 0 | 2015-02-25T18:14:07.640Z | 2,015 | 2 | 18 | 2 | 343 | 0 | 225 | 80 | 3 | 1 | true | true | false | false | false | false | zero |
28,726,643 | how to embed a custom map from google maps into an app | <p>I created a custom map using Google Maps that has highlighted features of the local waterways around my boat company. The map is set to be shared publicly and can be found here: <a href="https://www.google.com/maps/@28.1159901,-80.5874005,10z/data=!3m1!4b1!4m2!6m1!1sztQRD4WV85yk.kzRrtK6ZMD3E" rel="nofollow">https://... | I created a custom map using Google Maps that has highlighted features of the local waterways around my boat company. The map is set to be shared publicly and can be found here: https://www.google.com/maps/@28.1159901,-80.5874005,10z/data=!3m1!4b1!4m2!6m1!1sztQRD4WV85yk.kzRrtK6ZMD3E My question is can I embed this map ... | android|ios|google-maps|google-maps-api-3|customization | -1 | 2015-02-25T18:17:47.823Z | 2,015 | 2 | 18 | 2 | 1,667 | 1 | 982 | 54 | 5 | 0 | false | false | false | false | false | true | negative |
28,726,671 | build opencv 3.0 for android with extra modules | <p>I built the OpenCV 3.0 beta with extra modules. The build was without java libraries and that was the only way that I was able to build the OpenCV 3.0 beta without getting errors and there is no problem because I only need the native part.</p>
<p>The problem that I have is when I try to implement the text module I ... | I built the OpenCV 3.0 beta with extra modules. The build was without java libraries and that was the only way that I was able to build the OpenCV 3.0 beta without getting errors and there is no problem because I only need the native part. The problem that I have is when I try to implement the text module I get an erro... | android|c++|opencv | 1 | 2015-02-25T18:19:14.147Z | 2,015 | 2 | 18 | 2 | 726 | 1 | 520 | 47 | 3 | 1 | true | false | false | false | false | false | low |
28,726,673 | Is there any graph database for android? | <p>I want to store a directed weighted graph like</p>
<p>hello--5-->world</p>
<p>What are the graph databases available in android?</p> | I want to store a directed weighted graph like hello--5-->world What are the graph databases available in android? | android|database|data-structures|graph | 1 | 2015-02-25T18:19:19.003Z | 2,015 | 2 | 18 | 2 | 1,409 | 0 | 114 | 40 | 4 | 0 | false | true | false | false | false | false | low |
28,726,739 | Tracking User Activity in Mobile App | <p>We're trying to track mobile user activity for session (iOS and Android).<br>
Each session would begin tracking once the user opens the app.</p>
<ol>
<li><p>We're tracking</p>
<p>a) Time inside each screen</p>
<p>b) Map of User Touches on each screen</p>
<p>c) How long from the first time user signs up does he c... | We're trying to track mobile user activity for session (iOS and Android). Each session would begin tracking once the user opens the app. We're tracking a) Time inside each screen b) Map of User Touches on each screen c) How long from the first time user signs up does he click on a certain button (Main feature of the ap... | android|ios|mobile|monitoring | -1 | 2015-02-25T18:23:15.303Z | 2,015 | 2 | 18 | 2 | 776 | 1 | 556 | 36 | 4 | 0 | false | false | false | false | false | true | negative |
28,726,783 | What's the purpose of "Bluetooth snoop logging" option on Android Wear devices? | <p>It's in the wearable's <code>Settings</code> menu, in the <code>Developers Options</code> section. I couldn't find any information about it, nothing <a href="https://developer.android.com/training/wearables/apps/bt-debugging.html" rel="nofollow noreferrer">in the documentation</a> either.</p>
<p>What are the potent... | It's in the wearable's Settings menu, in the Developers Options section. I couldn't find any information about it, nothing in the documentation either. What are the potential use case scenarios of this feature? Note: to unlock the Developers Options section, tap 7 times on the About item. | android|bluetooth|wear-os | 3 | 2015-02-25T18:25:43.727Z | 2,015 | 2 | 18 | 2 | 12,339 | 1 | 289 | 79 | 3 | 0 | false | false | true | true | false | false | low |
28,726,799 | Does AsyncTask really do things in background? | <p>I used AsyncTask to get html files from server. But when an activity starts, screen becomes white few seconds and displays data when fully downloaded. </p>
<p>I wanted it to display activity's basic layout first(e.g. actionbar) and downloaded data later. So I used <code>Thread</code> and the problem solved.(basic l... | I used AsyncTask to get html files from server. But when an activity starts, screen becomes white few seconds and displays data when fully downloaded. I wanted it to display activity's basic layout first(e.g. actionbar) and downloaded data later. So I used Thread and the problem solved.(basic layout is first shown and ... | android|multithreading|android-asynctask | 0 | 2015-02-25T18:26:29.350Z | 2,015 | 2 | 18 | 2 | 191 | 1 | 508 | 46 | 3 | 0 | false | false | false | false | false | false | zero |
28,726,813 | Get string from xml (other than strings.xml) | <p>I want to get a string array from other file than strings.xml, because I want my project to be organised.</p>
<p>For example, I have this code:</p>
<pre><code>String[] column1 = getResources().getStringArray(R.array.column1);
</code></pre>
<p>But my string array isn't located in strings.xml, but in \res\values\ta... | I want to get a string array from other file than strings.xml, because I want my project to be organised. For example, I have this code: [CODE] But my string array isn't located in strings.xml, but in \res\values\tables\10.xml How can I get the string array from that file? Thanks in advance. | android|xml|string | 0 | 2015-02-25T18:27:24.720Z | 2,015 | 2 | 18 | 2 | 335 | 1 | 292 | 44 | 3 | 1 | true | false | false | false | false | false | zero |
28,726,913 | Android main thread - is it shared with other apps | <p>Imagine we have two apps opened at the same time (like how samsung splits the screen and allows two apps to run at the same time). Do these two apps share the main thread ? My question really is does each app opened get its own main thread ? or is it one thread that they all share ?</p> | Imagine we have two apps opened at the same time (like how samsung splits the screen and allows two apps to run at the same time). Do these two apps share the main thread ? My question really is does each app opened get its own main thread ? or is it one thread that they all share ? | android|multithreading|networkonmainthread | 3 | 2015-02-25T18:32:54.937Z | 2,015 | 2 | 18 | 2 | 89 | 1 | 283 | 50 | 3 | 0 | false | false | false | false | false | false | low |
28,726,960 | Style a Dialog in PreferenceFragment | <p>I want to change the style of the Dialogs appearing in a PreferenceFragment.</p>
<p>My PreferenceFragment.java file: </p>
<pre><code>public class PreferencesFragment extends PreferenceFragment {
public PreferencesFragment(){}
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup cont... | I want to change the style of the Dialogs appearing in a PreferenceFragment. My PreferenceFragment.java file: [CODE] the preferences.xml file: [CODE] I want the dialog of a e.g. ListPreference look like this: Currently they have the default Holo style, how do I change it? (I only want the custom title bar, the radio bu... | android|android-preferences | 0 | 2015-02-25T18:35:51.770Z | 2,015 | 2 | 18 | 2 | 1,636 | 2 | 343 | 36 | 2 | 2 | true | false | false | false | false | false | zero |
28,726,962 | How to use StringUtils and myString, getting cannot resolve error | <p>Running the below code and can't resolve StringUtils and myString... does something need imported or is there another way? this takes a string from another activity and makes it an integer to allow a calculation of old and new values. </p>
<pre><code> protected void onCreate(Bundle savedInstanceState) {
... | Running the below code and can't resolve StringUtils and myString... does something need imported or is there another way? this takes a string from another activity and makes it an integer to allow a calculation of old and new values. [CODE] | java|android|android-studio | 0 | 2015-02-25T18:35:56.227Z | 2,015 | 2 | 18 | 2 | 410 | 2 | 241 | 65 | 3 | 1 | true | false | false | false | false | false | zero |
28,727,098 | android custom List Adapter not displaying items | <p>I am using a fragment to display all my peers I discover, it sucessfully reaches the fragment but crashes when trying to display the peers.</p>
<p><strong>fragment</strong></p>
<pre><code> public class peerItemFragment extends ListFragment {
private List<WifiP2pDevice> peers = new ArrayList<&g... | I am using a fragment to display all my peers I discover, it sucessfully reaches the fragment but crashes when trying to display the peers. fragment [CODE] the issue atm is when I call it using the following code when called from main class... [CODE] having looked into and running it step by step I found out that it is... | android|android-listview|custom-adapter | 1 | 2015-02-25T18:42:37.387Z | 2,015 | 2 | 18 | 2 | 487 | 2 | 789 | 48 | 3 | 5 | true | false | false | false | false | false | low |
28,727,236 | writeToParcel() not called in orientation changes in Android | <p>I've an Activity and a Parcelable class that I want to save on orientation changes. Here is the code in the Activity:</p>
<pre><code>Keeper keeper = ...;
@Override
protected void onSaveInstanceState(Bundle outState) {
super.onSaveInstanceState(outState);
outState.putParcelable("keeper", keeper);
}
@Ove... | I've an Activity and a Parcelable class that I want to save on orientation changes. Here is the code in the Activity: [CODE] Here is the code of my Keeper class: [CODE] I don't see the Logs that are written in writeToParcel and in the Parcel constructor.. I've tried to close the app and simulate low memory so that Andr... | android|parcelable|parcel | 5 | 2015-02-25T18:51:08.727Z | 2,015 | 2 | 18 | 2 | 1,068 | 0 | 386 | 60 | 3 | 2 | true | true | false | false | false | false | low |
28,727,257 | forcing fullscreen for app in android | <p>I want to create an app that runs in fullscreen. </p>
<p>So I have this code </p>
<pre><code> protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
requestWindowFeature(Window.FEATURE_NO_TITLE);
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCR... | I want to create an app that runs in fullscreen. So I have this code [CODE] But it doesn't work, does anyone know why? Thanks! | android|layout|fullscreen|window-managers | 0 | 2015-02-25T18:52:18.893Z | 2,015 | 2 | 18 | 2 | 377 | 1 | 126 | 37 | 4 | 1 | true | false | false | false | false | false | zero |
28,727,259 | How to open dialog at particular a location? | <p>I want to open my dialog box at a particular location in my app. I want my dialog box to be open just below my actionbar and not at the centre of my screen. Is it possible to do so? I want it to look like this. <img src="https://i.sta... | I want to open my dialog box at a particular location in my app. I want my dialog box to be open just below my actionbar and not at the centre of my screen. Is it possible to do so? I want it to look like this. This is my Java code: [CODE] | android-layout|android-studio|dialog | 0 | 2015-02-25T18:52:21.240Z | 2,015 | 2 | 18 | 2 | 205 | 1 | 239 | 44 | 3 | 1 | true | false | false | false | false | false | zero |
28,727,283 | Clicking back button in android does not save the phonegap application state | <p>I have an app where use can start and play an audio and see the lyrics scrolling.</p>
<p>If the back button on android phone is clicked, the application state is not saved. I would like to stop the application in that state and continue from there when the user comes back.</p>
<p>I would like to pause the audio an... | I have an app where use can start and play an audio and see the lyrics scrolling. If the back button on android phone is clicked, the application state is not saved. I would like to stop the application in that state and continue from there when the user comes back. I would like to pause the audio and stop the scroll. ... | android|cordova|backbone.js|phonegap-4.0.0 | 0 | 2015-02-25T18:53:58.103Z | 2,015 | 2 | 18 | 2 | 447 | 1 | 525 | 76 | 4 | 0 | false | false | false | false | false | false | zero |
28,727,378 | Android SetingActivity ListPreferences Load Values from Array | <p>Is it possible to load an String-list or HashMap into a ListPreference inside a SettingsActivity or do I need to start a whole knew activity?</p>
<p>And if, how can I register a click onto an Item inside a SettingsActivity?</p>
<p>note: I want to load a HashMap, the List should show the key value and if the user c... | Is it possible to load an String-list or HashMap into a ListPreference inside a SettingsActivity or do I need to start a whole knew activity? And if, how can I register a click onto an Item inside a SettingsActivity? note: I want to load a HashMap, the List should show the key value and if the user clicks on the Item, ... | android|android-activity|settings | 0 | 2015-02-25T18:58:33.017Z | 2,015 | 2 | 18 | 2 | 37 | 1 | 453 | 61 | 3 | 0 | false | false | false | false | false | false | zero |
28,727,413 | Move SurfaceView across Activities | <p>I'm working on a video app where user can watch a video, open it il fullscreen if needed and come back to default view and so on. I was using ExoPlayer and recently switch to default MediaPlayer due to the upcoming explanation. </p>
<p>I need to change "on the fly" the Surface of the player. I need to use the same ... | I'm working on a video app where user can watch a video, open it il fullscreen if needed and come back to default view and so on. I was using ExoPlayer and recently switch to default MediaPlayer due to the upcoming explanation. I need to change "on the fly" the Surface of the player. I need to use the same player to di... | android|android-mediaplayer|surfaceview|exoplayer | 4 | 2015-02-25T19:00:22.353Z | 2,015 | 2 | 19 | 2 | 2,151 | 1 | 947 | 34 | 4 | 0 | false | false | false | false | false | false | low |
28,727,438 | Facebook + Android Key Hashes | <p>I'm trying to get work Facebook login in my Android app and i stack on key hashes: I made them using</p>
<pre><code>keytool -exportcert -alias androiddebugkey -keystore ~/.android/debug.keystore | openssl sha1 -binary | openssl base64
</code></pre>
<p>then I upladed it to facebook. Now if I press login button, Fac... | I'm trying to get work Facebook login in my Android app and i stack on key hashes: I made them using [CODE] then I upladed it to facebook. Now if I press login button, Facebook showing for 1 sec and shuting down, Nothing is showing in Logcat what is problem? Marlen | android|facebook | 0 | 2015-02-25T19:01:33.350Z | 2,015 | 2 | 19 | 2 | 70 | 2 | 265 | 29 | 2 | 1 | true | false | false | false | false | false | zero |
28,727,483 | Android AdView leaking, probably due to some internal background thread | <p>I display an AdMob ad banner within a window created by a fragment. This works, but I'm getting strange leaking problems I don't understand yet. When I open and close the app a lot of times, the ad fragment is properly destroyed every time, but the MainActivity which controls this fragment is leaking:</p>
<p><img s... | I display an AdMob ad banner within a window created by a fragment. This works, but I'm getting strange leaking problems I don't understand yet. When I open and close the app a lot of times, the ad fragment is properly destroyed every time, but the MainActivity which controls this fragment is leaking: The guilty one is... | android|android-fragments|memory-leaks|admob | 2 | 2015-02-25T19:03:44.203Z | 2,015 | 2 | 19 | 2 | 1,723 | 1 | 812 | 71 | 4 | 2 | true | false | false | false | false | false | low |
28,727,496 | Android touch event propagation | <p>It's my understanding that Android event propagation goes from parent to child, that is to say, it starts with the outermost element and inwards from there. My question is, why is it that when I try to scroll vertically a listview that is inside a viewpager that is wrapped on a scrollview, the listview moves, and no... | It's my understanding that Android event propagation goes from parent to child, that is to say, it starts with the outermost element and inwards from there. My question is, why is it that when I try to scroll vertically a listview that is inside a viewpager that is wrapped on a scrollview, the listview moves, and not t... | android|listview|android-fragments|android-viewpager | 0 | 2015-02-25T19:04:14.347Z | 2,015 | 2 | 19 | 2 | 717 | 1 | 736 | 31 | 4 | 0 | false | false | false | false | false | false | zero |
28,727,609 | How do mobile games store and retrieve unique user data | <p>I'd like to know how some games such as LINE Bubble or whatever store user statistics and game data, ect.. I'm guessing it must be with php and sql or something like that, but can someone be a bit more specific? Since some of these games don't require direct input of usernames and don't use passwords how do they kno... | I'd like to know how some games such as LINE Bubble or whatever store user statistics and game data, ect.. I'm guessing it must be with php and sql or something like that, but can someone be a bit more specific? Since some of these games don't require direct input of usernames and don't use passwords how do they know t... | android|ios|mobile | -1 | 2015-02-25T19:10:46.247Z | 2,015 | 2 | 19 | 2 | 177 | 1 | 440 | 55 | 3 | 0 | false | false | false | false | false | true | negative |
28,727,705 | Crop Image taken by camera without using Bitmap | <p>I am working on an image processing app and I need to divide taken photo into four regions, but using BitmapFactoy takes too much resource and time and slows me down, I would like to do this using raw byte[] data that <code>public void onPictureTaken(byte[] data, Camera camera)</code> gives me.
Right now this is wha... | I am working on an image processing app and I need to divide taken photo into four regions, but using BitmapFactoy takes too much resource and time and slows me down, I would like to do this using raw byte[] data that public void onPictureTaken(byte[] data, Camera camera) gives me. Right now this is what I do and I wan... | android|android-camera | 3 | 2015-02-25T19:16:34.377Z | 2,015 | 2 | 19 | 2 | 547 | 1 | 458 | 47 | 2 | 1 | true | false | false | false | false | false | low |
28,727,832 | Android - Black blank screen on switching to new activity (chmod failed) | <p>I am using eclipse and when i run my app , first activity works fine , but as soon as i click a button to start another activity , a blank black screen is all i get on emulator. Following is the logcat : </p>
<p>P.S - second activity accesses database file from internal memory .</p>
<p>Can anybody Help ?</p>
<p>... | I am using eclipse and when i run my app , first activity works fine , but as soon as i click a button to start another activity , a blank black screen is all i get on emulator. Following is the logcat : P.S - second activity accesses database file from internal memory . Can anybody Help ? logcat : - 02-24 10:50:05.942... | java|android|sqlite|chmod | 0 | 2015-02-25T19:24:50.143Z | 2,015 | 2 | 19 | 2 | 201 | 1 | 963 | 72 | 4 | 1 | true | false | false | false | false | false | zero |
28,727,887 | Importing a part of a project in Eclipse | <p>On Eclipse, I imported FFmpeg as a project to reduce a selected video sizes for my android application. But my .apk size went up from 2MB to 24MB.</p>
<p>This project includes a lot of extra properties for video editing. However I use only one single command line to reduce my video resolution. The code I added:</p>... | On Eclipse, I imported FFmpeg as a project to reduce a selected video sizes for my android application. But my .apk size went up from 2MB to 24MB. This project includes a lot of extra properties for video editing. However I use only one single command line to reduce my video resolution. The code I added: [CODE] To sum ... | java|android|eclipse|import|ffmpeg | 1 | 2015-02-25T19:28:04.993Z | 2,015 | 2 | 19 | 2 | 225 | 2 | 455 | 40 | 5 | 1 | true | false | false | false | false | false | low |
28,727,929 | java.lang.runtimeexception unable to start actvity component info java.lang.nullpointerexception | <p>I need to pass the variable from onCreate method to OnClickListener...</p>
<pre><code>// onCreate method
String num2 = bundle.getString("phno");
// onClickListener method
s.sendTextMessage(no,null,msg,null,null);
</code></pre>
<p>here in "no" place i need to use the String which i get in the Oncreatemethod from ... | I need to pass the variable from onCreate method to OnClickListener... [CODE] here in "no" place i need to use the String which i get in the Oncreatemethod from another activity...i know that navigating the activities using bundle and i used that method here... i need help in "num2" which i get in the oncreate method t... | java|android | 0 | 2015-02-25T19:30:03.637Z | 2,015 | 2 | 19 | 2 | 38 | 1 | 411 | 96 | 2 | 1 | true | false | false | false | false | false | zero |
28,727,935 | Android ganymed ssh2 | <p>I try to open ssh connection to my server. For this I use Ganymed SSH2 revision 262.</p>
<p>I created a ssh java class</p>
<pre><code>public class SSH {
public String connection() {
String Hostname = "XX.XX.XX.XX";
String Login = "XXXXX";
String PWD = "*******";
String result = "";
try {
... | I try to open ssh connection to my server. For this I use Ganymed SSH2 revision 262. I created a ssh java class [CODE] And I try to connect in my Activity by press the button [CODE] but I received an error [CODE] Help me where I did a mistake? | java|android|ssh | 0 | 2015-02-25T19:30:15.430Z | 2,015 | 2 | 19 | 2 | 467 | 1 | 243 | 20 | 3 | 3 | true | false | false | false | false | false | zero |
28,727,988 | error extending android application class | <p>In order to extend my android application class I followed these steps:</p>
<p>1: AndroidManifest.xml</p>
<pre><code><application ... android:name=".ApplicationExt">
</code></pre>
<p>2: MainActivity.java:</p>
<pre><code>public class ApplicationExt extends Application { ... }
</code></pre>
<p>And then I go... | In order to extend my android application class I followed these steps: 1: AndroidManifest.xml [CODE] 2: MainActivity.java: [CODE] And then I got this error: Class: 'ApplicationExt' is public, should be declared in a file named 'ApplicationExt.java' What's wrong with that? | java|android | -4 | 2015-02-25T19:34:01.050Z | 2,015 | 2 | 19 | 2 | 99 | 1 | 273 | 41 | 2 | 2 | true | false | false | false | false | true | negative |
28,728,011 | Android Build Tools 1.1.0 - Lint fails on Unknown issue id "ImproperProjectLevelStatement" | <p>I upgraded an app from android gradle build tools 1.0.0 to 1.1.0. Lint fails now with:</p>
<p>LintError: Lint Failure
Unknown issue id "ImproperProjectLevelStatement"</p> | I upgraded an app from android gradle build tools 1.0.0 to 1.1.0. Lint fails now with: LintError: Lint Failure Unknown issue id "ImproperProjectLevelStatement" | android|android-gradle-plugin|android-lint | 6 | 2015-02-25T19:35:01.333Z | 2,015 | 2 | 19 | 2 | 480 | 0 | 159 | 90 | 3 | 0 | false | true | false | false | false | false | medium |
28,728,017 | You must call removeView () with the AddView in AsyncTask | <p>I create a table dynamically thus described below
and works well ....</p>
<p><a href="http://s24.postimg.org/wgofs717p/ex_Tables.png" rel="nofollow">http://s24.postimg.org/wgofs717p/ex_Tables.png</a></p>
<pre><code>mLinearLayout.removeAllViews()
MyTableLayout mTableLayout = new MyTableLayout(...);
for (int j = 0; ... | I create a table dynamically thus described below and works well .... http://s24.postimg.org/wgofs717p/ex_Tables.png [CODE] Now I need to put it to be created in a AsyncTask And I basically did the same way it did without the AsyncTask [CODE] Using this AsyncTask I get the error java.lang.IllegalStateException: The spe... | android|android-asynctask|android-linearlayout | 0 | 2015-02-25T19:35:15.377Z | 2,015 | 2 | 19 | 2 | 526 | 1 | 906 | 57 | 3 | 3 | true | false | false | false | false | false | zero |
28,728,079 | Android CardView Alpha | <p>Is there any way to change the alpha of CardView in android. Whatever I try doesn't work. I tried this and even tried changing the alpha of a framelayout surrounding it but nothing works.</p>
<pre><code>Footer.findViewById(R.id.base).setVisibility(View.VISIBLE);
ViewPropertyAnimator.animate(Footer.f... | Is there any way to change the alpha of CardView in android. Whatever I try doesn't work. I tried this and even tried changing the alpha of a framelayout surrounding it but nothing works. [CODE] | android|alpha|material-design|android-cardview | 1 | 2015-02-25T19:38:52.203Z | 2,015 | 2 | 19 | 2 | 1,565 | 1 | 194 | 22 | 4 | 1 | true | false | false | false | false | false | low |
28,728,085 | App crashes after closing it | <p>I have a very odd problem with my app!</p>
<p>I've been programming it on bluestacks and everything was fine - no crashes or what so ever. When I moved the apk to my phone it also worked fine <strong>until I closed the app</strong> - which caused a crash I don't know how to obtain.</p>
<p>this made me suspect that... | I have a very odd problem with my app! I've been programming it on bluestacks and everything was fine - no crashes or what so ever. When I moved the apk to my phone it also worked fine until I closed the app - which caused a crash I don't know how to obtain. this made me suspect that my problem has to do with the Surfa... | java|android|surfaceview | -2 | 2015-02-25T19:39:23.883Z | 2,015 | 2 | 19 | 2 | 74 | 1 | 691 | 28 | 3 | 4 | true | false | false | false | false | true | negative |
28,728,218 | How can I get the hour of the day from milliseconds in Android | <p>I was looking for the answer on the web but no one answers exactly what I want. Say I have a milliseconds from epoch, <code>System.getCurrentMillis()</code>. I need to know the hour of the day of said millis, just the hour, from 00 to 24, ideally not as a string, but as an int.</p>
<p>Is there a easy way to achieve... | I was looking for the answer on the web but no one answers exactly what I want. Say I have a milliseconds from epoch, System.getCurrentMillis() . I need to know the hour of the day of said millis, just the hour, from 00 to 24, ideally not as a string, but as an int. Is there a easy way to achieve this. Currently I'm us... | java|android|time | 1 | 2015-02-25T19:45:47.053Z | 2,015 | 2 | 19 | 2 | 4,792 | 2 | 446 | 62 | 3 | 0 | false | false | true | false | false | false | low |
28,728,241 | Duplicate items in ExpandableListView | <p>Create two groups in <code>ExpandableListView</code> each with one child. Expand both groups. Remove the child from one group (basically eliminate the group) and call <code>notifyDataSetChanged()</code> of adapter (intance of <code>BaseExpandableListAdapter</code>). </p>
<p>The duplicate of the child from the remai... | Create two groups in ExpandableListView each with one child. Expand both groups. Remove the child from one group (basically eliminate the group) and call notifyDataSetChanged() of adapter (intance of BaseExpandableListAdapter ). The duplicate of the child from the remaining group appears. Collapse the only remaining gr... | android|expandablelistview | 0 | 2015-02-25T19:47:03.670Z | 2,015 | 2 | 19 | 2 | 706 | 0 | 961 | 37 | 2 | 2 | true | true | false | false | false | false | zero |
28,728,250 | How to add an AAR file in Android Studio so it is recognised by the GUI | <p>I have followed the instructions here to add a reference to an AAR but the file is not recognised by Android Studio and is not committed in my VCS.</p>
<p><a href="http://geekgarage.dad3zero.net/local-aar-android-library/" rel="nofollow">http://geekgarage.dad3zero.net/local-aar-android-library/</a></p>
<p><a href=... | I have followed the instructions here to add a reference to an AAR but the file is not recognised by Android Studio and is not committed in my VCS. http://geekgarage.dad3zero.net/local-aar-android-library/ http://altbeacon.github.io/android-beacon-library/configure.html Should I manually add it to my git repository or ... | android-studio | 2 | 2015-02-25T19:47:30.427Z | 2,015 | 2 | 19 | 2 | 175 | 1 | 395 | 71 | 1 | 0 | false | false | false | false | false | false | low |
28,728,260 | Huge data usage: what is happening with my app? | <p>I made an app that, when executed, checks if there is an apk update, by comparing modified dates of the local apk vs the web apk (below is the code). Everything works perfectly.</p>
<p>However, when I go to "Data usage" in the phone, it tells me it used 104MB in the last 3 days, and I opened the app a few times onl... | I made an app that, when executed, checks if there is an apk update, by comparing modified dates of the local apk vs the web apk (below is the code). Everything works perfectly. However, when I go to "Data usage" in the phone, it tells me it used 104MB in the last 3 days, and I opened the app a few times only. It's the... | android|web-services|usage-statistics | 0 | 2015-02-25T19:48:04.333Z | 2,015 | 2 | 19 | 2 | 125 | 0 | 696 | 47 | 3 | 1 | true | true | false | false | false | false | zero |
28,728,292 | How detect clicking parse notification? | <p>I use parse push notification in my app.
When i send message to all device in my dashboard,i cannot get delivery push when use click on notification.
Is there any way to detect it?</p> | I use parse push notification in my app. When i send message to all device in my dashboard,i cannot get delivery push when use click on notification. Is there any way to detect it? | android|notifications | 0 | 2015-02-25T19:50:00.590Z | 2,015 | 2 | 19 | 2 | 419 | 1 | 180 | 39 | 2 | 0 | false | false | false | false | false | false | zero |
28,728,309 | How to make drawable animation with sprite in Andengine? | <p>I was trying to make an animation like drawable_animation but is hard to find Andengine "clean" information. So i have a sprite an i want it to change its current texture region to another ,wait some time ,then to another etc. And while doing this move to the right. I could use <code>sprite.setx(sprite.getx+movemen... | I was trying to make an animation like drawable_animation but is hard to find Andengine "clean" information. So i have a sprite an i want it to change its current texture region to another ,wait some time ,then to another etc. And while doing this move to the right. I could use sprite.setx(sprite.getx+movement); but i ... | android|andengine | 0 | 2015-02-25T19:50:50.693Z | 2,015 | 2 | 19 | 2 | 424 | 1 | 360 | 56 | 2 | 0 | false | false | false | false | false | false | zero |
28,728,322 | Unable to draw on a mutable image android | <p>I am trying to draw lines on an image i am loading from my internal memory using the below mentioned code but it is not working </p>
<pre><code> imgView = (ImageView) findViewById(R.id.imageView);
bitmap = BitmapFactory.decodeFile(img1.getAbsolutePath()).copy(Bitmap.Config.ARGB_8888,true);
canvas = new Canvas(bit... | I am trying to draw lines on an image i am loading from my internal memory using the below mentioned code but it is not working [CODE] but when i change the code to : [CODE] i am able to draw the lines with my finger Any suggestions ? OnTouchCodeListner Function [CODE] | android | 0 | 2015-02-25T19:51:15.190Z | 2,015 | 2 | 19 | 2 | 104 | 1 | 269 | 41 | 1 | 3 | true | false | false | false | false | false | zero |
28,728,393 | How do I open a button another activity with another button? | <p>I have made successfully my Imagebutton to open anther activity but the issue is by using the same method on another ImageButton it comes up with an error saying the method is already used in "Main Activity".</p>
<pre><code>public class MainActivity extends ActionBarActivity {
private static ImageButton Image... | I have made successfully my Imagebutton to open anther activity but the issue is by using the same method on another ImageButton it comes up with an error saying the method is already used in "Main Activity". [CODE] How, if anything, can I apply another method for the "saintbedeslytham.saintbedes.news" | android|eclipse | -3 | 2015-02-25T19:55:11.830Z | 2,015 | 2 | 19 | 2 | 57 | 2 | 303 | 60 | 2 | 1 | true | false | false | false | false | true | negative |
28,728,410 | Cannot receive push notification from parse.com | <p>I have implemented what parse.com had in their tutorial and when I send a push from parse dashboard it says Succeeded but the number of pushes sent is 0. However whenever I want to send the push it says recepient 1 which means it recognizes my device. I did what it says in this link but it doesnt work:
<a href="http... | I have implemented what parse.com had in their tutorial and when I send a push from parse dashboard it says Succeeded but the number of pushes sent is 0. However whenever I want to send the push it says recepient 1 which means it recognizes my device. I did what it says in this link but it doesnt work: I can't rece... | android|parse-platform|push-notification|google-cloud-messaging | 0 | 2015-02-25T19:56:19.523Z | 2,015 | 2 | 19 | 2 | 912 | 2 | 591 | 47 | 4 | 4 | true | false | false | false | false | false | zero |
28,728,422 | Database update row how to - Android | <p>If you look at my code at the bottom, I have database with column 'used'. If it's 1 it means that it haven't been used, when it is used it set to update the number to 0. But when all of the rows have used number 0, then I would like to update used from 0 to 1 again in all of the rows. </p>
<p>I think of using this:... | If you look at my code at the bottom, I have database with column 'used'. If it's 1 it means that it haven't been used, when it is used it set to update the number to 0. But when all of the rows have used number 0, then I would like to update used from 0 to 1 again in all of the rows. I think of using this: [CODE] But ... | android|database | -1 | 2015-02-25T19:57:02.347Z | 2,015 | 2 | 19 | 2 | 33 | 2 | 413 | 36 | 2 | 2 | true | false | false | false | false | true | negative |
28,728,446 | Progressbar not showing up in GridView with custom view | <p>I have an app which loads some images in a gridview. I have a custom view made like this:</p>
<p>grid_item_view.xml:</p>
<pre><code><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">... | I have an app which loads some images in a gridview. I have a custom view made like this: grid_item_view.xml: [CODE] And i use it in my GridView adapter like this: ImageAdapter: [CODE] For some reason, the ProgressBar does not show up at all, only a blank screen, and after that the image finishes loading and the image ... | android|gridview|android-progressbar | 0 | 2015-02-25T19:58:21.213Z | 2,015 | 2 | 19 | 2 | 448 | 1 | 361 | 55 | 3 | 2 | true | false | false | false | false | false | zero |
28,728,455 | Getting Context from Fragment extended Activity | <p>I have an "app" that has a tab layout with three tabs:<br>
In the first I'm trying to retrieve some rows from a SQLite database and show them in a <code>ListView</code>.</p>
<p>The class which handle the tabs layout is called <code>PageFragment</code>:</p>
<pre><code>public class PageFragment extends Fragment {
... | I have an "app" that has a tab layout with three tabs: In the first I'm trying to retrieve some rows from a SQLite database and show them in a ListView . The class which handle the tabs layout is called PageFragment : [CODE] As you can see, in the onCreateView() method I manage the tabs layout. To retrieve data from th... | android|database|sqlite|android-fragments|android-context | -2 | 2015-02-25T19:58:48.130Z | 2,015 | 2 | 19 | 2 | 1,075 | 2 | 838 | 47 | 5 | 4 | true | false | false | false | false | true | negative |
28,728,728 | Android - share multiple intent with both images and videos. what to use in setType()? | <p>This is how we share multiple images: </p>
<pre><code>Intent intent = new Intent();
intent.setAction(Intent.ACTION_SEND_MULTIPLE);
intent.setType("image/");
intent.putParcelableArrayListExtra(Intent.EXTRA_STREAM, fileUrisList);
startActivity(Intent.createChooser(intent, "Share imageS using"));
</code></pre>
<p>And... | This is how we share multiple images: [CODE] And if we want to share multiple videos we can use intent.setType("video/"); instead. But what type should be used if the files ar mixed images and videos ? | android|android-intent | 0 | 2015-02-25T20:13:55.270Z | 2,015 | 2 | 20 | 2 | 825 | 1 | 201 | 86 | 2 | 1 | true | false | false | false | false | false | zero |
28,728,729 | Add several textviews over multiple lines | <p>I have a LinearLayout where I append textviews programmatically. The problem is that the number of textviews and the content (one word in each view) are dynamic.
How can I start to append the next textview to a new line, if the current line is filled?</p>
<p>Would like:</p>
<pre><code>One Textview for each
word ... | I have a LinearLayout where I append textviews programmatically. The problem is that the number of textviews and the content (one word in each view) are dynamic. How can I start to append the next textview to a new line, if the current line is filled? Would like: [CODE] This example should give 12 textviews, with a new... | android|user-interface|android-layout|textview | 3 | 2015-02-25T20:13:59.563Z | 2,015 | 2 | 20 | 2 | 966 | 1 | 504 | 41 | 4 | 2 | true | false | false | false | false | false | low |
28,728,730 | Android save backstack fragment history | <p>I put in backstack fragments: A->B->C->D, where A is starting fragment for activity. After pressed home button, use other apps and return in my app, activity restarted and i see fragment A. How can i save all history of backstack? </p>
<p>code example for addbackstack:</p>
<pre><code>FragmentManager fragmentManag... | I put in backstack fragments: A->B->C->D, where A is starting fragment for activity. After pressed home button, use other apps and return in my app, activity restarted and i see fragment A. How can i save all history of backstack? code example for addbackstack: [CODE] if it can help - i use NavigationDrawerFragment, pa... | java|android | 3 | 2015-02-25T20:14:01.873Z | 2,015 | 2 | 20 | 2 | 2,454 | 2 | 357 | 39 | 2 | 2 | true | false | false | false | false | false | low |
28,728,790 | Android: can't refresh my listview | <p>When I try to delete an item in a listview it does not update then the listview. I have followed and read some similar questions here in stackoverflow but I had no results. Can you please help me?</p>
<p>I have an Activity Ver where I have an onResume() method:</p>
<pre><code>public class Ver_DespesasActivity exte... | When I try to delete an item in a listview it does not update then the listview. I have followed and read some similar questions here in stackoverflow but I had no results. Can you please help me? I have an Activity Ver where I have an onResume() method: [CODE] Then I have a class MyAdapter where I have the refresh() m... | android | 4 | 2015-02-25T20:17:51.757Z | 2,015 | 2 | 20 | 2 | 216 | 1 | 498 | 34 | 1 | 3 | true | false | false | false | false | false | low |
28,728,827 | Android record square video and concat | <p>Is there a way to record square (640x640) videos and concat them in Android? I looked up in the Internet and found some solutions. The solution seems to be "ffmpeg". However, to use ffmpeg I need to dive into NDK and build ffmpeg from its sources. Is there a solution by only using the Android SDK?</p>
<p>My basic n... | Is there a way to record square (640x640) videos and concat them in Android? I looked up in the Internet and found some solutions. The solution seems to be "ffmpeg". However, to use ffmpeg I need to dive into NDK and build ffmpeg from its sources. Is there a solution by only using the Android SDK? My basic needs are: R... | android|video|android-ndk|ffmpeg | 6 | 2015-02-25T20:20:20.733Z | 2,015 | 2 | 20 | 2 | 2,273 | 1 | 505 | 38 | 4 | 0 | false | false | false | false | false | false | medium |
28,728,894 | Is the Volley API thread-safe? | <p>In the Android Volley API I need to make some request object to be placed into a request queue and that object will receive the response.</p>
<p>Is this thread safe? If multiple threads try to access the queue and retrieve the result what happens?</p> | In the Android Volley API I need to make some request object to be placed into a request queue and that object will receive the response. Is this thread safe? If multiple threads try to access the queue and retrieve the result what happens? | java|android|multithreading|android-volley | 2 | 2015-02-25T20:24:56.003Z | 2,015 | 2 | 20 | 2 | 841 | 1 | 240 | 30 | 4 | 0 | false | false | false | false | false | false | low |
28,728,976 | Webrtc static libraries on Android | <p>For the Android project I am working on, I need to use webrtc static libraries for ARM as well as x86.</p>
<p>Following the tutorial at <a href="http://andrii.sergiienko.me/?go=all/building-webrtc-demo-for-android/" rel="noreferrer">http://andrii.sergiienko.me/?go=all/building-webrtc-demo-for-android/</a>, I manage... | For the Android project I am working on, I need to use webrtc static libraries for ARM as well as x86. Following the tutorial at http://andrii.sergiienko.me/?go=all/building-webrtc-demo-for-android/ , I managed to build the demo application for Android on my Ubuntu box. However, my main interest is in obtaining static ... | android|webrtc | 4 | 2015-02-25T20:30:45.750Z | 2,015 | 2 | 20 | 2 | 847 | 1 | 573 | 34 | 2 | 1 | true | false | false | false | false | false | low |
28,728,988 | Close activity after x minutes of inactive | <p>I have an activity. What I want is if the user is inactive, after a time (represented by x), this activity will automatically finish. All help is appreciated.</p>
<p>My sample code:</p>
<pre><code>package com.zilant.testapp;
import android.support.v7.app.ActionBarActivity;
import android.os.Bundle;
import android... | I have an activity. What I want is if the user is inactive, after a time (represented by x), this activity will automatically finish. All help is appreciated. My sample code: [CODE] | java|android | -6 | 2015-02-25T20:31:36.883Z | 2,015 | 2 | 20 | 2 | 1,400 | 1 | 181 | 42 | 2 | 1 | true | false | false | false | false | true | negative |
28,729,021 | Get RecyclerView child Views | <p>I am trying to get all the Views of RecyclerView items but it seems I can get only the first one. I am fetching the Views like this:</p>
<pre><code>LinearLayoutManager manager = (LinearLayoutManager) rv.getLayoutManager();
List<View> list = new ArrayList<View>();
for(int i = 0; i < manager.getItemCo... | I am trying to get all the Views of RecyclerView items but it seems I can get only the first one. I am fetching the Views like this: [CODE] The problem is that I fetch the first View in RecyclerView all the time. If I have 10 items, first item will be fetched and other 9 items will be logged as null. It's like scrollTo... | android|android-recyclerview | 1 | 2015-02-25T20:33:29.643Z | 2,015 | 2 | 20 | 2 | 10,502 | 1 | 901 | 28 | 2 | 1 | true | false | true | false | false | false | low |
28,729,055 | how do I resolve InputEventReceiver error? | <p>I have created a small program in android to sync the data from the cloud but whenever I press the refresh button (for developing purposes) the code does not responds..
The Logcat shows: </p>
<pre>
02-25 22:57:32.195: W/InputEventReceiver(17762):
Attempted to finish an input event but the input event receiver has ... | I have created a small program in android to sync the data from the cloud but whenever I press the refresh button (for developing purposes) the code does not responds.. The Logcat shows: [CODE] The java code for the MainActivity and the FragmentActivity classes are given below [CODE] package sunshine.com.example.himans... | java|android | 4 | 2015-02-25T20:35:35.370Z | 2,015 | 2 | 20 | 2 | 6,765 | 1 | 339 | 42 | 2 | 3 | true | false | true | false | false | false | low |
28,729,067 | Android: Increment Button in loop to setVisibility | <p>I make a game like 4Pics1Word.</p>
<p>Now I have 14 buttons and I want to set the visibility of the Buttons in a loop.</p>
<p>If the answer has 5 letters, the first 5 Buttons should be Visible</p>
<p>For example this is my code:</p>
<pre><code>int lengthTest = dataArr.get(currentQuestion)[0].length(); // Get Len... | I make a game like 4Pics1Word. Now I have 14 buttons and I want to set the visibility of the Buttons in a loop. If the answer has 5 letters, the first 5 Buttons should be Visible For example this is my code: [CODE] And that is what I have now, but for 100 Pics it take´s to long to write it every time [CODE] I hope you ... | android|loops|button|visibility|visible | 0 | 2015-02-25T20:36:10.597Z | 2,015 | 2 | 20 | 2 | 1,057 | 2 | 2,243 | 50 | 5 | 4 | true | false | false | false | false | false | zero |
28,729,076 | Is every object destroyed when widget is refreshed? | <p>I have widget that looks like this:</p>
<pre><code>public class WidgetMain extends AppWidgetProvider {
public LocationListenerClass locationListener = null;
private static final String WIDGET_CLICKED = "widgetClickTest";
@Override
public void onEnabled(Context context) {
super.onEnabled(context);
... | I have widget that looks like this: [CODE] } Well, When I run(and also when It receives update broadcast) my app I get both locationIsNull=true and isCalled=true in debug log, so my question is. Is the object destroyed between updates of widget? | android|android-widget | 1 | 2015-02-25T20:36:45.380Z | 2,015 | 2 | 20 | 2 | 34 | 1 | 245 | 51 | 2 | 1 | true | false | false | false | false | false | low |
28,729,101 | Fastest way to write byte[] chuncks on android | <p>I want to <code>write audio data</code> that comes from the microphone to a file.</p>
<p>I have <code>2 threads</code>: one "listen" for the audio data and send it to the second thread(the consumer) which stores it in a queue. The consumer thread constantly polls the queue and writes on the file the audioData as by... | I want to write audio data that comes from the microphone to a file. I have 2 threads : one "listen" for the audio data and send it to the second thread(the consumer) which stores it in a queue. The consumer thread constantly polls the queue and writes on the file the audioData as byte[]. I use RandomAccessFile for the... | android|file-io | 2 | 2015-02-25T20:38:36.830Z | 2,015 | 2 | 20 | 2 | 71 | 0 | 540 | 46 | 2 | 2 | true | true | false | false | false | false | low |
28,729,126 | Android Hello World ant debug | <p>Forgive me for what is undoubtedly a dumb question.</p>
<p>The hello world lesson (developer.android.com/training/basics/firstapp/running-app.html) suggests you change directories to the root of your android project and execute "ant debug". This is what I get;</p>
<pre><code>C:\Users\Paul\AndroidStudioProjects\MyF... | Forgive me for what is undoubtedly a dumb question. The hello world lesson (developer.android.com/training/basics/firstapp/running-app.html) suggests you change directories to the root of your android project and execute "ant debug". This is what I get; [CODE] | android | 0 | 2015-02-25T20:39:50.223Z | 2,015 | 2 | 20 | 2 | 64 | 1 | 260 | 29 | 1 | 1 | true | false | false | false | false | false | zero |
28,729,223 | Is possible to connect two wireless devices if they are on different subnets? | <p>I'm working on an android app. Lets assume that i have 4 devices (smartphones), two of them are accesspoints and to both of them are connect a device, obvously they are connect via wireless.</p>
<p>So the fact is that i need a way to send data from one subnet to the other, i tried to use multicast (using jmdns libr... | I'm working on an android app. Lets assume that i have 4 devices (smartphones), two of them are accesspoints and to both of them are connect a device, obvously they are connect via wireless. So the fact is that i need a way to send data from one subnet to the other, i tried to use multicast (using jmdns library) but wi... | android|networking|multicast|access-point | 0 | 2015-02-25T20:45:15.057Z | 2,015 | 2 | 20 | 2 | 266 | 2 | 364 | 77 | 4 | 0 | false | false | false | false | false | false | zero |
28,729,260 | Cannot implicitly convert type 'Xamarin.Auth.OAuth2Authenticator' to 'Google.Apis.Http.IConfigurableHttpClientInitializer' | <p>I am trying to use google drive services with flowing code and authentication</p>
<pre><code>var auth = new OAuth2Authenticator (
clientId: xxxxxxxx
scope: "https://www.googleapis.com/auth/drive",
authorizeUrl: new Uri ("https://accounts.google.com/o/oauth2/auth"),
redirectUrl: new Uri ("myredirect:oob"));
</code><... | I am trying to use google drive services with flowing code and authentication [CODE] and trying to initialize the google drive services by [CODE] but above code shows an error Error CS0266: Cannot implicitly convert type 'Xamarin.Auth.OAuth2Authenticator' to 'Google.Apis.Http.IConfigurableHttpClientInitializer'. An exp... | android|xamarin.ios|xamarin|oauth-2.0 | 1 | 2015-02-25T20:47:53.977Z | 2,015 | 2 | 20 | 2 | 409 | 0 | 378 | 122 | 4 | 2 | true | true | false | false | false | false | low |
28,729,451 | program stopping due java.lang.NullPointerException: Attempt to invoke virtual method | <p>My app is getting crashed due this error </p>
<pre><code> Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.os.Bundle.getString(java.lang.String)' on a null object reference
</code></pre>
<p>Now I know this is caused by some null reference but I'm Not able to... | My app is getting crashed due this error [CODE] Now I know this is caused by some null reference but I'm Not able to figure it out, here's where exactly the problem happen, after pressing the alert key [CODE] I'm trying to go to this activity [CODE] } this is my manifests file [CODE] [CODE] I'm newbie in programming, s... | java|android|nullpointerexception | 0 | 2015-02-25T20:59:54.683Z | 2,015 | 2 | 20 | 2 | 38 | 0 | 399 | 85 | 3 | 6 | true | true | false | false | false | false | zero |
28,729,471 | Android: Add indeterminate ProgressBar to View | <p>Pretty simply question; the title says most of it.</p>
<p>Basically, while Parse downloads the actual data for an image - which is nicely handled by <code>ParseImageView</code> - I'd like the UI to display a "loading" indicator on that ParseImageView.</p>
<p>I'm familiar with iOS, in which I can simply add one <co... | Pretty simply question; the title says most of it. Basically, while Parse downloads the actual data for an image - which is nicely handled by ParseImageView - I'd like the UI to display a "loading" indicator on that ParseImageView. I'm familiar with iOS, in which I can simply add one UIView to another UIView . I haven'... | android|progress-bar | 0 | 2015-02-25T21:01:15.237Z | 2,015 | 2 | 21 | 2 | 132 | 0 | 1,045 | 46 | 2 | 0 | false | true | false | false | false | false | zero |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.