[android-developers] Re: Mobile Unlocking in india

2009-04-17 Thread vinny.s...@gmail.com
hey guy Vodafone is also working for g1 in india not only airtel On Apr 15, 6:04 pm, for android forandr...@gmail.com wrote: its not possible in Vodaphone AFAIK..Only in the airtel n/w its possible On Wed, Apr 15, 2009 at 3:28 PM, vinny.s...@gmail.com vinny.s...@gmail.comwrote:

[android-developers] Re: How to dump the content of sqlite via adb shell command

2009-04-17 Thread Mariano Kamp
That's your content provider ... it might be backed by a DB, but maybe not. Did you go through the Notepad tutorial? http://developer.android.com/guide/tutorials/notepad/index.html It's great and covers both topics. For now: adb shell ls /data/data/yourapppackage/databases On Fri, Apr 17, 2009

[android-developers] Re: Elan sues Apple for multitouch patent infringment... and guess what....

2009-04-17 Thread Mariano Kamp
Yeah, whatever happened to Justin? It's a dangerous life as a sheriff. On Fri, Apr 17, 2009 at 6:30 AM, JP joachim.pfeif...@gmail.com wrote: Duck, there's a new sheriff in town On Apr 16, 5:02 pm, Raphael r...@android.com wrote: Kill thread. Please move your noise over to

[android-developers] Re: Note on Size of Apps

2009-04-17 Thread Mariano Kamp
Is there any way to be notified as an app when it gets uninstalled, so that cleanup can be done for stuff stored on the SD card? On Wed, Apr 15, 2009 at 8:02 PM, Dianne Hackborn hack...@android.comwrote: Correct. The numbers are intended to tell you how much space the app is using in /data,

[android-developers] Re: Early Look Android 1.5 SDK

2009-04-17 Thread Mariano Kamp
It says in http://developer.android.com/sdk/preview/: SDK Known Issues No network access from emulator while running Android 1.1 target Applications can not access the network when running on an Android 1.1 target in the emulator included in the SDK. So, you can develope for 1.1 and 1.5 as

[android-developers] Re: 1.5 release - DexClassLoader issue

2009-04-17 Thread Eborix13
Hi Fadden, My question was not: why can't I use 2 classes loaded with different class loaders. My question has to do with the way Android implements the dynamical class loading thing. It won't let you load a class using this.getClass().getClassLoader() as the parent parameter in the

[android-developers] SDK 1.5 and camera preview decoding

2009-04-17 Thread blindfold
Does Cupcake (SDK 1.5) add any support for decoding camera preview images with BitmapFactory.decodeByteArray(), or does onPreviewFrame(), as with SDK 1.1, still give only a header-less image data[] that the Dalvik interpreter must decode pixel-by-pixel (too slow for most uses)? Thanks

[android-developers] Re: Using 2 Surface Views in same activity

2009-04-17 Thread Girish
Hi Dave and others, Any other alternative for acheiving this you can suggest ? Regards On Apr 16, 1:45 am, Dave Sparks davidspa...@android.com wrote: I'm pretty sure that this will not work. There is a limit of one video/ camera SurfaceView active at a time. On Apr 15, 3:52 am, iblues

[android-developers] Re: Direct Video Encoder Access?

2009-04-17 Thread Sheado
Thanks for your response.. one more question, to which I think the answer is no: If I write my own JNI code to access the phone's encoders, would I be able to run it? Or does the Android virtual machine prohibit JNI- supporting native code? For example, I'm thinking to write a shared object

[android-developers] Re: Curious debugging problem

2009-04-17 Thread MrChaz
Great! I didn't hzve the manifest entry. Thanks On Apr 16, 7:42 pm, Al alcapw...@googlemail.com wrote: Forgot to mention, you should be able to read logcat messages from the device. Inside Eclipse and also from terminal/command prompt: adb -d logcat. It should give you a trace of where the

[android-developers] Re: End user IP for android

2009-04-17 Thread Al Sutton
If they're using the cellular connection you won't be able to get a per-device IP, you'll only get the IP of the T-Mobile proxy which will be shared by many devices, and there is no guarentee that one devices requests will come via the same external proxy IP for subsequent requests. Al.

[android-developers] How to write a file with directory ?

