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

-2
votes
0answers
92 views

Time to Train people with no coding experience [on hold]

I am graduating from college in May. I plan on returning back home to Tanzania. I plan on hiring four people(Quick Efficient learners) and train them to work with me on an application in Java ...
-1
votes
0answers
16 views

How can I pass String value from EditText In Android Activity to Python Script and also retrieve the result from a function in the python script? [migrated]

How can I pass String value from EditText In Android Activity to Python Script and also make the activity able to retrieve the String result from a function in the python script such as displaying ...
1
vote
0answers
30 views

Android: How to set a stop flag in native C thread from Java

In my NDK Android app, Java part runs native C code to perform intensive calculations. It does so by creating an AsyncTask worker object that runs the native code in a separate thread via the JNI. The ...
-4
votes
0answers
81 views

Does C# meet my all of my needs? [on hold]

TL;DR: Are there any serious issues with using C# over Java for mobile dev and would I be more likely to find jobs in game development with C++ or C#? -- At the moment I'm familiar with HTML, CSS, ...
-2
votes
0answers
19 views

How do I access, and encrypt, the RTP stream created by SIP on Android? [migrated]

I am using SIP and an Asterix SIP server to create a p2p RTP connection between two devices. The RTP connection is created automatically when I create a call as described in Android developer guide: ...
0
votes
2answers
45 views

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

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 ...
-1
votes
1answer
31 views

Android IRC Connection [on hold]

I'm developing an app, and am a newbie in terms of development on android. I want to write a script that will automatically connect to an IRC Server, Channel, Port and then when you say something in ...
-2
votes
0answers
18 views

do i need to host the web app of an android mobile app web service so that i can post the client data to the url of the web app? [closed]

I just developed an android mobile app that can access the oracle database using web service which is tested on the emulator and working fine,however to deploy it finally on a real device with WAN ...
-3
votes
0answers
41 views

What cause the error opening trace file: No such file or directory (2) [closed]

I'm busy working on my Project of Call Recorder. When I run it in my mobile device, I get this under the logcat error opening trace file: No such file or directory (2) . Any one know what met be the ...
0
votes
0answers
21 views

Hybrid Apps and Storage - how does it work with Native apps and which to use?

I'm using Ionic at the moment. I believe, like many others, that hybrid apps will become more more common/important than they are now simply because the frameworks are getting better and better. ...
0
votes
1answer
35 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 ...
4
votes
1answer
177 views

Is it possible to use the Android layout system in a desktop java application?

I am lazy, thus, if possible, I would like to only have to design and program a UI once. If I want to create an App for Android and as a basic Java desktop application, is there a way to reuse the UI ...
0
votes
0answers
42 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 ...
-3
votes
1answer
117 views

Physics/Game Engine in C++ for mobile app [on hold]

First post so be gentle. I am a junior seeking a Comp Sci major and was looking into making a mobile game. I wanted to use this for my thesis project next year, and possibly a way to pay back college ...
0
votes
0answers
42 views

Best practices for MVP pattern on Android

my team has had great success introducing MVP and the associated unit tests that go with the presenter. We are wondering how granular we should make the interaction between the View and the ...
0
votes
0answers
42 views

Make an android app “Re-configurable” [on hold]

Story: I am the sole developer of an android app, which is the flagship product at my workplace. The app renders business workflow forms written in XML. These forms have simple structure and provide ...
0
votes
0answers
24 views

Linking Javadoc Page from Github [migrated]

I have been working on Github project Android-Commons. It is a collection of common Android Utilities. I have made documentation for Project code(See here). What I am facing issue is with I am not ...
1
vote
1answer
98 views

Why is Android Runtime's AOT compilation more performant than Dalvik's JIT? [closed]

With Android 5.0, Google has introduced the Android Runtime, or ART. ART "brings improvements in performance, garbage collection, applications debugging and profiling." However, it also replaces ...
0
votes
2answers
50 views

Best Way To Store Images For Mobile Synchronization

The scenario is, I have a Web Dashboard (Developed using PHP + MySQL) and have Android and iOS Apps synchronizing data from the Web Dashboard (only one way i.e. Dashboard to Mobile Apps) Now the ...
1
vote
0answers
49 views

Multiple 1024x1024 texture pages or one 2048x2048 texture page?

I have a lot of textures around the size of 512x512, and the LibGDX texture packer can't find a way to put more than one of those on one page for some reason. So, I end up with fifteen or sixteen ...
3
votes
1answer
108 views

Should I rename package after Android app name change?

I have an Android app. I have changed the app's name from appname1 to appname2. I would like to know if I should also change my package name from com.myname.appname1 to com.myname.appname2 to reflect ...
1
vote
0answers
39 views

URI naming scheme for assets shared between Android app users

