[android-beginners] Porting Qt applications on Android

2009-05-18 Thread Vaidya
Hi, Is it possible to port an application (C/C++ platform) developed using Qt on Android? Can the C shared libraries (.so files) be loaded in Android? Regards, Vaidya --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-beginners] Re: Porting Qt applications on Android

2009-05-18 Thread David Turner
no On Mon, May 18, 2009 at 11:05 AM, Vaidya vaidya...@gmail.com wrote: Hi, Is it possible to port an application (C/C++ platform) developed using Qt on Android? Can the C shared libraries (.so files) be loaded in Android? Regards, Vaidya

[android-beginners] Re: Sprite imaging for 2D game programming

2009-05-18 Thread ayush
there is no Sprite class available like the one in J2ME. like nicholas suggests - u might want to write your own custom sprite class with the same functionality. i managed to avoid it on my current project, but i guess sooner or later i'll have to write my own game API. here is what i have in

[android-beginners] Re: setBuiltInZoomControls and debugging problems

2009-05-18 Thread Tim
Ok, I've found out that the only method to actually debug code outside of your project is with a try catch. By doing this I found that mapView is null. But why? The R.id.mapview exists in the autocomplete. why doesn't it give me the MapView? On 10 mei, 18:58, Tim t...@q42.nl wrote: Hi! I've

[android-beginners] Re: Problem with tutorials.

2009-05-18 Thread Michael Dorin
Hola Gabriel, I was/am having the same problem. Xavier gave me this not and link to follow: Make sure you've followed all the steps at http://developer.android.com/sdk/1.5_r1/upgrading.html#UpdateYourProjects; Which worked. The other thing that worked was to revert the sdk back to 1.1. I am

[android-beginners] Want to display a rapidly changing graph. Can someone explain the API demo please?

2009-05-18 Thread BGH
I want to display rapidly changing data from the accelerometer as a graph in my app. Very similar to the way it is done in the API demo OS - sensors. However I've looked over that code and I am just not getting anywhere. I was hoping someone could just go over the code in the demo and add some

[android-beginners] Re: Moving files to phone

2009-05-18 Thread jknox
On May 15, 5:41 pm, Jerret Halter jeeha...@gmail.com wrote: Are you trying to install an apk?  If so the command is adb install file.apk.  Use the -r flag to reinstall an app The Eclipse SDK appears to have installed the app for me. It is now on the phone, the icon is where I expect it, and

[android-beginners] Re: HTC Magic - Can't install driver on development PCs

2009-05-18 Thread John Burton
Nicholas Radford wrote: Then you've hit the same problem as me. As I said, I dont think the phone is the problem, as I got it working on linux. Is there anywhere to get further support on this as I really need it to work? The fact that it doesn't work on my main machine or my laptop, and I've

[android-beginners] Re: HTC Magic - Can't install driver on development PCs

2009-05-18 Thread Nicholas Radford
Honestly I have no idea. have you tried contacting Htc about the matter? On May 18, 2009 3:49 PM, John Burton john.bur...@jbmail.com wrote: Nicholas Radford wrote: Then you've hit the same problem as me. As I said, I dont think the phone... Is there anywhere to get further support on this as I

[android-beginners] Re: Error Message

2009-05-18 Thread Sean Hodges
Hmm, I'm not too familiar with the OpenGL ES implementation in Android, so running out of ideas if the DDMS log isn't spitting out anything useful. If you are able to isolate the problem to a self-contained test it will definitely help. From what you've explained it sounds likely to be the model

[android-beginners] Re: Unable to get adb to work with my Htc Magic

2009-05-18 Thread Nicholas Radford
I finally got it working on ubuntu myself. I had used the wrong rule. Its just windows now that I need to solve. On May 18, 2009 5:37 PM, Sean Hodges seanhodge...@googlemail.com wrote: In Ubuntu/Kubuntu, you need to add a rule to the USB config so that debugging will work:

[android-beginners] Java Swing/AWT class on Android

