[android-beginners] Re: Problem with Hello World

2009-06-10 Thread Kent Yip
hey Maurizio Bellemo, maybe if you post your code here we can help more. On Wed, Jun 10, 2009 at 3:23 PM, Maurizio Bellemo maurizio.bell...@gmail.com wrote: I'm sorry, but this does not help... I think the problem is more difficult to solve... I swa a lot of threads on the web... no one

[android-beginners] Re: Is there any official way to upgrade Android OS?

2009-06-01 Thread Kent Yip
just get the carrier provided g1 phone and root that phone, then you'll be able to install/upgrade the phone manually. the android developer phone can't download applications that require payment. i bought my g1 over craigslist and unlocked it and is using it on ATT network plus i rooted the

[android-beginners] Re: Image quality

2009-05-31 Thread Kent Yip
If u mean your icon image showed up ugly looking try making it in higher dpi, I made mine @ 96dpi comes out very nice looking. Before I was using 72dpi that just doesn't cut it. On May 31, 2009 9:39 AM, Junior Einsfeld junior.einsf...@gmail.com wrote: Any can help me? On Sun, May 31, 2009 at

[android-beginners] Re: USB Headphones?

2009-05-30 Thread Kent Yip
, 2009 7:41 PM, Kent Yip yes...@gmail.com wrote: that's funny i tried HTC USB headphone on new android 1.5 it will make the entire audio system muted. reproducible: play your music on the background while listening with ur usb headphone a call comes in music paused u press a button

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

2009-05-25 Thread Kent Yip
Ecplise is pretty funky sometimes. Try selecting the project in package explorer and press F5, then build the project. Sometime this doesn't work for me, I had to select the java file and do a build again. Even then it doesn't work 100% of the time. I had to do clean then restart eclipse to make

[android-beginners] Re: Notification without firing any Intent

2009-05-19 Thread Kent Yip
Hi Tessarolli, You can take a look at here for different kind of notifications you can choose from: http://developer.android.com/guide/topics/ui/notifiers/index.html You can click on the one of those notification for example code. Hope that help On May 11, 2009 10:41 AM, Tessarolli

[android-beginners] Re: Having a lot of problems finding the documentation (e.g. about sendevent)

2009-05-14 Thread Kent Yip
adb shell sendevent /dev/input/event0 0003 014a 0001 adb shell sendevent /dev/input/event0 0003 thanks raj On May 11, 1:51 pm, Kent Yip yes...@gmail.com wrote: ok, i have taken another look at keyevent on the action performed on the screen... read more

[android-beginners] Re: Having a lot of problems finding the documentation (e.g. about sendevent)

2009-05-14 Thread Kent Yip
think of 330 as a finger is touching on the screen. adb shell sendevent /dev/input/event0 1 330 0 adb shell sendevent /dev/input/event0 0 0 0 the commands goes in pairs a tap on the screen will have 4 event actions 1 330 1, follow by 0 0 0 always they go in pair then 1 330 0, follow by 0 0 0

[android-beginners] Re: import an existing project

2009-05-14 Thread Kent Yip
This kind of problem exist if u import project from a svn, won't break your build On May 14, 2009 7:40 PM, Xian Chen hoganx...@gmail.com wrote: Hello, This would be silly question... When I trying to import an existing project into Eclipse, the package structure is totally mess up. For eg. the

[android-beginners] Re: Installing the android SDK on my new PC

2009-05-06 Thread Kent Yip
in eclipse go to package explorer, then right click the project u r working on and select properties. on the left handside of dialog box select android, then at project build target select one platform u want then click apply then click ok now build or run the project On May 6, 2009 12:08 AM,

[android-beginners] astrid build problem in SDK 1.5

2009-05-06 Thread Kent Yip
after using the latest sdk i have problem building the astrid app. but all other apps r fine. I even re-download astrid source and delete old project and import the new one in, but still got error message: [2009-05-06 17:12:59 - TaskList] trouble processing javax/net/ssl/TrustManager.class:

[android-beginners] Re: astrid build problem in SDK 1.5

2009-05-06 Thread Kent Yip
but i did get android-astrid to built in sdk 1.1 and installed to the emulator. even though the latest ADT allow me to build for android 1.1 target still it should work fine, right? On Wed, May 6, 2009 at 5:24 PM, Mark Murphy mmur...@commonsware.com wrote: Kent Yip wrote: after using

[android-beginners] Re: how to get the string from a listview item

2009-04-29 Thread Kent Yip
using the Cursor worked! thx Glen. On Mon, Apr 27, 2009 at 11:37 PM, Glen Humphrey glendon.humphr...@gmail.com wrote: Try using Cursor instead of SQLiteCursor. On Apr 27, 11:11 pm, Kent Yip yes...@gmail.com wrote: Thx Glen the textview works great, but the SQLiteCursor doesn't work

[android-beginners] Re: switch / if statement, efficiency question

2009-04-29 Thread Kent Yip
a switch statement is made for nested if statements. switch statement is greate if you have a bunch of selections, to make a switch statement perform better you have to look at what user will likely selection the most, and implement that case on the top most case in the switch. Accessing that

[android-beginners] Re: switch / if statement, efficiency question

2009-04-29 Thread Kent Yip
thx fadden for the info. On Wed, Apr 29, 2009 at 1:19 PM, fadden fad...@android.com wrote: On Apr 29, 10:44 am, Kent Yip yes...@gmail.com wrote: a switch statement is made for nested if statements. Actually it's not. Both Java and Dalvik have sparse and packed switch instructions

[android-beginners] Re: how to get the string from a listview item

2009-04-28 Thread Kent Yip
); String text = textView.getText().toString(); On Apr 27, 8:14 pm, Kent Yip yes...@gmail.com wrote: i have a method that fill the list with items // Depending on param, this method will display the list public void fillData( RingtoneManager rm, int type ) { // Set all

[android-beginners] how to get the string from a listview item

2009-04-27 Thread Kent Yip
i have a method that fill the list with items // Depending on param, this method will display the list public void fillData( RingtoneManager rm, int type ) { // Set all type of sounds; notification, ringtone, alarm rm.setType( type ); c = rm.getCursor();

[android-beginners] Re: Having a lot of problems finding the documentation (e.g. about sendevent)

2009-04-21 Thread Kent Yip
this: There seems to be a adb-shell command named 'sendevent', but I found no documentation at all about the event types / event numbers etc, that I should provide. On Apr 17, 7:08 pm, Kent Yip yes...@gmail.com wrote: Perhaps this link will get your started, http

[android-beginners] Re: Having a lot of problems finding the documentation (e.g. about sendevent)

2009-04-17 Thread Kent Yip
Perhaps this link will get your started, http://developer.android.com/guide/developing/tools/adb.html look for monkey. This link as well http://developer.android.com/guide/developing/tools/monkey.html On Fri, Apr 17, 2009 at 8:53 AM, a druid klausf...@gmail.com wrote: Hi, Is it just me or