[android-developers] Injecting Events into Webview

2018-04-01 Thread Dancing Fingers
I have Cerebral palsy and my favorite online game has some really small buttons. I was trying to see if I could put the game in a webview and surround it by larger buttons that inject events into the game. No luck yet. Any thoughts? Chris -- You received this message because you are

[android-developers] Re: Advanced Touch Control: passing touch event from one view to another

2013-04-06 Thread Dancing Fingers
Why can't you just declare an Application variable and pass it back and forth that way? -- -- 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

[android-developers] Re: How Can I pass an ArrayList do another Activity?

2012-09-05 Thread Dancing Fingers
I've passed very complex ArrayList via Application class. Chris -- 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] Re: How to create Hexagon in android ?

2012-09-03 Thread Dancing Fingers
Been there, done that, pretty sure you can't do it in TextView unless you use Path over an image Button. I used a Canvas and drew it. Chris -- 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] Re: How to create Hexagon in android ?

2012-09-03 Thread Dancing Fingers
How do you get the corners not to be clickable? That was my problem. I created a whole keyboard of Hexagons. Chris -- 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

[android-developers] Opengl on Toshiba Qosmio X775?

2012-08-03 Thread Dancing Fingers
Hi guys, I've played around with OpenGL on Android and I plan to pursue it further. I need a new laptop so I'm considering the 3D Toshiba Qosmio X775. Does anyone know if OpenGL will work on the new 3D laptops? Thanks. Chris -- You received this message because you are subscribed to the

[android-developers] Combining a Business and Gaming App

2012-06-11 Thread Dancing Fingers
Hi Guys, Does anyone know of an example where you combine a gaming canvas in 2/3 of the screen and the top is more of an standard xml type layout, to have scores, other online users, etc. I figured out 1 way but I was wondering what others have done. Thanks. Chris -- You received this

[android-developers] Can you Determine the x,y Coordinates of a Character in TextView?

2012-04-11 Thread Dancing Fingers
Hi guys, I'm finishing up my app that's a custom keyboard for Android. I'm using TextView because it doesn't have a default keyboard and it seem to work better in FrameLayout. I'm toying with the idea of having text appear to fly in the TextView widget. I figure if I know the font width,

[android-developers] Re: EditText not Accepting Soft Keyboard Input from Supporting Activity

2012-03-07 Thread Dancing Fingers
Does anyone know how to debug the soft keyboard and identify what widget it's targeting? Thanks. Chris -- 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

[android-developers] EditText not Accepting Soft Keyboard Input from Supporting Activity

2012-03-06 Thread Dancing Fingers
Hi guys, My default activity is a game so I didn't include Soft Keyboard dialog in this activity. One feature of my app is to email game results to friends in a supporting activity. This activity has several EditText widgets but it gets stuck in the first email/textedit widget. The widget

[android-developers] Re: Reading and Writing xml file to Internal Memory

