[android-developers] Re: How to keep focus highlight on ExpandableList group....

2009-04-16 Thread Peter Carpenter
I'm struggling with a similar issue myself at the moment. I traced mine down to the fact that modifying the child component caused it to call RequestLayout(). This in turn, caused the parent to relayout which unfortunately meant removing and replacing the component with a new one - thus the

[android-developers] Accessing internal scrollbar drawable

2009-04-16 Thread Peter Carpenter
Hi, Hopefully this is a simple one. My application requires me to draw a scrollbar myself (and include the old-school physical up/down buttons. I can't do this via XML as all of my screens are generated on the fly by data received over a socket. Like a web browser. Now the drawables I'm after

[android-developers] Direct Video Encoder Access?

2009-04-16 Thread Sheado
Howdy, Does anybody know of a way to directly access the Video Encoders provided by the (android.media.MediaRecorder) API? I'd like to make changes to the raw camera data before it gets encoded. Thanks in advance!! --~--~-~--~~~---~--~~ You received this message

[android-developers] Re: getting android_id from GoogleLoginServiceBlockingHelper?

2009-04-16 Thread Mariano Kamp
*bump* ;-) Dianne, nobody else stepped up with more explanation. Do you have any idea whom to contact or how to proceed to get more information? Did cupcake change your previous answer in any way? On Mar 20, 10:50 pm, Dianne Hackborn hack...@android.com wrote: Sorry maybe someone else can

[android-developers] Re: C\C++ support for application level

2009-04-16 Thread Ask
Please give some suggestions.. On Apr 15, 5:35 pm, Asif k asifk1...@gmail.com wrote: Hi,    I want to ask to google engineers that whether future sdk releases will provide any C\C++ support for application developement?? If no.. then Can you please tell me the disadvantage of these

[android-developers] Geocoder not returning results in 1.5 preview

