[android-beginners] HelloMapView Tutorial not working

2009-10-05 Thread DWischer
Hi, im trying to launch the HelloMapView tutorial from the Android Dev Guide. I copy-pasted the things from the tutorial, but i always get a ClassNotFound Exception. Heres the detail message: com.hellomapview.HelloMapView in loader dalvik.system.PathClassLoader com.hellomapview is my package

[android-beginners] Re: HelloMapView Tutorial not working

2009-10-05 Thread DWischer
I just tried to make it a lot more easier than the tutorial to find the error. This is my main class: package com.map.maptest; import com.google.android.maps.MapView; import android.app.Activity; import android.os.Bundle; public class MapAppTest extends Activity { private MapView mv

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

2009-10-05 Thread kapnkore
just add that extra bundle to intent start new activity with this extra.inthe activity just retrive the bundle you added to it. On Mon, Oct 5, 2009 at 5:12 AM, Anders Feder anders.feder...@gmail.comwrote: Hi, I'm developing an application with android.telephony.gsm that is supposed to

[android-beginners] Re: is it possible to receive incoming call automatically?

2009-10-05 Thread Nemat
Can you please tell me how can we do this? I have an idea to inject answer key when an incoming call arrives from a particular number.is it correct way? On Sep 25, 11:59 pm, Balwinder Kaur (T-Mobile USA) balwinder.k...@t- mobile.com wrote: Intercepting an incomingcallis not supported

[android-beginners] Re: Issue while encapsulating a TableLayout in a ScrollView.

2009-10-05 Thread Android Development
ok. i tweaked the layout in a different way and got it to work. thanks. On Sat, Oct 3, 2009 at 1:18 PM, Android Development indodr...@gmail.comwrote: Hello everyone, When i encapsulate a table layout in a scroll view, i am unable to see the vertical scroller on the screen (that the user will

[android-beginners] Re: conference call

2009-10-05 Thread Android Development
supplementary service implementation should be done at the server side. The conferencing server will do the media mixing/transcoding etc. The device (client) will only receive and play RTP streams. On Wed, Sep 30, 2009 at 12:36 AM, Yusuf Saib (T-Mobile USA) yusuf.s...@t-mobile.com wrote: No

[android-beginners] Re: Icon and text on button

2009-10-05 Thread erisa
Using setCompoundDrawablesWithIntrinsicBounds() worked perfectly. Thank you. But why did that work and not setCompoundDrawables()? Bruce --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To

[android-beginners] Re: Returning a value from TabActivity.

2009-10-05 Thread Moma
Bump. --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to

[android-beginners] Re: is it possible to receive incoming call automatically?

2009-10-05 Thread Sean Hodges
There is no correct way, at this point in time. Your approach may work (assuming the security model does not prohibit you), but it may also break when the next Android update is released. On Mon, Oct 5, 2009 at 10:57 AM, Nemat nemate...@gmail.com wrote: Can you please tell me how can we do

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

2009-10-05 Thread Jed
Thanks to everyone who's offered any useful insights/thoughts thus far. If you look at the attached diagram I'm hoping to build a device that acts a central controller for consumer electronics home automation. I want a hand-held to interface with it, this hand-held would ideally have IR

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

2009-10-05 Thread Anders Feder
Thanks for your response, but could you please elaborate a bit? I don't have the lingo that straight yet. What exactly should I do? Should I add something in the AndroidManifest file? If so what, and where? Thanks again. Anders Feder 2009/10/5 kapnk...@gmail.com just add that extra bundle to

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

2009-10-05 Thread Justin Anderson
Use Intent.putExtra() to add the data you want to pass to the activity you are starting. There are several different versions of putExtra depending on the data you want to pass. Then the activity you are starting can get that information from the bundle that is passed in via onCreate(). I have

[android-beginners] Re: A new Android language?

2009-10-05 Thread Yusuf Saib (T-Mobile USA)
If you wish to write C/C++ programs on Android, Mr. Kulkarni's new language (which does sound like a neat project) may not help you. I recommend you look at the Android NDK: http://developer.android.com/sdk/ndk/1.6_r1/index.html#overview Yusuf Saib Android ·T· · ·Mobile· stick together The

[android-beginners] Re: How to receive an incoming call programmatically?

2009-10-05 Thread Yusuf Saib (T-Mobile USA)
Sorry, no. Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Oct 2, 10:47 pm, Nemat nemate...@gmail.com wrote: I mean

[android-beginners] Re: Ode to the tmobile g1 serial port

2009-10-05 Thread Yusuf Saib (T-Mobile USA)
Pritee tarry not for to gamble thither. On Oct 2, 6:33 pm, Mark Murphy mmur...@commonsware.com wrote: I love thee tmobile g1 serial port, let me count the ways: 1.  I made a serial cable to thee that works with your serial debugger I was told to get access to the serial port for my own

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

2009-10-05 Thread Anders Feder
Aha. So I will do something like this in the BroadcastReceiver: myIntent.putExtra(x,y); myActivity.startActivity(myIntent); And then in myActivity.onCreate() do something like: DoSomething(myBundle.getBundleExtra(x)); Does that look about right? If so, how do I tell, in onCreate(),

[android-beginners] Integrating G729 codec in mjsip

2009-10-05 Thread Mohammad Siddiqui
Hi all i am dveloping a VoIP client for Android based on the pjsip can any one tell me how to integrate the G729 codec with mjsip thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To

[android-beginners] Htc Touch Dual

2009-10-05 Thread grii
i want install android to my htc touch dual which has windows mobile 6.1 on it. is it possible yet? --~--~-~--~~~---~--~~ 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] how to get bitmap X or Y

2009-10-05 Thread Batuka
Hey my freands help me i wont to use bitmap X nad Y of canvas i need X, Y how i do that pls help --~--~-~--~~~---~--~~ 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: getting color array of image

2009-10-05 Thread Batuka
Hey my freands pls help me I won't to get bitmap x,y iwont to control bitmap x , y tell me how On Aug 19, 11:06 am, eldo iameldoja...@gmail.com wrote: I want to createbitmapfrom ImageView. Will you guide me. Now i am creatingbitmapfor Images from res/drawable by using BitmapmBitmap =

[android-beginners] Re: HelloAndroid app crashing

2009-10-05 Thread JaakL
This alone did not help, but when I updated also ADT (9.1 to 9.3) plug- in then it was solved. On 22 sept, 23:50, hjnorris henry.nor...@gmail.com wrote: Go to Help - Software Updates and update the Android DDMS. --~--~-~--~~~---~--~~ You received this message

[android-beginners] Problem involving emulators and networking.

2009-10-05 Thread ExO PoLiTiX
Hi Basically I'm trying to either run two emulators or having an emulator running and having my android phone connected to the computer at the same time. I have created a game and all i really want is for the game screen to update on the other device. Eg if I move my sprite on one emulator the

[android-beginners] AdMobExample no visibility ad

2009-10-05 Thread erick nicolas
Hi I don't understand why my app don't show test ad. It's only show text view. Here is: -layout FrameLayout xmlns:android=http://schemas.android.com/apk/res/android; xmlns:app=http://schemas.android.com/apk/res/org.ifies.android; android:layout_width=fill_parent

[android-beginners] Re: getting color array of image

2009-10-05 Thread Batuka
Hey my freand help me I won't to get bitmap x ,y how I do that I won't to control bitmap x,y help me --~--~-~--~~~---~--~~ 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] Alarm Triggering Notification

