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

6
votes
2answers
216 views

Is tracking Android OS.Buid/Manufacturer info a privacy issue?

On the Android operating system details about the phone are available via the Android.OS.Build class. These details include things such as the phone manufacturer, model, version, etc. The customer may ...
0
votes
1answer
82 views

Handle invalid text on server or fix on client in Client-Server application

I have developed a protocol for a Client-Server application and developed it in conjunction with another developer. The client application at this moment is written for the mobile phone. The ...
1
vote
0answers
123 views

What will be the better way for data retrieval on application that needs to handle limited amount of data? [duplicate]

Just moved this question from Stack Overflow. Since, adding my code snippets itself would make this question really long. Instead, I am pretty interested in knowing a better ways for data retrieval on ...
0
votes
2answers
93 views

What will be the better way for data retrieval on application that needs to handle limited amount of data.?

This is not really a coding question since, I am not adding any code in here. Since, adding my code snippets itself would make this question really long. Instead, I am pretty interested in knowing a ...
2
votes
2answers
2k views

Realtime (almost) bidrectional communication in Java

I will explain the context of the problem first. For a University project I'm going to implement an Android application. The Android application (and others) will be able to send data to a remote ...
2
votes
1answer
228 views

Restrict access to backend

This might be one of those "not answerable" or "just opinions"-questions but I thought I'd give it a shot. I'm developing an app with health care information with a friend who's a doctor. The basics ...
7
votes
2answers
1k views

What are the cons of using XML for GUI development? [closed]

I'm hoping this question fits within the scope of Programmers SE and that it's not too open ended. I've always hated GUI design. I don't mean to offend anyone, but I've hated CSS/HTML, I've hated ...
3
votes
3answers
1k views

Is the meaning and usage of the term “ROM” different in different devices?

ROM - Read Only Memory Does this term mean the memory which should only be read and not written to , or the memory which can only be read ? "ROM in PC's and laptops are usually seperate chips in the ...
3
votes
3answers
4k views

Multi-platform Mobile Development? [closed]

So my question is this: Is there any easy way for a single developer to release an app on iOS and Android? I am a web developer that primarily plays in PHP, Node, Ruby, AS, and JS. I have dabbled a ...
7
votes
3answers
837 views

Unit Testing DatabaseOpenHelper class in Android

I've written several unit tests for an already existing DatabaseOpenHelper class. I covered the creation scenario and migration from old schema to new one. Unfortunately, I don't feel that my tests ...
14
votes
5answers
3k views

Proper workaround for multiple inheritence in Java (Android)

I have a conceptual problem with a proper implementation of code which seems require multiple inheritance, that would not be a problem in many OO languages, but as the project is for Android, there ...
-1
votes
2answers
709 views

What are the ways to start making actual/real-world programs using Java/C++ to excel my Programming Skills? [duplicate]

Possible Duplicate: How do I improve my coding skills? How I do become a better programmer as a junior developer The programming that we learn at university is not that vast, like those ...
7
votes
1answer
1k views

Useful design patterns for working with FragmentManager on Android

When working with fragments, I have been using a class composed of static methods that define actions on fragments. For any given project, I might have a class called FragmentActions, which contains ...
1
vote
2answers
484 views

In which cases Robolectric is a relevant solution? [closed]

As you may now, Robolectric is a framework that provides stubs for Android objects, in order to make tests runnable outside the Dalvik environment. My concern is that, by doing this, one can fake a ...
2
votes
2answers
304 views

Can I use a project code which has New BSD license but uses a GPL license library?

I want to use the ICSOpenVpn project source code in my commercial application. If we see the ICSOpenVpn project, it states that its license is New BSD but the libopenvpn.so library it uses is under ...
7
votes
3answers
912 views

How do people deal with Android fragmentation?

I've spent the past few years working on iOS apps, and I'm now giving some serious consideration to creating an Android port of one of my apps. I'm sure that complaints about fragmentation are a ...
0
votes
2answers
879 views