2009-04-16 Thread Huebi
I do not get any results from the Geocoder in the 1.5 preview release. Any information on this? In the maps application it works but my calls simply return an empty list (no exception, all permissions I know of (in this case only Internet) are set. Thanks.

[android-developers] Re: com.android.dx.cf.code.SimException: local variable type mismatch

2009-04-16 Thread Tomasz Stechly
Dan, thanks for clarification. It did help. Regarding filing the bug: sure I can open one. When I am running the activity I am getting now different error. Do you know what it may be (see log below). Should I send separate message to the group? Thanks for your help Tomasz D/installd( 27):

[android-developers] Re: Accessing internal scrollbar drawable

2009-04-16 Thread Jeff Sharkey
You're probably looking to resolve the attribute by passing it through the current theme. Something like this might work: TypedValue outValue = new TypedValue(); context.getTheme().resolveAttribute(android.R.attr.scrollbarThumbVertical, outValue, true);

[android-developers] Re: How to keep focus highlight on ExpandableList group....

2009-04-16 Thread Jeff Sharkey
This sounds odd. When you say select a group item do you mean expanding it using the dpad or touch? When the list goes into touch mode there isn't a notion of visible selection. j On Wed, Apr 15, 2009 at 11:02 PM, Peter Carpenter peter.carpen...@skytechnologies.com wrote: I'm struggling

[android-developers] Re: User input in an AppWidget?

2009-04-16 Thread Jon Colverson
On Apr 16, 6:47 am, Jeff Sharkey jshar...@android.com wrote: The major reason for this is we don't have a good way of identifying how that text should be sent back across a PendingIntent.  To solve this from the framework side, one approach would to add the text to the extras bundle with the

[android-developers] Re: where can i get the source code of the command monkey?

2009-04-16 Thread adrian
Hello group, I download the source code from [platform/development.git]/cmds/ monkey/ and want to build in eclipse. But I don't have some non-public classes. like: import android.app.ActivityManagerNative; import android.app.IActivityManager; import android.app.IActivityWatcher; where can I get

[android-developers] Re: Problem with using DDMS to send mock gps location data!

2009-04-16 Thread Arnaud Weber
You probably live in europe like me. This bug is caused by internationalization format of the numbers : the gps input in emulator is waiting for something like 12.3456 when DDMS sends 12,3456 If you're a window user, change your internationalization settings to english and it should be fine.

[android-developers] Re: User input in an AppWidget?

2009-04-16 Thread Jeff Sharkey
clicked it gathers up all the state from the others views in the RemoteViews layout (EditTexts, Checkables, RadioGroups) and puts that into the Intent. Actually, this would work nicely by just asking the widget layout tree to onSaveInstanceState() into a single Parcelable, which would include

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

2009-04-16 Thread Dianne Hackborn
You can't do this. The only way a third party app can install another application is by launching the built-in app installer activity. On Thu, Apr 16, 2009 at 1:08 AM, Surendra Reddy T surendraredd...@gmail.com wrote: Hi, I am developing an app which should be able to install any signed APK

[android-developers] Re: where can i get the source code of the command monkey?

2009-04-16 Thread Dianne Hackborn
You need to build it with the platform build system. This is not intended to be used outside of that. On Thu, Apr 16, 2009 at 12:46 AM, adrian linca30...@gmail.com wrote: Hello group, I download the source code from [platform/development.git]/cmds/ monkey/ and want to build in eclipse. But

[android-developers] Re: C\C++ support for application level

2009-04-16 Thread Dianne Hackborn
Go to android-ndk. Or do a google search. Pretty much anywhere. This topic has been discussed all over the place. On Wed, Apr 15, 2009 at 5:35 AM, Asif k asifk1...@gmail.com wrote: Hi, I want to ask to google engineers that whether future sdk releases will provide any C\C++ support for

[android-developers] Re: How to debug the Launcher activity of android in eclipse

2009-04-16 Thread Dianne Hackborn
It's in the acore process. On Wed, Apr 15, 2009 at 10:45 PM, Meryl Silverburgh silverburgh.me...@gmail.com wrote: Hi, I am trying to following this documentation 'http://source.android.com/using-eclipse' to debug android Launcher Activity in eclipse. It said ' You may need to open the

[android-developers] Re: Accessing System Brightness

2009-04-16 Thread Dianne Hackborn
// Make the screen full bright for this activity. WindowManager.LayoutParams lp = getWindow().getAttributes(); lp.screenBrightness = 1.0f; getWindow().setAttributes(lp); On Wed, Apr 15, 2009 at 10:21 PM, SR stan.r...@gmail.com wrote: Dianne, Would you mind

[android-developers] Re: Problem with Camera and layout orientation

2009-04-16 Thread Zeeshan Khan
Hi , I am facing the same problem of 90 degree rotation can any one tell how to force the activity so that it will be displayed in landscape view On Sun, Apr 12, 2009 at 2:55 AM, Streets Of Boston flyingdutc...@gmail.comwrote: Put the other views in another (sub)activity. I don't know your

[android-developers] Re: getting android_id from GoogleLoginServiceBlockingHelper?

2009-04-16 Thread Mariano Kamp
Well, did Cupcake bring some functionality that lets non-Google apps access the user's Google credentials or has there been any progress in that direction? Reading your question I assume the answer is no. But what would be good way to get to know if there are any plans to provide the functionality

[android-developers] How to terminate an APK on emulator?

2009-04-16 Thread DaRolla
Hello :) I'd like to know how to terminate / kill an APK on emulator. Most times I reinstall the APK, but I was wondering if there is a better way because I simply need to restart my APK... Greetings, DaRolla --~--~-~--~~~---~--~~ You received this message

[android-developers] Re: Developing absolute layout - no drag drop click drag in eclipse ??

2009-04-16 Thread quakeboy
For me droid draw did not work properly for imageviews in Absolute layout.. I wil be happy to hear it worked for some others and if they can share abt how to do that On Apr 15, 10:32 pm, Amir Alagic amirs...@gmail.com wrote: Simple but can help youwww.droiddraw.org On Apr 15, 5:28 pm, Frank

[android-developers] Get active apps displayed on screen

2009-04-16 Thread Gerby
Hi, is it possible to get listed the apps or activity which are actually displayed on the screen of the android mobile. I need this function for an service which should only start an own activity when no application is displayed, excepting the home screen. Please help me! Cheers Gerby

[android-developers] Problem with detecting onTouchEvent()

2009-04-16 Thread mobilek...@googlemail.com
Hi, For some reason onTouchEvent() never gets called in an activity with a ListView child. Is this is a bug, or it requires a special implementation? Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: how to get media from MediaStore

