[android-beginners] Re: USB data acquisition

2009-07-10 Thread Disconnect
When you plug your headset in, its not a usb port at all. Its straight analog audio. (Take a closer look, there are 10 or so pins. There is even a pinout diagram floating around, and 3way headset adapters that allow usb data, headset audio and charging..) At the end of the day, usb host/guest is

[android-beginners] HTC Dream G1

2009-07-10 Thread Jose Ayerdis
I don't know if this is the right forum to check this but here i go: I just got my HTC Dream Phone (finally) but i haven't been able to configure it i found a online manual with a option of skip the gmail account but mine does not have. Do you have any suggestion??? how can i do it. Can i access

[android-beginners] Re: AsyncTask Misbehaviours

2009-07-10 Thread Romain Guy
You are supposed to be passing in strings to execute(), and you're not. With varargs you can pass no value if you wish. -- Romain Guy Android framework engineer romain...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such

[android-beginners] Re: Make an Emergency Call

2009-07-10 Thread Yusuf T. Mobile
I have good news for you: http://developer.android.com/reference/android/content/Intent.html#ACTION_CALL calls a number. I also have bad news for you. The documentation at that link states, Note: this Intent cannot be used to call emergency numbers. Applications can dial emergency numbers using

[android-beginners] Re: Install Android on my pocket pc

2009-07-10 Thread Yusuf T. Mobile
The short answer is: yes, if you have access to the device bootloader as well as device drivers that Android can use. The other short answer (at no additional cost!) is: there is a wonderful forum for precisely these questions: http://groups.google.com/group/android-porting Yusuf Saib

[android-beginners] Re: interacting with phone

2009-07-10 Thread Yusuf T. Mobile
Intent intent = new Intent(Intent.ACTION_CALL, Uri.parse(tel: + phoneNumber + ; + dtmfSequence)); Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those

[android-beginners] Re: android open database

2009-07-10 Thread Yusuf T. Mobile
Ah, the inspiration and heartbreak of tutorials for a moving target. The vagaries of coding on the bleeding edge of technology like a leaf upon on the wind of our collective mind. Where was I? Oh right, that API was removed, I think in 1.5. Now we have openOrCreateDatabase:

[android-beginners] How to set the activity as Main ?

2009-07-10 Thread Nerj
Hi! I am begginer of Android Development. I can create an activity with different views, and can run them successfully. The problem is that, If I have several activities in the android project, it takes only one to launch. Can u pls, tell me how to set an activity as Main one which

[android-beginners] Grid of clickable views

2009-07-10 Thread Nick Badal
Hi, I'm trying to create a grid of clickable views from an array, and the following code places all of the view on top of eachother. What am I doing wrong? for(int ct = 0; ctmax; ct++) { final int pos = ct; LayoutParams layout =

[android-beginners] How to contact device with ADB from Windows NT

2009-07-10 Thread Chenny
Hi All, I know we can easy contact devide with ADB from Linux PC. such as: $ export ADBHOST=xx.xx.xx.xx $ adb kill-server (you must make sure adb path is set) $ adb shell But how to do it from Windows NT? How to set ADBHOST from windows? Thanks very much!

[android-beginners] HTC Magic for development using the android source code

2009-07-10 Thread scs
I tried to use HTC magic for development. But It is not booting up. Can you please help me up? I followed the steps as http://developer.android.com/guide/developing/device.html And used latest master branch code system image. Please help me.

[android-beginners] Android Device not detected on Karmic

2009-07-10 Thread Daniel Sloof
Long story short, I can't get adb to list my android device: dan...@ubuntu:~$ uname -ar Linux ubuntu 2.6.31-2-generic #16-Ubuntu SMP Mon Jul 6 20:38:51 UTC 2009 i686 GNU/Linux dan...@ubuntu:~$ lsb_release -a No LSB modules are available. Distributor ID:Ubuntu Description:Ubuntu karmic

[android-beginners] Re: USB data acquisition

2009-07-10 Thread Mas
Hello, Thanks for the feedback. I have been doing some more reading online and I found that the audio pins can be set to TTL level RX and TX pins. If the USB cannot act as a host, does anyone know if the serial port can act as a host? Or another alternative, can a Bluetooth connection be made to

[android-beginners] Re: USB data acquisition

2009-07-10 Thread Disconnect
Serial does not have a master/slave requirement, so that will work if you can get serial working on the G1. (The necessary cables exist, but information on making or getting them has yet to come out of google afaik. I think either San or Romainguy were working on it, although I could be wrong.)

[android-beginners] How to programatically launch an installed app?

2009-07-10 Thread Yasser
Hi, I want to launch/start an already installed application like Calculator on Android and then send some keystrokes to it. Is there a way to programatically launch an app without having access to its code? Thanks Yasser --~--~-~--~~~---~--~~ You received this

