[android-beginners] [2009-06-15 23:43:18 - DeviceMonitor]Error reading jdwp list: EOF

2009-06-15 Thread Siva
hello im trying to execute the application it will showing like this "[2009-06-15 23:43:18 - DeviceMonitor]Error reading jdwp list: EOF" what is the problem pls help me . thanks& Regarding siva. --~--~-~--~~~---~--~~ You received this message because you are subs

[android-beginners] how can I retrieve the list from the PHP DataBase

2009-06-15 Thread vinny.s...@gmail.com
Hi Every One Is there any Method To retrive the list from the Php Database I need to retrice the 20 names fron the php server how can i get that server can any body help me regarding this ... thanks in advance --~--~-~--~~~---~--~~ You received this message beca

[android-beginners] Re: Invoking shared libraries

2009-06-15 Thread subram
Hi There How to write a simple JNI that will print a message in the android screen/do the operation specified in the shared library Thanks in advance Subram On Jun 15, 3:42 pm, arunjith g wrote: > you will have to use JNI methods to invoke a call in shared library > what u do is > > 1. Crea

[android-beginners] Re: Choosing the Right Book

2009-06-15 Thread janardhan
Hi Golem, this is janardhan. i am new to android. pls fwd the book for me also.(vuruvakilina...@gmail.com) Hello android book ok bye Thanks and regards janardhan On Jun 15, 3:30 pm, golem wrote: > Hi Mahou, > > I have the "Hello, Android" book and I'm very happy with it. > It got me up and runni

[android-beginners] How to obtain the view object under MotionEvent.ACTION_UP

2009-06-15 Thread Chandru
Hello I have a table layout with multiple ImageButton. When user drag-n- drops an image from source button to target button, I'd like to redraw the target view image with the content of the source button. Using the MotionEvent, I can identify the source button, but how do I get the target view b

[android-beginners] LED Alerts

2009-06-15 Thread Beth Mezias
Hello good people, Has anybody got an LED notification from the notification manager working? I tried using a custom setup as well as using the DEFAULT_LIGHTS setting but I see nothing in the emulator nor on the device. The log shows the method is executing the code inside my if. Here's some cod

[android-beginners] Any reason why Data connection stays open?

2009-06-15 Thread Tony Su
I read about this recently as a common reason for battery drain, once the data network is accessed, it doesn't time out and stays on "forever" (of course unless either forcibly terminated or the system is powered off). Is there a known reason for this? It's curious because this is the first dat

[android-beginners] My First Custom View

2009-06-15 Thread Dave Smith
Hi all - I'm trying to get a custom view example running out of the "Professional Android Application Development" book (the CompassView). I have checked over my code numerous times, and still the same problem occurs...whenever I run the application I only see a black screen and the view never p

[android-beginners] Re: How can I style a button widget.

2009-06-15 Thread Josh
Is it possible to add a border to a button or do i need to use drawables? On Jun 13, 5:38 pm, Josh wrote: > I want to create a style to apply to all of my buttons. I want to know > how to style a button with a green border and red background. how > would i do this? --~--~-~--~~--

[android-beginners] Re: Choosing the Right Book

2009-06-15 Thread Yusuf T. Mobile
Whatever book you get, make sure that it covers 1.5 (Cupcake), as the APIs changed enough that it matters. 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 repres

[android-beginners] Using different version of Android SDK in Eclipse in parallel

2009-06-15 Thread AndroidM
Hi, I am using Eclipse Ganymede under Ubuntu Intrepid. I have successfully installed the ADT and got a "Hello world" running in the simulator using Android SDK 1.5 r2. Now I would like to compile an application that was built for Android SDK 1.0. I added it from a svn tree. The build.xml does n

[android-beginners] arabic language

2009-06-15 Thread benmayed
i have HTC Majic android 1.5 and no arabic i need help how can i add arabic to it? --~--~-~--~~~---~--~~ 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@goog

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

2009-06-15 Thread neuro
I''ve replaced 0C02 to 0C03 in .INF file and it installed sucessfully. However, adb does not see the device, though it appears in manager when I plug it in. On Jun 9, 1:20 pm, tienwai wrote: > I had a similar problem and had tried all the methods mentioned above > and it still did not work. Howe

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

2009-06-15 Thread Wysie
Hi, I was having the same problem as tienwai here. Instead of having vid_0bb4&pid_0c02, my entries are vid_0bb4&pid_0c03, and I think that's why it's not working. I tried editing the android_usb.inf file and replaced all occurrences of vid_0bb4&pid_0c02 with vid_0bb4&pid_0c03, and it installed. D

[android-beginners] Upgrade logic for Apps

