[android-developers] Re: plz help close application

2012-01-10 Thread sparky
You should not.  Just implement the appropriate 
callbackshttp://developer.android.com/guide/topics/fundamentals/activities.html#ImplementingLifecycleCallbacks
 and 
let the OS decide when to close your activity.

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

Re: [android-developers] Re: plz help close application

2012-01-10 Thread Dhaval Varia
thanks thanks for reply
On Jan 10, 2012 7:13 PM, sparky spar...@google.com wrote:

 You should not.  Just implement the appropriate 
 callbackshttp://developer.android.com/guide/topics/fundamentals/activities.html#ImplementingLifecycleCallbacks
  and
 let the OS decide when to close your activity.

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

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

[android-developers] Re: PLZ HELP!!!! APPLICATION NOT GETTING UPLOADED ON EMULATOR

2011-11-14 Thread cellurl
Perhaps, also try some other examples first.
You didnt mention if anything worked...
Like notepad or jetboy...
-cellurl



On Nov 12, 6:16 am, Shrav ni.hat...@gmail.com wrote:
 Hi,
 I am trying to work with google map , as instructed I have got the
 certificate ,etc.
 My appl is getting compiled with NO ERRORS but the application is not
 being displayed on the emulator!!
 The emulator is running properly with its default applications,,plz
 help..

 [2011-11-12 17:41:23 - HelloMapGoogle] --
 [2011-11-12 17:41:23 - HelloMapGoogle] Android Launch!
 [2011-11-12 17:41:23 - HelloMapGoogle] adb is running normally.
 [2011-11-12 17:41:23 - HelloMapGoogle] Performing
 com.example.hellomapgoogle.HelloMapGoogle activity launch
 [2011-11-12 17:41:23 - HelloMapGoogle] Automatic Target Mode:
 launching new emulator with compatible AVD 'map_me'
 [2011-11-12 17:41:23 - HelloMapGoogle] Launching a new emulator with
 Virtual Device 'map_me'
 [2011-11-12 17:41:44 - Emulator] emulator: warning: opening audio
 output failed
 [2011-11-12 17:41:44 - Emulator]
 [2011-11-12 17:41:47 - HelloMapGoogle] New emulator found:
 emulator-5554
 [2011-11-12 17:41:47 - HelloMapGoogle] Waiting for HOME
 ('android.process.acore') to be launched...
 [2011-11-12 17:43:03 - HelloMapGoogle] HOME is up on device
 'emulator-5554'
 [2011-11-12 17:43:03 - HelloMapGoogle] Uploading HelloMapGoogle.apk
 onto device 'emulator-5554'
 [2011-11-12 17:43:08 - HelloMapGoogle] Installing
 HelloMapGoogle.apk...

 thanks in advance...

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


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

2011-10-22 Thread Divyata Panchal
i dont want to block any apps.
i want to block incoming call by particular contact number so if
person can call me he/she wont be able to call.
just like black list and white list.

On Oct 22, 2:35 pm, RAJU V kathiriraj...@gmail.com wrote:
 having some apps to block

 ~~RAJU~~
 ~~www.itdoall.co.cc~~

 On Sat, Oct 22, 2011 at 3:04 PM, Divyata Panchal 

 panchal.divyat...@gmail.com wrote:
  how to block any contact number from contact list?

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

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


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

2011-10-22 Thread Jim Graham
On Sat, Oct 22, 2011 at 03:25:16AM -0700, Divyata Panchal wrote:
 i dont want to block any apps.
 i want to block incoming call by particular contact number so if
 person can call me he/she wont be able to call.
 just like black list and white list.

If you're trying to write an app to do this, I have no idea.  If, on
the other hand, you just want an app, and posted in the wrong group
(SERIOUSLY wrong group), try an app called ADAFFIX.  It's a call
blocker that works pretty well.  Only major gripe I have is that it
lacks any real configuration, beyond a block list.  It, or something
else, also makes it call up Yellowbook after a call...if I find out
what's doing that, it's history.

There are other call blockers, too, but this is the one I found
to work the best (so far).

Later,
   --jim

-- 
THE SCORE:  ME:  2  CANCER:  0
73 DE N5IAL (/4)| This 'telephone' has too many
spooky1...@gmail.com| shortcomings to be seriously considered
 Running FreeBSD 7.0  | as a means of communication.  The device
ICBM / Hurricane:   | is inherently of no value to us.
   30.44406N 86.59909W  | (Western Union internal memo, 1876)

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

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


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

