[android-developers] Re: Camera Error 100 on Nexus One, not on G1.

2010-04-28 Thread Streets Of Boston
Try to call the startPreview no earlier than the onResume. Maybe calling it in the onCreate is too soon. The SurfaceHolder may not yet be fully 'functional' (this is all guess-work on my part, but you could try :-)). On Apr 28, 9:54 am, Pavol Ban zum...@gmail.com wrote: That's the order i have

[android-developers] Re: Cannot Play Audio Files In The RAW Folder

2010-04-28 Thread arberb
There a.ogg file is there inside the raw folder. I dont know whats wrong with it. I have checked several times. On Apr 28, 7:44 am, Nithin nithin.war...@gmail.com wrote: The error is, Resources $NotFoundException: File res/raw/a.ogg from drawable resource ID #0x7f04 check whether you

Re: [android-developers] How to fill remained available space if i want to put a button to bottom?

2010-04-28 Thread TreKing
On Tue, Apr 27, 2010 at 8:54 AM, Lorand takacs.lor...@gmail.com wrote: How can i do this? Use the weight or layoutWeight property on the ScrollView (can't remember which it is, look it up). -

[android-developers] Highlighting Text Color using Html.fromHtml()?

2010-04-28 Thread javame_android
Hi, I am developing an application in which there will be a search screen where user can search for specific keywords and that keyword should be highlighted. I have found Html.fromHtml method. But I will like to know whether its the proper way of doing it or not. Please let me know your views

[android-developers] Delete Current Call Log Entry

2010-04-28 Thread mike
hi guys, i have a application which capture the incoming/ outgoing calls. so i want to delete those imcoming/ outgoing call entries from CallLog. i have tried to do it but everytime it deletes the others but not the current call Log. this is my method public void clearCallLog() {

[android-developers] Notification icon from a different package

2010-04-28 Thread Menny
Hi, I want to show a notification icon in my application, but to take the icon from a different package. My application loads resources from external packages, and ,may show some information in the notification bar. I can take the title and text from the external package, but the icon can be

[android-developers] Re: hello android app doesn't run properly

2010-04-28 Thread Bob Kerns
He probably just didn't wait for the Emulator to boot, but sat there puzzled for a few seconds, then killed it, and so the same thing happened the next time as well, etc. That happened to me the first time. On Apr 28, 7:44 am, TreKing treking...@gmail.com wrote: On Tue, Apr 27, 2010 at 12:39 PM,

[android-developers] Re: Camera Error 100 on Nexus One, not on G1.

2010-04-28 Thread Pavol Ban
Geez.. i figured it out. The problem was my onTouchListener. In logCat i noticed that the log.d print saying Autofocusing was called 4 times, so i put the whole onTouch listener in an if statement looking something like this: if(event.getAction() == MotionEvent.ACTION_UP){} since apparently

[android-developers] Re: Finally, I published my Android/GAE based MMO War Game

2010-04-28 Thread jasont
The game itself is quite good, it is very disappointing they have resorted to spamming the Market and cheating the system On Apr 26, 11:12 pm, cyxb cyxb.andr...@gmail.com wrote: I just came across this on the Market support forum.  Looks like the developers are rewarding users that spam the

[android-developers] Re: Issue with MediaPLayer

2010-04-28 Thread Bob Kerns
Setting the audio stream to be STREAM_RING makes no sense. Why would you want to use the volume control for the ringer for your media, rather than the one for the media??? That's just going to confuse your users big-time. Instead, you may want to do

[android-developers] Re: Highlighting Text Color using Html.fromHtml()?

2010-04-28 Thread skink
On Apr 28, 1:03 pm, javame_android su...@softwebsolutions.com wrote: Hi, I am developing an application in which there will be a search screen where user can search for specific keywords and that keyword should be highlighted. I have found Html.fromHtml method. But I will like to know

Re: [android-developers] Re: the problem about click item in listview

2010-04-28 Thread Reiny Song
well, I think I find the solution~ when I use the Button instead of the ImageButton, the items in ListView could be selected by clicking. But I still have no idea about the reason. 2010/4/26 Reiny Song reiny.s...@gmail.com Dear Jose, Hello, thank you for your recommand Actually, there

[android-developers] Re: I cannot find a complete list of locales.

2010-04-28 Thread Bob Kerns
Those constants are there just as a convenience. You can create your own. I have no idea how Sun came up with that particular list of convenient locales. This is how Locale.JAPAN is defined. Just follow this pattern to define your own: public static final Locale JAPAN =

[android-developers] Re: Different screen sizes x different layouts

2010-04-28 Thread Gabriel Simões
If I´m allowed to make another question ... Any ideas on how I could handle the different screen height/width proportions (for example, the WVGA´s proportion is bigger than the HVGA ´s so a layout based on relativeLayout build up considering a HVGA device will leave a lot of empty space in the

Re: [android-developers] How to overlay a GLSurfaceview on a surfaceview?

2010-04-28 Thread Max Gilead
On 27 April 2010 09:16, Paolo brand...@gmail.com wrote: is there anyone who knows how to overlay a GLSurfaceview on a Surfaceview? The Surfaceview is used for the camera preview. You can put camera preview image on a textured quad and render it in the background (reset camera to ortho view,

[android-developers] Retrieve Screen Size through XML

2010-04-28 Thread Waj
Hello Developers, I have EditText whose sizes have to be proportional(say 30% of screen size) to the device screen size...I'm new to XML...can you please tell me how to retrieve it. Thanks and Regards, Arjun S Bharadwaj -- You received this message because you are subscribed to the Google

Re: [android-developers] Re: Different screen sizes x different layouts

2010-04-28 Thread Mark Murphy
Gabriel Simões wrote: If I´m allowed to make another question ... Any ideas on how I could handle the different screen height/width proportions (for example, the WVGA´s proportion is bigger than the HVGA ´s so a layout based on relativeLayout build up considering a HVGA device will leave a

Re: [android-developers] Re: Finally, I published my Android/GAE based MMO War Game

2010-04-28 Thread Ralf Schneider
The referall system together with users spamming other apps seems to work very well. If google is ok with it - How long until other developers will follow? 2010/4/28 jasont tomlinson...@gmail.com The game itself is quite good, it is very disappointing they have resorted to spamming the Market

[android-developers] Re: Camera Error 100 on Nexus One, not on G1.

2010-04-28 Thread wurp
In your original code you have: previewLayer.mCamera.stopPreview(); Camera.Parameters params = previewLayer.mCamera.getParameters(); params.setPictureSize(1200, 1600); previewLayer.mCamera.setParameters(params); Log.d(TAKING PICTURE, here); camera.takePicture(null, null, callback); Which looks

[android-developers] Re: The emulator running terrible slow in win2008r2 64bit with 4G RAM

2010-04-28 Thread Bob Kerns
Check the task manager, and see how much CPU your emulator is getting, and how much is being used overall. If the CPU is pegged, and it's the emulator, either something is going wrong in your Android environment on the emulator (maybe your app), or your CPU is running at slow speed for some

[android-developers] Re: How to query the user list of my application?

2010-04-28 Thread jasont
I'd suggest using Google Analytics, great asset for mobile. On Apr 28, 6:36 am, Mark Murphy mmur...@commonsware.com wrote: Alger, Lin wrote: I find a web site (http://www.appbrain.com/), it can tell me which users download my application, and their device type. However it list 10 users at

[android-developers] Re: The emulator running terrible slow in win2008r2 64bit with 4G RAM

2010-04-28 Thread String
On a laptop particularly, check to make sure that you don't have a power-saving profile in effect which underclocks your CPU. I've found that slows my emulators down something awful. String On Apr 28, 5:32 pm, Bob Kerns r...@acm.org wrote: Check the task manager, and see how much CPU your

[android-developers] Re: Alarms/Wake Locks/Sound notification question

2010-04-28 Thread code_android_festival_way
Thank you very much for your answers. I will try all of your devices. Regarding the following: I dont know why you have multiple notifications when you can have all in one.. I'd like to stop each notification on its own. So starting them together would not give me the choice to stop vibrate or

[android-developers] Re: Typing English Text Results in Chinese Characters

2010-04-28 Thread Bob Kerns
What you're seeing is called henkan, which I'd translate as conversion. It's the usual way to input Japanese, though there are many others. Back in the 1980's, I had a kanji tablet with over 1000 characters on my desk, to be located and selected one-by-one. Henkan is a better technique. Japanese

Re: [android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-28 Thread TreKing
On Wed, Apr 28, 2010 at 5:57 AM, Teo teomina...@gmail.com wrote: @TreKing Well, some countries aren't exactly 'the promised land' where you can just announce you're selling something and someone will jump at the opportunity. It's called eBay. But what i'm doing isn't the matter here..

Re: [android-developers] onCreate and orientation change

2010-04-28 Thread TreKing
On Wed, Apr 28, 2010 at 12:39 AM, NicoToc nicolas.mayn...@gmail.com wrote: I've read some comments on onConfigurationChanged() but is there a better way to be sure I'm checking the GPS only when the activity is first created? The bundle passed to you in onCreate will be null when the

[android-developers] 'Feedback Experiment' in Developer Console

2010-04-28 Thread Tim
I visited the developer console a few minutes ago and it has a new 'feedback experiment' feature. Unfortunately it didn't work ('Server Error') and is now gone. Anyone have any more info? I really hope this is detailed usage analysis (e.g. average installed time for each phone type, etc.), rather

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-28 Thread Tim
On Apr 28, 6:08 pm, TreKing treking...@gmail.com wrote: How does one unsubscribe from one thread and one thread only? AFAIK you can't. Pretty big limitation of Google Groups I think. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: Drawing a differnt lines in OpenGL ES

2010-04-28 Thread Robert Green
There is a GL_LINES drawing mode but that's nothing you can control the way you're describing. It's mostly intended for wireframe drawing. I recommend geometry generation or texturing to get the effect you want. On Apr 28, 9:14 am, satish bhoyar getsatonl...@gmail.com wrote: Hi all guys, how

Re: [android-developers] Re: Drawing a differnt lines in OpenGL ES

2010-04-28 Thread Stephen Eilert
I recommend learning more about what OpenGL is about and how the rendering pipeline works. --Stephen programmer, n: A red eyed, mumbling mammal capable of conversing with inanimate monsters. On Wed, Apr 28, 2010 at 2:22 PM, Robert Green rbgrn@gmail.com wrote: There is a GL_LINES

Re: [android-developers] How to custom option menu to arrange three menu items where 2 menu items are displayed at the top and the third below it.

2010-04-28 Thread TreKing
Please don't double post. You already asked this here: http://groups.google.com/group/android-developers/browse_thread/thread/594080762f3520a2/dc569a74318131bf http://groups.google.com/group/android-developers/browse_thread/thread/594080762f3520a2/dc569a74318131bfand were told this is not

[android-developers] Re: Adding static background to kube

2010-04-28 Thread Robert Green
1) Load your bitmap into a power-of-two texture larger or roughly the same size as it. 512x512 works or 256x512 if you don't mind losing a bit of resolution. I won't post the code for that here. It's ugly and there's plenty of examples. 2) Generate a quad's worth of geometry (it's simple,

[android-developers] Re: Finally, I published my Android/GAE based MMO War Game

2010-04-28 Thread Robert Green
Oh wow. I had no idea they were actively telling people to spam their game on our games. Here are some alleged quotes from the developer's chat with some android users: Pocket Play is the publisher of this game: [4/18/2010 9:05:40 PM] Pocket Play: Could use some help advertising our game on

[android-developers] Re: Switching video files dynamically

2010-04-28 Thread Abhi
anyone has any idea? On Apr 27, 10:00 am, Abhi abhishek.r.sha...@gmail.com wrote: HI I am trying to switch between two video files dynamically, but as soon as I set the path for the second video file during playback of the first, the app either hangs or force closes. This is what I am doing

Re: [android-developers] Question: Environment.getExternalStorageDirectory() on HTC Incredible. What is the return value?

2010-04-28 Thread Mark Murphy
Streets Of Boston wrote: Question for Google engineers: I hope you'll settle for little ol' me. Since the HTC Incredible does not come with an SD-card, what is the return value of this call: Environment.getExternalStorageDirectory() /sdcard This has been confirmed, courtesy of Scott

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-28 Thread Lorents
What is worst? People outside US complaining about not getting a phone or americans (who all ready got their phones) complaining about people complaining :) Patiently waiting here in Norway... -- You received this message because you are subscribed to the Google Groups Android Developers group.

Re: [android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-28 Thread Lim Sim
@lorents funny. On Apr 28, 2010 6:58 PM, Lorents iva...@gmail.com wrote: What is worst? People outside US complaining about not getting a phone or americans (who all ready got their phones) complaining about people complaining :) Patiently waiting here in Norway... -- You received this

[android-developers] Re: Finally, I published my Android/GAE based MMO War Game

2010-04-28 Thread Robert Green
Just got another spam comment on one of my games, this time for a game called World War Also getting several pocket empires spam comments on my games. Not cool. On Apr 28, 12:46 pm, Robert Green rbgrn@gmail.com wrote: Oh wow.  I had no idea they were actively telling people to spam their

Re: [android-developers] Re: code for capturing screenshot of android device

2010-04-28 Thread Max Gilead
Sudheendra, this is what I dug out from the depths of my SVN repo :) I told you it was simple, didn't I? :) If you don't have a current view you can get it using getWindow().getDecorView(). HTH, Max private static void screenshot(View view) { view.setDrawingCacheEnabled(true);

Re: [android-developers] Re: Finally, I published my Android/GAE based MMO War Game

2010-04-28 Thread Dan Sherman
We've been receiving the same. (tons of PE spam in each of our apps/games) - Dan On Wed, Apr 28, 2010 at 2:09 PM, Robert Green rbgrn@gmail.com wrote: Just got another spam comment on one of my games, this time for a game called World War Also getting several pocket empires spam comments

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-28 Thread Richard
Okay, I've just got another email from our friend Neel at Google. I asked if they had been delayed / forgotten, and even if they were being held back for FroYo (i know, long shot) This is what he said Richard, We have verified that there is no problem with any shipment. We

[android-developers] Banned from android-developers

2010-04-28 Thread hunterp
Hello, I consider myself to be an upstanding member of the android developer community. I have 3 popular apps. But I found myself banned from the android developer group today after posting a legitimately challenging question. Could you please restore my access. Thank you, Hunter. -- You

Re: [android-developers] Re: Finally, I published my Android/GAE based MMO War Game

2010-04-28 Thread Ralf Schneider
I just checked World War. This game uses a referral system, too. The generated codes look similar as the referral codes from PE. Wrold War has over 25 downloads as PE. Unfortunately I think there is no easy solution to the problem for google. Is a referral system really violating the TOS of

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-28 Thread gambiting
Well yes, it is - but I soo hope it is true(the emphasis is put here on the word hope). Still waiting patiently in Poland. On 28 Kwi, 20:26, Richard rtaylor...@googlemail.com wrote: Okay, I've just got another email from our friend Neel at Google. I asked if they had been delayed /

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-28 Thread Amir Alagic
Great news. COuld you ask him when are they going to add paid apps for Sweden and other european countries ? On Apr 28, 8:26 pm, Richard rtaylor...@googlemail.com wrote: Okay, I've just got another email from our friend Neel at Google. I asked if they had been delayed / forgotten, and even if

[android-developers] Re: onCreate and orientation change

2010-04-28 Thread Amir Alagic
Hi, Add this android:configChanges=keyboardHidden|orientation|keyboard to activity element in AndroidManifest.xml file. I hope that this is what you want. On Apr 28, 7:39 am, NicoToc nicolas.mayn...@gmail.com wrote: Hi, I have an activity that checks stuffs online when it's created (is the

Re: [android-developers] Need Help--- Regarding Creating Database and Tables

2010-04-28 Thread Liviu Ungureanu
Hi! I'm happy to see this solution helped you. For question 1: before even the app is launched I'm not sure if this is possible. To get access to a database you need an context: you can get context just from activities, services...You can try to do something like this: When your application

[android-developers] ExpandableListView 5-way navigation

2010-04-28 Thread ls02
I have ExpandableListView with custom adapter in custom view hosted by Activity class. By some reason default 5-way navigation does not work for my expandable list. Only up and down keys selection works, no center button group expand/collapse or long center button press invoking context menu. Any

[android-developers] Re: Alarms/Wake Locks/Sound notification question

2010-04-28 Thread code_android_festival_way
So well I have tested that out once more. I have tried different wake lock levels up to the full wake lock. It doesn't make any difference. As a last test I have set up a simple notification with: ... notification.defaults = Notification.DEFAULT_ALL; nm.notify(123,notification); ... This one

[android-developers] WebView not loading properly in 2.1

2010-04-28 Thread burton miller
I have had some customer complaints that one of our webviews is not loading on 2.1 devices. I don't have a device with 2.1 loaded, but have built for 2.1, and tested on the emulator. We're getting the 'web page won't load' message. I've had 4 bug reports from the field - 3 were Droid/Eris, and

Re: [android-developers] Re: Alarms/Wake Locks/Sound notification question

2010-04-28 Thread Mark Murphy
code_android_festival_way wrote: Perhaps someone got another device running Android 2.x and would like to test that one out. Is your test code published somewhere? -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android Training in US: 14-18 June 2010:

Re: [android-developers] WebView not loading properly in 2.1

2010-04-28 Thread Mark Murphy
burton miller wrote: I have had some customer complaints that one of our webviews is not loading on 2.1 devices. I don't have a device with 2.1 loaded, but have built for 2.1, and tested on the emulator. We're getting the 'web page won't load' message. What 'web page won't load' message?

[android-developers] Audio in the RAW Folder is not able to play....

2010-04-28 Thread arberb
At the moment im working on an application which uses audio files and the issue is when ever my audio file gets called it gives me this error: 20:51:12.061916 ERROR AndroidRuntime Uncaught handler: thread main exiting due to uncaught exception 20:51:12.092916 ERROR

[android-developers] Re: Banned from android-developers

2010-04-28 Thread Bob Kerns
What exactly makes you think you're banned? You posted earlier today -- I replied to you. You posted now. It does not seem that you are banned! On Apr 28, 11:30 am, hunterp hunt...@gmail.com wrote: Hello, I consider myself to be an upstanding member of the android developer community. I

[android-developers] Re: Banned from android-developers

2010-04-28 Thread String
This happened to me last fall; the explanation was that a spammer had spoofed my address, so Google shut it down. Contact the group administrator and they'll restore it. String On Apr 28, 7:30 pm, hunterp hunt...@gmail.com wrote: Hello, I consider myself to be an upstanding member of the

[android-developers] Re: WebView not loading properly in 2.1

2010-04-28 Thread burton miller
It's a little hard to tell 'exactly' what the user is seeing - because we can't reproduce this - and users rarely give good bug reports. And the Eris people are using a leaked 2.1 builds, while the Droid/ Milestone user was using an official build. We weren't all that worried about he leaked

[android-developers] Re: Finally, I published my Android/GAE based MMO War Game

2010-04-28 Thread Mike
Google Android Market TOS Section 3.4 states: 3.4 You agree that you will not engage in any activity that interferes with or disrupts the Market (or the servers and networks which are connected to the Market). You agree that you will not use any of the Products found on the Market in a way that

[android-developers] Re: Finally, I published my Android/GAE based MMO War Game

2010-04-28 Thread Mike
Also, section 3.8 of the Android Market Terms of Service covers unfair competition law. Encouraging 5 star comments on your app in exchange for benefits to your users is clearly a method of spreading false information for competitive advantage. 3.8 You agree that Google and/or third parties own

Re: [android-developers] Re: WebView not loading properly in 2.1

2010-04-28 Thread Mark Murphy
burton miller wrote: It's a little hard to tell 'exactly' what the user is seeing - because we can't reproduce this - and users rarely give good bug reports. Are you using Flurry, DroidDrop, or anything to try to catch exceptions and give you the logs back? -- Mark Murphy (a Commons Guy)

[android-developers] Re: Alarms/Wake Locks/Sound notification question

2010-04-28 Thread nikhil
Are you atleast able to play a sound file when you are in stand by mode? On Apr 28, 2:24 pm, code_android_festival_way festival.s...@googlemail.com wrote: So well I have tested that out once more. I have tried different wake lock levels up to the full wake lock. It doesn't make any

[android-developers] Re: WebView not loading properly in 2.1

2010-04-28 Thread burton miller
No. One of my many projects is to hack a system together to do just that - on my list - glad to use an existing library! Which do you recommend? On Apr 28, 1:29 pm, Mark Murphy mmur...@commonsware.com wrote: burton miller wrote: It's a little hard to tell 'exactly' what the user is seeing -

Re: [android-developers] Re: WebView not loading properly in 2.1

2010-04-28 Thread Mark Murphy
burton miller wrote: No. One of my many projects is to hack a system together to do just that - on my list - glad to use an existing library! Which do you recommend? I used Flurry on one project, but it was on a consulting basis, so I didn't get much chance to see the control panel side

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-28 Thread String
On Apr 28, 7:26 pm, Richard rtaylor...@googlemail.com wrote: have been resolved. You should be receiving your phone within the next 2 weeks. I love how the answer is always 2 weeks. How long have they been saying that? Not to say that it's just an arbitrary figure. o_O String -- You

[android-developers] Scrollview doesn't like a complex child?

2010-04-28 Thread Pinheiro
Hi! I've made a complex layout that has the following structure: ScrollView RelativeLayout RelativeLayout an image and several textviews /RelativeLayout several textviews /RelativeLayout /ScrollView Since

Re: [android-developers] Scrollview doesn't like a complex child?

2010-04-28 Thread Romain Guy
You are doing something wrong :) On Wed, Apr 28, 2010 at 2:00 PM, Pinheiro rui.c.pinhe...@gmail.com wrote: Hi! I've made a complex layout that has the following structure: ScrollView        RelativeLayout                RelativeLayout                        an image and several textviews

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-28 Thread JDS
I got a new reply from google today when I asked them if they could tell us where the phones are. According to google ALL the EU phones are in Frankfurt and are delivered from Brightpoint by Fedex. They also said As of today, they report no current problems with the shipping process. Google has

[android-developers] Prescale Background Example / Speeding up WebViews

2010-04-28 Thread Rich
I've created a custom ViewGroup (based off of the Launcher) that allows paging scrolls between some WebViews. Problem is that it doesn't scroll as smoothly as I want it to. I've been following Romain Guy's 2008 advice, but I don't see any massive improvements. Is it because I am using WebViews, or

Re: [android-developers] WebView not loading properly in 2.1

2010-04-28 Thread TreKing
On Wed, Apr 28, 2010 at 2:26 PM, burton miller burton.mil...@gmail.comwrote: If anyone wants to take a look, the package name for one of the problem apps on the market is: com.noticesoftware.BearGoogglesOn Tried it on Nexus One. It flickers a lot, like the web view is trying to adjust the

Re: [android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-28 Thread Lim Sim
Well...that's something. So hopefully in a few days we'll get the phones. :) On 28 April 2010 22:02, JDS jesper.d.svens...@gmail.com wrote: I got a new reply from google today when I asked them if they could tell us where the phones are. According to google ALL the EU phones are in

[android-developers] Re: Retrieve Screen Size through XML

2010-04-28 Thread Paweł Zięba
Try to use android:layout_weight in xml -- Paweł Zięba dziobas.blogspot.com On 28 Kwi, 18:16, Waj arjun.s@gmail.com wrote: Hello Developers, I have EditText whose sizes have to be proportional(say 30% of screen size) to the device screen size...I'm new to XML...can you please tell me

[android-developers] Re: Scrollview doesn't like a complex child?

2010-04-28 Thread Pinheiro
Opsie, it seems the problem is that the scrollview is inside a framelayout because I have navigation buttons at the bottom of the screen. Non-scrollable, of course. Seems like this is too complex for the SDK. Will have to figure out an alternative. -- You received this message because you are

[android-developers] progress bar in a tabhost

2010-04-28 Thread Alain
I would like to show a progress dialog or bar in the main activity of a tabhost based app, while the tabs are loaded. I have tried: public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); //

[android-developers] Re: Question: Environment.getExternalStorageDirectory() on HTC Incredible. What is the return value?

2010-04-28 Thread Streets Of Boston
I'll settle for the good ol'you :) Thank you Mark! That clears up a lot. On Apr 28, 1:54 pm, Mark Murphy mmur...@commonsware.com wrote: Streets Of Boston wrote: Question for Google engineers: I hope you'll settle for little ol' me. Since the HTC Incredible does not come with an SD-card,