2009-04-16 Thread hapciu
Hi Caesar, Adding _ID to your projection will solve it ! The _ID column is expected by the way you use SimpleCursorAdapter. Cheers, Horia On Feb 25, 5:52 am, Caesar ntk0...@hotmail.com wrote: Hello, I`d like to implememt media list for SoundRecorder which is open_src app. But I`ve found

[android-developers] Re: How to terminate an APK on emulator?

2009-04-16 Thread Aaron
stop it in DDMS devices window, or kill the process after command adb shell On Apr 16, 5:13 pm, DaRolla netzprofi.ma...@googlemail.com wrote: Hello :) I'd like to know how to terminate / kill an APK on emulator. Most times I reinstall the APK, but I was wondering if there is a better way

[android-developers] OnTouchListener OnClickListener

2009-04-16 Thread arnouf
Hello everybody, On a picture I need to do two differents behaviours when user click on it or slide on it. The management of the touch event (slide) is done on a parent view. So I put setOnTouchListener on my imageview and implement ACTION_MOVE to dispatch the event to its parent. To manage

[android-developers] Re: SDK 1.5 and multiple projects in an application

2009-04-16 Thread sktech
So, what is the preferred way to share android-aware code between applications? On Apr 15, 8:32 pm, Xavier Ducrohet x...@android.com wrote: On Wed, Apr 15, 2009 at 6:27 PM, sktech info.sktechnol...@gmail.com wrote: Thanks Xavier, that is exactly the situation. Can I assume that future

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

2009-04-16 Thread Al Sutton
Allowing the silent of APKs would present a security risk as users should always be aware of what is being installed on their device, and so it is unlikely this will ever be possible. Al. --- * Written an Android App? - List it at http://andappstore.com/ * == Funky Android Limited is

[android-developers] Factory configurable data

2009-04-16 Thread Zhubham
Hi Experts, I need your help in knowing if string/integer can be made factory configurable in android. eg: A welcome message is stored at some location. To change this message all a person needs to do is go to the above location and enter the new text. The ROM image build command would now take

[android-developers] API to delete SIM contacts Messages AND erasing the SD card contents

2009-04-16 Thread Surendra Reddy T
Hi, Is there any API which can delete the contacts and messages on the SIM card? And the API to format (erase all) the SD card ? IF not, please suggest me a way to delete all on SIM and SD card. Any help will be appriciated. Is there anyway to access lower level (driver lever) APIs exposed in

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

2009-04-16 Thread Surendra Reddy T
Hi Hackborn, Thanks a lot for your quick response. My application sits on the device with users acceptance only. Once I have installed my app, I should be able to download any properly signed APK onto the device and install it on the device without any user intervention. And the users of the

[android-developers] If Android support multiple PDP.......then ?

2009-04-16 Thread 葉子
The general use for multiple PDP (mPDP) is that when we use one PDP(A) to download a file, and we want to send a mms message via another PDP (B), the original PDP(A) will not be disconnected. This is the scenario on Windows Mobile. My question is ,if Android had supported mPDP, how does one

[android-developers] Re: How to get the source of the android 1.5 preview SDK?

2009-04-16 Thread swarup
get the cupcake branch. On Apr 16, 10:02 am, Lucius Fox lucius.fo...@gmail.com wrote: Hi, How to get the source of the android 1.5 preview SDK? Should I get the trunk? or get the cupcake branch? Thank you. --~--~-~--~~~---~--~~ You received this message

[android-developers] Re: How to create home screen short cut?

2009-04-16 Thread patrick
com.android.launcher.permission.INSTALL_SHORTCUT On Apr 16, 1:36 am, havexz bali.param...@gmail.com wrote: What permission do i have to add? On Apr 15, 11:21 am, patrick patrick.boul...@gmail.com wrote: Did you add the permission in the manifest? On Apr 15, 5:06 pm, havexz

[android-developers] problem in using context.getCacheDIr() in emulator.

2009-04-16 Thread Honest
Hello, I am using linux so i have installed Android in it. I am getting the exception while calling prepare() from MediaPlayer object. The following is my code. [b] File bufferedFile = new File(context.getCacheDir(),playingMedia + (counter++) + .dat);[/b]

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