Android Card Game Database for Deck Building

I am making a card game for Android where a player can choose from a selection of cards to build a deck that would contain around 60 cards. Currently, I have the entire database of cards created that ...
2
votes
1answer
1k views

Android Application(Client) and Server(C#.Net) Communication

I am confused which approach to choose - Poll (which waste battery), GCM or any other approach which suits best? Scenario is: my client is Android and server is C#.Net. Server sends Invitation to ...
8
votes
4answers
3k views

Is it important to know C/C++ for Android development?

Is it possible to use only Java (without C++ /NDK) for building good, fast, beautiful Android apps (including 3D development)? When I look for Android developer position requirements (vacancies), I ...
4
votes
2answers
828 views

Supporting early versions of Android

What policy do developers have when it comes to supporting earlier versions of Android? I still support , but this means that I am unable to use features such as the action bar. Over 40% of my users ...
2
votes
2answers
1k views

Is it required to start a business to sell Android Apps (US)?

I know you can sell apps using your own personal tax information, but what if there are several people working on the app? Our plan is to just have one of us register for the Google Merchant account ...
2
votes
1answer
919 views

Use Android NDK for portability with iOS?

I am currently planning to implement a little painting app using OpenGL ES 1.1. I believe this question applies to any OpenGL ES project. I am starting development on Android and I would like to ...
7
votes
3answers
9k views

Why to use web services instead of direct access to a relational database for an android app?

I searched on the web how to access in an efficient manner to a central database at a remote location and I met suggestions to use web services instead direct access (i.e. JDBC etc ) to a database.I ...
2
votes
1answer
2k views

About anonymous objects

In Java particularly Android development, is there any difference between declaring an object like SomeObject object = new SomeObject(); someField.setObject(object); compared to an anonymous ...
10
votes
1answer
9k views

What are the differences between AppMobi and PhoneGap?

I am new to the cross platform application development. I came across the very similar cross platform frameworks AppMobi and PhoneGap. I want to know Is there any differences between apk/ipa ...
2
votes
1answer
68 views

Can each mobile app have its own client account for payments? (Windows Phone, Android and iPhone)

My company has many clients wanting mobile applications and having the payments come into our account and then sorting the payments would be a real pain. So can a company have a main account to ...
9
votes
3answers
1k views

How to start a high school Java/Android development club for 13-17 year olds

My wife is a high school maths teacher, and is considering starting a programming club for 13-17 years olds who show an interest. Their interest seems to be around Apps and Android which I have little ...
1
vote
1answer
312 views

Best strategy for supporting multiple server communication from iPhone/android app?

I'm making an app that will be used in multiple hospitals in the US. As per HIPAA compliance requirement, every hospital will have its own server that complies with these requirements of ensuring ...
2
votes
2answers
406 views

How to translate formulas into form of natural language?

I am recently working on a project aiming at evaluating whether an android app crashes or not. The evaluation process is 1.Collect the logs(which record the execution process of an app). ...
1
vote
1answer
105 views

Filtering lists in an Android App offline or online?

I have an android app that fetches a list of about 100 Items. Trying to get the server load down, I've built a filtering feature that does everything offline, so basically instead of calling the ...
0
votes
4answers
4k views

Should Android development be done on Windows or OSX? Is there any difference? [closed]

I have the option to install the Android SDK on Windows or OSX. Which platform provides a better (easier) development experience? To keep this constructive, I'm looking for any difference that ...
0
votes
1answer
198 views

What are some feasible ideas for building a smart-device/console development portfolio? [closed]

I would like to start getting more contracts in the mobile, smart-device, and console development space and, having little prior work experience in the field, I need to build a portfolio of example ...
0
votes
1answer
239 views

Coincidence or rule?

I was reading about Assemblies (modules, which Microsoft CLR works with). The Assembly contains so called Manifest, which by definition describes a set of files in the Assembly. I know that Android ...
1
vote
1answer
892 views

How to store data in Gujarati language in SQLite?

I am developing an Android application for Gujarat's farmers. So this app should be in Gujarati also. Is there any way so that I can store my data in Gujarati in SQLite?
2
votes
3answers
1k views

Does mobile based (Android) development, benefit from Object Oriented Programming?

My development on Android is based on scientific programs and while I'm building these most of the code is in one or two long classes. When I come to deploy these programs I try to decouple everything ...
1
vote
0answers
16 views

Database lock on gSoap server during storing data in table [duplicate]

Possible Duplicate: How to run thread if multiple data is insert in the multiple table I am getting the values from the android app & storing onto the server using sqlite. first time ...
0
votes
1answer
306 views

Allow app analytics opt-out?

Given that mobile app analytics reporting can cost a customer data traffic that, unlike a web app, use of the mobile app may otherwise not require, should a mobile app provide a user accessible ...
18
votes
2answers
7k views

Does it make sense to use ORM in Android development?

Does it make sense to use an ORM in Android development or is the framework optimized for a tighter coupling between the UI and the DB layer? Background: I've just started with Android development, ...
0
votes
3answers
357 views

SQLite resources or any other storage concept for mobile applications?

I would like to know what storage concepts are used for mobile or handheld devices, where an app is operated on?. AFAIK one of them is SQlite. Can anyone shed a light on this concept? perhaps links ...
7
votes
4answers
1k views

Use my own GPL licensed code in a commercial product

I am developing a software project in Java/Swing licensed under GPL v3. Later, I want to create a Android application which uses the algorithms of the Java/Swing application. This Android app will be ...
0
votes
2answers
1k views

Get income on a free app, offline? [closed]

I have an Android app which I added adMob ads to. They only work though when the user is online. Now the problem is, the app is specially made for offline use, so pretty much nobody will ever get to ...
1
vote
2answers
992 views

how to create java zip archives with a max file size limit

I need to write an algorithm in java (for an android app) to read a folder containing more folders and each of those containing images and audio files so the structure is this: ...
1
vote
2answers
321 views

Recognizing text fields according to their label value

I have an application who has text fields (not select, not checkbox or other types) where an user can enter some value, like this: ISBN and E-Mail are the label of each input. Now I have to ...
2
votes
2answers
8k views

Proper way to implement Android XML onClick attribute in Activity

I have used the android:onClick attribute extensively in my XML layouts for my Android application. Example: <Button android:id="@+id/exampleButton" android:onClick="onButtonClick" /> ...
2
votes
2answers
895 views

Is it safe to trust emulators when developing multi platform/resolution mobile apps?

I'm currently developing some mobile applications using PhoneGap for Android, testing only in 3 different kinds of smartphones, and using emulators to test on the others target phone resolutions. ...
1
vote
2answers
1k views

Is it possible to develop apps with Kendo UI to submit to iOS App Store? [closed]

The number of platforms I have to develops apps for is increasing and It brings me lots of stress to learn new technologies for each target platform. I found out that Telerik's Kendo UI is very good ...
3
votes
1answer
2k views

Is beginner knowledge of Java enough to develop for Android? [closed]

I just finished the book "Tech Yourself Java in 24 Hours, 6th Edition" I have an understanding of the language (by understanding I mean, the basics and everything covered in the book) and I have been ...
0
votes
2answers
359 views

Test a simple multi-player (upto four players) Android game in single developer machine

I'm working on a multi-player Android game (very simple it is that it doesn't have any game-engine used). The game is based on Java Socket. Four devices will connect the game server and a new thread ...
3
votes
3answers
1k views

Develop for Desktop and mobile use? [closed]

I am in the very beginning of developing an app / desktop program. I want it to be cross-platform and possibly also as a tablet version (preferably Android Icecream sandwich). Note that I need to run ...
2
votes
1answer
925 views

Can you program Android Apps in a functional language?

Can you program Android Apps in a functional language? I meant is it possible to program for Android in a language that was designed from the ground up to be functional? I'm aware that you can use ...