[android-developers] Re: M5 -> 0.9 Issue about file creation

2008-09-10 Thread Tyler Ernst
Thanks! I had the same problem. On Aug 20, 8:45 am, roland <[EMAIL PROTECTED]> wrote: > Just found the problem is i didn't delete old package folder which is > compiled with the M5. Everything works fine now. > > On 20 août, 17:00, roland <[EMAIL PROTECTED]> wrote: > > > In my application, i sav

[android-developers] Re: how to remove a view

2008-09-10 Thread hackbod
setContentView() replaces any existing views. If you want finer- grained control, you can setContentView() a top-level layout manager, which you can then add and remove views in as you desire. On Sep 10, 2:40 pm, Billsen <[EMAIL PROTECTED]> wrote: > Hi, > > How to remove a view added by addConte

[android-developers] Re: How can native C++ application starting Andorid application

2008-09-10 Thread hackbod
We aren't saying this isn't supported just to give you a challenge, but because the kind of stuff you are doing is not supported, and you can expect it to break across any changes to the system since you are using non-public features. As such, this isn't something we are going to help you do. Yo

[android-developers] Removal of javax.microedition.lcdui.Graphics

2008-09-10 Thread Sudha
I was using M5 .Now I switched my application to SDK 0.9. I am getting the error on eclipse that the import javax.microedition.lcdui.Graphics cannot be resolved. In my program I am using the Graphics.TOP|Grpahics.LEFT. Can any one help me to find whether that option is removed , why and anywhere

[android-developers] how to remove a view

2008-09-10 Thread Billsen
Hi, How to remove a view added by addContentView method? Thanks, Billsen --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegrou

[android-developers] Re: How to re-use the photo picker activity in my application

2008-09-10 Thread Nickname
It seems I have missed this stuff, which is what i desperately need! Where can I find the documentation on this photo picker activity? Thanks for any information!! On Aug 29, 12:49 pm, Cheryl Sedota <[EMAIL PROTECTED]> wrote: > Hi, I have some code that attempts to invoke thephotopickeractivity

[android-developers] Photo pick???

2008-09-10 Thread Nickname
Hi everyone, Does anyone know whether Android has any builtin photo picking activity or service that can be reused by application? And, how? Any example code?? Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Grou

[android-developers] Removal of javax.microedition.lcdui.Graphics

2008-09-10 Thread Sudha
I was using M5 .Now I switched my application to SDK 0.9. I am getting the error on eclipse that the import javax.microedition.lcdui.Graphics cannot be resolved. In my program I am using the Graphics.TOP|Grpahics.LEFT. Can any one help me to find whether that option is removed , why and anywhere

[android-developers] Re: How can native C++ application starting Andorid application

2008-09-10 Thread Anshul
Dianne, I understand that native code is not supported by Android at this time but i did find a lot of examples that lets us run say a basic hello world program in C on Android simulator. We already have an app running in the linux space on the Android phone and would like it to somehow start an

[android-developers] Re: multiple-attack package point for the Androidsystem For Share.

2008-09-10 Thread nainfanta
4周? 我质疑 From nainfanta 2008-09-11 08:27:31 Shenzhen Kehao Information Technologies Co., Ltd. http://www.kehaoinfo.com 发件人: 雨诗 发送时间: 2008-09-11 00:47:19 收件人: android-developers@googlegroups.com 抄送: 主题: [android-developers] multiple-attack package point for the Androidsystem For Share. Hel

[android-developers] Re: onKeyListener problem -- double trouble

2008-09-10 Thread Romain Guy
The correct solution is simply to let the framework handle this. To wrap the focus from right to left, just use android:nextFocusRight. On Sep 10, 2008 3:09 PM, "Mark Murphy" <[EMAIL PROTECTED]> wrote: > However, it seems that every time I press the RIGHT button, the focus > moves TWO views o

[android-developers] Re: onKeyListener problem -- double trouble

2008-09-10 Thread Mark Murphy
> However, it seems that every time I press the RIGHT button, the focus > moves TWO views over... the RIGHT button gets registered by the first > view's listener, AND by the second view's listener, and the focus > shifts to the third image button. Any idea why this might be? U...full moon?

[android-developers] documentation?

2008-09-10 Thread David Given
Does anyone know if there's any documentation for the XML language used for specifying drawables? I haven't been able to find anything, and http://code.google.com/android/reference/available-resources.html#drawables doesn't mention them. Currently I'm working from the examples in the SDK, which a

