Used to tag questions related to android programming and new development features. Android is a platform and complete development stack from the Operating System to the APIs. developer.android.com is a best site to learn about android development.

learn more… | top users | synonyms

-4
votes
0answers
19 views

how to link a Android app with json mongodb file on device [on hold]

how to link a Android app with json file on device. i m working on an android app which need to store and access data from json file on devise ( mongodb )
-2
votes
1answer
97 views

How to structure my Android app? [on hold]

I would like to know how to structure my android app. I'm totally new to Android and i'm used to HTML/JavaScript/Java API. So while i already have a working Java API, i would like to use this one. My ...
-5
votes
0answers
32 views

How to interact browser from android application? [closed]

I'm developing an android application in which i need to interact with the chrome browser/default browser running on device. That is when the URL is been typed and browsed,i need to grab that URL ...
-5
votes
1answer
80 views

How can I check if Google username and password are actual?

I have a PHP page that takes a Google username and a password. How can I check if the credentials belong to an actual Google account. Does Google provide any APIs through which I can authenticate the ...
2
votes
0answers
21 views

Best way to manage a social audio playlist in an android app?

I'm building an app which basically needs to do this: The app owner will compile a form through a web page (I think i will do it in html/css/php) and I'll retrieve the data for the app through a ...
0
votes
0answers
51 views

Adding functionality to the activity (inheritance, decoration, strategy … ) or multiple inheritance

I cannot decide what approach should I use in the next situtation. One activity from my app need to have different functionality, here is the leak of multiple inheritence comes into play. ...
0
votes
0answers
44 views

Android, access 1 activity from 2 cases, what design pattern is this?

I'm developing an Android app, encounter this case. There are 2 ways we can enter an activity (named activityB): either from activityA or from notification. 1st case: ActivityA -> activityB 2nd ...
0
votes
1answer
56 views

Usage of github libraries

So far there had been a lot of external libraries provided for us to reduce our efforts on coding and utilising the time to provide quality apps to the play store. Now, I am keen to understand ...
1
vote
0answers
361 views

Android, PHP session and JSON object retrieval

I am working on an app in android studio.. it currently has a login and registration system that are linked to a database and both work perfectly. I am now trying to carry over the user id value ...
0
votes
0answers
57 views

Is it possible to use Protocol Buffers natively for message passing between a Go web service and an Android app?

I want to connect an Android app to a Go web service (I have a small social network in mind) and would like to pass data to and from the web service using Protocol Buffers, since it recently seems to ...
0
votes
1answer
128 views

Project has become so complex and big that I am lost [closed]

Hello this has never happened with me before . I am making an online shopping android app which has become huge and complex . While developing the code I have followed all the clean naming ...
0
votes
0answers
41 views

Android, Parse back end and conceptual creation of an offline post/comment system

I'm wondering how conceptually I would go about creating a comment / post system using parse, obviously there's lots of examples but they don't account for the following: How do I relate an comment ...
0
votes
2answers
128 views

Ideal way of updating app's views when data changes [closed]

Okay this is not platform specific question. But any answer related to iOS,Android or Windows Phone will help. So I am building a chat application (yes another one) but I am really confused about how ...
0
votes
1answer
45 views

Restructure Service - Http - Notification communication

I am trying to restructure a project to make components reusable and clearer. Consider the following scenario: A WakefulBroadcastReceiver (in my case called SimpleWakefulReceiver) will start my ...
2
votes
0answers
116 views

Building a news app for both phones and tablets

I am building a news app. In phone mode it should have a navigation drawer which slides out when you tap on a hamburger button or slide your finger. That navigation drawer has a fragment with static ...
0
votes
0answers
32 views

Android: Different interpretation of sp/dp on different devices?

I have a design problem with the app I'm working on, and I'd like some more general/conceptual advice rather than actual coding advice. I noticed that objects I size in sp/dp look very different on ...
1
vote
1answer
82 views

excute Vs excuteOnExecutor [closed]

There are two ways to execute AsynTask, i.e., execute and executeOnExecutor. I already know that execute works serially and executeOnExecutor works in parallel. So my question is: Which one to use? ...
2
votes
2answers
957 views

Development on Android without using Java [closed]

As the title of this question suggests, I am looking forward to develop app(s) on Android platform without using Java at all. It doesn't mean I have some kind of vendetta against this beautiful ...
1
vote
2answers
77 views

How to test android apps that depend on telecom provider connection?

I am planning to write an app that needs phone number and contact list. Is there any way that I can test my app without buying a telecom provider connection for my android phone. Without a sim the ...
0
votes
1answer
152 views

How to deal with product owner who refuses to follow UI design rules

We develop Android application. We base on old version of similar application developed in our company. This old application was designed by some noobs which didn't follow UI Android design rules. ...
2
votes
0answers
60 views

Android Development: Styling the application

How do you approach theme and styling of an Android application? I have all the functionality and I'm now styling and dealing with colors, etc. This is my first big time Android app, and it seems like ...
4
votes
1answer
142 views

