Re: [android-developers] Bluetooth socket send issue

2011-04-20 Thread social hub
Thanks Kris. Yes I didnt see any errors when I send message to nokia phone. Has anyone connected successfully to iphone from android over bluetooth. ? Thanks On Tue, Apr 19, 2011 at 1:46 PM, Kristopher Micinski krismicin...@gmail.com wrote: On Tue, Apr 19, 2011 at 9:15 AM, social hub

Re: [android-developers] Bluetooth socket send issue

2011-04-19 Thread social hub
a flush() on the stream... That stream is buffered, and I don't remember how, I might be off base here, but that might help. Tell us what your results are when you debug through it and find out more : ). Kris On Mon, Apr 18, 2011 at 7:48 PM, social hub shubem...@gmail.com wrote: Here

[android-developers] Bluetooth socket send issue

2011-04-18 Thread social hub
I was able to connect to nokia device over bluetooth, When I try to send a message using bluetooth socket I dont see anything on the nokia device. Does anyone know what I might be wrong. Thanks -- You received this message because you are subscribed to the Google Groups Android Developers

Re: [android-developers] Bluetooth socket send issue

2011-04-18 Thread social hub
it doesn't work, what's wrong? So a little more information would be nice :-). Kris On Mon, Apr 18, 2011 at 3:26 PM, social hub shubem...@gmail.com wrote: I was able to connect to nokia device over bluetooth, When I try to send a message using bluetooth socket I dont see anything on the nokia

Re: [android-developers] Bluetooth socket send issue

2011-04-18 Thread social hub
the socket */ public void cancel() { try { mmSocket.close(); } catch (IOException e) { } } } On Mon, Apr 18, 2011 at 5:42 PM, social hub shubem...@gmail.com wrote: Thanks Kris Sorry nokia is not a android device. mmSocket.send

[android-developers] Bluetooth connection refused

2011-04-05 Thread social hub
Hi I am trying to connect over bluetooth. after initiating connection through the app the system prompts for pairing request and it takes 1 0r 3 seconds to get to that prompt. Finally I select pair The other device also prompts for pairing request and I selected pair After these things I

[android-developers] Looking for game developer in Toronto/Ontario for 3 month project

2011-02-15 Thread social hub
If you are interested Please mail me back - 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] looking for 2d game developer in toronto/ontario

2011-01-28 Thread social hub
We are looking for 2d game developer for a small project(3 months) in Toronto/Ontario region. If you are interested please contact me Thanks Social -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Re: OpenGL lockups in 2.2

2010-09-14 Thread social hub
http://code.google.com/p/andengine/source/browse/src/org/anddev/andengine/opengl/view/GLSurfaceView.java I am not the expert but I was looking at andengine they have their modified glsurfaceview and they say something about lockup. I am not sure that's what is happening here. my 2 cents Thanks

[android-developers] setting task affinity to a intent programmatically

2010-08-02 Thread social hub
android:taskAffinity When I launch an Intent I also want to set the taskaffinity programmatically is there a method for this to accomplish ? http://developer.android.com/intl/de/reference/android/content/Intent.html I haven't found any set methods for this Please let me know how to do this

Re: [android-developers] Memory mangement - GC infinite loop

2010-07-02 Thread social hub
From what I have seen before 57 instances of *org.bouncycastle.jce.provider.X509CertificateObject*, loaded by *system class loader* occupy *268 096 (15,03%)* bytes. These instances are referenced from one instance of * java.util.HashMap$HashMapEntry[]*, loaded by *system class loader I think

Re: [android-developers] ServerSocket problem

2010-06-25 Thread social hub
do you know what's the ip address you got on the real device. There are chances the real device is on NAT network. In such a case you wont be able to talk directly to the device. On Fri, Jun 25, 2010 at 12:04 PM, Alex Xin xinxi...@gmail.com wrote: more on this problem... it works great in

Re: [android-developers] Emulator screen size is wrong

2010-06-02 Thread social hub
can u try Display display = getWindowManager().getDefaultDisplay().getMetrics(dm); dm.heightPixels. this gives absolute height. I think this is what you are after. On Wed, Jun 2, 2010 at 4:25 PM, Leigh McRae leigh.mc...@lonedwarfgames.comwrote: Hello, I created an emulator using API level 5

[android-developers] getting x and y coorinates in onclick event

2010-05-21 Thread social hub
In onclicklistener onclick how to get the x and y coordinates where its clicked. any one any ideas 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

[android-developers] android.database.StaleDataException: Access closed cursor

