I'm really at a loss as to how the code you provided is supposed to be helpful... You didn't even provide code for where you are using setOnClickListener...
---------------------------------------------------------------------- There are only 10 types of people in the world... Those who know binary and those who don't. ---------------------------------------------------------------------- On Mon, May 17, 2010 at 10:46 AM, Issamux <mer...@gmail.com> wrote: > > class A { > > oncreate() > { > > setContentView(R.layout.main); > ................ > .................. > > installApk("myapk.apk") > > } > > } > > ....... > ............ > > private void InstallApk(String myapk) throws NameNotFoundException { > > Intent intent = new Intent(); > > intent.setAction(android.content.Intent.ACTION_VIEW); > intent.setDataAndType(Uri.parse("file:///sdcard/" + > myapk), > > "application/vnd.android.package-archive"); > > startActivityForResult(intent,Intent.FLAG_ACTIVITY_NO_ANIMATION); > > } > } > ............ > ...... > > } > > > > > On May 12, 9:24 am, Justin Anderson <janderson....@gmail.com> wrote: > > *> some suggestion ? solutions* > > Here's a suggestion... provide enough information for us to help you! > Like, > > maybe, some sample code that isn't working... > > > > ---------------------------------------------------------------------- > > There are only 10 types of people in the world... > > Those who know binary and those who don't. > > ---------------------------------------------------------------------- > > > > > > > > On Tue, May 11, 2010 at 8:52 AM, Issamux <mer...@gmail.com> wrote: > > > hi,Androiderz > > > > > i use startActivity(myintent) or even an startActivityForResult to > > > call an other activity (PackageInstaller ) , when it finished ... it > > > disable setOnClickListener ?!!! i cant any more click in button in my > > > UI ...??? > > > some suggestion ? solutions > > > > > Issamux > > > > > -- > > > You received this message because you are subscribed to the Google > > > Groups "Android Beginners" group. > > > > > NEW! Try asking and tagging your question on Stack Overflow at > > >http://stackoverflow.com/questions/tagged/android > > > > > To unsubscribe from this group, send email to > > > android-beginners+unsubscr...@googlegroups.com<android-beginners%2bunsubscr...@googlegroups.com> > <android-beginners%2bunsubscr...@googlegroups.com<android-beginners%252bunsubscr...@googlegroups.com> > > > > > For more options, visit this group at > > >http://groups.google.com/group/android-beginners?hl=en > > > > -- > > You received this message because you are subscribed to the Google > > Groups "Android Beginners" group. > > > > NEW! Try asking and tagging your question on Stack Overflow athttp:// > stackoverflow.com/questions/tagged/android > > > > To unsubscribe from this group, send email to > > android-beginners+unsubscr...@googlegroups.com<android-beginners%2bunsubscr...@googlegroups.com> > > For more options, visit this group athttp:// > groups.google.com/group/android-beginners?hl=en > > -- > You received this message because you are subscribed to the Google > Groups "Android Beginners" group. > > NEW! Try asking and tagging your question on Stack Overflow at > http://stackoverflow.com/questions/tagged/android > > To unsubscribe from this group, send email to > android-beginners+unsubscr...@googlegroups.com<android-beginners%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/android-beginners?hl=en > -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en