2009-06-15 Thread KFB
I've been developing my app for some time and will need to do some upgrade logic next time I publish a version. I know there's a way to write upgrade logic for the database, but most of my information is stored as preferences, since it's only user settings. I've been toying with the idea of writ

[android-beginners] How to use the aidl by the eclipse step by step?

2009-06-15 Thread Alex Lv
Hi,everyone! My develop environment: eclipse, ADT0.9, SDK1.5, Windows XP. How to use the aidl form creating an aidl-file to using the service? Step by step. Need your help! In the sdk document, it descripe as "AIDL generates an interface file for you with the same name as your .aidl file. If you a

[android-beginners] Taking picture without preview

2009-06-15 Thread Urizev
If I try to take a picture (with takePicture() method) without calling startPreview, I get a black image. However, if I try to call autoFocus without starting preview, it crashes (because it is not possible to call autoFocus without starting preview). How can I do to take a picture and not to cal

[android-beginners] Re: File Browser on Android Phone

2009-06-15 Thread deepdr...@googlemail.com
You can downlaod a file manager application from the Android market like for example "Astro". Be aware though that as long as your phone is not rooted you do not have file access rights on some areas of the file system. -- http://www.deepdroid.com On 15 Jun., 14:58, yves wrote: > Hi, > > how c

[android-beginners] Re: How to search an application on Android Market?

2009-06-15 Thread deepdr...@googlemail.com
On the device itself you can search within the market application. On the web you can search on http://www.cyrket.com . As you already found out, android.com/market does not offer a search function for apps in the market. -- http://www.deepdroid.com On 15 Jun., 14:57, yves wrote: > Hi, > > Is

[android-beginners] File Browser on Android Phone

2009-06-15 Thread yves
Hi, how can I browse the contents on my android phone without hooking it up to a computer. I mean an File Browser Android application Thanks in advance Yves --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android B

[android-beginners] How to search an application on Android Market?

2009-06-15 Thread yves
Hi, Is it possible to search the Android Market on http://www.android.com/market/? There is no search field??? I mean what if I know the name of an application and don't want to search for an hour? --~--~-~--~~~---~--~~ You received this message because you are su

[android-beginners] Re: Hai

2009-06-15 Thread deepdr...@googlemail.com
SMS is a communication channel of the mobile GSM network. Sockets are used for communication using the IP Internet Protocol. These are two separate, different topics. -- http://www.deepdroid.com On 15 Jun., 06:56, Siva wrote: > Im new for this android how to communicate to each other via sms .

[android-beginners] activity dosnt show on the app menu

2009-06-15 Thread RTX
i have a widget project im adding an activity to the project that i want to be available from the app menu it is registerd on the manifest as well as intentfilter and category but it refuses to add the activity to the menu what am i doing wrong or is there any thing im missing ? --~--~-

[android-beginners] How to find out the screen orientation used at a point of time?

2009-06-15 Thread RTX
an activity can be used on a - port mode - land mode land mode can be showed when the keyboard is open or orientation is land how do i find out what is the currant orientation used by the device from the code ? Cheers --~--~-~--~~~---~--~~ You received this mess

[android-beginners] Re: XML Layout Language

2009-06-15 Thread Tseng
On Jun 13, 12:01 am, Mitch wrote: > Does anyone know a link to the specification for the XML Layout?  I'm > looking for a description of the tags etc.  Since I'm new and just > learning, a simplified version would be nice, focusing on the most > common tags.  Everything I read now is vague. The

[android-beginners] Re: Choosing the Right Book

2009-06-15 Thread Mahou
Alright thanks Golem, I will be sure to check out the book. I just didnt know which one to get, all but these two had reallt poor reviews. On Jun 15, 6:30 am, golem wrote: > Hi Mahou, > > I have the "Hello, Android" book and I'm very happy with it. > It got me up and running quickly and I still

[android-beginners] Re: EditText

2009-06-15 Thread Tseng
http://developer.android.com/reference/android/view/View.OnLongClickListener.html Implement an View.OnLongClickListener and set it to your EditText via EditText txt = (EditText)findViewById(R.id.your_edittext_id); ... txt.setOnLongClickListener(...) Check out http://tseng-blog.nge-web.net/blog/2

[android-beginners] Re: ,myedittext.getText().toString() is giving null pointer exception

2009-06-15 Thread Odessa Silverberg
Obviously becuase you're trying to find a TextView but are using an ID of a layout file and this is why findViewById can't find any textview with this id. You got: setContentView(R.layout.search); final EditText myedittext=(EditText)findViewById(R.layout.search); // <- You're using a layout id, i