2010-05-18 Thread social hub
*android.database.StaleDataException: Access closed cursor* I have activity A and I used managedQuery in Activity A. I have an adpater which extends from BaseAdapter. In GetView I access the mcursor to get fields. If I click a button on Activity A it goes to B, A--- B The problem arises when

[android-developers] Re: android.database.StaleDataException: Access closed cursor

2010-05-18 Thread social hub
solution is to registerDataSetObserver and look for invalidated and changed states on cursor Once the acitivity goes to background cursor will be get deactivated and you can catch it in OnInvalidated On Tue, May 18, 2010 at 2:02 PM, social hub shubem...@gmail.com wrote

Re: [android-developers] Re: broken pipe over ssl

2010-05-13 Thread social hub
have u tested with different servers it looks like something breaking your connection. If you can test using Wifi you can sniff using wireshark and see who is breaking the connection that will be the first step to debug your issue. it may be nwk or server issue i am not sure but with the above u

Re: [android-developers] ImageView selection in Custom ListView?

2010-05-12 Thread social hub
ImageView myImage = findViewById(r.id.image) myimage.setOnClickListener() setOnClickListener is what you need On Wed, May 12, 2010 at 2:20 AM, Narendar narendardisco...@gmail.comwrote: Hi, I have developed a Custom ListView with following pattern Name |-| Age

[android-developers] which is better to use to avoid mem leaks== getbasecontext or getApplicationcontext

2010-05-11 Thread social hub
public Contexthttp://developer.android.com/reference/android/content/Context.html getApplicationContext () Since: API Level 1http://developer.android.com/guide/appendix/api-levels.html#level1 Return the context of the single, global Application object of the current process. public

Re: [android-developers] Re: [Help] how to draw multiple lines in Edittext?

2010-05-10 Thread social hub
What exactly is your problem here . getting line count 18 when u filled textbox with 18 lines? On Sat, May 8, 2010 at 12:53 AM, Vincent Tsao caojunvinc...@gmail.comwrote: @Soical Hub: thanks for your help, your suggestion inspired me a lot i finally find this way to get padding:

Re: [android-developers] Re: [Help] how to draw multiple lines in Edittext?

2010-05-07 Thread social hub
I believe you should include the height of your title bar and status bar as well. If you account for one of them i guess it will look right On Fri, May 7, 2010 at 6:54 AM, Vincent Tsao caojunvinc...@gmail.comwrote: any help? -- You received this message because you are subscribed to the

Re: [android-developers] Re: [Help] how to draw multiple lines in Edittext?

2010-05-07 Thread social hub
u can try getTop getPaddingTop as well Margins getLayoutParams and from there getting margins leftmargin you can google to find more info. With those info you can properly identify what the initial adjustment will be it can be like start from paddingtop hope it helps On Fri, May 7, 2010 at

Re: [android-developers] Adding child views

2010-05-05 Thread social hub
You basically need a context to create and possibly a layout to add TextView tv = new TextView(mContext);//context can be an activity or u can use getBaseContext(); tv.setLayoutParams(new LayoutParams(50,60));//set some height and width and it can be wrap_content or fill_parent tv.setText(hello

Re: [android-developers] Re: CheckBox in ListView

2010-05-04 Thread social hub
The issue is the ListView is recycling views to Solve For example Have an arrayList and mainitain the check status in that list Say Item 3 is selected this should be maintained in your arrayList When GetView is called Set your checkbox accordingly So if item 3 is called then from scenario

Re: [android-developers] Frustrated with CheckBox/CheckedListView in listview

2010-04-29 Thread social hub
Listview behaves in a different way . it tries to recycle views if it can . From your code you are not recycling views , you should try to use If(convertview ==null) { create new view } else { map and use it } Will give you some hint 1) put some log statement in get view and check how many

Re: [android-developers] cuztomized ListView

2010-04-27 Thread social hub
you can create these views if you extend from BaseAdapter or cursoradapter in getview method create your view by inflating xml or create programmatically you can search for custom list view you can find lots of examples. On Tue, Apr 27, 2010 at 3:16 PM, Christophe

Re: [android-developers] Re: How to scroll/move text within TextView on home screen widget ?

2010-04-26 Thread social hub
try setting maxlines to 1 android:maxLines see if that works android:scrollHorizontallyhttp://developer.android.com/reference/android/widget/TextView.html#attr_android:scrollHorizontallyI am not sure whether this shud be set as well On Fri, Apr 23, 2010 at 1:46 AM, Kumar Bibek

Re: [android-developers] How to scroll/move text within TextView on home screen widget ?

