[android-beginners] Re: EclipseIDE for Java Developers galileo install plug in problem

2009-10-07 Thread Cyberobot
Thanks for your prompt reply.. On 10月7日, 上午5时10分, Xavier Ducrohet x...@android.com wrote: The 2 problems are completely unrelated. Yes, the plug-ins are not signed. Just install them anyway. Sometimes, when you create a project, the java builder doesn't see the new gen folder. Either clean

[android-beginners] Re: Battery Usage Indicator API - JDK 1.6

2009-10-07 Thread SagarH
Mark!! Thanks a ton!! I found the souce code, built it and just saw the BatteryStatsService.java in which the comment reads All information we are collecting about things that can happen that impact * battery life. - exactly what I was looking for. Thanks once again. Now, my actual

[android-beginners] LayoutParams.ScreenBrightness problem

2009-10-07 Thread kaloer
Hi, In my last update, I can't change the screen brightness anymore. I have not changed the code snippet where the brightness is set. Can it be caused by Donut? Here's my code, placed in the onResume() method: if (alwaysBacklight) { WindowManager.LayoutParams lp =

[android-beginners] Re: How to remove/hide the notification bar?

2009-10-07 Thread Luis Estrada
Solution: http://www.androidsnippets.org/snippets/27/ On Oct 5, 2:57 pm, Luis Estrada luisestrada...@gmail.com wrote: How to remove/hide the notification bar? I am trying to run a GLSurfaceView in full screen but the notification bar is in the way. Thanks, Luis

[android-beginners] video live streaming and recording

2009-10-07 Thread raj.10788
Hi All, Is there any way to stream the video through rtsp at the same time parally I want to record the video using the media recorder. Is it possible for me to do that. Thanks RC --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-beginners] Re: LayoutParams.ScreenBrightness problem

2009-10-07 Thread kaloer
Update: I'm sure it is caused by Donut. It works on a 1.5 cupcake device. Is this a bug or can I fix it? Thank you, Kaloer On 7 Okt., 09:41, kaloer mkal...@gmail.com wrote: Hi, In my last update, I can't change the screen brightness anymore. I have not changed the code snippet where the

[android-beginners] Re: how to load the related Bitmap according to input

2009-10-07 Thread I82Much
I take it you're looking for something a little more scalable than the naive solution: switch (input) { case 1: return R.drawable.pic_1; . . . case n: return R.drawable.pic_n; } I see the problem; you need to append an arbitrary number to the end of a string, and

[android-beginners] Re: how to load the related Bitmap according to input

