How to make an application NOT uninstallable like build-in apps

by Explore Android » Fri, 06 Mar 2009 05:19:39 GMT


Sponsored Links
 Hi All,

I am working on social networking application and our company/operator
requirement is that the user should not be allowed to uninstall this
application like any build in applications.

How can we make our application be NON uninstallable?

Any pointers, greatly appreciated.

--~--~---------~--~----~------------~-------~--~----~



How to make an application NOT uninstallable like build-in apps

by Explore Android » Fri, 06 Mar 2009 17:04:07 GMT


 Hi Jean,

Thanks for your response. I understand.




--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. Deadlock in GLSurfaceView

We are developing an application that uses a GLSurfaceView to display
3D objects. We regularly get the "Application Not Responding" dialog.
Inspection of the dumped threads reveals something that looks
suspiciously like a deadlock. I have added the three thread dumps
involved below.

The first thread is the main application event thread, and it is
waiting on a join with a GLThread.

The second thread is a brand new GLThread that is waiting for a
semaphore lock presumably so it knows it has exclusive access to the
graphics hardware.

The third thread is probably a previous GLThread (the one the main
thread is waiting for to finish), that is waiting to be notified. The
strange thing is that the main application thread has just done a
"mDone=true; notify();" prior to calling "wait()", so the third thread
should have been awaken?

- Has anyone else run into this issue?
- Does anyone know of a workaround?

Any help would be appreciated!

DALVIK THREADS:
"main" prio=5 tid=3 WAIT
  | group="main" sCount=1 dsCount=0 s=0 obj=0x40018e70
  | sysTid=713 nice=0 sched=0/0 handle=-1093387108
  at java.lang.Object.wait(Native Method)
  - waiting on <0x2976e0> (a java.lang.VMThread)
  at java.lang.Thread.join(Thread.java:1020)
  at java.lang.Thread.join(Thread.java:974)
  at android.opengl.GLSurfaceView$GLThread.requestExitAndWait
(GLSurfaceView.java:1056)
  at android.opengl.GLSurfaceView.onDetachedFromWindow
(GLSurfaceView.java:447)
  at android.view.View.dispatchDetachedFromWindow(View.java:5230)

"GLThread" prio=5 tid=23 WAIT
  | group="main" sCount=1 dsCount=0 s=0 obj=0x43516a80
  | sysTid=1188 nice=0 sched=0/0 handle=3235208
  at java.lang.Object.wait(Native Method)
  - waiting on <0x2976e0> (a java.lang.VMThread)
  at java.lang.Thread.parkFor(Thread.java:1497)
  at java.lang.LangAccessImpl.parkFor(LangAccessImpl.java:48)
  at sun.misc.Unsafe.park(Unsafe.java:319)
  at java.util.concurrent.locks.LockSupport.park(LockSupport.java:117)
  at
java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt
(AbstractQueuedSynchronizer.java:680)
  at
java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly
(AbstractQueuedSynchronizer.java:836)
  at
java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly
(AbstractQueuedSynchronizer.java:1143)
  at java.util.concurrent.Semaphore.acquire(Semaphore.java:267)
  at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:883)

"GLThread" prio=5 tid=19 WAIT
  | group="main" sCount=1 dsCount=0 s=0 obj=0x435e4098
  | sysTid=1184 nice=0 sched=0/0 handle=4061600
  at java.lang.Object.wait(Native Method)
  - waiting on <0x1c74b8> (a android.opengl.GLSurfaceView$GLThread)
  at java.lang.Object.wait(Object.java:288)
  at android.opengl.GLSurfaceView$GLThread.guardedRun
(GLSurfaceView.java:925)
  at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:887)

--~--~---------~--~----~------------~-------~--~----~

2. Droid Wall - Android Firewall

I don't have an unlimited data plan, so I was quite frustrated to see
that my G1 was consuming lots of megabytes in the background (also
draining battery too fast).

To solve this problem, I wrote this iptables front-end to block
undesired applications from accessing the GRPS/3G network (white-list
based), while keeping unrestricted access to the Wifi network.
The goal is to create an iptables front-end, but currently this is the
only feature available.

IMPORTANT: Root access required - this was tested on a G1 with JFv1.50

Project home:
http://code.google.com/p/droidwall/
or
http://droidwall.googlecode.com/

I didn't publish it on market yet, but you can download the ".apk"
from the site and install using adb.
After installing, press menu and click Help for a (very) brief
explanation on how to use it.

I hope this will help other people.

--~--~---------~--~----~------------~-------~--~----~

3. video screen disappeared after launch new task

4. H264 codec

5. ANN: Facebook Connect library for Android

6. Did Android support make a dial in native code

7. video gallery