[android-developers] Re: multiple successive queries to a database

2009-04-15 Thread Marco Nelissen
What's the error message in the system log? On Tue, Apr 14, 2009 at 10:38 PM, iki qui.af...@gmail.com wrote: The application has stopped unexpectedly. Please try again. One query always works. Two consecutive queries works about 75% of the time. Three consecutive queries works about a

[android-developers] Re: Place to feedback to Android Engineers?

2009-04-15 Thread Al Sutton
There is an indication that after cupcake goes gold the open repository may be the centre of development [1]. This should mean that once a fix is in you can roll your own SDK if you need it, or make use of one of the nightly builds that Mark Murphy is trying to organise [2]. Al. [1]

[android-developers] Change to signature for Camera.setPreviewDisplay() in 1.5

2009-04-15 Thread Tom Gibara
Camera.setPreviewDisplay() now throws an IOException. Is there a reason this had to be a checked exception (looking at the source code I can't an see an immediate one)? Or is it just an oversight that will be fixed before releasing the final SDK? The consequence is that one cannot have code that

[android-developers] Re: multiple successive queries to a database

2009-04-15 Thread Raphael
Please look at the adb logcat error message (also Eclipse DDMS perspective logcat). R/ On Tue, Apr 14, 2009 at 10:38 PM, iki qui.af...@gmail.com wrote: The application has stopped unexpectedly. Please try again. One query always works. Two consecutive queries works about 75% of the

[android-developers] Re: Android XMLRPC client

2009-04-15 Thread Saravanan.K
Hey thanks for the reply. Do you mean that WSDL files need to be parsed only using a SOAP library and not the XML RPC library? Is this XML RPC client to parse just pure XML files? On Apr 8, 4:02 pm, skink psk...@gmail.com wrote: Sandy wrote: seems there has some bugs when parsering

[android-developers] HttpsURLConnection

2009-04-15 Thread DaRolla
Hi, I need to open a HttpsURLConnection with my own certificate. I've found this for Java (not Android) on http://forums.sun.com/thread.jspa?threadID=411937messageID=1886339 public static

[android-developers] Re: Use SDK 1.5 features while maintaining SDK 1.0,1.1 backward compatibility

2009-04-15 Thread Pieter
If the amount of 1.5 code is small, you can use reflection to make the calls in order to fool the verifier. This quickly becomes a pain in the butt when you have to call more than a few 1.5 methods or work with multiple 1.5 objects though. --~--~-~--~~~---~--~~ You

[android-developers] Related about progrssbar

2009-04-15 Thread Rahul
Hi Android developer My Question is related about progressbar(Horizantal) . i have created a progressbar using XMl Code but i want to change the Progress Color(yello) .plz tel me how to change the progress Color from Yellow to Blue thank you

[android-developers] Re: how on earth do you access command line?

2009-04-15 Thread Raphael
That error may mean two things: 1- Do you have Java installed? You probably got one for Eclipse. If not, get the latest from java.sun.com. 2- If you have java installed, it's not in the path by default. To fix #2: - open Control Panel System, - Advanced tab - Environment Variables button at

[android-developers] What the difference of this pointer?

2009-04-15 Thread Bin Chen
I see some of the examples contain such code to refer to this pointer: mProgressDialog = new ProgressDialog(AlertDialogSamples.this); So this usage has some special meaning other than the standalone this? Thanks. Bin --~--~-~--~~~---~--~~ You received this

[android-developers] Re: set activity label in activity code

2009-04-15 Thread Raphael
On Tue, Apr 14, 2009 at 7:54 AM, zeeshan genx...@gmail.com wrote: Hi Experts, i need to change activity label on the title bar in my code. Activity.setTitle() R/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: Use SDK 1.5 features while maintaining SDK 1.0,1.1 backward compatibility

2009-04-15 Thread Tom Gibara
A more straightforward approach that should work is to isolate the affected code behind an interface, with separate implementations for 1.1 and 1.5. A factory method can be used to opaquely return the correct instance based on the build's sdk version. This has the advantage that you can usually

[android-developers] Re: SDK 1.5, Unable to load XML wizard

2009-04-15 Thread Raphael
Which version of Eclipse are you using? Could you check the workspace/.metadata/.log for any detailed error and post them or send privately? R/ On Tue, Apr 14, 2009 at 6:43 AM, Al alcapw...@googlemail.com wrote: I'm trying to make a new XML file and have selected New-Android XML File, but

[android-developers] Re: Related about progrssbar

2009-04-15 Thread Jeffrey Sharkey
Take a peek at how the default progress bar drawable is defined in XML: http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;f=core/res/res/drawable/progress_horizontal.xml;hb=cupcake Make your own drawable with custom colors, then reference it using android:progressDrawable. j

[android-developers] Re: How to built a resident app ??

2009-04-15 Thread Raphael
On Mon, Apr 13, 2009 at 11:22 PM, QQ d9147...@gmail.com wrote: I have to built a resident application, but I have no idea to do that Look for services here: http://developer.android.com/guide/topics/fundamentals.html R/ --~--~-~--~~~---~--~~ You received

[android-developers] Re: How add view in new layer?

2009-04-15 Thread Raphael
On Tue, Apr 14, 2009 at 2:58 AM, alexander.ku...@gmail.com alexander.ku...@gmail.com wrote: I need show ads in application. Ads in my custom view must move from bottom of screen with animation. How can I add my view in bottom of screen as new layer or help me find other method? Check the

[android-developers] Re: android:style/Theme.Translucent stumped

2009-04-15 Thread Jeffrey Sharkey
Yea, sadly this is a known issue. It ends up the activity history stack is somehow deciding that the window is fullscreen (and therefore doesn't need to render anything behind it, leaving it black). This only happens when you try /inheriting/ from the framework themes. Using @android:style

[android-developers] Re: What the difference of this pointer?

2009-04-15 Thread Tom Gibara
It's necessary to use the AlertDialogSamples.this syntax in an inner class when you want to refer to an ancestor class instance. Basically it disambiguates this which becomes overloaded when you have nested class instances. Because field accesses and method calls on an enclosing class are

[android-developers] Re: App widgets and remote views

2009-04-15 Thread Jeffrey Sharkey
Awesome, great to hear people are jumping into it. :) For performance, the one thing to keep in mind is that each widget update will spin up your process, which is somewhat expensive. (So you probably want to avoid updating more often than once per hour to help save battery.) Also, while

[android-developers] Re: emulator speed

2009-04-15 Thread Raphael
Note that if you use Eclipse, there's a huge difference whether you use the debug launch mode or the run launch mode. The debug mode can be 2 to 20 times slower depending on the kind of computation done by your application compared to the run mode. R/ On Tue, Apr 14, 2009 at 1:03 PM, Dianne

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

2009-04-15 Thread Raphael
However if you display the Outline view you can do some basic re-ordering of the XML elements. R/ On Tue, Apr 14, 2009 at 1:34 PM, Xavier Ducrohet x...@android.com wrote: Not at this time. The layout editor is a work in progress. In 0.9, we added basic drag'n'drop support but we haven't

[android-developers] Re: Android XMLRPC client

2009-04-15 Thread skink
On 15 Kwi, 04:13, Saravanan.K saravinfot...@gmail.com wrote: Hey thanks for the reply. Do you mean that WSDL files need to be parsed only using a SOAP library and not the XML RPC library? Is this XML RPC client to parse just pure XML files? wsdl files describe soap server's

[android-developers] Re: App widgets and remote views

2009-04-15 Thread Tom Gibara
I tried setting various combinations of android:minWidth and android:minHeight on the appwidget-provider element and on my ImageView, but nothing seemed to have an effect... ...okay I've just worked out why - obvious in retrospect - the minimum dimensions specified by the appwidget provider are

[android-developers] Re: Re: how on earth do you access command line?

2009-04-15 Thread Raphael
So first, these variables are case-insensitive so PATH or Path doesn't make a difference here. Next, it doesn't matter which you choose to modifiy unless you have multiple user accounts. If you have a single user account, simply modify the user account one and leave the system one alone. Third,

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

2009-04-15 Thread David Turner
On Tue, Apr 14, 2009 at 11:56 PM, clark clarkd...@gmail.com wrote: I recently flashed my phone with the firmware found on the upcoming HTC Saphire, which says it is version 1.5. Does anyone know if I will be able to try out the features from the 1.5 SDK with this phone? It would be great

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

2009-04-15 Thread ellipsoidmob...@googlemail.com
The problem is your line Thread.currentThread().sleep(1000);//sleep for 1000 ms I believe with SurfaceView you have to draw your whole view on every screen refresh. You just need to loop as fast as possible and the system will throttle the speed in the calls to lockCanvas(). By sleeping for 1

[android-developers] problem ScrollView

2009-04-15 Thread Neo
i have a problem about ScrollView i want add myView(extends View) to the ScrollView, myView i will draw something, image or text, but when i create myView and add it in the scrollView ,but get the Height = 0 onSizeChanged(), i don't know why? (1) myActivity final LinearLayout layout =

[android-developers] Re: problem ScrollView

2009-04-15 Thread Neo
i think may be this EmotionTextView is my own View ,so the system can't get the height, i need set determinate height for it ??? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: Using SQLite for caching and serialization options

2009-04-15 Thread Alan Jones
Hi, On Apr 14, 4:27 am, nEx.Software justin.shapc...@gmail.com wrote: You could use an object-oriented database such ashttp://www.db4o.com/android/, of course this one requires GPL. Interesting link, thanks. Though at this stage I won't be releasing this under GPL so that's not an option yet.

[android-developers] Best way for debugging

2009-04-15 Thread Manfred
Hi! I have a background service which sometimes does not work properly. I need a logfile which displays me information so that i am able to find the error! But when i use Log.d() then ddms shows me only a few hours of the logfile. Is there a way to expand this? Or is there a more suitable way

[android-developers] Re: Can't use the findViewById() in an second view

2009-04-15 Thread Bin Chen
It's weird, if I change the code into: new DialogInterface.OnClickListener() { public void onClick(DialogInterface dialog,

[android-developers] Re: which is gps provider for real device?

2009-04-15 Thread David Turner
the provider is also called gps on a real device. The rest is implementation details that the application should not care about. On Wed, Apr 15, 2009 at 11:54 AM, jj jagtap...@gmail.com wrote: On emulator for simulations of GPS there is mock provider gps But which is provider for real device

[android-developers] Issue in reading rtsp stream

2009-04-15 Thread patrick
Hello there, I encountered some difficulties with rtsp streaming on the G1. When i open a link to a rtsp link, the G1 opens a first TCP connection with the command OPTION and It receives an answer from the server. The G1 let this connexion open and starts a 2nd connection in which it uses

[android-developers] no location folder found under data directory for 1.1

2009-04-15 Thread jj
no location folder found under data-location-gps directory for 1.1, which contains the mock provider file. --~--~-~--~~~---~--~~ 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] PackageManager.setComponentEnabledSetting method need which permission??

