[android-developers] Re: Override default icons of BaseExpandableListAdapter

2010-03-15 Thread Ali Chousein
TreKing, thank you for your messages so far. I won't give up for some more days and will try to make it work. If I find a way I'll share with the group as well, because as it seems many other people attempted doing what I try to do now and faced similar issues. -- You received this message

[android-developers] Re: General lag issues with real-time games

2010-03-15 Thread Bob Kerns
Now that you point it out, I suspect some people have a serious, basic misconception here. The world in stop-the-world GC is simply THAT VM INSTANCE. Which usually maps to that process, though it's theoretically possible to have non-Java threads that continue to run, so long as they don't touch

[android-developers] Re: How to use Java Runtime class in Android for starting another application from mine

2010-03-15 Thread Sudheendra
Hi i have gone through the Resource and wrote a code for launching Notepad through a launcher program . (Downloaded the Notepad code from google ) But i am getting and Error saying Process com.intent.launcher has stopped unexpectedly . My code goes like this Launcher.Java package

[android-developers] Re: How to use Java Runtime class in Android for starting another application from mine

2010-03-15 Thread Sudheendra
Also console in Eclipse is giving me this info [2010-03-15 12:32:00 - Exoda] -- [2010-03-15 12:32:00 - Exoda] Android Launch! [2010-03-15 12:32:00 - Exoda] adb is running normally. [2010-03-15 12:32:01 - Exoda] Performing com.intent.launcher.launcher activity launch

[android-developers] Need custom arc shape for seek bar

2010-03-15 Thread Tanay Shah
Hi, Is it possible to have an arc shaped seek bar in android ? Thanks, Tanay -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send

[android-developers] Re: 3G Wi-Fi at same time

2010-03-15 Thread Tanmay
Hey, Thanks for the reply. You reckon I should have a look at the routing table before making these changes or after? Yes, from the forums I have seen that Wi Fi is the preferred link. However, I am not sure whether it switches to 3G in case it cannot connect to the internet via the Wi-Fi network

[android-developers] Re: Saving/Restoring ListCustomClass

2010-03-15 Thread ko5tik
On Mar 15, 6:24 am, Kumar Bibek coomar@gmail.com wrote: But I couldn't think of s situation where you will need it. Shared preferences are not a way to store your data. Either use the database or a file(xml). It's possible though. As they are stored as XML, it's basically the same as

[android-developers] Re: Petition: Google, please improve the Android Market.

2010-03-15 Thread Chister Nordvik
Just wanted to add my vote to this also. I have submitted our app to: - Ovi Store - Windows Mobile Marketplace - iPhone App Store - Samsung App Store (WM) - Android Market And not to start a riot here, but all of the above has better functionality than the Android Market. Longer descriptions,

[android-developers] How to get MediaPlayer current volume

2010-03-15 Thread kavitha
Hi All, I am developing an application of music player in android. I need to show volume control in my application. I saw as per documentation,Media Player volume is 0-1. I saw one method as

[android-developers] Button in ListView

2010-03-15 Thread Anton Pirker
Hello List! I have a problem that some other people on this list (and other android sites) also have/had, but was unable to find a solution. I have a ListView with a custom view for the row which looks like this: RelativeLayout ToggleButton/ TextView/ /RelativeLayout Its basically a

[android-developers] EditText hides Text

2010-03-15 Thread Falko Richter
Did anyone else knows this issue? http://code.google.com/p/android/issues/detail?id=7160 and has had a similar problem with an EditText? The text is hidden on the bottom of the EditText and I do not see where this is coming from Falko -- You received this message because you are subscribed to

Re: [android-developers] showing media volume controller

2010-03-15 Thread murali raju
use seekbar widget and media player class, to control the the volume use setvolume() http://developer.android.com/reference/android/media/MediaPlayer.html On Mon, Mar 15, 2010 at 11:14 AM, kavitha kavith...@gmail.com wrote: Thanks for response Murali raju,,, Please tell how to create our

[android-developers] Re: Image Edition

2010-03-15 Thread ReyLith
Thank for you respond. I am already using intent for moving from one activity to another and I have declared it in the androidmanifest. The code that I am using is the following: public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);

Re: [android-developers] Button in ListView