A feature of my Android application is to allow users to choose graphical assets from a gallery view. Each asset is physically defined by an individual JSON file on the file system. The application ...
0
votes
0answers
46 views

Using a code library for Android with Apache 2.0 license

If: I want to create an app (e.g. for a business who wants all its employees to download the app from Google Play freely) I do not have an "about" button in the app. The app is closed source. How ...
0
votes
0answers
17 views

android: Replacing service with mockup in certain build config

So I'm using Android Studio, and I have an interface, Potato, and PotatoImpl that talks to a remote server. For development I want to use PotatoMockup, but i don't want the choice between the real ...
0
votes
0answers
49 views

What could possibly be a Mysql database structure for an web app say like Flurry?

Simply say, I'm working on a web App say like Flurry (http://www.flurry.com/), that would communicate with a Smartphone App trough API. Right now I'm designing the database structure, and I guess ...
1
vote
0answers
37 views

Individual methods or parameters for Google Analytics abstraction on Android

A coworker and I are having a discussion around the best way to build our abstraction on top of Google Analytics for an Android application. A couple of data points. We have auto-tracking enabled ...
0
votes
3answers
147 views

Should I be extracting strings from source in core java the way android does?

I just started doing android development stuff after getting pretty comfortable with Java. Android apps tend to do this weird thing where they have all strings for their program held in an XML file ...
26
votes
8answers
4k views

Should I spend time preventing piracy of my app? [duplicate]

The title says it all, the more I do research about piracy and the tools used to crack an app the more I think it is just wasted time. My biggest threat is that my app is being cracked and uploaded ...
0
votes
1answer
375 views

String[] args vs (String . . . args)

When programming for android, whenever I use an AsyncTask the doInBackground method looks like this. protected String doInBackground(String... args) But when using the arguments anywhere in that ...
1
vote
2answers
107 views

JUnit3 and JUnit4 in the same project (but different module)? [closed]

I have an Android project with a Gradle build. We've decided to commit to writing a vanilla Java implementation of our business logic (since we took care to keep that divorced form the Android ...
0
votes
1answer
83 views

More than 20 Records Inserted in a Span of 1 Sec

Well, this is not specific to any programming languages. I came across this situation in Android, iOS, PHP and .NET. The problem is many times I come across a situation while building IoT apps, where ...
1
vote
2answers
140 views

Running an HTML/JS/CSS only app on Android without external Phonegap/Cordova etc

Is it possible to run a small and simple game on android using only CSS/JS/HTML? E.g I have built a small game using the all too known 3 folder stucture and I was wondering if there is any easy way ...
2
votes
0answers
44 views

Use Android App Icons for Sharing

I got a question about licensing of android app icons. At the moment I am developing an app and I implemented a share function. The user can select a prefered app to share a text message in a popup ...
1
vote
2answers
339 views

Why doesn't Android use shared libraries?

In Android if you use a library in your app (such as the Support Library) the code for the library is duplicated on the device for each app that uses it. Why can't android use the linux "shared ...
1
vote
1answer
59 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
258 views

Same android app connecting to multiple database -concept

I am looking for best method to create application which are connected to different databases based on client So basically it is a multi tenancy model for an android app (enterprise use) Deploy the ...
0
votes
0answers
103 views

Syncing structured data and files in Android App with an ORM?

I am developing an Android App which I have developed for iOS before. The app requires that structured data and files are synced across android devices. In iOS, I was using Core Data and synced to ...
0
votes
1answer
337 views

Could we drop support for Android native browser on our web site? [closed]

I work with an interactive web portal that has a few single-page apps and complex html structure. The aim is to support all browsers that our customers use. We have implemented responsive web design ...
0
votes
1answer
99 views

Data Sync between Android apps in LAN

I am looking at developing an app which has quite an extensive database. This app will be installed on multiple devices in a LAN and all users can update the data and other users will see the data as ...
-4
votes
1answer
136 views

Is it bad to feel guilty using lots of libraries? [duplicate]

So I'm an android programmer,have been programming for about 3 years,but it wasn't until 5 months ago that I started really taking it seriously. Recently I got my first internship,and I'm happy with ...
0
votes
1answer
152 views

offline application development for mobile devices

I am looking to develop an application whereby field staff can complete forms in an offline capacity (when onsite I`m assuming no internet connection) on an Apple or Android device and post the ...
0
votes
1answer
226 views

How can one presenter be used for multiple views in MVP

I am using MVP for creating an android application, which takes data from server and sets to activity. I am forced to create one presenter for each view. Each view is unique because each view has ...
0
votes
0answers
43 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 ...
4
votes
2answers
197 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
2answers
183 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
284 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 ...
0
votes
1answer
195 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
97 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 ...
1
vote
3answers
182 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
201 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 ...