2011-10-13 Thread hongbosb
You can push your apk file into /system/app. Then this app won't be 
uninstall in usual way.
ps: You mush root your phone and remount your device using adb remount.

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

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

2011-10-12 Thread Paul Turchenko
Place your *.apk in /system/app/

On Oct 12, 6:04 am, Divyata Panchal panchal.divyat...@gmail.com
wrote:
 how to stop uninstallation of any application in android...?

 plz help..

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


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

2011-10-12 Thread JackN
or what?

On Oct 12, 10:27 am, Divyata P panchal.divyat...@gmail.com wrote:
 i want to hide my application from uninstall list in android... give some
 solution...!!!

 On Wed, Oct 12, 2011 at 4:43 PM, Mark Murphy mmur...@commonsware.comwrote:



  On Wed, Oct 12, 2011 at 7:04 AM, Divyata Panchal
  panchal.divyat...@gmail.com wrote:
   how to stop uninstallation of any application in android...?

  Build your own phone and pre-install your application.

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

  Warescription: Three Android Books, Plus Updates, One Low Price!

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

 - Show quoted text -

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


Re: [android-developers] Re: plz help...!!!

2011-09-23 Thread ashok chakravarthy
when you call stopService(service). is it throwing any errors?

On Fri, Sep 23, 2011 at 8:08 AM, Spiral123 cumis...@gmail.com wrote:


 Easy.

 sevice.stop(plz);

 On Sep 22, 1:24 pm, Divyata Panchal panchal.divyat...@gmail.com
 wrote:
  Hie.. to al Android Developers...
 
  please tell me how to stop service in one class which is already
  started in other class.
  i need to start and stop service again n again according to my
  conditions.. pl give proper syntax to stop service..
  i am using::: Intent service= new Intent(this, myService.class);
 stopService(service);
 
  but this is not working...
  please guys reply as soon as possible..

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


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

Re: [android-developers] Re: plz help...!!!

2011-09-23 Thread Vinay Julme
post your code

On Fri, Sep 23, 2011 at 11:33 AM, ashok chakravarthy ashoki...@gmail.comwrote:

 when you call stopService(service). is it throwing any errors?


 On Fri, Sep 23, 2011 at 8:08 AM, Spiral123 cumis...@gmail.com wrote:


 Easy.

 sevice.stop(plz);

 On Sep 22, 1:24 pm, Divyata Panchal panchal.divyat...@gmail.com
 wrote:
  Hie.. to al Android Developers...
 
  please tell me how to stop service in one class which is already
  started in other class.
  i need to start and stop service again n again according to my
  conditions.. pl give proper syntax to stop service..
  i am using::: Intent service= new Intent(this, myService.class);
 stopService(service);
 
  but this is not working...
  please guys reply as soon as possible..

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


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


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

Re: [android-developers] Re: plz help...!!!

2011-09-23 Thread I-Sheng Lin
Plz post ur source.
 On Sep 23, 2011 3:16 PM, Vinay Julme vinayju...@gmail.com wrote:
 post your code

 On Fri, Sep 23, 2011 at 11:33 AM, ashok chakravarthy ashoki...@gmail.com
wrote:

 when you call stopService(service). is it throwing any errors?


 On Fri, Sep 23, 2011 at 8:08 AM, Spiral123 cumis...@gmail.com wrote:


 Easy.

 sevice.stop(plz);

 On Sep 22, 1:24 pm, Divyata Panchal panchal.divyat...@gmail.com
 wrote:
  Hie.. to al Android Developers...
 
  please tell me how to stop service in one class which is already
  started in other class.
  i need to start and stop service again n again according to my
  conditions.. pl give proper syntax to stop service..
  i am using::: Intent service= new Intent(this, myService.class);
  stopService(service);
 
  but this is not working...
  please guys reply as soon as possible..

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


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


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

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

[android-developers] Re: plz help...!!!

2011-09-22 Thread Spiral123

Easy.

sevice.stop(plz);

On Sep 22, 1:24 pm, Divyata Panchal panchal.divyat...@gmail.com
wrote:
 Hie.. to al Android Developers...

 please tell me how to stop service in one class which is already
 started in other class.
 i need to start and stop service again n again according to my
 conditions.. pl give proper syntax to stop service..
 i am using::: Intent service= new Intent(this, myService.class);
                    stopService(service);

 but this is not working...
 please guys reply as soon as possible..

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


[android-developers] Re: Plz help. android emulator on eclipse

