Android :: Craft A Daemon Process As To Make It "unlistable" To A Process Viewer?
Aug 25, 2010
Is there a way to craft a daemon process as to make it "unlistable" to a process viewer?
OR
is there a way to dynamically change a process name?
I'd like to design a security application without having to modify the firmware, if possible (yes I know about "security through obscurity"...).
View 1 Replies
May 10, 2010
Is it possible (without violating any licenses) to write a native C/C++ application on top of the Android OS and make it run as a daemon process?
There are already several daemon process' running which one can see with the 'ps' command, the legal part concerns me the most. And also the lack of documentation on how to exactly do this.
For the writing part, I guess one could use basic Linux programming concepts, since Android supports at least to some level the standard Posix API. To make it run as the phone boots, some modifications is of course required in init as well.
I have no plans to have this app in the Android Market, so installing it manually to the phone is not a problem. As long as it does not require re-compiling the whole OS or kernel.
View 2 Replies
View Related
Mar 26, 2010
Can we create a daemon process in android. If possible can provide some document.
View 2 Replies
View Related
May 21, 2010
Sometimes the DDMS in the Eclipse not listing the process.
To do the debug in this condition,
1) Is their any way force the DDMS to list the process?
2) Any command to attach the process from the command line?
View 2 Replies
View Related
Feb 21, 2009
At a certain point in my program, when I'm completely done with my service, my activity executes unbindService() and stopService() -- yet the process persists. I can tell that it persists because I run "ps" in "adb -e shell":
CODE:.............
"adb logcat", I can show you the sequence of events:
ACTIVITY: context.unbindService(serviceConnection);
SERVICE: onUnbind();
ACTIVITY: stopService(serviceIntent); & returns true!
SERVICE: onDestroy();
First, my activity calls unbindService(serviceConnection). According to the documentation, unbindService() will "Disconnect from an application service. You will no longer receive calls as the service is restarted, and the service is now allowed to stop at any time." So that is fine, and it is happening.
Appropriately, we see the onUnbind() call happen on the service side. According to the documentation, onUnbind() is called when "all clients have disconnected from a particular interface published by the service." So this confirms the correct service connection is being passed, and that the service is responding accordingly.
Next, my activity calls stopService(serviceIntent), and returns true. According to the documentation, stopService() does the following: "If there is a service matching the given Intent that is already running, then it is stopped and true is returned; else false is returned." Again, this is happening and returning true.
In response, the service's onDestroy() method is called. According to the documentation, onDestroy() is "Called by the system to notify a Service that it is no longer used and is being removed. The service should clean up any resources it holds (threads, registered receivers, etc) at this point. Upon return, there will be no more calls in to this Service object and it is effectively dead."
At this point I expect the process to disappear from the process table. Yet it remains indefinitely. But why?
Also, the process is so persistent that I can bind to it again, and I see that it is the same exact process responding because the PID (process ID) is the same!
View 4 Replies
View Related
Nov 24, 2010
So, I decided to give Tridents ROM a try about 10-minutes ago.
I used ROM Manager, backed-up my old ROM, then downloaded Velocity 0.2.
Now, my phone will do nothing, it turns on and shows the red Droid eye, then when it's time to go to the home screen I get pop-up after pop-up saying that "The process com.android.phone has stopped unexpectedly. Please try again."
I have no way of getting on my phone at all, what can I do?
View 11 Replies
View Related
Nov 12, 2010
I Just installed a new theme (Live Wire) for my Lithium Mod Rom. Don't know if there is a connection, but when I need to update an app, I get the message something like "process android media process stopped unexpectedly" and it will not allow the update. Everything else works well. I have turned it off for awhile, and have done a battery pull.
View 1 Replies
View Related
May 11, 2010
Every 5 minutes this error pops up "Sorry! the process android.process.acore has stopped unexpectdly. please try again." It doesnt actually close anything. It pops up even when im not in an app. So it's more annoying than anything.
View 3 Replies
View Related
Jul 30, 2010
I'm using Xperia x10 mini. Whenever I try to add a contact to my phonebook, before clicking save this message appears: "The process android.process.acore has stopped unepectedly. Please try again." And I have no other choice but to click "force close"... Another thing is, even though my contacts' names appears in the messages in my inbox, when I click on the phonebook icon, the phonebook is empty...
View 4 Replies
View Related
Feb 1, 2010
Are the processes in android asynchronous? If they are asynchronous then how can we conclude when the activity or process is finished or completed its execution.
View 2 Replies
View Related
Sep 11, 2010
So since I got the phone on Thursday, at random, I'll get these popup crash messages, that say "The process com.google.process.gapps has stopped unexpectedly" it has a "Force Close" button, which doesn't seem to change anything other than to acknowlege the message.It will happen at random, sometimes while I'm on the home screen, or sending a text message, but more recently, as I was trying to manage & link contacts. When I searched for this message it seemed to be related to people using Gmail, but I always get this message when I'm doing other things and not even touching my Gmail account.
View 1 Replies
View Related
Sep 19, 2009
I bought a new phone, but I can not run it.
I get the following information: "Sorry! The process com.google.process.gaps has stopped unexpectedly. Please try again".
View 1 Replies
View Related
Apr 17, 2010
I've searched around the forums (here and SDX forums) and although it seems the few people that had this issue were able to solve it, my case seems a bit different.
It's different because of the people I've read solving the issue, it was a problem with something they changed / removed with gmail / gmail storage or talk / talk storage. And when they cleared the cache or re-installed the problem went away. Also, it seemed that the same people had a problem with downloading from the market...
Neither of the above apply to me, but yet I'm still getting this FC error all the time!
I was helping a friend with their CL14 Moment out of the box...and went from stock 1.5 CL14 to 2.1 DD03 w/Joey recovery to EclairDD10 and v5 root. I then did the streaming media fix, and then the private app (build.prop) fix (all previously done with my phone no problems). I did all of these update right in a row, and after my last re-boot the FC error (process com.google.process.gapps has stoped unexpectedly) started showing up and won't go away.
The only .apk / odex files I removed were the preloaded Sprint apps
Does anybody have any other ideas on how I can get this FC error to stop? I've tried clearing the cache / data for all the mail / talk apps, rebooted, cleared dalvik cache...
View 6 Replies
View Related
Sep 17, 2010
Keep getting this message "The process com.google.process.gapps has stooped working unexpectedly. Any thoughts on what this is and how to resolve?
View 3 Replies
View Related
Apr 29, 2009
I have a background process that save data in my sdcard how can i be alert ?!! it is an application run in background.
View 2 Replies
View Related
Mar 3, 2010
When I connet device to DDMS sdk tool, I can see the running process.But I don't think that those process are tatal processes.For example, I have 10 android applications, A, B, C, D, E, F, G, H, I and J.If I want to run only A, B, C application on the power-on, how can I do that.?Where can I make a list for processes running in the poweron time.?
View 2 Replies
View Related
Feb 4, 2010
It didn't take me long to realize update.zip installations of ROMs don't always work like they should, meaning the only way to install a ROM is via Nandroid restore. But, that clears all my data with it, meaning I have to re-DL and reconfigure all my app and settings. But with new ROM versions coming out every day, going through this process of repeat-reconfiguration is starting to become a major hassle. What options are there for avoiding this headache?
View 20 Replies
View Related
Sep 16, 2010
I have a non-rooted Motorola Droid running 2.2 and I want to root to try out a ROM. I want to make sure I do this right. I don't want to lose any data (pictures, texts, etc) and I don't want to lose any apps. I've read a bunch of threads and it sounds like this is the general order I should proceed in:
1 - Backup data with MyBackupPro
2 - Root
3 - Backup apps with Titanium Backup
4 - Install ROM
Is this correct? Am I missing anything? Will the root method or ROM make a difference in terms of the process?
View 2 Replies
View Related
Nov 16, 2009
I have a bluetooth adapter attached to my car's iPod dock. It acts like a bluetooth headset so I can play music wirelessly from my Droid. My problem is that I have to go through a few menus to connect the paired devises every time I get in the car. Is there a way to have the Droid automatically connect to this device, or is there a widget that can help make this process easier?
View 5 Replies
View Related
Aug 22, 2010
Is there any way to make the "end" button on the Samsung Moment not lock the screen and instead end whatever process that is currently being run/used/viewed, and possible have an assignable soft-touch or side key to lock the phone, or even a menu option or application.
View 6 Replies
View Related
Sep 18, 2009
I have an app with multiple activities and a local service.
if I finish() all the activities and stop the service, the process still exists (if I go into adb shell and type ps, I still see it).
is there a way to make sure the process is killed when I "quit"?
View 4 Replies
View Related
Mar 25, 2009
Can anyone tell me where can I see the active process and current process. I think we can see in the DDMS --> Devices.But when see the process list, when I launch a application it showing that applications process in the list. after finishing that application also it showing it process in the process list.So how can see only the current active prcocess (Foregroud,Background..etc). I want to see only the current process which running on the device/emulator.One more thing. when I hold on the Home button for long time, It is showing a list. What that list means. whether that list is For the forgrund running apps or active apps or that is a History.
View 2 Replies
View Related
Jul 12, 2009
I am trying to retrieve all applications that are running on the android phone. Following is the code I have wrote, but how do I get the application name into my Array items?
Context context = getApplicationContext(); Resources appR = context.getResources();
ActivityManager actmgr=(ActivityManager)context.getSystemService (Context.ACTIVITY_SERVICE);
List<RunningAppProcessInfo> appList = actmgr.getRunningAppProcesses();
CharSequence[] items = new CharSequence[appList.size()];
Vector <Process>allProcesses = new Vector <Process>();
for (int i=0;i<appList.size();i++) {
RunningAppProcessInfo rti = (RunningAppProcessInfo)appList.get (i);
Process p = new Process (rti.pid,rti.processName,rti.pkgList);
allProcesses.add(p); items[i] = p.getProcessName(); } : : :
View 2 Replies
View Related
Mar 30, 2010
I have a design problem with my Android components.
My activity is starting a service which is doing the work in the background. What I want is that the service informs the activity about state changes. How can I do this?
Normally I would add an observer but the activity has no reference to the service. Then I was thinking to take AIDL but this is more for inter-process communication.
How is it possible that the service informs the activity about state changes? Both are running in the same process. What can you recommend?
View 9 Replies
View Related
Mar 23, 2010
Is there any way to display all the process IDs to a user?
I think to display the current ID can use the following code:
int myProcessID = Process.myPid();
But how do I display all process IDs?
View 7 Replies
View Related
Jan 30, 2009
According to the docs in the Android developer's site, processes can be used to reduce overhead by running the code of multiple .apks in the same process. (see application model) What I'm wondering is HOW I can run multiple .apk in the same process.
Since an image from one of the Google I/O video shows that process can run one .apk or just part of one .apk, I'm little confused about processes.
View 4 Replies
View Related
Sep 30, 2010
I was wondering if there was some sort of app that modifies the on/off function slightly??
Basically the only button that lights up the screen from it being dormant is the on/off button at the top - the trouble is its also the only button that is needed to start the phone up from it being switched off!!
I recently went on a flight thinking my phone was off only to get to the end of a 7 hour flight to realise that it must have been nudged or something because the phone had been on constantly!!
Its also annoying at night when I turn it off then cant remember if I have turned it off and the only way to check is press the on/off button to check - which turns it on and I have to wait for the boot up to then switch it off again!
View 3 Replies
View Related
Feb 24, 2009
How do I get the Package Name if I am having the PID of the process. For example, if I want to output a list of currently running processes, I can get the PIDs but how do I get the names of the PIDs?
View 7 Replies
View Related
Sep 15, 2010
Anyone else getting this error when phone rotates from portrait to landscape? Driving me nuts. "The Process android.process.acore has stopped unexpectedly. Just started after installing cyanogen 6.0 and Snap 7.6 Kernel.
View 1 Replies
View Related
May 12, 2009
I want to run two different android applications in the single process to access the resources. For that purpose, I had made following two changes in the manifest file of both the application ,
I had override two attributes and
1) android:sharedUserId= "hii.hello" under <manifest> tag 2) android:process = "guide.android" under <application> tag
I had made these changes (asign the same values) in the both the applications but could not get expected results. How to check whether both these applications are running in the same process?
Should I sign both the application with the same certificate?
View 4 Replies
View Related