2009-05-18 Thread Vaidya
Hi.. I googled and found that Android does not support the Java AWT and Java Swing packages. I am developing an application using Java swing for running on Ubuntu Linux. I require the same application to be able to run on Android OS also (After converting to Dex format and getting the .apk

[android-beginners] Re: Java Swing/AWT class on Android

2009-05-18 Thread Romain Guy
Swing requires a lot of native code that Android does not provide. It's also a huge library and porting it to Android might not be a simple feat. You will need AWT first :) On Mon, May 18, 2009 at 9:51 AM, Vaidya vaidya...@gmail.com wrote: Hi.. I googled and found that Android does not support

[android-beginners] [android-beginners]'system.out.println' dumpage

2009-05-18 Thread Rafa Perfeito
Here's a real beginner question: Im using Eclipse IDE with the android SDK. Where does the 'system.out.println' printing goes? to the console? 'cause it is not going... Thanks -- Cumprimentos, Hugo Rafael Augusto --~--~-~--~~~---~--~~ You received this message

[android-beginners] Re: Errors in VideoPlayer

2009-05-18 Thread Dave Sparks
That code is very old and based on a pre-release SDK. Try looking at the code here: http://developer.android.com/guide/topics/media/index.html On May 14, 7:18 pm, weird0 amiredi...@gmail.com wrote: Hi guys, I have implemented the VideoPlayer example from the following link:

[android-beginners] Spinner hint

2009-05-18 Thread krzysiek
Hello, I want do have spinner with initially selected Select one item, but this item shouldn't be visible when user clicks on spinner. I've tried to catch onClick event in spinner, but it seems to be impossible. How can i solve this problem?

[android-beginners] Re: Porting Qt applications on Android

2009-05-18 Thread n5r11
I realy don't think so.. Have a look at the architecture: http://developer.android.com/guide/basics/what-is-android.html On 18 мај, 11:05, Vaidya vaidya...@gmail.com wrote: Hi, Is it possible to port an application (C/C++ platform) developed using Qt on Android? Can the C shared libraries

[android-beginners] Re: Cannot create AVD in window XP

2009-05-18 Thread Steve
This is because the Android HelloWorld example: http://developer.android.com/guide/tutorials/hello-world.html ...points to the download page of the 1.1 SDK, whereas you need the 1.5 SDK to be able to use the 'android' command from the same example! Download the 1.5 SDK here:

[android-beginners] Corrupt XML binary file error when adding a PNG to res/drawable

2009-05-18 Thread Steve Smith
Hi, I'm seeing an odd error when adding a PNG file to the res/drawable directory in an otherwise working app: I/ActivityManager( 565): Start proc net.haltcondition.android.ex for activity net.haltcondition.android.ex/.ThreadedXmlList: pid=1237 uid=10018 gids={3003} W/ResourceType( 1237): Bad

[android-beginners] Missing setListAdapter() Method?

2009-05-18 Thread TJO
I am working through the Notepad tutorial and notice that my project will not compile on account of a missing setListAdapter() method call in the Notepadv1.java. In that java file there is a method called fillData() which make the call to the missing method setListAdapter (notes). Can someone

[android-beginners] Is there an easy way to make EditText look like TextView but still behave like EditText?

2009-05-18 Thread nikolar
Hello there, I want an EditText to look like TextView but still behave like EditText. I've tried applying TextView style to my EditText in my layout.xml file, like this: EditText android:id=@+id/lipsum android:text=Lorem ipsum android:style=@android:style/Widget_TextView

[android-beginners] Multiline text input

2009-05-18 Thread Anders
Hi, I have an AlertDialog with an EditText for text input. The AlertDialog is created using AlertDialog.Builder and the EditText is set as a view on the dialog using setView(). I would like to be able to specify if the EditText should be single or multiline. How would I go about doing that?

[android-beginners] Re: Upgraded SDK, now can't do helloAndroid project

2009-05-18 Thread rahul
i also have the same problem please do help... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from

[android-beginners] Android instrumentation class : what is the concept ?

2009-05-18 Thread sachmi2
Hi, what is the android instrumentation class? what is the concept behind it? how it uses junit in android? regards --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group,

[android-beginners] AChartEngine - a charting library for the Android platform

2009-05-18 Thread dandromeres...@gmail.com
Hello, If you need any charting feature in your Android projects, you might want to consider using the AChartEngine framework. It currently supports the following chart types: * line chart * area chart * scatter chart * time chart * bar chart * pie chart The above

[android-beginners] Re: Cannot create AVD in window XP

2009-05-18 Thread Steve
I have the same problem as this. There is no 'android' executable in the tools directory - should there be? I only have an android.jar file in the tools' parent folder, but this is not part of my path, and I'm not sure if this is what is meant to be running. On May 12, 4:19 am,

[android-beginners] To Do List Example Crashed Eclipse

2009-05-18 Thread MMC2
I have been progressing through the To Do List example from the book Professional Android Application Development. At each stage of the example I would run the app without any major problems. Then after the final stage I ran the App. At first it worked including the remove item feature. Then it

[android-beginners] Is there an easy way to make EditText look like TextView but still behave like EditText?

2009-05-18 Thread Nikola Radosavljevic
Hello there, I want an EditText to look like TextView but still behave like EditText. I've tried applying TextView style to my EditText in my layout.xml file, like this: EditText android:id=@+id/lipsum android:text=Lorem ipsum android:style=@android:style/Widget_TextView /

[android-beginners] AChartEngine - a charting library for the Android platform

2009-05-18 Thread dandromeres...@gmail.com
Hello, If you need any charting feature in your Android projects, you might want to consider using the AChartEngine framework. It currently supports the following chart types: * line chart * area chart * scatter chart * time chart * bar chart * pie chart The above

[android-beginners] How can I install Hello world project to G1 phone? How can I install using Eclipse with ADT??

2009-05-18 Thread zirubak
Hello, I download the 1.5r1 SDK and Eclipse with ADT. So I tried the following tutorial: http://developer.android.com/guide/tutorials/hello-world.html I try to install HelloAndroid.apk to G1 phone. How can I install it? If I see the Android development site, I can see this command that if you

[android-beginners] Android instrumentation class : what is the concept ?

2009-05-18 Thread sachmi2
Hi, what is the android instrumentation class? what is the concept behind it? how it uses junit in android? regards --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group,

[android-beginners] Notepad tutorial and the case of the missing setListAdapter() method

2009-05-18 Thread TJO
I am working through the Notepad tutorial and am noticing my project will not compile. The last line of the fillData() method in the Notepadv1.java file references this method. I have searched unsuccessfully to find it. Can someone provide me insight about where this method is so I can get my

[android-beginners] Re: [android-beginners]'system.out.println' dumpage

2009-05-18 Thread Rob Franz
Log.d(YourAppName, this is a debug message); On Mon, May 18, 2009 at 1:35 PM, Raphael r...@android.com wrote: On Mon, May 18, 2009 at 10:17 AM, Rafa Perfeito rafa.perfe...@gmail.com wrote: Here's a real beginner question: Im using Eclipse IDE with the android SDK. Where does the

[android-beginners] Re: Sprite imaging for 2D game programming

2009-05-18 Thread Cass Surek
Guys, I have tried to use AnimationDrawable and could never get to make it work. This is what I've tried to do: http://groups.google.com/group/android-beginners/browse_thread/thread/12b1af591d8dfbf0?hl=en Grateful for any insights from any of you. Cheers Cass On May 18, 11:36 am, ayush

[android-beginners] Where is source code for Dev Tools?

2009-05-18 Thread Lewis Z.
Could someone please tell me where I can find the source code for Dev Tools (i.e., Sync, Media Browser, and etc)? Or are they under different names in the source code? Thanks in advance. --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[android-beginners] Re: HTC Magic - Can't install driver on development PCs

2009-05-18 Thread Raphael
Hi there, We're trying to reproduce the issue. I have a few questions: - Which version of Windows are you using? XP, Vista, W7, 32 or 64bit. - Did you *ever* install an android USB driver before? SDK 1.0/1.1 had one and it has been updated in 1.5. - When you plug the device and go to the Device

[android-beginners] Re: Moving files to phone

2009-05-18 Thread jknox
On May 18, 8:15 am, jknox jk...@trisoft.com wrote: With the emulator, I simply used file explorer under Eclipse and just cut/paste the files into the appropriate folder.  Task complete. But with the phone, while I can see tons of app files, none of them appear to be mine!  ?  Hence the

[android-beginners] Re: HTC Magic - Can't install driver on development PCs

2009-05-18 Thread Nicholas Radford
Lol, no worries for me... We're trying to reproduce the issue. I have a few questions: - Which version of Windows are you using? XP, Vista, W7, 32 or 64bit. XP Service pack 3, 32 bit - Did you *ever* install an android USB driver before? No, My HTC Magic is my first android phone, It runs 1.5

[android-beginners] Re: [android-beginners]'system.out.println' dumpage

2009-05-18 Thread fadden
On May 18, 10:35 am, Raphael r...@android.com wrote: On Mon, May 18, 2009 at 10:17 AM, Rafa Perfeito rafa.perfe...@gmail.com wrote: Here's a real beginner question: Im using Eclipse IDE with the android SDK. Where does the 'system.out.println' printing goes? to the console? 'cause it is

[android-beginners] Re: What is Port Forwarding?

2009-05-18 Thread Raphael
On Mon, May 18, 2009 at 1:45 PM, jtaylor jatto@gmail.com wrote: ..port forwarding (so you can set up breakpoints in your code in your IDE) http://developer.android.com/guide/developing/debug-tasks.html http://lmgtfy.com/?q=Wikipedia+Port+Forwardingl=1 R/

[android-beginners] Re: Where is source code for Dev Tools?

2009-05-18 Thread Raphael
On Mon, May 18, 2009 at 11:39 AM, Lewis Z. lzh...@gmail.com wrote: Could someone please tell me where I can find the source code for Dev Tools (i.e., Sync, Media Browser, and etc)? Or are they under different names in the source code? iirc it's apps/Development in development.git

[android-beginners] Re: Cannot create AVD in window XP

2009-05-18 Thread Raphael
Thanks for catching this. I filed a bug for that: http://b.android.com/2697 R/ On Sun, May 17, 2009 at 6:44 AM, Steve steve.ma...@gmail.com wrote: This is because the Android HelloWorld example: http://developer.android.com/guide/tutorials/hello-world.html ...points to the download page of

[android-beginners] Re: Cannot create AVD in window XP

2009-05-18 Thread Raphael
If you are under Windows there should be SDK/tools/android.bat and android.sh for linux/mac. If SDK/tools is not on your path, add it. The only android.jar you can find is SDK/platforms/android-1.[15]/android.jar which is the API for ant/eclipse. It has nothing to do with the android

[android-beginners] Re: Corrupt XML binary file error when adding a PNG to res/drawable

2009-05-18 Thread Raphael
What is the name of the png you are adding and where and how are you referring it to? R/ On Sat, May 16, 2009 at 11:28 PM, Steve Smith tarkast...@gmail.com wrote: Hi, I'm seeing an odd error when adding a PNG file to the res/drawable directory in an otherwise working app:  

[android-beginners] Re: Corrupt XML binary file error when adding a PNG to res/drawable

2009-05-18 Thread Steve Smith
Hi, The file is res/drawable/androidmarker.png (taken from a tutorial). I'm not referring to it at all; I'm merely placing it in the drawable directory. Removing it removes the error. Thanks, Steve 2009/5/19 Raphael r...@android.com: What is the name of the png you are adding and where and

[android-beginners] Re: What is Port Forwarding?

2009-05-18 Thread jtaylor
lol Yeah, but I still don't understand what Port Forwarding is and especially in the context of DDMS, and in the context of debugging. What I need is a one-liner. .. so you can set up breakpoints - this must be outside of eclipse to enable debugging? + Juan On May 18, 4:50 pm, Raphael

[android-beginners] Re: What is Port Forwarding?

2009-05-18 Thread jtaylor
I actually asked this question in January but there was no answer. + Juan On May 18, 5:37 pm, jtaylor jatto@gmail.com wrote: lol Yeah, but I still don't understand what Port Forwarding is and especially in the context of DDMS, and in the context of debugging. What I need is a one-liner.

[android-beginners] Re: What is Port Forwarding?

2009-05-18 Thread Nicholas Radford
Port forwarding is when something, typically a router, but anything that routes connections, recieves incoming data on a given port then forwards it to a preset destination. On May 18, 2009 10:37 PM, jtaylor jatto@gmail.com wrote: lol Yeah, but I still don't understand what Port Forwarding

[android-beginners] Re: What is Port Forwarding?

2009-05-18 Thread jtaylor
I asked this in January but didn't get an answer. I don't think it's clear for people who don't know Networking. + Juan On May 18, 5:37 pm, jtaylor jatto@gmail.com wrote: lol Yeah, but I still don't understand what Port Forwarding is and especially in the context of DDMS, and in the

[android-beginners] Re: What is Port Forwarding?

2009-05-18 Thread jtaylor
On May 18, 5:39 pm, Nicholas Radford nikradf...@googlemail.com wrote: Port forwarding is when something, typically a router, but anything that routes connections, recieves incoming data on a given port then forwards it to a preset destination. So I would use that in DDMS to just hook into

[android-beginners] Re: What is Port Forwarding?

2009-05-18 Thread jtaylor
Yes, must be just for debugging. Something I don't need to get into if I'm using Eclipse I'm sure. For more information on port-forwarding with DDMS, read Configuring your IDE to attach to port 8700 for debugging. http://developer.android.com/guide/developing/tools/ddms.html + Juan On May 18,

[android-beginners] Re: HTC Magic - Can't install driver on development PCs

2009-05-18 Thread Raphael
On Sun, May 17, 2009 at 9:55 AM, Nicholas Radford nikradf...@googlemail.com wrote: Then you've hit the same problem as me. As I said, I dont think the phone is the problem, as I got it working on linux. Hi. I'm still investigating this. I'm trying to make it not work under Windows :-) Anyhow,

[android-beginners] Re: HTC Magic - Can't install driver on development PCs

2009-05-18 Thread Raphael
One more question: when you fail to get ADB discovered by Windows, do you see a Other Device Unknown Device entry in the Device Manager? I got into this situation under Vista: - removed old ADB driver, rebooted - upon reboot Windows told me a new device had been found and prompted me for a

[android-beginners] how to run sdk sample activities?

2009-05-18 Thread Kent Loobey
What is the URL to instructions on how to run the sample activities included in the Android 1.5 SDK? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to

[android-beginners] Re: HTC Magic - Can't install driver on development PCs

2009-05-18 Thread Raphael
On Mon, May 18, 2009 at 5:22 PM, Nicholas Radford nikradf...@googlemail.com wrote: Will do in the morning Forget the linux question. It became totally irrelevant. We found the issue: it happens when the device is plugged in Windows with USB Debugging turned off first. The current fix is: a)