[android-beginners] UI changing layouts

2009-07-10 Thread bobby
Hi, I have created multiple UI layout files and placed them in res/layout folder. The layouts designed are similar to a forms. Each layout has some buttons to transition to an alternate layout. Let me elaborate how my files look like: main.xml linearlayout with button b1 s1.xml linearlayout

[android-beginners] Re: How to programatically launch an installed app?

2009-07-10 Thread Mark Murphy
Yasser wrote: I want to launch/start an already installed application like Calculator on Android and then send some keystrokes to it. You cannot send keystrokes to other applications. Is there a way to programatically launch an app without having access to its code? If you can find out an

[android-beginners] Re: How to contact device with ADB from Windows NT

2009-07-10 Thread Yusuf T. Mobile
The system requirements for the Android SDK on Windows are Windows XP (32-bit) or Vista (32- or 64-bit). But to quote Henry Ford, Obstacles are those frightful things you see when you take your eyes off your goal. So to set ADBHOST or any environment variable on Windows NT, follow the

[android-beginners] Re: fastboot on emulator

2009-07-10 Thread David Turner
no fastboot doesn't work with the emulator at all. (fastboot is talking to the hardware bootloader that simply doesn't exist on the emulator. Instead, the emulator directly loads a Linux kernel image and starts it directly...) On Thu, Jul 9, 2009 at 3:48 PM, pan.gaoy...@gmail.com

[android-beginners] Re: How to programatically launch an installed app?

2009-07-10 Thread Yasser
To know the intent for an activity in order to launch it, do I need to have access to the app source code? On Jul 10, 1:23 pm, Mark Murphy mmur...@commonsware.com wrote: Yasser wrote: I want to launch/start an already installed application like Calculator on Android and then send some

[android-beginners] SQL Lite question, can you insert negative numbers

2009-07-10 Thread Beth Mezias
Hello,Can I get an (Android) example for getting signed numbers into a SQL Lite database? I've been trying many silly things that generate syntax errors so I thought I could put out the question. Note that I searched and searched the groups and (surprisingly) found no history. Thanks and

[android-beginners] Re: How to programatically launch an installed app?

2009-07-10 Thread Mark Murphy
Yasser wrote: To know the intent for an activity in order to launch it, do I need to have access to the app source code? Ideally, you have documentation telling you hey, it is perfectly acceptable to use this Intent to launch my application: Now, you can find out possible Intents other

[android-beginners] Re: SQL Lite question, can you insert negative numbers

2009-07-10 Thread Mark Murphy
Beth Mezias wrote: Hello, Can I get an (Android) example for getting signed numbers into a SQL Lite database? I've been trying many silly things that generate syntax errors so I thought I could put out the question. Note that I searched and searched the groups and (surprisingly) found no

[android-beginners] Re: How to programatically launch an installed app?

2009-07-10 Thread Yasser
Thanks a lot Mark, that clarified my doubts. On Jul 10, 4:05 pm, Mark Murphy mmur...@commonsware.com wrote: Yasser wrote: To know the intent for an activity in order to launch it, do I need to have access to the app source code? Ideally, you have documentation telling you hey, it is

[android-beginners] Re: How to install and run applications from within another application?

2009-07-10 Thread Yasser
For getLaunchIntentForPackage(), it says it is undefined for type PackageManager and hence code cannot compile? i can see the other methods when I put . after getPackageManager() except this one. Thanks Yasser On Jul 6, 10:39 am, Justin (Google Employee) j...@google.com wrote: How does the

[android-beginners] Android emu on Mac OS X 10.5.7

2009-07-10 Thread 伟伟
Hey, It's the first time that i run the android emulator on the mac. and I'm pretty sure that i have configure it well. so i write a program called AndroidDialer here is the program package com.google.android.AndroidDialer; import android.app.Activity; import android.content.Intent;

[android-beginners] Re: How to set the activity as Main ?

2009-07-10 Thread Nerj
Pls, Suggest me Its urgent, I can't get the solution... On Jul 10, 4:10 pm, Nerj neeraja.ar...@gmail.com wrote: Hi! I am begginer of Android Development. I can create an activity with different views, and can run them successfully. The problem is that,             If  I have several

[android-beginners] Re: Android emu on Mac OS X 10.5.7

2009-07-10 Thread Romain Guy
You can safely ignore this message. It won't prevent the emulator nor your application from running correctly. On Fri, Jul 10, 2009 at 8:43 PM, 伟伟bapuwa...@gmail.com wrote: Hey,   It's the first time that i run the android emulator on the mac. and I'm pretty sure that i have configure it