2009-04-15 Thread SinFrancis
When i use PackageManager.setComponentEnabledSetting method to enable a service like this : PackageManager pm = getPackageManager(); ComponentName cc = new ComponentName(getApplicationContext (),ServiceTest.class);

[android-developers] Re: finish() not killing Activity

2009-04-15 Thread quakeboy
Let me give an example of a different kind of app.. I have already read the main thread where this touchscreen consuming CPU issue is discussed... Now I have a game which is completely single threaded.. for rendering I use a timer and use handler.post and call invalidate/ postInvalidate of a View

[android-developers] Re: finish() not killing Activity

2009-04-15 Thread quakeboy
Let me give an example of a different kind of app.. I have already read the main thread where this touchscreen consuming CPU issue is discussed... Now I have a game which is completely single threaded.. for rendering I use a timer and use handler.post and call invalidate/ postInvalidate of a View

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

2009-04-15 Thread quakeboy
I have asked the Flex team in our company to make some app which can import images and you can drag and drop them with options like locking movement and hiding.. Then the app will generate an xml with all ImageViews and positions in it.. I can post it here if someone requests for the

[android-developers] Can't use the findViewById() in an second view

2009-04-15 Thread Bin Chen
I have a main.xml as the main view and another alert_dialog_text_entry.xml for one dialog when a button is clicked in the main.xml view. In the click handler of the button, the findViewById () can't work, the returned vaule is null, the code is like this: protected Dialog

