Tagged Questions
Android is Google's software stack for mobile devices. Please use the Android-specific tags such as [android-intent], not [intent]. For non-developer questions, see http://android.stackexchange.com.
0
votes
0answers
4 views
Bangla font is not showing in Android Tab
I am having a bit problem with showing bangla font in my android emulator. In my emulator bangla font is not showing in tab and in the list item. I have used android sherlock library in my project.But ...
0
votes
0answers
2 views
Javascript error in HTML output from systrace, any ideas?
When I run systrace from DDMS (on Windows) the html file that is produced contains a javascript error that is preventing the results from being seen in a browser. The data exists in the html file, ...
0
votes
0answers
4 views
Video/audio files not playing in HTML5 app converted to Android app
I'm following the advice in this question to convert an HTML5 app to Android native app using Eclipse adn phonegap.
It all works great, I can deploy the final app to my Android device in debug mode, ...
0
votes
0answers
5 views
Getting data (asynchronous) and populating ViewPager's fragments
I have an activity with a ViewPager with a variable number of fragments (tabs).
Upon start the activity checks if the associated (complex) data has been loaded. If it hasn't it shows a progress bar ...
0
votes
0answers
5 views
android update facebook app if using sdk 3.0
I am developing an app that uses facebook sdk 3.0. In order to make it work, I had to upgrade facebook app on device. I would like to suggest user to install facebook app and if already installed, ...
0
votes
0answers
9 views
SQLite on Android doesn't insert properly
I am making an Android app to learn SQLite databases. I have a function that should write the user's movement data from the accelerometer into the database. The database is created with:
...
-1
votes
0answers
5 views
Facebook Login Screen Loop
I am making an app which has a Facebook login screen to start. When I click login on my own mobile it asks for permission to access my public profile and I press ok. It then takes me back to the login ...
0
votes
0answers
8 views
Custom View subclass lose references
I'm trying something like this
public class CustomViewSubclass extends HorizontalScrollView{
private LinearLayout layout;
public CustomViewSubclass(Context context) {
this(context,null,0);
}
...
0
votes
1answer
11 views
Saving Array on Orientation Change
I am very new to Java/Android Development/programming. Recently I am working on tutorials from book, and trying to solve problems outside the scope of text. I ran into problems.
On orientation ...
-1
votes
1answer
12 views
Android development - how to store images that other users upload?
I am currently developing an Android application where users will be able to upload their own recipes. So I made a database using SQLite to store users' recipe information. It would be good to store ...
0
votes
2answers
9 views
Change list-view item background dynamically
I am having a list of songs and want to highlight(change background of) that song which is currently playing.It should be able to change background when my song finishes and goes to next one.I also ...
0
votes
0answers
5 views
Updating Database with JSON not executing update or delete
after the crashing problem been solved now the application is not executing the update or deleting
when i update it crashes immediately but when i delete it shows me the toast and nothing happens ...
0
votes
0answers
10 views
Database errors when opening
I'm having trouble opening a Database.I can get the DB to open and close and grab the data that I require in a Layout class and push it to a UI fine. But i also want to open the DB in the background ...
0
votes
0answers
8 views
Adding to NameValuePair for http request
Okay so I need to a retrieve specific field from an online database, based on some parameters.
The parameters have to be passed from the Android application to the PHP script (I have that working for ...
0
votes
0answers
4 views
Android library assembles with Gradle but “Cannot find Symbol R” error raise on connectedCheck
I have an android library with the file structure below.
Android_Library
├── libs
└── src
├── instrumentTest
│ ├── assets
│ └── java
└── main
├── aidl
├── gen
...
0
votes
0answers
7 views
MvxBind Error: “Null object can not be converted to a value type” thrown before the first screen is displayed
I'm using MvvmCross to bind data from the ViewModel to properties in an axml layout file. These bindings work correctly once the application has fully loaded. However, there are a large number of ...
0
votes
0answers
16 views
Application Not Installed can only open from play store
I have just released my first app on the market, first there was an error with starting intents which i have fixed. Now once installed, clicking on the launch icon causes a message to appear ...
0
votes
1answer
8 views
Getting Result from Activity Started with SearchManager
I am following this relatively simple tutorial on how to manually start a SearchableActivity so that I can get a result back from it.
He is basically setting up the base Activity (Activity A) as the ...
0
votes
0answers
14 views
Socket programming java - How do use only 1 socket instance
Client side
public void onCreate(Bundle savedInstanceState) {
...
//button
ok.setOnClickListener(new View.OnClickListener() {
public void onClick(View v) {
new Thread(new Runnable() {
public void ...
0
votes
0answers
14 views
Jquery click event not working on Android OS
an example of my code:
<div id="ClickMe">Click here</div>
<script type="text/javascript">
$('#ClickMe').click(function(){
alert('CLICK');
});
...
-1
votes
2answers
22 views
Check if device has internet connection
I want to check if the device has internet connection. I have found a lot of solutions but I can't do something like this in example:
if(device has Internet connection){
...
0
votes
0answers
4 views
Android: only show cursor in edittext when keyboard is displayed
how can I only show the cursor of an EditText when the keyboard is displayed.
At the moment the cursor is blinking even if the EditText is not active and the keyboard is hidden, which is really ...
0
votes
0answers
9 views
Getting android tilt past 90 degrees through Rotation Vector
I'm trying to always orient a textview upwards, even when the phone is tilted or inverted. My orientation is fixed landscape. The below code works fine, but only up to 90 degrees, beyond which the ...
0
votes
0answers
5 views
Installation Error - D/InstallAppProgress(): Installation error code: -25
I am trying to install my APK, which has been signed by my Production key (the same one I have always used for my app in the Play Store).
When I try to install a test build (again, signed with the ...
-1
votes
0answers
6 views
How to add zoom using SimpleOnGestureListener?
How do we add pinch to zoom functionality to an android app?
I have a class which extends SimpleOnGestureListener and I'm using an SVG file, so I want to add a pinch to zoom to add that.
0
votes
0answers
9 views
How to intercept character entered in keyboard (software or hardware) by View in android
What I'm trying to achieve is this
I know that I can set OnKeyListener and by keyCode I should be able to know what character has been entered. But I think that this is somehow wrong method to do it.
...
0
votes
1answer
19 views
How to create another button in android dynamically
As the title states, I am looking to find out how to create a button dynamically when another button in another activity is pressed. This is being done with the Android SDK.
Basically, I have two ...
0
votes
0answers
18 views
My android app crashes only when its not connected to my computer (via Eclipse)
It runs just fine when it is connected to my computer. BUT when it is not connected, it crashes in minutes. Does anyone know why? I tried to debug it with LogCat but it never crashes when it is ...
1
vote
1answer
14 views
clearFocus in android dialog doesn't work
I have a EditText(searcField) in a android dialog, after I finished the editing, and dismiss the dialog.
then i go to other EditText, the focus is still in searchField.
Any idea?
thanks
EDIT:
...
0
votes
0answers
8 views
Can I add more than one period to perform a sync in Android syncAdapter?
I'm implementing a SyncAdapter and I need to synchronize a few times in a day but I also need the onPerformSync trigger a synchronization at midnight.
ContentResolver.setIsSyncable(account, ...
0
votes
0answers
7 views
Problems found loading Plugins in Android Studio
After updating Gradle as suggested in this answer the following error appears while using Android Studio 0.2.0
How to get over this one?
0
votes
1answer
9 views
Android Fragments not refreshed after leaving and coming back to app
I'm having a strange issue with fragment views not refreshing properly, but it only happens after the app is closed and re-opened after some amount of time.
I have a TabSwitcherActivity which ...
0
votes
0answers
6 views
Android gradle import lots of errors and trouble
Im trying to get used to this new gradle system built into the new Android studio.
I've tried a really basic task, to import the websockets library into my project. So I imported the module via the ...
2
votes
0answers
17 views
Alarm Manager setRepeating not waiting till time to go off
I'm setting up this alarm to go off at X and current time is Y and it sending the alarm at the time Y not waiting till time X go off... Can anyone tell me why its not waiting till the proper time to ...
0
votes
0answers
3 views
Place Android SurfaceView between two views
We have a cross platform third party library which renders a scene into a GLSurfaceView for display. We have two requirements that are seemingly at odds with each other because we're using a ...
1
vote
1answer
28 views
Android .R not generating - checked all common causes
After getting a new computer and setting up eclipse again, no projects are generating the .R file. The SDK is on revision 22 which I noticed some people had issues with, but setting the Private ...
0
votes
1answer
10 views
setOnClickPendingIntent in widget doesn't work
I tried a lot to change my widget view's image when i click on it but it doesn't work. It's my code:
public class myAppWidgetProvider extends AppWidgetProvider {
public static String ...
0
votes
0answers
11 views
Fast partial image bulge effect
I'm writing a small libGdx application that may be able to distort a face simulating hits (something similar to FaceSmash), but can't find what kind of filter should I apply, neither info about math ...
0
votes
0answers
11 views
Imageview overlaps other imageview and pushes it off of screen
So I have 3 layouts that I am attempting to fit on a screen. The BottomBar class inflates the bottombar layout, and puts it underneath the layout that Bottombar receives as a parameter. This middle ...
0
votes
1answer
7 views
FlowPlayer on Android Emulator not visible
So I've made HTML that works fine on my laptop browser that streams audio and tried making a WebView to view the FlowPlayer. I've enabled JavaScript, turned set the plugin state to on and installed ...
0
votes
0answers
7 views
Clickable View inside a MotionEvent View
I have several TextViews inside a LinearLayout inside a ScrollView. The ScrollView has an onFling event but within this I want the TextViews to handle an event that recognizes when one of them is ...
0
votes
3answers
25 views
BaseAdapter class wont setAdapter inside Asynctask - Android
I have asynctask that gathers usernames, comments, and numbers. It places them into strings and is then suppose to call a BaseAdapter class, create an adapter, and set the adapter to the class. But my ...
0
votes
0answers
9 views
ArrayAdapter with Fragments switching for items not working
I need top develop a ListView where item is a fragment (FRONT) which on click flips to another fragment (BACK).
I have made a custom adapter where I am populating each item of the list (in getView) ...
0
votes
1answer
17 views
Is it possible to build a multichoice Alert Dialog from an adapter?
I have an AlertDialog setup almost identical to the one described in this link: http://stackoverflow.com/a/4697761/2593088
I use it for pulling photos from an SD card, so i have the photo and the name ...
0
votes
1answer
21 views
Google Play Services sign in error
I have been trying to run the example named buttonclicker2000:
I set up everything and it works on a real device.
But on the emulator 4.2.2 when trying to sign in i get an unknown error.
here is the ...
0
votes
1answer
20 views
Using Gradle in Android Development
Im new to android development and ive seen some old tutorials before regarding its development on Eclipse. i recently download the new Android Studio to use for the development. However, i found ...
0
votes
1answer
13 views
How to modify a table in a database sent (or ship) in the application without deleting the other tables?
I'm working on an Android application that use a DB sent in the assets folder. Periodically, I need to update one of the tables in the database, but without deleting the contents of the others ...
0
votes
0answers
16 views
Android App doesn't compile due to invalid character constant
i have to work on an open source App, I have cloned the project from the repository but I get a compilation error at this point
public static HashMap<Character, String> UNICODE_TRANS = new ...
0
votes
1answer
16 views
How to get the log of apps that get started after starting the android device ?
I am trying understand some concepts about android device startup ,I want to know that is there any way that I can get a log of applications that get started on device Boot-up ? How can we get that ? ...
-8
votes
0answers
49 views
Is there any online job for android programmer? And how much it is payed? [on hold]
I am really curious about online job for android developer..i am good at making games...i would like to know about online jobs and pays.