Re: [android-developers] Frustrated with CheckBox/CheckedListView in listview

2010-04-28 Thread Jeru Liu
Thanks buddy, but it still doesn't work in my case, now i will attach more informatin below. My Adapter class public class ProfileAdapter extends SimpleAdapter { Activity mContext; CheckBox cb; ProfileDAO mProfileDao; int mId; int mPosition; public

Re: [android-developers] Frustrated with CheckBox/CheckedListView in listview

2010-04-28 Thread Jeru Liu
sorry i forgot to mention that even i set the position to checkbox tag, the log always output the position of the last element in the onCheckedChanged On Thu, Apr 29, 2010 at 6:36 AM, Jeru Liu jeru@gmail.com wrote: Thanks buddy, but it still doesn't work in my case, now i will attach more

Re: [android-developers] Re: Scrollview doesn't like a complex child?

2010-04-28 Thread Romain Guy
This is perfectly feasible with the SDK. On Wed, Apr 28, 2010 at 2:40 PM, Pinheiro rui.c.pinhe...@gmail.com wrote: Opsie, it seems the problem is that the scrollview is inside a framelayout because I have navigation buttons at the bottom of the screen. Non-scrollable, of course. Seems like

[android-developers] Arbitrary MMS Attachments in EXTRA_STREAM