2009-04-17 Thread sunwrt
Hi,Guys, I wrote a file to the sdcard, but it failed as follow: String sdcardFIle = /sdcard/xxx.txt FileOutputStream fos = openFileOutput(sdcardFile, Context.MODE_WORLD_WRITABLE); openFileOutput failed, because fIle /sdcard/xxx.txt contains a path seperator. It is so strange. Is there

[android-developers] Re: How to write a file with directory ?

2009-04-17 Thread Anh Khoa Nguyen Pham
Hi, Please use this command : FileOutputStream fos = new FileOutputStream(sdcardFile); Hope that it can help you! On Fri, Apr 17, 2009 at 3:26 PM, sunwrt wrt.su...@gmail.com wrote: Hi,Guys, I wrote a file to the sdcard, but it failed as follow: String sdcardFIle = /sdcard/xxx.txt

[android-developers] Re: How to write a file with directory ?

2009-04-17 Thread sunwrt
Thank you, But what is the MODE of the file? On 4月17日, 下午4时29分, Anh Khoa Nguyen Pham npak...@gmail.com wrote: Hi, Please use this command : FileOutputStream fos = new FileOutputStream(sdcardFile); Hope that it can help you! On Fri, Apr 17, 2009 at 3:26 PM, sunwrt wrt.su...@gmail.com

[android-developers] Android Layout

2009-04-17 Thread Rahul
Hi i want to ask u can i access layout defined in xml file and set the parameter of that layout in the java file . is it possible plz reply me thank you --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: How to write a file with directory ?

2009-04-17 Thread Anh Khoa Nguyen Pham
Of course, it is public for all application! 2009/4/17 sunwrt wrt.su...@gmail.com Thank you, But what is the MODE of the file? On 4月17日, 下午4时29分, Anh Khoa Nguyen Pham npak...@gmail.com wrote: Hi, Please use this command : FileOutputStream fos = new FileOutputStream(sdcardFile);

[android-developers] Re: How to write a file with directory ?

2009-04-17 Thread sunwrt
It is what I want it. Thank you. On 4月17日, 下午4时34分, Anh Khoa Nguyen Pham npak...@gmail.com wrote: Of course, it is public for all application! 2009/4/17 sunwrt wrt.su...@gmail.com Thank you, But what is the MODE of the file? On 4月17日, 下午4时29分, Anh Khoa Nguyen Pham

[android-developers] Re: Android Layout

2009-04-17 Thread Anh Khoa Nguyen Pham
Yes, you can On Fri, Apr 17, 2009 at 3:33 PM, Rahul nakate.ra...@gmail.com wrote: Hi i want to ask u can i access layout defined in xml file and set the parameter of that layout in the java file . is it possible plz reply me thank you

[android-developers] Re: Android Layout

2009-04-17 Thread Jeff Sharkey
You're probably looking for findViewById() to grab a Java instance of a view that has been inflated. There are several examples of this floating around. j On Fri, Apr 17, 2009 at 1:33 AM, Rahul nakate.ra...@gmail.com wrote: Hi i want to ask u  can i access  layout defined in xml file and set

[android-developers] Re: Early Look Android 1.5 SDK

2009-04-17 Thread David Turner
On Fri, Apr 17, 2009 at 8:30 AM, Mariano Kamp mariano.k...@gmail.comwrote: It says in http://developer.android.com/sdk/preview/: SDK Known Issues No network access from emulator while running Android 1.1 target Applications can not access the network when running on an Android 1.1 target

[android-developers] How to develop a app for android?

2009-04-17 Thread Nio
Hi there, I have download eclipes, ADT,Jre, Android SDk, but how to use? I mean can i just use eclipes and import jars from Android SDK? And what ADT is supposed to be use for? Thanks BestRegards, Nio --~--~-~--~~~---~--~~ You received this message because you

[android-developers] Re: How to develop a app for android?

2009-04-17 Thread Arnaud Weber
This should be in [android-beginners] mailing list. Thanks to respect the topics of mailing lists. And follow tutorials on website. 2009/4/17 Nio luodali...@gmail.com Hi there, I have download eclipes, ADT,Jre, Android SDk, but how to use? I mean can i just use eclipes and import jars from

[android-developers] Flash Buttons

2009-04-17 Thread Suman
Hello all Thanks for the greate replies once again. Now can any one tell me like can i use flash buttons in android application? I mean swf format. If the answer yes kindly tell me how. Asbecause i have tried this normaly. But it was not working. So please