2010-03-15 Thread NapoleonLiu
Hi I have the same problem , at last i do it like this I write two GestureListener, implement onSingleTapUp method. set both the button and other view's clickable to false and set them OnTouchListener(NOT onClickListener) with GestureListener. if you haven't used GestureListener, you can learn

[android-developers] Loading Screen not showing, instead blank screen coming

2010-03-15 Thread Nithin
Hi, In onCreate(), first I am drawing the loading screen, then calling a handler, which will create the database and inserting contents. But when executing, its not showing the loadingScreen. Its just showing the blank screen for few seconds and drawing the page directly after creating database.

Re: [android-developers] write/read log files in res folder

2010-03-15 Thread Sean Hodges
No. You can't write into your APK file. Write your log data to the SD card instead. On Sat, Mar 13, 2010 at 7:07 AM, aswani kumar tholeti ensisinf...@gmail.com wrote: Hi all, how to write/read log data into txt file in res folder Thanks in advance Aswan -- You received this message

Re: [android-developers] How to get MediaPlayer current volume

2010-03-15 Thread kavitha sunil
AudioManager audMgr = getSystemService(Context.AUDIO_SERVICE); int volume = audMgr.getStreamVolume(AudioManager.STREAM_MUSIC); Change the argument to getStreamVolume accordingly. On Mon, Mar 15, 2010 at 1:48 PM, kavitha kavith...@gmail.com wrote: Hi All, I am developing an application of

[android-developers] Re: Catch HTTP error code with WebView

2010-03-15 Thread Manuel Vela
Ok, the only solution I've found is to create an HTTPClient to create connection and do a Get petition. With this method I can get everything (header, status... etc) in the response and then give all datas to the Webview with webView.loadDataWithBaseUrl. Something like this: HttpClient httpclient

[android-developers] send dtmf

2010-03-15 Thread saru
Hey Can any one please tell me how to send dtmf in android.any code regarding it would be appreciated. -- 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

[android-developers] database corruption in web view on nexus one

2010-03-15 Thread Clifford
Hi, I am having issues with database corruption on the nexus one (running 2.1 update 1). I have multiple internal dbs and occasionally get database corruption when running on the nexus one. I had been assuming it was something I was doing wrong, however I've just had a crash just using the

Re: [android-developers] Re: 3G Wi-Fi at same time