[android-developers] which is gps provider for real device?

2009-04-15 Thread jj
On emulator for simulations of GPS there is mock provider gps But which is provider for real device , which provider name requires to give? Is it not require to give provider name for appl of real device, will somebody clear for this issue. --~--~-~--~~~---~--~~

[android-developers] Re: create aidl preprocess file for parcelable

2009-04-15 Thread benjamin.lehej...@googlemail.com
following the thread opened by Zach solved my problem. Thx a lot! On 14 Apr., 20:22, Zach Hobbs ho...@helloandroid.com wrote: I'm having the same problem :( http://groups.google.com/group/android-developers/browse_thread/threa... -Zach On Apr 14, 3:20 am, benjamin.lehej...@googlemail.com

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

2009-04-15 Thread Boba S
It would be of great help to me 2009/4/15 quakeboy prasna...@gmail.com I have asked the Flex team in our company to make some app which can import images and you can drag and drop them with options like locking movement and hiding.. Then the app will generate an xml with all ImageViews and

[android-developers] Re: Can't use the findViewById() in an second view

2009-04-15 Thread Bin Chen
Sovled by adding a setContentView()... On Apr 15, 5:10 pm, Bin Chen binary.c...@gmail.com wrote: I have a main.xml as the main view and another alert_dialog_text_entry.xml for one dialog when a button is clicked in the main.xml view. In the click handler of the button, the findViewById ()

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