2009-10-07 Thread I82Much
I suppose you could also do something like int[] iconRefs = { R.drawable.pic_1, ... R.drawable.pic_n } if (input = 0 input n) { // Account for 0 based indexing return iconRefs[input - 1]; } This code gets the reference out (I might be wrong in how you reference it, maybe

[android-beginners] Re: Doubt

2009-10-07 Thread jbrohan
This is a really interesting app. How do you know if a parking spot is taken? I guess you could work with a photo from a high building and check from that, or the security cameras. In this case the photo itself, or a transformation of it would show the location of free spaces. Be sure to record

[android-beginners] Re: plz help with sdcard image file and push command not working!!

2009-10-07 Thread jbrohan
I'm a beginner too. I use ddms. Run the command window in Windows, then type ddms here. If you have the paths set up properly it will work, else you need to go to android sdk folder/tools and enter ddms. This program links with the debugger and provides real time readings of logcat and also

[android-beginners] Surface flinger - Hardware flipchain

2009-10-07 Thread surya Manyam
hi, I want to understand How surfaceflinger Updates the LCD driver is it through EGLSwapBuffers ??? If so is there any Hardware Abstraction provided by the Surfaceflinger to Use Hardware-FlipChains to actually swap the buffers. Please Let me know any inputs on the same thanks in adance surya

[android-beginners] how to give recipient number to send mms

2009-10-07 Thread Saikat
I am sending MMS with the existing mms client using this code - 1. Uri mmsUri = Uri.parse(content://media/external/images/media/ 1); 2. Intent intent = new Intent(Intent.ACTION_SEND); intent.putExtra (sms_body, Hi how are you); 3. intent.putExtra(Intent.EXTRA_STREAM, mmsUri); 4.

[android-beginners] Re: How to remove/hide the notification bar?

2009-10-07 Thread Mark Murphy
Solution: http://www.androidsnippets.org/snippets/27/ Be sure to scroll down on that page: using android:theme=@android:style/Theme.NoTitleBar.Fullscreen, as mentioned in a comment, is a better solution. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books:

[android-beginners] application in notificaiton bar

2009-10-07 Thread Saikat
Can I put my application in the top notification bar so that it can be accessed from any application? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to

[android-beginners] Re: application in notificaiton bar

2009-10-07 Thread Mark Murphy
Please do not cross-post! Post your message to ONE (1) list at a time. Can I put my application in the top notification bar so that it can be accessed from any application? Yes, but you better have a reason the USER cares about, not just what you want. For example, putting a Notification in

[android-beginners] Re: application in notificaiton bar

2009-10-07 Thread Jeffrey Blattman
You can create an ongoing / persistent notification. This can act as a pointer to your app. Music player and many other apps do this. On Oct 7, 2009 7:14 AM, Saikat saikat0...@gmail.com wrote: Can I put my application in the top notification bar so that it can be accessed from any application?

[android-beginners] Re: Android as a Universal Remote for CE/HA?

2009-10-07 Thread jed
guess not, no surprise there On Oct 7, 1:15 am, jed jedi.the...@gmail.com wrote: any thoughts on this anyone? cheers --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this

[android-beginners] Re: Doubt

2009-10-07 Thread Balwinder Kaur (T-Mobile USA)
or is it the classic OO Parking lot design problem that needs to be done in Android :) ? http://stackoverflow.com/questions/764933/amazon-interview-question-design-an-oo-parking-lot You will find plenty of solutions online if you search for it. If there is help you need with Android, please

[android-beginners] Re: how to load the related Bitmap according to input

2009-10-07 Thread Balwinder Kaur (T-Mobile USA)
int rid = getResources().getIdentifier(pic_ + input, drawable, your_package_name); Drawable d = getResources().getDrawable(rid); You may check out the file MBellishClipartSelector.java from http://codecamp.pbworks.com/EmbellishYourPictures-BuildanApplicationforanAndroidPhone-2009 Balwinder

[android-beginners] Re: GUI Modifier thread

2009-10-07 Thread Ivru
Okay, I understand my error. But now that I've modify my code with the process done by my doInBackground method and the draw done by the onProgressUpdate, I still don't have any change done on the gui. Debugging the application, it seems that the method onProgressUpdate is never called. Here is

[android-beginners] Re: GUI Modifier thread

2009-10-07 Thread Mark Murphy
Okay, I understand my error. But now that I've modify my code with the process done by my doInBackground method and the draw done by the onProgressUpdate, I still don't have any change done on the gui. Debugging the application, it seems that the method onProgressUpdate is never called.

[android-beginners] Skipping the long load time by having the emulator on all the time

2009-10-07 Thread Mika
Hello, I'm developing a game on the Android and the problem I'm running into is the fact that the actual emulator takes long time to boot. I have to wait roughly 45s to 75seconds to get into my program. And when actually doing lot of recompiling I'm wasting too much time for that. So what can

[android-beginners] Re: Development of an app for the Archos Internet Tablet

2009-10-07 Thread chrisp
I am having the exact same problem, I have tried calling the Archos technical support but after a 30 min wait they hung up on me. I found this post in google code but not sure how to run it, I have tried from pconnect and it didn't error but didn't do anything. type the following command on the

[android-beginners] onCreateContextMenu() not called in Notepad tutorial

2009-10-07 Thread GD
Hi all I am a beginner and I am trying the Notepad tutorial ( exercise 2 to be precise). In this onCreateContextMenu() is used to show delete menu. But when I select a note and press Menu , onCreateContextMenu() is not called; instead onCreateOptionsMenu() is called. The tutorial suggests

[android-beginners] Multiple SDK version HOWTO?

2009-10-07 Thread Eno
I need to be able to target 1.1 and 1.5/6 versions of the SDK for projects. What the best practice for running multiple versions of the SDK? Can I have them all in the same Eclipse install? Or should I use separate installs of Eclipse? -- --~--~-~--~~~---~--~~

[android-beginners] Adding Undo feature in FingerPaint app bundled with APIdemos.

2009-10-07 Thread Samuh Varta
I am playing with the FingerPaint application that comes bundled with the API demos package. I was wondering if I could add an Undo feature to it, which would allow the user to remove/undo his latest stroke drawing from the canvas. I am not sure of how to achieve this though. I was looking at

[android-beginners] Re: Skipping the long load time by having the emulator on all the time

2009-10-07 Thread Romain Guy
Just don't quit the emulator :)) On Wed, Oct 7, 2009 at 4:41 AM, Mika mts...@googlemail.com wrote: Hello, I'm developing a game on the Android and the problem I'm running into is the fact that the actual emulator takes long time to boot. I have to wait roughly 45s to 75seconds to get into

[android-beginners] Re: Adding Undo feature in FingerPaint app bundled with APIdemos.

2009-10-07 Thread Romain Guy
save() and restore() are just used to save the state of the Canvas (translate, scale, etc.) It won't help you for what you want. On Wed, Oct 7, 2009 at 12:26 AM, Samuh Varta samuh.va...@gmail.com wrote: I am playing with the FingerPaint application that comes bundled with the API demos

[android-beginners] Re: Multiple SDK version HOWTO?

2009-10-07 Thread Justin Anderson
As far as I am aware the only way to do that is to either specify the minimum SDK version as 1.1 and only use features from that SDK (it should still run on 1.5 and 1.6) or to have separate apps with different packages, etc... Thanks, Justin

[android-beginners] Re: onCreateContextMenu() not called in Notepad tutorial

2009-10-07 Thread Justin Anderson
onCreateContextMenu() is called when you long-press (roughly 2 seconds) on the note itself... The menu button is not supposed to be used to display menus that change based on the current context... it is for menus that do not depend on a selection, like Settings, Help, etc... Hope this helps,

[android-beginners] Re: Development of an app for the Archos Internet Tablet

2009-10-07 Thread Paul Fine
For what it's worth (which isn't much), I got a response from Archos Tech Support: Paul, The engineers have told me there isn't a way to put the unit into a debug mode. If you want to develop apps, you should check the link below. http://code.google.com/android/ Thank you, Tim S