2010-07-19 Thread karteek
If you want to give your desired string go and edit the following
res-values-strings.xml hello

On Jul 19, 12:24 pm, xuxu shlomitmay...@gmail.com wrote:
 Hi all,
 I'm newbie with android and eclipse and I got this strange
 thing...when ever I'm running little program that I write on the
 emulator I'm getting: Hello android, program_name
 for example: I'm writing a little program could udp_client and I'm
 getting: Hello android, udp_client
 can someone tell me if this is the way it should be?
 thanks

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


[android-developers] Re: PLZ help !!!

2009-07-23 Thread Yusuf T. Mobile

SharedPreferences is the easiest way to store data. It's basically a
class that stores key-value pairs in a file for you. So store 10 of
those, the key being a number from 1 to 10, the value being name and
score.



Yusuf Saib
Android
·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 Jul 22, 7:00 pm, shoume mr_afr...@hotmail.com wrote:
 I needed to create a high score table.
 I looked everywhere but couldn't find any tutorial on that.
 please help me if you could,
 I looked at SQLiteDatabase but that seemed too complicated.
 I am seeking something simpler and easier.  I'm trying to make a
 table.just displaying data. it asks the user to insert his name and
 shows his name and a given score already calculated. where it only
 shows the highest 10 scores.

 any advice how to go about that?

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



[android-developers] Re: PLZ help !!!

2009-07-23 Thread ms99 ster
I have tested in the notepad excise, it worked well:

public static final String KEY_TITLE = title;
public static final String KEY_BODY = body;
public static final String KEY_ROWID = _id;
public static final String ID_SORT_ORDER = _id DESC;
public Cursor fetchAllNotes() {
return mDb.query(DATABASE_TABLE, new String[] {KEY_ROWID, KEY_TITLE,
KEY_BODY}, null, null, null, null, ID_SORT_ORDER, 5);
}