[android-developers] Re: onKeyListener problem -- double trouble

2008-09-10 Thread kingkung
Correction: both RIGHT and LEFT actions should return TRUE for the listener. Corrected code below: > ImageButton ib; >                 ib.setOnKeyListener(new OnKeyListener() >                 { >                         public boolean onKey(View v, int keyCode, KeyEvent > event)

[android-developers] onKeyListener problem -- double trouble

2008-09-10 Thread kingkung
Hi, I have a horizontal linear layout with image buttons. For each image button, i set an onKeyListener such that if the user presses the RIGHT dpad button, the image button directly to the right will take the focus. Simple enough. However, it seems that every time I press the RIGHT button, th

[android-developers] Re: Acessing web services with ksoap

2008-09-10 Thread Luciano
In fact I quit using that ksoap modified library from Tuxpan and I used the original ksoap2 library. So I had to modify the source code of HttpTransport class: Original connection = (HttpConnection) Connector.open( url, Connector.

[android-developers] Re: non-scrolling gallery?

2008-09-10 Thread plusminus
Maybe override something like onTouch / setting onTouchListener()? On Sep 10, 1:34 pm, kingkung <[EMAIL PROTECTED]> wrote: > I want all of the features of the gallery (image icons, selector > skins, switching selections by pressing left and right), but I don't > want the thing to scroll... I want

[android-developers] Re: ListView - If you have a item that can focus you can select the Item

2008-09-10 Thread Mark Murphy
> This is my problem: > My application has a ListView and every row has a TextView and a > Checkbox. > Checkboxes work correctly, but TextViews can't be selected and thus > onListItemClick method is never called. > I need the two functions. What can I do? Use a context menu instead of onListItemC

[android-developers] Re: ListView - If you have a item that can focus you can select the Item

2008-09-10 Thread Pau
Hi, This is my problem: My application has a ListView and every row has a TextView and a Checkbox. Checkboxes work correctly, but TextViews can't be selected and thus onListItemClick method is never called. I need the two functions. What can I do? Pau On 5 sep, 21:08, kingkung <[EMAIL PROTECTED

[android-developers] non-scrolling gallery?

2008-09-10 Thread kingkung
I want all of the features of the gallery (image icons, selector skins, switching selections by pressing left and right), but I don't want the thing to scroll... I want the images to stay in place. Is there any way to do this, or do I have to succumb to doing a LinearLayout of ImageButtons? --~--

[android-developers] Re: multiple-attack package point for the Android system For Share.

2008-09-10 Thread Shane Isbell
On Wed, Sep 10, 2008 at 7:21 AM, 雨诗 <[EMAIL PROTECTED]> wrote: > I hope you can check it out and let me know what you think. Is his > achievement valuable or useful for you in updating a new version of > the Android system?What do you think about this muliple attack > package? I'd say if Dr. Li

[android-developers] Re: multiple-attack package point for the Android system For Share.

2008-09-10 Thread hackbod
Security discussion should real go in the Android Security Discuss group, and we have a security team who should be the first point of contact for these kinds of things. See here: http://code.google.com/android/kb/security.html On Sep 10, 7:21 am, "雨诗" <[EMAIL PROTECTED]> wrote: > Hello there.

[android-developers] multiple-attack package point for the Android system For Share.

2008-09-10 Thread 雨诗
Hello there. I'm a journalist of Chengdu Economic Daily, Chengdu, Sichuan, China. (成都商报 the name of my newspaper) I've just finished an interview with the Dr. Jia Bai Li from The University of Electronic Science and Technology Of China. He and his research group, Blitz Force, have just spent 4 wee

[android-developers] Re: Incomming Call

2008-09-10 Thread Megha Joshi
2008/9/10 Jose María González <[EMAIL PROTECTED]> > > The class PhoneStateIntentReceiver has been removed from the 0.9 > version, but it is possible to detect an incomming call: > > MyPhoneStateListener phoneListener=new MyPhoneStateListener(); > TelephonyManager telephonyManager > =(TelephonyMana

[android-developers] jchat4android 1.1 released

2008-09-10 Thread marco ughetti
Dear Android developers, We are proud to announce the release of jChat4Android 1.1 working with *ANDROID SDK 0.9beta* jChat4Android is a chat application for the Android platform based on Jade agent framework. It shows how Jade can effectively be used in a peer-to-peer context on mobile dev

[android-developers] JADE-ANDROID Rel 1.1 released for ANDROID SDK 0.9 beta

2008-09-10 Thread marco ughetti
Dear ANDROID users, We are pleased to announce the release of version 1.1 of JADE4ANDROID add on (prevously JADE-ANDROID) working on ANDROID SDK 0.9 beta,a software package that allows developing agent oriented applications based on JADE ( http://jade.tilab.com) for the ANDROID platform. An

[android-developers] Re: Question about details of how services may be used.

2008-09-10 Thread szeldon
Wow, that was so obvious, when I think of it now! I really appreciate your help. On Sep 10, 5:37 pm, Zach Hobbs <[EMAIL PROTECTED]> wrote: > You can startService(Intent) and then bind to it at anytime using the normal > bind/unbind.  This will also keep your service running after you unbind from

[android-developers] Re: Question about details of how services may be used.

2008-09-10 Thread Zach Hobbs
You can startService(Intent) and then bind to it at anytime using the normal bind/unbind. This will also keep your service running after you unbind from it. -- Zach Hobbs HelloAndroid.com Android OS news, tutorials, downloads On Wednesday 10 September 2008 7:16:13 am szeldon wrote: > Hi,

[android-developers] Re: Reg Android Porting on PXA-27X Board

2008-09-10 Thread Andrew Stadler
You may get better results by posting that question on android-internals, which covers (among other things) porting Android to other hardware platforms. See for more information. --Andy On Tue, Sep 9, 2008 at 10:06 PM, arm <[EMAIL PROTECTED]> wrote:

[android-developers] Re: Mock Location Provider [SOLVED+IMPROVED]

2008-09-10 Thread ken
Hi [re-post -- previous didn't appear] I tried downloading http://groups.google.com/group/android-developers/web/mock_provider.zip but got a 404. Has it moved somewhere else? Thanks, Ken On Sep 9, 2:21 pm, "Justin (Google Employee)" <[EMAIL PROTECTED]> wrote: > Thanks Stefan, for providing t

[android-developers] Re: Mock Location Provider [SOLVED+IMPROVED]

2008-09-10 Thread ken
Hi Justin, I just tried to download http://groups.google.com/group/android-developers/web/mock_provider.zip but I got a 404. Is it available somewhere else? Thanks, Ken On Sep 9, 2:21 pm, "Justin (Google Employee)" <[EMAIL PROTECTED]> wrote: > Thanks Stefan, for providing the additional rout

[android-developers] Customize Gallery to show a fixed number of items at all times

2008-09-10 Thread david
Is there a way to customize Gallery to show a fixed number of items at all times? For example, if item0 is in the center and we have 5 items in the gallery, I would like to show item4, item0, and item1. The current behavior will only show item0 and item1. Thanks. David --~--~-~--~~--

[android-developers] ListAdapter transformation

2008-09-10 Thread Jorge D Ortiz
Hi all, I would like to transform the contents of one of the fields of a databade before they get printed in each of the rows. For example, I have an integer field that can be 0 or 1 and I want to print on or off on the list. I assume that the proper place to do the transformation is by using a

[android-developers] What the heck is a "task" ?

2008-09-10 Thread Guillaume Perrot
In several parts of the API is mentioned the term "task": * the singleTask activity launch mode, * a flag to use with intent, * other activity manifest flags * getTaskID in Activity * ActivityManager.RunningTaskInfo and so on... I checked the documentation but I didn't found any clear definition

[android-developers] ACTION_ANSWER

2008-09-10 Thread Jose María González
I am trying to automatically answer an incoming call. I am using the intent ACTION_ANSWER, but when a call arrives I can only see an IndexOurOfBoundsException from JavaBinder. According to the documentation it is possible to answer the call, but I cannot make it. Here is my code public class MyP

[android-developers] AudioRecordThread: buffer overflow... can it cause problems?

2008-09-10 Thread HTP
Hi! I'm trying to record audio from the mic. I have succeeded with doing that, but have one question. In the log in Dalvik debug monitor i get the following message: Tag: AudioFlinger Message: AudioRecordThread: buffer overflow But I don't get what it means. Some kind of buffer overflow of c

[android-developers] Re: Incomming Call

2008-09-10 Thread Jose María González
The class PhoneStateIntentReceiver has been removed from the 0.9 version, but it is possible to detect an incomming call: MyPhoneStateListener phoneListener=new MyPhoneStateListener(); TelephonyManager telephonyManager =(TelephonyManager)getSystemService(TELEPHONY_SERVICE); telephonyManager.liste

[android-developers] Re: I get "unknown error" when opening simple TCP Socket

2008-09-10 Thread Mark Murphy
Future wrote: > Hi, I get the solution, it's neccesary to change Manifest.xml file and > write: > >android:name="android.permission.INTERNET" /> > > > It's discouraging for me that I haven't seen it on release notes and > api changes overview documents; too, it's discouraging for me tha

[android-developers] Re: Orientation changes simulation

2008-09-10 Thread blindfold
Clever find, yes, this way we can get rid of changing the closing tags in global substitution such that one need only apply one global substitution instead of two. Without the comment coloring of Eclipse it does get confusing to read though. Concerning your //* method, I would suggest to use somet

[android-developers] Question about details of how services may be used.

2008-09-10 Thread szeldon
Hi, I'm working on an application similar to bittorrent client. Because I want it to download things in background (even when an activity is not visible or destroyed), I tried to use the bind/unbind scheme. But there's a problem, because the service ends after unbinding. So I tried to use startSe

[android-developers] How to get the disk space using Android?

2008-09-10 Thread Huibin QIAN
Want to know the amount of space available in mobile phone --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubsc

[android-developers] Re: Orientation changes simulation

2008-09-10 Thread Peli
Getting a little bit off-topic, but I was just wondering whether it is possible to select between two different code segments by replacing a single character only. I came up with the following solution: //* int a = 1; int b = 1; // */ int a = 2; /* // */ int b = 2; /* // */ Log.d("test", "a = " +

[android-developers] Re: I get "unknown error" when opening simple TCP Socket

2008-09-10 Thread Future
Hi, I get the solution, it's neccesary to change Manifest.xml file and write: It's discouraging for me that I haven't seen it on release notes and api changes overview documents; too, it's discouraging for me that nobody has helped me with this, it was so easy... I think this post will be nic

[android-developers] Re: Orientation changes simulation

2008-09-10 Thread Peli
if you replace the end tag */ // by this /* */ // right from the beginning, it should still work (since the '/*' is ignored within the comment block) and you only need to globally substitute the open tag to comment or uncomment the section. :-) Could save you half the time :-) Peli On Sep 10,

[android-developers] Re: How to use SmsManager.sendDataMessage() to send the message

2008-09-10 Thread anywhere
hi Justin Thanks for your help. But i am still confused about how to set the port, as i did not find any method to set a port for listen coming sms binary message in the document. if i write a appliction to receive the binary sms message how should i do? Thanks On Sep 10, 8:18 am, "Ju

[android-developers] how to do animation in popupwindow??

2008-09-10 Thread bins
hi..i was trying to animate my pop up windowbut pop up window only having the option of setanimationstyle(); but i gave some number buts no change..can any one help me how to animate pop up window --~--~-~--~~~---~--~~ You received this message because you

[android-developers] How to display data from a content provider using WebView.loadUri

2008-09-10 Thread friedger
Hi in http://groups.google.com/group/android-developers/browse_frm/thread/beae7de5e2500cb6 it was discussed how to display a local file in a WebView. Now I would like to know how to display data from adata base using WebView.loadUri. I don't want to use loadData due to its limitations. Currently

[android-developers] Re: How to display a local file in the browser?

2008-09-10 Thread friedger
Thanks for that. Now I understand. However, it looks like it is not possible to show data stored in a data base in the browser. I'll start a new thread for that. Friedger On 10 Sep., 05:46, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I posted the ContentProvider implementation here: > > htt

[android-developers] Re: Orientation changes simulation

2008-09-10 Thread blindfold
Good suggestions, Peli. Thanks. For now I had decided to "wrap" the OpenIntents code segments in dedicated open and close tags as in /* // import org.openintents.OpenIntents; import org.openintents.hardware.SensorManagerSimulator; import org.openintents.hardware.Sensors; import org.openintents.p

[android-developers] Re: push apk fails saying read only filesystem

2008-09-10 Thread hackbod
You shouldn't use adb push at all, you should use adb install to install applications. Okay, technically you -can- push to /data/app, but this is not the normal way things are installed and doing this can cause inconsistent behavior. And /data/app-private is not anything you should be touching a

[android-developers] Re: How can native C++ application starting Andorid application

2008-09-10 Thread hackbod
Native code is not supported at this time. On Sep 9, 5:38 pm, Anshul <[EMAIL PROTECTED]> wrote: > Hello everyone, > > I wanted to find out if there is any way for a native applicaion > written in C/C++ can start an android app. From this group I could > find answers to how to run a native app on