[Q] Script to Check Running Application - Android Q&A, Help & Troubleshooting

I am trying to set up a script with Script Manager which will check if com.facebook.katana is running and disable it, but if it isn't running then it will enable it.
The enable and disable part is easy using pm enable/disable but how do I check what is running?

So it turns Facebook off if it running but runs it if its not running?
Sent from my ice cream powered Nexus S

DarkhShadow said:
So it turns Facebook off if it running but runs it if its not running?
Sent from my ice cream powered Nexus S
Click to expand...
Click to collapse
Exactly, but I think I got it working:
http://forum.xda-developers.com/showpost.php?p=22300390&postcount=15

Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Moving to Q&A

Related

[Question] CyanogenMod 7 - is it possible to get samsung apps working?

Is it possible to install some of the default apps from SGS2 stock on cyanogen?
I'd really like to have the video and photo editor to begin with. I tried them from Tricky's ROM kitchen rom, they're deodexed zipaligned etc but won't install.
Any advice?
Most likely none of them will work as they rely on Samsungs custom framework.
Move to q&a please
Sent from my GT-I9100 using xda premium
Reported. You should be banhammered for this rubbish.
You know what your doing you even titled the thread so people would look.
But aren't the editors google apps?
My bad if I'm wrong.
Very agree with the OP regarding needs for a samsung apps.
But I wish there was a thumbs down button for post like this
It should be titled "Question" and not "ROM".
f.
Bec07 said:
But aren't the editors google apps?
My bad if I'm wrong.
Click to expand...
Click to collapse
Thanks for correcting the thread title.
Sent from my GT-I9100 using XDA App
This forum is for developers.
If you didn't create it it doesn't belong here, you only had to read the stickys bro!
Q&A is this way
http://forum.xda-developers.com/forumdisplay.php?f=1148
forelli said:
You stupid &%$#!!! It should be titled "Question" and not "ROM". Can a mod ban this user please?
f.
Click to expand...
Click to collapse
Jesus chill the * out. I copy pasted part of the title didn't even notice. Wasn't on purpuose... jeez
And like somebody else said: it belongs to the "Q & A" forum where "Q" stands for Questions...
f.
Bec07 said:
Jesus chill the * out. I copy pasted part of the title didn't even notice. Wasn't on purpuose... jeez
Click to expand...
Click to collapse
Sent from my GT-I9100 using XDA App
Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums and Read THIS
Moving to Q&A
What's worse is that the question has already been asked and answered in the Cyanogenmod thread...
Would be great if anyone with a low post count was immediately directed to the search function before they're able to create new threads.
How kind of you to be so perspicacious and leave a link behind too.
Teach us oh wise one with your amazing post count, share your infinite wisdom and experience...
So, don't loose the point...
Is there any "Samsung Apps" package?
Here are some, but not all: http://forum.xda-developers.com/showpost.php?p=18101252&postcount=4
I also cannot make the Samsung Dive to work, but I'm using an Official 2.3.4 Unbranded ROM (Is not the one wich came with my phone).
There's also a touch wiz launcher for those who miss it: http://forum.xda-developers.com/showthread.php?t=1061883
Samsung Apps with Cyanogenmod 7.1
Assuming my SGS I897 is similar enough to the SGS2, here is my experience: After flashing Cyanogenmod 7.1, I tried to restore apps from Samsung using Titanium Backup.
I was happy my son's Krazy Kart Racing still worked, because it was free in the Samsung Apps market but $3.38 in the Android market.
However, when I tried to restore Samsung Apps itself, Titanium Backup went into an infinite loop. An attempt to restore Program Monitor had the same result.
I guess my answer is: some apps will work and some will not.
Has anyone else tried?

[Q]1Weather

can anyone provide a link(not android market link) for 1Weather ? I could not able to download it from market.
idhbar said:
can anyone provide a link(not android market link) for 1Weather ? I could not able to download it from market.
Click to expand...
Click to collapse
http://www.androidpolice.com/2012/01/24/onelouder-apps-blows-our-minds-with-1weather-the-most-beautiful-weather-app-weve-ever-seen/
creezalird said:
http://www.androidpolice.com/2012/0...he-most-beautiful-weather-app-weve-ever-seen/
Click to expand...
Click to collapse
Thanks .
HTC Sense 3.5, Android 2.3.5
Any comments on battery consumption of this app?
Sent from my samsung galaxy s2 using tapatalk
Nice app... a bit early to say anything about battery consumption..
The only issues I've run into so far are that the weather maps don't show the correct location... for example, instead of Beaumont TX, it's centered on Louisiana to the east, leaving the Beaumont, TX off the edge of the map and mostly invisible... some of the maps only show north Texas, completely leaving the selected location off the map completely.... they really need to work on making absolutely sure the selected location is centered on the map even if their data source is centered elsewhere.
No local map support till now .
HTC Sense 3.5, Android 2.3.5
It's nice but the icons are just awful.
Sent from my Arc via transwarp beacon.
just waitin until new version with location followed.
Sent from my GT-I9100G using Tapatalk
Battery drain .
HTC Sense 3.5, Android 2.3.5
idhbar said:
Battery drain .
HTC Sense 3.5, Android 2.3.5
Click to expand...
Click to collapse
I don't use the widget and manually reduced /turned off syncing like, and I still noted some significant battery drain with the app so I uninstalled it first.
Sent from my samsung galaxy s2 using tapatalk
.
Thread moved to Q&A due to it being a question. Would advise you to read forum rules and post in correct section.
Failure to comply with forum rules will result in an infraction and/or ban depending on severity of rule break.

[Q] Mirror screen on Android (wireless)

Is there any app that lets me mirror my screen on my Android wirelessly to my PC/TV etc?
borchgrevink said:
Is there any app that lets me mirror my screen on my Android wirelessly to my PC/TV etc?
Click to expand...
Click to collapse
I've never heard of wifi mirroring.
Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Moving to Q&A
http://www.mirrorop.com/product_Android_Sender.html
MoPhoACTV Initiative
That's awesome

[Q] Ios emulator

Is there yet an ios emulator for android ?
Or any other way to run ipa games on android ?
I'll be nice and say never. Now I'll say what everyone wants to say ... lololololololololololol ....... no.
Sent from my GT-P1000 using xda premium
I will be rude and say : "Google it" LOL
On this note, may i know an ios emulator for pc.
I can't google it
Nope
and
Nope.
creagrox said:
On this note, may i know an ios emulator for pc.
I can't google it
Click to expand...
Click to collapse
Why? Is your Google broken or something?
Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Thanks ✟
Moving to Q&A
There is now iOS emulator for Blackberry. When the author will open the code it should be posibble to port it to Android...

[Q] Liquid Smooth v2.6.5 nightly bug

When I try to install 3rd party apps it does not let me highlight the install button. I can only choose cancel. But when I flash back to 2.5 official I am able too. Can anyone let me know if I all the only one with this issue. I really enjoy the nightly liquid smooth.
You have to close the halo feature then install the app
Sent from my SCH-I605 using Tapatalk 2
Please read forum rules before posting
Questions and help issues go in Q&A and Help section
Thread moved
Thank you for your cooperation
Friendly Neighborhood Moderator

Categories

Resources