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

0
votes
0answers
25 views

why java standards were opted for android [duplicate]

I am an android developer and was doing some work, just came across this little thing that why the java standard were opted for the android development. There are other platforms too,that was capable ...
0
votes
0answers
12 views

Problems with my marquee underneath a ViewPager. Is my code inefficeint? [migrated]

So basically I have a ViewPager that has an image on each page with a total of 6 images for now. I plan to update the ViewPager every scroll by removing the previous image and adding another image to ...
1
vote
2answers
64 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
20 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 ...
1
vote
1answer
107 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
1answer
17 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 ...
0
votes
0answers
41 views

Literature on Android and multicore programming [on hold]

I'm having a deep research on the Android OS and I'd like your assistance on something. Now I'm into how can Android efficiently utilize multiple cores. I've seen a lot of articles online on ...
-4
votes
0answers
26 views

Nexus 5 Not Recognized in Eclipse [closed]

So, I'm trying to get into mobile development, and I'm having a pretty tough time so far. I'm following a guide on developers.android.com that's supposed to walk me through setting up the development ...
0
votes
0answers
13 views

How To Insert LZMA Files [migrated]

I hope someone can help me on this. This is for the Freescale IMX6Q tablet (Zenithink C-94). This really is a good tablet that never a chance. Originally came out with ICS 4.0 on it. Freescale ...
3
votes
0answers
33 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
55 views

Android Icons Square [on hold]

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 ...
-2
votes
0answers
24 views

How to show an Activity as pop-up window on other Activity? [closed]

have a ListActivity act as dialog. It's fine. when i select item click show another listactivity as dialog. But i want to show second listactivity as pop up window based activity. Already i have set ...
-4
votes
0answers
60 views

Android. How to create a horizontal, scrollable, infinite list of images… this is heavy people [closed]

Basically in my app the user has the ability to upload pictures like instagram. They also have a feed where all the pictures from all the users can be viewed. So I want the user to be able to scroll ...
0
votes
0answers
11 views

Sending digital sign,public key and message to servlet [closed]

I want to send digital sign,public key and string which is digitally signed to Servlet from Android client.Signature and public key are two byte arrays and there is a string.How can i send these two ...
0
votes
0answers
15 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 ...
0
votes
0answers
30 views

NewAer SDK android how to start?

There is an SDK called NEwAer SDK. This will enable your device could detect one another. Especially using Wifi/Bluetooth signal. But the question is, how to start? And where to start? I did sign ...
0
votes
0answers
32 views

Proximity SDK alternatives for Android

Perhaps you used Wifi using Android SDK to get the device recognition each other. Or perhaps you used bluetooth for that purpose as well. But do you know that I found these two SDK(s) that provide the ...
1
vote
1answer
85 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 ...
0
votes
0answers
3 views

Issues compiling app to run on phone (android studio) [migrated]

I have just started writing my first android app. Initially I started with Eclipse plus ADT plugin and launching the app on my phone worked fine. I then switched to Android studio and whilst I prefer ...
1
vote
1answer
58 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
44 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
votes
0answers
47 views

Android Set Device DIscoverable (bluetooth) without any dialog [migrated]

How can I set the dialog to be hidden / suppress it to Yes when I try to execute the following code below? discoverableIntent = new Intent(BluetoothAdapter.ACTION_REQUEST_DISCOVERABLE); ...
1
vote
2answers
236 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
71 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
33 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
0answers
3 views

What method call in HttpsURLConnection actually sends the HTTP request? [migrated]

I am new to the HttpsURLConnection class in java, and looked on the doc and found it not very enlightening. I have inherited this code on a project I am working on (I did not write it myself) and ...
0
votes
0answers
4 views

Android Library (CardsLib) - No resource identifier for attribute 'list_card_layout_resourceID' [migrated]

In my search for an easy way to display a Card UI in android I found "CardsLib". I have several days trying to test the demo they offer on github but I can not run it. This is the error I have: ...
0
votes
1answer
46 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
54 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
53 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
58 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
67 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
337 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 ...
1
vote
0answers
124 views

