Android is Google's open source OS and system for smart phones and tablets. For user questions, see http://android.stackexchange.com

learn more… | top users | synonyms

-3
votes
0answers
19 views

Connect multiple devices (smartphones and tablets) into PC [on hold]

I have 8 smartphones and 5 tablets Android. How i can connect all this devices into my pc? Why i need this? i have a automated feature test and when i deploy application the tests begin... but i ...
-5
votes
0answers
19 views

creating a virtual museum app on android [on hold]

I'm asked to make a virtual museum app for android for my project? Are there any quick tools, helpful materials or ready templates that can be suggested. I intend to make it picture driven(good UI ...
-6
votes
0answers
29 views

FATAL EXCEPTION: main android development [on hold]

I'm trying to access a web service from android to check the username and password in login, and when i click the login button i'm getting this errors 10-19 21:24:46.384: E/AndroidRuntime(18276): ...
-2
votes
0answers
47 views

How to approach in android developing? [on hold]

I have started to learn android from tutorials.But i am facing some difficulties to memorize the android codes.It is too much lengthy and the functions or the codes are not too small.Sometimes they ...
-2
votes
0answers
20 views

How to setup a good house ads system for my apps? [on hold]

As the question says What are the best methods I can use to setup such system? Are there any companies which offer house ad system?
0
votes
0answers
26 views

Java API initialization step

I am developing an Android Library which involves both Network and Bluetooth communication. In order to start using the library it must be configured. In other words a request to the backend must be ...
-3
votes
0answers
38 views

Reading texts messages into computer for use [closed]

I was referred here after asking this question on Stack Overflow: I want to do a project where I would write a program that takes a file that has read all of my texts messages and then counts the ...
-4
votes
0answers
36 views

java.lang.NullPointerException in the sunshine app [closed]

I am programming the SunShine app (The app that pushs the weather informations for your city). I have a problemme in java file called DetailActivity The problem is caused by : ...
-1
votes
0answers
36 views

How to create a 'Hybrid Android App' using a free app creator..? [closed]

I want to develop a directory app and gather all the contact information of the educational institutions of my city. I am a non-programmer but I can understand good amount of android app related ...
-1
votes
0answers
41 views

eclipse - Is there any IP address, aside of PC IP address connecting to localhost in android? [migrated]

I got a problem while connecting to localhost in android, it always say, "Unfortunately, application has stopped". I don't know how to fixed it. Here's my sample of code, AllBooksActivity.java ...
-1
votes
0answers
45 views

Benefits of using Unity vs. Native code for a mobile app [closed]

