Android is Google's open source OS and system for smart phones and tablets. For user questions, see http://android.stackexchange.com
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 ...
-1
votes
0answers
15 views
sdk packages dont stay insstalled on eclipse [on hold]
When I start my android sdk manager and install new packages, the sdk packages dont stay insstalled on eclipse. once I restart the program all my support libraries fail and everything associated with ...
-5
votes
0answers
58 views
Want to learn Android Development [closed]
I have 4 yrs of experience in IT (Telecom/Networks/Desktop support etc.).
After changing many domains, I have finally figured out that I want learn something in which I can put my ideas and create ...
-1
votes
0answers
53 views
Effective screen designing with attractive UI? [closed]
I would like to design a screen effectively. What books or tutorial and tips should I follow up in a future for a better screen designs? Please can anyone give me some suggestion?
This is my screen ...
-3
votes
0answers
37 views
Developing an android card game [closed]
I am beginning android.I want to make an android multiplayer card game.It consists of four players only.Its like Spades card game.It has four players with 13 cards each out of 52 cards.the spade card ...
-2
votes
0answers
95 views
Who do Android devices run the Dalvik VM and not a JVM? [closed]
The VM running on Android devices is called Dalvik. It's different than the JVM in that for example, it runs (according to Wikipedia) .dex or .odex files, instead of .class and .jar files.
That means ...
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
39 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 ...
-2
votes
0answers
23 views
How do I program an android app that uses mobile data connection? [closed]
I want to make an app "Call a stranger". How? It would make calls to a random app user over the mobile data connection. How do I do this? How do I make an app that uses mobile data? And, where do I ...
-3
votes
1answer
49 views
Repository setup on android device [closed]
I was thinking on starting a project and considered to start a repository to work on the different computers I'll work it on. Now since I don't want it to be a public repository, but something of my ...
-3
votes
0answers
32 views
What do I need to make android app that has secure log in account save to sql database [closed]
I want to make an app that can log in and sync the account with SQL database. An App like IMDB. I need some guide in how to do the log in and log out to/from a SQL database.
-3
votes
0answers
14 views
Android MediaPlayer issue [closed]
i have a question for you. i have a n issue with the MediPlayer class. i will like to know if there is any possibilities of open a second activity from a specific position of the MediaPlayer. i mean ...
0
votes
1answer
48 views
Analogy for Android fragments
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
40 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 ...
-1
votes
0answers
25 views
android socket readObject EOFException [migrated]
In Android I make a siglenton pattern and when a send object the readObject the shows me the messaage:
W/System.err(6034): Exception reading Streams: java.io.EOFException
but when I put String I ...
0
votes
1answer
47 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
30 views
How to publicize new Android's HTTP requests library [duplicate]
I don't know if this really belongs here, but I developed an open-source HTTP requests library for Android called Unite. This library was built mainly to significantly facilitate the work and coding ...
0
votes
0answers
44 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 ...
-1
votes
0answers
8 views
android socket can't connect with java server [migrated]
i have one java server socket and i connected with other java client but with android i can't i dont know why.
my code: and i have in manifest the internet access
//public class MainActivity extends ...
4
votes
0answers
173 views
Why using 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
79 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
0answers
102 views
How to desing a roulette like interface
What I need to do is this: In my app I create some profiles (just names) and these names are saved on a database. The names limit is 5. After this, in other activity I load these names from the ...
0
votes
1answer
95 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
44 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
33 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
63 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
42 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 ...
1
vote
1answer
126 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
16 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
228 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
49 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
76 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
57 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
53 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
73 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
182 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
97 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
86 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 ...
1
vote
1answer
46 views
Android apps and GPLv2 classpath exception
My Android app needs javax.activation and javax.mail (both GPLv2 licensed). However, I don't want to make my app GPL-licensed. What are the possibilities to not break the license requirements ...
0
votes
1answer
189 views
In Android can we let a fragment know other fragments?
I think I have found contradictory design guidance within the Google Android documentation on fragmentation.
The first statement below advises each fragment be unaware of other fragments and always ...
0
votes
2answers
97 views
outOfMemoryException in android emulator [duplicate]
I'm developing an Android application which is responsible for showing multimedia such as videos and photos to user.
I have a certain activity for a gallery of photos. In my phone where I'm ...
0
votes
0answers
83 views
what should I save in local android DB to be more efficient and to last more than one session (and shouldn't be stored in the server only)?
I write an android app.
The user sends the server its location and get places relevant to him.
He then can up-vote or down-vote any offer.
I wonder if I should write to local DB and when?
I ...
1
vote
1answer
212 views
Private apps for iOS and Android
Is it possible to develop private apps for iOS (iPhone/iPad) and Android?
With "private apps" I mean apps that do not appear on the public app store, but can be downloaded and used only by selected ...
0
votes
2answers
149 views
Snapchat clone: How do I secure pre-downloaded notifications so that they cannot be opened outside of the app?
Say I'm making a snapchat clone app for Android and iOS. Let's say that I get a snapchat from Baz. I want to pre-download the audio for this snapchat. However, as the developer, I want to secure this ...
1
vote
1answer
610 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 ...
4
votes
1answer
191 views
What are the benefits of Android way of “saving memory” - explicitly passing Context objects everywhere?
Turned out, this question is not easy to formulate for me, but let's try.
In Android, pretty much any UI object depends on a Context, and has defined lifetime. Android can also destroy and recreate UI ...
1
vote
1answer
226 views
Android Data persistence question
I have an android app in which users have sets of items, and each item has about 10 properties.
What I do at the moment:
items are stored in the server database
when the user logs in, I get all the ...
-2
votes
1answer
133 views
Alternative to SIP, voice communication in Android [closed]
Is it exists any alternative to SIP protocol? I want implement voice & video chat option in my application. I don't want use SIP, because I need only simple communication without call for ...
0
votes
0answers
139 views
Problem combining SlidingMenu and ExpandableListView
As said i'm trying to combine SlidingMenu (https://github.com/jfeinstein10/SlidingMenu) with an ExpandableListView, but i'm having an issue that i don't know how to fix, so i'm hoping some one here ...
0
votes
2answers
192 views
Use of LGPL libraries on android devices (in a single closed source .apk) [duplicate]
Well this question is actually asked multiple times here already.
but the answers are contradictory
So that's why I ask it again (maybe time changed things). Can LGPL licensed libraries be used in ...