2010-03-15 Thread Ricardo Silva
After the changes. Yes, Android switch to 3G if can not obtain a default gateway (from DHCP or statically configured) in the Wi-Fi network. And then will use 3G for Internet and Wi-Fi for the local addresses. Then, a easy way is to configure the WiFi interface with a static IP (like 192.168.0.1,

[android-developers] Not able to access camera-----plzzz help

2010-03-15 Thread prachi
Hii alll I hav a peice of code to draw a view on camera preview.It as follows:-- import android.app.Activity; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.hardware.Camera; import

Re: [android-developers] send dtmf

2010-03-15 Thread Mark Murphy
saru wrote: Hey Can any one please tell me how to send dtmf in android.any code regarding it would be appreciated. Try ToneGenerator: http://developer.android.com/reference/android/media/ToneGenerator.html -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy

Re: [android-developers] Not able to access camera-----plzzz help

2010-03-15 Thread Mark Murphy
prachi wrote: But is is showing me an exception--Permission denial cant use the camera. I have included the permissions in manifest file also Presumably, there is a problem still in the manifest file. Compare yours with this one:

[android-developers] Latest-prorams

2010-03-15 Thread ahmed aglaan
hello to every one this blog specialized in the latest programs for PC and laptop as it offers everything that is new in the programs please help me and write your opinion at chat box at top right of the blog http://latest-programs.blogspot.com Thank you for your interest -- You received

[android-developers] Re: Not able to access camera-----plzzz help

2010-03-15 Thread prachi
Hii Mark I have gone through the manifest file.Im also including the same set of permissions in my manifest fileee... Could there be some other reason else dan dis? On Mar 15, 2:55 pm, Mark Murphy mmur...@commonsware.com wrote: prachi wrote: But is is showing me an

[android-developers] Getting contacts when ids are known

2010-03-15 Thread Pankaj
Hi, I have a list of 'n' contact ids corresponding to which I need to obtain the contact details. One simple way to make n queries using the contact ids and retrieve those contacts. But this will be very time- consuming especially if n is large. I would like to know if there is any simpler way to

Re: [android-developers] Re: Not able to access camera-----plzzz help

2010-03-15 Thread Mark Murphy
prachi wrote: I have gone through the manifest file.Im also including the same set of permissions in my manifest fileee... Perhaps they are in the wrong place in the file. Could there be some other reason else dan dis? For that error? Not that I am aware of. -- Mark Murphy (a Commons

[android-developers] Re: Not able to access camera-----plzzz help

2010-03-15 Thread prachi
ok thanx mark On Mar 15, 3:22 pm, Mark Murphy mmur...@commonsware.com wrote: prachi wrote: I have gone through the manifest file.Im also including the same set of permissions in my manifest fileee... Perhaps they are in the wrong place in the file. Could there be some other reason else

[android-developers] Re: Not able to access camera-----plzzz help

2010-03-15 Thread prachi
i hav placed the permissions as mentioned in the manifest file by you bt dnt know where the code is crashing... Anywayzz thanx for ur help mark On Mar 15, 3:22 pm, Mark Murphy mmur...@commonsware.com wrote: prachi wrote: I have gone through the manifest file.Im also including the same set

[android-developers] mp3 player application with dB amplifier

2010-03-15 Thread Adrian Vintu
Hello all, I need a simple mp3 player - with the functionality of the default Android player - with one small addition. I need to be able to up the sound volume more than the VolumeUp button can do. I see you can do that in Winamp from the Equalizer window, by choosing Preamp. Why do i need

[android-developers] Camera inaccessible---plzz help

2010-03-15 Thread prachi
Hiii I jst wanna know that is it lyk that camera application does not work for platform 2.1 or something? -- 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: send dtmf

2010-03-15 Thread saru
Thanks Murphy for ur reply. I explored ToneGenerator class. Where i m seeing one function startTone(int toneType) This method starts the playback of a tone of the specified type. But i need a function like sendDtmf(). Please can you help again??? On Mar 15, 4:52 pm, Mark Murphy

[android-developers] strange exception when calling getBlob

2010-03-15 Thread Sandy
Hi all I'm using blob to store encoded byte data. It could be stored. But when I try to read it ,application throws android.database.sqlite.SQLiteException: unknown error: INTEGER data in getBlob_native. I just try to change other way to encode byte data and then put it in blob field , the

[android-developers] Re: setting an icon in the application.

2010-03-15 Thread NewDev
Hi, Thanks for the reply. Yes, I used the GridView and SetOnItemClickListener. Now am able to click on any icon and display the details on other screen. I have a second screen or activity, clicking on first icon it should open the second screen and clicking on second icon it should open the third

[android-developers] Re: setting an icon in the application.

2010-03-15 Thread NewDev
Sorry for the previous mail. I got it how to do it :-) Now I am able to achieve what I wanted it :-) Thanks again, On Mar 11, 10:08 pm, Makas Tzavellas makas.tzavel...@gmail.com wrote: Sounds like you want to use a GridView, create a custom adapter that returns an ImageView and set

Re: [android-developers] Re: send dtmf

2010-03-15 Thread Mark Murphy
saru wrote: Thanks Murphy for ur reply. I explored ToneGenerator class. Where i m seeing one function startTone(int toneType) This method starts the playback of a tone of the specified type. But i need a function like sendDtmf(). Please can you help again??? If you are looking to

[android-developers] Transparent text over desktop

2010-03-15 Thread Csenteri Barna
Hi Is there any example or sample how the transparent text over desktop is achieved by the devtools/Development settings/show running processes? I would like to write some text over the desktop like that one from a service if possible. The aplication will be for development purposes like the

[android-developers] Re: Contacts FAQ?

2010-03-15 Thread Berto
Could be intentional. If it is intentional, it's quite the oversight. Although, IIRC, it was coded up, but the code will never be reached. Can't remember for sure though. On Mar 11, 12:36 pm, Jens dunkingbikk...@gmail.com wrote: Bug or intentional? On 3 mar, 20:31, HCH hayeshau...@gmail.com

[android-developers] Re: General lag issues with real-time games

2010-03-15 Thread snctln
On Mar 14, 8:34 pm, Mark Murphy mmur...@commonsware.com wrote: -- On a Google Ion with Android 1.5: the background process running in use-the-CPU-mode would steal half the CPU time, about what you would expect for all app processes having equivalent priority. For the force-the-GC mode, at

Re: [android-developers] Re: General lag issues with real-time games