2010-04-28 Thread Rich
Hello! Are arbitrary MMS attachments allowed? I've found some old posts saying that only image attachments are allowed, and my code (intent.putExtra(Intent.EXTRA_STREAM, Uri.parse(file://+epath));) seems not to work. Theoretically, MMS should allow any data type, right? So how am I supposed to

[android-developers] Re: Decimal only keypad

2010-04-28 Thread Siva G
The reason why I am looking for is, in some phones like sony erricson ones, the keypad does not have a dot at all. In those cases how would this work? Using android:digits is just used to restrict the digits entered. In this case, the keypad of input type phone in those phones does not even have a

Re: [android-developers] [OpenGL] change coodinate system

2010-04-28 Thread Juan Aranda-Alvarez
Oh, I forgot. See 9.150 http://www.opengl.org/resources/faq/technical/transformations.htm On Tue, Apr 27, 2010 at 8:24 AM, Paolo brand...@gmail.com wrote: Is it possibile to change the corrdinate system of openGL? Now i have the origin in the botton-left corner, with the x-axis points to

[android-developers] Activity dispatchKeyEvent sometimes loses UP

2010-04-28 Thread MWF
I'm watching for ACTION_DOWN/ACTION_UP for KEYCODE_VOLUME_UP and KEYCODE_VOLUME_DOWN and using these for purposes other than volume. There are really 3 questions here. 1) In some rare cases, I will see the button down but no associated button up. There should be no reason for a focus change.