2010-04-26 Thread social hub
also the animations are disabled for widgets as far as I can recall. On Wed, Apr 21, 2010 at 5:18 AM, Ravi singhai.ravin...@gmail.com wrote: Hi All, I have created a widget to be displayed on android emulator's home screen to display some long text. In my main.xml layout file i've already

Re: [android-developers] Activity - get notified when all views are rendered

2010-04-26 Thread social hub
have u tried calculating at OnStart might be chance they are rendered. On Thu, Apr 22, 2010 at 3:54 PM, vistaman azgol...@gmail.com wrote: I searched for all overidable methods of Activity and couldn't find this: Basically I want to get notified or override a method when all views in the

Re: [android-developers] change size of controls in a layout

2010-04-21 Thread social hub
did u call requestLayout() or invalidate() if that doesnt work try below textView.getLayoutParams().height = x; requestLayout(); should work On Wed, Apr 21, 2010 at 2:32 PM, dillipk codersnet2...@gmail.com wrote: Hi, How do I change the size of the controls placed in a layout? (by any

Re: [android-developers] grow or shrink view

2010-04-20 Thread social hub
http://developer.android.com/intl/de/reference/android/view/animation/ScaleAnimation.html looks like scaleanimation to me. On Mon, Apr 19, 2010 at 8:29 AM, satish bhoyar getsatonl...@gmail.comwrote: Hi, I have one problem... like i want my view to grow or shrink in one direction like

Re: [android-developers] Hotspot in ImageView

2010-04-20 Thread social hub
extend imageview and overried ontouchevent and oninterecepttouchevent and you can decide the action based on touchevents On Tue, Apr 20, 2010 at 5:36 AM, angushir...@googlemail.com angushir...@yahoo.co.uk wrote: Dear all, how can I implement an imageview that has touch-sensitive

Re: [android-developers] How to add a View in Gallery?

2010-04-20 Thread social hub
use adapter extending from baseadapter or cursoradapter etc. On Tue, Apr 20, 2010 at 1:20 AM, javame_android su...@softwebsolutions.comwrote: Hi, I have multiple listviews and would like to add those to Gallery View. I tried by using addView method but that is not supported in Gallery

Re: [android-developers] ScrollView is not calling onDraw()

2010-04-20 Thread social hub
you should overried onlayout and onmeasure without that it wont work, it gives the size to your component. Look into creating custom view first. http://developer.android.com/intl/de/guide/topics/ui/custom-components.html On Mon, Apr 19, 2010 at 3:00 PM, zebdor zlipp...@gmail.com wrote:

Re: [android-developers] Moving to the next ImageView in HorizontalScrollview?

2010-04-19 Thread social hub
try setSelection On Mon, Apr 19, 2010 at 5:07 AM, javame_android su...@softwebsolutions.comwrote: Hi, I have a horizontal scroll view and there are four images in it. Now what I want is the way to detect which image is focused currently. I mean, is there any way that we can distinguish

Re: [android-developers] Re: Highlight part of the text in a textview object

2010-04-19 Thread social hub
You can try the html way to styling This used to work for me. string =font color='#ff' bhello/b /font textview.setText(Html.fromHtml(string)) On Sun, Apr 18, 2010 at 1:17 AM, patbenatar patbena...@gmail.com wrote: Sorry, bolding and italicizing is the extent of my text formatting

Re: [android-developers] How to achieve mixed layout with ListView

2010-04-19 Thread social hub
on Ctrl + F i dont see any widget with id tweetList Have u copied it right here. if you can loojk at logcat trace then you can trouleshoot more or ask for help with tha ttrace On Mon, Apr 19, 2010 at 11:58 AM, SheikhAman shekh.a...@gmail.com wrote: Ohk, Things go fine, and i am able to

Re: [android-developers] Re: Creating A Bunch of Textviews Programmatically

2010-04-19 Thread social hub
if you are just displaying comments probably u can just use Textview itself (u can enable multiline and set text directly from html Html.fromHtml(string) with some success.. you can try ) prob inside a scrollview. if its just a few kb as Mark mentioned if its more than a kb or so then its better

Re: [android-developers] Where the Android Store SQLite database..

2010-04-19 Thread social hub
its under ur package name say com.test.test1 then u can find under /data/data/com.test.test1/databases/ using adb shell On Sat, Apr 17, 2010 at 6:03 PM, Raihan Jamal jamalrai...@gmail.com wrote: Can anybody explain me where android store sqLite database I have created database and tables

Re: [android-developers] icon with circle and downward triangle

2010-04-19 Thread social hub
you can do so by writing your own adapter. Look at cursorAdapter or baseadapter etc. There are plenty of examples around. On Sun, Apr 18, 2010 at 7:53 PM, etorunski etorun...@gmail.com wrote: I want to create a listview of strings, which I know how to do. I want some of those strings to have

Re: [android-developers] How to overwrite the default background of List Item in A ListView when the List Item has focus

2010-04-16 Thread social hub
android:listSelector On Fri, Apr 16, 2010 at 6:23 AM, waterblood guoyin.c...@gmail.com wrote: Hi All, I am trying to overwrite the default backgroud color of List item which is holding the focus in the ListView. As you can see, in Android Setting Menu, when you scroll through the ListView,

Re: [android-developers] How to overwrite the default background of List Item in A ListView when the List Item has focus

2010-04-16 Thread social hub
://www.talkingandroid.com http://www.facebook.com/BFFPhoto http://www.twitter.com/DroidDrop On Fri, Apr 16, 2010 at 9:02 AM, social hub shubem...@gmail.com wrote: android:listSelector On Fri, Apr 16, 2010 at 6:23 AM, waterblood guoyin.c...@gmail.comwrote: Hi All, I am trying to overwrite

Re: [android-developers] How to overwrite the default background of List Item in A ListView when the List Item has focus

2010-04-16 Thread social hub
you can also use setSelector as mentioned by Carmen On Fri, Apr 16, 2010 at 8:28 AM, social hub shubem...@gmail.com wrote: android:listSelector=@android:color/transparent I have used this to set color and it works. On Fri, Apr 16, 2010 at 8:20 AM, Carmen Delessio carmendeles...@gmail.com

Re: [android-developers] Dynamic Layout Question

2010-04-15 Thread social hub
try setting the layoutparams .setLayoutParams( new LayoutParams(100,40)); When you are creating dynamically its best to set the width and height always. u can also set to WRAP_CONTENT,WRAP_CONTENT etc. On Thu, Apr 15, 2010 at 7:32 AM, grace grace.a...@wipro.com wrote: hi, i tried creating

Re: [android-developers] Re: Prevent Orientation change at runtime

2010-04-15 Thread social hub
there is configChanges that will allow you to be notified and allow you to decide orientation i guess. On Thu, Apr 15, 2010 at 7:16 AM, tony obrien tobsourcecode...@gmail.comwrote: Since you call the other overlay when the orientation changes, a cheap hack would be to have the BUTTON Click

Re: [android-developers] Re: How to resize the RelativeLayout or any other Layout in Android ?

2010-04-13 Thread social hub
relativeLayout.getLayoutParams().height=200 relativeLayout.requestLayout(); On Tue, Apr 13, 2010 at 8:22 AM, javame_android su...@softwebsolutions.comwrote: HI, I know it can be done by giving height and width in xml layout file. But, I want it to be done by the Java Code. For example,

Re: [android-developers] Memory profiling for my Android application

2010-04-13 Thread social hub
did u check out DDMS On Tue, Apr 13, 2010 at 7:29 AM, SAM gulati...@gmail.com wrote: Hi, I have a requiirement of finding out the max RAM usage of my application. I tried installing the Memory Profilers in eclipse but I was not able to use it with my application. Please let me know how can

Re: [android-developers] Moving two views together

2010-04-13 Thread social hub
hack into onmove onscroll onfling methods and pass them to other view On Tue, Apr 13, 2010 at 6:25 AM, Sonic.. abhishek.bansal1...@gmail.comwrote: Hello, I currently have one Scrollview which contains a table layout and one list in my activity. Now my problem is that I wanted to move both

Re: [android-developers] Re: How to resize the RelativeLayout or any other Layout in Android ?

2010-04-13 Thread social hub
In the same way get each child set its height to whichever u want or set to wrap_content if u prefer and call invalidate layout. I would just set to wrap_content for the child so i can see whether its getting resized as the first step On Tue, Apr 13, 2010 at 9:17 AM, javame_android

Re: [android-developers] How to manually/programatically scroll to a specific Item in Gallery?

2010-04-13 Thread social hub
setSelection(position) if i remember correctly On Fri, Apr 9, 2010 at 6:11 AM, Sebastian Mauer mauima...@gmail.com wrote: Hi there, I am currently using a modified Gallery widget to display real-time events coverflow-style. What I now need is some Method to scroll to a specific item within

Re: [android-developers] Re: how to define scrollbar's thumb Drawables from java code?

2010-04-12 Thread social hub
setScrollIndicators(up, down) is this what you are looking for its in View. On Mon, Apr 12, 2010 at 3:03 PM, skink psk...@gmail.com wrote: i hate bumping but... pskink -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

Re: [android-developers] Re: Timing out an AsyncTask?

2010-04-09 Thread social hub
There is something called Handler through which you can communicate with your UI thread http://www.developer.com/java/j2me/article.php/10934_3762056_3/Handling-Lengthy-Operations-in-Googles-Android.htm hope this helps On Fri, Apr 9, 2010 at 1:58 PM, HippoMan hippo.mail...@gmail.com wrote: OK.

Re: [android-developers] ListView/Adapter IllegalStateException

2010-03-30 Thread social hub
prob u need to call notifyDataSetChanged if data is changed. See if that helps On Tue, Mar 30, 2010 at 3:15 PM, ionel ionelt2...@gmail.com wrote: I've implemented a custom ListView and Adapter, and sometimes I receive IllegalStateException exception:” ERROR/AndroidRuntime(3575):

[android-developers] listview doesnt repaint inside gallery when scrolling at random times

2010-03-24 Thread social hub
I have gallery which contains a listview. when you scroll sometimes the views inside the listview doesnt appear. i can see a shadow which belongs to listview but nothing inside listview appears i have tried using invalidateviews on listview whenever the view becomes selected. I am not sure how

[android-developers] Re: listview doesnt repaint inside gallery when scrolling at random times

2010-03-24 Thread social hub
and didnt care to draw anything and just draws a blank screen. Is my theory correct. Anyone has any thoughts on this one. Thanks On Wed, Mar 24, 2010 at 8:54 AM, social hub shubem...@gmail.com wrote: I have gallery which contains a listview. when you scroll sometimes the views inside

Re: [android-developers] Re: Deleting a View from its Parent

2010-03-22 Thread social hub
/%0Aandroid/widget/AdapterView.htmlSo, this technique is not going to work. Do you know any other technique/ work around to remove views from an adapter view? - Tilo On Mar 19, 2:59 pm, social hub shubem...@gmail.com wrote: LinearLayout pa=(LinearLayout)la.getParent(); if(pa

Re: [android-developers] Custom view disappears, when scrolling

2010-03-22 Thread social hub
did u set cachecolorhint to #0 when u scroll if a black screen will appear, if u don't set as above. My guess is drawn and its masked by the black background of listview when it scrolls. can u put some logs to see if ur method is actually called . On Fri, Mar 19, 2010 at 4:47 AM, sunabozu

[android-developers] Applying round corners to image in a image view

2010-03-22 Thread social hub
Hi, I am trying to find solution where I can apply round corners to an image. 1) I have tried to set android:background and in drawable layer-list xmlns:android=http://schemas.android.com/apk/res/android; item shape solid android:color=#50FF/ corners

[android-developers] Re: Applying round corners to image in a image view

2010-03-22 Thread social hub
); canvas.drawRoundRect(rectF, roundPx, roundPx, paint); paint.setXfermode(new PorterDuffXfermode(Mode.SRC_IN)); canvas.drawBitmap(bitmap, rect, rect, paint); return output; } On Mon, Mar 22, 2010 at 3:27 PM, social hub shubem...@gmail.com wrote: Hi, I am trying to find solution where

