I had used the same..
but it gives the Exception in first iteration itself..
On Sep 11, 4:41 pm, joyband wrote:
> Use Log to debug the index number i
>
> On 9月11日, 下午7时35分, Asif k wrote:
>
>
>
> > Hi all,
>
> > I am getting null pointer exception at the bellow mentioned line in
> > the for lo
Use post and handler mechanism or RunFromUI interface.
Thanks
asif
On Aug 20, 11:16 am, tstanly wrote:
> thanks for reply,
>
> so how can I do for change thread's control to change my UI?
>
> thanks!
>
> On 8月20日, 下午1時03分, star double wrote:
>
>
>
> > My god, you must change your UI in main th
===
> find: invalid predicate `-L'
> frameworks/policies/base/PolicyConfig.mk:22: *** No module defined for
> the given PRODUCT_POLICY (android.policy_phone). Stop.
>
> On 7月17日, 下午3时05分, Ask wrote:
>
> > Hi Fred,
>
> >If you got the answer then can yo
solution ..it did fro my
> build error on ubunut
>
> On Jul 16, 5:48 am, Ask wrote:
>
>
>
> > This is the link on android platform group,
>
> >http://groups.google.com/group/android-platform/browse_thread/thread/...
>
> > On Jul 16, 3:46 pm, Ask wrote:
>
This is the link on android platform group,
http://groups.google.com/group/android-platform/browse_thread/thread/208c760eab587239/4974176be9b4ed03?hl=en#4974176be9b4ed03
On Jul 16, 3:46 pm, Ask wrote:
> Hi Mark,
>
> I had asked the same question to android platform forum earlier but
policies/base/PolicyConfig.mk:22:*** No module defined
> > for
> > the given PRODUCT_POLICY (android.policy_phone) . stop. "
>
> > So can anyone plz tell me regarding this problem
>
> That's probably a better question to ask of the Android open source
yer on Android by default, AFAIK. However, there
> > may be third party video players that will honor your request, depending
> > on what mCurrentVideoFilename is.
>
> > --
> > Mark Murphy (a Commons
> > Guy)http://commonsware.com|http://twitter.com/commonsguy
>
hello Saurav,
Thanks for your reply. Its working fine for user defined
subActivity.
But If we use intents for ACTION_CALL and dial a number, then if
after 30 second I want to end the call programmatically from my parent
activity , how to accomplish this using intent broadcast ?? or how can
w
delayed message to itself
> and have it call finish() when it gets it?
>
>
>
> On Tue, May 26, 2009 at 11:49 PM, Ask wrote:
>
> > Is it possible to call finish() for subactivity from the parent
> > activity?? I want to show subactivity for only some perticular t
one observation :
Whenever I am puling a file from emulator using DDMS fileexplorer /
data/app , one process is created in which file explorer window is
continuosly refreshed and emulator remains engaged. So I could not run
any application on that instance.
To run a new application, I have to
Is it possible to call finish() for subactivity from the parent
activity?? I want to show subactivity for only some perticular time
and after that I want it to be automatically finished..
Thanks,
Asif
On May 26, 7:26 pm, Asif k wrote:
> Hi all,
>
> I had opened an image file store in the sdc
;
> 78 {
>
> 79 return mBase.getResources();
>
> 80 }
>
>
>
>
>
> On Wed, May 13, 2009 at 9:34 PM, Ask wrote:
>
> > Fadden,
>
> > It throws these exceptions only when " I tried to create any UI
> > component like Toast message
Fadden,
It throws these exceptions only when " I tried to create any UI
component like Toast message or invoking phone dialer inents etc. " It
executes nicely when I just "tried to print a log message or created
MediaPlayer and playing a song " .
So my conclusion is that It throws NullPoi
Hello Neil,
the same thing I had done. I had given the same
android:sharedUserId= "hii.hello" in the manifest of the both the
application as well as same android:process = "guide.android" in both
the manifests. But could not get the expected result.
Is the anything more to be done to r
Thanks for your reply.
Actually I want to call one method abc() which resides in the other
application(PhoneDialer.apk) from my application (TestApp.apk) and
that PhoneDialer application resides in the /data/app-private
directory (means this application is not installed in the device) .
This m
Hi MrChaz,
Thanks for your help. I changed it and its working now.
regards,
Asif
On May 5, 3:55 pm, MrChaz wrote:
> it's "audio/mp3" not "/audio/mp3"
>
> On May 5, 11:27 am, Asif k wrote:
>
>
>
> > Hi all,
>
> > I want to play a mp3 file which is stored in the /sdcard/ using
> > ACTIO
Hi Dianne,
Please respond.
On Apr 21, 6:27 pm, Ask wrote:
> >executing code from the SD card is a security hole for your app, no
> >matter how short a time you have the code there.
>
> now I am successful in writing file in the /data/app-private/ dir
> rather than /sdca
Please help on this.
Thanks
On Apr 21, 5:45 pm, Asif k wrote:
> Hi,
>
> I'm trying to use a ConditionVariable to control the execution
> sequence of two threads. I can create a ConditionVariable in one
> thread and block on it. But I would like to be able to access it from
> another Thread and
files dynamically from the desktop
using socket communication and execute one method in this .apk at
runtime . After executing this methos I will delete this .apk file.
Thanks,
Asif
On Apr 20, 1:13 pm, Dianne Hackborn wrote:
> On Sun, Apr 19, 2009 at 3:37 AM, Ask wrote:
> > >I am w
Can DexClassLoader solve this above problem?? I have not downloaded
early look sdk yet.. Will The application which is running on sdk 1.0
run on 1.5 without an problem??
On Apr 19, 3:37 pm, Ask wrote:
> fadden,
>
> >but rather why are you getting the
>
> >NullPointerEx
ld not write the file
>prgrammatically.. Is there any way to write in the private dir
>programmatically using changing permissions??
On Apr 18, 12:45 am, fadden wrote:
> On Apr 17, 6:24 am, Ask wrote:
>
> > The application will be residing in the /sdcard/ and I am loading it
> > d
means that exception is coming due to different user IDs??
why cant that method use any variable of the activity??
Regarding Loading and ulloading of .apk in the /sdcard, I am making
sure to put it in the card only when I am executing my application and
after competion of my application I am
Mark,
The application will be residing in the /sdcard/ and I am loading it
dynamically using PathClassLoader API.
and using Method.invoke() function I am invoking the method residing
in that class.
Yes it may violate the model but I need it in my application
>>If not, are both applications exec
Please give some suggestions..
On Apr 15, 5:35 pm, Asif k wrote:
> Hi,
>
> I want to ask to google engineers that whether future sdk releases
> will provide any C\C++ support for application developement?? If no..
> then Can you please tell me the disadvantage of these langu
yess, I got it using setSelection() method
On Apr 9, 2:53 pm, Ask wrote:
> Hi Jef,
>
> Thanks 4 ur reply.
> Its working fine 4 EditText..
>
> But here there is no API to set cursor position like
> EditText.setcursorPosition(),
>
> I am updating EditText at diff
Hi Jef,
Thanks 4 ur reply.
Its working fine 4 EditText..
But here there is no API to set cursor position like
EditText.setcursorPosition(),
I am updating EditText at different stages of application execution
programatically using EditText.append();
But cursor position is remaining at the first
you?
> I don't think it matters that you were using reflection for it.Why a view
> component needs the looper before it is attached to an active Window, I
> don't know.
>
>
>
> On Wed, Apr 8, 2009 at 2:31 PM, Ask wrote:
>
> > It works nice after I had added only
some clearification.
Regards,
Asif
On Apr 8, 11:44 am, Ask wrote:
> Hi all,
>
> Thanks 4 ur reply.
>
> Actually I want to call some methods of one Activity
> (test.check.Test1.java) from another activity (my current activity) at
> runtime in the separate Thread. In the mai
#x27;? If so, I understand why it may
> > need a looper/handler. But if you're loading an Activity (Test1)
> > within another Activity (the one trying to load check.apk), you may
> > get into a heap of other trouble. But i'm not an expert on this at
> >
exception if you would have called 'new
> test.check.Test1()'.
>
> On Apr 7, 9:17 am, Ask wrote:
>
>
>
> > Is there any handler needed for that?? Any Idea???
>
> > On Apr 7, 3:58 pm, Ask wrote:
>
> > > Hi,
>
> > > I am using Reflect
Is there any handler needed for that?? Any Idea???
On Apr 7, 3:58 pm, Ask wrote:
> Hi,
>
> I am using Reflection APIs in the background thread to call a method
> dynamically from another application but I am getting the Exception:
>
> "java.lang.RuntimeException: Can&
Can you send the exception you are getting or some code snippets,
it can be some io exception...
On Apr 7, 4:58 pm, Lillian Brandão wrote:
> I've already done at the server machines:
> redir add tcp:7000:7000.
>
> --
> Lillian Brandão
>
>
>
> On Tue, Ap
Have you done port forwarding at server machine??
Any message which is coming to the server should be redirected towards
the emulator port : 7000
On Apr 7, 4:35 pm, Lillian Brandão wrote:
> Hi all,
>
> I have an application client/server and I want to install this application
> in differente ma
kTrace();
} }
Please help.. If you know the issue.
On Apr 6, 7:14 pm, Ask wrote:
> Thanx Mark for your quick reply. I will try it out and get back
>
> On Apr 6, 6:49 pm, Mark Murphy wrote:
>
>
>
> > Asif k wrote:
> > > But in my case, I am g
Thanx Mark for your quick reply. I will try it out and get back
On Apr 6, 6:49 pm, Mark Murphy wrote:
> Asif k wrote:
> > But in my case, I am getting all 3 messages at a time after
> > activity execution completed.
>
> That is probably because you are doing long-running work on the UI thread
Please respond.. Whether DexFile class can solve this purpose?
On Mar 25, 11:52 am, Asif k wrote:
> Hi all,
>
> Can anyone please provide some information regarding the reflection
> API DexclassLoader, which will be includeed in cupcake release?? In
> the latest development of the cupcak
Mark,
Then is there any way to copy one file xyz.abc.apk from the /sdcard
to /data/app/ folder using the application. Because I want to call it
at the runtime using PathClassLoader but for that .apk file must be in
the /data/app folder.
Regardz,
Asif
On Mar 20, 5:00 pm, "Mark Murphy" wrote:
37 matches
Mail list logo