[android-developers] Re: help

2010-03-11 Thread Kumar Bibek
What I can figure out is that you are using localhost.

Instead, give the IP of your machine, and it will work.

The app running on the emulator doesn't recognize the localhost as the
localhost of your system.

This should fix your problem.

Thanks and Regards,
Kumar Bibek

On Mar 11, 2:04 pm, subrat kumar panda 
wrote:
> hello all,
> subrat here.im struggling with android soap which not getting any respone from
> axis server.currently i want 2 authenticate the username & password.
> im sending my client code.
> help me, plz.
>
>  android-client.txt
> 4KViewDownload

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: help

2010-03-12 Thread christian.posta
Hi Subrat,

You might want to try NOT using "localhost."
>From what I understand, using localhost on the emulator/device points
to the localhost of the emulator/device NOT the intended localhost of
your machine. Try figuring out what the IP address is of your machine
(ipconfig/ifconfig for windows/linux) and use that instead.

HTH
Christian

On Mar 11, 2:04 am, subrat kumar panda 
wrote:
> hello all,
> subrat here.im struggling with android soap which not getting any respone from
> axis server.currently i want 2 authenticate the username & password.
> im sending my client code.
> help me, plz.
>
>  android-client.txt
> 4KViewDownload

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: help

2010-03-12 Thread christian.posta
Hi Subrat,

You might want to try NOT using "localhost."
>From what I understand, using localhost on the emulator/device points
to the localhost of the emulator/device NOT the intended localhost of
your machine. Try figuring out what the IP address is of your machine
(ipconfig/ifconfig for windows/linux) and use that instead.

HTH
Christian

On Mar 11, 2:04 am, subrat kumar panda 
wrote:
> hello all,
> subrat here.im struggling with android soap which not getting any respone from
> axis server.currently i want 2 authenticate the username & password.
> im sending my client code.
> help me, plz.
>
>  android-client.txt
> 4KViewDownload

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: help

2010-03-12 Thread Mihai Fonoage
http://developer.android.com/guide/appendix/faq/commontasks.html#localhostalias

On Mar 11, 4:04 am, subrat kumar panda 
wrote:
> hello all,
> subrat here.im struggling with android soap which not getting any respone from
> axis server.currently i want 2 authenticate the username & password.
> im sending my client code.
> help me, plz.
>
>  android-client.txt
> 4KViewDownload

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Help?

2010-02-21 Thread Lance Nanek
You might want to try calling System.gc() manually somewhere in there,
like in onCreate. It has worked for me in the past to avoid that
exception when recreating heavy weight activities.

It's kind of an ugly hack, though. The call is documented as not even
guaranteed to do anything. Also, you aren't supposed to be able to run
out of memory if there is garbage to be collected that would prevent
it.

A wild off the wall guess as to why it works in some cases could be
that the manual GC call triggers some finalizers which free up some
memory not directly under the garbage collector's control, resulting
in more free memory than the system thought it could get from garbage
collecting. Or it could just be a bug, like you said.

Last time I asked someone about the issue, they said to make sure I
was calling recycle on all my Bitmap instances when I was done with
them and things like that. I already was in my case, and it sounds
like you've eliminated that in your test, but that's another thing to
check in similar situations.

