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
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
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
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
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
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
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
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,
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
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
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();
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));
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
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
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
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
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
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);
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
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);
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 {
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
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
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
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
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
, 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
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
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
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
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
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
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) {
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);
34 matches
Mail list logo