2009-10-05 Thread Magic-H
Hello Everyone I'm having a small issue and needed some advice. I have an alarm set to trigger at a specific date and time. I know how to configure it to display a toast after the alarm is triggered but I do not know how to trigger a simple notification. Here is my sample code that displays the

[android-beginners] Problem with Toast

2009-10-05 Thread Took
Hello everyone, When i try to make a Toast notification from onCreate() method of a Service, it works fine, but if i copy and paste the same call to a method created by me, it seems to ignore the Toast and it isn't showed. This is part of the code that isn't working. public class TestService

[android-beginners] Creating an AVD

2009-10-05 Thread Trina
Hi, I am using Vista. I have been trying to create an AVD, but have had little success. In my directory I go to android-sdk-windows-1.6_r1/ tools. I then open the android application which brings me to command promt. Initially when opened the command prompt says that I do not have access and

[android-beginners] Running voice recognition at the background

2009-10-05 Thread Prahlad
Hi, Is it possible to run the voice recognition activity in the background and perform the actions on foreground based on the voice commands? As of now if i invoke the activtiy with RecognizerIntent.ACTION_RECOGNIZE_SPEECH, it is prompting the user with speak button UI. I would like to avoid

[android-beginners] Creating a Lite and Pro version of an application

2009-10-05 Thread jax
I want to crete two seperate android applications. 1. A Lite version with limited functionality 2. A upgrade to the lite version (Pro version) with extended functionality (This will cost money) Can someone tell me the best way to approach thisproject setup etc.