[android-developers] Re: Smooth transition of images from one position to other

2009-04-17 Thread balu
Thanks for your information. Let me tell you in detail what I am doing. On every click event the image moves from one position to other while scaling the size and stays there. Actually it is supposed to move smoothly. I have read your reply and Iam trying out that. Any pointers regarding this

[android-developers] Open GL and GLContext

2009-04-17 Thread Honest
Hello, I am porting one project from java to android which is using Open GL. Now i saw that my java application is using GLContext but i am not able to find that class and any work around for that. So can some one tell me what could be work around of it ? Any suggestion would be appreciated.

[android-developers] Is there a Castor for Android?

2009-04-17 Thread DaRolla
Hello, I need Castor for Android. Using the castor-1.2-xml.jar won't work at all. The exception is: java.lang.VerifyError: org.exolab.castor.xml.Introspector So I tried to copy the Castor sources to my Android project in order to let Eclipse decide which part isn't compatible. Well, it's just

[android-developers] Issue with attaching an internal text file to gmail

2009-04-17 Thread Guillaume Perrot
I successfully opened gmail with prepopulated content and a file attachment, it worked when I send it but this file was stored on the SDCard. Now I am trying to do the same with a shared application file (with MODE_WORLD_READABLE) but gmail drops the attachment at sending time although I saw it

[android-developers] Re: End user IP for android

2009-04-17 Thread Jeff Sharkey
I think I've heard that the T-Mobile proxy only handles port-80 traffic. To get an absolute best-answer of external IP, you might try parsing a call to http://checkip.dyndns.org:8245/ or something similar. j On Fri, Apr 17, 2009 at 1:03 AM, Al Sutton a...@funkyandroid.com wrote: If they're

[android-developers] Dropping SQLite database

2009-04-17 Thread Zhubham
Hi, In my application i take some input from the user and store it in sqlite database. Now, if on second visit to save records menu, I give the previous file name then the database holding above file should be dropped and a new database should be made. I do this by : public void deleteRecord()

[android-developers] Re: inject long home key press

2009-04-17 Thread a druid
Hi Dianna, Thanks for your reply. In fact my problems are in fact even more basic. The command 'sendevent' requires following parameters device type code value How do I have to specify all these parameters. Let's take for example the emulator and let's assume I'd like to press the 'down'

[android-developers] Re: Straight-forward BroadcastReceiver to open/read file

2009-04-17 Thread Mark Murphy
I am not faulting the few knowledgable folks who volunteer their time on these forums. I think it's great. I'm just reiterating basically what you said above, that the question to answer ratio is low (regardless of the reason, which is a very good reason). Just makes things stressful. If

[android-developers] Re: End user IP for android

2009-04-17 Thread Jeff Sharkey
On second thought, do you have control over the server? If so, you probably already have access to the public IP address of any connecting client. And if any proxies get involved, they usually tack on a X-Forwarded-For header value. j On Thu, Apr 16, 2009 at 10:54 PM, AnuR anura...@gmail.com

[android-developers] Re: Early Look Android 1.5 SDK

2009-04-17 Thread StefanK
I actually don't mind testing against 1.5 emulator image as long as the .apk built by 1.1 target is fully compatible with the 1.1 sdk and can be uploaded to the market. I actually do most of my testing on the device itself (it is 1.1), and this way I would be able to easily test against both SDK

[android-developers] When to display/hide ZoomControls for ImageView

2009-04-17 Thread Derek
Hi, I'm not sure when I should let the ZoomControls visible or invisible for an ImageView. Is it correct to display it in ImageView's onLongClick event, and hide it in onClick event? Thanks, Derek --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] java.lang.reflect.InvocationTargetException during calling a function of another application at runtime