[android-beginners] Re: Skipping the long load time by having the emulator on all the time

2009-10-07 Thread Wayne Wenthin
Yeah like Romain says. If you don't quit you will just have the APK replaced and run when you hit debug. On Wed, Oct 7, 2009 at 9:33 AM, Romain Guy romain...@google.com wrote: Just don't quit the emulator :)) On Wed, Oct 7, 2009 at 4:41 AM, Mika mts...@googlemail.com wrote: Hello,

[android-beginners] Re: Doubt

2009-10-07 Thread Yusuf Saib (T-Mobile USA)
I can't resist these kind of questions. Some day when I'm a superhero and my nemesis fails to lure me into his arctic lair with offers of riches or maidens, he will ensnare me with a challenge to code a solution to a puzzle. 0. Represent the parking lot as a grid. Each node is either part of a

[android-beginners] Re: Is there a Java API Spec for Android

2009-10-07 Thread jotobjects
Thanks for filling in some gaps. Harmony is Java SE 5 JDK compliant and includes awt, swing, and all the rest that isn't part of the Android SDK. So the Android Java API looks like a new Java-lite branch unless there is ongoing syncing with Harmony updates.

[android-beginners] Re: Skipping the long load time by having the emulator on all the time

2009-10-07 Thread Mika
That was way too obvious, thank you guys :) it worked like a wonder. I wonder why I didn't realise that earlier. Thank you guys. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this

[android-beginners] Re: Passing messages from BroadcastReceiver to Activity

2009-10-07 Thread Sparky
Thanks Justin! I have spent like an hour looking for this simple but trivial information. Every source is talking about how to invoke intents and put extra info in it, but no one says how to actually use it in the invoked application. :-/ On Oct 6, 8:31 am, Justin Anderson

[android-beginners] Re: GUI Modifier thread

2009-10-07 Thread Ivru
Thanks for the explanation. I've changed my code to use correctly the asynctask and understood my errors. It's working well but as you said, asynctask are not made to run infinitely. I'll change my code to use this postDelayed() method (romain guy also told about this one on IRC). Thanks a lot