2010-03-15 Thread Mark Murphy
snctln wrote: So is it safe to say that on 1.5 systems GC from other processes affects performance for all processes? I know this graph is 3 months old http://android-developers.blogspot.com/2009/12/knowing-is-half-battle.html but phones are still being released with 1.5 (the motorola

Re: [android-developers] Re: General lag issues with real-time games

2010-03-15 Thread Dianne Hackborn
On Mon, Mar 15, 2010 at 12:01 AM, Bob Kerns r...@acm.org wrote: 2) GC tends to touch a lot of memory, which can trigger paging activity Actually I believe that a GC will cause little paging -- the memory that a GC touches is by definition dirty, so is never a candidate to be swapped out

[android-developers] Re: Which Android device is best, cheapest for 2.1?

2010-03-15 Thread MobDev
Well if you are guessing it might be a complete rewrite you might want to try the emulator first ? Just make your software and test it thorough the several emulator- configurations ? That might save you money (and time, you can get ahead right away) at the beginning and it might buy you a couple

[android-developers] Re: Multiple choice in alert dialog

2010-03-15 Thread FrankieCZ
After googling, I found the same problem reported here: http://code.google.com/p/android/issues/detail?id=2998 Unfortunately, even there is no response from other users or android developers. Nobody else is facing this problem? I would expect that multichoice option (with items loaded from the

[android-developers] Re: General lag issues with real-time games

2010-03-15 Thread snctln
On Mar 15, 9:14 am, Mark Murphy mmur...@commonsware.com wrote: snctln wrote: So is it safe to say that on 1.5 systems GC from other processes affects performance for all processes?  I know this graph is 3 months oldhttp://android-developers.blogspot.com/2009/12/knowing-is-half-battle...

Re: [android-developers] Re: setting an icon in the application.

2010-03-15 Thread murali raju
or a simple way would be use compound drawable of textview. On Mon, Mar 15, 2010 at 5:31 PM, NewDev kna...@gmail.com wrote: Sorry for the previous mail. I got it how to do it :-) Now I am able to achieve what I wanted it :-) Thanks again, On Mar 11, 10:08 pm, Makas Tzavellas

[android-developers] Uncaught exception thrown by finalizer (will be discarded)

2010-03-15 Thread creativepragmatic
Hello, The following function throws the exception Uncaught exception thrown by finalizer (will be discarded): Ljava/lang/IllegalStateException;: Finalizing cursor android.database.sqlite.sqlitecur...@437b64a8 on Stores that has not been deactivated or closed. private void generateList() {

[android-developers] Periodic VerifyError on Android 1.5 related to GeoPoint in signature

2010-03-15 Thread Tim
I developed the gig guide application Alice, but I have run into a problem I haven't been able to solve... A bunch of users with Android 1.5 are reporting Force Closes because of Verify Errors. I have a LocationHelper class which has GeoPoint in one of its method signatures. When I instantiate

[android-developers] Re: Audio Flickering - my code, my computer or android emulator?

2010-03-15 Thread ani
It is the problem with your driver which creates this chopping effect.It is not able to read the data properly and if you check your kernel messages there would be a buffer overrun message.This happens because Linux is not RTOS and audio is running in real time. What you are recording is noise

Re: [android-developers] Re: General lag issues with real-time games

2010-03-15 Thread Dianne Hackborn
On Mon, Mar 15, 2010 at 6:14 AM, Mark Murphy mmur...@commonsware.comwrote: snctln wrote: So is it safe to say that on 1.5 systems GC from other processes affects performance for all processes? I know this graph is 3 months old

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

2010-03-15 Thread f_heft
I just received my Nexus One via FedEx - thank you, Google! :) Btw: No special branding or anything on the phone itself , it's exactly like the one you can buy :) And I got mine from the Netherlands (I'm living in Germany) and it was shipped on March 12th (for those of you who are still waiting).

Re: [android-developers] Getting contacts when ids are known

2010-03-15 Thread Dmitri Plotnikov
Cursor c = query(Contacts.CONTENT_URI,...,_id IN (12,24,35),null,...) You will need to use a StringBuilder to construct the selection out of contact ids. Cheers, Dmitri On Mar 15, 2010 3:19 AM, Pankaj pankajiit...@gmail.com wrote: Hi, I have a list of 'n' contact ids corresponding to which I

[android-developers] In which case should i use content provider?