Re: [android-developers] Re: onFling

2010-03-19 Thread social hub
have u tried passing onfling and onscroll events also. that might solve some of ur problems. On Fri, Mar 19, 2010 at 8:40 AM, Ajay aja...@gmail.com wrote: Oops!! I still have the problem. Any thoughts anyone? Thank you, AJ On Mar 19, 11:54 am, Ajay aja...@gmail.com wrote: Finally I found

Re: [android-developers] Re: Deleting a View from its Parent

2010-03-19 Thread social hub
method, but it still does not work. GridView g = (GridView)findViewById(R.id.gridview1); g.removeAllViews(); It still gives the same exception, as 'removeAllViews() is unsupported' On Mar 18, 5:36 pm, social hub shubem...@gmail.com wrote: what is the parent for the view u r fetching. if its

[android-developers] need suggestion on how to create views at run time and efficiently

2010-03-18 Thread social hub
Hi, I have a case where I have add to listview textview based on no of messages. 1) I am doing like this for(int i=0;i10;i++) { TextView tv=new TextView(context); linearlayout.add(tv); } this seems fine but it seems to be very slow especially where there are

Re: [android-developers] need suggestion on how to create views at run time and efficiently

2010-03-18 Thread social hub
:52 PM, TreKing treking...@gmail.com wrote: On Thu, Mar 18, 2010 at 10:47 AM, social hub shubem...@gmail.com wrote: Hi, I have a case where I have add to listview textview based on no of messages. 1) I am doing like this for(int i=0;i10;i++) { TextView tv=new TextView

Re: [android-developers] need suggestion on how to create views at run time and efficiently

2010-03-18 Thread social hub
similar to list view except it scrolls horizontally same functionality thats all On Thu, Mar 18, 2010 at 3:47 PM, TreKing treking...@gmail.com wrote: On Thu, Mar 18, 2010 at 2:18 PM, social hub shubem...@gmail.com wrote: I am actually using Gallery and using base adapter. Inside base adpater

Re: [android-developers] Deleting a View from its Parent

2010-03-18 Thread social hub
what is the parent for the view u r fetching. if its the parent (gridview) then I think will throw exception. I did removeviews before I had linearlayout android:id=@+id/layout imgview1 imgview2/linearlayout bascilly oncreate u get reference to lineralayout using LinearLayout

Re: [android-developers] Re: How to get result from Activity

2010-03-10 Thread social hub
does handler work for you the handler can post events to the main UI thread. You can process then in main UI thread and send messages to ui handler from ur asyntask I am just guessing. if its just notifying user then handler should do the trick On Wed, Mar 10, 2010 at 8:23 AM, ailinykh

Re: [android-developers] Re: Scrollbar Thumb Color

2010-03-05 Thread social hub
SCroll bar width now is the width of the icon or its the normal width of scroll view? On Thu, Mar 4, 2010 at 8:24 PM, NoraBora noranb...@gmail.com wrote: I didn't know there are android:scrollbarThumbVertical. Thanks, social hub. I tested with android:scrollbarThumbVertical=@drawable/icon

Re: [android-developers] Re: Scrollbar Thumb Color

2010-03-05 Thread social hub
android:scrollbarSizehttp://developer.android.com/reference/android/view/View.html#attr_android:scrollbarSizefor size setting On Fri, Mar 5, 2010 at 8:24 AM, social hub shubem...@gmail.com wrote: SCroll bar width now is the width of the icon or its the normal width of scroll view? On Thu

Re: [android-developers] Re: how to use http Delete in android?

2010-03-04 Thread social hub
of the HttpURLConnection I get a ProtocolException with the detail message This method does not support writing: DELETE. Any ideas? Thanks in advance On Mar 3, 10:15 pm, social hub shubem...@gmail.com wrote: http://developer.android.com/intl/de/reference/org/apache/http/client... On Wed, Mar 3, 2010

[android-developers] listview with customview background issuew while scrolling listview

2010-03-04 Thread social hub
Hi I have a listview and its populated with a customview. I set a background picture on my listview. My issue is when I hold and scroll the background turns black and it doesnt show the listivew background I tried the following a) set the background of customview to a picture in this case it