[android-beginners] Re: speech / voice recognition problem (HTC Hero / Emulator)

2009-10-07 Thread gmseed
Hi I'm having the same problem with my HTC Hero phone. Did you manage to solve the problem? It would help if there was actually some documentation on the voice recognition demo! Just a few comments in the .java file and that's it. Thanks Graham On Aug 13, 2:41 pm, Ivan Viola

[android-beginners] Obvious color banding

2009-10-07 Thread Jonathan
I'm using Paint.NET to create textures for my game (all 32-bit png's), and noticed that some textures appear to get extreme color banding on the G1. What really confused me in the beginning was that the color banding wasn't consistent - in fact most of the textures looked fine - so at first I

[android-beginners] 1.6: Quick search box to pass parameters to an application

2009-10-07 Thread Danny Brain
Hey, I was wondering if it were possible to use the quick search box to pass parameters to an application? E.g. If I had a timesheet application called HagridIsHugeAndAnnoying, I'd want to be able to enter: hihaa 7hrs sleeping in the quick search box and an action of Create time entry ... would

[android-beginners] Re: Multiple SDK version HOWTO?

2009-10-07 Thread Xavier Ducrohet
Starting with Android 1.5 SDK, the SDK isn't tied to a specific version of Android anymore. Instead the SDK is a combo of the following components: - The tools (DDMS, adb, etc..) - The documentation - One, or more, platforms, ie you could have 1.1, 1.5, and 1.6 in your SDK (and any platforms we

[android-beginners] Re: plz help with sdcard image file and push command not working!!

2009-10-07 Thread wahib haq
thanks john. how to enter images in the gallery ??? On 10/7/09, jbrohan jbro...@gmail.com wrote: I'm a beginner too. I use ddms. Run the command window in Windows, then type ddms here. If you have the paths set up properly it will work, else you need to go to android sdk folder/tools and

[android-beginners] read phone's number?

2009-10-07 Thread Jeffrey Blattman
is there a way to read the phone's (current) phone number? i realize this would require a permission grant at least. thanks. -- --

[android-beginners] Re: plz help with sdcard image file and push command not working!!

2009-10-07 Thread Jeffrey Blattman
http://developer.android.com/guide/tutorials/views/hello-gallery.html On 10/7/09 5:03 PM, wahib haq wrote: thanks john. how to enter images in the gallery ??? On 10/7/09, jbrohan jbro...@gmail.com wrote: I'm a beginner too. I use ddms. Run the command window in Windows, then

[android-beginners] Re: Reading/Decoding bar code stored in resources

2009-10-07 Thread wahib haq
hi abhishek !! I am a newbie and my first initiative is also building a simple barcode decoding module. I dont have a android phone so i have to go on a different path to do this barcode app thing. :S can you plz guide me what to be on right side of BufferedImage myImage = ... ?? I am using

[android-beginners] Re: Reading/Decoding bar code stored in resources

2009-10-07 Thread wahib haq
hey i just tried decoding a QR code and it worked fine as well. you just need to import /zxing/qrcode.QRcode and then create it instanse like i did with MultiFormatReader. I also tried decoding a datamatrix image using its class DataMatrixReader but its not working. but i am happy up till now.

[android-beginners] plz help with camera application from my application

2009-10-07 Thread wahib
hi !! I am stuck with this . I just want to call the built-in camera app when i click a button in my app preview. plz share the source code if anyone has done it. Regards, wahib --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-beginners] Re: Passing messages from BroadcastReceiver to Activity

2009-10-07 Thread kapnkore
* public* *class* SmsReceiver *extends* BroadcastReceiver { //.. @Override *public* *void* onReceive(//...,...) { // Intent i = *new* Intent(contx, NoteEdit.*class*); i.putExtra(NotesDbAdapter.*KEY_ROWID*,

[android-beginners] Re: onCreateContextMenu() not called in Notepad tutorial

2009-10-07 Thread Gauri Deshpande
Thanks! that helped. I didn't find this crucial info in the tutorial or elsewhere. On Wed, Oct 7, 2009 at 10:07 PM, Justin Anderson janderson@gmail.comwrote: onCreateContextMenu() is called when you long-press (roughly 2 seconds) on the note itself... The menu button is not supposed to