2009-04-16 Thread swarup
try $ adb shell sendevent device type key-code value-press ; adb shell sleep 1 #seconds; adb shell sendevent device type key-code value-release above is for 1 second long press On Apr 14, 11:46 pm, Dan Raaka danra...@gmail.com wrote: I am using this a work-around for the

[android-developers] Re: Programmatically delete a home-screen shortcut

2009-04-16 Thread Eborix13
Thank you... --~--~-~--~~~---~--~~ 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 group, send email to

[android-developers] 1.5 release - DexClassLoader issue

2009-04-16 Thread Eborix13
Hi, Seeing that the new 1.5 pre-release has support for loading classes dynamically I immediately tried to see if it works. I used the DexClassLoader(String dexPath, String dexOutputDir, String libPath, ClassLoader parent) constructor. But I soon found out that it works only partially.

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

2009-04-16 Thread balakrishna...@gmail.com
Hi, I am using opengl es for images to translate from one position to other. But, the transition is not going in a smoother manner they are just jumping from one position to other. How can I get smooth transition of images? Rightnow I am using glRotatef() and gltranslatef(). Do I need to add

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

2009-04-16 Thread Tom
I can see why Google may not want to moderate market submissions. For one, it would come at a cost. There would have to be a team of people responsible for it and they'd likely have to take a cut of app profits to cover the cost. Um, 30% seems like a generous cut of app profits. Looking at

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

2009-04-16 Thread Streets Of Boston
You have to create a seperate thread that repeatedly updates the position of your model a few 'pixels' at a time. Just calling glTranslate won't smoothly move your model(/world) to that position. It will just be put at that position. You have to call glTranslate a number of times, create the

[android-developers] Re: Problem with Camera and layout orientation

2009-04-16 Thread Streets Of Boston
Change your activity's orientation in the manifest file to be landscape. On Apr 16, 4:58 am, Zeeshan Khan zeeshanno...@gmail.com wrote: Hi ,   I am facing the same problem of 90 degree rotation   can any one tell how to force the activity so that it will be displayed in landscape view On

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