[android-developers] Hi All

2010-04-28 Thread Sergey
I create new contact with new API (ContentProviderOperation) see samples from SDK: ArrayListContentProviderOperation ops = new ArrayListContentProviderOperation(); ops.add(ContentProviderOperation.newInsert(ContactsContract.RawContacts.CONTENT_URI)

[android-developers] How to detect Bluetooth headset key press

2010-04-28 Thread Doug
Hi All, I'm new to Bluetooth programming and I was wondering if I had a Bluetooth headset that was paired to an Android phone. What's the best way to detect that a button was pressed? Are there modifiers to tell which kind of button it was (e.g. volume up/down, main button) or what kind of

[android-developers] How to use Java classes in an Android project

2010-04-28 Thread Yasin YILDIRIM
Hello to everyone; Since i'm still new on Android programming, I have some problems on some issues. I have a QuadTree data structure implementation in 3 seperated Java files and i would like to use this data structure in my application. But i don't know how to use this .java files in an Android

[android-developers] Multithreading and progress dialog with remote service

2010-04-28 Thread mort
I like to do some long running initializing work in a remote service, and during that, a progress dialog shall be shown. So basicly, I invoke ProgressDialog.show, run a oneway method of the service with a callback to be invoked when it's finished, and in the callback dismiss the dialog. I

[android-developers] stock api

2010-04-28 Thread puneet dhami
hi, i am making application in android just like the google finance . my first step is to show the market index summary, i have search the api list . but i could not get any api related to it. can u please help me in this regard . i do not want to use any java script . i need basicaly liks this

[android-developers] Re: Drag down Menu?

2010-04-28 Thread GuNboss, G.PaK
I think SlidingDrawer is what you are looking for. check the API for sure __ GuNboss, G.PaK On Apr 28, 6:21 am, TreKing treking...@gmail.com wrote: On Tue, Apr 27, 2010 at 3:22 PM, Tommy droi...@gmail.com wrote: Any examples or tutorials would be awesome! How about the source code to the

[android-developers] Contact added is shown as type Google Contact instead of Phone contact

2010-04-28 Thread raghava
Hi, I am new to Android Development. I prepared an app to add contacts to Native Phone book using the below code: contentResolver = this.getContentResolver(); ContentValues nameValues = new ContentValues(); nameValues.put(Contacts.People.NAME, Test Name1); Uri newContactUri =

[android-developers] Can't upload my .apk to the market - minSdkVersion error every time.

2010-04-28 Thread Savgrr
Hi all, I am desperately looking for help with this! I've found many other forums on the subject but none of the suggestions ever help! I wrote a basic soundboard app, and it runs fine there's nothing wrong with it. I want to upload it to the Market, but every time I try I get an error message:

[android-developers] Getting entity/body from an http post request

2010-04-28 Thread Andres
hi all, My android app scan avaible wifi access points and generate a xml file with that. Then i send it trough a http post message to a servlet, which gets the message body with de xml content y insert its content to a DB. My problem is that I cant get the http post body in the servlet. I get

[android-developers] Smarter widget updates

2010-04-28 Thread Kostya Vasilyev
Hi, I have a widget that displays detailed WiFi state (SSID, signal, etc). It registers in the manifest to receive various android.net.wifi.* notifications. So far so good. However, these notifications are not sent if the home screen is side- scrolled, or phone is locked. This is good - Android

[android-developers] Re: custom seekbar

2010-04-28 Thread student
hi Dilli Rao Thanks a lot where to get the hexadecimal code for secondary progress help me soon -- 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

Re: [android-developers] [OpenGL] change coodinate system

2010-04-28 Thread Juan Aranda-Alvarez
OpenGL works in 3D space, so if you would like another orientation you could rotate the scene moving the POV (camera) position. But there is no way to move from a right-hand coordinate system to a Left-side one. On Tue, Apr 27, 2010 at 8:24 AM, Paolo brand...@gmail.com wrote: Is it possibile to

[android-developers] Re: Android browser - how to disable the green click animation

2010-04-28 Thread Paul Stanway
Hi, Thanks for the reply much appreciated but I am not sure if this will help, I could be wrong but below is an example of the green click selection area. If you have an android browser visit the following site and try playing the game every so often when you click a big green selection square

[android-developers] how can application notice that a hotplug device is connected to the system?

2010-04-28 Thread LOSTHOWDEAD
hi,all,I got a problem,developping android application,could someone do me a favor? how can application notice that a hotplug device is connected to the system? if os kernel will send a message to application ? or application need to read such a message in somewhere ? what is that message ?

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-28 Thread mort
As far as the lack of communication is concerned - is anyone really surprised by this? This is Google. Ignoring their customers is pretty much what they do (after Search, of course). That's a bit over the top, imho. Compared to other companies, Google's support in this group, on stackoverflow,

[android-developers] Problem in packagin .apk from flex application

2010-04-28 Thread anil
I am having a problem packaging flex application to .apk. I have created an flex application using flex 4 and Air 2 as said in the documents available at adobe site. The application is created successfully but I am getting error while packaging the application as .apk. here is the error snippet.

[android-developers] about get cid

2010-04-28 Thread xmmarmy007
hi all! Please tell me how to obtain cell id. -- ==天道酬勤== xiemingming mail: aimery@gmail.com msn: xmmarmy...@hotmail.com qq: 182378175 -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-28 Thread amiuhle
On 27 Apr., 22:25, Olivier Bonal olivier.bo...@gmail.com wrote: The only way to get a free phone from Apple is to go and get a drink with Gray Powell. Haha, great one! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Re: How to get ListView behavior inside a ScrollView?

2010-04-28 Thread eehouse
That would work but wouldn't be a good user interface. There can only be from one to four players. Their names and ordering matter and should be visible on the main game config screen. There must be a way to do this right. Just a matter of figuring out how. --Eric On Apr 27, 10:14 am,

[android-developers] Set Image in background

2010-04-28 Thread JV29
I am developping a live Wallpaper on android 2.1 I want to set in background a bitmap that i download on a server. I use canvas with the method setBitmap(Bitmap bitmap); but it don't work. I also try to set it in an ImageView in a different class of my live Wallpaper but it also don't work. Have

<    1   2   3   >