Android :: One Application Requiring Another / Service?

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?

Android :: One application requiring another / service?


Android :: Application Requiring Large Data Files

Jun 10, 2009

I am working on an android app that needs to act on a few data files totaling around 30MB. I put together a test and the emulator failed with OutOfDiskSpace. Debugging on a device failed with even a smaller data size. After reading through the google groups, it appears that the application size limit isn't stated anywhere and nobody from google has been forthcoming with specifics about this. Given that there are iPhone apps that are over 100MB in size, putting such a small limit on Android apps seems weird, except just for the fact that you have a relatively small amount of total available app storage space (< 100MB).What techniques do you use to deal with this limit? If you have an app that needs more than 10MB, do you put it on a web server and deal with downloading it the first time? If so, how do you handle access control so that only your app can get the data?

View 2 Replies View Related

Android :: Prevent Application Requiring LED Or Camera Flash From Android Marketplace

Mar 11, 2010

Is there a particular flag that we can use to prevent apps showing up in marketplace which require the phone to have a camera flash /LED? Typical apps are ones which make the phone act like a torchlight in dark. I have seen a tag which prevents apps requiring auto focus in a camera from appearing in the marketplace. Just looking to find out if there is something similar for camera flash.

View 2 Replies View Related

Android :: Unit Tests Requiring Context

Jan 19, 2010

I am writing my first Android database backend and I'm struggling to unit test the creation of my database. Currently the problem I am encountering is obtaining a valid Context object to pass to my implementation of SQLiteOpenHelper.Is there a way to get a Context object in a class extending TestCase? The solution I have thought of is to instantiate an Activity in the setup method of my TestCase and then assigning the Context of that Activity to a field variable which my test methods can access...but it seems like there should be an easier way.

View 3 Replies View Related

Android :: Prevent LED - Camera Flash Requiring APPS From Marketplace

Mar 11, 2010

Is there a particular flag that we can use to prevent apps showing up in marketplace which require the phone to have a Camera Flash /LED. typical apps are ones which make the phone act like a torchlight in dark , i have seen a tag which prevents apps requiring autofocus in a camera from appearing in the marketplace. Just looking to find out if there is something similar for camera flash.

View 2 Replies View Related

Android :: Camera Still Regularly Hangs With Cupcake / Requiring Power Cycle

May 1, 2009

I found that the old bug reported in http://code.google.com/p/android/issues/detail?id=1578 where only a power cycle brings back the camera still persists with the official Cupcake firmware on my ADP. When it happens - and I've encountered it several times in a few days now - no camera application can access the camera. A power cycle is needed to recover from this locked camera state.

View 8 Replies View Related

Android :: PhoneMyPC Locking Up Computer Requiring Hard Power Cycle

Aug 23, 2010

Only started happening since the most recent update. before that it was good. Updated both phone and computer side software and now it locks up my 64bit windows ultimate machine every 2nd time I log into PhoneMyPc. I can log in once fine, the second time will cause the computer to freeze.

View 2 Replies View Related

General :: Hiding Apps In Go Launcher Without Requiring To Root?

Apr 1, 2012

Ithere a *secure* way to hide android apps without requiring to root? By secure I mean that the invisible apps cannot be easily found by other users and would require password.

I know Go launcher provide hiding app function, but it is very stupid. Anyone can just click on the "hide app" button and see what is being hidden....

View 4 Replies View Related

Nexus :: Automatic Login To Networks Requiring Personal Name / Pass

Apr 9, 2010

To access the wireless at my university the network is 'open' but you have to sign in (personal user name and pass) via a login webpage prior to actually being connected to the wifi. It's kind of annoying to have to do this every time instead of the phone just connecting to the network.So two options that I am wondering would be possible:

1. best case, somehow it can automatically sign into the network once it is detected (e.g. run a script which enters login/pass to webpage)

2. at least have the user name and pass remembered (i cant figure out how to have it remember logins).