2009-04-16 Thread StefanK
As the new Eclipse plugin (ADT 0.9) can target both 1.1 and 1.5 SDKs. is it safe to use 1.1 target to build applications for 1.1 SDK that can be distributed on the Market right now? (It appears to work well so far with the only difference I found is that the signed file (using Export Signed

[android-developers] Re: Black Screen problem with graphics update using unlockCanvasAndPost()

2009-04-16 Thread john
Your package is package com.baltz.scorched; Does that mean you're working on a scorched earth type game? It would be really crazy if you were, because I just started work on the same game, and I'm using the LunarLander game as a template as well. It's also my first game - maybe we can help each

[android-developers] Re: IMPROPER RENDERING OF A HTML OBJECT

2009-04-16 Thread Tom M.
Any workaround for this? On Feb 20, 10:23 am, whitemice markbr...@zedray.co.uk wrote: Added as a bug report here:http://code.google.com/p/android/issues/detail?id=2044can=1q=htmlc... --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[android-developers] Re: IMPROPER RENDERING OF A HTML OBJECT

2009-04-16 Thread Stefano Cannata
Actually not, sorry bye On Thu, Apr 16, 2009 at 4:09 PM, Tom M. thomasfmc...@gmail.com wrote: Any workaround for this? On Feb 20, 10:23 am, whitemice markbr...@zedray.co.uk wrote: Added as a bug report here: http://code.google.com/p/android/issues/detail?id=2044can=1q=htmlc...

[android-developers] why is the sdk 1.5 prerelease releaed with obsolete documentation?

2009-04-16 Thread a druid
Hi, Well I know, that this is just a pre-release bla . bla . bla, but still this doesn't justify everything. Wouldn't it be nice to have the documentation at least halfways accurate? Or if it's not accurate to add at some kind of 'obsolete' marker to certain chapters. This can be done very

[android-developers] Re: problem in using context.getCacheDIr() in emulator.

2009-04-16 Thread David Turner
If you use SDK 1.1, there is no cache partition in the emulator, unless you use the -cache file option. If you use the preview SDK 1.5, then a cache partition file is automatically created for you when you create an AVD, and will be used automatically when you start the emulator with this AVD.

[android-developers] Re: How to track Android PIM changes?

2009-04-16 Thread M. Dodd
After looking in the source repo I'd have to say the database design of both Contacts and Calendar is unsuitable for multi-host synchronization (or you will be competing with GSync for the dirty flags). I you're in control of the system image the best way would probably be to fork the code for

[android-developers] Re: why is the sdk 1.5 prerelease releaed with obsolete documentation?

2009-04-16 Thread David Turner
The documentation on the official web site is still for 1.1 As as been announced, we will update the site when we release the final 1.5 SDK It's a preview for a reason :-) On Thu, Apr 16, 2009 at 4:24 PM, a druid klausf...@gmail.com wrote: Hi, Well I know, that this is just a pre-release

[android-developers] Re: why is the sdk 1.5 prerelease releaed with obsolete documentation?

2009-04-16 Thread a druid
Hi David, I do not talk about the documentation on the web. The documentation packaged with the 1.5. release is wrong as well. If the doc is wrong in any case it might be better to provide a doc.html, which states. This is a pre-release. Don't expect to find any useful documentation here.

[android-developers] Re: why is the sdk 1.5 prerelease releaed with obsolete documentation?

2009-04-16 Thread David Turner
On Thu, Apr 16, 2009 at 4:49 PM, a druid klausf...@gmail.com wrote: Hi David, I do not talk about the documentation on the web. Ah sorry about that. The documentation packaged with the 1.5. release is wrong as well. If the doc is wrong in any case it might be better to provide a

[android-developers] Better way to debug when there is jar dependancies?

2009-04-16 Thread Bin Chen
My application app depends on jar_a, which depends on jar_b. Now I want to debug jar_b by changing it's code. Both the jar_a and jar_b is built by ant tool. So my process is: 1) change jar_b 2) build jar_b 3) copy jar_b to the lib/ directory of jar_a 4) build jar_a 5) delete the reference to

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

2009-04-16 Thread ying lcs
Hi, How can I test the video recording functionality in the new emulator in 1.5 android preview SDK? Thank you. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

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

2009-04-16 Thread Sundog
Great news. That's two applications back in the development queue for me! On Apr 15, 12:07 pm, clark clarkd...@gmail.com wrote: Either way, the early look SDK is allowing me to get raw audio from the phones mic and run it through an FFT.  The test notes I was sending through are being

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

2009-04-16 Thread Dianne Hackborn
On Thu, Apr 16, 2009 at 6:36 AM, Tom tom_a_h...@yahoo.com wrote: Um, 30% seems like a generous cut of app profits. That money isn't going to Google. -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to

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

2009-04-16 Thread Dianne Hackborn
I repeat, no. If this is allowed, the user has effectively granted you every possible permission in the system. At this point we absolutely aren't going to do this. It isn't a matter of this being a hidden API or there being a workaround. If the security system is working correctly, you can't

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

2009-04-16 Thread Dianne Hackborn
The codes you send through the driver are the raw events, before they have been translated to Android key codes, so it depends on your hardware. You'll want to look at the source code of whatever build you are using -- there will be a *.kl file somewhere mapping from the driver codes to android

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

2009-04-16 Thread Robert Green
Can I ask the obvious question, then? If it doesn't go to google, then where does it go? On Apr 16, 11:36 am, Dianne Hackborn hack...@android.com wrote: On Thu, Apr 16, 2009 at 6:36 AM, Tom tom_a_h...@yahoo.com wrote: Um, 30% seems like a generous cut of app profits. That money isn't going

[android-developers] Re: Factory configurable data

2009-04-16 Thread Dianne Hackborn
This kinds of questions should be asked on android-porting or android-platform (if you are working on a change to contribute back to the platform). Thanks. On Thu, Apr 16, 2009 at 4:41 AM, Zhubham sahilz...@gmail.com wrote: Hi Experts, I need your help in knowing if string/integer can be

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

2009-04-16 Thread ludovic.perrier
Hello I have the same problem, and it don't work yet. I have a question, new mechanism works if aidl interface file isn't in same package of aidl parcelable class? Ludo On 15 avr, 03:34, Xavier Ducrohet x...@android.com wrote: I have just realized something. If you create/edit parcelable

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

2009-04-16 Thread Sundog
On Apr 16, 10:46 am, Robert Green rbgrn@gmail.com wrote: Can I ask the obvious question, then? If it doesn't go to google, then where does it go? Can I give the obvious reply? Oooh, me, me, me. This information is easily available to anyone who has done even the *slightest* research.

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

2009-04-16 Thread ludovic.perrier
I have found! When parcelable aidl file is in other package we must set an import on parcelable class in aidl interface Happy Codding! On 16 avr, 18:56, ludovic.perrier barbapa...@gmail.com wrote: Hello I have the same problem, and it don't work yet. I have a question, new mechanism works

[android-developers] Curious debugging problem

2009-04-16 Thread MrChaz
I'm getting a force close on a real device but I can't replicate it on the emulator which means I can't find out why it's crashing. For some reason the debugger never attaches when I try and debug on the actual device. I'm running Vista and SDK 1.1 Any and all help welcome :)

[android-developers] Re: Black Screen problem with graphics update using unlockCanvasAndPost()

2009-04-16 Thread Sarnoth
You definitely need to do your game loop on a different thread. If your game loop is running in the main UI thread then while it is running the screen can't update and you can't get input events. The UI thread is what does these things. On Apr 15, 10:25 pm, Warren warrenba...@gmail.com wrote:

[android-developers] Re: How to change APN Settings

2009-04-16 Thread Omer Saatcioglu
I have the same problem too. Is there anyone who can help us for this? Thank you, Omer On Feb 24, 12:42 pm, Jun'ichiHira hiraya...@gmail.com wrote: Hello I'm developing an application that change SystemAPN. but I don't have any information to do that. Does anyone know how to

[android-developers] Voice Recognition in API demos crashing

2009-04-16 Thread zlu
I tried to run the voice recognition in api demo from sdk 1.5 and it crashed with this stacktrace: 04-16 10:32:00.725: INFO/ActivityManager(568): Starting activity: Intent { comp={com.example.android.apis/ com.example.android.apis.app.VoiceRecognition} } 04-16 10:32:00.945:

[android-developers] Re: How to create home screen short cut?

2009-04-16 Thread havexz
Thanks a lot But why this small piece of infomation not easily accessible in the online documentation. Thanks again...help appreciated On Apr 16, 7:31 am, patrick patrick.boul...@gmail.com wrote: com.android.launcher.permission.INSTALL_SHORTCUT On Apr 16, 1:36 am, havexz

[android-developers] Re: What thread is ViewRoot runs

2009-04-16 Thread Dianne Hackborn
In runs on the thread the window was shown in, and it should be pretty clear from the code that it is responsible for dispatching draws down the view hierarchy (though there is no onDraw on activity, so I'm not really sure what you are asking). On Thu, Apr 16, 2009 at 10:18 AM, Meryl Silverburgh

[android-developers] Re: Getting UnknownHostException - Host is Unresolved

2009-04-16 Thread Vaibhav Gathibandhe
Hi, Any ideas here?? I would really appreciate if someone look into this. Thanks and Regards, Vaibhav Gathibandhe On Thu, Apr 16, 2009 at 12:56 AM, Vaibhav Gathibandhe vaibhav.andr...@gmail.com wrote: Hi, Yes, that's true. Here is the code snippet: HttpHost host = new

[android-developers] How to enable/disable GPRS/EDGE data connection

2009-04-16 Thread Omer Saatcioglu
Hello all, The service providers in my country are charging for the MBs I downloaded in my GPRS/EDGE connection. So, whenever I want to disable the GPRS, I just change my default APN to something wrong and then correct it when I want to enable it again. I couldn't find another way to

[android-developers] Recording audio with 1.5 SDK

2009-04-16 Thread j
One known limitation of SDK 1.1 was that audio can be recorded only to a File and not to a network stream. Is this still an issue with 1.5 SDK? Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Curious debugging problem

2009-04-16 Thread Al
On Apr 16, 6:13 pm, MrChaz mrchazmob...@googlemail.com wrote: I'm getting a force close on a real device but I can't replicate it on the emulator which means I can't find out why it's crashing. For some reason the debugger never attaches when I try and debug on the actual device. For

[android-developers] Re: Curious debugging problem

2009-04-16 Thread Al
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 crash happened and why. On Apr 16, 7:41 pm, Al alcapw...@googlemail.com wrote: On Apr 16, 6:13 pm, MrChaz

[android-developers] Re: getting android_id from GoogleLoginServiceBlockingHelper?

2009-04-16 Thread dar
You probably want to star issue 1073 http://code.google.com/p/android/issues/detail?id=1073 then you will get updates if it is worked on. On Apr 16, 5:09 am, Mariano Kamp mariano.k...@gmail.com wrote: Well, did Cupcake bring some functionality that lets non-Google apps access the user's

[android-developers] Location.getBearing vs SensorListener

2009-04-16 Thread chris
Hi, When i get bearing from the GPS , i don't have the same direction as the data from the SensorListener. Could someone explain the difference ? Is the bearing of the GPS calculated from the previous direction , that would explain why i don't get bearing when not moving. On my Dream phone ,

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

2009-04-16 Thread kevin
My LinearLayout has a button and a WebView. The problem is that only the first one in layout can be clicked, the other is not. If I put WebView first into the layout, the button is not clickable. If put button in the layout first, then WebView is not clickable. Is there a setting to enable this?

[android-developers] Re: getting android_id from GoogleLoginServiceBlockingHelper?

2009-04-16 Thread Mariano Kamp
I did. The last comment is mine. But the most recent update is from February and I thought it would be interesting to know if there is any progress. On Thu, Apr 16, 2009 at 8:47 PM, dar dher...@gmail.com wrote: You probably want to star issue 1073

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

2009-04-16 Thread murphy
Hi, I'm trying to use the code below to connect to an online source, then compare the data as it is read line by line against what is typed in an EditText field before displaying the next page. At the moment when I run it and press the Sign In button nothing happens. The problem seems to be with

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

2009-04-16 Thread ludovic.perrier
finaly it's not good My building process is infinite and blocked at 24% I see that the generated IService.Java (of my Service.aidl) file is update each 5 second! and the console display this warning: [2009-04-16 22:10:41 - MyProject] warning: Ignoring InnerClasses attribute for an anonymous

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

2009-04-16 Thread Dave Sparks
No, this would be impractical to do in Java. On Apr 15, 11:16 pm, Sheado chad...@gmail.com wrote: Howdy, Does anybody know of a way to directly access the Video Encoders provided by the (android.media.MediaRecorder) API? I'd like to make changes to the raw camera data before it gets

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

2009-04-16 Thread Keith Wiley
I would like my app to pop up in the list of options for opening certain file types in the various file manager, email, and web browser apps. I'm having trouble figuring out how to begin. I haven't found any examples of this sort of thing yet. Don't I need to know what kind of action the other

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

2009-04-16 Thread Xavier Ducrohet
Unless you post your aidl file, it's going to be hard to help you. Xav On Thu, Apr 16, 2009 at 1:11 PM, ludovic.perrier barbapa...@gmail.com wrote: finaly it's not good My building process is infinite and blocked at 24% I see that the generated IService.Java (of my Service.aidl) file is

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

2009-04-16 Thread Robert Green
Ok, you caught me. I didn't research it at all. So T-Mobile (in the states) gets the 30%? Where is google's motivation in this whole thing? It all made sense to me when I thought google was getting all or part of that 30% but if they get none, where's the money coming from to justify the

[android-developers] Re: Black Screen problem with graphics update using unlockCanvasAndPost()

2009-04-16 Thread Warren
Sarnoth, that's great to know. I'll undo the changes I made (that I thought would simply for testing it appears to have made the situation worse) then test to see if the game loop is indeed running in its own thread. On Apr 16, 12:28 pm, Sarnoth jesse.st...@gmail.com wrote: You definitely

[android-developers] More than one package in my project on pre 1.5 sdk

2009-04-16 Thread barbapapaz
Hello I have a problem since sdk update first it's aidl I'm not sure if it works, see my response here: http://groups.google.com/group/android-developers/browse_thread/thread/3f0117114ee7c0f8/3d4f3789850430fc?lnk=gstq=aidl#3d4f3789850430fc But I have another problem with an error message who

[android-developers] Re: Black Screen problem with graphics update using unlockCanvasAndPost()

2009-04-16 Thread Warren
Does that mean you're working on a scorched earth type game? Maybe. :) On Apr 16, 8:53 am, john jbatk...@gmail.com wrote: Your package is package com.baltz.scorched; Does that mean you're working on a scorched earth type game? It would be really crazy if you were, because I just

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

2009-04-16 Thread dm1973
I am guessing off of download counts. Top games 1) JewelLust 10-50k downloads 2) Retro defense 1-5k 3) Aevum Obscurum 1-5k So the 2nd best downloaded game is less than 5k of downloads (not sales). Multiple by the 2-4 dollars per game and there aren't many that could possibly be clearing 10k.

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