2010-03-15 Thread Vincent Tsao
hi there, how should i use content provider without share app data between other 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 unsubscribe from this group,

[android-developers] 3D Physics Engine For Android Demo

2010-03-15 Thread Kevin S.
I've completed my first Android application. It as 3D demo with a physics engine. It uses the phone's accelerometer so that you can shake the world by moving the phone around. There are options to adjust things like gravity, friction, and elasticity. The physics engine is a 100% Java

Re: [android-developers] Petition: Google, please improve the Android Market.

2010-03-15 Thread Greg Donald
On Sun, Mar 14, 2010 at 7:45 AM, Rob Irondad rob.iron...@gmail.com wrote: As of now it has been signed by almost 1000 people. #966 here. One thing, please add a mention about the lack of landscape oriented screenshots. I've yet to build anything portrait oriented, so every one of my

[android-developers] Re: 3D Physics Engine For Android Demo

2010-03-15 Thread Streets Of Boston
Works pretty well on my Nexus One. I get about 30 - 35 frames a second. On Mar 15, 10:25 am, Kevin S. dada...@gmail.com wrote:    I've completed my first Android application.   It as 3D demo with a physics engine.   It uses the phone's accelerometer so that you can shake the world by moving

Re: [android-developers] 3D Physics Engine For Android Demo

2010-03-15 Thread Marc Lester Tan
Works well on my Nexus One. Cool! On Mon, Mar 15, 2010 at 10:25 PM, Kevin S. dada...@gmail.com wrote: I've completed my first Android application. It as 3D demo with a physics engine. It uses the phone's accelerometer so that you can shake the world by moving the phone around. There

[android-developers] Re: 3D Physics Engine For Android Demo

2010-03-15 Thread Mario Zechner
Tried it on my Milestone. Pretty neat. The fps degrade to around 12-15 after some time (essentially when the big plate starts to touch the ground completely) probably due to there being a lot more contact points then. Also, the garbage collector is getting a fair amount of work to do every 5

[android-developers] Android Market Problem - cannot find my free app in the market

2010-03-15 Thread BlackLight
Hello. I've got several messages from my users that they cannot download my app. My app should be available in any market from sdk 1.5 and up, but it's not. Can someone help me with it? Why only part of users with sdk 1.6 can find my app? Should I add android:targetSdkVersion? ?xml version=1.0

[android-developers] Re: Android Market Problem - cannot find my free app in the market

2010-03-15 Thread Streets Of Boston
What's the name of your app (the name as it would appear on the Android Market)? On Mar 15, 10:51 am, BlackLight blacklight1...@gmail.com wrote: Hello. I've got several messages from my users that they cannot download my app. My app should be available in any market from sdk 1.5 and up, but

[android-developers] Re: Audio Flickering - my code, my computer or android emulator?

2010-03-15 Thread Gabriel Simões
Thanks for your answers ... Well, since the same source code works on your computer and not on mine, I think the chopping problem is on my emulator. My computer is not as good as yours but it´s a Turion X2 notebook with 2gb ram, so if on a computer like this the emulator is not able to record and

Re: [android-developers] Transparent text over desktop

2010-03-15 Thread Romain Guy
Hi, This is done by the system, regular applications cannot do this. On Mon, Mar 15, 2010 at 4:28 AM, Csenteri Barna br...@mini-box.com wrote: Hi Is there any example or sample how the transparent text over desktop is achieved by the devtools/Development settings/show running processes? I

[android-developers] Re: Audio Flickering - my code, my computer or android emulator?

2010-03-15 Thread Gabriel Simões
Thanks for your answers ... Well, since the same source code works on your computer and not on mine, I think the chopping problem is on my emulator. My computer is not as good as yours but it´s a Turion X2 notebook with 2gb ram, so if on a computer like this the emulator is not able to record and

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

2010-03-15 Thread Bradley Stacey
When did you receive your shipping email? On 15 March 2010 14:19, f_heft delphik...@gmail.com wrote: I just received my Nexus One via FedEx - thank you, Google! :) Btw: No special branding or anything on the phone itself , it's exactly like the one you can buy :) And I got mine from the

[android-developers] Re: ANDROID_ID always null on devices

2010-03-15 Thread Guillaume Perrot
Yeah but what about devices without WIFI ? On 3 fév, 16:26, Gregg Reno gregg.r...@gmail.com wrote: How about using the WIFI MAC address in cases where the ANDROID_ID is null?  I believe it should be unique for each device:         WifiManager manager = (WifiManager) getSystemService