On Thu, Jul 23, 2009 at 16:53, ms99 ster ms99s...@gmail.com wrote:

 public static final String SCORE_SORT_ORDER =3D score DESC;  //orderBy
 public static final String TEN_LIMIT =3D 10; //limit

 SQLiteDatabase:query 
 (Stringhttp://developer.android.com/reference/java/lang/String.htmltable,
 String[] 
 http://developer.android.com/reference/java/lang/String.htmlcolumns,
 String 
 http://developer.android.com/reference/java/lang/String.htmlselection,
 String[] 
 http://developer.android.com/reference/java/lang/String.htmlselectionArgs,
 String http://developer.android.com/reference/java/lang/String.htmlgroupBy,
 String http://developer.android.com/reference/java/lang/String.htmlhaving,
 String http://developer.android.com/reference/java/lang/String.htmlorderBy,
 String http://developer.android.com/reference/java/lang/String.htmllimit)

 On Thu, Jul 23, 2009 at 10:00, shoume mr_afr...@hotmail.com wrote:


 I needed to create a high score table.
 I looked everywhere but couldn't find any tutorial on that.
 please help me if you could,
 I looked at SQLiteDatabase but that seemed too complicated.
 I am seeking something simpler and easier.  I'm trying to make a
 table.just displaying data. it asks the user to insert his name and
 shows his name and a given score already calculated. where it only
 shows the highest 10 scores.

 any advice how to go about that?

 thanks in advance

 



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



[android-developers] Re: plz help me for this question

2009-07-17 Thread tstanly

this web helps a lot!

http://www.curious-creature.org/2009/03/01/android-layout-tricks-3-optimize-part-1/

On 7月17日, 下午1時15分, tstanly tsai.sta...@gmail.com wrote:
 thanks!

 but I have two imagebutton,
 so use table layout seems not good idea...

 On 7月17日, 下午1時11分, Saurav Mukherjee to.saurav.mukher...@gmail.com
 wrote:



  u can try this:

  add a table layout to ur web view and then add a row with the width u want.
  put the button into the row.
  try this only if the normal setLayoutParams of the button does not work.

  hope this selps u.

  cheers!

  2009/7/17 tstanly tsai.sta...@gmail.com

   thanks for your reply,
   this method can't work,it will be first pic i draw...

   On 7月17日, 上午10時10分, rukiman ruksh...@optushome.com.au wrote:
I could be wrong but thought you could do that by simply making the
button's width WRAP_CONTENT instead of FILL_PARENT ??

On Jul 17, 11:57 am, tstanly tsai.sta...@gmail.com wrote:

 hi all,

 this is a layout issue,
 now my app's layout is this screenshot:
 ps: my btn means ImageButton

 -|
  |
  webview|
  |
 -
 btn|
 -

 now how can do this:

 -|
  |
  webview|
  |
 --   |
 btn  |  |
 -

 ple help me!!
 thanks!!- 隱藏被引用文字 -

- 顯示被引用文字 -- 隱藏被引用文字 -

  - 顯示被引用文字 -- 隱藏被引用文字 -

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



[android-developers] Re: plz help me for this question

2009-07-17 Thread Moto

Don't want to be rude but you should always make a proper title for
your post... At least a hint what your asking...
It kind of helps...  :P
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: plz help me for this question

2009-07-16 Thread tstanly

thanks for your reply,
this method can't work,it will be first pic i draw...



On 7月17日, 上午10時10分, rukiman ruksh...@optushome.com.au wrote:
 I could be wrong but thought you could do that by simply making the
 button's width WRAP_CONTENT instead of FILL_PARENT ??

 On Jul 17, 11:57 am, tstanly tsai.sta...@gmail.com wrote:



  hi all,

  this is a layout issue,
  now my app's layout is this screenshot:
  ps: my btn means ImageButton

  -|
   |
   webview|
   |
  -
  btn|
  -

  now how can do this:

  -|
   |
   webview|
   |
  --   |
  btn  |  |
  -

  ple help me!!
  thanks!!- 隱藏被引用文字 -

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



[android-developers] Re: plz help me for this question

2009-07-16 Thread Saurav Mukherjee
u can try this:

add a table layout to ur web view and then add a row with the width u want.
put the button into the row.
try this only if the normal setLayoutParams of the button does not work.

hope this selps u.

cheers!

2009/7/17 tstanly tsai.sta...@gmail.com


 thanks for your reply,
 this method can't work,it will be first pic i draw...



 On 7月17日, 上午10時10分, rukiman ruksh...@optushome.com.au wrote:
  I could be wrong but thought you could do that by simply making the
  button's width WRAP_CONTENT instead of FILL_PARENT ??
 
  On Jul 17, 11:57 am, tstanly tsai.sta...@gmail.com wrote:
 
 
 
   hi all,
 
   this is a layout issue,
   now my app's layout is this screenshot:
   ps: my btn means ImageButton
 
   -|
|
webview|
|
   -
   btn|
   -
 
   now how can do this:
 
   -|
|
webview|
|
   --   |
   btn  |  |
   -
 
   ple help me!!
   thanks!!- 隱藏被引用文字 -
 
  - 顯示被引用文字 -
 


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



[android-developers] Re: plz help me for this question

2009-07-16 Thread tstanly

thanks!

but I have two imagebutton,
so use table layout seems not good idea...

On 7月17日, 下午1時11分, Saurav Mukherjee to.saurav.mukher...@gmail.com
wrote:
 u can try this:

 add a table layout to ur web view and then add a row with the width u want.
 put the button into the row.
 try this only if the normal setLayoutParams of the button does not work.

 hope this selps u.

 cheers!

 2009/7/17 tstanly tsai.sta...@gmail.com





  thanks for your reply,
  this method can't work,it will be first pic i draw...

  On 7月17日, 上午10時10分, rukiman ruksh...@optushome.com.au wrote:
   I could be wrong but thought you could do that by simply making the
   button's width WRAP_CONTENT instead of FILL_PARENT ??

   On Jul 17, 11:57 am, tstanly tsai.sta...@gmail.com wrote:

hi all,

this is a layout issue,
now my app's layout is this screenshot:
ps: my btn means ImageButton

-|
 |
 webview|
 |
-
btn|
-

now how can do this:

-|
 |
 webview|
 |
--   |
btn  |  |
-

ple help me!!
thanks!!- 隱藏被引用文字 -

   - 顯示被引用文字 -- 隱藏被引用文字 -

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



[android-developers] Re: Plz help me getting solution for the below problem

2008-11-28 Thread sal123

Hi Micheal

#1 I dont want to use any standard protocol , i wud like to use simple
TCP sockets for connection , where the cleint will send name of file
to server and server will return corrosponding file.  i just want
small code to demonstrate this communication on android but not a
fullfledged FTP.

Thanks
Sal

On Nov 26, 8:58 pm, Michael [EMAIL PROTECTED] wrote:
  #1 chunk data here indicates some unit of bytes (may be 512, 1024 etc) . it
   would be better if you could point me to some example of such an
  application written in java which works on android

 This doesn't tell us anything at all.  By what means do you want to
 get this data?  HTTP?  FTP?

  #2 browser doesnot connect to internet by default, i am getting network
  error  when i am trying  to accesswww.google.com through android browser.
  (for your information , my host is within a firewall protected by proxy
  server) . is there any way to connect android emulator to internet in this
  scenario.

 Ah, proxy might be the issue, I don't know about using a proxy with
 the emulator, I don't have to do that.

 - michael

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



[android-developers] Re: Plz help me getting solution for the below problem

2008-11-28 Thread sal123

#1 want a simple TCP socket program, where cleint sends a request for
a file, and servers the returs requested file. i dont want any
standard protocal like FTP to b used.

On Nov 26, 8:58 pm, Michael [EMAIL PROTECTED] wrote:
  #1 chunk data here indicates some unit of bytes (may be 512, 1024 etc) . it
   would be better if you could point me to some example of such an
  application written in java which works on android

 This doesn't tell us anything at all.  By what means do you want to
 get this data?  HTTP?  FTP?

  #2 browser doesnot connect to internet by default, i am getting network
  error  when i am trying  to accesswww.google.com through android browser.
  (for your information , my host is within a firewall protected by proxy
  server) . is there any way to connect android emulator to internet in this
  scenario.

 Ah, proxy might be the issue, I don't know about using a proxy with
 the emulator, I don't have to do that.

 - michael

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



[android-developers] Re: Plz help me getting solution for the below problem

2008-11-26 Thread Michael

 #1 chunk data here indicates some unit of bytes (may be 512, 1024 etc) . it
  would be better if you could point me to some example of such an
 application written in java which works on android

This doesn't tell us anything at all.  By what means do you want to
get this data?  HTTP?  FTP?

 #2 browser doesnot connect to internet by default, i am getting network
 error  when i am trying  to accesswww.google.com through android browser.
 (for your information , my host is within a firewall protected by proxy
 server) . is there any way to connect android emulator to internet in this
 scenario.

Ah, proxy might be the issue, I don't know about using a proxy with
the emulator, I don't have to do that.

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



[android-developers] Re: Plz help me getting solution for the below problem

2008-11-25 Thread Michael

#2 happens by default, there's no special configuration.

As for #1, what is chunk data?  Most networking operations in
Android are done the same as in Java, with the Socket library.

For displaying data, why not look at the example applications included
in the source code, as well as the tutorial?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Plz help me getting solution for the below problem

2008-11-25 Thread suhail ahmed
Hi Micheal,

Thanks for your concern,

#1 chunk data here indicates some unit of bytes (may be 512, 1024 etc) . it
 would be better if you could point me to some example of such an
application written in java which works on android

#2 browser doesnot connect to internet by default, i am getting network
error  when i am trying  to access www.google.com  through android browser.
(for your information , my host is within a firewall protected by proxy
server) . is there any way to connect android emulator to internet in this
scenario.

regards
Suhail

On Tue, Nov 25, 2008 at 11:22 PM, Michael [EMAIL PROTECTED] wrote:


 #2 happens by default, there's no special configuration.

 As for #1, what is chunk data?  Most networking operations in
 Android are done the same as in Java, with the Socket library.

 For displaying data, why not look at the example applications included
 in the source code, as well as the tutorial?
 


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



[android-developers] Re: Plz help me getting solution for the below problem

2008-11-25 Thread Anonymous Anonymous
http://groups.google.com/group/android-beginners/browse_thread/thread/0ababd5e40398e49/fbdd321643bf48e1?pli=1

On Wed, Nov 26, 2008 at 11:08 AM, suhail ahmed [EMAIL PROTECTED] wrote:

 Hi Micheal,

 Thanks for your concern,

 #1 chunk data here indicates some unit of bytes (may be 512, 1024 etc) . it
  would be better if you could point me to some example of such an
 application written in java which works on android

 #2 browser doesnot connect to internet by default, i am getting network
 error  when i am trying  to access www.google.com  through android
 browser. (for your information , my host is within a firewall protected by
 proxy server) . is there any way to connect android emulator to internet in
 this scenario.

 regards
 Suhail

 On Tue, Nov 25, 2008 at 11:22 PM, Michael [EMAIL PROTECTED] wrote:


 #2 happens by default, there's no special configuration.

 As for #1, what is chunk data?  Most networking operations in
 Android are done the same as in Java, with the Socket library.

 For displaying data, why not look at the example applications included
 in the source code, as well as the tutorial?
 


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



[android-developers] Re: Plz Help!!

2008-04-07 Thread areslp

Thanks

On Apr 7, 2:13 am, Dan U. [EMAIL PROTECTED] wrote:
 I guess you might not know this, but you don't need to be using a
 Boolean. You should change it to lowercase boolean and get rid of
 all the messy t.booleanValue() calls.

 But, the reason you don't see logging output is the way you are using
 Log. You are actually trying to print an empty message (the second
 argument), and that means it won't show up in logcat output. If you
 are confused about the arguments to a log method, think of the first
 argument as a String that lets you group messages together (you can
 create a filter to filter them out of the general logcat output).
 Think of the second argument as what you actually want to see in the
 log.

 On Apr 6, 7:21 am,areslp[EMAIL PROTECTED] wrote:

  Boolean t = flags.get(position);
  Log.e( + position, getView_flag: + 
  t.booleanValue());
  if (t.booleanValue()==true) {
  Log.e(postion:true + position, );
  flags.set(position, false);
  view.reset();
  return view;
  }else if(t.booleanValue()==false){
  Log.e(postion:false + position, );
  return view;
  }else{
  Log.e(postion:else + position, );
  return view;
  }

  Log.e( + position, getView_flag: + t.booleanValue()):I can get the
  line's output ,it prints true(false)
  But I cant get Log's output in the if-else if-else block,and there is
  no error throw out,why?

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



[android-developers] Re: Plz Help!!

2008-04-07 Thread areslp

yes,it's ugly, it's just for test:)