2009-04-15 Thread Boba S
Can I use another GUI Editor and which can I use for drag'n'drop? 2009/4/14 Xavier Ducrohet x...@android.com Not at this time. The layout editor is a work in progress. In 0.9, we added basic drag'n'drop support but we haven't added support for manipulating views in the layout directly yet.

[android-developers] Re: Phone call recorder

2009-04-15 Thread Selem
On Apr 6, 6:39 pm, Dave Sparks davidspa...@android.com wrote: You can't. The G1 firmware does not support it. Dave, do you mean G1 will never ever support call recording, or is there a chance that it will be supported with an update? On Apr 6, 6:00 am, Dilli dilliraomca...@gmail.com wrote:

[android-developers] Mobile Unlocking in india

2009-04-15 Thread vinny.s...@gmail.com
Can any body help me unlocking the Android G1 mobile in india for the Vodafone Network ... can body give the APN setting to enter into the phone --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Use SDK 1.5 features while maintaining SDK 1.0,1.1 backward compatibility

2009-04-15 Thread blindfold
Thanks Tom and Pieter. I haven't tried your suggestions yet, but is there any guarantee that the phone's VM will not also verify isolated classes or methods? By analogy to http://supportforums.blackberry.com/rim/board/message?board.id=java_devmessage.id=17826 (with two Blackberry OS versions, for

[android-developers] Reconstructing DALVIK Applications

2009-04-15 Thread Sergio Ciruela
Hi, I would like to transform a dex file in bytecode to be able to read with the BCEL library. DX tool lets to transform from bytecode to dex files, but I would like to make the reverse process. Is it possible with DX tool? I have read that there is a project which is called UNDX that will make

[android-developers] Re: App widgets and remote views

2009-04-15 Thread Tom Gibara
I just started taking a closer look at what would be needed to make a well-functioning gadget and have an observation. I'm assuming that the intention of the design is that I can grab a AppWidgetManager instance for my application's context any time I want, so that I can push an update to my

[android-developers] question about orientation sensor

