Android :: Distributing Service-based Application On Market
Nov 22, 2010
We going to develop commercial application that will run on Android platform and now I'm thinking about distribution model.
Application itself will be of no use to regular Android user and will be installed only by people who know why they need it. Application will authenticate with server prior to launch.
We as a company will charge application users monthly fee and will track usage, etc via our servers.
So, I was wondering if there "locked" portion of market for this kind of stuff? Or, do I release app as a free one and if random people download it - they just won't be able to use it?
What is the best way to do that? Can I install application by giving users our URL?
I'm trying to make it as easy as possible.
View 2 Replies
Oct 28, 2010
I have a Service which tracks the location of the user. Currently, the Service boots when the application starts and stops when the application terminates. Unfortunately, if users keep the application in the background, the Service never stops and drains battery.
I would like the Service to stop when my application is not in the foreground. I was hoping the Application class would let me Override onPause and onResume handlers, but it does not have them.
View 1 Replies
View Related
Apr 17, 2010
What's your experience distributing Android apps outside of the Android Market? Which alternative markets an Android developer should consider? Any success/horror stories?
View 4 Replies
View Related
Oct 28, 2010
Is it possible to distribute an Android service as a jar? Any documentation available on how to do this and any gotchas?
View 2 Replies
View Related
Jul 26, 2010
Under what circumstances would using AIDL to define a service interface be the correct decision (rather than just creating an extension to the service class)?
View 2 Replies
View Related
Jan 31, 2010
Suppose that I installed app A and app B, app A has a main activity, and app B wants to show that activity by sending a intent. My question is that how android knows I have installed app A and is able to map the intent to its activity? Is there any windows-registry-like store saving such information?
View 1 Replies
View Related
May 6, 2010
I'm trying to write an app that consists of an activity that manages a background service. However, I want to implement a user setting for automatically starting the service up at boot time. I have user settings implemented with SharedPreferences and I have the services starting up at boot by using a BroadcastReceiver and listening for BOOT_COMPLETED. However, I can't figure out a good way to implement a setting so that the service is only started at boot if said setting is enabled. I can think of a few cheap ways to do this (such as messing with onCreate() in the service, or creating/checking for a file on SD card) but I want to follow good practice. There must be a good way to do this because there's tons of apps out there that do it, I just can't find anything online about how to do it.
View 3 Replies
View Related
Jun 22, 2010
(Question also posted here: http://www.google.com/support/forum/p/Android+Market/thread?tid=68dc1f694537c7dc&hl=en )
http://developer.android.com/guide/publishing/publishing.html
recommends searching for apps by Developer Name using the URL: market://search?q=pub:
I can't get this to work for two word names. For instance, if I want to search for all of Google's apps on the Market, I would search for 'Google Inc.' since if you look at Google Earth, Google Sky Map, etc. those are all published by 'Google Inc.'
I've tried the following:
market://search?q=pub:Google%2BInc%2E
(equivalent of: Google+Inc.)
market://search?q=pub:Google%20Inc%2E
(equivalent of: Google Inc.)
market://search?q=pub:Google Inc.
(equivalent of: Google Inc.)
market://search?q=pub:Google+Inc.
(equivalent of: Google+Inc.)
but none work.
View 1 Replies
View Related
Jan 20, 2009
How do I distribute my app to some friends who have G1s (yea, I'm looking at you, Scott!) for QA testing and feedback? My app certainly isn't ready to be put into any of the marketplaces. I don't have a problem giving out the source code, but I'd prefer to give him a nice binary file to install. Besides, I can see problems with keystore.debug and compiling and the like.
View 3 Replies
View Related
Apr 22, 2009
I was wondering if anyone has ever been able to distribute their app in a bundle with an emulator?
The reason I want to do this is that I have some friends who don't have android phones, but I'd like them to be able to play with my app so that they can give me feedback. I've previously sent them screen casts, but I'd really like them to be able to get interactive with the app.
Now I could ask them to get all installed with the whole android framework, eclipse etc,. but some of them are not so technical. Ideally what I'd like to be able to do is create a package that is the android emulator with my app and perhaps 1 or 2 other related apps pre- installed, so that they can download it, open it and run it interactively on their computers?
Has anyone ever tried this?
So far I found that I can run the emulator standalone, and I assume I could probably send them just that and it would run. However the adb tool is needed to install apps. I could send them that too, and ask the to run an 'adb install myapp.apk' from the command line, but at the moment I can't even seem to do that myself.
Running the emulator standalone, the adb tool can't seem to see it:
samuel-josephs-computer-2:tools samueljoseph$ sudo ./adb devices List of devices attached
I just get no list of devices ...
I have previously used the adb tool to install apk files, but that is after I had started the emulator from eclipse - of course even then I always have to restart eclipse and the emulator two or three times before I can get the connection (I am on OSX 10.5.6., eclipse 3.4.1) ...
View 5 Replies
View Related
Jul 30, 2010
I am trying to create an application based on Wi-Fi and i would need some suggestion on the same , The scenario am trying is,say, when a user with our android application enters a specific Wi-fi Hotspot, i need an activity to be invoked from my app. Basically I can have a service running as a part of my app and whenever i scan for that specific hot-spot i can call up the activity , BUT , i need to do the otherway round.. i mean instead of running a service in the mobile and utilizing its resource, i want the Wi-fi Hotspot to monitor and if the device is inside the vicinity it needs to invoke a notification from which the activity can be invoked... Few things that i would like to understand is I) When a wifi hot-spot is detected in our android phone what actually happens at the Wi-Fi Hot spot end ?? 2) When our device obtains an IP address from the wi-fi n/w will our device's unique ID or its equivalents be available at the wi-fi provider end ?
View 9 Replies
View Related
Sep 14, 2010
I am very new to Android Development. I am trying a sample application and it is generating a button dynamically using Java and it is working fine.
This works fine in my emulator. However when i try do with an XML based layout, my app crashes in the emulator.
Main.XML contents
<?xml version="1.0" encoding="utf-8"?>
<Button xmlns:android="com.testing"
android:id="@+id/button"
android:text=""
android:layout_width="fill_parent"
android:layout_height="fill_parent" />
Code:
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
btn=(Button)findViewById(R.id.button);
btn.setOnClickListener(this);
updateTime();}
Does anyone know why this simple application is crashing because of the XML layout?
View 2 Replies
View Related
Mar 16, 2009
I travel to different places to visit clients and spend few hours with each client any given day. Most of the time I am busy or forget to use a time tracker application to log my time in and time out. Are there any application out there that track time spent on a specific location. I use locale but it doesn't give me time spent at specific a location.
View 6 Replies
View Related
Sep 25, 2009
Currently I am writing an Android application which uses WikiTude API. I installed the WikiTude browser application in the Android SDK emulator from Android Market (To get Android Market in emulator I followed this link http://forum.xda-developers.com/archive/index.php/t-529170.html).
When I run the WikiTude browser application in emulator it asks me to set location settings. I enabled "Enable GPS satellites" option & run the application, again it make an alert for location settings. I am not able to run this application. Please help me.
Can anyone tell me is it possible to run GPS based application in Android Emulator? Or not?
If it is, Is there any work around to run GPS based application in emulator?
View 3 Replies
View Related
Oct 12, 2010
I have an android app I want to connect to a Google App Engine based server. I can get the auth token from the AccountManager. It seems the next thing I am supposed to do is talk to an auth page to get a cookie. Following the awesome instructions here: http://blog.notdot.net/2010/05/Authenticating-against-App-Engine-from-an-Android-app
I think my url should be:
https://MYAPP.appspot.com/_ah/login?continue=http://localhost/&auth=CrAZYl000ngToken
but rather than a redirect, I get a 500 server error:
Error: Server Error
The server encountered an error and could not complete your request. If the problem persists, please report your problem and mention this error message and the query that caused it. What's up with that? What is the URL I am supposed to be going to? Or maybe I'm doing something else wrong?
View 1 Replies
View Related
Feb 18, 2009
I'm thinking of using WebView as a container for "Form" based JavaScript+DHTML applications. This is simple fill-out-forms like you have on the web, but now on mobile like for note taking, order taking, and the like.This is to allow web developers to build the bulk of the application - Javascript will perform validation, computations, etc.On the Java side, I only need to implement database CRUD operations, and a ListView to scroll over the forms.To minimize the learning curve on the JavaScript side, I've been thinking on how to emulate AJAX calls so that the web developers don't need to learn new methods to call on the JavaScript-Java bridge. Of course this isn't possible using XMLHttpRequest, so I'm thinking of adapting JQuery or other Javascript libraries for this purpose.
View 3 Replies
View Related
Aug 30, 2009
I've implemented an onSaveInstanceState function in the main activity of my TabHost-based application. I need to save the state of various objects I am keeping in memory that I have all marked as serializable, as well as some basic int and string values. I have stepped through my application and watched it call the onSaveInstanceState function and presumably save everything without any manner of exception or problem. The issue is that my onCreate function is being called with a null Bundle value every time after I start the application again. I'm really at a loss and unsure why it would call the save but not pass anything into the create.
View 1 Replies
View Related
Jul 10, 2013
i tried to design a simple a sqlite related apps .but when i try to inflate my data in listview using view holder.it's getting error.i cannt understand how to debug it.my code is---
1- code for SQLiteOpenHelper
Code:
public class DataHelper extends SQLiteOpenHelper {
public static String DATABASE="kuldb";
public static String DB_TABLE="friends";[code].....
View 1 Replies
View Related
Aug 11, 2010
I was just reading through some posts and saw something that intrigued me. Is there a way to flash a Sprint based rom and use the NASCAR App that they exclusively have? Kind of like Verizon with the NFL?
View 12 Replies
View Related
Apr 17, 2010
How can reduce the power usage in my application.
View 1 Replies
View Related
Apr 1, 2010
I just launched my app VLC Remote and was surprised to see that there isn't a way to post a link to the app on the market that works both on my android device and also in my browser.
-so I made a way, and I'm opening it up for all-comers.
What it does is lets you post an http link like this
http://and-download.hobbyistsoftware.com/android/download?name=VLC Remote&q=pname:com.hobbyistsoftware.android.vlcremote
If someone clicks on the link from an android device, then the link opens in the market. If they click from their computer, then it offers to send them a link by email (so they can click on the link on their device).
the download emails have a (subtle) advert for my app, but the feature is clearly your app!
details are here:[url]
View 13 Replies
View Related
Sep 9, 2009
I want the application to run in background. This application should run continuously and should never get killed. Will running application as Service solve this issue? The application should get started automatically on start up. I don't need any GUI for this application. The main issue is Service getting Killed. Does service get killed ? and in what conditions will that happen?
View 4 Replies
View Related
Aug 25, 2009
i have some problem to communicate with a service from an Android application.The service is in a first package "package com.myService" and the application in another on "package com.myApplication".My service work and start well but my next step is to add an AIDL interface to external applications.I have tried to follow the recomandation described here : http://developer.android.com/guide/developing/tools/aidl.html, but i have still the following error (given in the log service):W/ActivityManager( 568): Unable to start service Intent { action=com.MyApplication.IBootstrapService }: not found
View 2 Replies
View Related
Mar 24, 2009
I'm writing an app that needs one or more applications/services that are distributed with their own seperate apk file. I'm writing a user-app that allows the user to upload pics using a service. The service can be used by multiple user-apps, not just mine. I'd like to have the service being installed in its own apk, instead of bundling it with each user-app. Has anyone had experience with this scenario? What is the best scenario i should implement so that the user downloads the service that the user-app needs? Can be this be done automatically (that would be best)? If not, in your opinion, what would be the most user-friendly way for doing so?
View 4 Replies
View Related
Apr 26, 2010
If an application begins a Service via bindService or startService, will this Service object ever run from a process different from that of the application? I ask because many Android example projects begin a service and communicate to them using IPC which seems wholly unnecessary considering that, according to the Android Service documentation, "... services, like other application objects, run in the main thread of their hosting process." IPC, AIDL, and the IBinder interface only seem useful if connecting to a Service started by an application other than your own. Is this a correct or fair understanding?
View 1 Replies
View Related
Sep 1, 2009
I want create a service and that other application use this service. I want that the other application is in a different project that the service.
It is possible? If is possible somebody can show me a sample code.
View 6 Replies
View Related
Jul 7, 2010
Is it possible implement an Android application as a web service? On the official site I've read:
Note: If you want to develop a server-side application, we recommend that you implement your application as a servlet running in a servlet engine like Tomcat or full-blown JSEE container like Geronimo. If you prefer to implement a server-side application based on our HttpService, we'll assume that you know what you're doing and that you don't need help in figuring out which interceptors need to be configured.
How can I implement this? Apache TOMCAT can run on Android?
View 2 Replies
View Related
Aug 6, 2010
I have a C/S solution, which take Android as its client and PHP as its server.
I have my own account system.
I'm wondering whether I could provide my user to login my system with Google Account?
I saw there are web-solution for this, like this stackoverflow.com could use Google Account to directly login.
Is there a solution for C/S system?
View 1 Replies
View Related
Mar 25, 2010
I am creating an application that checks the installation of a package and then launches the market-place with its id.
When I try to launch market place with id of an application say com.mybrowser.android by throwing an intent android.intent.action.VIEW with url: market://details?id=com.mybrowser.android, the market place application does launches but crashes after launch.
Note: the application com.mybrowser.android doesn't exists in the market-place.
MyApplication is my application.
CODE:..........
However, when I try to launch the market place for a package that exists in the market place say com.opera.mini.android, everything works. Log for this case:
CODE:..................
View 2 Replies
View Related
Jul 13, 2009
I have a service receiving and sending data to a server in separate threads each. The service lifecycle methods look like this:..................
View 3 Replies
View Related