I should note, I have disabled cell tower data transfer (reason I bought the nexus one so I didn't have to pay $30 a month when wifi is everywhere!). So accessing wifi is the only way I get data connection; hence the importance of directly/automatically connecting

View 2 Replies View Related

Samsung Moment :: App That Can Lock Call Log Requiring A Password _ Pin _ Pattern To View Log?

Jul 14, 2010

Anyone know of an app that can lock the call log requiring a password/pin/pattern to view the log?

View 6 Replies View Related

Android :: Running Application As Service

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

Android :: Communicate With A Service From An Application

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

Android :: Application Service Ever Run In Different Process?

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

Android :: Application Using Service In Different Project?

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

Android :: Possible To Implement An Application As A Web Service?

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

Android :: Is It Possible For An Application To Use Open-ID Service

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

Android :: Service Won't Stop When Exiting Application

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

Android :: Sharing Data Between An Service And An Application

Jun 28, 2009

In order to share data between one of my own Android service and an application i am looking for the best way to do this. I have seen the shared memory drivers inside the GNU Linux kernel, but no Java api. Maybe the specific Google IPC Blinder cad be used for my need ?

View 10 Replies View Related

Android :: Binding Service To Activity Vs Application

Jul 1, 2010

Is there any fundamental difference in binding a service to an android.app.Activity vs binding it to an android.app.Application. I want to bind the service to an Application because I want to keep some global state/data in the Application instead of duplicating it in all my activities.

View 1 Replies View Related

Android :: Access Remote Service In Different Application

Apr 30, 2010

I defined a remote service over a AIDL file. Now i want to access this service in a different application. But how can I do that? The AIDL file is not accessible in my second application, and if i just copy the AIDL file, then the service can't be found.

View 1 Replies View Related

Android :: Any Application That Shows What Service Using Net Traffic?

Jun 27, 2009

Are there any applications that shows exactly what applications or services that uses 3g traffic? My Magic uses pretty much 3g traffic, it looks like it updates every half hour/hour.

27.06.2009 10:42 38.9 KB GPRS 0.04
27.06.2009 10:07 36.9 KB GPRS 0.04
27.06.2009 09:32 36.9 KB GPRS 0.04
27.06.2009 08:30 40.1 KB GPRS 0.04
27.06.2009 08:15 2.3 KB GPRS 0.00
27.06.2009 07:40 36.7 KB GPRS 0.04
27.06.2009 07:05 37.0 KB GPRS 0.04
27.06.2009 06:30 36.8 KB GPRS 0.04
27.06.2009 05:55 36.9 KB GPRS 0.04
27.06.2009 05:20 38.2 KB GPRS 0.04
27.06.2009 04:44 35.8 KB GPRS 0.04
27.06.2009 04:10 78.6 KB GPRS 0.08
27.06.2009 03:34 38.2 KB GPRS 0.04
27.06.2009 02:05 43.8 KB GPRS 0.04
27.06.2009 01:56 36.5 KB GPRS 0.04

View 2 Replies View Related

Android :: MVC - Application Or Service For Asynchronous Updates

Jul 3, 2010

I have data that is to be refreshed from the Internet. Let's call it Model.

What I want to do: Basically it sounds like an MVC model, where the Model is also kept persistent in local (private) storage. The Model and its associated methods are application-wise. There are several Activity's that display and manipulate different aspects of it:

User
navigates across different Activity's
that display Model
from different perspectives. Currently I have a ListActivity for all elements, and an Activity for one element's details
Sometimes Model needs refreshing.
Surely this is done on a different thread. Refreshing can be triggered from several Activity's.
There are several (time consuming) common
tasks that can be triggered from different Activity's
My application loads and saves Model
to private storage when it starts
and stops

My problem: I'm not sure where to put Model and the related tasks in. Also, I don't know what mechanism to use to notify Activity's. Currently I come up with 2 approaches:

Use Service and send broadcasts. Saving to disk is performed in Service#onDestroyed(), so I want to minimize that by binding it to Activity's. At this point, I'm also not sure how to deliver the updated information: whether to provide a getter in Binder, or include that in the broadcast message.
Customize the Application object so that refreshing methods and getters are available globally. I then perform update from Activity's using AsyncTask. If there are other Activity's that are behind the current Activity, they will update in onResume() when the user navigates back.

Reasons I'm not using a class with static methods:

I need to save and store Model to disk. Some of the methods need a Context for displaying toasts, notifications, caching, etc.


Also, I don't put these functionalities in an Activity because there are several activities that manipulate the same piece of persistent data.

Below are pseudocode illustrating what I mean:

Using Service:

CODE:............

Make the functionality globally accessible in the custom Application object

CODE:...........

Weaknesses I can think of for the Service approach is complexity, since Binding is asynchronous. And it's very likely that I have to repeat some code because I have both ListActivity and Activity

For the Application approach, the documentation says not to rely on onTerminate() being called.

View 3 Replies View Related

Android :: Service And Application Got Crash / Installing A New Apk

Sep 16, 2010

I m developing an app.in which service start at boot time. but after some time it goes crash and also it is installing a new apk.. i m not understanding what is the problem..becoz there are so many problems in this Plz take a look at it and help me..

I/DEBUG ( 30): debugged: Jun 30 2010 13:59:20

D/qemud ( 37): entering main loop

I/Netd ( 29): Netd 1.0 starting

I/Vold ( 28): Vold 2.1 (the revenge) firing up

D/Vold ( 28): Volume sdcard state changing -1 (Initializing) -> 0 (No-Media)

W/Vold ( 28): No UMS switch available

D/qemud ( 37): fdhandler_accept_event: accepting on fd 10

D/qemud ( 37): created client 0xe078 listening on fd 8

D/qemud ( 37): client_fd_receive: attempting registration for service 'boot-properties'

D/qemud ( 37): client_fd_receive: -> received channel id 1

Code...

View 5 Replies View Related

Android :: Starting Class1 From Service Without Application?

Jul 2, 2010

I have a call blocking application. It has 3 files:
1) class BlockMyCall extends BroadcastReceiver
2) class SimpleClass1 extends Service
3) PhoneBlock extends Activity