2009-04-15 Thread zeeshan
Hi Android Experts, i am wondering if we can change orientation just by sensing the layout position, port or land;without flip like iphone does any example would be appreciated --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

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

2009-04-15 Thread iblues
Hi, I am creating an application where I have 2 Surface Views (1 each in top and bottom half of the screen) along with a button. One of the Surface will be displaying a camera preview. The purpose of the action is to swap the preview between each frame. The problem I am facing is only one

[android-developers] Re: Use SDK 1.5 features while maintaining SDK 1.0,1.1 backward compatibility

2009-04-15 Thread Tom Gibara
The JLS requires that, even if a JVM identifies a binding error early, the exception raised must be deferred until an attempt is made to use the class. I'm paraphrasing here, but it's been years since I last read the JLS. That's the basic idea anyway. Of course, the interface can only depend on

[android-developers] Re: question about orientation sensor

2009-04-15 Thread zeeshan
can anyone help? On Apr 15, 10:28 am, zeeshan genx...@gmail.com wrote: Hi Android Experts, i am wondering if we can change orientation just by sensing the layout position, port or land;without flip like iphone does any example would be appreciated

[android-developers] Re: Passing keyevents to the next activity in the stack

2009-04-15 Thread marmor
Thanks Dianne, The NOT_FOCUSABLE flag caused my app to be mistakenly recognized as not responding, I think the OS expected me to handle keys even when I'm not focusable. I eventually got what I wanted using superDispatchKeyEvent. Thanks again, Mor. On Apr 4, 11:28 pm, Dianne Hackborn

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

2009-04-15 Thread ppmoore
Still a few rough edges to be fixed ;) - Executing emulator -wipe-data does not work (it needs an android virtual device to be specified) I still don't know if this option is needed (probably yes, because running eclipse with the new SDK doesn't start the emulator). - The release notes state

[android-developers] Re: question about orientation sensor

2009-04-15 Thread Chris
maybee what you are looking for is screen orientation :sensor for your activity in your manifest. Chris On 15 avr, 13:13, zeeshan genx...@gmail.com wrote: can anyone help? On Apr 15, 10:28 am, zeeshan genx...@gmail.com wrote: Hi Android Experts, i am wondering if we can change

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

2009-04-15 Thread Cédric Berger
On Tue, Apr 14, 2009 at 20:11, Jean-Baptiste Queru j...@android.com wrote: The latest cupcake source drop (done a few hours ago) matches the preview SDK. We're working to tag it. Note that this isn't release 1.5 of Android, it's just a code drop that matches an official preview SDK. It's

[android-developers] Re: Business search using Android GeoCoder APIs

2009-04-15 Thread Android_Learner
Hi , As per google's saying that Android framework treats each application equally as Native application. But here native Maps application is able to retreive Business searches like pizza hut etc. But My 3rd Party Maps application is not able to retreive it. As per SDK 1.0 , there are APIs in

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

2009-04-15 Thread Asif k
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 languages?? As per my knowledge and experience, runtime environment is not needed to execute

[android-developers] Re: Audio streaming/progressive download over HTTP

2009-04-15 Thread patrick
When you say no support for AAC, does it mean no AAC support for pure audio stream? Can we use rtsp streaming with a MPEG-4 video containing an AAC audio channel? On Apr 14, 11:56 pm, Dave Sparks davidspa...@android.com wrote: We don't have an API for progressive download yet. Technically, the

[android-developers] related scrollbar

2009-04-15 Thread Rahul
i am using ScrollView . so for one event i want disable a scrollview so plz tel me how to disable the scrollView. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: Mobile Unlocking in india

2009-04-15 Thread for android
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: Can any body help me unlocking the Android G1 mobile in india for the Vodafone Network ... can body give the APN setting to enter into

[android-developers] Re: Can't use the findViewById() in an second view

2009-04-15 Thread Bin Chen
Finally I resolved this problem by invoking the flattened view's findViewById(), hope this can be helpful for others. On Apr 15, 5:20 pm, Bin Chen binary.c...@gmail.com wrote: It's weird, if I change the code into:                                                         new