2009-04-17 Thread Asif k
Hi all, I am calling a method of another .apk file dynamically at runtime in my application. I can execute it successfully if method does not contain any variable which is defined outside of that method. But if I am using the variables which are defined outside that method ( in the same

[android-developers] Re: java.lang.reflect.InvocationTargetException during calling a function of another application at runtime

2009-04-17 Thread Mark Murphy
I am calling a method of another .apk file dynamically at runtime in my application. I can execute it successfully if method does not contain any variable which is defined outside of that method. Are you using remote services? If not, are both applications executing as the same user ID

[android-developers] Re: java.lang.reflect.InvocationTargetException during calling a function of another application at runtime

2009-04-17 Thread Ask
Mark, The application will be residing in the /sdcard/ and I am loading it dynamically using PathClassLoader API. and using Method.invoke() function I am invoking the method residing in that class. Yes it may violate the model but I need it in my application If not, are both applications

[android-developers] How to browse deeper into /data/data/package/app_somename/somedir

2009-04-17 Thread brian.schim...@googlemail.com
Hi, my app is creating a directory by using File thisDir = getDir(mycustomname, Context.MODE_WORLD_WRITEABLE); It is stored at /data/data/package/app_mycustomname/ I can browse that directory with DDMS or with 'adb shell', of course, it is empty. My App then creates some subdirectories there,

[android-developers] Re: java.lang.reflect.InvocationTargetException during calling a function of another application at runtime

2009-04-17 Thread Mark Murphy
The application will be residing in the /sdcard/ and I am loading it dynamically using PathClassLoader API. and using Method.invoke() function I am invoking the method residing in that class. Do not do that unless you have some means of ensuring that the code you are loading off that SD card

[android-developers] Re: Smooth transition of images from one position to other

2009-04-17 Thread Streets Of Boston
Hi Bala, Take a look at the APIDemos for OpenGL. It really will help you a lot figuring it out :) On Apr 17, 6:37 am, balu balakrishna...@gmail.com wrote: Thanks for your information. Let me tell you in detail what I am doing. On every click event the image moves from one position to other

[android-developers] Re: Straight-forward BroadcastReceiver to open/read file

2009-04-17 Thread Keith Wiley
Just to wrap up this thread for posterity so anyone in the future who trips across it in a search will actually find something final and applicable, here's how I got it working (Mark's reply wasn't quite the ticket apparently). First, Mark pointed out that the desired behavior is in fact

[android-developers] Profiling -memory usage

2009-04-17 Thread Zhubham
Hi, This has concern to the profiling discussion @ http://groups.google.com/group/android-developers/browse_thread/thread/e2653bff9e0eee3e/68d23a37d5306503?lnk=gstq=Need+help+using+hat+to+track+down+memory+usage; As mentioned in the second message, i can generate the hprof files. But I m facing

[android-developers] Re: java.lang.reflect.InvocationTargetException during calling a function of another application at runtime

2009-04-17 Thread Ask
means that exception is coming due to different user IDs?? why cant that method use any variable of the activity?? Regarding Loading and ulloading of .apk in the /sdcard, I am making sure to put it in the card only when I am executing my application and after competion of my application I am

[android-developers] Re: Elan sues Apple for multitouch patent infringment... and guess what....

2009-04-17 Thread JP
On Apr 16, 11:21 pm, Mariano Kamp mariano.k...@gmail.com wrote: Yeah, whatever happened to Justin? Thumbing through old VMS manuals, perhaps (no patents there that I remember of)? Interesting things to be learned there. How relying on process prioritization alone is insufficient to achieve

[android-developers] Re: java.lang.reflect.InvocationTargetException during calling a function of another application at runtime

2009-04-17 Thread Mark Murphy
means that exception is coming due to different user IDs?? No, probably it is coming due to using different class loaders. That's a standard Java issue, not anything particular to Android. Regarding Loading and ulloading of .apk in the /sdcard, I am making sure to put it in the card only

[android-developers] reuse IDs?

2009-04-17 Thread Derek
Because there is no hierarchy in R.id, I presume an ID can be used in many layout.xml files. Am I correct? --~--~-~--~~~---~--~~ 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] Re: Elan sues Apple for multitouch patent infringment... and guess what....

2009-04-17 Thread JP
On Apr 17, 7:07 am, JP joachim.pfeif...@gmail.com wrote: On Apr 16, 11:21 pm, Mariano Kamp mariano.k...@gmail.com wrote: in a VM environment. VM as in virtual machine not virtual mem. --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] Re: Straight-forward BroadcastReceiver to open/read file

2009-04-17 Thread Mark Murphy
Just to wrap up this thread for posterity so anyone in the future who trips across it in a search will actually find something final and applicable, here's how I got it working (Mark's reply wasn't quite the ticket apparently). There are a few ways of achieving this sort of integration. I

[android-developers] Re: Start a service from Launcher