Re: [android-developers] Re: What is exactly an ANDROID_ID ?

2010-03-15 Thread Guillaume Perrot
In my job, I have to use a unique device ID that is not the IMEI or any other info provided by the TelephonyManager (for some privacy reasons) so I would like to rely on ANDROID_ID. But people I work for don't trust the ANDROID_ID because they don't know exactly what it is and we don't have the

Re: [android-developers] Re: What is exactly an ANDROID_ID ?

2010-03-15 Thread Mark Murphy
Guillaume Perrot wrote: In my job, I have to use a unique device ID that is not the IMEI or any other info provided by the TelephonyManager (for some privacy reasons) so I would like to rely on ANDROID_ID. But people I work for don't trust the ANDROID_ID because they don't know exactly what

[android-developers] Re: Photoshop.com Mobile editor now available as an Intent

2010-03-15 Thread webmonkey
For your storePicture function it is better to run the MediaScanner to add an image file to the MediaStore, see http://developer.android.com/reference/android/media/MediaScannerConnection.html Just create a MediaScannerConnection, provide a MediaScannerConnectionClient, and scan the file. The

Re: [android-developers] Re: What is exactly an ANDROID_ID ?

2010-03-15 Thread Guillaume Perrot
I guess we'll have to use some hashing technique of many values like explained on another thread, but I don't like this solution... Thanks for the answer anyway. 2010/3/15 Mark Murphy mmur...@commonsware.com Guillaume Perrot wrote: In my job, I have to use a unique device ID that is not the

Re: [android-developers] Re: What is exactly an ANDROID_ID ?

2010-03-15 Thread Greg Donald
On Mon, Mar 15, 2010 at 10:48 AM, Mark Murphy mmur...@commonsware.com wrote: ANDROID_ID is fine for casual use, but it's not exactly the Rock of Gibraltar, if you know what I mean. I can't think of a scenario where I would ever need it casually. Either I need it or I don't. -- Greg Donald

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

2010-03-15 Thread Thomas Riley
Awesome! Enjoy! Time to go make some cool Android 2.x apps my friend! ;) Out of interest, did you receive a shipping email? Or just the confirmation email from google? Also, any idea who it was shipped from? ie, Brightstar? On Mar 15, 2:19 pm, f_heft delphik...@gmail.com wrote: I just received

[android-developers] Re: Photoshop.com Mobile editor now available as an Intent

2010-03-15 Thread webmonkey
There is also a bug in PS mobile, and one more reason why you should not assume anything about the resulting intent data. When you send a PNG file for editing, PS returns a file with the PNG extension but it is actually a JPEG. On Mar 15, 4:54 pm, webmonkey webmonke...@gmail.com wrote: For your

Re: [android-developers] Re: Photoshop.com Mobile editor now available as an Intent

2010-03-15 Thread Kevin Gaudin
Thanks for the tip, my storePicture() function was based on some code that I had read in the android camera app... and I wasn't really happy with it so I will sure modify this soon. Thanks again ! On Mon, Mar 15, 2010 at 4:54 PM, webmonkey webmonke...@gmail.com wrote: For your storePicture

[android-developers] Re: NoClassDefFoundError for gdata CalendarService class

2010-03-15 Thread Tom
Thanks everyone for all of your suggestions. I haven't been able to get the com.google.gdata classes to load properly in the emulator or my N1 phone. The stack trace indicates that the DVM cannot load classes in the com.google.gdata.client packages, despite the jars being included in the Eclipse

[android-developers] Create Softkeyboard dynamically

2010-03-15 Thread Kritzli
Hi, it's me again, with a new question. Is it possible to write an Softkeyboard without XML or is this the time i'll need it ? The idea is: I have an Arraylist with buttons which have a specific position in the layout, height, width, text etc. Those buttons should create my keyboard by

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

2010-03-15 Thread f_heft
Thanks, finally I can test my own apps on a new device :) But I can't tell if this is the Nexus I got because of my app in the market (I got a confirmation mail on March 6th) or because I was an ADC2 finalist (never got a confirmation mail but they already got my adress from ADC2 so I guess there

Re: [android-developers] Re: What is exactly an ANDROID_ID ?