On Apr 7, 3:16 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 Woaw, this must be one of the worst pieces of code i have recently
 seen.

 On Apr 6, 4:21 pm,areslp[EMAIL PROTECTED] wrote:

  Boolean t = flags.get(position);
  Log.e( + position, getView_flag: + 
  t.booleanValue());
  if (t.booleanValue()==true) {
  Log.e(postion:true + position, );
  flags.set(position, false);
  view.reset();
  return view;
  }else if(t.booleanValue()==false){
  Log.e(postion:false + position, );
  return view;
  }else{
  Log.e(postion:else + position, );
  return view;
  }

  Log.e( + position, getView_flag: + t.booleanValue()):I can get the
  line's output ,it prints true(false)
  But I cant get Log's output in the if-else if-else block,and there is
  no error throw out,why?

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



[android-developers] Re: Plz Help!!

2008-04-06 Thread Dan U.

I guess you might not know this, but you don't need to be using a
Boolean. You should change it to lowercase boolean and get rid of
all the messy t.booleanValue() calls.

But, the reason you don't see logging output is the way you are using
Log. You are actually trying to print an empty message (the second
argument), and that means it won't show up in logcat output. If you
are confused about the arguments to a log method, think of the first
argument as a String that lets you group messages together (you can
create a filter to filter them out of the general logcat output).
Think of the second argument as what you actually want to see in the
log.