[android-beginners] Re: Invoking shared libraries

2009-06-15 Thread subram
Hi thanks for you reply i don't know java/JNI is there any simple code in that i can modify Or any explanations for the steps above mentioned,how to do each step Thanks & Regards Subram On Jun 15, 3:42 pm, arunjith g wrote: > you will have to use JNI methods to invoke a call in shared library >

[android-beginners] Re: Upgrading my G1

2009-06-15 Thread arunjith g
you can get the latest firmwaers from htc site htc site - > product -> G1 phone On Fri, Jun 12, 2009 at 2:47 PM, Urizev wrote: > > Hi, > > I want to develop an aplication 1.5 compatible for my G1. I received > a Devel G1 Phone and it has 1.0 firmware. How can I upgrade it? I > found some "upda

[android-beginners] Re: how to create apk file in android ,like in j2me we create jar and jad files

2009-06-15 Thread arunjith g
you can use eclipse 1. download android plugin 2. Create a android application ( once u download u ll get newproject->android application) 3. import some sample sources 4. this will output u a apk file On Mon, Jun 15, 2009 at 10:20 AM, janardhan wrote: > > hi, > i am new to android . > i done so

[android-beginners] Re: Invoking shared libraries

2009-06-15 Thread arunjith g
you will have to use JNI methods to invoke a call in shared library what u do is 1. Create a java class includes myfunC() 2. Create a jni header file from this class 3. It will have a jni_blahblah_myfunc call 4. create a c/c++ file giving implementation to this function by calling ur required sha

[android-beginners] Invoking shared libraries

2009-06-15 Thread subram
Hi there I am having an shared library named librecord.so, i have to invoke this library inside the android project and make it to call by the sdk,if any one came across with this invoking kindly suggest me Thanks in advance Subram --~--~-~--~~~---~--~~ You re

[android-beginners] Re: how to create apk file in android ,like in j2me we create jar and jad files

2009-06-15 Thread ayush
oops ... instead of section on "Publishing your Application", read "Signing your Applications" On Jun 15, 3:32 pm, ayush wrote: > assuming ur using eclipse with ADT, simply right-click on the project > in the left panel, choose Android Tools => Export unsigned Application > Package > > this will

[android-beginners] Re: how to create apk file in android ,like in j2me we create jar and jad files

2009-06-15 Thread ayush
assuming ur using eclipse with ADT, simply right-click on the project in the left panel, choose Android Tools => Export unsigned Application Package this will create the (unsigned) apk at the destination you specify. before loading this apk, it must be signed with your private key. you can consul

[android-beginners] Re: Choosing the Right Book

2009-06-15 Thread golem
Hi Mahou, I have the "Hello, Android" book and I'm very happy with it. It got me up and running quickly and I still use it every now and again to refresh on some concepts that I don't use often. Good for beginners! I can't say anything about the other book though. On Jun 15, 5:54 am, Mahou wro

[android-beginners] Re: Invokation Exception

2009-06-15 Thread Urizev
Ok. I forgot the permissions. I wrote the code like yours and, however, it throws the following exception when startPreview is called: java.io.IOException: startPreview failed I have no more information and I do not know how to get more. Regards On 14 jun, 21:06, sm1 wrote: > As MrChaz wro

[android-beginners] Re: Upgrading my G1

2009-06-15 Thread Urizev
Cool! It was the perfect help. On 12 jun, 19:51, "Balwinder Kaur (T-Mobile)" wrote: > You may  use the official HTC Website instructions and Image files > > http://www.htc.com/www/support/android/adp.html > > Hope this helps, > > Balwinder Kaur > Open Source Development Center > ·T· · ·Mobile· s

[android-beginners] OnItemClick does not work

2009-06-15 Thread joare...@googlemail.com
Hello, I have implemented the following Adapter class which also implements onitemclicklistener. My problem is, that when I click on one item in the list, the onItemClick function is not invoked. What is wrong ? public class MovieListAdapter implements ListAdapter, OnItemClickListener {

[android-beginners] Re: Porting C project in android

2009-06-15 Thread janardhan
Hi Murphy, i am janardhan. i am also new to android. i am able to write and understand small applications. But i am not aware of how to create apk files just like our jar and jad files in j2me. For example,i written a small application(just like hello android) I am able to run in my system. how c

[android-beginners] ,myedittext.getText().toString() is giving null pointer exception

2009-06-15 Thread sheshi
/** can some one tell me why it is not working .here is my code */ package com.arka.CallLogDemo; import android.app.Activity; import android.app.AlertDialog; import android.content.DialogInterface; import android.content.Intent; import android.os.Bundle; //import android.text.Editable; //imp