2010-03-15 Thread Wayne Wenthin
If you use it while using items like android.os.Build.PRODUCT or something similar you should be able to create a unique ID. Of course with this is the assumption that no manufacturer will duplicate. On Mon, Mar 15, 2010 at 7:58 AM, Greg Donald gdon...@gmail.com wrote: On Mon, Mar 15, 2010 at

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

2010-03-15 Thread Thomas Riley
Awesome! I got my confirmation on 2nd March so with a bit of luck it cant be too far behind :) One quick question, what type of AC adapter was it provided with? US spec? On Mar 15, 4:14 pm, f_heft delphik...@gmail.com wrote: Thanks, finally I can test my own apps on a new device :) But I

[android-developers] Re: Failed to create a UDP Server on Android phone

2010-03-15 Thread Gozde
Well, I am also interested in any comments.. Thanks! On Mar 13, 12:37 pm, Larry lar...@gmail.com wrote: I have tried many tests on how to create a UDP server on android phone. - Devices I was testing: PC (has static public IP over Internet. has a UDP server running) GPhone (it is real

Re: [android-developers] Failed to create a UDP Server on Android phone

2010-03-15 Thread pankaj anand
You might need to allow permission in manifest file to enable ur code to create server socket. uses-permission android:name=android.permission.INTERNET/uses-permission I am not very sure but this thing worked in my case when i was trying to create a UDP socket. enjoy Pankaj anad On Sat, Mar

[android-developers] Re: Sending huge files with HttpsUrlConnection???

2010-03-15 Thread Kevin Huber
On Mar 12, 6:17 pm, AuxOne tyler.thack...@gmail.com wrote: I have some Android code that can send files to my webserver using an HttpsUrlConnection, but when it tries to send larger files I get an OutOfMemory exception when opening the OutputStream. Can anyone offer some assistance? I sent

[android-developers] GL11Ext.glCurrentPaletteMatrixOES problem

2010-03-15 Thread JimVonMoon
Hello! :-) I'll try to make this brief: public void draw(GL10 gl) { gl.glMatrixMode(GL11Ext.GL_MATRIX_PALETTE_OES); ((GL11Ext)gl).glCurrentPaletteMatrixOES(0); // I get java.lang.UnsupportedOperationException here. } I am using Android emulator under Windows XP and Eclipse. So my

[android-developers] Transparent option menu buttons

2010-03-15 Thread Samuel Allaby
Hi, is there a way to make the buttons within the option menu transparent? I'm using icons and no text for my buttons but I really don't want the nasty grey backgrounds as well, and the techniques often mentioned for making normal buttons transparent don't seem to be working... Any thoughts?

[android-developers] Re: Sending huge files with HttpsUrlConnection???

2010-03-15 Thread Kevin Huber
On Mar 12, 6:17 pm, AuxOne tyler.thack...@gmail.com wrote: I have some Android code that can send files to my webserver using an HttpsUrlConnection, but when it tries to send larger files I get an OutOfMemory exception when opening the OutputStream. Can anyone offer some assistance? I would

Re: [android-developers] Streaming video from Android handset - code examples anywhere?

2010-03-15 Thread pankaj anand
you should look at the sip phone sipdroid which is SIP phone for android. If you understand it well then you should be able to do it the same way with the video as well. On Tue, Feb 16, 2010 at 11:01 PM, jussi69 jussiniemin...@gmail.com wrote: Hi, I'm in the process of writing an

Re: [android-developers] More Map Troubles

2010-03-15 Thread David Williams
Follow this procedure and do what it say's about the KEY and what to add to the XML In fact, if you follow this exact it will work.. The problem is you have not done the key part http://mobiforge.com/developing/story/using-google-maps-android On Thu, Mar 11, 2010 at 1:39 PM, Jason Kahler

Re: [android-developers] More Map Troubles

2010-03-15 Thread David Williams
You have to do the procedure for the API key. You also have to have the permission in the XML On Thu, Mar 11, 2010 at 1:39 PM, Jason Kahler jason.kah...@gmail.comwrote: I have been trying to get a MapActivty to run properly in me app for a few days now. I have a class that extends

Re: [android-developers] Failed to create a UDP Server on Android phone

2010-03-15 Thread pankaj anand
You might need to allow permission in manifest file to enable ur code to create server socket. uses-permission android:name=android.permission.INTERNET/uses-permission I am not very sure but this thing worked in my case when i was trying to create a UDP socket. enjoy Pankaj anand On Sat, Mar