2009-04-16 Thread dm1973
Actually the press release says carriers and billing settlement fees. The billing settlement might count as payment to google. I would assume the Settlement fees would be about the same as a normal google checkout transaction. Either way 30% is a pretty fair fee. If you disagree check out what

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

2009-04-16 Thread Dianne Hackborn
You need to publish and implement an activity, not a receiver. On Thu, Apr 16, 2009 at 1:26 PM, Keith Wiley kbwi...@gmail.com wrote: I would like my app to pop up in the list of options for opening certain file types in the various file manager, email, and web browser apps. I'm having

[android-developers] Re: How to enable/disable GPRS/EDGE data connection

2009-04-16 Thread Omer Saatcioglu
Ow that's good. I didn't know that. (market search sucks) Thank you David. However. I also want to disable auto sync and background data when in the GPRS/EDGE mode and actually I am curious how we can change phone settings, in the first place. On Thu, Apr 16, 2009 at 10:40 PM, David Turner

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

2009-04-16 Thread Keith Wiley
My app is already written, I already have an activity that opens and processes files, but it's all internal to the app. The app presents a file chooser from a single hard-coded directory on the sd card. That works okay from inside the app (assuming users know to transfer files to that directory

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

2009-04-16 Thread ludovic.perrier
hello IJotifyService.aidl interface in com.thoout.droitify package com.thoout.droidify; //import java.util.List; import de.felixbruns.jotify.media.Playlist; import de.felixbruns.jotify.media.Track; import de.felixbruns.jotify.media.Album; import de.felixbruns.jotify.media.Artist; interface

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

