[android-developers] Re: Button in Custom View

2009-04-07 Thread xspotlivin
Ok, that mostly makes sense. So my next question is how do I make the button a child of my custom view so that I can use View.findViewById ()? On Apr 6, 10:14 am, Greg Krimer gkri...@gmail.com wrote: Activity.findViewById() is different from View.findViewById(). The former uses the View set

[android-developers] Re: MediaPlayer API

2009-04-07 Thread Desu Vinod Kumar
Thanks for Information it helpful to me to think more... On Tue, Apr 7, 2009 at 10:37 AM, Marco Nelissen marc...@android.com wrote: If you want to play a file in the emulator, you will have to create an sd card image, copy the file to it, and then run the emulator with that sd card

[android-developers] How to order the items of GridView?

2009-04-07 Thread HelloWorld
Dear all, In emulator, the items of GridView(e.g. Launcher) are in alphabetical order. Would you please point me how to implement a user- defined order in Launcher? For example, I'd like 'Browser' to be the first item in Launcher... Thank you in advance.

[android-developers] Re: How to order the items of GridView?

2009-04-07 Thread Romain Guy
This is not supported by the default Home screen application. On Mon, Apr 6, 2009 at 11:43 PM, HelloWorld xiaolong_...@yahoo.com.cn wrote: Dear all,   In emulator, the items of GridView(e.g. Launcher) are in alphabetical order.  Would you please point me how to implement a user- defined

[android-developers] Re: Can Android browser load from local server via 802.11 ad hoc?

2009-04-07 Thread Miguel Paraz
Randall Parker wrote: Can one use an Android phone to access basically local (think intranet for example) web servers to view pages? Yes. I ask this question because some cell phones with some phone network appear to use a special server to funnel cell phone requests thru and that the

[android-developers] SD Card image

2009-04-07 Thread vinny.s...@gmail.com
Can Any Body Please tell me How to Create A SD Card image in Emulator to Paly the Files Present in Sd card On Media Player --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: Monkey not playing video using Music app

2009-04-07 Thread vrukesh
Hi All, Well, we got the issue sorted out. Steps used: 1. add following intent informatiob in AndroidManifest.xml of Music player for VideoBrowserActivity: category android:name=android.intent.category.MONKEY/ 2. Launch Music player: am start -a android.intent.action.MAIN -n

[android-developers] Re: SD Card image

2009-04-07 Thread Archana
Hi vinny, Go to android sdk /tools path from your command prompt and type mksdcard Size filename.iso eg mksdcard 512M sdcard.iso // media file mksdcard 128M image1.img // image files you can see it created in your tools folder of your sdk On Apr 7, 11:39 am,

[android-developers] Re: Why adb push to sdcard report Read-only file system for the emulator of the latest android source code

2009-04-07 Thread David Turner
On Tue, Apr 7, 2009 at 7:47 AM, Mariano Kamp mariano.k...@gmail.com wrote: Thanks David, but I was more expecting something without compiling a new version of the SDK. Anyway, I tested my SD card stuff on the actual device for months now, so I should be able to wait a little bit longer.

[android-developers] Re: How to print errno in native code in android

2009-04-07 Thread David Turner
On Tue, Apr 7, 2009 at 2:15 AM, Meryl Silverburgh silverburgh.me...@gmail.com wrote: Hi, I am trying to use LOGE function to display the value of errno. LOGE(errno: %d\n, errno); But what I get errno: 1 But '1' is not a valid errno (I look at errno.h). You are not looking very well

[android-developers] Re: SD Card image

2009-04-07 Thread Desu Vinod Kumar
Thanks for information i got good helpful information i have some confusion i have cleared by your reply .. On Tue, Apr 7, 2009 at 1:15 PM, Archana archana.14n...@gmail.com wrote: Hi vinny, Go to android sdk /tools path from your command prompt and type mksdcard Size filename.iso

[android-developers] Re: Can I add a custom qualifier to resource directory?

2009-04-07 Thread Mark Murphy
mongd wrote: Hi, just like the title says, I have a question about resource directory. To use different resources based on current configuration, Android supports a list of qualifier that can be added to directory name, so the system automatically finds the right one for the current

[android-developers] Paid App Support for developers from India

2009-04-07 Thread karthikr
Hey, Im a developer from India. I want to know when developers from India can release paid apps to the android market. I have spent lot of time in developing and maintaining the quality of applications. But I have to wait for a loong time to see the actual results, please tell me as to when