ASP.NET MVC WebService - Security for Industrial Android Clients [closed]

I'm trying to design a system that will allow a bunch of Android devices to securely log into an ASP.NET MVC REST Web service. At present neither side are implemented. However there is an ASP.NET ...
0
votes
1answer
153 views

Inserting data to database from Android

I have to build an application where the requirement is that my clients will send data from their Android device and I have to save that data to a database. I have done the part of coding that ...
0
votes
1answer
50 views

Android -> Ruby Server Interface -> Mongodb

I've been wrecking my brain about this for a few days. I'll run my scenario by you and hopefully you can help me. In my head this is how it goes: I have an Android App. I want my Android App to make ...
0
votes
0answers
35 views

Online error reporting without network access

I have developed an application for android requiring no permissions, but the biggest downside of this is that I don't have error reporting. So, I was playing around for the past week with any ...
0
votes
1answer
76 views

Android proprietary app including Apache-2.0 licensed code from Google

My Android app contains some Apache-2.0 licensed code from Google (in-app billing example) and links to com.android.vending.billing library in the form of a InAppBillingFile.aidl file (same license?). ...
0
votes
1answer
57 views

Android DB With Some Multi-Language Data

I have a SQLite Database in my Android app with a "Question" table, among others. That table contains "default" or "pre-loaded" data (in this case the questions asked by the app). Some of its columns ...
2
votes
1answer
183 views

Shouldn't Android's TextView.getText() return String instead of possibly mutable CharSequence?

I've just spent hours debugging some code because I forgot (actually never considered it) that TextView.getText() returns CharSequence that may be in fact a mutable class... Shouldn't it return ...
0
votes
0answers
17 views

versioning data schema in android internal storage

I am using Android's internal storage to hold data for my application and I am trying to find a good way to handle reading data of an older schema. For example, let's say I have serialized and written ...
2
votes
2answers
249 views

Dalvik + Java licensing question

This is a licensing question about the Dalvik and J2SE core libraries. In particular the license governing java.util.concurrent.SynchronousQueue. The license header of the class in the JDK source ...
0
votes
0answers
51 views

how to separate the logic of different views when using android viewFlipper?

I use a ViewFlipper in a dialog. I want to fetch the data from the EditText in both of them and also add click listeners to both of them. I can write the whole code in one big file, but i want to ...
-2
votes
1answer
91 views

calling an abstract method in abstract class

Suppose i have an abstract base class Parent which defines an abstract Method A(some parameter) taking a parameter, also it defines an instance Method B which calls method A(parameter) inside its ...
0
votes
0answers
58 views

Publish an app on Google Play from Iran [duplicate]

I'm a high school student and I'm really into computers and programming, I mostly program in java and 3 months ago I started developing for Android. It was pretty easy and straight forward aside from ...
0
votes
1answer
59 views

What is the meaning of MODULE_LICENSE_BSD_LIKE in Android source code? [closed]

In Android source code, we see files like MODULE_LICENSE_APACHE2, MODULE_LICENSE_BSD_LIKE, MODULE_LICENSE_W3C. An outside observer would think that these specify the intended license that applies to ...
-1
votes
1answer
77 views

is there a way to leave notificationManager and alarmManger alive even when the app is closed?

how would you recommend for me to design an android app where i want it to 1) send location update every 10 minutes 2) to show push notification I want both actions be available even when the app ...
3
votes
2answers
185 views

Tablet development for a dedicated system

I need to make an architectural decision for developing (actually porting) my embedded solution on a tablet. The choice comes down to Ubuntu or Android, so I have some specific questions to help me ...
2
votes
1answer
99 views

Architectural problem for Activity communication in an Android app

I maintain an open source Flickr app Glimmr for Android. There is currently an architectural issue around pagination that I've been trying to solve for quite a while, and would appreciate ideas. ...
0
votes
1answer
97 views

How does package naming affects Android application once deployed

Are there conventions to follow when naming an application package for an Android application? I'm coding in Xamarin Studio, using .Net, so I feel far from this "com.myapp.etc" naming convention. Are ...