Re: [android-developers] Re: General lag issues with real-time games

2010-03-15 Thread mc06050145 Iram Khan
On Sun, Mar 14, 2010 at 5:28 PM, Lance Nanek lna...@gmail.com wrote: One thing to watch out for with MediaPlayer is that the format matters a lot. I've seen the G1 go from 60 FPS to 50 FPS just because I added MP4 music, then act fine once I converted it to highly compressed, mono OGG or

[android-developers] Getting the battery current and voltage values for the Android Phone

2010-03-15 Thread Chintan
I am trying to collect power usage statistics for the Android G1 Phone. I am interested in knowing the values of Voltage and Current, and then able to collect statistics as reported here http://dl.google.com/io/2009/pres/W_0300_CodingforLife-BatteryLifeThatIs.pdf I am able to get the value of

[android-developers] Android 2.1 Gallery - menu controls

2010-03-15 Thread Chefgon
I recently got a Nexus One, and it includes a very impressive photo gallery application. Of particular interest is its menu, which is quite a bit different and more intuitive than the one found elsewhere in the system. Clicking on More or Share will load lists in Windows-style pop-up menus

[android-developers] Take pictures without freezing the preview?

2010-03-15 Thread Gasal
Hi there Does anyone know whether it's possible to take high-resolution pictures without interrupting the camera preview? camera.takePicture(...) causes the preview to freeze briefly even if I immediately restart it in onPictureTaken(...)... Anyone any suggestions? Cheers Alexander -- You

[android-developers] Simple Multiplayer Example please

2010-03-15 Thread Tom
So I am new to developing with Android and would like some help/ examples/tutorials please Basically I have the exact same game on two android phones. I would like for phone 1 to pick a number and then send it to phone 2. Then the application on phone 2 would get that number, compare it to

[android-developers] onContextItemSelected does not respond

2010-03-15 Thread ccal
Hello, I am creating a context menu in separate class from the listview, because the contextmenu will be access by several listviews in different classes. Whenever I long-click the listview, contextmenu pops up, but nothing happens when the options were chosen. Tried to look at logcat message and

Re: [android-developers] Re: is there a way to get a view to the front?

2010-03-15 Thread mc06050145 Iram Khan
On Sun, Mar 14, 2010 at 5:38 PM, mot12 martin.hu...@gmail.com wrote: That's what I did. No luck. Anyhow, the xml layout way gives me more freedom. I now have to filters, one put on top of the background and one on top of the foreground. This way, when dimming the display, I can let the

[android-developers] Getting quick location fix in alarm service

2010-03-15 Thread Franklin
I was wondering about the following scenario: I have an application that periodically needs to do some stuff, and at first I found that starting it as an alarm service was a neat way conserving resources AND being sure that the service would execute. However, my service also needs to know the

[android-developers] Unresolvable references

2010-03-15 Thread mob1lejunkie
I need to create paused analog clock. Since I have never done any graphics/drawing before I am customizing Analogue widget defined in the core/java/android/widget. The problem is when I create the class in my project following are the unresolved references: mContext com.android.internal.R mRight

[android-developers] MediaPlayer playback is slow

2010-03-15 Thread Chris_V
Hi. I am writing a media record/player on my Android 2.1 Emulator. I have successfuly recorded an audio in the AMR format and can play it back too. However, the playback is slow. About 50% speed. I am wondering if this is an issue with the Emulator. I do not have a real device to test on. I

[android-developers] VLC on Android

2010-03-15 Thread Enéas Gesing
Hi, I'm newbie on Android development, but I have a complex task: support media in Windows Media formats and stream (WMV, WMA, MMS protocol, ASX ...). I think that port libVLC http://wiki.videolan.org/Libvlc (C++) to Android is the short way. Anybody already have tried to do this? Is it

Re: [android-developers] Re: NoClassDefFoundError for gdata CalendarService class

2010-03-15 Thread David Williams
They go under resource On Sat, Mar 13, 2010 at 6:21 PM, Tom orei...@mbari.org wrote: On Mar 13, 3:15 pm, Mark Murphy mmur...@commonsware.com wrote: Tom wrote: I'm writing an android 2.1 application that writes an entry to my Google calendar. The relevant part of my application code

  1   2   3   >