Hi There any one giving me the lead on how to use handwriting recognition on android and any basic code for it please mail me [email protected]
Anil Karwankar On Sat, Jan 16, 2010 at 4:37 AM, < [email protected]<android-developers%[email protected]> > wrote: > Today's Topic Summary > > Group: http://groups.google.com/group/android-developers/topics > > - Creating custom button looks? <#126343e2a69effdd_group_thread_0> [6 > Updates] > - JOB OFFER--developing the Android SMS > application<#126343e2a69effdd_group_thread_1>[1 Update] > - Load image from Jar file <#126343e2a69effdd_group_thread_2> [1 > Update] > - Scrolling an EditText <#126343e2a69effdd_group_thread_3> [1 Update] > - ClearTaskOnLaunch flag is not > working<#126343e2a69effdd_group_thread_4>[1 Update] > - sending around 1000 messages in batch using SMS > API<#126343e2a69effdd_group_thread_5>[1 Update] > - GL for Live Wallpaper? <#126343e2a69effdd_group_thread_6> [5 Updates] > - Profiling Bitmap Memory <#126343e2a69effdd_group_thread_7> [1 Update] > - Sprites VS 3D ? <#126343e2a69effdd_group_thread_8> [2 Updates] > - Motorola Droid (possible android) multi-touch bug and how to > reproduce <#126343e2a69effdd_group_thread_9> [3 Updates] > - CircularLayout for HorizontalScrollView > ?<#126343e2a69effdd_group_thread_10>[1 Update] > - WebKit : how to scoll content from JavaScript > ?<#126343e2a69effdd_group_thread_11>[1 Update] > - How to have fullscreen keyboard in portrait mode > ?<#126343e2a69effdd_group_thread_12>[1 Update] > > Topic: Creating custom button > looks?<http://groups.google.com/group/android-developers/t/f6b31716fffee51c> > > theSmith <[email protected]> Jan 15 11:11AM -0800 > ^<#126343e2a69effdd_digest_top> > > use an imagebutton > > > > > > Tommy Hartz <[email protected]> Jan 15 02:18PM -0500 > ^<#126343e2a69effdd_digest_top> > > Ok so its shape will changed based on the image I assign to it? > > > > > > Kevin Duffey <[email protected]> Jan 15 12:30PM -0800 > ^<#126343e2a69effdd_digest_top> > > You can use a png I believe with transparency to produce any style > button > you want. I don't know if the hit-test for clicking on it will work > only on > the image part or the whole square width/height size of the button > itself > tho. > > > > > > > clark <[email protected]> Jan 15 01:14PM -0800 > ^<#126343e2a69effdd_digest_top> > > I had added a D-Pad image button to a game, and the transparent areas > still registered hits. This was using the 1.5 SDK so I am not sure if > any of the newer SDKs have changed this. > > > > > > > Moto <[email protected]> Jan 15 01:22PM -0800 > ^<#126343e2a69effdd_digest_top> > > None of the SDK versions will automatically check what areas in the > button should be a hit area... it's just a plane W x H area > > You will need to create a custom image button class and catch the > touch events and decide if it's a hit or not... :) > > -Moto > > > > > > theSmith <[email protected]> Jan 15 03:06PM -0800 > ^<#126343e2a69effdd_digest_top> > > If you need multiple hit areas you may want to consider using several > images to create 'one' button. For example a d-pad could be 5 > imagebuttons, u/d/l/r and the middle. > > This approach will most likely save you quite a headache. > > -theSmith > > > > > Topic: JOB OFFER--developing the Android SMS > application<http://groups.google.com/group/android-developers/t/9b6b0f8f71dac38d> > > Lorys Pognon <[email protected]> Jan 16 12:01AM +0100 > ^<#126343e2a69effdd_digest_top> > > Hi > Your mail is not working. Your project is interesting and I would like > to > work on it. > this is my email - [email protected] > > cheers > > LP > > > > > Topic: Load image from Jar > file<http://groups.google.com/group/android-developers/t/54c4b2652927fa37> > > Rmac <[email protected]> Jan 15 02:58PM -0800 ^<#126343e2a69effdd_digest_top> > > You can read a byte array via an inputstream using something like > "myclass.getClassLoader().getResourceAsStream(imagePath)" where > imagePath is the path to the image inside the jar. > > > > > Topic: Scrolling an > EditText<http://groups.google.com/group/android-developers/t/1973f106698eaf99> > > Mark Wyszomierski <[email protected]> Jan 15 02:43PM -0800 > ^<#126343e2a69effdd_digest_top> > > Hi, > > I have an EditText with an extremely long string. I'd like to scroll > the text in marquee fashion, automatically for the user. The best I > have is this: > > private Runnable mAnimate = new Runnable() { > public void run() { > mMyEditText.scrollBy(3, 0); > mHandler.post(mAnimate); > } > }; > > Button btnStart = new Button(); > btnStart.setOnClickHandler(new OnClickHandler() { > public void onClick(View view) { > mHandler.post(mAnimate); > } > } > > it works, but is pretty choppy. Any better way to animate the text > scrolling? Should I drop this and try writing my own implementation of > EditText for this purpose? The chopiness may come from the fact that > the EditText is trying to interpolate the scroll etc, > > Thanks > > > > Topic: ClearTaskOnLaunch flag is not > working<http://groups.google.com/group/android-developers/t/d7e0e96493a59203> > > Rafael Martins <[email protected]> Jan 15 02:43PM -0800 > ^<#126343e2a69effdd_digest_top> > > I solved the problem here adding android:finishOnTaskLaunch ="true" > for all the activities except the root. Probably this is not the best > way, but android:clearTaskOnLaunch="true" is not working (If someone > knows why, please help us). > > > > > Topic: sending around 1000 messages in batch using SMS > API<http://groups.google.com/group/android-developers/t/2b57f8097c4deb61> > > Michael boggess <[email protected]> Jan 15 02:20PM -0800 > ^<#126343e2a69effdd_digest_top> > > Is there a better alternative to sending a thousand sms messages? > > > > > Topic: GL for Live > Wallpaper?<http://groups.google.com/group/android-developers/t/1564b52d7f73bf3> > > Romain Guy <[email protected]> Jan 15 11:37AM -0800 > ^<#126343e2a69effdd_digest_top> > > Hi, > > If you want to contribute to Android, please go to > http://s.android.com and follow the instructions. > > > -- > Romain Guy > Android framework engineer > [email protected] > > 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 > > > > > Robert Green <[email protected]> Jan 15 12:04PM -0800 > ^<#126343e2a69effdd_digest_top> > > The link that works for me is http://source.android.com > > I'm all set up. What branch should I submit this to? > > The reason I didn't just submit this is because one would think that > nice integration would involve reuse instead of a copy of much of that > code. If GLSurfaceView were refactored a bit, both it and GLEngine > could share 99% of the code. I feel like that's stepping outside of > my bounds as a contributor, though. I guess I'll submit this and > suggest that GLSurfaceView be refactored to use a common code base > with GLEngine. > > > > > > Romain Guy <[email protected]> Jan 15 01:32PM -0800 > ^<#126343e2a69effdd_digest_top> > > > I'm all set up. What branch should I submit this to? > > The branch would be master. > > > my bounds as a contributor, though. I guess I'll submit this and > > suggest that GLSurfaceView be refactored to use a common code base > > with GLEngine. > > It's not out of bounds, far from it :) > > > -- > Romain Guy > Android framework engineer > [email protected] > > 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 > > > > > Robert Green <[email protected]> Jan 15 02:06PM -0800 > ^<#126343e2a69effdd_digest_top> > > I committed my changes under the branch GL_WALLPAPER_SERVICE but am > unable to upload it for review using "repo upload" > > I get a publickey failure (seems like I don't have auth to do that). > > Who should I email to notify of the branch and then where can I look > for help on finishing this? It's my first time contributing and I'd > like to see this thing through. > > Thanks. > > > > > > Robert Green <[email protected]> Jan 15 02:19PM -0800 > ^<#126343e2a69effdd_digest_top> > > Forgive my ignorance. I set up my contributor account, signed the > agreement and set up ssh authorization then successfully uploaded my > branch for review. > > Who should I notify about the branch? > > Thanks > > > > > Topic: Profiling Bitmap > Memory<http://groups.google.com/group/android-developers/t/565005c4fe988c66> > > fadden <[email protected]> Jan 15 02:03PM -0800 > ^<#126343e2a69effdd_digest_top> > > On Jan 14, 10:11 pm, Gianormous Admin <[email protected]> > wrote: > > how bitmap memory works - but I'd like to find a tool etc or some way > > of determining I as the game is running right now, there are no more > > than X bytes of usable bitmap memory remaining. > > Right now all you've got is dalvik/tools/gclog.py: > > > > http://android.git.kernel.org/?p=platform/dalvik.git;a=blob_plain;f=tools/gclog.py;hb=HEAD > > It prints some stats on every GC. The current version takes a few > arguments (-h for help, -p <pid> to show only one process, -d for a > more complete dump of stats). > > > > Topic: Sprites VS 3D > ?<http://groups.google.com/group/android-developers/t/a32662c80c65f7d9> > > Duey Oxburger <[email protected]> Jan 15 01:36PM -0800 > ^<#126343e2a69effdd_digest_top> > > Lads, > > What is more memory expensive Sprite or 3D rendering?... Which is > 'easier' to work with?... > > Thx, > > D > > > > > MrChaz <[email protected]> Jan 15 02:01PM -0800 > ^<#126343e2a69effdd_digest_top> > > 2D is certainly easier because you're leaving out a whole dimension > when working with movement, camera and collision. > I should think it's probably less expensive in terms of memory too > because you won't have as complex i.e. large vertex array - although > I'm guessing a bit. > > > > > Topic: Motorola Droid (possible android) multi-touch bug and how to > reproduce<http://groups.google.com/group/android-developers/t/be4151b4bc769a0> > > rollbak <[email protected]> Jan 15 11:35AM -0800 > ^<#126343e2a69effdd_digest_top> > > Can you please explain which the issue is? > > > > > > Mirmathrax <[email protected]> Jan 15 12:29PM -0800 > ^<#126343e2a69effdd_digest_top> > > Sorry, perhaps I was not clear in the description what the bug is. I > will attempt to explain it in better detail here. > > When you perform the following touch pattern: > > 1) place finger 1 down > 2) place finger 2 down > 3) remove finger 1 > 4) place finger 1 back down again > > The ACTION_POINTER_DOWN event that is generated during step 4 returns > the incorrect X and Y location for where the event occurred. In fact, > the X, and Y that is returned is the X and Y location for the other > finger. Searching the entire history of the motionevent shows that > there is no record of the X, Y for finger 1. Running the above code > illustrates the problem and makes it obvious. As when you replace > finger 1 and start to move it, it suddenly draws a line from finger 2 > to finger 1, connecting the two, thus illustrating the bug. If you > run the code and observe the output when performing the above actions, > you will see clearly the problem. > > I have debugged this and looked at every point in every motionevent > that is captured, and during step 4, the X, Y locations for finger 1 > are not anywhere to be found. Ot is only during an ACTION_MOVE that > new X, Y values for finger 1 appear. > > As an aside, if you then remove finger 1 again, the ACTION_POINTER_UP > event tells you that finger 2 is coming up according to the ID. This > is also a bug. > > I hope this helps. I can try to post screens of this if that will > also help. > > -Colin > > > > > > Mirmathrax <[email protected]> Jan 15 12:32PM -0800 > ^<#126343e2a69effdd_digest_top> > > here is in the original text from the post, this explains how to make > the bug occur: > > 1) Touch screen with finger 1 and start doodling > 2) Without removing finger 1, touch screen with finger 2 and > start doodling > 3) Remove finger 1 from the screen (without removing finger 2) > 4) Replace finger 1 on the screen and start doodling again > (never remove finger 2) > 5) Voila, you will see the bug. The drawn lines for finger 1 > will suddeny connect to finger 2. > > This is because there is a bug when the first finger is placed back > down again, the event only has points for the wrong finger! Even > though finger 1 went back down at a new location, the code thinks for > some reason that finger 2 is the one that went back down (but it never > went up). > > -Colin > > > > > Topic: CircularLayout for HorizontalScrollView > ?<http://groups.google.com/group/android-developers/t/382034eab22a5c12> > > ClarkBattle <[email protected]> Jan 15 12:22PM -0800 > ^<#126343e2a69effdd_digest_top> > > I am writing an day planner that requires fling gestures to > horizontally scroll to the next & previous day. Each day contains text > and buttons and whatnot. I would like to use HorizontalScrollView > for the scrolling. The problem is that a horizontal LinearLayout is > bounded at creation. In other words, I have to decide how many days I > want to be able to scroll through in advance. That will not work. > > What I would like is a CircularLayout to use as a child of > HorizontalScrollView. The CircularLayout would have three frames: > current, next & previous. Every time the CircularLayout is scrolled > the three frames are re-rendered to give the impression of an infinite > list of views. > > Is there any way to do this? is there another way that will give me > what I want? > > Thanks, > Clark > > > > Topic: WebKit : how to scoll content from JavaScript > ?<http://groups.google.com/group/android-developers/t/466bf8e782f63a20> > > Nanard <[email protected]> Jan 15 03:38AM -0800 > ^<#126343e2a69effdd_digest_top> > > Hi, > > My application uses Webkit to display its content. > I use SPAN tags to change characters background. A few char at a > time. > The char 'selection' moves in the WebKit view. It can then select > character which are in a non visible part of the HTML page > > How can I scroll the WebView display area (using JavaScript in the > HTML codeI suppose) ? > > Thanks for you advices. > > > > Topic: How to have fullscreen keyboard in portrait mode > ?<http://groups.google.com/group/android-developers/t/5a286297fb2bb4de> > > Dianne Hackborn <[email protected]> Jan 15 03:31AM -0800 > ^<#126343e2a69effdd_digest_top> > > There isn't a facility for the app to request such a thing; it is up to > the > current IME. > > > -- > Dianne Hackborn > Android framework engineer > [email protected] > > Note: please don't send private questions to me, as I don't have time > to > provide private support, and so won't reply to such e-mails. All such > questions should be posted on public forums, where I and others can see > and > answer them. > > > > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<android-developers%[email protected]> > 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 [email protected] 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