I have heard wide and varied opinions on constructing mobile apps in Unity vs. the native platform (iOS, Android, Windows). I have heard a few people who believe Unity is always the way to go (even ...
-2
votes
0answers
19 views

Is it possible to read a final destination longitude/latitude from google maps navigation, from my own app? [closed]

If a user is currently navigating somewhere with Google Maps, I was wondering if it is possible to read the final destination longitude/latitude from Google Maps Navigation from my own app. Obviously ...
4
votes
2answers
121 views

Does having many duplicated methods and deep inheritance hierarchies in GUI APIs (Java Swing, Android SDK) violate the SOLID design principles?

For those unfamiliar with the SOLID principles you can start reading here: Wikipedia article. However, most of my understanding comes from: http://www.objectmentor.com/resources/publishedArticles.html ...
0
votes
1answer
35 views

Managing multiple versions of the same Android Library Project

I have an Android Library Project which I intensively used in a few projects. I started a new project in which I am also using this library. I want to improve some things in library (method ...
1
vote
4answers
235 views

How to ensure multiple clients don't poll the server at the same time?

I am making an android app which will talk to a web service to get data. The web service has a rate limit of 100 calls per minute. Is there a way, recommended method to ensure that the app across ...
-2
votes
0answers
49 views

How fast can I get the RSSI-value of a bluetooth device?

I was wondering at what maximum rate would I be able to obtain the RSSI of Bluetooth device on my Android phone? I have run a code identical to that given by Memochipan in this answer at Stack ...
0
votes
1answer
32 views

Android, using a Fragment to hold/edit complex object, accesible from any Activity

I'll do my best to describe the problem, but I'm still very new to several concepts that I think this problem requires to be solved (namely interfaces and threads). I should preface this by saying ...
0
votes
1answer
45 views

Android: Is root absolutely required to re-link libs in Play Store APKs?

This question pertains to the re-link clause of the LGPL specifically on the Play Store. There's lots of unclear information about this topic. Assuming there's an application on the Play Store that ...
0
votes
2answers
70 views

How to check in website/url have been updated or not?

I am trying to make a Android application which will take your URL and if there is new update on that website then it will show the user that this link have been updated. I am working on the project ...
0
votes
1answer
52 views

How can I test my camera-dependent android app on most devices? [duplicate]

We are developing an app for taking photos faster. We do this by actually taking videos instead of photos and processing the individual images in the video on the fly and combine them to create a ...
0
votes
0answers
28 views

Is this synchronization required in service onCreate method?

Below is a sample code i captured from android doc Per service instance onCreate will be called only once. Ref: here and here The synchronization and singleton doesn't make any sense to me in this ...
0
votes
2answers
158 views

How to connect Android App to MongoDB deployed on Google Cloud

Currently I am working on a simple app which will be able to connect to MongoDB which is deployed in Google Cloud. I have set it up MongoDB ocaly on my computer and I have made a little JAVA console ...
0
votes
1answer
44 views

How to format Android view IDs

I struggle with this every time I work on a project. I am not entirely sure what the standard conventions are for creating view ids. I usually use something like view_more_button but then if we ...
1
vote
0answers
100 views

Large Scale Application Development in Android

Since, I am fairly new to large scale app development in Android and Java, I though I would ask for your advice guys. My team was faced with developing a prototype of a fairly complex medical ...
-2
votes
1answer
84 views

What is the legality of making a mobile app version of an existing card or board game? [closed]

I see that the market is full of mobile apps based on card/board games. For example, do a search for "Taboo" and there are many results which are not published by Hasbro Inc. Is this legal? The top ...
1
vote
1answer
99 views

Should CountDownLatch be used for waiting for an event?

I have a situation here, where I have a loop that loops x amount of times. The value x is determined by the user. Everytime it loops, I want it to wait for a button click before continuing the loop. ...
0
votes
0answers
137 views

Best practice: Secure Android app online authentication

Currently, I develop an Android App needing online authentication for login (and registration). The main focus is on security. I’m amaing for: keeping the users’ passwords safe and preventing MITM ...
3
votes
1answer
109 views

Android testing - bugs not reproducible [duplicate]

We have the following problem: at the end of the iteration we give our Android app to our customers to test. Our customers report bugs that are not reproducible on our test devices. How can we deal ...
3
votes
1answer
135 views

How to implement await in Android

This is a general question to understand how await in C# works, and particularly I am interested in implementing it in Android. So C# await allows you to go in to waiting mode in the middle of the ...
1
vote
1answer
600 views

Moving a multi-activity android app into a navigation drawer activity

I'm making an Android app and have it structured as a simple multi-activity app. I want to add a navigation drawer to it, and it looks like I will need to completely restructure the app and load ...
1
vote
1answer
110 views

Should data be stored to local database in Android when heavily using REST services?

Let's say I have an application that has constantly changing data. Changes are so frequent that you basically need to refresh data every time you open some screen and keep refreshing it. Is it worth ...
1
vote
2answers
97 views

Android SDK and Iphone SDK limitations

I have an idea that would require triggering a call or text message simply by pressing or dialing a certain number. Example: Pressing 2324 on the pin code. Despite it not being your pin code to ...
1
vote
0answers
30 views

Android network Lib development

I have to develop an Android library that should frequently communicate with a server in the background. Access to the lib Object should be guaranteed everywhere in the Apps that will use it, so I ...
2
votes
4answers
417 views

How to develop cross platform mobile applications with native UI and Javascript backend?

I want to build a cross platform(Android, iOS, Windows) mobile application. I want the UX of the application to be different on the different platforms so that it will be more platform specific and ...
0
votes
0answers
49 views

VPN system to analyze users traffic (onavo-like)

I would like to develop a system that is able to analize the network traffic of people using it. I am interested in the URLs that the users request. Let's say the users targeted are on iOS or Android ...
4
votes
0answers
262 views

Why does the new ADT create a static inner class Fragment by default?

Honestly, I can't help but feel that this is done merely to confuse newcomers. Most of the errors on Stack Overflow by complete Android newbies mostly stem from that they have a static inner class ...
0
votes
1answer
82 views

Android Icons Square [closed]

I created an action bar icon for an Android app I'm working on and it seems to downscale my icon. The thing is, it isn't a square icon. The width is greater than the height. Do I really HAVE to ...
0
votes
0answers
50 views

How to transfer metadata using Bluetooth between an iPhone and an Android mobile?

I would like to develop a hybrid app to transfer data/meta data between an iPhone and an Android mobile device using Bluetooth. I could find BTStack and PhoneGap useful. But, is it possible to ...
1
vote
1answer
89 views

Ensuring submitted hiscores are not fake

I have a small game that I would like to keep track og global hiscores for. The basic is simple: username and score is submitted to a server for storage and later polling. However how do I ensure that ...
1
vote
1answer
64 views

Use camera to analyze homogeneity

We are working with some screens whose in the production process change their state from a transparent state to a colored state. This colored state is achieved to block light transmittance. In this ...
0
votes
1answer
324 views

Guidance on android type app to connect to sql-server

Excuse my ignorance but we've got an application that we'd like to sample out on a mobile app The app is a C#/asp.net application connected to our sql server database. If we are going to write an ...
1
vote
2answers
267 views

Is it okay if we use an arbitrary string as UUID?

I found the tutorial of client (android) and server (pc) bluetooth tutorial from here. But my question is about the UUID. Is that okay if we define it randomly without the proper format? Because I ...
0
votes
2answers
81 views

What is selection and what is projection

I am working on Android with the query() method of the ContentResolver class and it accepts 6 parameters, (uri,projection,selection,selectionArgs,sortOrder,cancellationSignal) for selection and ...
0
votes
0answers
64 views

What are the implications of the cache when using notifyDataSetChanged?

I use Volley to return JSON from an API. I parse this JSON and add StoreItem objects to a List, then use an adapter to display in a listview. I use the cache functionality in Volley, and I'm ...
0
votes
1answer
71 views

What's the best way to store options with multiple/boolean choices in an Android app?

I'm working on an Android social app which connects to a Postgresql database for up-to-date user data and is going to use lookups for dropdown menus, and these lookups will either have multiple ...
0
votes
1answer
78 views

Analogy for Android fragments [closed]

I'm trying to understand the flow of Android apps. I come from a RoR background, so I try and use that background to understand new concepts in Android. Here's my question: How can I think about ...
0
votes
1answer
74 views

Broadcast receiver Or Services

I am creating an "Alarm Clock" app in Android. I learned that we can implement OnReciever() method and write those things which we want the alarm to do after an intent is fired. But I have now come ...
0
votes
1answer
92 views

Sortable listview using SQLite [closed]

I'm implementing a sortable listview using bauerca's library here. This works, but now I need to define some things where I need some help. This is the functionality of my app_ I can create up to 5 ...
0
votes
0answers
169 views

Android From Local DB (DAO) to Server sync (JSON) - Design issue

I sync data between my local DB and a Server. I'm looking for the cleanest way to modelise all of this. I have a com.something.db package That contains a Data Helper and couple of DAO classes that ...
5
votes
1answer
617 views

Why use Android Fragments?

I have read the documentation and some other questions' threads about this topic and I don't really feel convinced; I don't see clearly the limits of use of this technique. Fragments are now seen as ...