[android-developers] Re: Writing PerformanceTestCases

2009-04-15 Thread Magnus
What you need to do is to implement the PerformanceTestCase interface. Below is a performance test example and which I was able to run it both via adb shell What I couldn't figure out is how to get the actual time it took to execute the specific test. adb logcat reported the time it took to

[android-developers] Performance test cases

2009-04-15 Thread Magnus
Ok, so I want to do some performance testing. I'd like to this in an automated way and would like to evaluate the available test harness by using the built in JUnit framework. I have really looked for documentation regarding this but have found very little. I figured out that I should implement

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

2009-04-15 Thread clark
Since firmware found on the upcoming HTC Sapphire means absolutely nothing to us (really), you'd better ask to the person who provided you this nice piece of software instead :-) Now when you say us, are you referring to google engineers, the application developers or the community? Anyhow,

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

2009-04-15 Thread Warren
Thanks for the comment ellipsoidmobile. If I remove the sleep, I still don't see anything until the very end. I don't need that sleep in there for the application. I only put it in so that, hopefully, I could see what was happening a little better. Also, I thought that the SurfaceView allowed

[android-developers] bottom Tabview

2009-04-15 Thread joby
Hi, I am created a Tab view ,in this the tabs are in top side. But i need a tab view which displays the tabs in the bottom ,can anybody can give me a code or related link to this one. --~--~-~--~~~---~--~~ You received this message because you are

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

2009-04-15 Thread Warren
I may have found my problem. The SurfaceView class implements a function called draw(Canvas). I unwittingly created my own function draw() with the same signature, overriding the original. I'm guessing that the SurfaceView probably calls draw() during unlockCanvasAndPost(). But instead of

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

2009-04-15 Thread Jean-Baptiste Queru
First, this isn't quite on-topic for this group (neither is the meta-discussion about patent laws and their interpretation that is almost guaranteed to follow), as this has no relationship to the official Android SDK. Second, more importantly, many people who read and participate in this group

[android-developers] Note on Size of Apps

2009-04-15 Thread droozen
So I wrote my own calculator app because I wanted to have some different functionality than the calculator that comes with the phone. Now, I notice the calculator that came with the phone, when looking through the Manage Applications, only shows as being 4kb in size. My calculator ends up being

[android-developers] Re: broadcasts as communication path between custom views and activity

2009-04-15 Thread skink
On 15 Kwi, 05:56, skink psk...@gmail.com wrote: hi, i have custom view and once some action occur in it (say touch/key event) i'd like to call some code in my activity. my question is if broadcasts (intent filters/broadcast receivers) are good communication mechanism for such thing? if

[android-developers] Re: broadcasts as communication path between custom views and activity

2009-04-15 Thread skink
On 15 Kwi, 04:56, skink psk...@gmail.com wrote: hi, i have custom view and once some action occur in it (say touch/key event) i'd like to call some code in my activity. my question is if broadcasts (intent filters/broadcast receivers) are good communication mechanism for such thing? if

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

2009-04-15 Thread Pd
Have you followed this guide: http://developer.android.com/guide/publishing/preparing.html droozen wrote: So I wrote my own calculator app because I wanted to have some different functionality than the calculator that comes with the phone. Now, I notice the calculator that came with the

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

2009-04-15 Thread David Turner
On Wed, Apr 15, 2009 at 3:42 PM, clark clarkd...@gmail.com wrote: Since firmware found on the upcoming HTC Sapphire means absolutely nothing to us (really), you'd better ask to the person who provided you this nice piece of software instead :-) Now when you say us, are you referring

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

2009-04-15 Thread havexz
I am trying this code but its not working Intent shortcutIntent = new Intent (Intent.ACTION_MAIN); shortcutIntent.setClassName(this, this.getClass ().getName()); Intent intent = new Intent();

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

2009-04-15 Thread Sundog
No argument here. VMS, baby, VMS. On Apr 15, 8:32 am, JP joachim.pfeif...@gmail.com wrote: On Apr 15, 7:11 am, Jean-Baptiste Queru j...@android.com wrote: Second, more importantly, many people who read and participate in this group and other official Android discussion groups work for