2009-04-17 Thread Mark Murphy
Is it possible to start a service directly from the launcher by clicking the application icon? Services do not have application icons, AFAIK. Only activities do. Any clue how to get the icon into the launcher. Write an activity that, in onCreate(), calls startService(), then finish().

[android-developers] Re: Flash Buttons

2009-04-17 Thread brian.schimmel
Currently this is not possible. Even when flash will be supported in the future, I think you can use flash in websites and maybe as standalone-applications. I don't think you will ever be able to use flash buttons inside an android app. I don't see why you would want to do this, neither. On Apr

[android-developers] Re: Quality of paid applications on the Market...

2009-04-17 Thread quakeboy
We guys have to wait till more shiny good looking, light weight phones hit the market along with the cool new cupcake update.. Once the consumer base increases, we are going to get more companies in and quality apps on the market too.. Compare the consumer base and its no where near the iPhone..

[android-developers] Re: Start a service from Launcher

2009-04-17 Thread Bonifaz
I want to write an application which behavs similar to those toggleXXX (wifi, gps, etc..) already on the market. As you watch carefully, they do not start an activity. How can this be done. On 17 Apr., 16:48, Mark Murphy mmur...@commonsware.com wrote: Is it possible to start a service

[android-developers] Dispatch KeyEvent to EditText - generate META chars

2009-04-17 Thread sage2...@gmail.com
I'm having some success with generating/dispatching key events to an EditText field. The major malfunction comes in when I try to generate a character that requires a META key. I can't get capital letters to work, nor will any ALTed chars work. I'm sure there is something fundamental I'm not

[android-developers] Re: RssManagerDownloadThread Illegal character in host name

2009-04-17 Thread doubtingben
So no ideas? Any idea where else I could ask the question? Thanks! On Apr 15, 11:24 am, doubtingben doubting...@gmail.com wrote: Hiya, I'm getting the following error when trying to access a podcast feed: 04-13 22:41:17.957: WARN/RssManagerDownloadThread(202): java.io.IOException:

[android-developers] checking version of app

2009-04-17 Thread intbt
When adding a url file containing the most recent version, what format does the file need to be (text, php, html?) to be accessible from the meta-data android:name=org.openintents.updatechecker.UPDATE_URL android:value=url to version file / also can the user force a check

[android-developers] Strange issue - AutoCompleteTextView does not show results - CursorAdapter

2009-04-17 Thread Slater
Hi, I have been trying to get my head around this issue, but can't figure out. I have an AutoCompleteTextView which I am populating from a custom adapter that extends CursorAdapter. The data source for the cursor adapter is a table(columns : name and _id) in my database. I have put debug

[android-developers] Strange issue - AutoCompleteTextView does not show results - CursorAdapter

2009-04-17 Thread Slater
Hi, I have been trying to get my head around this issue, but can't figure out. I have an AutoCompleteTextView which I am populating from a custom adapter that extends CursorAdapter. The data source for the cursor adapter is a table(columns : name and _id) in my database. I have put debug

[android-developers] How to set my SMS application is default to read sms?

2009-04-17 Thread phpandr...@gmail.com
I want create a new SMS Manager (replace Messaging application in android). On default, when have a new incomming sms, a notification will display and if click on it, this sms will be opened by Messaging application. How to set my application (SMS Manager) is default that will open when click on

[android-developers] UI update status

2009-04-17 Thread VS
Hi, Could someone tell how to track the UI update events from adb or using ddmlib. Is there a service call that I can use to poll for the update status. For example, if I want to know when the browser completes loading the page. service call windowmanager, DUMP gives the current window and

[android-developers] Re: java.net.SocketException: The operation timed out............not behind proxy

2009-04-17 Thread Andrey M.
Pratap, could you explain in more details how did you solve this problem? On 26 фев, 15:27, Pratap pratap.sola...@gmail.com wrote: Problem Solved...we need to the following lines of code.         DefaultHttpClient client = new DefaultHttpClient();        

[android-developers] Re: Quality of paid applications on the Market...

2009-04-17 Thread creativepragmatic
Advertising seems like the obvious answer? Currently, AdMob is cleaning up on in application advertising. Nothing has been announce yet but Google's geniuses must be aware of the revenue they are currently foregoing. If it's internal, what are their plans for revenue based on the platform?

[android-developers] Touch Sensitivity With HTC Dream 1 Device Lacking