2012-02-28 Thread Dancing Fingers
Thanks. I got it going. The main problem was that my parser was not using a ByteArray input stream. Secondly, my Xml writer wasn't generating clean XML. It work now. Here's what I got: public void writeWordXmlFile() { myWords = new ArrayListWord();

[android-developers] Reading and Writing xml file to Internal Memory

2012-02-27 Thread Dancing Fingers
Hi guys, My app needs to learn user words and store them in XML files. So I wrote a test method: public void writeWordXmlFile() { myWords = new ArrayListWord(); myWords.add(new Word(Diversability)); myWords.add(new Word(Theate));

[android-developers] Nested listeners?

2012-02-22 Thread Dancing Fingers
I have a business style layout that sits on a custom/game layout. Ideally I waneet each view/layout to have their respective listeners. Has any one written a tutorial on nested listeners? Thanks. Chris -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Application Object, Complex ArrayList's and memory?

2012-01-25 Thread Dancing Fingers
I think I found a gottcha for Developers of Ubuntu. My son left his Macbook at my house so I started using it for development. The same code that didn't work on Ubuntu 10.11 ran fine on the Mac. The Mac runs a lot faster even though the Linux box has 4 gigs of RAM. May be it's the JAVA

[android-developers] Application Object, Complex ArrayList's and memory?

2012-01-18 Thread Dancing Fingers
Hi guys, My app uses 4 ArrayLists which I want to be accessible to all activities so I decided to load them into an Application object. Three out of the 4 work fine but the forth won't work. It's the largest Arraylist and it also happens to be a complex Arraylist of String, each Arraylist

[android-developers] Re: Application Object, Complex ArrayList's and memory?

2012-01-18 Thread Dancing Fingers
The XML file is 3 Mb, although the data is probably less. This runs a word prediction routine. May be I need to look at what I really need. I'll probably try reading the words as I need them and see how much that slows me down. Chris -- You received this message because you are subscribed to

[android-developers] Re: Setting TabSpec Content using Source Code

2012-01-01 Thread Dancing Fingers
The obvious answer is to set the id manually: inputLayout.setId(1); Chris -- 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] Setting TabSpec Content using Source Code

2011-12-31 Thread Dancing Fingers
Hi Guys, I've created a custom game keyboard that I want to share with several windows so I decided to give TabActivity a try. I created a layout for each tab, for example: // Plain text input layout inputLayout = new LinearLayout(this);

[android-developers] Re: Should I buy my own apps?

2011-12-10 Thread Dancing Fingers
So how do you demo, or show your friends your app on your own device? Just curious. Chris -- 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

[android-developers] Re: Populating Gallery dynamically with TextViews

2011-12-09 Thread Dancing Fingers
Valentin, I'm not a professional but why are you monkeying around with the manifest when what you want to do is easily done in the code? public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); layout = new LinearLayout(this);

[android-developers] Re: XML DOM Parser works in JAVA, Crashes Android App, Now XMLPullParser

2011-10-01 Thread Dancing Fingers
I figured it out. It was a combination of not accessing the correct Android resources and faulty data structure. The correct code follows (hope this helps someone else): public void parseCharXmlFile(){ Chars myCh; String nameTag= ; try {

[android-developers] XML DOM Parser works in JAVA, Crashes Android App

2011-09-30 Thread Dancing Fingers
Hi Guys, I'm trying to convert an old JAVA Applet to Android using an standard DOM parser and the same files. I put the file in /res/raw ( and tried /res/xml) and changed my InputStream. It always crashes my app. So I tried to run the debugger and it keeps openning some Delvic type file and

[android-developers] Re: XML DOM Parser works in JAVA, Crashes Android App

2011-09-30 Thread Dancing Fingers
Thanks Kumar, It keeps opening the DexFile.class (seems to throw an io exception) in the debugger and says Source not found. It asks me if I want to change the source. Nothing really glaring in the log. Why does the compiler see my file and not the runtime guys? Thanks. Chris -- You received

[android-developers] Re: XML DOM Parser works in JAVA, Crashes Android App

2011-09-30 Thread Dancing Fingers
Thanks Kostya, My debugging talent isn't great. I got a parsing error on line 5. I really wish that System.out.println would print to console rather than Log, but that's just me. Thanks. Chris -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: XML DOM Parser works in JAVA, Crashes Android App

2011-09-30 Thread Dancing Fingers
This is very weird, the debugger steps, using step into, the try and than steps back out to the parent of the method without printing the warning statements. I guess io would be hard to write a debugger for. If I were the Android Plugin God, I would have Log.i print to the LogCat and

[android-developers] Re: XML DOM Parser works in JAVA, Crashes Android App, Now XMLPullParser

2011-09-30 Thread Dancing Fingers
So I'm starting to suspect my XML file. Here it is: ?xml version=1.0 encoding=UTF-8? Chars ChPair chE/ch ct175391/ct /ChPair ChPair chT/ch ct129899/ct /ChPair ChPair chA/ch ct110693/ct /ChPair ChPair chO/ch

[android-developers] Re: XML DOM Parser works in JAVA, Crashes Android App, Now XMLPullParser

2011-09-30 Thread Dancing Fingers
, Kostya Vasilyev kmans...@gmail.com wrote: I don't see your code ever assigning anything to myCh, so expect it to crash when trying to call setTheChar and setCount. Also, that charAt(0) should really be charAt(1), no? -- Kostya Vasilyev 01.10.2011 2:03 пользователь Dancing Fingers batym

[android-developers] Re: Unexpected Canvas Behavior when using Threads and supporting Methods

2011-09-23 Thread Dancing Fingers
My dumb - and embarrassed. Put the clear in the wrong spot. Chris -- 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] Unexpected Canvas Behavior when using Threads and supporting Methods

2011-09-22 Thread Dancing Fingers
Hi guys, I'm trying to animate a path, on a canvas, using a thread routine. I'm drawing/animating a pentagon over and over so I decided to put it into a method, passing canvas to the method. Every time I draw a pentagon, using this method, it makes everything else vanish. The method works

[android-developers] Combining Canvas with OpenGL

2011-09-05 Thread Dancing Fingers
Does any one know if you can map a View canvas onto an OpenGL surface in Android? Just curious. Chris -- 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

[android-developers] Re: parsing an XML document

2011-08-18 Thread Dancing Fingers
So when do you use the Android parser, that parses stuff like manifest.xml, as opposed to JAVA parsers. Just curious. Chris -- 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] Re: Emulator has Alzheimers (forgets who it is)

2011-08-02 Thread Dancing Fingers
I've had issues were the code in Eclipse is correct but the emulator doesn't respond to the new code. I restart the emulator (a pain) and the app runs as expected.I'd be interested if others have experienced this and on what OS. Chris -- You received this message because you are subscribed to

[android-developers] Differences between Android Button and JAVA buttons

2010-10-11 Thread Dancing Fingers
Hi guys, I'm working on my own Hexagonal button which works in JAVA. I was studying Android Button.java: @RemoteView public class Button extends TextView { public Button(Context context) { this(context, null); } public Button(Context context, AttributeSet attrs) {

[android-developers] ArrayList in Custom View??

2010-10-10 Thread Dancing Fingers
Hi guys, I'm writing my own custom view, a keyboard, which I think the ArrayList in the keyboard view is causing the application to quit in the emulator. public static ArrayListHexButton hexButtons = new ArrayListHexButton(); The application ran fine when I did setContentView(myKeyboardView);