ViewFactory for multiple switchers?
At first glance, I don't see a way for a class to act as a ViewFactory for multiple ViewSwitchers. Specifically, I have both an ImageSwitcher and a TextSwitcher in my activity, and while I understand I can create a small class to act as a factory for one (or each) of them, the example code just implements all of that within the Activity.
Informacja: 2010-03-16
Czytaj: ViewFactory for multiple switchers?
Dashcode and android webview
Hey all, I have been trying to get dashcode from apple to work along side the webview on my android application. My question is more about dashcode than android to be honest but here goes. I have an xml file which i want to read in as input and then get android to run a web view on the file and view the output but i cant seem to get my
Informacja: 2010-03-16
Czytaj: Dashcode and android webview
Setting up command line development on Ubuntu
I'm trying to be able to create a simple application for a Motorola Droid using the command line in Ubuntu 9.04. I've tried eclipse, but the C++, PHP, Android, etc parts seem to be incompatible and cause eclipse to not run very well, so I've abandoned eclipse on Ubuntu. I'm trying to set up the tools on the command line.
Informacja: 2010-03-16
Czytaj: Setting up command line development on Ubuntu
Serial Data Transfer via Bluetooth
I'm trying to get serial data from a USB Weather Board from Sparkfun Electronics using one of their SPP Bluetooth Modems. This device will be able to send serial data over bluetooth and all I wan't to do is read and store the data. I'm pretty sure this is possible but I'm still not great at writing code for an android device yet. After that
Informacja: 2010-03-16
Czytaj: Serial Data Transfer via Bluetooth
Put multiple lines of images
Hi all I'm trying to put an image multiple times and on multiple lines. What i want to do is similar to a matrix, where each cell is an istance of my image. Here's my code: public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceSt ate); mLinearLayout = new LinearLayout(this);
Informacja: 2010-03-16
Czytaj: Put multiple lines of images
onContextItemSelected is not working; window already focused warning message
Hello, I have 2 classes that each have listview. I want both of these listviews to access the same context menu, so I'm making a context menu in a separate class. Right now I only work with one of the class (that has listview) to see if this can work. But apparently it can not. When I click and held the
Informacja: 2010-03-16
Czytaj: onContextItemSelected is not working; window already focused warning message
Persistent external libraries across reboot
Hi, I am using android emulator on windows without eclipse. My application consists of a .jar file and a .apk file. I am able to run the application on a real device with these steps: - Load the .jar in /system/framework and corresponding xml in /system/ etc/permissions - reboot so that the jar is loaded
Informacja: 2010-03-16
Czytaj: Persistent external libraries across reboot
Multiple shapes
Hi I'm trying to build a layout where some shapes will popup every 2 seconds. I the user will click one of these shapes, they have to disappear. What is the correct way of doing this? I thought about a thread, but i missed out. Here's my code at the moment (is not working): Java: public void onCreate(Bundle savedInstanceState) {
Informacja: 2010-03-16
Czytaj: Multiple shapes
How to block incoming call in Android?
Hi All, I want to develop one call control application on android. As we know android sdk does not provide any API which block incoming call due to security reasion. Is there any possiablity to block incoming call using android open source api;s? Please help me. Thanks, Jitendra Kumar
Informacja: 2010-03-16
Czytaj: How to block incoming call in Android?
Re: Context menu from button
Where would the problem lies if the onContextItemSelected() won't run? I have this problem, the menu shows up, but nothing happened after the option were clicked
Informacja: 2010-03-16
Czytaj: Re: Context menu from button
Unparsed aapt error(s)! Check the console for output - yet no errors displayed
I'm struggling a little with just what's going on with this... - XP - Eclipse 3.5 - Sun JRE - java.runtime.version=1.6.0_18- b07 Basically I've not been doing anything too exciting or ambitious but a few of my projects throw the somewhat mysterious "Unparsed aapt error(s)! Check the console for output." error.
Informacja: 2010-03-16
Czytaj: Unparsed aapt error(s)! Check the console for output - yet no errors displayed
Alignment problem of EditText and Button in LinearLayout
Hi all, this is the first time I'm developing an Android app so please bear with me ;) I've put an EditText and Button into a horizontal LinearLayout but unfortunately the button is not aligned with the text field. In the Hierarchy Viewer the text field has a absolute_y of 30 while the button has 32. Please see screenshots of the Hierarchy Viewer here:
Informacja: 2010-03-16
Czytaj: Alignment problem of EditText and Button in LinearLayout
setting up eclipse
I wouldn't consider myself a complete novice to computers, but I can't make heads or tails of the setup instructions for eclipse???? I can't get any of the supporting application to install properly, I don't even know if they have even been installed. I know this can't be that difficult, but I have no idea what I am even looking at???????
Informacja: 2010-03-16
Czytaj: setting up eclipse
Fwd: View this page "Downloads"
Click on [link] - or copy & paste it into your browser's address bar if that doesn't work.
Informacja: 2010-03-16
Czytaj: Fwd: View this page "Downloads"
How can I catch a "ring" event?
Hi android developers! I'm clearly a newb, and I was wondering if anyone knows how I can detect a "ring" event on my cellphone through the android sdk? If you want to simply point me to a page in the api documents that would be a good answer for me, I just don't know how to start my research!
Informacja: 2010-03-16
Czytaj: How can I catch a "ring" event?