2009-04-17 Thread Mike
Hello, I am the developer of WordUp! This game makes heavy use of the View touch apis to detect press and drag gestures across the letter cubes. Once in a while, I'll get a complaint (unfortunately coupled with a lower star rating) related to not being able to press and drag very easily. For

[android-developers] Re: PackageManager.installPackage(Uri packageURI) error on Androdi 1.5 SDK

2009-04-17 Thread Peter
Can't an Activity be started with an Intent created with the Intent.ACTION_PACKAGE_INSTALL action, and a URI pointing to an .apk file? If not, where is information regarding the built-in app installer activity? On Apr 16, 8:10 am, Surendra Reddy T surendraredd...@gmail.com wrote: Hi

[android-developers] Layout with rowspan

2009-04-17 Thread dusch...@googlemail.com
Hello All, I would like to create a layout like this: http://toms-toy.de/rowspan.gif I have tried something like that: LinearLayout android:orientation=horizontal... ImageView .../ImageView TableLayout ... TableRow.. ImageView

[android-developers] Network over cell (3G, EDGE etc.)

2009-04-17 Thread Alienfluid
So my app works well in the emulator in various run configurations and on the device when the device is connected to WiFi. But when I switch off the WiFi on the device, the code that goes out to the network takes forever and then times out (i.e. doesn't return any data). Other people have

[android-developers] How to insert my service to severmanager and use it

2009-04-17 Thread x7
Hi All, I am getting below error when ever i am trying to register callback function. E/AndroidRuntime( 376): Caused by: java.lang.SecurityException: Binder invocation to an incorrect interface E/AndroidRuntime( 376):at android.os.Parcel.readException (Parcel.java:1234)

[android-developers] Re: How to use headset button to pick up/hang up a call?

2009-04-17 Thread Dmitry
It would be great if Phone application would support both muting and un-muting the call as well as hanging up current call from the headset button. One of the ways to support it would be to recognize a long press of the headset button. Currently when headset buttong is pressed during the call,

[android-developers] Cannot Install Android Development Kit for Eclipse

2009-04-17 Thread Ethan
I have tried for 10 hours. I cannot install ADT plug-in for Eclipse 3.4.2. Can anyone help me ? --~--~-~--~~~---~--~~ 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] Quality of paid applications on the Market...

2009-04-17 Thread Jason Proctor
google presumably wants to take over the desktop with Android on the coming tsunami of netbooks. IMHO personal computers are now workstations, so we need a new personal computer. the netbook is it - the platform will grow up out of the phone, as opposed to down from the PC. Ok, you caught

[android-developers] JXTA on Android