[android-beginners] Android communication

2009-10-05 Thread Jerome White
I'd like to build an application in which there are several Android devices that communicate amongst themselves. What is the best way to do this? Wi-Fi seems like a good option, in that you can discover your neighbors and don't need any hard coded identifiers (such a phone number), but I'm not

[android-beginners] Using standard gallery

2009-10-05 Thread benbenbenben
Am I able to use the standard gallery for development? I meen the gallery with the folder selection and when you select a folder a thumbnail grid will be displayed for photo selection. Thanks in advance --~--~-~--~~~---~--~~ You received this message because you

[android-beginners] addProximityAlert() doesn't fire intent

2009-10-05 Thread Joe77
Hi, I am new to Android development and I am trying to write an App that uses the addProximityAlert() method. I know my intent / intent-filters work (as I can manually fire the intent) however I cannot seem to get addProximityAlert to fire an intent. I've searched on various forums and read the

[android-beginners] I can't make a scheduled task fire

2009-10-05 Thread aefaradien
Hi guys, I have spend over an hour trying to make this work now. I must be missing something obvious, but no amount of searching is working. I am trying to schedule a task to run every few minutes, and i am trying to do it using scheduleAtFixedRate(). I am testing this in a very basic hello

[android-beginners] Re: Display performances in the Gallery Widget, working with thumbnails.

2009-10-05 Thread Batuka
help me how to get bitmap X,Y of canvas i wont to controll bitmap X , Y --~--~-~--~~~---~--~~ 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] CheckBox with Background attribute renders incorrectly?

2009-10-05 Thread Droidnostics
Beginners question: why does the CheckBox render the text (when setText is invoked) behind the checkbox (instead of next to the checkbox) when an background image is assigned? Second question: how do I make it *not* render behind the checkbox (and still use a background image)? Layout code:

[android-beginners] api key

2009-10-05 Thread android
ow do you get fingerprint for the key APIs for android --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe

[android-beginners] How to set button background color?

2009-10-05 Thread Nicholas Key
Hi group members, I have a question about setting the background color for buttons. When I am using btn.setBackgroundColor(Color.RED), the entire button turns into a red rectangle. Is there actually a workaround to achieve this? Also what can I do to revert back to the default color of the

[android-beginners] How to control the LED lighter

2009-10-05 Thread Freetec Shen
Hi, Does anybody know how to control the LED light using the SDK 1.5 R1 ? Is there any available API or function to control the color, flash rate of the LED lighter near the earphone, as well as the lighter at the track ball? Or how to implement this? Thanks in advance! Xiaoming -- Freetec

[android-beginners] What API should I use ? Local Service Binding ? Remote Service Binding ? Handler ?)

2009-10-05 Thread Tim
Hello, I am very new beginner, and I am designing a small application as below. - After a user starts the application, he/she can click the start button to start a background task. (e.g. retrieving the news headlines periodically, then do something...) - Even after the user quits the

[android-beginners] Re: CheckBox with Background attribute renders incorrectly?

2009-10-05 Thread Romain Guy
You need to add padding to your background drawable. On Sat, Oct 3, 2009 at 9:17 PM, Droidnostics droidnost...@gmail.com wrote: Beginners question: why does the CheckBox render the text (when setText is invoked) behind the checkbox (instead of next to the checkbox) when an background image is

[android-beginners] Re: HelloMapView Tutorial not working

2009-10-05 Thread sandreev
This seems like there is a problem with your apikey. Did you copy your apikey in the place of mykey? Good Luck Sandreev. On Oct 5, 1:55 am, DWischer danielwisc...@googlemail.com wrote: I just tried to make it a lot more easier than the tutorial to find the error. This is my main class:

[android-beginners] Re: Alarm Triggering Notification

2009-10-05 Thread Yusuf Saib (T-Mobile USA)
There is a demo app, for which this is the documentation: http://developer.android.com/guide/samples/ApiDemos/src/com/example/android/apis/app/StatusBarNotifications.html Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author

[android-beginners] Re: I can't make a scheduled task fire