[android-developers] How to completely Destroy application

2009-04-07 Thread manohar
Hi all, I am unable to completely destory my app. My app is thread based app. Once i exit the app by calling onDestroy method, it is exiting properly. If i try to relaunch the application is says The applicatin stoped unexpectedly, try again. If i again select my app it is launching. It means in

[android-developers] data access

2009-04-07 Thread mikas
Hi, How do I access the data of an intent that has already been performed. For example, I sent a text message and now I want to retrieve the contents of that message (subject, body, recipient) or the time the message was sent, or similar any suggestion is appreciated thx in advance

[android-developers] expandable list view

2009-04-07 Thread google
hi, i am creating expandable list with group and childs, i am able to handle onchildclick() but not able to handle ongroupclick() can anybody helps in this regards, chandra --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Re: Server/Client in different machines

2009-04-07 Thread Ask
Can you send the exception you are getting or some code snippets, it can be some io exception... On Apr 7, 4:58 pm, Lillian Brandão lbrolive...@gmail.com wrote: I've already done at the server machines: redir add tcp:7000:7000. -- Lillian Brandão On Tue, Apr 7, 2009 at 8:47 AM, Ask

[android-developers] Adding items to ListView dynamically

2009-04-07 Thread megabot
Hello, I have a ListView (ListViewContacts) and another ListView (ContactList). When I click on a Button in ListViewContacts I get ContactList, when I select/click a contact in ContactList, this contact is added to the list in ListViewContacts. This scenario above is what I would like to

[android-developers] Postion of the grouppostion or the childposition in a Expandable List.

2009-04-07 Thread for android
How do I find the postion of the item clicked in an Expandable List. In a list view the listView.getPositionForView(v); is present which gives the postion of the clicked item. But in an expandable list how do i get to know the postion of the grouppostion or the childposition Thanks

[android-developers] Server/Client in different machines

2009-04-07 Thread Lillian Brandão
Hi all, I have an application client/server and I want to install this application in differente machines. The server is located in IP_SERVER, listening port 7000. I want to start a cliente in another machine with IP_Y and connect to the server on the different machine. I've started the server

[android-developers] Re: Exception locking surface - lockCanvas() returns a null?

2009-04-07 Thread ellipsoidmob...@googlemail.com
Oh - I think I can see the problem in your code now. You've got your 'finally' block outside of your while loop, rather than inside it. This means that you are calling lockCanvas() repeatedly without calling UnlockCanvasAndPost(). The exception is going to be thrown on the 2nd iteration of the

[android-developers] Re: aapt ERROR

2009-04-07 Thread Mark Murphy
mongd wrote: I made a new android project with Eclipse and while I was trying to use AAPT on that project, I got the following errors. res/layout/main.xml:2: ERROR No resource identifier found for attribute 'orientation' in package 'android' res/layout/main.xml:2: ERROR No resource

[android-developers] Help...Exception in the Background Thread :Can't create handler inside thread that has not called Looper.prepare()

2009-04-07 Thread Ask
Hi, I am using Reflection APIs in the background thread to call a method dynamically from another application but I am getting the Exception: java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare() at a line : Object o = c.newInstance(); my code in

[android-developers] Re: Paid App Support for developers from India

2009-04-07 Thread Keiji Ariyama
Hi Karthik, I am Keiji Ariyama. I'm Japanese developer. Do you want to sell your apps to people of India? Or you want to make public your apps on Android Market? If so, you would launch corporate in United States? I'm not kidding. Of course. And you might be able to cooperate with many

[android-developers] Re: When to setResult for onActivityResult

2009-04-07 Thread Chronos
Overriding Activity.finish() does the job;) Thank you very much, Tseng @dianne: ALL samples in the SDK use this mechanism - I already lined out in my first post, that I didn't like overriding change listeners, since it is the most useless way I can think about. So, the following should be done

[android-developers] Re: Send Email Automatically