[android-developers] getting bitmap of a textview

2010-03-04 Thread social hub
TextView tv=new TextView(c); tv.setText(jeee;re sdsada); tv.setLayoutParams(mLayoutParams); tv.setDrawingCacheEnabled(true); tv.buildDrawingCache(); Bitmap b=tv.getDrawingCache(true); if(b!=null) Log.v(TAG, SEN ===+bitmap not null for

Re: [android-developers] Re: listview with customview background issuew while scrolling listview

2010-03-04 Thread social hub
Thanks a lot that did the trick. On Thu, Mar 4, 2010 at 12:51 PM, reyden mr.jakovlje...@gmail.com wrote: Trz setting android:cacheColorHint=@android:color/transparent attribute for your ListView element... On Mar 4, 5:26 pm, social hub shubem...@gmail.com wrote: Hi I have a listview

Re: [android-developers] Re: Flushing Toast/TextView buffer in While loop

2010-03-04 Thread social hub
Thread t= new Thread(){ void run() { while() { //do ur stuff here //u might try to do is.read(100 no of bytes rather than read line) } } } google for more information i am sure u can find plenty On Thu, Mar 4, 2010 at 4:20 PM, #iNjection- reistl...@gmail.com wrote: Thanks for the response.

Re: [android-developers] Re: Flushing Toast/TextView buffer in While loop

2010-03-03 Thread social hub
real time reading would be if you can read say fixed length by read command you may be able to achieve that say read(100 bytes) and then if you think you are going receive more then continue loop etc as far as outputting real time you can do thread once u read send it to a thread that takes care

Re: [android-developers] Google: is this real?

2010-03-03 Thread social hub
there is already one thread going on there about being real. you can check that one from that thread AFAIK it seems real and guy from android developer relation mentioned it too. Congrats on your achievement On Wed, Mar 3, 2010 at 9:16 AM, Ian heads...@gmail.com wrote: Can someone from Google

Re: [android-developers] how to use http Delete in android?

2010-03-03 Thread social hub
http://developer.android.com/intl/de/reference/org/apache/http/client/methods/HttpDelete.html On Wed, Mar 3, 2010 at 10:51 AM, vidya vidya1...@gmail.com wrote: Hi all, I want to ping a url and post a xml to it using http delete as i want to initiate a delete action on the server side. But

Re: [android-developers] SSL3_READ_BYTES error

2010-03-03 Thread social hub
have you tried with SSL server on internet like google or something and see if that has worked. Then you can work your way down to your server . prob it needs a set of predefined minimum ciphers and hashing algorithms which are avalilable on desktop and not on the device. hope this helps On Wed,

Re: [android-developers] seekbar half clickable

2010-03-02 Thread social hub
you can try tapping in to onclicklistener and dispatchtouchevents.. based on coordinated event.getx and gety you can make some decisions. On Tue, Mar 2, 2010 at 2:55 AM, manigault manig...@gmail.com wrote: Hi all i have seekbar wich is for example 100dp height. How can i make only the top

Re: [android-developers] Re: Scrollbar Thumb Color

2010-03-02 Thread social hub
there are some drawables i guess I am not sure whether it solves your issue android:scrollbarThumbHorizontal Since: API Level http://developer.android.com/guide/appendix/api-levels.html#level Defines the horizontal scrollbar thumb drawable. Must be a reference to another resource, in the form

Re: [android-developers] load views in xml....oncode

2010-03-02 Thread social hub
try layoutinflater.inflate or google for it. On Tue, Mar 2, 2010 at 4:34 PM, Kofa elk...@gmail.com wrote: Is there any way i can load a view from xml other than the main layout.xml? i mean i want to make an xml file for each type of view, so i can load them any time in the game and don't

[android-developers] help on graphics from newbie

2010-02-26 Thread social hub
Guys, I almost there of what i want to do but i am stuck at a point where I need some expert pointers this is what i do so far I have rectangle white box on cliking the rectangle I will draw a toolbar beneath the box and also call relayout to accomodate the toolbar ( size+100) ( i used

[android-developers] listview with surfaceview

2010-02-26 Thread social hub
Hi, I have a listview with view extended from surfaceview on scrolling it doesnt seem to erase the previous disppearing widgets screen resulting in a mess on screen. listview does seem to work with views extended from view. Is there anything i should look into to erase the previous views when

[android-developers] Re: listview with surfaceview

2010-02-26 Thread social hub
I have attached screen shots for you to understand my problem. The second image is missing the text in one of the views any help is hightly appreciated thanks On Fri, Feb 26, 2010 at 3:11 PM, social hub shubem...@gmail.com wrote: Hi, I have a listview with view extended from surfaceview

Re: [android-developers] Re: help on graphics from newbie

2010-02-26 Thread social hub
26, 5:05 pm, social hub shubem...@gmail.com wrote: Guys, I almost there of what i want to do but i am stuck at a point where I need some expert pointers this is what i do so far I have rectangle white box on cliking the rectangle I will draw a toolbar beneath the box and also

Re: [android-developers] Re: How to do animation when click on a bitmap

2010-02-25 Thread social hub
In your case you are extending view however if you use built in views or even your view which holds just the image. then u can setanimation and startanimation TranslateAnimation animation = new TranslateAnimation( Animation.RELATIVE_TO_PARENT, 0.0f,

[android-developers] Need help with small animation

2010-02-23 Thread social hub
Hi, |--- TEXT VIEW ---' SLIDE DRAWER image I have a layout like this above textview and an image that slides down after clicking the text view I have loooked at translate animation but the issue is

Re: [android-developers] Re: Socket is not connected

2010-02-19 Thread social hub
org.apache.http.conn.ssl. SSLSocketFactory.connectSocket(SSLSocketFactory.java: 317) somewhere its going ssl is it plain socket or ssl socket. did you try connecting from ur pc using telnet to see whether u can connect On Thu, Feb 18, 2010 at 4:42 PM, nikhil nik...@gmail.com wrote: This is

Re: [android-developers] How can I create TextAppearanceSpan which looks like an anchor

2010-02-19 Thread social hub
look at spannable class and styling resources in developer site. Also look at clickablescan and some other spans which might help you to achieve this On Thu, Feb 18, 2010 at 4:35 PM, n179911 n179...@gmail.com wrote: Hi, Can you please tell me how can I create a TextAppearanceSpan which

Re: [android-developers] Re: Multiple Gallery Widgets won't scroll

2010-02-19 Thread social hub
If you have a better way let me know as I am not sure what else I can do to make this work better. On Fri, Feb 19, 2010 at 11:02 AM, racx182 drobe...@gmail.com wrote: social hub, I meant stacked as in one below the other one. thanks On Feb 18, 3:00 pm, social hub shubem...@gmail.com wrote

[android-developers] passing touch events from one Gallery widget to another widget

2010-02-18 Thread social hub
Hi Guys, I am trying to pass the same touch events on one widget to the other so they both scroll at the same time and in same way. I have two Gallery widgets one above and one below. If the above one is scrolled then I want to pass the same touch event to the bottom widget so it also scrolls

Re: [android-developers] passing touch events from one Gallery widget to another widget

2010-02-18 Thread social hub
mess up, it will just stay wont move. Thanks for your reply. On Thu, Feb 18, 2010 at 9:28 AM, TreKing treking...@gmail.com wrote: On Thu, Feb 18, 2010 at 9:24 AM, social hub shubem...@gmail.com wrote: I have two Gallery widgets one above and one below. If the above one is scrolled then I want

Re: [android-developers] Search Market by Publisher Name

2010-02-18 Thread social hub
space is %20 not + so poxx%20software try it on ur browser first to get the exact string it sends then use that for market. I think they might be using standard url encoding if i am not mistaken On Thu, Feb 18, 2010 at 9:27 AM, polyclefsoftware dja...@gmail.com wrote: This link describes how

Re: [android-developers] Multiple Gallery Widgets won't scroll

2010-02-18 Thread social hub
I am also having the same issue But do u need multiple galleries in a layout can you create a view that encompasses all your child and give that to the gallery view in such a case u need only one gallery. On Thu, Feb 18, 2010 at 10:20 AM, racx182 drobe...@gmail.com wrote: Does anyone have any

Re: [android-developers] differentiating single click and long click.

2010-02-18 Thread social hub
can u try using onclickpress() and implement there On Thu, Feb 18, 2010 at 5:47 AM, mmkr manutd...@gmail.com wrote: Hi all, I have an array list of a view in my application. The view has both single click and long click listeners. To detect a particular view that is selected I'm using

Re: [android-developers] differentiating single click and long click.

2010-02-18 Thread social hub
sorry meant onlongpress On Thu, Feb 18, 2010 at 12:36 PM, social hub shubem...@gmail.com wrote: can u try using onclickpress() and implement there On Thu, Feb 18, 2010 at 5:47 AM, mmkr manutd...@gmail.com wrote: Hi all, I have an array list of a view in my application. The view has

Re: [android-developers] Re: Multiple Gallery Widgets won't scroll

2010-02-18 Thread social hub
two galleries in a layout. The one that's last added is the one that will properly scroll. Work around? On Feb 18, 11:51 am, social hub shubem...@gmail.com wrote: I am also having the same issue But do u need multiple galleries in a layout can you create a view that encompasses all your

[android-developers] duplicating the fling motion of one gallery widget to the other gallery widget in same screen

2010-02-17 Thread social hub
Hi, I have two gallery widgets in same screen. If user flings on top gallery widget I would like to replicate the same fling motion on the other gallery widget thats beneath the first one. Is there a way I can possibly achieve this Thanks in advance for your help -- You received this message

[android-developers] Re: duplicating the fling motion of one gallery widget to the other gallery widget in same screen

2010-02-17 Thread social hub
Any ideas on this one. thanks On Wed, Feb 17, 2010 at 10:59 AM, social hub shubem...@gmail.com wrote: Hi, I have two gallery widgets in same screen. If user flings on top gallery widget I would like to replicate the same fling motion on the other gallery widget thats beneath the first one

[android-developers] edittext text with html formatting

2010-02-16 Thread social hub
I like to place text in editext with link to say one of the apps say navigation and I also want color part of the text in blue some in white. Are there any other widgets that support part coloring of the text some text in one color and other in diff color Thanks in advance for your help --

[android-developers] Re: edittext text with html formatting

2010-02-16 Thread social hub
do u guys see my email it seems like its not getting through the group On Tue, Feb 16, 2010 at 11:02 AM, social hub shubem...@gmail.com wrote: I like to place text in editext with link to say one of the apps say navigation and I also want color part of the text in blue some in white

  1   2   >