2009-04-16 Thread Xavier Ducrohet
Errors during build. Errors running builder 'Android Pre Compiler' on project 'droidify'. Resource '/droidify/gen/de/felixbruns/jotify' does not exist. Lets fix this one first. There's a bug in ADT 0.9_pre where those folders are not created automatically. We've fixed it on our side, but

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

2009-04-16 Thread fadden
Most of what you're describing falls into the category of, that's how class loaders work in the Java programming environment. If you create a class loader, and load a class called MyClass from it, you can't trivially refer to MyClass because the current class' loader can't resolve it. You have

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

2009-04-16 Thread ludovic.perrier
When I haven't the folder error the build is infinite blocked at 24% in gen directory I haven't the /de/felixbruns/jotify/ The message display in console (in loop) [2009-04-16 23:30:00 - droidify] warning: Ignoring InnerClasses attribute for an anonymous inner class that doesn't come with an

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

2009-04-16 Thread Raphael
It's hard to see what's going on here because you didn't post the outer part -- is this an activity onCreate? Looks like you're accessing your string field before the setContentView. This is loosely related to your question but you might consider that: - you're not supposed to do the network

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

2009-04-16 Thread Raphael
It's hard to see what's going on here because you didn't post the outer part -- is this an activity onCreate? Looks like you're accessing your string field before the setContentView. This is loosely related to your question but you might consider that: - you're not supposed to do the network

[android-developers] Re: More than one package in my project on pre 1.5 sdk

2009-04-16 Thread ludovic.perrier
the response is give here by googler http://groups.google.com/group/android-developers/browse_thread/thread/3f0117114ee7c0f8/3d4f3789850430fc?lnk=gstq=aidl#3d4f3789850430fc On 16 avr, 22:44, barbapapaz barbapa...@gmail.com wrote: Hello I have a problem since sdk update first it's aidl I'm

  1   2   >