On Apr 6, 7:21 am, areslp [EMAIL PROTECTED] wrote:
 Boolean t = flags.get(position);
 Log.e( + position, getView_flag: + 
 t.booleanValue());
 if (t.booleanValue()==true) {
 Log.e(postion:true + position, );
 flags.set(position, false);
 view.reset();
 return view;
 }else if(t.booleanValue()==false){
 Log.e(postion:false + position, );
 return view;
 }else{
 Log.e(postion:else + position, );
 return view;
 }

 Log.e( + position, getView_flag: + t.booleanValue()):I can get the
 line's output ,it prints true(false)
 But I cant get Log's output in the if-else if-else block,and there is
 no error throw out,why?

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



[android-developers] Re: Plz Help!!

2008-04-06 Thread [EMAIL PROTECTED]
Woaw, this must be one of the worst pieces of code i have recently
seen.

On Apr 6, 4:21 pm, areslp [EMAIL PROTECTED] wrote:
                         Boolean t = flags.get(position);
                         Log.e( + position, getView_flag: + 
 t.booleanValue());
                         if (t.booleanValue()==true) {
                                 Log.e(postion:true + position, );
                                 flags.set(position, false);
                                 view.reset();
                                 return view;
                         }else if(t.booleanValue()==false){
                                 Log.e(postion:false + position, );
                                 return view;
                         }else{
                                 Log.e(postion:else + position, );
                                 return view;
                         }

 Log.e( + position, getView_flag: + t.booleanValue()):I can get the
 line's output ,it prints true(false)
 But I cant get Log's output in the if-else if-else block,and there is
 no error throw out,why?

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