2009-04-17 Thread Sivious
The last I have read: In order to build and run JXTA JSE you will require Java SE 5.0 (http://java.sun.com./javase/downloads/index_jdk5.jsp) and Apache Ant 1.6 (http://ant.apache.org). Both must be installed and configured to run in your environment. Inside jxse-src-2.5\readme.txt I think

[android-developers] android system make. error 45

2009-04-17 Thread pcstal...@gmail.com
hi there guys. im trying to make the latest android system. ive gotten past quite a few errors on my own. but i have been stoped dead in my tracks here. im makeing the system. and around 3 to 4 minutes into it. i get line after line of Augh! {seemingly random code here} followed by about 40 to

[android-developers] Thumbnails problem

2009-04-17 Thread cpouw...@gmail.com
Hi I have been trying to create my own camera/ gallery application. But while doing so I have a problem. What I am trying to create is an application that takes a photo and save it. Then I would like able to open those photos and create a gallery which can show a overview of the photos. To make

[android-developers] Android Functional Testing (testing multiple activities)

2009-04-17 Thread Rick
I've been exploring the Android test package and I'm very confused on how to implement functional testing for endpoint-to-endpoint. Consider the example below, I have 4 activities: 1. A Contact List Activity 2. A View Contact Activity 3. An Add/Edit Contact Activity 4. A Sync Contact List

[android-developers] Network access over 3G/EDGE

2009-04-17 Thread Alienfluid
Hi there, My application works fine in the emulator (using various target run configurations) and on the device when the device is connected over WiFi. But when I switch WiFi off on the device, the network access code doesn't respond - i.e. takes forever and then times out. I don't even see any

[android-developers] Android 1.5 Early look problems

2009-04-17 Thread daen
I downloaded the android 1.5 SDK. And I found that we can simply add a widget into the Android Homescreen with the java class android.appwidget.AppWidgetProvider. use this layout i can add my own widget successfuly。 ?xml version=1.0 encoding=utf-8? LinearLayout

[android-developers] Question about ExpandableList

2009-04-17 Thread Lonee xixi
Hi,all I have one question about ExpandableList. when I learned the sample of ExpandableList ,I found the Constructor API about SimpleExpandableListAdapter,like this: 1 SimpleExpandableListAdapter(Context context, List? extends MapString, ? groupData, int groupLayout,

[android-developers] Auto launch Service

2009-04-17 Thread x7
Hi All, I am getting below error when ever i am trying to register callback function. E/AndroidRuntime( 376): Caused by: java.lang.SecurityException: Binder invocation to an incorrect interface E/AndroidRuntime( 376):at android.os.Parcel.readException (Parcel.java:1234)

[android-developers] How can I test the video recording functionality in the new emulator

2009-04-17 Thread Jason Proctor
right -- i got an error calling - recorder.setVideoSource (MediaRecorder.VideoSource.CAMERA) - which seemed to indicate that there isn't a shim for the video recording the way there is for still camera previews. I don't believe that video recording works in the emulator. It requires a

[android-developers] How to use MapView

2009-04-17 Thread seya...@gmail.com
Hi, I followed the steps in document to display MapView. But blank grid is displayed instead of google map. My code is below: public class SMTest extends MapActivity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) {

[android-developers] Re: String comparison with Text in EditText with online data.

2009-04-17 Thread Jason Proctor
in the vast majority of cases, compare Java strings with equals() or equalsIgnoreCase() == tests for reference equality - ie the same *exact* string object, not just one which happens to have the same contents. Hi, I'm trying to use the code below to connect to an online source, then

[android-developers] Screen lock turns of the accelerometer.

2009-04-17 Thread Mark
What I'm looking for: ** A way to read the accelerometer even when the screen is locked. ** Currently it seems that locking the screen automatically turns off the accelerometer. I looked around for quite a while and didnt find any solution for that. Is that intentional? It would be really

[android-developers] Changing background color on a selected listview item

2009-04-17 Thread khose
Hi! Im trying to change background color when an item is selected. Something like using a color selector, but actually it crashes. I've created a list_selector.xml inside /res/color/... ?xml version=1.0 encoding=UTF-8? selector xmlns:android=http://schemas.android.com/apk/res/android; item

[android-developers] Options menu text colour

2009-04-17 Thread SomerLightning
Hi, I'm new to Android, but I've been tasked with creating a application style-guide for one of our clients. One of the things I'd like to do is customise the options menu. Our client usually prefers black menus with white text - but I can't find out how to change the text colour of the options

[android-developers] Re: Phone call recorder

2009-04-17 Thread Cameras and Justice in the Courtoom
Hi I'm a reporter who always has to use a hardline and a mixer to record phone conversations so that I can transcribe interviews. Someone please make this app! On Apr 15, 4:47 pm, Dave Sparks davidspa...@android.com wrote: This is a limitation in the baseband processor - this is a feature the

[android-developers] Launch Activity

2009-04-17 Thread M.Manjunatha
Hi Folks, I have Activity A, B and C. Now that On some click event in A, should take me to B, which inturn launches C, but the UI for B should not be shown when I press back on Activity C.. Please help on this// --~--~-~--~~~---~--~~ You received this message

[android-developers] Question about ExpandableList and SimpleExpandableListAdapter

2009-04-17 Thread Lonee xixi
Hi,all I have one question about ExpandableList. when I learned the sample of ExpandableList ,I found the Constructor API about SimpleExpandableListAdapter,like this: 1 SimpleExpandableListAdapter(Context context, List? extends MapString, ? groupData, int groupLayout,

[android-developers] Re: Parcelables / project.aidl in SDK 1.5

2009-04-17 Thread squalus
I have this same problem. The sdk is *supposed* to generate a .java with an interface by the same name as the one you describe in the aidl. The mac sdk seems to have a bug where this doesn't happen. I've found this to be the case in sdk 1.1 and 1.5 preview. The same code works ok on my linux

[android-developers] How to get text at touch points

2009-04-17 Thread Daniel
Hello, I am trying to make word inquiry function that is common in dictionary SWs. In case of Windows apps, message hooking is used to get TextOut message whenever mouse moves. Is there any way to get a word on the touch point, for example, in TextView or any window? Thanks, Daniel

[android-developers] Error installing ADT 0.9

2009-04-17 Thread Mathieu Plourde
I'm using Win XP and I'm trying to install ADT 0.9 for Eclipse (In order to try SDK 1.5). I downloaded the ADT-0.9_pre.zip file and everything. I follow the steps provided there: http://developer.android.com/sdk/preview/ When I add the site, I choose Archive and browse to the file. When I press

[android-developers] Re: Accelerometer power tied to display backlight power

2009-04-17 Thread David Burström
Hi Jordan, I can only agree with your findings. Regardless of which lock is being used, the service stops sending callbacks as soon as the screen turns off or the power button is pressed. :David On Mar 16, 3:01 pm, Jordan Frank jordan.w.fr...@gmail.com wrote: A partial wakelock doesn't help

[android-developers] Question about animation

2009-04-17 Thread Mike Baroukh
Hi. Hi have an absolute layout with pictures. Only 2 pictures are show simultaneously. Others are on the layout, but out of view. I wan't on user click to show others picture. For this, I do an animation to translate the layer. For translation from right to left, it works correctly : an other

[android-developers] Chat w/ Android App Developer Pixelpipe on Friday 2pm PST

2009-04-17 Thread DJ Ksar
hey folks. Randy Ksar here from @motodev. Thought you might be interested in the next MOTODEV Android developer podcast w/ Pixelpipe CEO Brett Butterfield and CTO Tracy Scott. It's happening tomorrow (April 17) at 2pm PST and stream lived at http://blogtalkradio.com/motodev. We'll be talking

[android-developers] Re: WebView and Button in layout, only one of them can be clicked.

2009-04-17 Thread Jungle.Qiao
it looks like webview use the whole canvas. u should resize webview width and height ,maybe. --~--~-~--~~~---~--~~ 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] Re: SDK 1.5 Error

2009-04-17 Thread Li Jiang Hua
First you should create a avd file for your emulator: the command line is: cd sdk_dir android create avd -n my_avd -t 1 On 4月14日, 下午5时42分, vinny.s...@gmail.com vinny.s...@gmail.com wrote: Failed to find an AVD compatible with target 'Android 1.5'. Launch aborted. when i'm going to Run the

[android-developers] How to access shared data/settings across multiple application? ContentProvider or SharedPreferences?

2009-04-17 Thread irqv...@gmail.com
Hi all, Now I have 2 activities that would simultaneously access one data/ settings. However, two kind of solution can be applied after I study from the Android Developer's Guild. One is ContentProvider, The discription in guild is as: Content providers store and retrieve data and make it

[android-developers] How to send AT command to the modem ?

2009-04-17 Thread Jude
Hi all, I am trying to develop an application that would need to AT commands that are not yet defined in the RIL. I saw from the ril.h file, that hook requests are available : It can be invoked on the Java side from com.android.internal.telephony.Phone.invokeOemRilRequestStrings()

[android-developers] Problem installation Android Development Tools

2009-04-17 Thread thewilli
Hi! I wanted to install ADT using my Eclipse 3.4 Ganymede and the internal update function. I added the site http://dl-ssl.google.com/android/ eclipse/ and chose to install it.But directly after confirming the installation I got the following error message: An error occurred during

[android-developers] Re: SDK 1.5 Error

2009-04-17 Thread Li Jiang Hua
While i run the emulator with command line, i get an error message: emulator: ERROR: You did not provide the name of an Android Virtual Device with the '-avd name' option. Read -help-avd for more information. If you *really* want to *NOT* run an AVD, consider using '-data file' to specify a

[android-developers] attributes for multiple resources in attrs.xml

2009-04-17 Thread Vlemmix
Hello all, I'm introducing multiple custom widgets for my application, extending View. These widgets (LineGraph and DotMatrix) include various attributes that can be set via the layout-xml. How can I have multiple widgets using attributes with the same name. For instance, 2 attributes both

[android-developers] Re: Strange issue - AutoCompleteTextView does not show results - CursorAdapter

2009-04-17 Thread Slater
Can Anyone help please. Thanks, Slater. --~--~-~--~~~---~--~~ 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 unsubscribe from this

  1   2   >