[android-developers] How to make a SQL database accessable from a ContentProvider?

2009-04-15 Thread ppmoore
Hello, As a learning project for myself, I read the contents of a text file into an SQL database, and would like to make its contents accessible via a SimpleCursorAdapter. My code to read the file and store it in the DB is: public class DictionarySQLAutoComplete extends Activity { public

[android-developers] is an AppWidget Configuration Activity required?

2009-04-15 Thread jason...@spy.net
I'm playing around with the new AppWidget API, I get the impression from the docs that I don't need an android:configuration attribute in my AppWidgetProviderInfo xml resource. Curiously though, when I try to add my AppWidget to the home screen, I just get a black textview that reads Problem

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

2009-04-15 Thread Streets Of Boston
I agree with you about being in the wrong group. I actually wanted to post this in Android Discuss but put it accidentally here in Android Developers. But you can't delete a post and re-post it. ... company policy is to avoid reading or learning about any patent-related subject Really!!?? I

[android-developers] Re: question about orientation sensor

2009-04-15 Thread zeeshan
thanks for reply chris, i used android:screenOrientation=sensor in manifest but it is not flipping automatically on direction change. i need to change port-land just on change direction not by opening the keypad. On Apr 15, 1:04 pm, Chris christ.pe...@gmail.com wrote: maybee what you are

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

2009-04-15 Thread patrick
Did you add the permission in the manifest? On Apr 15, 5:06 pm, havexz bali.param...@gmail.com wrote: I am trying this code but its not working                 Intent shortcutIntent = new Intent (Intent.ACTION_MAIN);                 shortcutIntent.setClassName(this, this.getClass

[android-developers] Re: question about orientation sensor

2009-04-15 Thread zeeshan
thanks for the reply Chris this is exactly what i was looking for but it takes so long to flip the layout. On Apr 15, 1:04 pm, Chris christ.pe...@gmail.com wrote: maybee what you are looking for is screen orientation :sensor for your activity in your manifest. Chris On 15 avr, 13:13,

[android-developers] call flow, events, notifications

2009-04-15 Thread Rob Shortt
Hi all, I'm looking for any documentation on the call flow including any notifications and intents fired. So far I haven't found much. I have some ideas for call related apps but need to know where I can hook into the system. For example I want to know whenever a call ends and if I can get

[android-developers] device to device broadcasts possible via wi-fi?

2009-04-15 Thread ravenwing
Does anyone know of a way to broadcast a message via Wi-Fi from one Android device to all of its neighbors that are within Wi-Fi range? If not, does anyone know if this type of functionality is planned for a future release? Thanks for any insights.

[android-developers] Re: Please enable SVG Support in the Android Webkit Browser

2009-04-15 Thread DovMesh
Hi, I think it could be interesting The Sneak Preview to TinyLine SVG 2.2 for Android http://www.tinyline.com/forum/index.php?topic=73.0 and from here http://www.tinyline.com/ The TinyLine SVG Viewer is an example from the TinyLine SVG 2.2 for Android. It supports user interaction, SMIL

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

2009-04-15 Thread adrian
Hello group, I don't have a option -f in my command monkey(/system/bin/monkey). example: adb shell monkey -f script_file_name. But the command unknown option -f. So I want to get the source code of the command monkey, then open this option and rebuild it. Regards, Adrian

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

2009-04-15 Thread Tomasz Stechly
While dex-ing a jar I am getting the the following. Does anyone knows how to fix it? Supposedly build-no-debug should help but I cannot find any reference to this flag in android source. Any help appreciated Tomasz  [apply] UNEXPECTED TOP-LEVEL EXCEPTION:    [apply]

[android-developers] How can I call methods in Activity from an event listener of a custom Adapter?

2009-04-15 Thread Daniel Yen
Hi everyone, I have created a ListView and a custom Adapter with ImageButton widget in each row. I set the ImageButton OnClick Listener in getView method to trigger each ImageButton's OnClick event of each ListView row. Everything goes well, but I have no idea how to call Activity methods from

[android-developers] Emulator Camera Issues in 1.5

2009-04-15 Thread Sheado
Howdy, sorry if this turns into a crosspost - a previous post i attempted never showed up. I'm developing in Eclipse with dev kit 1.5 on Kubuntu 9.04 (64bit) My camera-based app and the included camera app are behaving strangely - sometimes they simply lock up - regardless of whether they lock

[android-developers] Embedded activityGroup and Dialog box

2009-04-15 Thread Arnaudweb
Hello, I'm trying to run an activityGroup embedded inside another activityGroup. (Example : an activityGroup inside a tabActivity) This seems to display properly but throw an exception when i'm trying to display a modal box like an alertDialog. TabActivity - Tab1 - Tab2 - MyGroupActivity - -

[android-developers] Re: SDK 1.5, Unable to load XML wizard

2009-04-15 Thread stefan.jau...@googlemail.com
I have it also On 14 Apr., 15:43, Al alcapw...@googlemail.com wrote: I'm trying to make a new XML file and have selected New-Android XML File, but each time I get this message: The selected wizard could not be started. Plug-in com.android.ide.eclipse.adt was unable to load class

[android-developers] [Feature Request] Zeroconf API

2009-04-15 Thread Robin Perkins
Hi Group, I am surprised to see that the Android doesn't yet have a zeroconf stack as part of its API. Zeroconf allows you to find services (eg Web Servers, Instant Messaging peers, SIP) on a given network with minimal effort, something a mobile device going to new places I would envisage doing

[android-developers] Using KSoap2 with VB.Net webservice

2009-04-15 Thread MaximG
Hello All, I am having some serious difficulty using KSoap2 to connect to a VB.Net webservice and am hoping I could get some help from someone who is smarter than me. I have been trying to work this out for 2 weeks with no luck. So this is my problem. Using KSoap2 on the Android platform I have

[android-developers] Custom view or?

2009-04-15 Thread dsurrea
Hi. I need to develop some widget like a standard Gallery. On visible part of the screen should be three images. Images may be scrolled up and down or left and right in dependence on orientation. Image in focus should be larger then others. Scrolling should be realized by touching on left or

[android-developers] Re: How to stop the fucking spam mail ?

2009-04-15 Thread Arnaud Weber
read one mail until the end... 2009/4/15 kid197...@yahoo.com.tw Hi How can I unsubscribe this newsgroups? I recieved these spam mails everyday. Why admin send the spam mail to everybody to bother us? We can see article online. I have tried the unsubscribe mail but nobody to handle my

[android-developers] Re: Mobile Unlocking in india

2009-04-15 Thread rk
No need to give the APN settings and all.. You can unlock the mobile with the Airtel Sim with data service options.. thanks raj On Apr 15, 2:58 pm, vinny.s...@gmail.com vinny.s...@gmail.com wrote: Can any body help me unlocking the Android G1 mobile in india for the Vodafone Network ... can

[android-developers] call flow, events, notifications

2009-04-15 Thread Rob Shortt
Hi all, I'm looking for any documentation on the call flow including any notifications and intents fired. So far I haven't found much. I have some ideas for call related apps but need to know where I can hook into the system. For example I want to know whenever a call ends and if I can get

[android-developers] socket communication with android emulator and remote PC

2009-04-15 Thread Anandan Natesan
Hi, I am trying to create a tcp connection between the android emulator and remote PC. when i use the local host i can able to connect but remote host i could not able to connect. firewall disabled for remote host i used the stcppipe for forwarding Enter the Android tools path and run:

[android-developers] Re: How to built a resident app ??

2009-04-15 Thread Yusuf T. Mobile
I think you want to develop a service. You might find the following tutorial to be useful: http://developerlife.com/tutorials/?p=356 On Apr 13, 11:22 pm, QQ d9147...@gmail.com wrote: I have to built a resident application, but I have no idea to do that If you know how to do, please

  1   2   >