2009-04-07 Thread Mark Murphy
Noam wrote: 2) The mail client pops up with the To: , Subject, and Body fields and a send button. However, I want the email to be sent automatically, without having to go through the mail UI. You will need to write your own SMTP client (perhaps using some third-party JAR). -- Mark Murphy (a

[android-developers] Re: Why adb push to sdcard report Read-only file system for the emulator of the latest android source code

2009-04-07 Thread Mariano Kamp
David, my bad, I thought this thread was about the SD card not working in emulator of the official released binary. That's the reason I said it hasn't worked for months ... In case it is you now who is lost, see this discussion:

[android-developers] Re: Server/Client in different machines

2009-04-07 Thread Ask
Have you done port forwarding at server machine?? Any message which is coming to the server should be redirected towards the emulator port : 7000 On Apr 7, 4:35 pm, Lillian Brandão lbrolive...@gmail.com wrote: Hi all, I have an application client/server and I want to install this application

[android-developers] Re: How to completely Destroy application

2009-04-07 Thread Neil
That worked for me. On Apr 7, 1:53 pm, Gothy dmitry.ut...@gmail.com wrote: i guess it's smth like: android.os.Process.killProcess(android.os.Process.myPid()) On Apr 7, 2:01 pm, manohar manohar...@gmail.com wrote: Hi all, I am unable to completely destory my app. My app is thread based

[android-developers] Re: Passing ArrayList across actvities

2009-04-07 Thread MrChaz
Assuming MyList is an object you'll need to make it implement Parcelable and Serializable There are then 2 functions that you'll need to set up this is used to re-create the object at it's destination: public static final Parcelable.CreatorMyList CREATOR = new Parcelable.CreatorMyList()

[android-developers] Re: How to completely Destroy application

2009-04-07 Thread Gothy
i guess it's smth like: android.os.Process.killProcess(android.os.Process.myPid()) On Apr 7, 2:01 pm, manohar manohar...@gmail.com wrote: Hi all, I am unable to completely destory my app. My app is thread based app. Once i exit the app by calling onDestroy method, it is exiting properly. If

[android-developers] Re: Server/Client in different machines

2009-04-07 Thread Lillian Brandão
I've already done at the server machines: redir add tcp:7000:7000. -- Lillian Brandão On Tue, Apr 7, 2009 at 8:47 AM, Ask asifk1...@gmail.com wrote: Have you done port forwarding at server machine?? Any message which is coming to the server should be redirected towards the emulator port :

[android-developers] Re: Open Repository cupcake SDK updates (inc. Windows SDK)

2009-04-07 Thread Pd
Torrent can be found here: http://thepiratebay.org/torrent/4830625/android-sdk_eng.20090407_windows-x86.zip Al, for consistency I've used the same file name format as before. Your NOTICE is still intact :-) Al Sutton wrote: I've updated the open repository SDK builds page at AndAppStore.

[android-developers] Re: Postion of the grouppostion or the childposition in a Expandable List.

2009-04-07 Thread for android
Found a way out. int pos = listView.getPositionForView(v); int grpPostion = ExpandableListView.getPackedPositionGroup(listView.getAdapter().getItemId(pos))-1; is this the best way to do it? Thanks On Tue, Apr 7, 2009 at 5:57 PM, for android forandr...@gmail.com wrote: How do I find the

[android-developers] Re: AudioFormat class's other option

2009-04-07 Thread Honest
On Apr 6, 7:10 pm, Honest honestsucc...@gmail.com wrote: I am porting one project which is using audio capability with open GL. Now my java code is using AudioFormat class which has purpose to do Encoding Technique and it has property which specify the exact arrangement of the data like

[android-developers] Re: Help...Exception in the Background Thread :Can't create handler inside thread that has not called Looper.prepare()

2009-04-07 Thread Ask
Is there any handler needed for that?? Any Idea??? On Apr 7, 3:58 pm, Ask asifk1...@gmail.com wrote: Hi, I am using Reflection APIs in the background thread to call a method dynamically from another application but I am getting the Exception: java.lang.RuntimeException: Can't create

[android-developers] Re: Help...Exception in the Background Thread :Can't create handler inside thread that has not called Looper.prepare()

2009-04-07 Thread Streets Of Boston
It could be that during the construction of class test.check.Test1, a Handler or something similar (i.e. something needing the main-thread's message-queue) is constructed. Look at your test.check.Test1 implementation and see if this is the case. If this is the case, you will get an exception if

[android-developers] It has been SDK 1.1r....

2009-04-07 Thread CnmJbm
It has been SDK 1.1r already, but why does Android/Eclipse IDE still launch the emulator or launch my application to emulator VERY UNRELIABLY? ALMOST 2 OF 3 launches fail !! Either the android green robot just keeps flashing, or the emulator only launches to Home screen and stops, without

[android-developers] Re: How to completely Destroy application

2009-04-07 Thread Streets Of Boston
This is not the right solution, although it may work. It looks like your process can not be destroyed completely because there are still some running threads active. This is bad news. When your app's 'onDestroy' is called, make sure to properly stop these threads. Or at least let the operating

[android-developers] Re: OpenGL: Difference on Emulator versus actual G1 phone for method glDrawTexiOES

2009-04-07 Thread Streets Of Boston
bumpedy bump :) On Apr 5, 3:34 pm, Streets Of Boston flyingdutc...@gmail.com wrote: Hi, I have a problem drawing a background for my OpenGL app on the emulator. It all works well on an actual G1, but i'm worried that if the emulator has a problem, other android phones may have the same

[android-developers] Re: It has been SDK 1.1r....

2009-04-07 Thread for android
you can use the reset adb when launch fails...I also run on the same config...i find no errors On Tue, Apr 7, 2009 at 7:32 PM, CnmJbm cnm...@gmail.com wrote: It has been SDK 1.1r already, but why does Android/Eclipse IDE still launch the emulator or launch my application to emulator VERY

[android-developers] Re: It has been SDK 1.1r....

2009-04-07 Thread Mark Murphy
I am running XP with 1.2GHz CPU and 4GB memory. 1.2GHz? Seriously? I've tried running the emulator on an Eee 901 (1.6GHz Atom CPU, 1GB RAM) on XP, and the emulator starts up but very slowly. I only intended to use it for demonstration purposes and wouldn't dream of trying to do development on

[android-developers] Re: Send Email Automatically

2009-04-07 Thread Noam
Would you know where I could find one of those? Thanks, Noam. --~--~-~--~~~---~--~~ 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

[android-developers] Apps labeled as Tetris Clones removed from Android Market

2009-04-07 Thread tasos.klei...@gmail.com
On Saturday April 4th, I received a message from google saying that my game Robotic Space Rock was pulled from the android market after a request made by a legal firm representing an entity known as Tetris Company. My application was removed from the android market together with Blocks, Cubik,

[android-developers] Re: Send Email Automatically

2009-04-07 Thread Noam
Would these three links help me in any way? Maybe I can use IMAP instead of SMTP (I don't know the differences)? And how can I use each class? http://www.java2s.com/Code/Jar/wsit/Downloadmail14jar.htm http://www.java2s.com/Code/Jar/Web-Services-AXIS2/Downloadactivation11jar.htm

[android-developers] Re: Help...Exception in the Background Thread :Can't create handler inside thread that has not called Looper.prepare()

2009-04-07 Thread Ask
Hi Streets, I dont think this is the case. Same code executes nicely If I call that method in the onCreate() method (i.e. main thread itself) problem occurs in the Object creation if I will call this method readTheFile() in the Thread. Can you give any info. regarding how I can define Looper

[android-developers] Re: Apps labeled as Tetris Clones removed from Android Market

2009-04-07 Thread Ivan Soto
I think Tetris game mechanics are copyrighted. So maybe that's the main issue. I haven't tried your game but if it's a tetris clone, you can always expect to be pulled out from any market. Ivan Soto Fernandez Web Developer http://ivansotof.com On Tue, Apr 7, 2009 at 8:43 AM,

[android-developers] Interface advice.

2009-04-07 Thread Ivan Soto
Hi, I'm developing an application that uses a context menu a lot. I haven't find a way to put icons on the context menu, like when you taphold on the home screen to change the wallpaper. How can I achieve a menu like that? I tried with Dialog.Theme but it's dark. Is that menu at the home screen

[android-developers] How do I point people to my app in the Android Marketplace?

2009-04-07 Thread frizzo
Ok, so I understand that Android Marketplace is not available on the internet, just from the phone. I would, however, like to point people to my application if possible. If the person receives their emails on the G1, what type of link can I give so that clicking on it will take them to the app

[android-developers] Re: Apps labeled as Tetris Clones removed from Android Market

2009-04-07 Thread Tasos.Kleisas
Ideas cannot be copyrighted, only patented. But the Tetris Company does not have a patent. And game concepts are not patentable. Take a look at http://desiree47.wordpress.com/ and http://abednarz.net/wp/34/ They claim a look and feel copyright claim, but the game art, sounds and music have

[android-developers] Re: Apps labeled as Tetris Clones removed from Android Market

2009-04-07 Thread Al Sutton
Implementations can be copyrighted which is where there claim comes from. Having seen the demo video of your game I can see why they would appear to have a reasonable basis for their case. You'd added some fancy features, but the basic game play is the same right down to the block shapes. My

[android-developers] Re: Help...Exception in the Background Thread :Can't create handler inside thread that has not called Looper.prepare()

2009-04-07 Thread Mariano Kamp
I don't want to sound like a smart ass, but did you try what the error message said? Called Looper.prepare()? I know I had a similar situation some time ago and it worked for me. Besides the dreaded BufferedReader exception I find the exceptions I get from the framework very helpful. On Tue,

[android-developers] Re: Some questions about GLThread in ApiDemos

2009-04-07 Thread samurai00...@gmail.com
Thanks for your answers. I have a new doubt. Why does the synchronized block in guardedRun finish() before the GL rendering? I think some 'dangerous' scenarios could happen. For example: 1. 'GLThread' thread runs up to 'if (changed)' statement, with changed == 'true'; then 'GLThread' leaves

[android-developers] Re: How to completely Destroy application

2009-04-07 Thread Marco Nelissen
You should start by taking a look at the system log to see what the actual problem is. There will probably be a helpful stack trace in there. On Tue, Apr 7, 2009 at 4:01 AM, manohar manohar...@gmail.com wrote: Hi all, I am unable to completely destory my app. My app is thread based app.

[android-developers] Re: Help...Exception in the Background Thread :Can't create handler inside thread that has not called Looper.prepare()

2009-04-07 Thread Streets Of Boston
But do you want a Looper and Handler in your thread 't'? Why do you load it in another thread? Are you planning in dispatching and handling messages in this thread 't'? If not, don't start adding all this stuff just to make the run-time happy. Put a breakpoint in your default constructor of

[android-developers] Re: How do I point people to my app in the Android Marketplace?

2009-04-07 Thread Ivan Soto
market://search?q=pname:com.company.application Not sure if this works in mail or websites. I haven't tried. Ivan Soto Fernandez Web Developer http://ivansotof.com On Tue, Apr 7, 2009 at 9:22 AM, frizzo rg...@vbrad.com wrote: Ok, so I understand that Android Marketplace is not available on

[android-developers] Re: How to print errno in native code in android

2009-04-07 Thread Meryl Silverburgh
On Tue, Apr 7, 2009 at 1:01 AM, David Turner di...@android.com wrote: On Tue, Apr 7, 2009 at 2:15 AM, Meryl Silverburgh silverburgh.me...@gmail.com wrote: Hi, I am trying to use LOGE function to display the value of errno. LOGE(errno: %d\n, errno); But what I get errno: 1 But '1' is

[android-developers] SSL session resumption - How to modify default behavior ?

2009-04-07 Thread Derek
Hi, I would like to modify the SSL session resumption behavior implemented in default JSSE that comes with Android. Default behavior is to reuse SSL session based on hostname + port pair. In Android source code, it's in ClientSessionContext.java class in org.apache.harmony.xnet.provider.jsse

[android-developers] Restoring the active Activity while resuming the application

2009-04-07 Thread Omer Saatcioglu
Hello all, I have two activities running: MainActivity and ChildActivity. Whenever the user clicks in the button in MainActivity, the ChildActivity is launched. What I want to do is this: When the active activity is the ChildActivity and the user clicks the home button then relaunch the

[android-developers] Paid app support for countries outside US and UK

2009-04-07 Thread karthikr
Hi All, Can somebody please tell me as to when there will be support for developers outside US and UK to release paid apps? Im frim India and I want to know when I will be able to release paid apps? Is there any contact mail ID whom I can ask regarding these details? Regards, R.Karthik

[android-developers] Re: Help...Exception in the Background Thread :Can't create handler inside thread that has not called Looper.prepare()

2009-04-07 Thread Dianne Hackborn
Also you need to look at the exception stack trace. It will show you who is trying to create a Handler. On Tue, Apr 7, 2009 at 9:44 AM, Streets Of Boston flyingdutc...@gmail.comwrote: But do you want a Looper and Handler in your thread 't'? Why do you load it in another thread? Are you

[android-developers] Re: Restoring the active Activity while resuming the application

2009-04-07 Thread Marco Nelissen
On Tue, Apr 7, 2009 at 10:04 AM, Omer Saatcioglu osaatcio...@gmail.com wrote: Hello all, I have two activities running: MainActivity and ChildActivity. Whenever the user clicks in the button in MainActivity, the ChildActivity is launched. What I want to do is this: When the active

[android-developers] Re: Paid app support for countries outside US and UK

2009-04-07 Thread Al Sutton
If someone knows the answer they will tell you. You do not need to keep reposting it. If you receive no response it means that no-one either can or will give you an answer. Al. --- * Written an Android App? - List it at http://andappstore.com/ * == Funky Android Limited is registered in

[android-developers] Getting the ID of a ListView row item from a button click

2009-04-07 Thread e-satis
Hello, Each row of my view look like that : LinearLayout xmlns:android=http://schemas.android.com/apk/res/ android android:id=@+id/row_layout LinearLayout android:id=@+id/row_checkbox_container CheckBox android:id=@+id/row_checkbox / /LinearLayout LinearLayout

[android-developers] OOM errors during inflation

2009-04-07 Thread Ward Willats
I got a dump and jhat working -- thanks for the tip fadden. But I still don't see any monster allocations or leaks. This trace just came in: 04-07 10:06:56.341 D/ActivityBase( 820): setContentView(v) aft memory: T:5767 - F:1167 (KB) ...(do some work, but certainly don't do any any monster

[android-developers] Null pointer exception while using setOnClickListener

2009-04-07 Thread e-satis
Hi, My java code look like this : // right_arrow button ImageButton arrow_button = (ImageButton)findViewById (R.id.arrow); arrow_button.setOnClickListener(new OnClickListener() { public void onClick(View v) {

[android-developers] Expert Android Developer Required

2009-04-07 Thread Aard
My European client is seeking an expert Android Developer for an exciting and lucractive contract role. Please send me your CVs if you are interested or if you could point me in the right direction. www.aardvarkconsulting.co.uk/contact.html Thanks Sarah

[android-developers] Instrumentation's sendKeyDowUpSync()

2009-04-07 Thread Karthik
Hi I am not able to get this to work, due to the fact that I am unable to use the INJECT_EVENTS permission. In my manifest, I have set use- permissions for this permission and also set android:sharedUserId to android.uid.shared. How do I get this to work? Seems like if this feature (simulating

[android-developers] How to unsign and resign the apk file?

2009-04-07 Thread sumd
Hi, I'm using the simple test app - HelloActivity. I tried the following steps to unsign: 1. renamed the HelloTest.apk to HelloTest.zip and unzipped the contents to HelloTest. 2. Deleted files CERT.RSA, CERT.SF under META-INF 3. Deleted everything from the file MANIFEST.MF except the

[android-developers] Better way to protect priced app?

2009-04-07 Thread cn mm
Just did a little search on google with my paid app name, I found these: http://www.ipmart-forum.com/archive/index.php/t-337082.html http://droidappz.co.cc/index.php/board,21.0.html Someone bought the priced app from market with the rooted phone and copy the apk file, then post on the websites

[android-developers] Better way to protect apps?

2009-04-07 Thread Mike
Just did a little search on google with my paid app name, I found these: http://www.ipmart-forum.com/archive/index.php/t-337082.html http://droidappz.co.cc/index.php/board,21.0.html Someone bought the priced app from market with the rooted phone and copy the apk file, then post on the websites

[android-developers] G1 Email Font Size

2009-04-07 Thread glcalahan
Is there a App Developer that would take on the challenge of developing an App to increase the size of the font? It appears as tho Google's target market is only youthful eyes. I am a Mature user who reads often long work emails and I have to use a Mag glass. Please

[android-developers] awkward spinner OnItemSelectedListener behaviour

2009-04-07 Thread carson.k...@gmail.com
hey everybody i've noticed that when using a spinner's onItemSelectedListener, their methods will get invoked after initializing the spinner with a list of items. Is this correct behavior? Shouldn't this listener only be invoked after the user has explicitly used the spinner to select an item?

[android-developers] Looking for an expert Android developer

2009-04-07 Thread Sarah Symonds
Hi there, I've tried posting a couple of times but can't see my postings, My client is keen to employ an expert developer for an interesting and lucrative contract in Europe, could you help me with this search? Thanks Sarah --~--~-~--~~~---~--~~ You

[android-developers] Android Device Management

2009-04-07 Thread Tupnorth
What are the options for device management eg OMA-DM style of management on a fleet of handsets? I have a field service engineer application that was originally chalked up to go into WM6 but some delays and the a change in mobile phone provider have presented an interesting option in Android.

[android-developers] Better way to protect apps?

2009-04-07 Thread Mike
Just did a little search on google with my paid app name, I found these: http://www.ipmart-forum.com/archive/index.php/t-337082.html http://droidappz.co.cc/index.php/board,21.0.html Someone bought the priced app from market with the rooted phone and copy the apk file, then post on the websites

[android-developers] How to get Locale change event

2009-04-07 Thread ycwu
My application support multi-language and need to do something in background while user changing locale setting. Is there any event/notification to get as system language is changed ??? Any suggestion is appreciated Y.C Wu --~--~-~--~~~---~--~~ You received

[android-developers] option of setWallpaper()

2009-04-07 Thread wonae
Is there any method to set the option of changing wallpaper? I mean, options like Fit-to-screen, Tile or Center. I couldn't find the options in setWallpaper() function. Thanks in advance :D --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] Re: How to display soft keyboard unlock screen for keyguard in cupcake

2009-04-07 Thread Andreas
How do you go about making your application run in the KeyGuard context? It's my understanding that KeyGuard runs in the system process, have you integrated your customized screen into the platform? On 2 Apr, 03:20, HelenB bra...@yahoo.com wrote: Hi, I'm trying to write customized unlock

[android-developers] Failed to create email account on emulator.

2009-04-07 Thread Gavin
Hello, When I create email account, it prompts Unable to open connection to server. But the browser application can connect to server after I add proxy setting in settings.db. Is there other settings for email application? Thanks.

[android-developers] About RadioInfo.java

2009-04-07 Thread Vincent Chen
Dear Sir, I found RadioInfo.java in Android source code Is this a application in Setting? And how to use it? I can't find any icon. Vincent --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group.

[android-developers] Maintaining scroll position of a ListView

2009-04-07 Thread DavidG
In my app, my main class extends ListActivity and calls a fillData() function to reload the list whenever changes are made. I'm still getting the hang of this, so I borrowed that concept from the Android Notepadv1-Notepadv3 tutorials. Everything works great, however whenever I need to change the

[android-developers] Please can any one help

2009-04-07 Thread revandroid
I can't understand the LinearLayout attributes 1. android:baselineAligned 2.android:baselineAlignedChildIndex how they work and example on this...I saw Api Demos example..can any one explain clearly --~--~-~--~~~---~--~~ You received this message

[android-developers] Re: How to display soft keyboard unlock screen for keyguard in cupcake

2009-04-07 Thread Andreas
How do you go about making your application run in the KeyGuard context? It's my understanding that KeyGuard runs in the system process, have you integrated your customized screen into the platform? On 2 Apr, 03:20, HelenB bra...@yahoo.com wrote: Hi, I'm trying to write customized unlock

[android-developers] InputMethodService

2009-04-07 Thread Ahmed Azzouz
Dear All I'm having a problem with developing my own keyboard. this is because i cant find any documentation for the InputMethodService in the SDK. Can any one help and tell me where can i find any information about this topic please. Thanks

[android-developers] Re: Passing ArrayList across actvities

2009-04-07 Thread Gavin
I have the same codes with you. I don't know the type of MyList, but I think you should new it before use it. like this: ArrayListString aList = new ArrayListString(); aList.add(new String(hello1)); intent.putExtra(MyList, aList ); it can work. On Apr 7, 1:07 pm, a...@lg l.prade...@gmail.com

[android-developers] Re: Send Email Automatically

2009-04-07 Thread mikas
I was having problems with this code and eventually found out that newer version of android sdk will not allow you to use those external libraries on the other hand, keep on digging :) On Apr 7, 4:51 pm, Noam noam.ha...@gmail.com wrote: Would these three links help me in any way? Maybe

[android-developers] Re: Maintaining scroll position of a ListView

2009-04-07 Thread Romain Guy
ListView handles that already. The problem is that you are creating a new adapter every time you reload the data. That's not how you should use ListView and its adapter. Instead of setting a new adapter (which causes ListView to reset its state), simply update the content of the adapter already

[android-developers] MediaRecorder.VideoSource and MediaRecorder.VideoEncoder classes can't be resolved.

2009-04-07 Thread Anji
Hello fellow Android developers, I am developing sample Video Recorder for Android.Following is My code snippet. recorder=new MediaRecorder (); recorder.setVideoSource (MediaRecorder.VideoSource.CAMERA);

[android-developers] Re: option of setWallpaper()

2009-04-07 Thread Romain Guy
There's no such option. On Mon, Apr 6, 2009 at 7:34 PM, wonae mat...@hanmail.net wrote: Is there any method to set the option of changing wallpaper? I mean, options like Fit-to-screen, Tile or Center. I couldn't find the options in setWallpaper() function. Thanks in advance :D --

[android-developers] Market $$

2009-04-07 Thread appleman
How does google send you the money you make through your app? --~--~-~--~~~---~--~~ 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

[android-developers] Re: Exception locking surface - lockCanvas() returns a null?

2009-04-07 Thread mcmc
my finally is inside my while loop. but maybe i'm not doing it correctly... do I have to call unlockCanvasAndPost every time I call lockCanvas (even if it returns a null)? or do I only call unlockCanvasAndPost if the lockCanvas returns a non null canvas (which is my current implementation)? On

[android-developers] Re: Null pointer exception while using setOnClickListener

2009-04-07 Thread e-satis
Update : setContentView first and before all, checked :-) On 7 avr, 20:09, e-satis info.ksam...@googlemail.com wrote: Update : Reading other posts, I tried to trash the R.java file but it was not the cause. On 7 avr, 19:48, e-satis info.ksam...@googlemail.com wrote: Hi, My java code

[android-developers] Re: InputMethodService

2009-04-07 Thread Dianne Hackborn
There is not yet an SDK for cupcake. You can, however, get the current android source where there is sample code for writing a soft keyboard (called SoftKeyboard). On Tue, Apr 7, 2009 at 3:30 AM, Ahmed Azzouz ahmeda.azz...@gmail.comwrote: Dear All I'm having a problem with

[android-developers] [SOLVED] Null pointer exception while using setOnClickListener

2009-04-07 Thread e-satis
My row layout is in a separate XML. It appears that findViewById only can find an inflated view. To solve that, I think I will need to create a custom ListAdapter that will bind an event to each button while inflating each view. If you see any better way, let me know. Cheers On 7 avr, 20:14,

[android-developers] Re: OOM errors during inflation

2009-04-07 Thread Dianne Hackborn
You probably have large bitmaps or a lot of bitmaps, whose allocation I believe does not show up in hat. (Note that I am pretty sure the error message you are seeing is in fact due to a failing bitmap allocation.) On Tue, Apr 7, 2009 at 10:40 AM, Ward Willats goo...@wardco.com wrote: I got a

[android-developers] Re: How do i do a startActivity() in BroadcastReceiver ?

2009-04-07 Thread Marco Nelissen
On Tue, Apr 7, 2009 at 11:55 AM, Prem Thilagar prem...@gmail.com wrote: Hi all  My use case is to launch one of settings app screen when I receive a certain event in idle state. For which, I added my new intent to PhoneAppBroadcastReceiver() in PhoneApp.java (looks like this receiver

[android-developers] Selling Android-Games based on Google Maps

2009-04-07 Thread DogenX
Hi, I want to develop an Android-Game, which is going to make use of Google Maps. Can I actually sell that game or has it to be free of any charge? I have read the Terms and Conditions of the Google Maps API and that is the reason why I am not sure if I can actually sell my game. My game is

[android-developers] Re: How to unsign and resign the apk file?

2009-04-07 Thread strazzere
I'd assume there is some sort of checksum value in the androidmanifest.xml -- since that method of resigning the application should work fine, though it isn't recommended. On Apr 6, 2:20 pm, sumd jvin...@gmail.com wrote: Hi,  I'm using the simple test app - HelloActivity.  I tried the

[android-developers] Re: Better way to protect apps?

2009-04-07 Thread Al Sutton
There is always http://andappstore.com/AndroidPhoneApplications/licensing.jsp :) Al. --- * Written an Android App? - List it at http://andappstore.com/ * == Funky Android Limited is registered in England Wales with the company number 6741909. The registered head office is Kemp House,

  1   2   >