2009-10-05 Thread aefaradien
Since i did eventually work it out, i might as well post the answer here for anyone who searches in the future: final Handler handler = new Handler() { @Override public void handleMessage(Message msg) { Toast.makeText(getApplicationContext(), Run!,

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

2009-10-05 Thread SagarH
I searched the entire API... couldn't find BatteryStats. Also, when I run the emulator, I went to Settings -About Phone- Battery Usage That's exactly what I was looking for but sadly it comes with the OS. Any idea where could I get help to reach that application? I suppose, this IS the official

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

2009-10-05 Thread Justin Anderson
I believe that would be correct. As far as I can tell, the only way to determine the difference is by checking the following: - Bundle is null - Bundle doesn't have the key you specified. Again, I have not had the need to do this yet so I am only speculating. But this is what I understand from

[android-beginners] Re: Creating a Lite and Pro version of an application

2009-10-05 Thread Justin Anderson
I have already asked the same question, and later the solution on another thread. Just do a quick search for code base and you will find out how to do this. If you have done this already, then you can ignore this, but a lot of duplicate questions can be eliminated simply by searching for an

[android-beginners] Re: Display performances in the Gallery Widget, working with thumbnails.

2009-10-05 Thread Justin Anderson
Batuka, Please stop spamming the group with your question. This is the 3rd or 4th such request I have seen. You probably have not gotten an answer because your question is not very clear. Thanks, Justin -- There are only 10

[android-beginners] Re: How to set button background color?

2009-10-05 Thread Justin Anderson
The default button background is not a color, but rather a 9-patch png image. Your best bet would be to create a similar 9-patch png image in your favorite image editing software that has a red background. Thanks, Justin --

[android-beginners] Re: api key

2009-10-05 Thread Xavier Ducrohet
It's all explained here: http://code.google.com/android/add-ons/google-apis/mapkey.html On Mon, Oct 5, 2009 at 5:23 AM, android darioamor...@gmail.com wrote: ow do you get fingerprint for the key APIs for android -- Xavier Ducrohet Android SDK Tech Lead Google Inc.

[android-beginners] Re: charting

2009-10-05 Thread vorcigernix
I have to partly agree...it makes sense to build platform as small as possible. On other hand..there is big value in charting controls for lazy developers and charting library can be very small. So..I am not calling to have a charting library in core. It should be option as google libraries

[android-beginners] Re: problem creating new android project

2009-10-05 Thread Roman ( T-Mobile USA)
You might want to fill out the rest -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Oct 3,

[android-beginners] Re: Creating a Lite and Pro version of an application

2009-10-05 Thread Steve
I don't think the other thread explained how to do this without creating two package names. You would either have to re-name your package each time you published, or you would need two different projects, wouldn't you? Another approach is to try to pull out as much common functionality as you

[android-beginners] Scroll Left and Right

2009-10-05 Thread Mitch
I posted a question that I never got a response to. I'm starting to think what I'm trying to do must be impossible. I see a ListView that allow me to go up and down. As a consolation prize, is there any way I can pan left and right even if it can't go up and down at the same time? If this

[android-beginners] Re: Problem involving emulators and networking.

2009-10-05 Thread Roman ( T-Mobile USA)
You can directly communicate on Wifi from emulator to another phone if you are in the same LAN. There would be no server required. Only thing what you have to think about is, how do you get the IP address of your destination (discovery protocol on Wifi)? -- Roman Baumgaertner Sr. SW

[android-beginners] Re: Scroll Left and Right

2009-10-05 Thread Mark Murphy
I posted a question that I never got a response to. What you asked for is rather difficult. I'm starting to think what I'm trying to do must be impossible. Not impossible, but probably beyond [android-beginners] in scope. As a consolation prize, is there any way I can pan left and right

[android-beginners] Re: Creating a Lite and Pro version of an application

2009-10-05 Thread Justin Anderson
The method is to have a main application and an application that acts a key to unlock functionality in the main app. You can't upload two products with the same package to the android market. Doing it the way I described in the other thread allows the main application to contain all the

[android-beginners] Re: How to set button background color?

2009-10-05 Thread Mark Murphy
The default button background is not a color, but rather a 9-patch png image. Your best bet would be to create a similar 9-patch png image in your favorite image editing software that has a red background. It's not even just a 9-patch. It is a StateListDrawable of many 9-patch images

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

2009-10-05 Thread Mark Murphy
I searched the entire API... couldn't find BatteryStats. It's not in the API. It is in the source code. This is why you cannot access it from the API, as I have pointed out. Also, when I run the emulator, I went to Settings -About Phone- Battery Usage That's exactly what I was looking for

[android-beginners] Re: Creating a Lite and Pro version of an application

2009-10-05 Thread Steve Oliver
So a user would need to download both the free app, as well as the paid app (which unlocks features in the free app)? Is there a way where a user could download just the paid app? On Mon, Oct 5, 2009 at 1:34 PM, Justin Anderson janderson@gmail.comwrote: The method is to have a main

[android-beginners] Re: Android communication

2009-10-05 Thread Chris Stratton
Or to put it another way, the current method is to use a make a server somewhere on the internet (or perhaps wifi intranet) to catalog and function as an intermediary between the phones. In the future or maybe now with low-level hacking, ad-hoc wifi or something bluetooth based could become an

[android-beginners] Re: Creating a Lite and Pro version of an application

2009-10-05 Thread Jeffrey Blattman
what's missing from the market is dependencies. i often had the idea of publishing an "app" that is just a service for use by other apps ... but the fact that the user needs to manually download the service first sort of rules that out. if we had dependencies, you could have an app core and

[android-beginners] Re: HelloMapView Tutorial not working

2009-10-05 Thread DWischer
Yes, i used the Debug Certificate to get my key. Does a wrong key raise this type of exceptions? On 5 Okt., 19:32, sandreev sanjee...@gmail.com wrote: This seems like there is a problem with your apikey. Did you copy your apikey in the place of mykey? Good Luck Sandreev. On Oct 5, 1:55 

[android-beginners] Re: HelloMapView coming up with empty tiles

2009-10-05 Thread Clayton
I pulled the apikey by submitting the fingerprint I got from the debug.keystore for the androiddebugkey which was what it said to do on the dev site. I copied that api key off of the webpage and pasted it directly MapView android:apikey element in the main.xml (and I've repeated and verified

[android-beginners] Re: Creating a Lite and Pro version of an application

2009-10-05 Thread Justin Anderson
* So a user would need to download both the free app, as well as the paid app (which unlocks features in the free app)?* Yes. I don't think that is that big of a deal... That is how the Documents To Go app by DataViz works. And that is an extremely successful app. Also, the paid app does

[android-beginners] Re: Creating a Lite and Pro version of an application

2009-10-05 Thread Justin Anderson
* what's missing from the market is dependencies. * I wholeheartedly agree... * i often had the idea of publishing an app that is just a service for use by other apps ... but the fact that the user needs to manually download the service first sort of rules that out. *Yes and no. It is a little

[android-beginners] zoomToSpan() then setZoom()

2009-10-05 Thread Jeffrey Blattman
i have some code that uses zoomToSpan(...), then calls getZoomLevel() and based on the result may call setZoom(...). this is to ensure a minimum zoom level. what i am seeing is that the call to setZoom(...) is ignored and the level is not set. does zoomToSpan() introduce some sort of pending

[android-beginners] Re: HelloMapView coming up with empty tiles

2009-10-05 Thread Clayton
I figured it out. I had the uses-permission as a child of application rather than a child of the manifest, it's working now. Thanks for your help! On Oct 5, 4:27 pm, Clayton gehbaue...@gmail.com wrote: I pulled the apikey by submitting the fingerprint I got from the debug.keystore for the

[android-beginners] How do you get the dimensions of a Dialog?

2009-10-05 Thread Jason Van Anden
I need to get the height and width of a dialog from inside a dialog class. Clearly confused. Help appreciated. Thank You, Jason --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to

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

2009-10-05 Thread kapnkore
if you do simply as you written if what ever clear from your post to me here the activity will start every time you receive the message?is it ok with you?but if you want to start some activity from user will will acess the receivid data then just save that data some where n the acess it from

[android-beginners] Double-Permissions when publishing to Android Market?

2009-10-05 Thread callingshotgun
I'm running into a strange issue publishing on the Android market, and am wondering if anybody else has seen the same: Basically, whatever permissions I list in my Android Manifest file get listed twice when I upload the APK. By way of example, here's a direct copy/paste from the upload area...

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

2009-10-05 Thread wahib
hi !! I have created a image file in a folder /androidimages and when i try to run emulator from terminal giving path to this image file it gives error: i try = $ emulator -sdcard /home/soms/androidemuimages/androidnew.img -avd androidnew error= SDL init failure, reason is: No available video

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

2009-10-05 Thread wahib
the push command worked now as i tried chmod 777 /sdcard using shell. Then i tried copying it to sdcard/Camera/DCIM/bar3.bmp and it is successfully copied but problem is that it isnt shown in the gallery. I even tried moving jpeg image but same problem even after restarting the emulator