Register user in mobile app without e-mail

We are currently developing an app for Android and iOS which requires the user to perform a registration. However we don't want the user to go through all this e-mail and password activation link ...
0
votes
2answers
230 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 ...
0
votes
1answer
416 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 ...
2
votes
0answers
76 views

How to limit users of a service to a specific program

I have built an android game - I would like to add a "high score" leaderboard to it, such that people can show off how high they managed to score. How should I design it so that people can't "hack" it ...
1
vote
1answer
249 views

OnClickListener good practice

Which one of the ways has better performance, or is a good programming practice, making the holder activity extend OnClickListener and make a Switch() clause for getItemId() or making one ...
2
votes
0answers
43 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 ...
8
votes
1answer
780 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
0answers
229 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
311 views

2D Game Data Structure in OpenGL ES 2.0

I'm trying to come up with some data structures for rendering my map on OpenGL. It is going to be ~ 100x100 blocks(squares) total, with each block being around 100 pixels. However, the screen will ...
8
votes
2answers
276 views

Strategies to troubleshoot an error that only happens on a specific device

As an Android developer, the target market I create apps for is very fragmented. While I can specify certain requirements - e.g. my app only supports Android version x.x or above, sometimes errors may ...
0
votes
2answers
1k views

What could be used to get data from server to android as fast as it reaches server?

What is the best way to get data from server as fast as it gets to it? (Like instant message, or simple broadcast for example). I first thought about using miniature web server in android and get ...
2
votes
0answers
242 views

Are Calls to a WCF Service via JSONP Secure?

I am looking at developing a complete HTML5/JS mobile app that can be deployed to Android, iOS and Windows platforms. I am using DevExtreme tools to help me do that. I already have a WCF service that ...
0
votes
1answer
3k views

how much memory should android app use [closed]

We are planning to develop an android application. the application will use API and data transfer will be via SSL. I should write documentation and set functional and system requirements for the ...
0
votes
1answer
583 views

Proxy to redirect DNS during development [closed]

I am using Genymotion to test an app. The app is basically a browser that connects to my website. I do not have the app's source. I do the development and testing of the website in a domain like this: ...
0
votes
0answers
158 views

How do International Call Rerouting Apps work?

Since DTMF seems impossible on Android devices, I really wonder how it is possible to setup a direct dail service like Jinggling (http://www.jinggling.com/how_it_works.html). I realize one registers ...
10
votes
4answers
7k views

Design pattern for syncing data in android

I have been seeing two implementations for syncing data between the server and the client on majority of the apps. This assumes no GCM is set up:- Running an intent service periodically which ...
-1
votes
1answer
1k views

Packaging PHP/Python files inside android .apk files?

I am developing an android app using HTML5. I want to make it work completely offline. I know that it is possible to package the .html, .css and .js files inside the .apk file itself in the ...
4
votes
2answers
2k views

What to do when request is sent to server and while waiting for response internet connectivity lost?

I am sending a huge amount of data to server. Now while I have sent the data and waiting for server response, suddenly my android device gets internet connection lost. So what I used to do is, showing ...
2
votes
1answer
563 views

Can you help me understand this design pattern made by Java expert?

I inherited the project from a very experienced Java developer. The project is Android app and the guy who coded is is very experienced in coding regular Java apps. He introduced some file structures ...
4
votes
1answer
2k views

Why does Android's Bundle API accept ArrayLists rather than Lists

I'm new to Android and while going through a tutorial on saving Activity state to a Bundle, I noticed that instead of accepting the more generic List interface, Bundle's put methods are expecting ...
-1
votes
2answers
363 views

Starting android Development [closed]

I am considering learning android development. I have some basic knowledge in C++. I downloaded the ADT plugin and eclipse. Now while starting from http://developers.android.com I see the codes were ...
4
votes
2answers
3k views

Benefits to using fragments in Android projects

I am learning Android programming and right now and i'm reading about fragments. I understand what fragments are, but either the tutorial is missing some steps or i'm missing something. So my question ...
1
vote
1answer
2k views

setSoftInputMode versus InputMethodManager

I have seen and used both of the methods to hide the on screen keyboard while coding Android: getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_HIDDEN); and: ...
1
vote
1answer
377 views

Android design advice - services & broadcast receivers

I'm in the process of learning the Android SDK and creating some projects to get a grasp on the system. The current project I'm working with works just fine but I'd like to get some advice about ...
0
votes
0answers
3k views

Can I set the IMEI of a blustacks virtual device?

Using an app "Get My IMEI" I was able to retrieve an invalid IMEI for my bluestack emulator however I can't see how I can change it. The guys at XDA developers forum are talking about it, but it's an ...
7
votes
3answers
994 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 ...
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 ...
2
votes
2answers
376 views

Android: Not able to experiment on own? [closed]

I have just started learning Android App Development a few days ago, with prior knowledge of C/C++, HTML and CSS. This is the situation I am facing Repeatedly: I am learning from a Video Tutorial ...
2
votes
2answers
2k 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 ...