On Feb 21, 2:04 pm, Moto  wrote:
> I got this issue that after changing orientation about 7 times I get
> the OutOfMemoryError. :(
>
> What's wrong!?  I stripped my app to the point were it only does
> setContentView(...) and still I can reproduce the issue.
>
> I do use all custom graphics.  Now this tells me there is a leak and a
> big one somewhere, but it seems not in my code! Where than!? a bug on
> the OS?  Can a xml layout have leaks?
>
> Please any help finding the issue would help!
>
> Thanks,
> -Moto!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Help?

2010-02-21 Thread Moto
Thanks Lance!

Your tip about System.gc() doesn't seem to make a difference. :(

Just so anyone that has this issue:
I started with a stripped activity no allocations just loading my
template seemed to resolve issues.  From there I slowly started adding
things and optimizing couple things that seem to leak.

In any case using a G1 and opening and closing the keyboard fast does
lead to the memory exception.  So it seems that it does not clear
memory fast enough.  Now you might think who is going to open and
close the keyboard that fast?  Well it just helps put the phone in
extremes situations where the CPU is slow and it can't free memory
fast enough...

It really sucks that this happens and I got many users complaining
about this issue... :(

Any other ideas tips, possibly catching this exception giving the CPU
some time to clear memory and than start the activity? That would be
perfect!

Thanks,
Moto!

On Feb 21, 3:14 pm, Lance Nanek  wrote:
> You might want to try calling System.gc() manually somewhere in there,
> like in onCreate. It has worked for me in the past to avoid that
> exception when recreating heavy weight activities.
>
> It's kind of an ugly hack, though. The call is documented as not even
> guaranteed to do anything. Also, you aren't supposed to be able to run
> out of memory if there is garbage to be collected that would prevent
> it.
>
> A wild off the wall guess as to why it works in some cases could be
> that the manual GC call triggers some finalizers which free up some
> memory not directly under the garbage collector's control, resulting
> in more free memory than the system thought it could get from garbage
> collecting. Or it could just be a bug, like you said.
>
> Last time I asked someone about the issue, they said to make sure I
> was calling recycle on all my Bitmap instances when I was done with
> them and things like that. I already was in my case, and it sounds
> like you've eliminated that in your test, but that's another thing to
> check in similar situations.
>
> On Feb 21, 2:04 pm, Moto  wrote:
>
> > I got this issue that after changing orientation about 7 times I get
> > the OutOfMemoryError. :(
>
> > What's wrong!?  I stripped my app to the point were it only does
> > setContentView(...) and still I can reproduce the issue.
>
> > I do use all custom graphics.  Now this tells me there is a leak and a
> > big one somewhere, but it seems not in my code! Where than!? a bug on
> > the OS?  Can a xml layout have leaks?
>
> > Please any help finding the issue would help!
>
> > Thanks,
> > -Moto!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Help?

2010-02-21 Thread abowman
This might be helpful.

http://developer.android.com/intl/fr/resources/articles/avoiding-memory-leaks.html


On Feb 21, 2:04 pm, Moto  wrote:
> I got this issue that after changing orientation about 7 times I get
> the OutOfMemoryError. :(
>
> What's wrong!?  I stripped my app to the point were it only does
> setContentView(...) and still I can reproduce the issue.
>
> I do use all custom graphics.  Now this tells me there is a leak and a
> big one somewhere, but it seems not in my code! Where than!? a bug on
> the OS?  Can a xml layout have leaks?
>
> Please any help finding the issue would help!
>
> Thanks,
> -Moto!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Help?

2010-02-21 Thread Bob Kerns
Was it actually your app that was getting the error?

The Launcher suffered from this problem in 2.1 on a Nexus One if you
had a lot of applications; it seems fixed in 2.1 Update 1.

If it's your app, you can investigate this from the DDMS perspective.
Select your app, hit the "Update Heap" button at the top, and then the
"Cause GC" button, and you'll see usage by type of object on the right
in the Heap window. Select a type, and you'll see a histogram of
object sizes / counts.

If you add the Memory Analyzer features (there are two, add them both;
one provides the basics, and the other adds charts), to your Eclipse
environment from the Ganymede update site, you can see a great deal
more detail. Just click th Download HPROF File button. I won't even
try to describe all the nice bits of analysis it can do.

You may find you need to temporarily give your app
WRITE_TO_EXTERNAL_STORAGE permission so that the .hprof file can be
written to the sdcard. Once you've done this, you probably don't need
it again, though I did have to re-add it for one session after I
downloaded the Memory Analyzer.

On Feb 21, 12:14 pm, Lance Nanek  wrote:
> You might want to try calling System.gc() manually somewhere in there,
> like in onCreate. It has worked for me in the past to avoid that
> exception when recreating heavy weight activities.
>
> It's kind of an ugly hack, though. The call is documented as not even
> guaranteed to do anything. Also, you aren't supposed to be able to run
> out of memory if there is garbage to be collected that would prevent
> it.
>
> A wild off the wall guess as to why it works in some cases could be
> that the manual GC call triggers some finalizers which free up some
> memory not directly under the garbage collector's control, resulting
> in more free memory than the system thought it could get from garbage
> collecting. Or it could just be a bug, like you said.
>
> Last time I asked someone about the issue, they said to make sure I
> was calling recycle on all my Bitmap instances when I was done with
> them and things like that. I already was in my case, and it sounds
> like you've eliminated that in your test, but that's another thing to
> check in similar situations.
>
> On Feb 21, 2:04 pm, Moto  wrote:
>
>
>
> > I got this issue that after changing orientation about 7 times I get
> > the OutOfMemoryError. :(
>
> > What's wrong!?  I stripped my app to the point were it only does
> > setContentView(...) and still I can reproduce the issue.
>
> > I do use all custom graphics.  Now this tells me there is a leak and a
> > big one somewhere, but it seems not in my code! Where than!? a bug on
> > the OS?  Can a xml layout have leaks?
>
> > Please any help finding the issue would help!
>
> > Thanks,
> > -Moto!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Help?

2010-02-22 Thread Moto
@abowman
Thanks for the tip, I did read that before but it always helps to be
reminded of those small pitfalls!

@Bob
Yes, this is my app and I'm using HTC G1. Android 1.6.  I was using
DDMS to investigate and that's how I determined that the activity was
slowly releasing memory.  I did find leaks and using that method I was
able to tune my activity.  But still the case is fast rotations memory
is not cleared fast enough.

I started using the memory analyzer from eclipse but I find it hard to
understand/analize the data :(
Yes, it shows me a chart with "possible leaks" but nothing looks
familiar maybe it's lower level Android API calls all I see?

Well any further tips could help :) Still thinking somehow slow down
the activity when memory not cleared fast enough...

-Moto!

On Feb 21, 10:31 pm, Bob Kerns  wrote:
> Was it actually your app that was getting the error?
>
> The Launcher suffered from this problem in 2.1 on a Nexus One if you
> had a lot of applications; it seems fixed in 2.1 Update 1.
>
> If it's your app, you can investigate this from the DDMS perspective.
> Select your app, hit the "Update Heap" button at the top, and then the
> "Cause GC" button, and you'll see usage by type of object on the right
> in the Heap window. Select a type, and you'll see a histogram of
> object sizes / counts.
>
> If you add the Memory Analyzer features (there are two, add them both;
> one provides the basics, and the other adds charts), to your Eclipse
> environment from the Ganymede update site, you can see a great deal
> more detail. Just click th Download HPROF File button. I won't even
> try to describe all the nice bits of analysis it can do.
>
> You may find you need to temporarily give your app
> WRITE_TO_EXTERNAL_STORAGE permission so that the .hprof file can be
> written to the sdcard. Once you've done this, you probably don't need
> it again, though I did have to re-add it for one session after I
> downloaded the Memory Analyzer.
>
> On Feb 21, 12:14 pm, Lance Nanek  wrote:
>
> > You might want to try calling System.gc() manually somewhere in there,
> > like in onCreate. It has worked for me in the past to avoid that
> > exception when recreating heavy weight activities.
>
> > It's kind of an ugly hack, though. The call is documented as not even
> > guaranteed to do anything. Also, you aren't supposed to be able to run
> > out of memory if there is garbage to be collected that would prevent
> > it.
>
> > A wild off the wall guess as to why it works in some cases could be
> > that the manual GC call triggers some finalizers which free up some
> > memory not directly under the garbage collector's control, resulting
> > in more free memory than the system thought it could get from garbage
> > collecting. Or it could just be a bug, like you said.
>
> > Last time I asked someone about the issue, they said to make sure I
> > was calling recycle on all my Bitmap instances when I was done with
> > them and things like that. I already was in my case, and it sounds
> > like you've eliminated that in your test, but that's another thing to
> > check in similar situations.
>
> > On Feb 21, 2:04 pm, Moto  wrote:
>
> > > I got this issue that after changing orientation about 7 times I get
> > > the OutOfMemoryError. :(
>
> > > What's wrong!?  I stripped my app to the point were it only does
> > > setContentView(...) and still I can reproduce the issue.
>
> > > I do use all custom graphics.  Now this tells me there is a leak and a
> > > big one somewhere, but it seems not in my code! Where than!? a bug on
> > > the OS?  Can a xml layout have leaks?
>
> > > Please any help finding the issue would help!
>
> > > Thanks,
> > > -Moto!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Help?

2010-02-24 Thread MarcoAndroid
The DDMS tool to analyze memory usage does not give that much
information.

Check this post, might help you figuring out what could be wrong:
http://ttlnews.blogspot.com/2010/01/attacking-memory-problems-on-android.html


On 23 feb, 01:56, Moto  wrote:
> @abowman
> Thanks for the tip, I did read that before but it always helps to be
> reminded of those small pitfalls!
>
> @Bob
> Yes, this is my app and I'm using HTC G1. Android 1.6.  I was using
> DDMS to investigate and that's how I determined that the activity was
> slowly releasing memory.  I did find leaks and using that method I was
> able to tune my activity.  But still the case is fast rotations memory
> is not cleared fast enough.
>
> I started using the memory analyzer from eclipse but I find it hard to
> understand/analize the data :(
> Yes, it shows me a chart with "possible leaks" but nothing looks
> familiar maybe it's lower level Android API calls all I see?
>
> Well any further tips could help :) Still thinking somehow slow down
> the activity when memory not cleared fast enough...
>
> -Moto!
>
> On Feb 21, 10:31 pm, Bob Kerns  wrote:
>
> > Was it actually your app that was getting the error?
>
> > The Launcher suffered from this problem in 2.1 on a Nexus One if you
> > had a lot of applications; it seems fixed in 2.1 Update 1.
>
> > If it's your app, you can investigate this from the DDMS perspective.
> > Select your app, hit the "Update Heap" button at the top, and then the
> > "Cause GC" button, and you'll see usage by type of object on the right
> > in the Heap window. Select a type, and you'll see a histogram of
> > object sizes / counts.
>
> > If you add the Memory Analyzer features (there are two, add them both;
> > one provides the basics, and the other adds charts), to your Eclipse
> > environment from the Ganymede update site, you can see a great deal
> > more detail. Just click th Download HPROF File button. I won't even
> > try to describe all the nice bits of analysis it can do.
>
> > You may find you need to temporarily give your app
> > WRITE_TO_EXTERNAL_STORAGE permission so that the .hprof file can be
> > written to the sdcard. Once you've done this, you probably don't need
> > it again, though I did have to re-add it for one session after I
> > downloaded the Memory Analyzer.
>
> > On Feb 21, 12:14 pm, Lance Nanek  wrote:
>
> > > You might want to try calling System.gc() manually somewhere in there,
> > > like in onCreate. It has worked for me in the past to avoid that
> > > exception when recreating heavy weight activities.
>
> > > It's kind of an ugly hack, though. The call is documented as not even
> > > guaranteed to do anything. Also, you aren't supposed to be able to run
> > > out of memory if there is garbage to be collected that would prevent
> > > it.
>
> > > A wild off the wall guess as to why it works in some cases could be
> > > that the manual GC call triggers some finalizers which free up some
> > > memory not directly under the garbage collector's control, resulting
> > > in more free memory than the system thought it could get from garbage
> > > collecting. Or it could just be a bug, like you said.
>
> > > Last time I asked someone about the issue, they said to make sure I
> > > was calling recycle on all my Bitmap instances when I was done with
> > > them and things like that. I already was in my case, and it sounds
> > > like you've eliminated that in your test, but that's another thing to
> > > check in similar situations.
>
> > > On Feb 21, 2:04 pm, Moto  wrote:
>
> > > > I got this issue that after changing orientation about 7 times I get
> > > > the OutOfMemoryError. :(
>
> > > > What's wrong!?  I stripped my app to the point were it only does
> > > > setContentView(...) and still I can reproduce the issue.
>
> > > > I do use all custom graphics.  Now this tells me there is a leak and a
> > > > big one somewhere, but it seems not in my code! Where than!? a bug on
> > > > the OS?  Can a xml layout have leaks?
>
> > > > Please any help finding the issue would help!
>
> > > > Thanks,
> > > > -Moto!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Help?

2010-03-04 Thread Moto
Thanks guys for the help.  I find it a little hard debugging but those
links helped a little.

Could someone consider the following numbers to be too high to make
the app easily crash?  Cause as of now at this point is when it
crashes.

ID | Heap Size | Allocated | Free | % Used | # Objects
1   3.570 MB2.702 MB889.195 KB  75.68%  49,041

Thanks!


On Feb 24, 5:19 pm, MarcoAndroid  wrote:
> The DDMS tool to analyze memory usage does not give that much
> information.
>
> Check this post, might help you figuring out what could be 
> wrong:http://ttlnews.blogspot.com/2010/01/attacking-memory-problems-on-andr...
>
> On 23 feb, 01:56, Moto  wrote:
>
> > @abowman
> > Thanks for the tip, I did read that before but it always helps to be
> > reminded of those small pitfalls!
>
> > @Bob
> > Yes, this is my app and I'm using HTC G1. Android 1.6.  I was using
> > DDMS to investigate and that's how I determined that the activity was
> > slowly releasing memory.  I did find leaks and using that method I was
> > able to tune my activity.  But still the case is fast rotations memory
> > is not cleared fast enough.
>
> > I started using the memory analyzer from eclipse but I find it hard to
> > understand/analize the data :(
> > Yes, it shows me a chart with "possible leaks" but nothing looks
> > familiar maybe it's lower level Android API calls all I see?
>
> > Well any further tips could help :) Still thinking somehow slow down
> > the activity when memory not cleared fast enough...
>
> > -Moto!
>
> > On Feb 21, 10:31 pm, Bob Kerns  wrote:
>
> > > Was it actually your app that was getting the error?
>
> > > The Launcher suffered from this problem in 2.1 on a Nexus One if you
> > > had a lot of applications; it seems fixed in 2.1 Update 1.
>
> > > If it's your app, you can investigate this from the DDMS perspective.
> > > Select your app, hit the "Update Heap" button at the top, and then the
> > > "Cause GC" button, and you'll see usage by type of object on the right
> > > in the Heap window. Select a type, and you'll see a histogram of
> > > object sizes / counts.
>
> > > If you add the Memory Analyzer features (there are two, add them both;
> > > one provides the basics, and the other adds charts), to your Eclipse
> > > environment from the Ganymede update site, you can see a great deal
> > > more detail. Just click th Download HPROF File button. I won't even
> > > try to describe all the nice bits of analysis it can do.
>
> > > You may find you need to temporarily give your app
> > > WRITE_TO_EXTERNAL_STORAGE permission so that the .hprof file can be
> > > written to the sdcard. Once you've done this, you probably don't need
> > > it again, though I did have to re-add it for one session after I
> > > downloaded the Memory Analyzer.
>
> > > On Feb 21, 12:14 pm, Lance Nanek  wrote:
>
> > > > You might want to try calling System.gc() manually somewhere in there,
> > > > like in onCreate. It has worked for me in the past to avoid that
> > > > exception when recreating heavy weight activities.
>
> > > > It's kind of an ugly hack, though. The call is documented as not even
> > > > guaranteed to do anything. Also, you aren't supposed to be able to run
> > > > out of memory if there is garbage to be collected that would prevent
> > > > it.
>
> > > > A wild off the wall guess as to why it works in some cases could be
> > > > that the manual GC call triggers some finalizers which free up some
> > > > memory not directly under the garbage collector's control, resulting
> > > > in more free memory than the system thought it could get from garbage
> > > > collecting. Or it could just be a bug, like you said.
>
> > > > Last time I asked someone about the issue, they said to make sure I
> > > > was calling recycle on all my Bitmap instances when I was done with
> > > > them and things like that. I already was in my case, and it sounds
> > > > like you've eliminated that in your test, but that's another thing to
> > > > check in similar situations.
>
> > > > On Feb 21, 2:04 pm, Moto  wrote:
>
> > > > > I got this issue that after changing orientation about 7 times I get
> > > > > the OutOfMemoryError. :(
>
> > > > > What's wrong!?  I stripped my app to the point were it only does
> > > > > setContentView(...) and still I can reproduce the issue.
>
> > > > > I do use all custom graphics.  Now this tells me there is a leak and a
> > > > > big one somewhere, but it seems not in my code! Where than!? a bug on
> > > > > the OS?  Can a xml layout have leaks?
>
> > > > > Please any help finding the issue would help!
>
> > > > > Thanks,
> > > > > -Moto!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Help!!!

2012-02-06 Thread Mertuarez
I have HTC but i think there is now way how to "literally" brick
phone.
You just dont have right SWare utility,FWare version and amount of
information about your phone.

Just keep looking. Some where. There are many modes how to turn on the
phone and how to put in OSystem.

Sorry for this but i cant help you.

On 5. Feb, 22:26 h., PIERRE GALOIS GUEVARA DONGO
 wrote:
> I need help with my Xperia X8, because try to unlock the bootloader
> and now does not run, as if dead, I connect to the PC and does not
> work, is literally dead, I can do something to get my phone? I need
> help please

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Help!!!

2012-08-23 Thread Juned Khan
if your click button is not working then try to use View.onclickListener 
instead Button.onClickListenet
button.setOnClickListener(new View.OnClickListener() {}

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Help

2012-08-24 Thread Mark Jawdoszak
This depends on which PDF reader you are using.
Some can access items from within the assets folder, others need a 
FileStream and some need the URI to the location.

For consistency, in that some documents we needed were stored in the 
package and all others were from the file system, we chose to copy the PDF 
to the file system and access with a URI path.

You can use an InputStream, OutputStream and a buffer.

Something like:
InputStream inputStream = context.getAssets().open( "yourpdf.pdf" );

FileOutputStream outputStream = context.openFileOutput( "yourpdf.pdf", 
Context.MODE_PRIVATE | Context.MODE_WORLD_READABLE );

byte[] buffer = new byte[1024];
int bytesRead;
while( ( bytesRead = inputStream.read( buffer ) ) ! = 1 )
{
outputStream.write( buffer, 0, bytesRead );
}

inputStream.close();
outputStream.flush();
outputStream.close();

That will write the file from the package (assets folder) to the Private 
folder for your application.  You can then pass it's URI to other 
applications with an intent and they can use it, that's what the 
MODE_WORLD_READABLE does.

You can easily pull the full path of the file by using:
((File)context.getFileStreamPath( "yourpdf.pdf" )).getAbsolutePath()
Which will return a string with something like "/data/data//files/yourpdf.pdf

Hope that helps!

(If you want to render the PDF to the screen, that's a completely different 
deal altogether and you'll need a PDF renderer to do that!)

On Thursday, 23 August 2012 15:24:11 UTC+1, Saurabh Khemka wrote:
>
> How can I access a .pdf file stored in assets folder or res/raw folder in 
> my code?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: help

2012-04-30 Thread JTeagle
>how can you use array as in java in android?
 (Please put a more informative title in the subject line)
 If you mean native arrays, they work exactly the same. Are you having 
trouble compiling some code? If so, please post a sample of code and show 
us the compiler error you are getting. 
 

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Help

2012-05-21 Thread Mark
OOPS..

Here is the code

This all happens from a button pressed on the 2nd layout (items.xml)

private View.OnClickListener onAddItem = new View.OnClickListener() {
public void onClick(View v) {

setContentView(R.layout.additem);

//final AlertDialog dialog = null;


EditText txtItem = (EditText) 
findViewById(R.id.txtgroceryItem);
InputMethodManager inputMgr =
(InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE);
inputMgr.showSoftInput(txtItem,  0);

Button btnDone = (Button) findViewById(R.id.btnDone);
btnDone.setOnClickListener(onDone);

Button btnAddItem = (Button) findViewById(R.id.btnAddGItem);
btnAddItem.setOnClickListener(onAddTheItem);


}
};


On May 16, 3:50 pm, Justin Anderson  wrote:
> > Any Ideas?
>
> Maybe, if you share your layout code with us...
>
> Thanks,
> Justin Anderson
> MagouyaWare Developerhttp://sites.google.com/site/magouyaware
>
>
>
>
>
>
>
> On Wed, May 16, 2012 at 2:26 PM, Mark  wrote:
> > Hello Everyone.
>
> > ** **
>
> > I seem to have this problem in a app I am creating. I have 3 different
> > layouts . The 3rd layout has a EditText but when I click on it The soft
> > keyboard will not show up. But on the Main layout it will 
>
> > Any Ideas?
>
> > ** **
>
> > Thanks
>
> >   Mark
>
> > ** **
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to android-developers@googlegroups.com
> > To unsubscribe from this group, send email to
> > android-developers+unsubscr...@googlegroups.com
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Help

2012-09-21 Thread Saurabh Khemka
Thanks for the help. But when I am trying to open the pdf file after 
installing the application on my tablet, it is throwing an alert "File Not 
Found: data/data//mypdf.pdf. How can I access a pdf stored 
private to my application after installing the application on a device? 
Please suggest.
On Thursday, 23 August 2012 19:54:11 UTC+5:30, Saurabh Khemka wrote:
>
> How can I access a .pdf file stored in assets folder or res/raw folder in 
> my code?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: HELp?

2009-01-01 Thread Pete Wright

You're best place to start is actually at the official Google Android
page

http://code.google.com/android/documentation.html

There's plenty of links to getting started guides, tutorials, the SDK
itself and so on over there.



On Dec 29, 5:30 pm, "aaronleaman...@googlemail.com"
 wrote:
> Im intrested in developing a few ideas, and wondered how and where to
> start, with developing!
>
> please get back to me thanks!

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Help

2019-08-19 Thread Thatotherplayer

>
> Here is what I have so far.
>
 
https://drive.google.com/open?id=1t9wWe5OJuUYhATMhCpOmqwfhAQ0W45AH 

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/6618c18d-f3e3-4c28-a67f-6c22191febf2%40googlegroups.com.


[android-developers] Re: HELP

2013-05-19 Thread Piren
The key means nothing.. thats for signing the app, not for encrypting 
ityou can always extract the sources from the APK regardless of the 
key (google how to extract sources from an apk), but even if you didnt 
obfuscate it before, the code would not be the same as you had before... 
there would be some changes.
 
P.S - This is why you should always keep backups or use source control 
(which should be regularely backed up as well).
 
 

On Sunday, May 19, 2013 6:42:31 PM UTC+3, Abhishek Soni wrote:

> Damn It! I have a signed application stored in a folder plus the key I 
> used to sign it. Fortunately, they e were in my android device. I've 
> accidently deleted my workspace. How can I get my Project back? I have the 
> apk file as well it's key.

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: Help

2011-02-24 Thread Corey Latislaw
Hi Jorge,

I'm reading Professional Android 2 Application Development by Reto
Meier. The book has some mixed reviews, but its working well for me.

Thanks,
Corey

--
Corey Latislaw
coreylatislaw.com
twitter.com/corey_latislaw

On Feb 18, 2:46 pm, Jorge Luis  wrote:
> Afternoon ya'll...
>
> I'm starting at Android Development, is there any documentation that
> could help me in this?
> I'd really like to read something useful, beside google documents, do
> you guys have/know any?
>
> Thanks, Jorge.
>
> --
>
> Jorge Luis Ferrari C
> IBS Sistemas
> Rio do Sul - SC         (47) 3521-7912

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: HELP

2010-07-09 Thread Al Sutton
You can't build the OS in eclipse unless you want to create a new
build system, but you can create and build apps to run on Android in
it.

Al.

On Jul 9, 11:28 pm, TreKing  wrote:
> On Fri, Jul 9, 2010 at 4:34 PM, Mark  wrote:
> > I know that part
>
> I couldn't tell by your question, which I quote: "How do I get the code for
> Android?"
>
> > Can it be built in Eclipse?
>
> Ah, see, that's quite a different question, isn't it? If that's what you
> wanted to know, I think that's what you should have asked.
>
> I haven't bothered to build the Android source, but I presume there are
> instructions on the site to do so.
>
> > I told you I am come from Microsoft. (I’ve been converted) now LOL
>
> Welcome. In the Microsoft World, one must also do some Googling and read
> instructions from time to time =)
>
> --- 
> --
> TreKing - Chicago transit tracking app for Android-powered 
> deviceshttp://sites.google.com/site/rezmobileapps/treking

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: HELP

2010-07-10 Thread Indicator Veritatis
Really? Then what is http://source.android.com/source/using-eclipse.html
all about? It says "Platform development", and uses several other key
phrases that make it clear it is not just about building Android
applications.

In particular, it says, " if you are looking for information on how to
use Eclipse to develop applications that run on Android, this is not
the right page for you. "

On Jul 9, 11:11 pm, Al Sutton  wrote:
> You can't build the OS in eclipse unless you want to create a new
> build system, but you can create and build apps to run on Android in
> it.
>
> Al.
>
> On Jul 9, 11:28 pm, TreKing  wrote:
>
> > On Fri, Jul 9, 2010 at 4:34 PM, Mark  wrote:
> > > I know that part
>
> > I couldn't tell by your question, which I quote: "How do I get the code for
> > Android?"
>
> > > Can it be built in Eclipse?
>
> > Ah, see, that's quite a different question, isn't it? If that's what you
> > wanted to know, I think that's what you should have asked.
>
> > I haven't bothered to build the Android source, but I presume there are
> > instructions on the site to do so.
>
> > > I told you I am come from Microsoft. (I’ve been converted) now LOL
>
> > Welcome. In the Microsoft World, one must also do some Googling and read
> > instructions from time to time =)
>
> > --- 
> > --
> > TreKing - Chicago transit tracking app for Android-powered 
> > deviceshttp://sites.google.com/site/rezmobileapps/treking
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: help

2011-04-05 Thread Spiral123
I can.  Assuming its a paid app I'll give you 20% of any sales.  If
its free, you will need to pay me $1,000 USD upfront.

On Apr 3, 10:14 am, "nainfanta"  wrote:
>  Can not account registration, who can help me upload an application?  
>
> From Robin 2011-04-03 22:13:01

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: help: button.setBackgroundColor

2009-05-06 Thread Romain Guy

Don't call setBackgroundColor(). It simply replaces the button's
background with a solid color. If you want to keep the button look but
give it a new set of colors, you will have to grab the original assets
from the source code and modify them in a graphics editing tool.
Alternatively you can play with ColorFilters.

On Wed, May 6, 2009 at 3:35 AM, Sukitha Udugamasooriya  wrote:
>
> HI,
>
> After clling button.setBackgroundColor(int color)... the 3D look of
> the button has gone... :(
> How can I mend this??
>
> Thanks in advance
> >
>



-- 
Romain Guy
Android framework engineer
romain...@android.com

Note: please don't send private questions to me, as I don't have time
to provide private support.  All such questions should be posted on
public forums, where I and others can see and answer them

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: help: button.setBackgroundColor

2009-05-06 Thread Sukitha Udugamasooriya

Romain Guy ,

Thanks.
Seems it is a long process to change the original assets. You meant
from the Android source code rite?

Thank you.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: help me

2010-02-13 Thread deeMurthy
Hey
Can u elaborate on the "emulator problem" ?
What issue are you facing exactly?

On Feb 13, 8:51 am, kamran Manzoor  wrote:
> the code is here with emulator problrm
> package com.net.login;
>
> import android.app.Activity;
> import android.content.DialogInterface.OnClickListener;
> import android.os.Bundle;
> import android.view.View;
> import android.widget.Button;
> import android.widget.EditText;
> import android.widget.TextView;
>
> public class login extends Activity {
>     /** Called when the activity is first created. */
>  String username , password;
>     Button login;
>     TextView tv = new TextView(this);
>     EditText name = new EditText(this);
>     EditText pass =new EditText(this);
> �...@override
>     public void onCreate(Bundle savedInstanceState) {
>         super.onCreate(savedInstanceState);
>         setContentView(R.layout.main);
>         //
>
> //
>         name = (EditText)findViewById(R.id.user_name);
>         pass = (EditText)findViewById(R.id.password);
>         login = (Button)this.findViewById(R.id.login);
> 
>         username = name.getText().toString();
>         password = pass.getText().toString();
>         login.setOnClickListener((android.view.View.OnClickListener)
> loginListener);
>     }
>     private OnClickListener loginListener = new OnClickListener()
>     {
>         public void onClick(View v)
>         {
>          if (username == "kami" && password == "kami")
>          {
>           //TextView tv = new TextView(this);
>                 tv.setText(" Login is Proved");
>                 setContentView(tv);
>
>           //System.out.println("login proved");
>          }
>          else
>          {
> //          TextView tv = new TextView(this);
>                 tv.setText(" Passwod is incorrect ");
>                 setContentView(tv);
>
>          }
>           //System.out.println("login proved");
>         }
>
>     };
>
> }
>
> plz help me if anyone know?
>
> thanx
> kamran Manzoor
> FAST-NU

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: help me

2010-02-19 Thread SREEHARI
As Darshana said u dint say what is the exact problem.
Is this code getting failed for authentication??
Use ".equals" instead of "=="

*if (username.equals("kami") && password.equals("kami"))

Hope this will work


-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: help me

2009-06-23 Thread Marco Nelissen
You can only get key events in a UI, and a service does not have a UI.


On Tue, Jun 23, 2009 at 2:33 AM, Dorjoo B  wrote:

>
> how to detect key event in android service ? please help
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Help needed

2013-03-05 Thread Gabriel Augusto
Check strings.xml in 'values' folder

Em terça-feira, 5 de março de 2013 07h40min20s UTC-3, ramesh babu escreveu:
>
> hi frnds, 
>i am just start learning about android,while i am 
> developing a simple app i got stuck with these error: Error: No 
> resource found that matches the given name (at 'title' with value 
> '@string/action_settings'). 
>

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: help needed

2013-03-08 Thread bob
Here is an example of how to use the TimePickerDialog:

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
* TimePickerDialog dialog = new TimePickerDialog(this, null, 0, 0, false);*
* dialog.show();*
}

Thanks.





On Friday, March 8, 2013 12:12:17 AM UTC-6, ramesh babu wrote:
>
> hi.., 
>
> in TimepickerDialog 
>
> display.setText()  function is not working in my android app.is 
> there any other procedure to execute it... 
>

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: help needed

2013-03-16 Thread Jason
You need a google maps key because access to the google maps API is rate 
limited.

On Friday, March 15, 2013 10:41:25 PM UTC-7, ramesh babu wrote:
>
> for developing google map application why do we required sha1 key??... 
>

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: help needed

2013-03-16 Thread Tamilarasi Sivaraj
you need  *MD5 Finger Print key* for developing Google map application..

Regards
Android developer
Trinay Technology Solutions
www.trinaytech.com
5705750475

On Saturday, March 16, 2013 11:11:25 AM UTC+5:30, ramesh babu wrote:
>
> for developing google map application why do we required sha1 key??... 
>

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: Help me....

2011-12-31 Thread Lew
RAJU wrote:
>
> pls help me.. how to fix this issues in eclipse pls
>

I'll get to your question in a minute, but I have to object to this use of 
"pls" to spell "please".  It's only three letters difference.  Is it really 
that much trouble to spell it out?

> [2011-12-31 17:58:34 - DDMS] DDMS files not found:
> D:\Eclipse\eclipse\platform-tools\adb.exe
> D:\Eclipse\eclipse\tools\hprof-conv.exe
> D:\Eclipse\eclipse\tools\traceview.bat 

You don't give a whole lot of information, but this snippet suggests that 
you might not have set up the Eclipse ADT plugin, or at least not correctly.
http://developer.android.com/sdk/eclipse-adt.html

Or perhaps Eclipse itself is not installed correctly.  The missing Eclipse 
tools suggest that.

Speaking of not spelling things out ("spell things out" is a colloquialism 
meaning to provide all the details), people might be able to offer better 
help if you give more details.  What sort of things were you doing?  Does 
this happen with Eclipse generally or only for a specific project?  At what 
phase?  How is the project set up?

Anyway, check your plugins and other related installations.  If things 
remain broken maybe additional details will uncover the mystery then.

-- 
Lew

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Help me....

2012-01-23 Thread Lindsay Parker


I had the same problem, because I missed this message in "Installing the 
SDK".  Hope this helps.


Optionally, you might want to add the location of the SDK's tools/ and 
platform-tools to your PATH environment variable, to provide easy access to 
the tools.
 How to update your PATH 

Adding both tools/ and platform-tools/ to your PATH lets you run command 
line tools  
without 
needing to supply the full path to the tool directories. Depending on your 
operating system, you can include these directories in your PATH in the 
following way:

   - On Windows, right-click on My Computer, and select Properties. Under 
   the Advanced tab, hit the Environment Variables button, and in the dialog 
   that comes up, double-click on Path (under System Variables). Add the full 
   path to the tools/ and platform-tools/ directories to the path.
   - On Linux, edit your ~/.bash_profile or ~/.bashrc file. Look for a line 
   that sets the PATH environment variable and add the full path to the 
   tools/ and platform-tools/ directories to it. If you don't see a line 
   setting the path, you can add one:
   
   export PATH=${PATH}:/tools:/platform-tools
   
   - On a Mac OS X, look in your home directory for .bash_profile and 
   proceed as for Linux. You can create the .bash_profile if you don't 
   already have one.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Help!!!

2012-02-06 Thread PIERRE GALOIS GUEVARA DONGO
I was looking but i cant find a way to fix mi X8 =(!!! please someone help
me your developers some of you have to know how help me!!! PLEASEE!!

2012/2/6 Mertuarez 

> I have HTC but i think there is now way how to "literally" brick
> phone.
> You just dont have right SWare utility,FWare version and amount of
> information about your phone.
>
> Just keep looking. Some where. There are many modes how to turn on the
> phone and how to put in OSystem.
>
> Sorry for this but i cant help you.
>
> On 5. Feb, 22:26 h., PIERRE GALOIS GUEVARA DONGO
>  wrote:
> > I need help with my Xperia X8, because try to unlock the bootloader
> > and now does not run, as if dead, I connect to the PC and does not
> > work, is literally dead, I can do something to get my phone? I need
> > help please
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Help!!!

2012-02-06 Thread Kristopher Micinski
Looking through the forum history you will see that asking questions in
this way tends to be a bad idea...

kris

On Mon, Feb 6, 2012 at 10:39 PM, PIERRE GALOIS GUEVARA DONGO <
pgueva...@upao.edu.pe> wrote:

> I was looking but i cant find a way to fix mi X8 =(!!! please someone help
> me your developers some of you have to know how help me!!! PLEASEE!!
>
> 2012/2/6 Mertuarez 
>
>> I have HTC but i think there is now way how to "literally" brick
>> phone.
>> You just dont have right SWare utility,FWare version and amount of
>> information about your phone.
>>
>> Just keep looking. Some where. There are many modes how to turn on the
>> phone and how to put in OSystem.
>>
>> Sorry for this but i cant help you.
>>
>> On 5. Feb, 22:26 h., PIERRE GALOIS GUEVARA DONGO
>>  wrote:
>> > I need help with my Xperia X8, because try to unlock the bootloader
>> > and now does not run, as if dead, I connect to the PC and does not
>> > work, is literally dead, I can do something to get my phone? I need
>> > help please
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to android-developers@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>>
>
>  --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Help!!!

2012-02-06 Thread Jim Graham
On Mon, Feb 06, 2012 at 10:39:22PM -0500, PIERRE GALOIS GUEVARA DONGO wrote:
> I was looking but i cant find a way to fix mi X8 =(!!! please someone help
> me your developers some of you have to know how help me!!! PLEASEE!!

First, this group is not here to help you unbrick (if it's even possible
to unbrick) your "mi x8" ... whatever kind of Android device that is.
This group is about Android app development using the SDK.  I suggest you
find a forum specifically for the "mi x8" and ask for help there.  IF
you're VERY LUCKY, someone *MIGHT* be able to help.  If not, they can
probably suggest some good ideas (paperweight, etc.).

Later,
   --jim

-- 
THE SCORE:  ME:  2  CANCER:  0
73 DE N5IAL (/4)| "Now what *you* need is a proper pint of
spooky1...@gmail.com| porter poured in a proper pewter porter
< Running FreeBSD 7.0 > | pot.."
ICBM / Hurricane:   |--Peter Dalgaard in alt.sysadmin.recovery
   30.44406N 86.59909W  |

Android Apps Listing at http://www.jstrack.org/barcodes.html

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: help me

2012-08-29 Thread Juned Khan
See some Android documentation which is available on net and review some 
sample SIP based application like Sipdroid,Csipsimple,linphone. these are 
open source application so u can use the source code of this applications.

Thanks
Juned Khan 

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: help me

2011-10-25 Thread Studio LFP
I think you may have wandered into the wrong group. This is for Android 
development mainly dealing with the Java side of things.

There is an NDK group if you are looking for the C/C++ side of things. You 
may also want to check out other groups that have to do with modifying the 
Android base if you are looking for something really low level.

Steven
Studio LFP
http://www.studio-lfp.com


On Monday, October 24, 2011 9:20:18 AM UTC-5, RAJU wrote:
>
> how to run c,c++ program in terminal...
>
>
>
>
>
>
> ~~RAJU~~
> ~~www.itdoall.co.cc~~
>  

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: help pls

2011-11-02 Thread Belvedere Computer Services
only way is to study a lot ~ best place is almost always the reference
documentation on the Android - I have been through this many times and
I can tell you we can tell if you have been trying and are stuck = at
that time people will help you as it is easy to tell as we all have
been there

sometimes some of those questions present areas for overall
improvement

not very often but when they are it may be already known

On Nov 2, 5:43 am, Hamid  wrote:
> what s up Developers,
>
> i hope u r well, sorry if i have any wrong spelling  :( coz i'm not
> good in english .
>
> i'm student, and i'm not that good in java i'm still learning.
> so i need a help, just i want to ask how i can make the touch
> specifics point or line in photo.gif or .png.
>
> for example -> -> this 2 lins from  .png pic how i can make
> the user should touch only this 2 lins starting from left side.
> or rectangle or triangle or circle!!
>
> or if there are other solution for it or another easy way to do it!!
>
> pls help and advice .
>
> thanks alot

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: Help

2012-05-21 Thread Justin Anderson
I repeat, what does your LAYOUT look like?

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Wed, May 16, 2012 at 3:03 PM, Mark  wrote:

> OOPS..
>
> Here is the code
>
> This all happens from a button pressed on the 2nd layout (items.xml)
>
>private View.OnClickListener onAddItem = new View.OnClickListener()
> {
>public void onClick(View v) {
>
>setContentView(R.layout.additem);
>
>//final AlertDialog dialog = null;
>
>
>EditText txtItem = (EditText)
> findViewById(R.id.txtgroceryItem);
>InputMethodManager inputMgr =
> (InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE);
>inputMgr.showSoftInput(txtItem,  0);
>
>Button btnDone = (Button) findViewById(R.id.btnDone);
>btnDone.setOnClickListener(onDone);
>
>Button btnAddItem = (Button) findViewById(R.id.btnAddGItem);
>btnAddItem.setOnClickListener(onAddTheItem);
>
>
>}
>};
>
>
> On May 16, 3:50 pm, Justin Anderson  wrote:
> > > Any Ideas?
> >
> > Maybe, if you share your layout code with us...
> >
> > Thanks,
> > Justin Anderson
> > MagouyaWare Developerhttp://sites.google.com/site/magouyaware
> >
> >
> >
> >
> >
> >
> >
> > On Wed, May 16, 2012 at 2:26 PM, Mark  wrote:
> > > Hello Everyone.
> >
> > > ** **
> >
> > > I seem to have this problem in a app I am creating. I have 3 different
> > > layouts . The 3rd layout has a EditText but when I click on it The soft
> > > keyboard will not show up. But on the Main layout it will 
> >
> > > Any Ideas?
> >
> > > ** **
> >
> > > Thanks
> >
> > >   Mark
> >
> > > ** **
> >
> > > --
> > > You received this message because you are subscribed to the Google
> > > Groups "Android Developers" group.
> > > To post to this group, send email to
> android-developers@googlegroups.com
> > > To unsubscribe from this group, send email to
> > > android-developers+unsubscr...@googlegroups.com
> > > For more options, visit this group at
> > >http://groups.google.com/group/android-developers?hl=en
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: help me

2012-06-29 Thread Nobu Games


> *private void Validations()
> { 
>   if(val1!=null)
>   {
>  Toast.makeTest(this,"Enter First Value"3000);
>   }
>   if(val1!=null)
>   {
>  Toast.makeTest(this,"Enter Second Value"3000);
>   }
>
> }*
>

Judging this piece of code you are a complete beginner and may want to pick 
up some basic programming classes / books / tutorials. This group is not 
the right place for that.

Anyway. You have syntax errors in it (missing commas between 
"Enter...Value" and 3000), the method "Toast.makeTest" does not exist. It 
should be "Toast.makeText" instead. The number 3000 should be either 
Toast.LENGTH_SHORT or Toast.LENGTH_LONG and in the end you need to call the 
show() method on the resulting Toast object which is returned by 
Toast.makeText.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: help needed.......

2013-08-03 Thread Lew
ramesh babu wrote:

> suggest me a project in android [sic] which is not application 
> oriented??and it may be a ieee [sic] journal paper of 2013
>

- What possibly could you mean by "not application oriented"? Isn't 
anything you do on a computer an 
  "application" by definition?

- Shouldn't a journal paper be based on active research in which you are 
already engaged, 
  and represent a contribution to the state of the art?

- What is in it for the person making the suggestion?

- How much do you already know about Android programming? (It must be a lot 
if you are 
  contemplating submitting a paper to the IEEE.) This will help us target 
any suggestions we 
  might make.

- Please respect the spelling at least for proper nouns and trademarks.

- What is the context for your request?

-- 
Lew

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: Help please

2015-11-30 Thread Katja DeCuir
I believe that question would better be asked to Samsung, as they have to 
adapt android to their devices first before releasing it. from what i've 
read online, their hardware isn't that stable and it was Samsung themselves 
that overlooked that issue.

On Monday, November 30, 2015 at 3:46:58 PM UTC-5, escalador wrote:
>
> Hello, i have Android 5.1.1, and i don't have Haptic Feedback option in 
> settings menu, on a Samsung Galaxy Grand Prime, can this option be added in 
> next update ?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at http://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/4746d831-2fb8-4953-8e98-2f0525e1c175%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Re: HELP

2010-07-11 Thread Dianne Hackborn
On Sat, Jul 10, 2010 at 11:19 PM, Indicator Veritatis wrote:

> Really? Then what is http://source.android.com/source/using-eclipse.html
> all about? It says "Platform development", and uses several other key
> phrases that make it clear it is not just about building Android
> applications.
>

You can use Eclipse to edit the source code.  You can't use Eclipse to build
the platform.  In fact you can't use Windows to build the platform -- the
platform build system (which is pretty complicated) currently only works
correctly on Linux and MacOS X.

-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Help needed

2011-04-04 Thread Spiral123
I agree with TreKing: you have defined your problem so large that you
will have to understand a huge amount of stuff just to get started.

Decompose your problem into smaller steps, each with a meaningful
goal.  That way you can deliver something small, then improve on it
and allow your understanding to grow at a steady pace.

For Example:

1. Decide on a piece of interesting outdoor artwork that is near to
you.  Find its co-ordinates.
2. Write an app that will display the location of that artwork on a
map.
3. Enhance your app so that it will display and update the phone
location as well as the artwork location.
4. Enhance the app so that pressing a button brings up a text screen
containing information about the artwork.
5. Enhance the app so that pressing a button brings up a text screen
and an audio commentary
6. Enhance the app so that the button appears only when the phone is
within 20 meters of the artwork
7. Enhance the app  you get the idea

You should have a clear idea of where you want to get to in the end -
but reduce the task down to much smaller pieces that are much more
achievable.  It would be better to have a project that does some
simple stuff well rather than a lot of stuff badly or not at all.

Good luck.


On Apr 3, 8:48 am, svr  wrote:
> Hello,
>
> I'm building an application for a school project that will allow users
> to create a route along various locations within a chose category.
>
> The problem is that I have never worked with GPS locations or
> navigation scripts before and I don't really know how to approach this
> build. So I’m hoping someone could provide me whit some useful
> information to get me started.
>
> The idea is that the user first makes a selection between a couple of
> given categories, like say; Art galleries, Architecture and music.
> after the user has chosen a category, the application will show
> various locations that are relevant to the chosen category.
>
> Example:
> like for instance say the user chooses the category "architecture" he
> will get the locations of all the great architectural buildings within
> the given city or village he or she is in.
>
> the next step is that the user can connect the given locations whit
> one another to create a route between the locations
>
> Example:
> The user selects the firs location he wants to visit this will mark
> the start point of the route. when the next location is selected, it
> automatically will be connected to the first location and thereby
> creating a route between the locations.
>
> the final step is that the user will be navigated along the route he
> created. when the user arrives at a location he or she selected the
> application provides the user with information about the object that
> is based on that location. The information is provided in the form of
> audio speech and text information.
>
> Example:
> the user created a route along several outdoor art pieces he wanted to
> go and see. he starts up the navigation and follows the route. When he
> arrives at one of the selected locations the application provides him
> with relevant information about the out door art piece throughout an
> audio file. That only starts playing when arrives at a selected
> location.
>
> I’m hoping someone could help me out here because I’m really stuck.
>
> greetings,
>
> Stefan

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: help

2011-04-05 Thread nainfanta
Too expensive


2011-04-06 



nainfanta 



发件人: Spiral123 
发送时间: 2011-04-06  08:00:20 
收件人: Android Developers 
抄送: 
主题: [android-developers] Re: help 
 
I can.  Assuming its a paid app I'll give you 20% of any sales.  If
its free, you will need to pay me $1,000 USD upfront.
On Apr 3, 10:14 am, "nainfanta"  wrote:
>  Can not account registration, who can help me upload an application?  
>
> From Robin 2011-04-03 22:13:01
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Help regarding Logging

2010-03-16 Thread Justin Edwards
This is information I am also looking for.  Any help on the above post
would be most helpful.

Thanks.

On Mar 16, 9:07 am, MobDev  wrote:
> Hi,
> for my application I would like to be able to incorporate some good
> Logging capabilities...
> I would also like to use the networiking capabilitites for two
> purposes :
> - first I should be able to send a Logging Level from my server to my
> client (Android app)... So the Logging Level should be adjustable
> client-side
> - secondly I must be able to read out the Log to send it to my server
> through http...
>
> I have seen there are two options in Android :
> java.util.Log and java.util.Logging
>
> The first one seems pretty straight forward but there are two issues
> with that :
> - can I programmatically read out the Log ? And if so how ?
> - I have read that specific Logging Levels are automatically ignored
> once an app has been deployed (like the verbose level)... Because of
> the fact that I might want to have verbose-level logging from the
> server I was wondering if it's able to actually de-ignore those
> Levels ?
>
> Also are there any tutorials reagrding these two packages ?
> And what woul you, as an experienced developer, advise me to use of
> those two methods ?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Help regarding Logging

2010-03-16 Thread Lance Nanek
You can see some example code for reading logs here:
http://code.google.com/p/skylight1/source/browse/trunk/SkylightUtils/src/skylight1/util/LoggingExceptionHandler.java#221

On Mar 16, 9:07 am, MobDev  wrote:
> Hi,
> for my application I would like to be able to incorporate some good
> Logging capabilities...
> I would also like to use the networiking capabilitites for two
> purposes :
> - first I should be able to send a Logging Level from my server to my
> client (Android app)... So the Logging Level should be adjustable
> client-side
> - secondly I must be able to read out the Log to send it to my server
> through http...
>
> I have seen there are two options in Android :
> java.util.Log and java.util.Logging
>
> The first one seems pretty straight forward but there are two issues
> with that :
> - can I programmatically read out the Log ? And if so how ?
> - I have read that specific Logging Levels are automatically ignored
> once an app has been deployed (like the verbose level)... Because of
> the fact that I might want to have verbose-level logging from the
> server I was wondering if it's able to actually de-ignore those
> Levels ?
>
> Also are there any tutorials reagrding these two packages ?
> And what woul you, as an experienced developer, advise me to use of
> those two methods ?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Help regarding Logging

2010-03-18 Thread MobDev
well preferably I wouldn't use a 3rd party library, simply because I
don't want to be dependable from someone else..
As in, if the service ceases to exist, and obviously it is a possible
security leak... After all I am sending my debugging logs to them...


On 16 mrt, 19:51, chris harper  wrote:
> Oh and it's free.
>
> :-)
>
> On Tue, Mar 16, 2010 at 12:50 PM, chris harper  wrote:
> > Guys
>
> > I had the same request. I wanted to monitor my app after it was out on the
> > market to fix bugs etc.
>
> > Someone pointed me to this:
>
> >http://www.flurry.com/
>
> > I am incorporating it into my app now. I have not launched my app yet but I
> > seems like what we need.
>
> > It's has capabilities to report exceptions and events in your app that you
> > want to track among other things.
>
> > -Chris
>
> > On Tue, Mar 16, 2010 at 7:07 AM, MobDev  wrote:
>
> >> Hi,
> >> for my application I would like to be able to incorporate some good
> >> Logging capabilities...
> >> I would also like to use the networiking capabilitites for two
> >> purposes :
> >> - first I should be able to send a Logging Level from my server to my
> >> client (Android app)... So the Logging Level should be adjustable
> >> client-side
> >> - secondly I must be able to read out the Log to send it to my server
> >> through http...
>
> >> I have seen there are two options in Android :
> >> java.util.Log and java.util.Logging
>
> >> The first one seems pretty straight forward but there are two issues
> >> with that :
> >> - can I programmatically read out the Log ? And if so how ?
> >> - I have read that specific Logging Levels are automatically ignored
> >> once an app has been deployed (like the verbose level)... Because of
> >> the fact that I might want to have verbose-level logging from the
> >> server I was wondering if it's able to actually de-ignore those
> >> Levels ?
>
> >> Also are there any tutorials reagrding these two packages ?
> >> And what woul you, as an experienced developer, advise me to use of
> >> those two methods ?
>
> >> --
> >> You received this message because you are subscribed to the Google
> >> Groups "Android Developers" group.
> >> To post to this group, send email to android-developers@googlegroups.com
> >> To unsubscribe from this group, send email to
> >> android-developers+unsubscr...@googlegroups.com
> >> For more options, visit this group at
> >>http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Help with Spinner

2009-09-09 Thread Mark Murphy

EverettG wrote:
> I am creating a Spinner but when it displays in the Emulator it does
> not display any sort of arrow to let the user know to click on it. If
> you click on it, it works properly and you can choose from the items.
> I have looked through Internet resources and three books but cannot
> seem to find an answer to this. Here are my files:



> testSpinner.setBackgroundColor(Color.BLUE);

Get rid of this line, and I suspect your drop-down button will appear.

Most interactive widgets in Android use the background for part of the
interactivity. In the case of Spinner, I think the drop-down button is
part of the background of the widget. By replacing the standard
background with a solid blue background, you inadvertently "take out"
the drop-down button.

You'll run into this problem as well if you try replacing the background
of any widget that is focusable (e.g., Button), as the orange focus ring
is part of the widget background.

If you truly wish to customize the widget background, you can do so, but
you will need to jump through a fair number of hoops. FWIW, I just made
a note to cover some of that process in the next update to my Advanced
Android book.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Android 1.5 Programming Books: http://commonsware.com/books.html

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Help with Spinner

2009-09-10 Thread EverettG

You are absolutely right. When I removed the setBackgroundColor() the
Spinner did display a drop-down button. My app still had an option to
change the background color and when that button was clicked it
changed the background color and the drop-down arrow also disappeared.
Who would have thought. I was changing the background as an exercise
in learning the capability of all the widgets. Thank you for your
answer, it was driving me nuts.

EverettG

On Sep 9, 3:40 pm, Mark Murphy  wrote:
> EverettG wrote:
> > I am creating a Spinner but when it displays in the Emulator it does
> > not display any sort of arrow to let the user know to click on it. If
> > you click on it, it works properly and you can choose from the items.
> > I have looked through Internet resources and three books but cannot
> > seem to find an answer to this. Here are my files:
>
> 
>
> >         testSpinner.setBackgroundColor(Color.BLUE);
>
> Get rid of this line, and I suspect your drop-down button will appear.
>
> Most interactive widgets in Android use the background for part of the
> interactivity. In the case of Spinner, I think the drop-down button is
> part of the background of the widget. By replacing the standard
> background with a solid blue background, you inadvertently "take out"
> the drop-down button.
>
> You'll run into this problem as well if you try replacing the background
> of any widget that is focusable (e.g., Button), as the orange focus ring
> is part of the widget background.
>
> If you truly wish to customize the widget background, you can do so, but
> you will need to jump through a fair number of hoops. FWIW, I just made
> a note to cover some of that process in the next update to my Advanced
> Android book.
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://twitter.com/commonsguy
>
> Android 1.5 Programming Books:http://commonsware.com/books.html
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Help with Spinner

2009-09-10 Thread Mark Murphy

EverettG wrote:
> You are absolutely right. When I removed the setBackgroundColor() the
> Spinner did display a drop-down button. My app still had an option to
> change the background color and when that button was clicked it
> changed the background color and the drop-down arrow also disappeared.
> Who would have thought.

Yeah, it boggled my mind the first time I encountered it, and my case
wasn't even as dramatic as your missing Spinner drop-down arrow.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Android Training in Germany, 18-22 January 2010: http://bignerdranch.com

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: help me pliiiiiz

2009-10-27 Thread Charlie Collins

Context has a "setWallpaper" method:
http://developer.android.com/reference/android/content/Context.html#setWallpaper%28java.io.InputStream%29.

An example of it in use (look for SetWallpaperTask):
http://code.google.com/p/apps-for-android/source/browse/trunk/Photostream/src/com/google/android/photostream/ViewPhotoActivity.java


On Oct 27, 5:08 am, iori  wrote:
> hello every body,im trying to change the system wallpaper,i have tried
> a lot of solution but without any result;
> please i want have a simple code to do it
>
> thanks a lot
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: help me pliiiiiz

2009-10-27 Thread Charlie Collins

Sorry, also just noticed that for API level 5 and above there is newer
WallpaperManager.
http://developer.android.com/reference/android/app/WallpaperManager.html

On Oct 27, 5:08 am, iori  wrote:
> hello every body,im trying to change the system wallpaper,i have tried
> a lot of solution but without any result;
> please i want have a simple code to do it
>
> thanks a lot
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Help with Services

2009-05-29 Thread clemsongrad


Sujay,

There are two ways I know of doing this:

1. Easy way is to have the service to broadcast the result.

2. A little more complex way is to have an AIDL which is very similar
to CORBA and enable the IPC between the service and your app
components.  This i assume would be more sync in nature as opposed to
option#1.

I am not sure if there are any other ways of doing this..

Thx!


On May 29, 12:03 am, Sujay Krishna Suresh 
wrote:
> Hi all,
>               i'm starting an activity that inturn calls a service i
> wanna get notified when the service competes...
> can anyone temme how i can do this???
>
> --
> Regards,
> Sujay
> Bette Davis 
> - "Brought up to respect the conventions, love had to end in marriage.
> I'm
> afraid it did."
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Help with Services

2009-05-29 Thread Streets Of Boston

Take a look at the API Demoes source code.
There is source code for a Service that handles request from an
activity and that can do callbacks back to an activity for updates
(e.g. progress).

On May 29, 1:03 am, Sujay Krishna Suresh 
wrote:
> Hi all,
>               i'm starting an activity that inturn calls a service i
> wanna get notified when the service competes...
> can anyone temme how i can do this???
>
> --
> Regards,
> Sujay
> Bette Davis 
> - "Brought up to respect the conventions, love had to end in marriage.
> I'm
> afraid it did."
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Help with Camera.Parameters.getFlashMode()

2010-02-16 Thread Vertifi Software
Use Reflection to allow for conditional compile.  This code snippet
might help, although it shows calling setFlashMode, the concept is the
same:

  Method methodSetFlashMode = null;
  Class[] methodSetFlashModeSignature = new Class[]
{ String.class };

  List lSize = null;

  try
  {
  methodSetFlashMode =
params.getClass().getMethod("setFlashMode",
methodSetFlashModeSignature);
  }
  catch (NoSuchMethodException nsme)
  {
  }


  if (methodSetFlashMode != null)
  {
Object[] oArgs = new Object[1];
oArgs[0] = "off";
methodSetFlashMode.invoke(params, oArgs);
  }



On Jan 19, 3:21 pm, tikky  wrote:
> All,
> I am developing an app that uses the phonecamera, and I want to set
> the Flash Mode, if flash exists.
> From documentation, it looks like I need to 
> callCamera.Parameters.getFlashMode() and check if it returns null to
> determine if flash exists.
> Note: getFlashMode() is supported from API level 5
>
> However, when I try to run this app on a phone with cupcake, I get an
> error:
> 01-19 14:02:43.404: ERROR/dalvikvm(18891): Could not find method
> android.hardware.Camera$Parameters.getFlashMode, referenced from
> method ...
>
> I tried to call this code based on SDK version as follows, but that
> does not work either. Looks like there is a class verification  thats
> fails at init:
>
> import android.os.Build.VERSION;
> 
>       int mSdkVersion = VERSION.SDK_INT;
>      Camera.Parameters params = mCamera.getParameters();
>       if (mSdkVersion >=5 && params.getFlashMode()!=null){
>                         
> params.setFlashMode(Camera.Parameters.FLASH_MODE_AUTO);//set auto
> flash
>       }
>
> So now I am wondering if there is any other way to check if flash
> exists? or is there a way to conditionally compile code based on
> mSdkVersion?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: help me

2010-02-23 Thread dillirao malipeddi
please write these lines inside button click listener code *not in
onCreate()*

username = name.getText().toString();
password = pass.getText().toString();


On Fri, Feb 19, 2010 at 2:47 PM, SREEHARI
wrote:

> As Darshana said u dint say what is the exact problem.
> Is this code getting failed for authentication??
> Use ".equals" instead of "=="
>
> *if (username.equals("kami") && password.equals("kami"))
>
> Hope this will work
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Thank you,
Dilli Rao. M
www.arijasoft.com

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Help with Map

2009-12-07 Thread jotobjects
Hi Stephen -

Is this on the emulator?  What version of the SDK?  Can you post the
code for your Activity?

On Dec 7, 12:04 pm, "stphnm...@googlemail.com"
 wrote:
>
> In my code I add the map like this: myMapView = (MapView) findViewById
> (R.id.myMapView);
>

What are you using myMapView for?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Help with Map

2009-12-08 Thread jotobjects


On Dec 7, 12:04 pm, "stphnm...@googlemail.com"
 wrote:
>            android:id="@+id/myMapView"
>         android:layout_width="fill_parent"
>         android:layout_height="fill_parent"
>         android:apiKey="my_debug_key"
>     />

Just to double check the obvious - did you replace "my_debug_key" with
a registered Maps API key as per the instructions?  In that case I
think you get a blank map with no tiles, but not a crash.  If you do
not extend MapActivity you get a specific message about that error in
my experience.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Help with Map

2009-12-10 Thread stphnm...@googlemail.com
Hi,
that was the problem! Was still extending Activity and not MapView.
Now the map is loading!

BTW: Yes, was the emulator, using the latest SDK version and i put in
the debug number :)

On Dec 8, 7:00 pm, TreKing  wrote:
> Does your Activity loading the MapView extend MapActivity?
>
> -
> TreKing - Chicago transit tracking app for Android-powered 
> deviceshttp://sites.google.com/site/rezmobileapps/treking

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Help with listview!

2010-01-21 Thread Guillaume
Hi ls02,

It depends how you created the text view.
You can use the method setText(string) on the text view, and the
method setBitmap(bitmap) on the image view.

Guillaume



On Jan 22, 8:07 am, ls02  wrote:
> I am new to Android. Can someone show to me how do I force invalidate
> a portion of an item in listview? I have listview row item that
> contains textview and image view. I only want to invalidate text in
> the textview of a particular item in the listview.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Help with listview!

2010-01-22 Thread ls02
I understand that. But how do I get the listview individual row view?
I didn't dind any way to get handle or any other access to it. If I
had the row view handle I can use it's findViewById tyo get particular
row's item I want to update. The only way I see is to call adaptor's
notifyDataSetChanged() which causes ALL listview items and ALL
elements in each listview item to be updated.

On Jan 22, 2:15 am, Guillaume  wrote:
> Hi ls02,
>
> It depends how you created the text view.
> You can use the method setText(string) on the text view, and the
> method setBitmap(bitmap) on the image view.
>
> Guillaume
>
> On Jan 22, 8:07 am, ls02  wrote:
>
>
>
> > I am new to Android. Can someone show to me how do I force invalidate
> > a portion of an item in listview? I have listview row item that
> > contains textview and image view. I only want to invalidate text in
> > the textview of a particular item in the listview.- Hide quoted text -
>
> - Show quoted text -

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: help with MultiAutoCompleteTextView.

2009-06-15 Thread Saurav Mukherjee
this is in reply to my onw question and if anyone else ever has the same
doubt, on cud set the number of characters needed for thr drop down to work
by the setThreshold(int noOfChars) method in the MultiAutoCompleteTextView
class.

On Mon, Jun 15, 2009 at 5:10 PM, Saurav Mukherjee <
to.saurav.mukher...@gmail.com> wrote:

> hi all,
> this is my second issue regarding the same problem. i dont know y, but my
> auto complete does not work wen there is a single letter in the
> MultiAutoCompleteTextView. if there r more than 1 char in the
> MultiAutoCompleteTextView, then the list drops down, shows the items
> correctly...
>
> any suggestions...
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: help with intents

2009-06-19 Thread Mark Murphy

> is there any way to pass values(strings or bundles) to another application
> while calling it via intents, and also return some information (mostly
> string)???

To send data, use the putExtra() set of methods on Intent.

To receive data, you will want to use startActivityForResult():

http://developer.android.com/reference/android/app/Activity.html

(scroll down to the Starting Activities and Getting Results section)

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: help with intents

2009-06-19 Thread Saurav Mukherjee
thanx...

On Fri, Jun 19, 2009 at 7:12 PM, Mark Murphy wrote:

>
> > is there any way to pass values(strings or bundles) to another
> application
> > while calling it via intents, and also return some information (mostly
> > string)???
>
> To send data, use the putExtra() set of methods on Intent.
>
> To receive data, you will want to use startActivityForResult():
>
> http://developer.android.com/reference/android/app/Activity.html
>
> (scroll down to the Starting Activities and Getting Results section)
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com
> _The Busy Coder's Guide to Android Development_ Version 2.0 Available!
>
>
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Help with GLSurfaceView

2009-07-22 Thread Micah

I'm guessing you want a 3D background behind some other UI? If so
check out:
http://developer.android.com/reference/android/widget/FrameLayout.html

That lets you just stack several views on top of each other. Note: I
don't know if it works with GLSurfaceView, but it should be pretty
easy to test by just copying a couple of the API demos into one app.

On Jul 22, 7:57 am, Sujay Krishna Suresh 
wrote:
> Hi all,
>                 How can one use a GLSurfaceView similar to a ViewGroup, in
> the sense of adding Views(CustomViews) over it???
> Is there any means to make the GLSurfaceView be the canvas on which the view
> draws its contents?
>
> --
> Regards,
> Sujay
> Ogden Nash   -
> "The trouble with a kitten is that when it grows up, it's always a cat."
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Help with GLSurfaceView

2009-07-22 Thread Sujay Krishna Suresh
Hi micah,
  thnx for the reply, but my requirement is to rotate the entire
view. Say for example i need to provide the user a 3d desktop kinda ui, on
rotation of the cube a whole view/viewgroup needs to rotate. thats y i need
it to be either the canvas of the view or it shd act like a viewgroup. or is
there anyother way to achieve this???

On Wed, Jul 22, 2009 at 8:35 PM, Micah  wrote:

>
> I'm guessing you want a 3D background behind some other UI? If so
> check out:
> http://developer.android.com/reference/android/widget/FrameLayout.html
>
> That lets you just stack several views on top of each other. Note: I
> don't know if it works with GLSurfaceView, but it should be pretty
> easy to test by just copying a couple of the API demos into one app.
>
> On Jul 22, 7:57 am, Sujay Krishna Suresh 
> wrote:
> > Hi all,
> > How can one use a GLSurfaceView similar to a ViewGroup,
> in
> > the sense of adding Views(CustomViews) over it???
> > Is there any means to make the GLSurfaceView be the canvas on which the
> view
> > draws its contents?
> >
> > --
> > Regards,
> > Sujay
> > Ogden Nash 
>  -
> > "The trouble with a kitten is that when it grows up, it's always a cat."
> >
>


-- 
Regards,
Sujay
Charles de 
Gaulle
- "The better I get to know men, the more I find myself loving dogs."

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Help with GLSurfaceView

2009-07-22 Thread Micah

Ah, so you want to render your UI to a texture and then apply that
texture to a 3D object?  If so then I don't know if/how to do that. :P

On Jul 22, 8:09 am, Sujay Krishna Suresh 
wrote:
> Hi micah,
>               thnx for the reply, but my requirement is to rotate the entire
> view. Say for example i need to provide the user a 3d desktop kinda ui, on
> rotation of the cube a whole view/viewgroup needs to rotate. thats y i need
> it to be either the canvas of the view or it shd act like a viewgroup. or is
> there anyother way to achieve this???
>
>
>
>
>
> On Wed, Jul 22, 2009 at 8:35 PM, Micah  wrote:
>
> > I'm guessing you want a 3D background behind some other UI? If so
> > check out:
> >http://developer.android.com/reference/android/widget/FrameLayout.html
>
> > That lets you just stack several views on top of each other. Note: I
> > don't know if it works with GLSurfaceView, but it should be pretty
> > easy to test by just copying a couple of the API demos into one app.
>
> > On Jul 22, 7:57 am, Sujay Krishna Suresh 
> > wrote:
> > > Hi all,
> > >                 How can one use a GLSurfaceView similar to a ViewGroup,
> > in
> > > the sense of adding Views(CustomViews) over it???
> > > Is there any means to make the GLSurfaceView be the canvas on which the
> > view
> > > draws its contents?
>
> > > --
> > > Regards,
> > > Sujay
> > > Ogden Nash 
> >  -
> > > "The trouble with a kitten is that when it grows up, it's always a cat."
>
> --
> Regards,
> Sujay
> Charles de 
> Gaulle
> - "The better I get to know men, the more I find myself loving dogs."
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Help with GLSurfaceView

2009-07-23 Thread Sujay Krishna Suresh
Yes. I need to do that.Can anybody plz help me with this??

On Wed, Jul 22, 2009 at 8:51 PM, Micah  wrote:

>
> Ah, so you want to render your UI to a texture and then apply that
> texture to a 3D object?  If so then I don't know if/how to do that. :P
>
> On Jul 22, 8:09 am, Sujay Krishna Suresh 
> wrote:
> > Hi micah,
> >   thnx for the reply, but my requirement is to rotate the
> entire
> > view. Say for example i need to provide the user a 3d desktop kinda ui,
> on
> > rotation of the cube a whole view/viewgroup needs to rotate. thats y i
> need
> > it to be either the canvas of the view or it shd act like a viewgroup. or
> is
> > there anyother way to achieve this???
> >
> >
> >
> >
> >
> > On Wed, Jul 22, 2009 at 8:35 PM, Micah  wrote:
> >
> > > I'm guessing you want a 3D background behind some other UI? If so
> > > check out:
> > >http://developer.android.com/reference/android/widget/FrameLayout.html
> >
> > > That lets you just stack several views on top of each other. Note: I
> > > don't know if it works with GLSurfaceView, but it should be pretty
> > > easy to test by just copying a couple of the API demos into one app.
> >
> > > On Jul 22, 7:57 am, Sujay Krishna Suresh 
> > > wrote:
> > > > Hi all,
> > > > How can one use a GLSurfaceView similar to a
> ViewGroup,
> > > in
> > > > the sense of adding Views(CustomViews) over it???
> > > > Is there any means to make the GLSurfaceView be the canvas on which
> the
> > > view
> > > > draws its contents?
> >
> > > > --
> > > > Regards,
> > > > Sujay
> > > > Ogden Nash <
> http://www.brainyquote.com/quotes/authors/o/ogden_nash.html>
> > >  -
> > > > "The trouble with a kitten is that when it grows up, it's always a
> cat."
> >
> > --
> > Regards,
> > Sujay
> > Charles de Gaulle<
> http://www.brainyquote.com/quotes/authors/c/charles_de_gaulle.html>
> > - "The better I get to know men, the more I find myself loving dogs."
>  >
>


-- 
Regards,
Sujay
Marie von 
Ebner-Eschenbach
- "Even a stopped clock is right twice a day."

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: help me urgent

2013-01-01 Thread Lew
sree wrote:

> i [sic] gave two single dimensional arrays
>
> one array
> prioritynamearray=alistpriorityname.toArray(new 
> String[alistpriorityname.size()]);
>
> two array
> taskvaluesarray=taskvaluesarraylist.toArray(new 
> String[taskvaluesarraylist.size()]);
>
> The above code i take two ArrayList and convert two single dimensional 
> arrays,
> now i need these two seperate arrays as two dimensional array.
> how please convert it and give solution,
>

First, Java doesn't actually have two-dimensional arrays. What is does have 
is one-dimensional
arrays each of whose elements is an array, declared similarly to 

Foo [][] someFoos = 
{
  {new Foo("00"), new Foo("01"),}, 
  {new Foo("10"),}, 
};

There are various ways to declare arrays, as the docs show.

   Foo [][] someFoos = new Foo [19] [17];

So you declare your "two-dimensional" array, then cycle through the 
elements copying items 
into your array.

-- 
Lew

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Help needed

2013-03-05 Thread naresh pedagani
Hi,
remove the code like android:text='@string/action_settings in xml file and
clean the project.then add the code android:text='@string/action_settings,
then it will work.it happens some time if R.java file is not updated.
Thanks&Regards,
Naresh


On Tue, Mar 5, 2013 at 5:15 PM, Gabriel Augusto
wrote:

> Check strings.xml in 'values' folder
>
> Em terça-feira, 5 de março de 2013 07h40min20s UTC-3, ramesh babu escreveu:
>>
>> hi frnds,
>>i am just start learning about android,while i am
>> developing a simple app i got stuck with these error: Error: No
>> resource found that matches the given name (at 'title' with value
>> '@string/action_settings').
>>
>  --
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Android Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-developers+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Re: Help needed

2013-03-05 Thread ramesh babu
thanks bro's problem has been recovered

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Re: Help needed

2013-03-05 Thread ramesh babu
for what purpose findViewById is used

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Re: Help needed

2013-03-05 Thread naresh pedagani
Hi ,
   findViewById() method is used to get the object of the view.
*example*:
*main.xml* contain one button i want to provide the action for this button,
so we need to create the object in the java file by passing id.


*MainActivity .java*
public class MainActivity extends Activity {

   protected void onCreate(Bundle icicle) {
   super.onCreate(icicle);
//creation of button object
*Button buttonclickme=(Button)findViewById(r.id.btn_New);*


once we crate the object of the button we can provide action

buttonclickme.setOnClickListener(new View.OnClickListener()
{

 public void onClick(View v)
 {

//here we have to write the code to execute when button clicked.

}}


Regards&Regards,
Naresh.


On Tue, Mar 5, 2013 at 6:06 PM, ramesh babu  wrote:

> for what purpose findViewById is used
>
> --
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Android Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-developers+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Re: Help needed

2013-03-05 Thread ramesh babu
thanks naresh bro

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Re: help needed

2013-03-10 Thread ramesh babu
thank u bob.

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Re: help needed

2013-03-16 Thread ramesh babu
thank u jason&tamilarasi sivaraj,and here is another problem while
developing apps,that is i can't import  the packages in the program

import com.google.android.gms.maps.GoogleMap;
import com.google.android.gms.maps.MapFragment;

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Re: help needed

2013-03-16 Thread Tamilarasi Sivaraj

have you put this ** line into your manifest file.

Regards
Android developer
Trinay Technology Solutions
www.trinaytech.com
5705750475

On Saturday, March 16, 2013 3:20:30 PM UTC+5:30, ramesh babu wrote:
>
> thank u jason&tamilarasi sivaraj,and here is another problem while 
> developing apps,that is i can't import  the packages in the program 
>
> import com.google.android.gms.maps.GoogleMap; 
> import com.google.android.gms.maps.MapFragment; 
>

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Re: help needed

2013-03-16 Thread ramesh babu
yes,i have those lines in manifest file,but i can't import those files
in my application and the coding are


Manifest file:-

http://schemas.android.com/apk/res/android";
package="com.ramesh.map"
android:versionCode="1"
android:versionName="1.0" >


   






















 





and src is:-

package com.ramesh.map;

import android.annotation.SuppressLint;
import android.app.Activity;
import android.os.Bundle;
import com.google.android.gms.maps.GoogleMap;
import com.google.android.gms.maps.MapFragment;
public class Map extends Activity {

 GoogleMap map;
 @SuppressLint("NewApi")
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_map);


map = ((MapFragment) 
getFragmentManager().findFragmentById(R.id.map))
.getMap();
  // map.setMapType(GoogleMap.MAP_TYPE_HYBRID);
  // map.setMapType(GoogleMap.MAP_TYPE_NONE);
  map.setMapType(GoogleMap.MAP_TYPE_NORMAL);
  // 
map.setMapType(GoogleMap.MAP_TYPE_SATELLITE);
  // map.setMapType(GoogleMap.MAP_TYPE_TERRAIN);
 }
}

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Re: help needed

2013-03-16 Thread Tamilarasi Sivaraj
have you install the Google play service from the sdk?

On Saturday, March 16, 2013 4:10:28 PM UTC+5:30, ramesh babu wrote:
>
> yes,i have those lines in manifest file,but i can't import those files 
> in my application and the coding are 
>
>
> Manifest file:- 
>  
> http://schemas.android.com/apk/res/android"; 
> package="com.ramesh.map" 
> android:versionCode="1" 
> android:versionName="1.0" > 
>
>  android:minSdkVersion="9" 
> android:targetSdkVersion="17" /> 
> android:glEsVersion="0x0002" 
> android:required="true" /> 
>
>  
>  android:name="android.permission.ACCESS_NETWORK_STATE" /> 
>  android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> 
>  android:name="com.google.android.providers.gsf.permission.READ_GSERVICES" 
> /> 
>  
>  android:name="android.permission.ACCESS_COARSE_LOCATION" /> 
>  android:name="android.permission.ACCESS_FINE_LOCATION" /> 
>
>  android:name="com.ram.googlemapsv2.permission.MAPS_RECEIVE" 
> android:protectionLevel="signature" /> 
>
>  /> 
>
>  android:allowBackup="true" 
> android:icon="@drawable/ic_launcher" 
> android:label="@string/app_name" 
> android:theme="@style/AppTheme" > 
>android:name="com.google.android.maps" /> 
>  android:name="com.ramesh.map.Map" 
> android:label="@string/app_name" > 
>  
>  
>
>  /> 
>  
>  
>   android:name="com.google.android.maps.v2.API_KEY" 
> 
> android:value="67:18:01:96:8C:3C:A3:F9:3B:E9:14:96:10:DC:BB:D5:CF:E9:3C:21" 
> /> 
>
>  
>
>  
>
> and src is:- 
>
> package com.ramesh.map; 
>
> import android.annotation.SuppressLint; 
> import android.app.Activity; 
> import android.os.Bundle; 
> import com.google.android.gms.maps.GoogleMap; 
> import com.google.android.gms.maps.MapFragment; 
> public class Map extends Activity { 
>
>  GoogleMap map; 
>  @SuppressLint("NewApi") 
> protected void onCreate(Bundle savedInstanceState) { 
> super.onCreate(savedInstanceState); 
> setContentView(R.layout.activity_map); 
>  
>  
> map = ((MapFragment) 
> getFragmentManager().findFragmentById(R.id.map)) 
> .getMap(); 
>   // 
> map.setMapType(GoogleMap.MAP_TYPE_HYBRID); 
>   // 
> map.setMapType(GoogleMap.MAP_TYPE_NONE); 
>  
>  map.setMapType(GoogleMap.MAP_TYPE_NORMAL); 
>   // 
> map.setMapType(GoogleMap.MAP_TYPE_SATELLITE); 
>   // 
> map.setMapType(GoogleMap.MAP_TYPE_TERRAIN); 
>  } 
> } 
>

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Re: help needed

2013-03-16 Thread ramesh babu
s i have installed it

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: Help Calendar Android

2012-04-10 Thread Ali Chousein
This is your starting point: https://developers.google.com/google-apps/calendar/

-
Ali Chousein
http://socialnav.blogspot.com | http://twitter.com/socialnav1
http://weatherbuddy.blogspot.com | http://twitter.com/weather_buddy
http://www.codeproject.com/KB/android/PayGol-Android.aspx
http://geo-filtered-assistant.blogspot.com

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: help with MultiAutoCompleteTextView.

2012-08-06 Thread Saranya Shanmugavel
You have to use the threshold limit for it in your XML file

android:completionThreshold="1" 

This will give you suggestion when you type your first letter
On Tuesday, June 16, 2009 10:29:35 AM UTC+5:30, Saurav wrote:
>
> this is in reply to my onw question and if anyone else ever has the same 
> doubt, on cud set the number of characters needed for thr drop down to work 
> by the setThreshold(int noOfChars) method in the MultiAutoCompleteTextView 
> class.
>
> On Mon, Jun 15, 2009 at 5:10 PM, Saurav Mukherjee <
> to.saurav.mukher...@gmail.com> wrote:
>
>> hi all,
>> this is my second issue regarding the same problem. i dont know y, but my 
>> auto complete does not work wen there is a single letter in the 
>> MultiAutoCompleteTextView. if there r more than 1 char in the 
>> MultiAutoCompleteTextView, then the list drops down, shows the items 
>> correctly...
>>
>> any suggestions...
>>
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Help with application

2012-08-23 Thread Juned Khan
Hi Laila,

First you should be more specific to your application like which 
functionality you want to provide. If possible examine some sample 
application and start your development. And yes,if you are confuse at any 
situation through development then think as end user, it will be more 
helpful. Otherwise ping me or post the question on different forums.

All The Best !

Thanks
Juned Khan


-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Help with application

2012-08-23 Thread Jason Sesso
You should probably look on developer.android.com and do the hello world 
app. There you can understand views and activities. 

On Wednesday, August 22, 2012 9:33:42 PM UTC-7, laila hafsiani wrote:
>
> hello, my name is laila hafsiani putri.
> i'm from indonesian and i'm new in android developer.
> i'm going to make application "introduction to the Arabic alphabet". what 
> first i do?
> may i have template application or project source in eclipse.
> sorry for my bad english :D thanks anyway.
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Help with application

2012-08-23 Thread Juned Khan
Use this link to Start your training. hope this will help you

http://developer.android.com/training/index.html

Thanks
Juned Khan

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: [HELP]SQLite + Android

2011-07-22 Thread Abhishek Akhani
you can put your database in assets folder and import it... 

See 
http://www.reigndesign.com/blog/using-your-own-sqlite-database-in-android-applications/


-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Help screen dialog

2008-12-12 Thread Eric

For help I'm using a WebView and put an html file in assets/help. It
works pretty well. My only problem is I want to show some of my
program icons and don't know how to do that without making duplicate
copies (one image file in res/drawable, one in assets/help).

I kept my short about info separate and put it in a dialog box.

On Nov 20, 8:44 am, brs  wrote:
> Does anybody have sample code for ahelp/about dialog box to display a
> lengthy detailed description of the application.? What's the easiest
> way to do that?
>
> Bernhard
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Help required: ListView

2009-01-21 Thread Romain Guy

You need to tell ListView that the list items are focusable. Use
ListView.setItemsCanFocus(true).

On Wed, Jan 21, 2009 at 11:17 PM, Don Rules  wrote:
> Hi Folks,
> I have a list view, in which each of the list item contain a TextView and a
> button.
> when i click the button, the list item is deleted. Anyways i have
> implemented this feature.
>
> I have a problem in focusing the button..
>
> I dont want the listitem to get selected. rather i need the button to be
> focused, while i scroll through list items.
>
> Can anyone please help on this..
>
> Thanks in advance,
>
> Regards,
> Don..
>
> >
>



-- 
Romain Guy
Android framework engineer
romain...@android.com

Note: please don't send private questions to me, as I don't have time
to provide private support.  All such questions should be posted on
public forums, where I and others can see and answer them

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Help required: ListView

2009-01-22 Thread Don Rules
Hi Romain,
I dont want the list items to be selected. But i have a  button in the
listItem which has to be focused when i use the navigation keys..

I tried by setting the ListView.setItemsCanFocus(false);
It is still getting the focus..

Please help..

REgards,
Don

On Thu, Jan 22, 2009 at 12:52 PM, Romain Guy  wrote:

>
> You need to tell ListView that the list items are focusable. Use
> ListView.setItemsCanFocus(true).
>
> On Wed, Jan 21, 2009 at 11:17 PM, Don Rules 
> wrote:
> > Hi Folks,
> > I have a list view, in which each of the list item contain a TextView and
> a
> > button.
> > when i click the button, the list item is deleted. Anyways i have
> > implemented this feature.
> >
> > I have a problem in focusing the button..
> >
> > I dont want the listitem to get selected. rather i need the button to be
> > focused, while i scroll through list items.
> >
> > Can anyone please help on this..
> >
> > Thanks in advance,
> >
> > Regards,
> > Don..
> >
> > >
> >
>
>
>
> --
> Romain Guy
> Android framework engineer
> romain...@android.com
>
> Note: please don't send private questions to me, as I don't have time
> to provide private support.  All such questions should be posted on
> public forums, where I and others can see and answer them
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Help required: ListView

2009-01-22 Thread Scynasty

you could try running an onitemselected with a setfocus to the button
so when an item is selected focus is placed to the button.

On Jan 22, 2:17 am, Don Rules  wrote:
> Hi Folks,
> I have a list view, in which each of the list item contain a TextView and a
> button.
> when i click the button, the list item is deleted. Anyways i have
> implemented this feature.
>
> I have a problem in focusing the button..
>
> I dont want the listitem to get selected. rather i need the button to be
> focused, while i scroll through list items.
>
> Can anyone please help on this..
>
> Thanks in advance,
>
> Regards,
> Don..
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Help required: ListView

2009-01-22 Thread Don Rules
But How do i get the focus to the button.. Which API should be called?

On Fri, Jan 23, 2009 at 1:22 AM, Scynasty  wrote:

>
> you could try running an onitemselected with a setfocus to the button
> so when an item is selected focus is placed to the button.
>
> On Jan 22, 2:17 am, Don Rules  wrote:
> > Hi Folks,
> > I have a list view, in which each of the list item contain a TextView and
> a
> > button.
> > when i click the button, the list item is deleted. Anyways i have
> > implemented this feature.
> >
> > I have a problem in focusing the button..
> >
> > I dont want the listitem to get selected. rather i need the button to be
> > focused, while i scroll through list items.
> >
> > Can anyone please help on this..
> >
> > Thanks in advance,
> >
> > Regards,
> > Don..
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: ::Help me Please....!!!!

2008-11-08 Thread Christine

A subject line of "help me please" doesn't really invite people to
come see what you're asking.

On Nov 8, 12:13 pm, Imran <[EMAIL PROTECTED]> wrote:
> Hi
>
>  In my Application i have scenario where the Button Should be in
> Pressed mode for few seconds and than it should be in unpressed mode
>
>  i have tried using thread But its not working
>
> bt.setPressed(true);
> Thread.sleep(2000);
> bt.setPressed(false);
>
> this logic is not working... the Button is always in Unpressed mode
> Only
>
> please help me out...
>
> Thanks in Advance for Any replays...!
>
> Cheers
> Imran
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: ::Help me Please....!!!!

2008-11-08 Thread hackbod

Android's UI is event driven, so if you block that thread it will stop
doing things.  Use a Handler to schedule a message in the future at
which you will turn off the pressed state.

On Nov 8, 3:13 am, Imran <[EMAIL PROTECTED]> wrote:
> Hi
>
>  In my Application i have scenario where the Button Should be in
> Pressed mode for few seconds and than it should be in unpressed mode
>
>  i have tried using thread But its not working
>
> bt.setPressed(true);
> Thread.sleep(2000);
> bt.setPressed(false);
>
> this logic is not working... the Button is always in Unpressed mode
> Only
>
> please help me out...
>
> Thanks in Advance for Any replays...!
>
> Cheers
> Imran
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Help screen dialog

2008-11-24 Thread Michael

Use a DialogActivity with a ScrollView wrapping a TextView?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: :Help with Context

2008-05-12 Thread Dorothy

Hi,

Read http://code.google.com/android/reference/android/content/Context.html

to learn more about the context class, especially its subclasses:

http://code.google.com/android/reference/android/app/Activity.html
and
http://code.google.com/android/reference/android/app/Service.html

I didn't use mediaplayer yet, but it's here and doesn't seem to be
very complicated:

http://code.google.com/android/reference/android/media/MediaPlayer.html.

Thanks.

On May 12, 11:06 am, <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> Can anyone please tell me how to use the context class.
> Am trying to use it in Media Player API's.
> If possible tem me how to use the Media player API's.
>
> Regards,
> Radhika
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: :Help with Context

2008-05-12 Thread Dorothy

Hi everyone,

About the Socket I/O:

When I look at the net traffic with wireshark, the socket's output
data is correct. But there are "tcp checksum offload" errors.
I used ethtool to disable the checksum of the system(linux), but this
doesn't change anything.

By the way, I have a server application in java and a client in
Android. I want the client to send data to the server. There is no
problem with a client in java but it does't work in Android. Hope my
description enough clear.

Can I disable the tcp checksum in Android somewhere? Or am I in the
wrong way?

Thanks for any help.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



  1   2   3   4   5   6   7   8   9   >