I start "PhoneBlock " Activity to call Service "SimpleClass1 ", which eventually calls "BlockMyCall" intended to block outbound calls (by setting result to "null").

I want to know if I can run the class1 from service without starting activity. If so , how?

View 2 Replies View Related

Android :: Expose Service Interface To Other Application

Aug 31, 2009

I have created a service and want to expose the interface to other applications. For one service I have done this successfuly. I just put the AIDL interface into the new project and all worked fine. Now for this service I've done the same but I get a java.lang.VerifyError when trying to use this interface. I think that the problem is that the AIDL uses a class (PolicyRole) that is only defined in the source code of the service. To compile the source that uses the interface I had to link against the code of the service but at runtime the error appears. Code...

View 2 Replies View Related

Android :: Need To Store Preferences - When Application Only Contains Service

May 12, 2010

I have a app that only consists of 2 services and a broadcast receiver (they check the internet periodically). I need to store preferences that can be shared across those services. Is this the same as for an activity? Just use getsharedpreferences()? This doesn't seem to be documented very well.

View 1 Replies View Related

Android :: Trying To Create A Service With Application Lifecycle

Jul 8, 2010

I am trying to create a Servicefor my application which will negotiate Bluetooth connections and data. I want this service's lifecycle to start and end with the Application, but still be able to have specific Activities listen for events that occur within this service (in addition an Activty should be able to call specific methods of the Service to write data or query connection state).

I started by creating AIDL interfaces for my callbacks and service, but I can't figure out exactly what I'm doing.

How is the best way to go about this? EDIT: To be clear, I do not specifically need (or want) more than one process for my application. Right now I don't have more than one; I'm just using AIDL because it is the only way I know of for a Service to communicate with an Activity.

View 1 Replies View Related

Android :: How Does Getting Application Reference From A Service Work

Jul 28, 2010

I have a local Service running together with my application. I also have a class derrived from Application class.

When the local service is created it gets and uses the Application instance using getApplication.

Can the app itself be terminated while my service is still running and what happens if so? Would getApplication return null?

View 1 Replies View Related

Android :: Application Security - When Accessing A Web Service

Aug 4, 2010

I'm building an Android application that needs to communicate with a MySQL database. The application isn't meant to be published, and I want the application to be the only thing allowed to interface with the web service I'll create for DB access.

I've been thinking how I can secure the system, and this is the idea I've come up with. I'd appreciate any feedback or other ideas. Surely there is a method built into Android that I am unaware of.

My thought is to give the web service a GUID. Each time a call is made to one of it's public methods, the web service matches its GUID with the GUID given to it by the Android application. If the GUIDs do not match, the web service refuses access. In short, my system has a 128-bit password.

View 1 Replies View Related

Android :: How Can I Restart My Application - Service Automatically

Nov 9, 2010

Some Android application restarts automatically when i kill process manually. How this can be possible?

Is there anyone who know how to do like this on Android platform?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved