[android-beginners] Trying to turn off candidates view in EditText with on-screen keyboard

2009-10-22 Thread Bamsen

Hi,

My first (and very simple) application uses an EditText box to input
information that is not English words.
When I do this i get the candidates view (which I normally love :)
with suggestions for known words.
I do not want to pollute my word list by saving what I typed so I want
to turn off candidates view for this text box.

I have searched the documentation and  WEB but could not find the
answer.

I have tried two methods:

1. Set the XML property "input type" to various values.
With this I can't find one that lets me input 'raw' text without a
candidates view.

2. Use InputMethodService
  static InputMethodService mInputService;
  mInputService=new InputMethodService();
  mInputService.setCandidatesViewShown(false);
Whenever i try the last line my app 'has stopped unexpectedly'

I would prefer to understand the second method, but would be happy for
the first one to work, for now. :)

Any and all help is greatly appreciated.

--
Morten

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



[android-beginners] Re: android

2009-10-22 Thread Niamathullah sharief
what you mean?you mean android kernel part?give briefly

On Thu, Oct 22, 2009 at 4:21 PM, usha  wrote:

>
> hi to all
>
>
> what will android source code contains?By using android source code
> what can i do?have i down load any other file for downloading android
> source code?
>
> where can i get the android source code..pl help me..i m new
> to this one
>
> >
>

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



[android-beginners] Re: disable soft keyboard from auto-completion

2009-10-22 Thread jax

No...that didn't work.  It still showed the spelling and underlines
etc.  I need to get hold of each character as it is typed.  With the
soft-keyboard it does not check the onKey until you have clicked
"Done"

On Oct 23, 12:33 pm, jax  wrote:
> found it
>
> Input-type in the xml preferences
>
> On Oct 23, 12:31 pm, jax  wrote:
>
> > Hi
>
> > I have a TextView that I do not want to have auto-completion on when
> > the user opens the soft keyboard.  Is this possible?
>
>
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: disable soft keyboard from auto-completion

2009-10-22 Thread jax

found it

Input-type in the xml preferences

On Oct 23, 12:31 pm, jax  wrote:
> Hi
>
> I have a TextView that I do not want to have auto-completion on when
> the user opens the soft keyboard.  Is this possible?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] disable soft keyboard from auto-completion

2009-10-22 Thread jax

Hi

I have a TextView that I do not want to have auto-completion on when
the user opens the soft keyboard.  Is this possible?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Drawing on top of a camera preview

2009-10-22 Thread Samuh

See if the following helps:
http://groups.google.com/group/android-developers/browse_thread/thread/d8587b4b2139a85

On Oct 22, 9:18 am, Hack  wrote:
> Using the camera preview example as a starting point, I've managed to
> get my application displaying what my camera is focused on, but I'm
> running in to some problems when I try to draw overlays.
>
> I'm able to get the camera preview working with a surface of type
> SURFACE_TYPE_PUSH_BUFFERS, but the documentation tells me I'm not
> allowed to lock (and subsequently modify) that type of buffer.
> Because I can't get a surface of any other type to receive the camera
> preview, I can't figure out how draw on the same surface the camera is
> modifying.
>
> I've looked in to copying the camera surface to another, modifiable
> surface, but haven't had any luck with that.
>
> Does anyone have any tips or info?
> Thanks.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Skipping the long load time by having the emulator on all the time

2009-10-22 Thread Indicator Veritatis

True. But then to be sure of getting it, I would have to do one of two
things: 1) wait until it pops up again on new code as I continue the
tutorial (for example), or 2) undo what I have done and go back a
couple pages until it happens again.

Neither option really appeals to me. So I gave the vague message and
hoped someone would recognize it, since I can't be the only person
having the problem. Does anyone else want to volunteer to try the
tutorial? It has rough spots, but nevertheless provides good coverage
of a few points I have not seen covered in any other Android tutorial;
just don't forget to back up to the very first page.

However, if I do see it again, I will append the exact message to this
thread. But can't one of you Android SDK hotshots just grep the
resources for the SDK (or is it the ADT) for the word 'push'? You will
find it faster than I would (by either above method) if you do. Or do
you think this message is really coming from the emulator itself?

On Oct 22, 6:07 pm, Xavier Ducrohet  wrote:
> If you gave us the exact warning it would help :)
>
> On Thu, Oct 22, 2009 at 6:03 PM, Indicator Veritatis wrote:
>
>
>
>
>
> > I thought of that solution too. But the problem is, that in a lot of
> > my code iterations, say, for example, following the tutorial at
>
> >http://activefrequency.com/blog/2009/ground-up-android-part-5-tweetin...
> > ,
> > I get a warning message from Android saying that it cannot push the
> > code to the emulator.
>
> > This appears to imply that if I really want to execute the just-built
> > code, I have to restart the emulator. On my machine, that causes me to
> > wait about 15S watching 'android', then about 30S watching the same
> > word in a funny font. Only then am I offered the opportunity to unlock
> > the phone via the menu key and finally, finally, see my app.
>
> > Or are you experienced developers so familiar with what code can be
> > pushed, and what cannot, that you can minimize changes that cannot be
> > pushed?
>
> > On Oct 7, 9:33 am, Romain Guy  wrote:
> > > Just don't quit theemulator:))
>
> > > On Wed, Oct 7, 2009 at 4:41 AM, Mika  wrote:
>
> > > > Hello,
>
> > > > I'm developing a game on the Android and the problem I'm running into
> > > > is the fact that the actualemulatortakes long time to boot. I have
> > > > to wait roughly 45s to 75seconds to get into my program. And when
> > > > actually doing lot of recompiling I'm wasting too much time for that.
>
> > > > So what can be done to get around this? I'd like to have theemulator
> > > > running and just upload the new program into it and run it instantly.
> > > > Is there a way to have theemulatorup and running and upload the
> > > > program into it every time I compile, so I wouldn't have to wait for
> > > > the boot up time of theemulator?
>
> > > > All tips and tricks are definitely welcome.
> > > > Thank you.
>
> > > > - Mika
>
> > > --
> > > 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
>
> --
> Xavier Ducrohet
> Android SDK Tech Lead
> Google Inc.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Returning to Previous Activity from a network camera activity

2009-10-22 Thread Shobhit Kasliwal

Hi
I have an activity with a button on it and when I click the button I
am starting a new activity with a network camera on it. when I click a
button on this activity (after capturing the image ) I want to start
the previous activity again.
I am getting back to previous activity with finish() but I am not able
to do any event on it. When I check the logcat it  is saying " No
window to dispatch at Pointer 1 and 0.
Can anyone help me to solve this issue ?

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



[android-beginners] ring replacement

2009-10-22 Thread BenV

im digging through the development pages in anticipation on finally
getting my android (im on verizon) but im having trouble figuring out
the first project i have planned.  i want to replace the ring on the
phone but its more than just replacing the audio file.  the program i
want to write modifies the ring each time it rings, specifically i
want the phone to basically count each ring out loud.  im assuming i
need the CALL_STATE_RINGING intent out of the telephonymanager but
lacking an actual phone to explore im not sure how it behaves or what
i would call once its fired.  does that intent fire every time the
ringer fires or just when the phone starts ringing?  and can i set a
sequence of rings to go through or do i need to silence the ringer and
play them another way?

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



[android-beginners] Re: Skipping the long load time by having the emulator on all the time

2009-10-22 Thread Xavier Ducrohet
If you gave us the exact warning it would help :)

On Thu, Oct 22, 2009 at 6:03 PM, Indicator Veritatis wrote:

>
> I thought of that solution too. But the problem is, that in a lot of
> my code iterations, say, for example, following the tutorial at
>
> http://activefrequency.com/blog/2009/ground-up-android-part-5-tweeting-and-debugging/
> ,
> I get a warning message from Android saying that it cannot push the
> code to the emulator.
>
> This appears to imply that if I really want to execute the just-built
> code, I have to restart the emulator. On my machine, that causes me to
> wait about 15S watching 'android', then about 30S watching the same
> word in a funny font. Only then am I offered the opportunity to unlock
> the phone via the menu key and finally, finally, see my app.
>
> Or are you experienced developers so familiar with what code can be
> pushed, and what cannot, that you can minimize changes that cannot be
> pushed?
>
> On Oct 7, 9:33 am, Romain Guy  wrote:
> > Just don't quit theemulator:))
> >
> >
> >
> > On Wed, Oct 7, 2009 at 4:41 AM, Mika  wrote:
> >
> > > Hello,
> >
> > > I'm developing a game on the Android and the problem I'm running into
> > > is the fact that the actualemulatortakes long time to boot. I have
> > > to wait roughly 45s to 75seconds to get into my program. And when
> > > actually doing lot of recompiling I'm wasting too much time for that.
> >
> > > So what can be done to get around this? I'd like to have theemulator
> > > running and just upload the new program into it and run it instantly.
> > > Is there a way to have theemulatorup and running and upload the
> > > program into it every time I compile, so I wouldn't have to wait for
> > > the boot up time of theemulator?
> >
> > > All tips and tricks are definitely welcome.
> > > Thank you.
> >
> > > - Mika
> >
> > --
> > 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
> >
>


-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.

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



[android-beginners] Re: Skipping the long load time by having the emulator on all the time

2009-10-22 Thread Indicator Veritatis

I thought of that solution too. But the problem is, that in a lot of
my code iterations, say, for example, following the tutorial at
http://activefrequency.com/blog/2009/ground-up-android-part-5-tweeting-and-debugging/,
I get a warning message from Android saying that it cannot push the
code to the emulator.

This appears to imply that if I really want to execute the just-built
code, I have to restart the emulator. On my machine, that causes me to
wait about 15S watching 'android', then about 30S watching the same
word in a funny font. Only then am I offered the opportunity to unlock
the phone via the menu key and finally, finally, see my app.

Or are you experienced developers so familiar with what code can be
pushed, and what cannot, that you can minimize changes that cannot be
pushed?

On Oct 7, 9:33 am, Romain Guy  wrote:
> Just don't quit theemulator:))
>
>
>
> On Wed, Oct 7, 2009 at 4:41 AM, Mika  wrote:
>
> > Hello,
>
> > I'm developing a game on the Android and the problem I'm running into
> > is the fact that the actualemulatortakes long time to boot. I have
> > to wait roughly 45s to 75seconds to get into my program. And when
> > actually doing lot of recompiling I'm wasting too much time for that.
>
> > So what can be done to get around this? I'd like to have theemulator
> > running and just upload the new program into it and run it instantly.
> > Is there a way to have theemulatorup and running and upload the
> > program into it every time I compile, so I wouldn't have to wait for
> > the boot up time of theemulator?
>
> > All tips and tricks are definitely welcome.
> > Thank you.
>
> > - Mika
>
> --
> 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 Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] listview height

2009-10-22 Thread Jeffrey Blattman




i have a listview that is enclosed in a few other views. the view
height of the listview is only about the size of one entry. i can't
seem to figure how to make the listview expand to show more entries at
a time. i'd like to be able to set the max height of the listview, or
something like that.

any ideas?

-- 





[android-beginners] Re: on resuming an activity along with retaining the data

2009-10-22 Thread level32

I'm pretty new, but this is what I do.

In Activity A, you could send an "exrta" to B before starting it.

Example:


in A:

Intent intent = new Intent(this, B.class);

intent.putExtra("myString", "stringValue");
startActivity(intent);


in B (in onCreate):

//get intent and extras
Intent intent = getIntent();
Bundle extras = intent.getExtras();

if(extras != null)
{
  //set a member to the value of the extra
  mMyString = extras.getString("myString");
}



You could pass it to C in the same manner I guess. Any better
solutions out there?





On Oct 22, 9:54 am, Vinu Vijayan  wrote:
> Hi everyone.
>
> I'm having an requirement like this.
> Say there are 3 activities A,B &C. From A i'm calling B using
> startactivity() and from B i'm calling C using startactivity(). In A
> there is an edittext field in which i have inserted some chars before
> going to B. Suppose i'm now in C and i want to go to A, how can i
> retain the data which i have already inserted in edittext in A.
>
> If i use startactivity to go to A, then it will start a new activity
> with no data.
>
> Is there any other way to go to an existing activity without using
> startactivity() and i want to retain the data on the previous
> activity??
>
> It would be also helpful if someone could explain me what happens to
> the data entered in the edittext if i goes to another activity??..
>
> Thanks in advance

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



[android-beginners] beginner

2009-10-22 Thread knightsarm...@gmail.com

I have an samsung instinct phone from sprint and want to download
android to it. But i have not been able to do anything through the
phone its self. Is this something i need to download to my computer
then upload it to my phone? if so how do i do that? what version would
i need? what can i download and not download? etc.. if someone can
help me with all of this i would be grateful...

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



[android-beginners] Re: Trouble with a cursor

2009-10-22 Thread brucko

Thanks Guys for your help.

I found the problem. - It was the query.

The "limit" parameter for the number of rows returned is a String - as
to why it is a String rather than an int is anyones guess. However,
where I made my error was by having a leading and trailing space ie "
1 " instead of "1".

Your efforts were appreciated.

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



[android-beginners] Re: mailing lists

2009-10-22 Thread Disconnect

What web site? (Specifically.)
What lists?

On Thu, Oct 22, 2009 at 12:01 AM, kypriakos  wrote:
>
>
> Hi all,
>
> I tried all mailing lists listed in the Android subcription web site
> and all of them returned back with the error that their email does not
> exist - I clicked on them and not copy them so there is no typo. Any
> ideas?
>
> Thanks
>
> >
>

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



[android-beginners] Re: on resuming an activity along with retaining the data

2009-10-22 Thread James Yum

Hi Vinu,

Can you try setting the clear top flag?

http://developer.android.com/reference/android/content/Intent.html#FLAG_ACTIVITY_CLEAR_TOP

Cheers,
James

On Thu, Oct 22, 2009 at 6:54 AM, Vinu Vijayan  wrote:
>
> Hi everyone.
>
> I'm having an requirement like this.
> Say there are 3 activities A,B &C. From A i'm calling B using
> startactivity() and from B i'm calling C using startactivity(). In A
> there is an edittext field in which i have inserted some chars before
> going to B. Suppose i'm now in C and i want to go to A, how can i
> retain the data which i have already inserted in edittext in A.
>
> If i use startactivity to go to A, then it will start a new activity
> with no data.
>
> Is there any other way to go to an existing activity without using
> startactivity() and i want to retain the data on the previous
> activity??
>
> It would be also helpful if someone could explain me what happens to
> the data entered in the edittext if i goes to another activity??..
>
>
> Thanks in advance
>
> >
>

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



[android-beginners] Re: language changed automatically after upgrade

2009-10-22 Thread James Yum

Perhaps this may help?

http://developer.htc.com/adp.html

Cheers,
James

On Wed, Oct 21, 2009 at 4:33 PM, shujon  wrote:
>
> Hi, I bought myself a dev phone with SDK 1.5 on it.
>
> I live in Germany - recently upgraded to the SDK 1.6 and suddenly all
> the system language became German! How to keep the english as system
> language when upgrading?
>
> Any Hellp would be much appreciated,
>
> Best,
>
> Arefin
>
> >
>

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



[android-beginners] Re: 2 O/S on same mobile?

2009-10-22 Thread P B

Thanks James and Yusuf for the info.

Would it be easy to scrub win mob 6.5 and install android? (instead of
trying to run both)

On Oct 16, 11:13 pm, James Ausmus 
wrote:
> On Thu, Oct 15, 2009 at 8:32 AM, P B  wrote:
>
> > I'm buying a phone (the acer neotouch (a.k.a the F1 or s200)) which
> > has windows mobile 6.5 preinstalled. Is it possible to install the
> > Android O/S onto the same phone and be able to choose which O/S to use
> > whenever - similar to partitioning the hard drive on a pc with Windows
> > and Ubuntu for example?
>
> All you would really need is either
>
> 1. A boot loader that runs on your phone that allows you to choose
> which OS to boot into, or
> 2. A "main" OS that allows you to directly boot into another OS, such
> as Linux (with kexec enabled).
>
> However, for #1, you have 2 problems:
> A. There most likely isn't an "out-of-the-box" boot loader that will
> run on your phones HW that you can dual boot, and
> B. In order to modify/replace the boot loader, you have to modify an
> area of the flash that, on a lot of phones, is protected
>
> #2 might be easiest, if you can get write access to the flash device
> on your phone, and the bootloader on your phone knows how to boot
> Linux, and there are sufficient Linux drivers to operate your phone...
> ;)
>
> -James
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] www.find68.com cheaper nike shoes g-satr kidrobot hoodies ed hardy star red monkey gino green global true religion ed-hardy kidrobot jeans hoodies china supplier wholesaler expor

2009-10-22 Thread sfbd bndfb

Get Nike Shoes at Super Cheap Prices
Discount Ed hardy tshirt  (www.find68.com)
Discount Ed hardy jean  (www.find68.com)
Discount Ed hardy shoes  (www.find68.com)
Discount Ed hardy handbag  (www.find68.com)
Discount Ed hardy other porduct  (www.find68.com)
Discount Nike air jordans  (www.find68.com)
Discount Nike Air Max 90 Sneakers  (www.find68.com)
Discount Nike Air Max 91 Supplier  (www.find68.com)
Discount Nike Air Max 95 Shoes Supplier  (www.find68.com)
Discount Nike Air Max 97 Trainers  (www.find68.com)
Discount Nike Air Max 2003 Wholesale  (www.find68.com)
Discount Nike Air Max 2004 Shoes Wholesale
(www.find68.com)
Discount Nike Air Max 2005 Shop  (www.find68.com)
Discount Nike Air Max 2006 Shoes Shop  (www.find68.com)
Discount Nike Air Max 360 Catalogs  (www.find68.com)
Discount Nike Air Max Ltd Shoes Catalogs  (www.find68.com)
Discount Nike Air Max Tn Men's Shoes  (www.find68.com)
Discount Nike Air Max Tn 2 Women's Shoes  (www.find68.com)
Discount Nike Air Max Tn 3 Customize  (www.find68.com)
Discount Nike Air Max Tn 4 Shoes Customize
( www.find68.com)
Discount Nike Air Max Tn 6 Supply  (www.find68.com)
Discount Nike Shox NZ Shoes Supply  (www.find68.com)
Discount Nike Shox OZ Sale  (www.find68.com)
Discount Nike Shox TL Store  (www.find68.com)
Discount Nike Shox TL 2 Shoes Store (www.find68.com)
Discount Nike Shox TL 3 Distributor (www.find68.com)
Discount Nike Shox Bmw Shoes Distributor  (www.find68.com)
Discount Nike Shox Elite Shoes Manufacturer
(www.find68.com)
Discount Nike Shox Monster Manufacturer  (www.find68.com)
Discount Nike Shox R4 Running Shoes  (www.find68.com)
Discount Nike Shox R5 Mens Shoes  (www.find68.com)
Discount Nike Shox Ride Womens Shoes (www.find68.com)
Discount Nike Shox Rival Shoes Wholesaler  (www.find68.com)
Discount Nike Shox Energia Wholesaler  (www.find68.com)
Discount Nike Shox LV Sneaker  (www.find68.com)
Discount Nike Shox Turbo Suppliers  (www.find68.com)
Discount Nike Shox Classic Shoes Suppliers
(www.find68.com)
Discount Nike Shox Dendara Trainer  (www.find68.com)
Discount Nike Air Jordan 1 Seller  (www.find68.com)
Discount Nike Air Jordan 2 Shoes Seller  (www.find68.com)
Discount Nike Air Jordan 3 Collection  (www.find68.com)
Discount Nike Air Jordan 4 Shoes Collection
(www.find68.com)
Discount Nike Air Jordan 5 Chaussure Shoes
(www.find68.com)
Discount Nike Air Jordan 6 Catalog  (www.find68.com)
Discount Nike Air Jordan 7 Shoes Catalog  (www.find68.com)
Discount Nike Air Jordan 8 Customized  (www.find68.com)
Discount Nike Air Jordan 9 Shoes Customized
(www.find68.com)
Discount Nike Air Jordan 10 Wholesalers  (www.find68.com)
Discount Nike Jordan 11 Shoes Wholesalers (www.find68.com)
Discount Nike Air Jordan 12 Factory  (www.find68.com)
Discount Nike Air Jordan 13 Shoes Factory (www.find68.com)
Discount Nike Air Jordan 14 Shoes Sell  (www.find68.com)
Discount Nike Air Jordan 16 Exporter  (www.find68.com)
Discount Nike Air Jordan 17 Shoes Exporter
(www.find68.com)
Discount Nike Air Jordan 18 Offer  (www.find68.com)
Discount Nike Air Jordan 19 Shoes Offer  (www.find68.com)
Discount Nike Air Jordan 20 Manufacture  (www.find68.com)
Discount Nike Jordan 21 Shoes Manufacture  (www.find68.com)

http://www.find68.com
we are specialized in all kinds of brand name sport shoes AAA grade,
like NIKE SHOES, ADIDAS SHOES, JORDAN AIR MAX, SHOX, PUMA, DUNK, BAPE,
TIMBERLAND, AF1, GUCCI,LV,PRADA,LEISURE SHOES ,BBC nike suppliers in
china, nike, nike dunk, dunk, nike af1, af1, nike rift, rift, nike max
95, max95, nike max 90, max 90, nike max 91, max 91, nike max 95, max
95, nike max 97, max97, nike max180, nike max360, max 360, max 180,
nike max ltd, nike max tn, nike max 2003, max 2003, nike max 2006, max
2006, nike max 2004, max 2004, air force 1, air force one, nike af1,
af1, nike air force 1, nike shox, nike max, nike shox nz, shox nz, nz,
nike shox oz, shox oz, oz, nike shox r3, shox r3, r3, nike shox r4,
shox r4, r4, nike shox r5, shox r5, r5, nike shox tl1, shox tl1, tl1,
nike shox tl2, tl2, nike shox tl3, LRG, GGG, RMC, ArtfulDodger, D&G,
Rockjeans, A&F, EVS, seven, t-shirts, LV, AF1, max, shox, converse,
timberland boots, NBAstars, james, kobe, garnett, carter, macgrady,
pippen, sandals, hogan, adidas, nikeshoes, dunk, puma, prada, bape,
gucci, jordan, BBC, jacket, DS, hoody, ED hardy, CLH, kidrobot,
sweater, kidclothes, jersey, swimmingwear, ranbansunglass, coach,
chanel, armani, burberry, watch, fendi handbags, belts, wallet,
jewellery, umbrella, hats, mobile phone..., bape, bbc, evisu, lrg, ed-
hardy, lacoste hoody, polo, red monkey, NFL abercrombie, Clothing,
hoody, jacket, coat, jeans, suit, t-shirt, sweater, jerseys BAPE,
BBC,EVISU HOODIES POLO LACOSATE t-shirt, jeans like ED EVISU BBC RMC;
LV, CHANEL GUCCI PRADA HANDBAGS, IPOD MP3,,MP4 PS3 PSP; HATS;
SUNGLASSES; BELTS; and so on, our products have been exported to South
America, north merica,Australia, Europe, Italy,France,Spain,Greece;
and getting warmly welcome from these customers by its stable quality,
co

[android-beginners] intersection Search using GeoCode

2009-10-22 Thread meghal shah

Hi,

I have been using geocode to find the addresses, it returns good for
postal address, even the shopping malls.
But while trying to search Intersection such as "5th and main St" ,
"Campbell and Coit Rd" it does not work. I didnt find any exclusive
information regarding intersection search.

If any body could help me out.

Thanks,
Meghal Shah

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



[android-beginners] language changed automatically after upgrade

2009-10-22 Thread shujon

Hi, need help. I bought a dev Phone from the US. I had sdk 1.5 and
recently updated to sdk 1.6. After upgrading the phone language has
changed to German. How can I keep English when upgrading to SDK 1.6?

btw, I live in Germany. The Phone probably automatically detected that
I need German - too smart :-(

Any help would be much appreciated. Regards,

Arefin

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



[android-beginners] Re: Poor Documentation

2009-10-22 Thread usharani ganapathy
hi i m new to androidwhat is intent?

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



[android-beginners] on resuming an activity along with retaining the data

2009-10-22 Thread Vinu Vijayan

Hi everyone.

I'm having an requirement like this.
Say there are 3 activities A,B &C. From A i'm calling B using
startactivity() and from B i'm calling C using startactivity(). In A
there is an edittext field in which i have inserted some chars before
going to B. Suppose i'm now in C and i want to go to A, how can i
retain the data which i have already inserted in edittext in A.

If i use startactivity to go to A, then it will start a new activity
with no data.

Is there any other way to go to an existing activity without using
startactivity() and i want to retain the data on the previous
activity??

It would be also helpful if someone could explain me what happens to
the data entered in the edittext if i goes to another activity??..


Thanks in advance

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



[android-beginners] Problems of Android SDK 1.6 R1 in Windows 7

2009-10-22 Thread wureka

My environment is Windows 7 + JDK 1.6u16 + Eclipse Galileo SR1

After I create an Android project and I open the AndroidManifest.xml
with Android Layout Editor, the Layout Editor shows
"ClassNotFoundException:null" and the console shows the below
Exception:
java.lang.ClassNotFoundException
at
com.android.ide.eclipse.adt.internal.resources.manager.ProjectClassLoader.findClass
(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at
com.android.ide.eclipse.adt.internal.editors.layout.ProjectCallback.loadView
(Unknown Source)
at android.view.BridgeInflater.loadCustomView(BridgeInflater.java:
198)
at android.view.BridgeInflater.onCreateView(BridgeInflater.java:99)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:
562)
at android.view.BridgeInflater.createViewFromTag(BridgeInflater.java:
122)
at android.view.LayoutInflater.inflate(LayoutInflater.java:385)
at android.view.LayoutInflater.inflate(LayoutInflater.java:296)
at com.android.layoutlib.bridge.Bridge.computeLayout(Bridge.java:376)
at
com.android.ide.eclipse.adt.internal.editors.layout.GraphicalLayoutEditor.computeLayout
(Unknown Source)
at
com.android.ide.eclipse.adt.internal.editors.layout.GraphicalLayoutEditor.recomputeLayout
(Unknown Source)
at
com.android.ide.eclipse.adt.internal.editors.layout.GraphicalLayoutEditor.activated
(Unknown Source)
at
com.android.ide.eclipse.adt.internal.editors.layout.LayoutEditor.pageChange
(Unknown Source)
at org.eclipse.ui.part.MultiPageEditorPart.setActivePage
(MultiPageEditorPart.java:1076)
at org.eclipse.ui.forms.editor.FormEditor.setActivePage
(FormEditor.java:601)
at
com.android.ide.eclipse.adt.internal.editors.AndroidEditor.selectDefaultPage
(Unknown Source)
at com.android.ide.eclipse.adt.internal.editors.AndroidEditor.addPages
(Unknown Source)
at org.eclipse.ui.forms.editor.FormEditor.createPages(FormEditor.java:
138)
at org.eclipse.ui.part.MultiPageEditorPart.createPartControl
(MultiPageEditorPart.java:357)
at org.eclipse.ui.internal.EditorReference.createPartHelper
(EditorReference.java:662)
at org.eclipse.ui.internal.EditorReference.createPart
(EditorReference.java:462)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart
(WorkbenchPartReference.java:595)
at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:313)
at org.eclipse.ui.internal.presentations.PresentablePart.setVisible
(PresentablePart.java:180)
at
org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select
(PresentablePartFolder.java:270)
at
org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select
(LeftToRightTabOrder.java:65)
at
org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart
(TabbedStackPresentation.java:473)
at org.eclipse.ui.internal.PartStack.refreshPresentationSelection
(PartStack.java:1256)
at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:
1209)
at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1608)
at org.eclipse.ui.internal.PartStack.add(PartStack.java:499)
at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:103)
at org.eclipse.ui.internal.PartStack.add(PartStack.java:485)
at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:112)
at org.eclipse.ui.internal.EditorSashContainer.addEditor
(EditorSashContainer.java:63)
at org.eclipse.ui.internal.EditorAreaHelper.addToLayout
(EditorAreaHelper.java:225)
at org.eclipse.ui.internal.EditorAreaHelper.addEditor
(EditorAreaHelper.java:213)
at org.eclipse.ui.internal.EditorManager.createEditorTab
(EditorManager.java:778)
at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor
(EditorManager.java:677)
at org.eclipse.ui.internal.EditorManager.openEditor
(EditorManager.java:638)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched
(WorkbenchPage.java:2854)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor
(WorkbenchPage.java:2762)
at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:
2754)
at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:
2705)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:
70)
at org.eclipse.ui.internal.WorkbenchPage.openEditor
(WorkbenchPage.java:2701)
at org.eclipse.ui.internal.WorkbenchPage.openEditor
(WorkbenchPage.java:2685)
at org.eclipse.ui.actions.OpenWithMenu.openEditor(OpenWithMenu.java:
344)
at org.eclipse.ui.actions.OpenWithMenu$2.handleEvent
(OpenWithMenu.java:192)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.ja

[android-beginners] where can we announce new application we create?

2009-10-22 Thread Mr. Time Keeper

I've created Time Keeper, a new Android Application.  Does anyone know
where it would be appropriate to announce such things to the Android
developer community, or the public at large (e.g. an Android users
group or new applications announcement group).

Thanks.

--Richard

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



[android-beginners] Programming The UI

2009-10-22 Thread xdiscx


How do you guys find the learning curve for programming the UI?

Thanks,

XDiScX


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



[android-beginners] android

2009-10-22 Thread usha

hi to all


what will android source code contains?By using android source code
what can i do?have i down load any other file for downloading android
source code?

where can i get the android source code..pl help me..i m new
to this one

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



[android-beginners] Can't download Paid Apps from Market

2009-10-22 Thread Stefan

Hello,

my paid apps won't download anymore on my Samsung Galaxy. I changed
the Google account on the phone to my Google Apps acoount. After
noticing that Google Apps accounts are not supported by Google
Checkout - sad but true - I changed the the market account back to my
old Google account.

Now all paid apps won't download anymore. Although in Google Checkout
i've got the confirmation of the payment.

Any ideas how this can be solved?

Best regards,
Stefan

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



[android-beginners] Web servers

2009-10-22 Thread Demetris


Hi all,

is it possible to run a web server on the Android emulator?

Thanks


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



[android-beginners] mailing lists

2009-10-22 Thread kypriakos


Hi all,

I tried all mailing lists listed in the Android subcription web site
and all of them returned back with the error that their email does not
exist - I clicked on them and not copy them so there is no typo. Any
ideas?

Thanks

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



[android-beginners] Global variables

2009-10-22 Thread jones

hi all together,

i have a serious problem, my head is close to bursting and there is no
light at the end of the tunnel. How do i declare variables globally?

This simple code fails at Line 20 (Log.d(TAG, this.timer);):

public class HelloWidget extends AppWidgetProvider {
private static final String TAG = "HelloWidget";
public String timer;

public void onUpdate(Context context, AppWidgetManager
appWidgetManager, int[] appWidgetIds) {
Log.d(TAG, "onUpdate");
this.timer = "yeahh";
}

public void onDeleted(Context context, int[] appWidgetIds) {
Log.d(TAG, "onDeleted");
Log.d(TAG, this.timer);
}

}

At thise line 20 timer is null even though it was sucessuflly defined
as "yeahh" when the onUpdate() was called... where is that error?

Thanks a lot!

desperately,
Jonas

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



[android-beginners] Re: Android 1.6 SDK is here!

2009-10-22 Thread knightsarm...@gmail.com

i am in need of help. i am trying to download android1.5 or 1.6 to my
phone, but i cant access it through my phone. do i need to download it
to my computer then to my phone? if so how do i do that?

On Sep 15, 6:22 pm, Xavier Ducrohet  wrote:
> http://android-developers.blogspot.com/2009/09/android-16-sdk-is-here...
>
> Enjoy!
> --
> Xavier Ducrohet
> Android Developer Tools Engineer
> Google Inc.

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



[android-beginners] Mounting sdcard in Emulator

2009-10-22 Thread Tom

I cant seem to mount a SDcard image to the emulator.

I have create and image in Command Prompt using the command
mkscard 1024m sdcard.iso

I have also placed -sdcard C:\path\to\image\sdcard.iso in Addidtional
Emulator Commad Line Options for the emulator in eclipse.

When i launch the emulator i get the following error
10-22 11:34:36.047: ERROR/vold(534): Cannot start volume '/
sdcard' (volume is not bound)

I have searched i cant seem to find anyone who has had the same
problem. Please can someone help me.

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



[android-beginners] GLSurfaceView Activity Lifecycle problems

2009-10-22 Thread Zorro666

In SDK 1.5

I have a simple GLSurfaceView app which is not working when I use the
home key to pause it.  If I use the back key then all is fine (onStop
() and onDestroy() get called). Pressing HOME just calls the onPause()
function.

The problem appears to be the onPause() call is not terminating the
glThread.  On successive restarts of the app after pressing the home
key then I get an extra glThread per run. Only the first run of the
app leads to proper rendering.

I have implemented the most basic GLSurfaceView app from here
(changing the clear colour to pink):

http://android-developers.blogspot.com/2009/04/introducing-glsurfaceview.html

and I get the same problem.  If I press the HOME key then restart the
app on the second run the graphics rendering is not active i.e. the
screen stays black instead of pink.

Any suggestions on how to handle the onPause() function properly when
using a GLSurfaceView.  I am calling the onPause() function in the
GLSurfaceView member but that isn't enough.  It feels like I need to
wait for the render thread to finish or process the pause command or
even force it to exit somehow?

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



[android-beginners] language changed automatically after upgrade

2009-10-22 Thread shujon

Hi, I bought myself a dev phone with SDK 1.5 on it.

I live in Germany - recently upgraded to the SDK 1.6 and suddenly all
the system language became German! How to keep the english as system
language when upgrading?

Any Hellp would be much appreciated,

Best,

Arefin

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



[android-beginners] Drawing on top of a camera preview

2009-10-22 Thread Hack

Using the camera preview example as a starting point, I've managed to
get my application displaying what my camera is focused on, but I'm
running in to some problems when I try to draw overlays.

I'm able to get the camera preview working with a surface of type
SURFACE_TYPE_PUSH_BUFFERS, but the documentation tells me I'm not
allowed to lock (and subsequently modify) that type of buffer.
Because I can't get a surface of any other type to receive the camera
preview, I can't figure out how draw on the same surface the camera is
modifying.

I've looked in to copying the camera surface to another, modifiable
surface, but haven't had any luck with that.

Does anyone have any tips or info?
Thanks.

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



[android-beginners] Re: Alternative Dev Guide Formats

2009-10-22 Thread Corey

Thanks again for such a prompt and helpful response.

I've been looking for a method of requesting features of Android, and
I'm coming up short on where I could submit the request for the
documentation to be made available in multiple formats.

Any ideas?

Thanks again,
   Corey

On Oct 21, 10:42 am, Justin Anderson  wrote:
> Hmmm... the developer must have removed it from the Market.  Other than that
> app, which apparently isn't available anymore, I don't know of anything.

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



[android-beginners] Re: Radio Transmitter

2009-10-22 Thread Roman ( T-Mobile USA)

I assume that you have your own HW which is equipped with a
transmitter/receiver for the range 380-450 Mhz, correct?
Transmitter/Receiver of this range have a reachability of maybe 500
meters max.

It would be helpful if you could give some more information about the
HW you are using and which software support comes with the HW.

Furthermore I suggest to ask your question in the android-porting
group because based on the information I got out of your posts is,
that you have to do some lower level development (accessing the radio
interface of your transmitter/receiver, driver interface,).

The Android platform right now only supports Wifi, cellular and
bluetooth radios. Support of radios in the 433Mhz range would have to
be added.



--
Roman Baumgaertner
Sr. SW Engineer-OSDC
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.



On Oct 21, 8:43 pm, aggie_hellcat2009  wrote:
> Which is the best method for transmitting and receiving signals at 433
> Mhz? This frequency is not the same as the phone network. The device
> that I am transmitting to does not have bluetooth or Wifi either.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Ad test problem in app with AdMob

2009-10-22 Thread Steve

I always use ADMOB_PUBLISHER_ID as the publisher ID (not "test"), and
since you have 2 errors related to an empty user id, that might be
worth trying.




Also it might be bette to post this question to AdMob's publisher
group at

http://groups.google.com/group/admob-publisher-discuss


On Oct 21, 11:03 am, erick nicolas  wrote:
> Hi,
>
> I've got a problem with my Android app. It doesn't show test ad and I
> don't understand why.
>
> Here is my java code:
>
> package org.ifies.android;
>
> import android.app.Activity;
> import android.graphics.Color;
> import android.os.Bundle;
> import android.widget.TableLayout;
> import android.widget.TableRow;
> import android.widget.TextView;
> import com.admob.android.ads.AdManager;
> import com.admob.android.ads.AdView;
>
> public class AdmobExample extends Activity{
>       private TextView example_message;
>       private AdView example_adview;
>
>   @Override
>   public void onCreate(Bundle savedInstanceState) {
>     super.onCreate(savedInstanceState);
>     this.setContentView(R.layout.main);
>
>     example_adview = (AdView) findViewById(R.id.ad);
>     example_adview.setVisibility(AdView.VISIBLE);
>
>     example_message = (TextView) findViewById(R.id.example_message);
>     example_message.setVisibility(TextView.VISIBLE);
>   //  example_message.setText("This is an example of AdMob for
> Android");
>
>   }
>
> }
>
> Here my xml layout
>
>     xmlns:android="http://schemas.android.com/apk/res/android";
>    xmlns:app="http://schemas.android.com/apk/res/org.ifies.android";
>    android:orientation="vertical"
>    android:layout_width="fill_parent"
>    android:layout_height="fill_parent"
>    android:layout_gravity="bottom">
>
>             android:id="@+id/example_message"
>        android:layout_width="wrap_content"
>        android:layout_height="wrap_content"
>        android:text="TextView"
>        android:layout_weight="1" />
>
>                android:id="@+id/ad"
>           android:visibility="gone"
>           android:layout_width="fill_parent"
>           android:layout_height="wrap_content"
>           android:layout_alignParentBottom="true"
>           app:backgroundColor="#FF"
>           app:textColor="#00"
>           app:keywords="Android game"
>
>           app:testing="true"
>         />
>
> 
>
> Here is the AndroidManifest.xml
>
> 
> http://schemas.android.com/apk/res/android";
>       package="org.ifies.android"
>       android:versionCode="1"
>       android:versionName="1.0">
>     
>                            android:label="@string/app_name">
>             
>                 
>                  android:name="android.intent.category.LAUNCHER" />
>             
>         
>          android:name="Test" />
>     
>     
>     
>
> 
>
> And here is the logcat when app starts
>
> 10-21 17:57:25.064: INFO/AdMob SDK(722): The user ID is null
> 10-21 17:57:25.124: DEBUG/AdMob SDK(722): Publisher ID read from
> AndroidManifest.xml is null
> 10-21 17:57:25.144: ERROR/AdMob SDK(722): Could not read
> ADMOB_PUBLISHER_ID meta-data from AndroidManifest.xml.
> 10-21 17:57:25.144: ERROR/AdMob SDK(722):
> java.lang.NullPointerException
> 10-21 17:57:25.144: ERROR/AdMob SDK(722):     at
> com.admob.android.ads.AdManager.getPublisherId(AdManager.java:157)
> 10-21 17:57:25.144: ERROR/AdMob SDK(722):     at
> com.admob.android.ads.AdRequester.buildParamString(AdRequester.java:
> 184)
> 10-21 17:57:25.144: ERROR/AdMob SDK(722):     at
> com.admob.android.ads.AdRequester.requestAd(AdRequester.java:67)
> 10-21 17:57:25.144: ERROR/AdMob SDK(722):     at
> com.admob.android.ads.AdView$1.run(AdView.java:317)
> 10-21 17:57:25.244: WARN/AdMob SDK(722): Could not get ad from AdMob
> servers.
> 10-21 17:57:25.244: WARN/AdMob SDK(722):
> java.lang.IllegalStateException: Publisher ID is not set!  To serve
> ads you must set your publisher ID assigned fromwww.admob.com.
> Either add it to AndroidManifest.xml under the  tag or
> call AdManager.setPublisherId().
> 10-21 17:57:25.244: WARN/AdMob SDK(722):     at
> com.admob.android.ads.AdRequester.buildParamString(AdRequester.java:
> 188)
> 10-21 17:57:25.244: WARN/AdMob SDK(722):     at
> com.admob.android.ads.AdRequester.requestAd(AdRequester.java:67)
> 10-21 17:57:25.244: WARN/AdMob SDK(722):     at
> com.admob.android.ads.AdView$1.run(AdView.java:317)
> 10-21 17:57:25.264: INFO/AdMob SDK(722): Server replied that no ads
> are available (141ms)
>
> I'm developing with Eclipse, Android SDK 1.5 under Kubuntu.
>
> Can anyone help me please?
>
> Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~

[android-beginners] Re: Database Retrieval in Android

2009-10-22 Thread RichardC

Notepad in samples
android-sdk-windows-1.6_r1\platforms\android-1.6\samples\NotePad

is a good example of using SQLite through a content provider.

Hopefully someone else will come along with a simpler example.

--
RichardC

On Oct 22, 5:10 pm, Maxood  wrote:
> I need a simple example to retrieve data from sqlite database and show
> it in a TextView. Could someone refer me a tutorial or a sample
> please? Thank you
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Error early in development

2009-10-22 Thread hawksd20

I was just going under advanced options in the properties of My
Computer. I did what you said and my HOMEDRIVE is C: and my HOMEPATH
is \Users\Derrick
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: AdMobExample no visibility ad

2009-10-22 Thread erick nicolas

I solve it!
The problem wan in AndroidManifest.xml in line
Code :


Test is my AdMob campain name and here is the attribute name from
publisher id.

Here is the correct line


Thnkx


On Oct 5, 6:52 pm, erick nicolas  wrote:
> Hi
> I don't understand why my app don't show test ad. It's only show text
> view. Here is:
>
> -layout
>
>          xmlns:android="http://schemas.android.com/apk/res/android";
>         xmlns:app="http://schemas.android.com/apk/res/org.ifies.android";
>     android:layout_width="fill_parent"
>     android:layout_height="fill_parent">
>
>              android:layout_width="fill_parent"
>         android:layout_height="fill_parent" >
>
>                    android:id="@+id/ad"
>           android:visibility="gone"
>           android:layout_width="fill_parent"
>           android:layout_height="wrap_content"
>           android:layout_alignParentBottom="true"
>           app:backgroundColor="#00"
>           app:textColor="#FF"
>           app:keywords="Android game"
>           app:testing="true"
>         />
>                          android:id="@+id/example_message"
>                 android:layout_width="wrap_content"
>                 android:layout_height="wrap_content"
>                 android:text="@string/lunar_layout_text_text"
>                 android:layout_weight="1" />
>
>      
> 
>
> -attars.xml
>
> 
> 
>         
>                 
>                 
>                 
>                 
>                 
>                 
>         
> 
>
> -app.java
>
> package org.ifies.android;
>
> import android.app.Activity;
> import android.graphics.Color;
> import android.os.Bundle;
> import android.widget.TableLayout;
> import android.widget.TableRow;
> import android.widget.TextView;
> import com.admob.android.ads.AdManager;
> import com.admob.android.ads.AdView;
>
> public class AdmobExample extends Activity{
>           private TextView example_message;
>           private AdView example_adview;
>
>   @Override
>   public void onCreate(Bundle savedInstanceState) {
>     super.onCreate(savedInstanceState);
>     this.setContentView(R.layout.main);
>
>     example_adview = (AdView) findViewById(R.id.ad);
>     example_adview.setVisibility(AdView.VISIBLE);
>
>     example_message = (TextView) findViewById(R.id.example_message);
>     example_message.setVisibility(TextView.VISIBLE);
>
>   }
>
> }
>
> -Manifest
>
> 
> http://schemas.android.com/apk/res/android";
>       package="org.ifies.android"
>       android:versionCode="1"
>       android:versionName="1.0">
>     
>          android:name="Default" />
>                            android:label="@string/app_name">
>             
>                 
>                  android:name="android.intent.category.LAUNCHER" />
>             
>         
>     
>     
>     
>
> 
>
> I'm developing under Kubuntu,Eclipse and Android SDK 1.5
>
> What's wrong??
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Database Retrieval in Android

2009-10-22 Thread Maxood

I need a simple example to retrieve data from sqlite database and show
it in a TextView. Could someone refer me a tutorial or a sample
please? Thank you
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Poor Documentation

2009-10-22 Thread Indicator Veritatis

It is both -- and neither. Yes, the API docs in the Reference Tab can
be amazingly terse at times. But on the more fundamental classes/
interfaces, they are not so terse. So "absolute sham" is certainly an
overstatement. Take a a look. for example, at the documentation on
Context or on TextView.

Now in your example, the reason it is so terse is perhaps merely that
the functions you list are all accessor functions, named following the
very common Java convention. This then, would be yet another example
of how Android expects you to have a fairly good acquaintance with
Java. There is not a whole lot to say about what 'getMaximumRange()'
returns. Obviously,it returns a maximum range. Less obvious is what
the units are; but it worst comes to worst, you can figure that out by
actually using the accessor.

Also, the latest version (1.6) does say a little more than you give
credit for: it actually says, "maximum range of the sensor in the
sensor's unit." Now saying "in the sensor's unit" may sound hopelessly
non-committal, but it reminds the reader of an important point: the
units are hardware dependent. So they cannot be documented in more
detail here.

On Oct 22, 2:00 am, gmseed  wrote:
> Is it me or is the Android Developer Reference documentation an
> absolute sham?
>
> Take the Sensor page, which lists the public methods:
>
> float   getMaximumRange()
> String  getName()
> float   getPower()
> float   getResolution()
> int     getType()
> String  getVendor()
> int     getVersion()
>
> Not a single comment as to what these do. Readers must be expected to
> be mind readers.
>
> Then take SensorListener, which provides a few comments on the
> accelermoeter, magnetic and orientation sensors but no mention of the
> other sensors.
>
> When I run an application with onSensorChanged  (int sensor, float[]
> values) it outputs 6 values and not 3 as the documentation would
> suggest.
>
> Etc, etc,
>
> Developers are expected to fish around and use guess work to try and
> figure out what's actually going on.
>
> Working with 4x4 rotation axis matrices is tricky stuff and needs
> detailed explanations.
>
> With all of Google's backing you'd think the documentation would be
> excellent.
>
> Consider the alternative system of Qt by Trolltech. The "Assitant"
> documentation is excellent and has led to a big take up of Qt. If
> Google wants developers to get up to speed fast on Android then they
> should phone the Trollech documenting team asap.
>
> I gather from reading previous posts that this documentation issue is
> not new and has been around since the start of Android. Clearly then
> somebody at Google has a strange idea as to what documenting an API
> means.
>
> The Android system is amazing but really let down by its developer
> documentation.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Error early in development

2009-10-22 Thread RichardC

Did you open a command prompt and type

set

it should list about 2 pages of environment variables?

You will need a response from someone using Windows 7 to see if it
works for them I am still on XP.

--
RichardC

On Oct 22, 2:54 pm, hawksd20  wrote:
> I am on Windows 7 and I don't have the environment variables of
> HOMEDRIVE or HOMEPATH, I added the path to the tools folder under Path
> in the system variables section but that is all I changed. Do you
> think it could be a problem with Windows 7 not being compatible?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Run the Previous Activity

2009-10-22 Thread shobhit kasliwal
Thank you Naveen for your  help
I'lll try this model but I have one more question
onButton   do a Finish
what does that mean ?
How can i do that if I dont use finish in button click event.


Thanks
Shobhit Kasliwal

On Thu, Oct 22, 2009 at 12:16 AM, Naveen Krishna Ch  wrote:

> This should be working
> Activity 1   Activity 2
>
> onCreate
> onStart <-
> onButton ---> onCreate/ |
> onStart |
> onButtondo a finish|
> onDestroy> finish()-->|
> onDestroy i will be out of ur app
>
>
>
> 2009/10/22 shobhit kasliwal 
>
>> Thanks for the reply
>> but if I do that .then how can I finish activity on button click event
>> ?
>> And also My problem is on the previous activity coz I am getting to the
>> previous activity from button click event on the new activity but I am not
>> able to do any event on the previous activity after that.
>> So how can I do that ..??
>>
>>
>>  On Thu, Oct 22, 2009 at 12:02 AM, Naveen Krishna Ch > gmail.com> wrote:
>>
>>>  Add a onDestroy or onPause in the 2nd activity,
>>> and do a finish there..
>>>
>>> 2009/10/22 Shobhit Kasliwal 
>>>

 Hi
 I am using tabbed Activity and Inside every tab I have different
 activities. on one of the activity (inside tabs) on click of a button
 I am starting a new activity(with a button it )  now I want to come
 back on previous activity on click of that button in new Activity and
 do some click events.
 I used the finish() on the new activity and I am getting back to the
 previous tabbed activity but I am not able to do any click event on
 that activity.
 I checked the Logs and it is saying that " No Window to dispatch
 pointer 1"  what can be the problem  ?
 I also tried opening a new activity (to open the previous tabbed
 activity) but still no luck.
 can anyone suggest me any alternate way of doing that


>>>
>>>
>>> --
>>> Shine bright,
>>> (: Naveen Krishna Ch :)
>>>
>>>
>>>
>>>
>>
>>
>> --
>> Shobhit Kasliwal
>> Application Developer Intern
>> Liventus Designs
>> 3400 Dundee Rd Northbrook IL 60062
>> skasli...@liventus.com
>> office: 847-291-1395 ext. 192
>> Cell: (309) 826 4709
>>
>> Charles de 
>> Gaulle - 
>> "The better I get to know men, the more I find myself loving dogs."
>>
>>
>>
>> --
>> Shine bright,
>> (: Naveen Krishna Ch :)
>>
>> >>
>>


-- 
Shobhit Kasliwal
Application Developer Intern
Liventus Designs
3400 Dundee Rd Northbrook IL 60062
skasli...@liventus.com
office: 847-291-1395 ext. 192
Cell: (309) 826 4709

Joan Crawford
- "I, Joan Crawford, I believe in the dollar. Everything I earn, I
spend."

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



[android-beginners] Re: Error early in development

2009-10-22 Thread hawksd20

I am on Windows 7 and I don't have the environment variables of
HOMEDRIVE or HOMEPATH, I added the path to the tools folder under Path
in the system variables section but that is all I changed. Do you
think it could be a problem with Windows 7 not being compatible?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Is your Android app on Archos Market ?

2009-10-22 Thread Jeffrey Blattman




On 10/22/09 1:31 AM, arnouf wrote:

  
Hi Jeffrey,

On 20 oct, 17:29, Jeffrey Blattman  wrote:
  
  
some comments on the appslib market,

1. no way to unpublish an app?

  
  Yes you have. When you created an application, you have a link at the
bottom to add release or unpublish release (one ar all)
  

i see a link to "deactive all releases" (it actually says "desactive
all releases"), but it doesn't delete the app from the store. it just
deactivates it. that means the app is still on your servers i assume.

  
2. no way to unpublish an app release?

  
  see response above
  

see my response above.

  
3. no way to edit an app release (comments, binary, or anything else)

  
  You have an input box to indicate comments
  

really where? after i publish the release, the only thing i can click
on is the "publish/unpublish" link.

  


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

  


-- 





[android-beginners] Re: Poor Documentation

2009-10-22 Thread Eric Fortin
I'd like to see user submitted examples... like the PHP API website.

On Thu, Oct 22, 2009 at 8:58 AM, jax  wrote:

>
> Yes - as a beginner it is especially frustrating.  Actually some of
> the documentation is missing especially on the XML attributes for
> shapes etc.
>
> I think what the documentation needs is an example of how you might
> use it like the PHP docs have.
>
> So at the bottom of each class there will be a demo of how to use the
> basic features.  For me this just makes the whole process of learning
> and getting your head around the concepts that much easier.
>
> I would also like to see a seperate XML section devoted to using XML
> in android.
>
> -jack
>
>
>
> On Oct 22, 5:09 pm, Sean Hodges  wrote:
> > On Thu, Oct 22, 2009 at 10:00 AM, gmseed  wrote:
> >
> > > Take the Sensor page, which lists the public methods:
> >
> > > float   getMaximumRange()
> > > String  getName()
> > > float   getPower()
> > > float   getResolution()
> > > int getType()
> > > String  getVendor()
> > > int getVersion()
> >
> > > Not a single comment as to what these do. Readers must be expected to
> > > be mind readers.
> >
> > From the developer docs:
> >
> > public float getMaximumRange ()
> > Since: API Level 3
> > Returns
> > * maximum range of the sensor in the sensor's unit.
> >
> > public String getName ()
> > Since: API Level 3
> > Returns
> > * name string of the sensor.
> >
> > public float getPower ()
> > Since: API Level 3
> > Returns
> > * the power in mA used by this sensor while in use
> >
> > public float getResolution ()
> > Since: API Level 3
> > Returns
> > * resolution of the sensor in the sensor's unit.
> >
> > public int getType ()
> > Since: API Level 3
> > Returns
> > * generic type of this sensor.
> >
> > public String getVendor ()
> > Since: API Level 3
> > Returns
> > * vendor string of this sensor.
> >
> > public int getVersion ()
> > Since: API Level 3
> > Returns
> > * version of the sensor's module.
> >
> > The comments might be terse, but I think the general info is available
> > there. As a class representing abstracted hardware, I'm not entirely
> > sure how much much info it can provide in itself. Perhaps you are
> > looking for a tutorial on the sensor framework, rather than the
> > reference docs?
> >
> >
> >
> > > Then take SensorListener, which provides a few comments on the
> > > accelermoeter, magnetic and orientation sensors but no mention of the
> > > other sensors.
> >
> > > When I run an application with onSensorChanged  (int sensor, float[]
> > > values) it outputs 6 values and not 3 as the documentation would
> > > suggest.
> >
> > I do agree that the documentation does not often follow the latest
> > API, some documentation becomes out of date. I suspect the extra 3
> > values were added to support new devices on the market, and the docs
> > have not been updated to reflect that. There's no good excuse for it;
> > but flagging the omissions up in the Android bug tracker will
> > hopefully get the issue raised and resolved for future developers...
> >
> >
> >
> > > I gather from reading previous posts that this documentation issue is
> > > not new and has been around since the start of Android. Clearly then
> > > somebody at Google has a strange idea as to what documenting an API
> > > means.
> >
> > > The Android system is amazing but really let down by its developer
> > > documentation.
> >
> > I've always found the Android documentation to be fairly good, it's
> > far from perfect but a lot better than many commercial/OSS projects
> > I've come across in the past. Having said that, I'll admit that I
> > might have just spent far too much time sifting through GTK/Python/C++
> > reference docs, and have developed a slightly skewed perspective :)
> >
>

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



[android-beginners] Re: Poor Documentation

2009-10-22 Thread jax

Yes - as a beginner it is especially frustrating.  Actually some of
the documentation is missing especially on the XML attributes for
shapes etc.

I think what the documentation needs is an example of how you might
use it like the PHP docs have.

So at the bottom of each class there will be a demo of how to use the
basic features.  For me this just makes the whole process of learning
and getting your head around the concepts that much easier.

I would also like to see a seperate XML section devoted to using XML
in android.

-jack



On Oct 22, 5:09 pm, Sean Hodges  wrote:
> On Thu, Oct 22, 2009 at 10:00 AM, gmseed  wrote:
>
> > Take the Sensor page, which lists the public methods:
>
> > float   getMaximumRange()
> > String  getName()
> > float   getPower()
> > float   getResolution()
> > int     getType()
> > String  getVendor()
> > int     getVersion()
>
> > Not a single comment as to what these do. Readers must be expected to
> > be mind readers.
>
> From the developer docs:
>
> public float getMaximumRange ()
> Since: API Level 3
> Returns
>     * maximum range of the sensor in the sensor's unit.
>
> public String getName ()
> Since: API Level 3
> Returns
>     * name string of the sensor.
>
> public float getPower ()
> Since: API Level 3
> Returns
>     * the power in mA used by this sensor while in use
>
> public float getResolution ()
> Since: API Level 3
> Returns
>     * resolution of the sensor in the sensor's unit.
>
> public int getType ()
> Since: API Level 3
> Returns
>     * generic type of this sensor.
>
> public String getVendor ()
> Since: API Level 3
> Returns
>     * vendor string of this sensor.
>
> public int getVersion ()
> Since: API Level 3
> Returns
>     * version of the sensor's module.
>
> The comments might be terse, but I think the general info is available
> there. As a class representing abstracted hardware, I'm not entirely
> sure how much much info it can provide in itself. Perhaps you are
> looking for a tutorial on the sensor framework, rather than the
> reference docs?
>
>
>
> > Then take SensorListener, which provides a few comments on the
> > accelermoeter, magnetic and orientation sensors but no mention of the
> > other sensors.
>
> > When I run an application with onSensorChanged  (int sensor, float[]
> > values) it outputs 6 values and not 3 as the documentation would
> > suggest.
>
> I do agree that the documentation does not often follow the latest
> API, some documentation becomes out of date. I suspect the extra 3
> values were added to support new devices on the market, and the docs
> have not been updated to reflect that. There's no good excuse for it;
> but flagging the omissions up in the Android bug tracker will
> hopefully get the issue raised and resolved for future developers...
>
>
>
> > I gather from reading previous posts that this documentation issue is
> > not new and has been around since the start of Android. Clearly then
> > somebody at Google has a strange idea as to what documenting an API
> > means.
>
> > The Android system is amazing but really let down by its developer
> > documentation.
>
> I've always found the Android documentation to be fairly good, it's
> far from perfect but a lot better than many commercial/OSS projects
> I've come across in the past. Having said that, I'll admit that I
> might have just spent far too much time sifting through GTK/Python/C++
> reference docs, and have developed a slightly skewed perspective :)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: bounce not working for my layout

2009-10-22 Thread jax

Hi I got it working finally.

It was a problem with calling the TextView immediately preceeding
setting it with setText().  It seems that the width() properly for the
textview had not refreshed properly. I moved the setText() into
another function and it worked!



On Oct 22, 6:53 am, Indicator Veritatis  wrote:
> Well, I am stumped. But perhaps someone would be able to offer you
> better help if you tell us a little more about your layout. You do,
> after all, seem pretty confident that it is with your layout that it
> fails. Do you really have, for example, room for all the views to fit
> in either a single row or a single column? Which one of row/column are
> you trying to lay them out in?
>
> BTW: I am assuming you changed nothing in the snippet below from the
> API demo.
>
> On Oct 20, 3:30 am, jax  wrote:
>
> > From the API demo i tried the bounce animation
>
> >         final View target = findViewById(R.id.target);
> >         final View targetParent = (View) target.getParent();
>
> >         Animation a = new TranslateAnimation(0.0f,
> >                 targetParent.getWidth() - target.getWidth() -
> > targetParent.getPaddingLeft() -
> >                 targetParent.getPaddingRight(), 0.0f, 0.0f);
> >         a.setDuration(1000);
> >         a.setStartOffset(300);
> >         a.setRepeatMode(Animation.RESTART);
> >         a.setRepeatCount(Animation.INFINITE);
>
> > The problem is that this does not work with my layout.  I finally got
> > working but had to hard code a value for:
>
> > targetParent.getWidth() - target.getWidth() -
> > targetParent.getPaddingLeft() - targetParent.getPaddingRight()
>
> > I don't like hard coding this in but it is the only way I could get it
> > to work.  My View is inside a LinearLayout and I put a padding of
> > 10dip.
>
> > Any ideas?
>
>
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Android experts: a template for the life cycle

2009-10-22 Thread jax

Hi, below I have a template of the main life cycle of an android
program.  I am now at the stage that I need to start thinking about
where the best place to do things are.  Can someone with a good
knowledge of best practices in Android development please copy an
paste the following comments in their respective place in the
template.  Also if you can think of other things that should be done
put them in also.  This would be a great help, cheers.

 //open a database db.open()
 //close a database db.close()
 //getDefaultSharedPreferences
 //Bind to a service
 //Unbind from a service
 //open Text to Speech library tts.
 //closeText to Speech library tts mTts.shutdown().
 //Create event listeners for Views
 //Register a broadcast receiver
 //unregister a receiver
 //save activity state
 //restore activity state


public class Template extends Activity {

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
//set the layout
//get the views
}

@Override
protected void onStart() {
super.onStart();

}

@Override
protected void onResume() {
super.onResume();

}

@Override
protected void onRestart() {
super.onRestart();

}

@Override
protected void onPause() {
super.onPause();

}

@Override
protected void onStop() {
super.onStop();

}

@Override
protected void onDestroy() {
super.onDestroy();

}

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



[android-beginners] Re: "unknown socket error " Is anyone know this error??

2009-10-22 Thread Sean Hodges

On Thu, Oct 22, 2009 at 7:50 AM, GreenRiver  wrote:
>
> Althougt i have added " android:name="android.permission.INTERNET" /> " in AndroidManifest.xml
> file but still appears error. I got output in textview "Error: Host is
> unresolve: www.helloandroid.com:80"
>
> Is any ideas?

In addition to what has already been said, there is also a frequently
discussed issue with DNS resolving in the Android emulator.

Try replacing your URL with the corresponding IP address, to avoid DNS
resolving. In your case, you want "208.70.146.180":

url = new URL("http://208.70.146.180/";);
InputStream mystream = null;
try{
mystream = url.openStream();
}
catch (SocketException e)
{
tv.setText("Error: " + e.getMessage());
}

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



[android-beginners] Re: Is your Android app on Archos Market ?

2009-10-22 Thread Sean Hodges

On Thu, Oct 22, 2009 at 9:35 AM, arnouf  wrote:
> >
> > Definitely a showstopper. Additionally there is the 
> > allegationhttp://groups.google.com/group/android-discuss/browse_frm/thread/4d5c...
>
> Hi,
>
> I'm not an Archos employee and I read this message two.
> I have no information about that, but I think that Archos has no
> interest to play this type of game if they want their place on Android
> business !
>
> Arnaud

I have to admit that as long as this allegation appears to be
authentic (I checked the data files that Al refers to myself) - I have
no interest in using or promoting the services of a company that
behaves in this way. I will continue to support the other markets
available to the Archos device (AndAppStore, SlideME, Handango, etc)
and promote them instead of AppsLib until this issue is resolved.

Additionally, I worry that Archos have harmed their reputation with
their actions. I for one would definitely think twice now before
getting into a contractual agreement with Archos, with the worry that
they might decide to ignore any NDA and steal my software as well.

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



[android-beginners] Re: Poor Documentation

2009-10-22 Thread Sean Hodges

On Thu, Oct 22, 2009 at 10:00 AM, gmseed  wrote:
>
> Take the Sensor page, which lists the public methods:
>
> float   getMaximumRange()
> String  getName()
> float   getPower()
> float   getResolution()
> int     getType()
> String  getVendor()
> int     getVersion()
>
> Not a single comment as to what these do. Readers must be expected to
> be mind readers.

>From the developer docs:


public float getMaximumRange ()
Since: API Level 3
Returns
* maximum range of the sensor in the sensor's unit.

public String getName ()
Since: API Level 3
Returns
* name string of the sensor.

public float getPower ()
Since: API Level 3
Returns
* the power in mA used by this sensor while in use

public float getResolution ()
Since: API Level 3
Returns
* resolution of the sensor in the sensor's unit.

public int getType ()
Since: API Level 3
Returns
* generic type of this sensor.

public String getVendor ()
Since: API Level 3
Returns
* vendor string of this sensor.

public int getVersion ()
Since: API Level 3
Returns
* version of the sensor's module.


The comments might be terse, but I think the general info is available
there. As a class representing abstracted hardware, I'm not entirely
sure how much much info it can provide in itself. Perhaps you are
looking for a tutorial on the sensor framework, rather than the
reference docs?


>
> Then take SensorListener, which provides a few comments on the
> accelermoeter, magnetic and orientation sensors but no mention of the
> other sensors.
>
> When I run an application with onSensorChanged  (int sensor, float[]
> values) it outputs 6 values and not 3 as the documentation would
> suggest.

I do agree that the documentation does not often follow the latest
API, some documentation becomes out of date. I suspect the extra 3
values were added to support new devices on the market, and the docs
have not been updated to reflect that. There's no good excuse for it;
but flagging the omissions up in the Android bug tracker will
hopefully get the issue raised and resolved for future developers...

>
> I gather from reading previous posts that this documentation issue is
> not new and has been around since the start of Android. Clearly then
> somebody at Google has a strange idea as to what documenting an API
> means.
>
> The Android system is amazing but really let down by its developer
> documentation.

I've always found the Android documentation to be fairly good, it's
far from perfect but a lot better than many commercial/OSS projects
I've come across in the past. Having said that, I'll admit that I
might have just spent far too much time sifting through GTK/Python/C++
reference docs, and have developed a slightly skewed perspective :)

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



[android-beginners] Re: "unknown socket error " Is anyone know this error??

2009-10-22 Thread Chaiyasit T
Hi,

I think the problem was about the url convention, Here is my example:

*  private static final String URL = "
http://www.codemobiles.com/nusoap/samples/authen_ws.php";;

you see full source code of my example from Exam: Web Service Client for
Android SDK 
Ver-1.1,1.5,1.6<%20%20private%20static%20final%20String%20URL%20=%20%22http://www.codemobiles.com/nusoap/samples/authen_ws.php%22;>
*
Note: any result, please let me know too. :)

Chaiyasit T.
www.codemobiles.com*
*
On Thu, Oct 22, 2009 at 4:00 PM, GreenRiver  wrote:

>
> what does it means?
>
> On Oct 22, 2:37 pm, Samuh  wrote:
> > you get that error if you are sitting behind a proxy...
> >
> > On Oct 22, 11:50 am, GreenRiver  wrote:
> >
> >
> >
> > > Althougt i have added " > > android:name="android.permission.INTERNET" /> " in AndroidManifest.xml
> > > file but still appears error. I got output in textview "Error: Host is
> > > unresolve:www.helloandroid.com:80"
> >
> > > Is any ideas?
> >
>

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



[android-beginners] Re: Error early in development

2009-10-22 Thread RichardC

What platform are you developing on?

If Windows what at the environment variables HOMEDRIVE and HOMEPATH
set to?

--
RichardC

On Oct 22, 2:09 am, hawksd20  wrote:
> Does anyone know how to fix this? I've tried reinstalling and
> installing in different locations on my computer and I can't find
> anything about the user.home property online and it is very
> frustrating because I would like to start developing android apps but
> I can't even start.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Poor Documentation

2009-10-22 Thread gmseed

Is it me or is the Android Developer Reference documentation an
absolute sham?

Take the Sensor page, which lists the public methods:

float   getMaximumRange()
String  getName()
float   getPower()
float   getResolution()
int getType()
String  getVendor()
int getVersion()

Not a single comment as to what these do. Readers must be expected to
be mind readers.

Then take SensorListener, which provides a few comments on the
accelermoeter, magnetic and orientation sensors but no mention of the
other sensors.

When I run an application with onSensorChanged  (int sensor, float[]
values) it outputs 6 values and not 3 as the documentation would
suggest.

Etc, etc,

Developers are expected to fish around and use guess work to try and
figure out what's actually going on.

Working with 4x4 rotation axis matrices is tricky stuff and needs
detailed explanations.

With all of Google's backing you'd think the documentation would be
excellent.

Consider the alternative system of Qt by Trolltech. The "Assitant"
documentation is excellent and has led to a big take up of Qt. If
Google wants developers to get up to speed fast on Android then they
should phone the Trollech documenting team asap.

I gather from reading previous posts that this documentation issue is
not new and has been around since the start of Android. Clearly then
somebody at Google has a strange idea as to what documenting an API
means.

The Android system is amazing but really let down by its developer
documentation.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: "unknown socket error " Is anyone know this error??

2009-10-22 Thread GreenRiver

what does it means?

On Oct 22, 2:37 pm, Samuh  wrote:
> you get that error if you are sitting behind a proxy...
>
> On Oct 22, 11:50 am, GreenRiver  wrote:
>
>
>
> > Althougt i have added " > android:name="android.permission.INTERNET" /> " in AndroidManifest.xml
> > file but still appears error. I got output in textview "Error: Host is
> > unresolve:www.helloandroid.com:80"
>
> > Is any ideas?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Trouble with a cursor

2009-10-22 Thread RichardC

I would say that it was the format of your query.  Is one of your
parameters a string and would need quoting, is the time format correct
etc?

Try replacing your parameterised query with a simple string (with no
parameters) that you have previously tested in the SQLite shell.  Then
start putting back one parameter at a time and test each time.

Hope this helps

--
RichardC

On Oct 22, 8:02 am, brucko  wrote:
> Thanks, but I tried that earlier. moveToFirst() also calls count() and
> results in same error ... sigh
>
> On Oct 22, 5:08 pm, zhen guo  wrote:
>
> > before getCount,  you should add cursor.moveToFirst().
>
> > On Thu, Oct 22, 2009 at 1:05 PM, brucko  wrote:
>
> > > I'm having trouble with a SQLite database that I have on the SDCard.
>
> > > when I do a query that returns a cursor I keep getting an error when i
> > > try to call the count() method.
>
> > > Here's the code
>
> > > Cursor cursor = mDb.query
> > > (LOGON_TABLE,                                        // table
> > >                                new String[] { KEY_ROW_ID },
> > >            //
> > > columns,
> > >                                KEY_USER_NAME + " = ? AND " +
> > >                                                KEY_CARRIER_ID + " = ? AND 
> > > "
> > > +
> > >                                                KEY_DEPOT + " = ? AND " +
> > >                                                KEY_TIME + " = ? AND " +
> > >                                                KEY_RUN + " = ?",
> > >                   //selection,
> > >                                new String[] { user, carrier, depot,
> > > logonTime, run },//
> > > selectionArgs,
> > >                                null, null, null,
> > >                     //
> > > groupBy, having, orderBy
> > >                                " 1
> > > ");                                                                //
> > > limit
>
> > >                if (cursor.getCount() < 1) {        <--error occurs here
> > >                         ...
> > >                }
>
> > > It  gives a datatype mismatch as a result of calling count...
>
> > > 10-22 04:20:21.330: ERROR/AndroidRuntime(15768):
> > > android.database.sqlite.SQLiteException: datatype mismatch
>
> > > 10-22 04:20:21.330: ERROR/AndroidRuntime(15768):     at
> > > android.database.sqlite.SQLiteQuery.native_fill_window(Native Method)
> > > 10-22 04:20:21.330: ERROR/AndroidRuntime(15768):     at
> > > android.database.sqlite.SQLiteQuery.fillWindow(SQLiteQuery.java:75)
> > > 10-22 04:20:21.330: ERROR/AndroidRuntime(15768):     at
> > > android.database.sqlite.SQLiteCursor.fillWindow(SQLiteCursor.java:288)
> > > 10-22 04:20:21.330: ERROR/AndroidRuntime(15768):     at
> > > android.database.sqlite.SQLiteCursor.getCount(SQLiteCursor.java:269)
> > > 10-22 04:20:21.330: ERROR/AndroidRuntime(15768):     at
> > > android.database.AbstractCursor.moveToPosition(AbstractCursor.java:
> > > 171)
> > > 10-22 04:20:21.330: ERROR/AndroidRuntime(15768):     at
> > > android.database.AbstractCursor.moveToFirst(AbstractCursor.java:248)
> > > 10-22 04:20:21.330: ERROR/AndroidRuntime(15768):     at
> > > com.paperfree.database.DatabaseService.insertLogon
> > > (DatabaseService.java:288)
> > > 10-22 04:20:21.330: ERROR/AndroidRuntime(15768):     at
> > > com.paperfree.load.LoadView$2.onServiceConnected(LoadView.java:76)
> > > 10-22 04:53:20.471: ERROR/AndroidRuntime(22252):
> > > android.database.sqlite.SQLiteException: datatype mismatch
> > > 10-22 04:53:20.471: ERROR/AndroidRuntime(22252):     at
> > > android.database.sqlite.SQLiteQuery.native_fill_window(Native Method)
> > > 10-22 04:53:20.471: ERROR/AndroidRuntime(22252):     at
> > > android.database.sqlite.SQLiteQuery.fillWindow(SQLiteQuery.java:75)
> > > 10-22 04:53:20.471: ERROR/AndroidRuntime(22252):     at
> > > android.database.sqlite.SQLiteCursor.fillWindow(SQLiteCursor.java:288)
>
> > > 10-22 04:53:20.471: ERROR/AndroidRuntime(22252):     at
> > > android.database.sqlite.SQLiteCursor.getCount(SQLiteCursor.java:269)
>
> > > 10-22 04:53:20.471: ERROR/AndroidRuntime(22252):     at
> > > com.paperfree.database.DatabaseService.insertLogon
> > > (DatabaseService.java:268)
>
> > > The database file is on the sdCard and all the columns are there, but
> > > I haven't put any data there so I am expexcting a cursor with zero
> > > rows.
>
> > > Thanks
>
>
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Is your Android app on Archos Market ?

2009-10-22 Thread arnouf

Hi,

I'm not an Archos employee and I read this message two.
I have no information about that, but I think that Archos has no
interest to play this type of game if they want their place on Android
business !

Arnaud

On 21 oct, 14:29, blindfold  wrote:
> > 1. no way to unpublish an app?
> > 2. no way to unpublish an app release?
>
> Definitely a showstopper. Additionally there is the 
> allegationhttp://groups.google.com/group/android-discuss/browse_frm/thread/4d5c...
> so there are multiple things that first need to be cleared up to gain
> a minimum of trust.
>
> On Oct 20, 5:29 pm, Jeffrey Blattman 
> wrote:
>
> > some comments on the appslib market,
>
> > 1. no way to unpublish an app?
> > 2. no way to unpublish an app release?
> > 3. no way to edit an app release (comments, binary, or anything else)
> > 4. app description doesn't maintain newlines
>
> > so yes, make sure you really want your app there, forever, before you
> > publish it.
>
> > in general, i wish "the" android market  would just facilitate this sort
> > of thing ... i know they now allow tagging by cell provider, tagging by
> > device seems a small stretch.  this proliferation of markets could
> > really dilute android. developers now have to manage their apps across N
> > markets, and users have to browse N different markets to look for apps :(
>
> > On 10/20/09 1:56 AM, arnouf wrote:
>
> > > If you  have developed or if you are developing applications, and they
> > > are on the Android Market - Great! - But these apps are only
> > > available for devices that have contracts with Google.
>
> > > Archos, a major PMP manufacturer, launched its first device on 25th of
> > > September: the Archos 5 IT. Archos has a real community of fans who
> > > are waiting for applications for their devices. This device is the
> > > first of a long product line (the first Archos phone should be
> > > available soon too!).
>
> > > It's a new opportunity for your applications to find new fans!
>
> > > You can post your apps, for free, on the Archos Market called Appslib
> > > (http://www.appslib.com).
>
> > > Today, only free applications are available for distribution on
> > > AppsLib, but Archos promises the possibility to distribute your paid
> > > apps soon !
>
> > > Don't wait : more applications, more users, more fans...and more
> > > revenue (soon)!
>
> > > Arnaud
>
> > --
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Is your Android app on Archos Market ?

2009-10-22 Thread arnouf

Hi Jeffrey,

On 20 oct, 17:29, Jeffrey Blattman  wrote:
> some comments on the appslib market,
>
> 1. no way to unpublish an app?
Yes you have. When you created an application, you have a link at the
bottom to add release or unpublish release (one ar all)
> 2. no way to unpublish an app release?
see response above
> 3. no way to edit an app release (comments, binary, or anything else)
You have an input box to indicate comments



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



[android-beginners] Join and Earn $10,000 without any cost

2009-10-22 Thread Rao Shakir

http://cancerdiseaseclassificationslive.blogspot.com/
http://cancerdiseaseclassificationslive.blogspot.com/


Hi Friends


This is Mark Scott

I would like to help you regarding,obstacles of dangerous disease that
How the people can

cure themselves or there beloved oneces against dangerous disease in
particular manners

without any  expense or hurdle.




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



[android-beginners] Re: "unknown socket error " Is anyone know this error??

2009-10-22 Thread Samuh

you get that error if you are sitting behind a proxy...

On Oct 22, 11:50 am, GreenRiver  wrote:
> Althougt i have added " android:name="android.permission.INTERNET" /> " in AndroidManifest.xml
> file but still appears error. I got output in textview "Error: Host is
> unresolve:www.helloandroid.com:80"
>
> Is any ideas?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: UrgentHelp:Play Video file when accelerometer is triggered code error:

2009-10-22 Thread Shoby

Mention the height and width in px ,dip
For example,  android:layout_height="320px" /
android:layout_height="320dip"




On Oct 17, 5:06 am, Prabakar  wrote:
> I actually drag and drop SurfaceView into main layout. Then where should i go 
> and change the sizes(height and width)? I have to change it in Properties? If 
> yes, then i changed 'layout height' and 'layout width' to 320*480 in the 
> Properties of SurfaceView, but it says error as 'Integer type not allowed'. I 
> don't know what's up with this?
>
> --- On Sat, 10/17/09, Mark Murphy  wrote:
>
> From: Mark Murphy 
> Subject: [android-beginners] Re: UrgentHelp:Play Video file when 
> accelerometer is triggered code error:
> To: android-beginners@googlegroups.com
> Date: Saturday, October 17, 2009, 4:50 AM
>
> Prabakar wrote:
> > It is very very nice sample that you have provided in vidtry code. From
> > there i picked of some of the code for my use.
> > I am going to try SurfaceView and MediaPlayer combination.
> > For that i made a code like below.,
>
> >         SurfaceView v = (SurfaceView) findViewById(R.id.SurfaceView01);
> >         SurfaceHolder h = v.getHolder();
> >         MediaPlayer mp = MediaPlayer.create(this, R.raw.myvideo);
> >         mp.setDisplay(h);
> >         mp.start();
>
> > I created a surfaceview in main.xml resource layout. But when i created
> > a SurfaceView there, it is showing it in small rectangle. How to make it
> > to full screen?
>
> The same ways you make any widget take up the full screen. For example,
> make it be the only widget in the layout and set android:layout_width
> and android:layout_height each to be fill_parent.
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://twitter.com/commonsguy
>
> Android App Developer Training:http://commonsware.com/training.html
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Trouble with a cursor

2009-10-22 Thread brucko

Thanks, but I tried that earlier. moveToFirst() also calls count() and
results in same error ... sigh

On Oct 22, 5:08 pm, zhen guo  wrote:
> before getCount,  you should add cursor.moveToFirst().
>
> On Thu, Oct 22, 2009 at 1:05 PM, brucko  wrote:
>
> > I'm having trouble with a SQLite database that I have on the SDCard.
>
> > when I do a query that returns a cursor I keep getting an error when i
> > try to call the count() method.
>
> > Here's the code
>
> > Cursor cursor = mDb.query
> > (LOGON_TABLE,                                        // table
> >                                new String[] { KEY_ROW_ID },
> >            //
> > columns,
> >                                KEY_USER_NAME + " = ? AND " +
> >                                                KEY_CARRIER_ID + " = ? AND "
> > +
> >                                                KEY_DEPOT + " = ? AND " +
> >                                                KEY_TIME + " = ? AND " +
> >                                                KEY_RUN + " = ?",
> >                   //selection,
> >                                new String[] { user, carrier, depot,
> > logonTime, run },//
> > selectionArgs,
> >                                null, null, null,
> >                     //
> > groupBy, having, orderBy
> >                                " 1
> > ");                                                                //
> > limit
>
> >                if (cursor.getCount() < 1) {        <--error occurs here
> >                         ...
> >                }
>
> > It  gives a datatype mismatch as a result of calling count...
>
> > 10-22 04:20:21.330: ERROR/AndroidRuntime(15768):
> > android.database.sqlite.SQLiteException: datatype mismatch
>
> > 10-22 04:20:21.330: ERROR/AndroidRuntime(15768):     at
> > android.database.sqlite.SQLiteQuery.native_fill_window(Native Method)
> > 10-22 04:20:21.330: ERROR/AndroidRuntime(15768):     at
> > android.database.sqlite.SQLiteQuery.fillWindow(SQLiteQuery.java:75)
> > 10-22 04:20:21.330: ERROR/AndroidRuntime(15768):     at
> > android.database.sqlite.SQLiteCursor.fillWindow(SQLiteCursor.java:288)
> > 10-22 04:20:21.330: ERROR/AndroidRuntime(15768):     at
> > android.database.sqlite.SQLiteCursor.getCount(SQLiteCursor.java:269)
> > 10-22 04:20:21.330: ERROR/AndroidRuntime(15768):     at
> > android.database.AbstractCursor.moveToPosition(AbstractCursor.java:
> > 171)
> > 10-22 04:20:21.330: ERROR/AndroidRuntime(15768):     at
> > android.database.AbstractCursor.moveToFirst(AbstractCursor.java:248)
> > 10-22 04:20:21.330: ERROR/AndroidRuntime(15768):     at
> > com.paperfree.database.DatabaseService.insertLogon
> > (DatabaseService.java:288)
> > 10-22 04:20:21.330: ERROR/AndroidRuntime(15768):     at
> > com.paperfree.load.LoadView$2.onServiceConnected(LoadView.java:76)
> > 10-22 04:53:20.471: ERROR/AndroidRuntime(22252):
> > android.database.sqlite.SQLiteException: datatype mismatch
> > 10-22 04:53:20.471: ERROR/AndroidRuntime(22252):     at
> > android.database.sqlite.SQLiteQuery.native_fill_window(Native Method)
> > 10-22 04:53:20.471: ERROR/AndroidRuntime(22252):     at
> > android.database.sqlite.SQLiteQuery.fillWindow(SQLiteQuery.java:75)
> > 10-22 04:53:20.471: ERROR/AndroidRuntime(22252):     at
> > android.database.sqlite.SQLiteCursor.fillWindow(SQLiteCursor.java:288)
>
> > 10-22 04:53:20.471: ERROR/AndroidRuntime(22252):     at
> > android.database.sqlite.SQLiteCursor.getCount(SQLiteCursor.java:269)
>
> > 10-22 04:53:20.471: ERROR/AndroidRuntime(22252):     at
> > com.paperfree.database.DatabaseService.insertLogon
> > (DatabaseService.java:268)
>
> > The database file is on the sdCard and all the columns are there, but
> > I haven't put any data there so I am expexcting a cursor with zero
> > rows.
>
> > Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---