[android-beginners] Re: startActivity() crash...
Any ideas on why my app doesn't have permissions to launch the Calendar app when it is running but it does have permissions to launch virtually any other running app This bug is driving me crazy! Thanks in advance for any pointers/suggestions Justin --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: How to get location data using device GPS
You mentioned that your program turns on GPS... I haven't done much with GPS but I believe one of the changes with Android 1.5 was that you can no longer turn GPS on or off programatically... If GPS is not on you could provide a button or something that would take the user to the GPS settings page to allow them to turn it on. On Aug 18, 2009 8:00 PM, "Persona" wrote: Hello, The code below gets the location information and displays it on screen. If I use an emulator and provide such data manually, the program works as expected. But I have Android device, but whenever I run the program on the device the program displays 'Location not found'. Now the program turns the GPS on, and I know there is no problem with the way the GPS works because the Google Maps installed in a device works. What can I do to implement this important feature? Cheers. Karl. import android.app.Activity; import android.content.Context; import android.location.Location; import android.location.LocationManager; import android.os.Bundle; import android.widget.TextView; public class WhereAmI extends Activity { @Override public void onCreate(Bundle icicle) { super.onCreate(icicle); setContentView(R.layout.main); LocationManager locationManager; String context = Context.LOCATION_SERVICE; locationManager = (LocationManager)getSystemService(context); String provider = LocationManager.GPS_PROVIDER; Location location = locationManager.getLastKnownLocation(provider); updateWithNewLocation(location); } private void updateWithNewLocation(Location location) { TextView myLocationText; myLocationText = (TextView)findViewById(R.id.myLocationText); if (location != null) { double lat = location.getLatitude(); double lng = location.getLongitude(); myLocationText.setText("Your Current Position is \n Lat:" +lat+"\n Long:"+lng ); } else { myLocationText.setText("Your Location Not Found"); } } } --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] How to get location data using device GPS
Hello, The code below gets the location information and displays it on screen. If I use an emulator and provide such data manually, the program works as expected. But I have Android device, but whenever I run the program on the device the program displays 'Location not found'. Now the program turns the GPS on, and I know there is no problem with the way the GPS works because the Google Maps installed in a device works. What can I do to implement this important feature? Cheers. Karl. import android.app.Activity; import android.content.Context; import android.location.Location; import android.location.LocationManager; import android.os.Bundle; import android.widget.TextView; public class WhereAmI extends Activity { @Override public void onCreate(Bundle icicle) { super.onCreate(icicle); setContentView(R.layout.main); LocationManager locationManager; String context = Context.LOCATION_SERVICE; locationManager = (LocationManager)getSystemService(context); String provider = LocationManager.GPS_PROVIDER; Location location = locationManager.getLastKnownLocation(provider); updateWithNewLocation(location); } private void updateWithNewLocation(Location location) { TextView myLocationText; myLocationText = (TextView)findViewById(R.id.myLocationText); if (location != null) { double lat = location.getLatitude(); double lng = location.getLongitude(); myLocationText.setText("Your Current Position is \n Lat:" +lat+"\n Long:"+lng ); } else { myLocationText.setText("Your Location Not Found"); } } } --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: TabHost problem with designing Tabs
Hi, thanks for your answer. But I find the little mistake: i set the orientation of the second LinearLayout (id:unten) to vertical. (to much copy'n'paste... i copy the first LinearLayout and change the id only). Because of that, wrap_content works find, but with the wrong orientation. Regards, Stefan --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: using pre-coded functionality
First of all thanks for your reply Justin. On 18 aug, 11:45, Justin Anderson wrote: > > Google is stating that code of other installed applications can be > > > used in your own application. > > Essentially what you can do is launch other activities/processes as long as > you know the intent and intent filters for the functionality you want to > include. Typically this would be done with a call to startActivity() or > startActivityForResult(). > > > I would like to incorporate some functionality of the Phone-app into > > my own application, but have no idea where to start > > What functionality of the phone app are you wanting to incorporate? > > > (couldnt find anything useful in the SDK docs) > > The information for using startActivity() and startActivityForResult() is in > the SDK docs. Admittedly, it can be a bit hard to digest it all and apply > it to your own application, though. I have had my fair share of struggles > with them. :-) What i want to do is basically this: watch changes in call status (got this part already working), if there is an incoming call compare it to a list of numbers and block the incoming call if the phone number is on the list. There seems to be 2 problems with implementing this idea. The first problem is keeping your app running at any time (maybe a wake lock can fix this), the second problem is using functionality that actually is in the phone but not available in the SDK. I figured out that the Phone App which is in Android by default is keeping the RIL daemon busy, so making a new connection to the RIL daemon is not an option. According to the android architecture diagram the Phone App sits on the top layer, so i figured i might me able to use some functionality in the Phone app to be able to block/hangup a call. The phone app sits on top of everything and is able to block calls, why can't we? Is it because for some reason the phone app is the only app that is allowed to use some sort of internal functionality? --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: using pre-coded functionality
> Google is stating that code of other installed applications can be > used in your own application. Essentially what you can do is launch other activities/processes as long as you know the intent and intent filters for the functionality you want to include. Typically this would be done with a call to startActivity() or startActivityForResult(). > I would like to incorporate some functionality of the Phone-app into > my own application, but have no idea where to start What functionality of the phone app are you wanting to incorporate? > (couldnt find anything useful in the SDK docs) The information for using startActivity() and startActivityForResult() is in the SDK docs. Admittedly, it can be a bit hard to digest it all and apply it to your own application, though. I have had my fair share of struggles with them. :-) --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: What is really locked in the HTC Magic?
I was in the same situation, so I bought a Magic and installed another SPL (bootloader) as well as rooted it. With a stock Magic SPL you are unable to install unsigned Android images, as that's reserved for Google. But if you just want to develop simple Android/Java applications, you do not need this. My Magic came unlocked thankfully, but I reckon if you install a rooted Android image that won't be a problem anymore - but I could be wrong. /Casper On 18 Aug., 19:54, Rafa Perfeito wrote: > Hey, > Been thinkin of getting a device to get my apps on the actual road. I have > the Dev Phone option (although its not shipped to Portugal..thanks google by > the way...), but also the HTC Magic and soon the Samsung Galaxy. The Magic > is locked, but what this really means? Only the SIM is locked? Do i have all > the functionalities and developing opportunities as in the Dev Phone? Or is > it hardware-locked? A little help from you device developers would be > cool... > > Thanks > Cheers > > -- > Cumprimentos, > > Hugo Rafael Augusto --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Plugin
http://d.android.com/sdk/adt_download.html Xav On Mon, Aug 17, 2009 at 10:34 AM, Bishesh Manandhar wrote: > Is it possible to download the android plugin without using eclipse > > i need to shift eclipse to another computer.. but there is no access to > internet.. is it possible to download the android pluginsss... > > is it possible by shifting some jar filess... > > > PLZZ HELPPP > > > > > > -- Xavier Ducrohet Android Developer Tools Engineer Google Inc. --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: I am trying to log my gps location to a website.
I figured it out. I forgot to add INTERNET to the androidManifest.xml file Q: In the future, how would I know that I need to add something to the manifest?? thanks jp --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: A Google Maps App
I'm sure it's possible. But a word of Warning. If you have never programmed for the Android platform you are in for a really steep learning curve dealing with mapviews. I'm working on about 8 months and I still get surprised at least once a week. But then I could just be slow and old too On Mon, Aug 17, 2009 at 10:30 PM, Maxood wrote: > > I want to write an app involving Google Maps API. I want my user to > enter the name of a place where he is in a textbox and then enters the > name of his desired destination in another textbox. Once he clicks the > button after that, the required map gets displayed. > > I have 2 questions here: > > Is it possible to make such an app on android? > > I guess the android can auto-detect where the user is..am i correct? > > Thank you, > Maqsood > > > > > -- Writing code is one of few things that teaches me I don't know everything. --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] [android-beginners]What is really locked in the HTC Magic?
Hey, Been thinkin of getting a device to get my apps on the actual road. I have the Dev Phone option (although its not shipped to Portugal..thanks google by the way...), but also the HTC Magic and soon the Samsung Galaxy. The Magic is locked, but what this really means? Only the SIM is locked? Do i have all the functionalities and developing opportunities as in the Dev Phone? Or is it hardware-locked? A little help from you device developers would be cool... Thanks Cheers -- Cumprimentos, Hugo Rafael Augusto --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Connection timeout problem in browser with DWR application
My guess would be that this is an optimization in the Browser to reduce resource usage. That being said, what the browser does is sort of irrelevant here. On cellular networks, you'll almost never be able to have these long-idle TCP sockets. The cellular data network simply tears them down, typically if there's no activity for 30 seconds. So, in practice the limiting factor is the network, not the client. Cheers, Justin Android Team @ Google On Aug 18, 5:38 am, max wrote: > Hello everyone, > > I already posted this on stackoverflow.com (http://stackoverflow.com/ > questions/1271345/problem-with-dwr-and-android-browser) but noone > could point me in the right direction. > > So I will just cite what I posted previously on stackoverflow: > > I am experiencing a problem with accessing an > application from the Android-browser. The application uses DWR to > persist connections to the clients that are connected with it. > > Everything works fine for me, except that if the application does not > send any data to the client on the Android-phone for 2 minutes, the > connection seems to be lost and no data arrive at the client. The same > scenario works just fine on Firefox, Opera and Chrome. If the pause > between two data transfers is less than 2 minutes, it works just fine. > > So, now my question: Is there some timeout setting for the android > browser that I am missing? Or is this some built-in bug/feature/ > whatever that I cannot circumvent? > > I know that I could prevent this from happening with some sort of > heartbeat, I would just like to know _why_ this is happening. > > Thanks in advance, Max > > btw: Everything (server, clients) runs on my machine and I am testing > this on the android emulator with Windows XP > > Oh, and I am using Android emulator version 1.10 (build_id > CUPCAKE-150240) > > Thanks in advance. > Max --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Listen to Camera Events
Hi, Is there any way to listen to camera Events as triggered by native/ other apps on Android ? e.g. I need to access the image captured / video capture start/end times and the media etc. Thanks, Viv --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Plugin
Is it possible to download the android plugin without using eclipse i need to shift eclipse to another computer.. but there is no access to internet.. is it possible to download the android pluginsss... is it possible by shifting some jar filess... PLZZ HELPPP --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] using pre-coded functionality
Hello all, Google is stating that code of other installed applications can be used in your own application. I would like to incorporate some functionality of the Phone-app into my own application, but have no idea where to start (couldnt find anything useful in the SDK docs). Can you guys give me any hints/tips? Greets, Cyclopse --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Calender APIs for Android
Hello Friends, I am thinking of building a android application, and it happen to be on the Calender. When i googled, the topic, i fail to get a valid pick from any of the links. I would like to know, Is there any APIs available in Android so that i can call it for my purpose? Is ther any externals jars available so that i can plug it with out any license issue? Waiting for your valid comments... Thanks in advance... --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] pins on google maps
Does somebody know how i can get the pins on my map when i do a search like this Uri uri = Uri.parse(geo:0,0?restaurant); Intent intent = new Intent(getBaseContext,uri); startActivity(intent); Then the place who are a bar are showing up on a red balloon on my mapview. The point is that i want to catch them in a list/string format so a can choose one and send the description to somebody --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Delete Note does not work in the Notepadv2 example
Hi all, I am new to android developing. I am very pleased with the tutorials that google add to the developer site. it is very clear and easy to learn. I am now going trough the Notepad Tutorial and I have problem with the second exercise. Notepadv2. after i have done all the steps, and run the application, i do not see the "Delete Note" menu item. I have only the "Add Note" menue item. (it does not work even in the Notepadv2Solution project!) Also, I do not understand why we use the method: "public boolean onCreateContextMenu" to add the "Delete Note" menu item whereas we used other method to add the "Add Note" menu item. I have tried to debug the application and noticed that basically the application does not enter into the "public boolean onCreateContextMenu" method and thus probably, it does not add the "Delete Note" menu item. Thanks allot for your help. Eli. --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] HTC Dream Composite ADB Interface Driver Install Fails: Access is denied.
I just got a MyTouch. Trying to install the ADB driver on my Vista, 32- bit. The driver does not install, and this is the message from Vista: Windows found driver software for your device but encountered an error while attempting to install it. HTC Dream Composite ADB Interface. Access is denied. Any ideas? Here is my setupapi: >>> [Device Install (Hardware initiated) - >>> STORAGE\Volume\1&19f7e59c&0&_??_USBSTOR#Disk&Ven_HTC&Prod_Android_Phone&Rev_0100#7&246ca16&0&HT96WLV01135&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}] >>> Section start 2009/08/17 19:28:12.410 ump: Creating Install Process: DrvInst.exe 19:28:12.410 ndv: Retrieving device info... ndv: Setting device parameters... ndv: Building driver list... dvi: {Build Driver List} 19:28:12.457 dvi: Searching for hardware ID(s): dvi: storage\volume dvi: Enumerating INFs from path list 'C:\Windows\INF' inf: Opened PNF: 'C:\Windows\System32\DriverStore \FileRepository\volume.inf_9320b452\volume.inf' ([strings.0409] ) dvi: Created Driver Node: dvi: HardwareID - STORAGE\Volume dvi: InfName - C:\Windows\System32\DriverStore \FileRepository\volume.inf_9320b452\volume.inf dvi: DevDesc - Generic volume dvi: DrvDesc - Generic volume dvi: Provider - Microsoft dvi: Mfg - Microsoft dvi: ModelsSec- MSFT.NTx86 dvi: InstallSec - volume_install dvi: ActualSec- volume_install.NTx86 dvi: Rank - 0x0dff dvi: Signer - microsoft windows dvi: Signer Score - INBOX dvi: DrvDate - 06/21/2006 dvi: Version - 6.0.6000.16386 inf: Searched 1 potential matches in published INF directory inf: Searched 29 INFs in directory: 'C:\Windows\INF' dvi: {Build Driver List - exit(0x)} 19:28:12.660 ndv: Selecting best match... dvi: {DIF_SELECTBESTCOMPATDRV} 19:28:12.676 dvi: Using exported function 'VolumeClassInstaller' in module 'C:\Windows\system32\SysClass.dll'. dvi: Class installer == SysClass.dll,VolumeClassInstaller dvi: Using exported function 'CriticalDeviceCoInstaller' in module 'C:\Windows\system32\SysClass.Dll'. dvi: CoInstaller 1 == SysClass.Dll,CriticalDeviceCoInstaller dvi: CoInstaller 1: Enter 19:28:12.676 dvi: CoInstaller 1: Exit dvi: Class installer: Enter 19:28:12.691 dvi: Class installer: Exit dvi: Default installer: Enter 19:28:12.691 dvi: {Select Best Driver} dvi:Selected driver installs from section [volume_install] in 'c:\windows\system32\driverstore\filerepository \volume.inf_9320b452\volume.inf'. dvi:Class GUID of device changed to: {71a27cdd-812a-11d0-bec7-08002be2092f}. dvi:{DIF_DESTROYPRIVATEDATA} 19:28:12.707 dvi: CoInstaller 1: Enter 19:28:12.707 dvi: CoInstaller 1: Exit dvi: Class installer: Enter 19:28:12.707 dvi: Class installer: Exit dvi: Default installer: Enter 19:28:12.722 dvi: Default installer: Exit dvi:{DIF_DESTROYPRIVATEDATA - exit(0xe20e)} 19:28:12.722 dvi:Set selected driver complete. dvi:Selected: dvi: Description - [Generic volume] dvi: InfFile - [c:\windows \system32\driverstore\filerepository\volume.inf_9320b452\volume.inf] dvi: Section - [volume_install] dvi: Signer - [microsoft windows] dvi: Rank- [0x0dff] dvi: {Select Best Driver - exit(0x)} dvi: Default installer: Exit dvi: {DIF_SELECTBESTCOMPATDRV - exit(0x)} 19:28:12.738 ndv: Driver selected, now performing install... ndv: {Core Device Install} inf: Opened PNF: 'C:\Windows\INF\volume.inf' ([strings.0409] ) inf: Opened PNF: 'C:\Windows\INF\volume.inf' ([strings.0409] ) dvi: {DIF_ALLOW_INSTALL} 19:28:12.769 dvi: Using exported function 'VolumeClassInstaller' in module 'C:\Windows\system32\SysClass.dll'. dvi: Class installer == SysClass.dll,VolumeClassInstaller dvi: Using exported function 'CriticalDeviceCoInstaller' in module 'C:\Windows \system32\SysClass.Dll'. dvi: CoInstaller 1 == SysClass.Dll,CriticalDeviceCoInstaller dvi: CoInstaller 1: Enter 19:28:12.785 dvi: CoInstaller 1: Exit dvi: Class installer: Enter 19:28:12.785 dvi: Class installer: Exit dvi:
[android-beginners] Connection timeout problem in browser with DWR application
Hello everyone, I already posted this on stackoverflow.com (http://stackoverflow.com/ questions/1271345/problem-with-dwr-and-android-browser) but noone could point me in the right direction. So I will just cite what I posted previously on stackoverflow: I am experiencing a problem with accessing an application from the Android-browser. The application uses DWR to persist connections to the clients that are connected with it. Everything works fine for me, except that if the application does not send any data to the client on the Android-phone for 2 minutes, the connection seems to be lost and no data arrive at the client. The same scenario works just fine on Firefox, Opera and Chrome. If the pause between two data transfers is less than 2 minutes, it works just fine. So, now my question: Is there some timeout setting for the android browser that I am missing? Or is this some built-in bug/feature/ whatever that I cannot circumvent? I know that I could prevent this from happening with some sort of heartbeat, I would just like to know _why_ this is happening. Thanks in advance, Max btw: Everything (server, clients) runs on my machine and I am testing this on the android emulator with Windows XP Oh, and I am using Android emulator version 1.10 (build_id CUPCAKE-150240) Thanks in advance. Max --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] How can i view Thai language in MyTouch 3g
I would like to use MyTouch to suf Thai web site but it can not display Thai character. Have anyone can help. Thankyou --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Debugging Apps with Google APIs Target on Android Dev Phone
Hello, I am writing a program that uses Google APIs for location and maps. I am trying to use the device for debugging and as a Location Provider. The program is simple- turn on the GPS, get the location, display it on the screen/map/etc. The GPS is turned on, but no location information is acquired. I thought that the fact that I was using Android Dev Phone with SDK 1.0 had something to do with it, so I upgraded it to SDK 1.5. However, even this is not proper as a Target for my application. Can someone tell me the IMPLICATIONS of what I am doing here? (I don't know the limitations of the previous SDK releases- I only use such classes and libraries that work for me.) Is there a way I can make the Android device a compatible target for Google APIs? Please assist with advice. Thanks. Karl. --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Help with Activites
You can use the ActivityManager class to get a list of activities that are considered to be "running" by Android. In actuality they are paused, since you can only have one running activity at a time. You can also get a list of running processes via the ActivityManager class. Unlike activities, processes actively run in the background. On Aug 18, 2009 4:28 AM, "Jose Ayerdis" wrote: 2009/8/18 Neilz > > > Where do all the activities go? > > What I mean is... My app contains a list. When I click on... I believe that Android (SO) manage the activity itself on the ActivityStack, so the ones that are inactive or stop are killed or asked to close in order to keep a memory manage optimize thats why is strongly advice to save you instance properties remember the Activity LifeCycle you find the answer here http://developer.android.com/reference/android/app/Activity.html > > > > If I go back to the main menu and start my app, it behaves as if it's > just started, so the... well this is because you haven't saved your instance values (Bundles) > > > > I'm working on the emulator here, naturally. > -- Atte [[Jose Luis Ayerdis Espinoza]] http://blognecronet.blogspot.com --~--~-~--~~~---~--~~ You received this message because you are su... --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Custom spinner widget
Thanks for the reply! I was able to get this working using onItemSelected(). -Original Message- From: android-beginners@googlegroups.com [mailto:android-beginn...@googlegroups.com] On Behalf Of midtoad Sent: Tuesday, August 18, 2009 9:58 AM To: Android Beginners Subject: [android-beginners] Re: Custom spinner widget What is it you are trying to accomplish? Select an item from a spinner widget? If so, take a look at the Spinner Demo example from commonsware.com (source code from Hello, Android). On Aug 14, 11:23 am, "tinyang" wrote: > I read in another post that the spinner widget does not support > onItemClickListener (and upon checking the developer site, that seems > to still be the case). Could I use the suggestion in "The Basic Way" > section at the link below to fix that?http://developer.android.com/guide/topics/ui/custom-components.html#b.. . > > If this won't work, I'm open to other suggestions to get a spinner > that supports onItemClickListener. Thanks. > No virus found in this incoming message. Checked by AVG - http://www.avg.com Version: 8.0.169 / Virus Database: 270.13.49/2293 - Release Date: 8/17/2009 6:04 PM --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: 3 icons for one app
If I do that, I can't get to those activities. I have a main menu screen with a button for each activity, and the buttons don't work for any activity in which I remove the intent for from the manifest. If I remove those intents from the manifest, how else can I make the buttons open my activities? Here is an example of what I use now: vwpicbtn = (Button) findViewById(R.id.viewpics); vwpicbtn.setOnClickListener(new View.OnClickListener() { public void onClick(View v) { startActivity(new Intent(MainMenu.this, ViewPic.class)); } }); Thank you. _ From: android-beginners@googlegroups.com [mailto:android-beginn...@googlegroups.com] On Behalf Of Liviu Ungureanu Sent: Tuesday, August 18, 2009 6:30 AM To: android-beginners@googlegroups.com Subject: [android-beginners] Re: 3 icons for one app Hi! Just remove the intent filter for the others activities less main activity. use it only for main activity Thank you! No virus found in this incoming message. Checked by AVG - http://www.avg.com Version: 8.0.169 / Virus Database: 270.13.49/2293 - Release Date: 8/17/2009 6:04 PM --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: The application XXXX(process com.example.XXXX) has stopped unexpectedly
Please check your logcat output. It would give you the pointers. Balwinder Kaur Open Source Development Center ·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 Aug 18, 6:09 am, eldo wrote: > Hi all, > > I have a problem when my application runs on the emulator . while > trying to run the application it throws a message "The application > (process com.example.) has stopped unexpectedly " .I do not get > the output on screen . Could you give me pointers as to why this > occurs . --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] How to include multiple spinners in one Activity?
I'm stuck on how to include multiple spinners in one Activity screen, and wonder if you might have any suggestions. i.e. how would I modify the following Spinner Demo example to add another spinner? Thanks. public class SpinnerDemo extends Activity implements AdapterView.OnItemSelectedListener { TextView selection; String[] items={"lorem", "ipsum", "dolor", "sit", "amet","consectetuer", "adipiscing", "elit"}; String[] items2 ={"morbi", "vel","ligula", "vitae", "arcu", "aliquet", "mollis"}; @Override public void onCreate(Bundle icicle) { super.onCreate(icicle); setContentView(R.layout.main); selection=(TextView)findViewById(R.id.selection); Spinner spin=(Spinner)findViewById(R.id.spinner); spin.setOnItemSelectedListener(this); ArrayAdapter aa=new ArrayAdapter(this, android.R.layout.simple_spinner_item,items); aa.setDropDownViewResource( android.R.layout.simple_spinner_dropdown_item); spin.setAdapter(aa); } public void onItemSelected(AdapterView parent, View v, int position, long id) { selection.setText(items[position]); } public void onNothingSelected(AdapterView parent) { selection.setText(""); } } --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Custom spinner widget
What is it you are trying to accomplish? Select an item from a spinner widget? If so, take a look at the Spinner Demo example from commonsware.com (source code from Hello, Android). On Aug 14, 11:23 am, "tinyang" wrote: > I read in another post that the spinner widget does not support > onItemClickListener (and upon checking the developer site, that seems to > still be the case). Could I use the suggestion in "The Basic Way" section > at the link below to fix > that?http://developer.android.com/guide/topics/ui/custom-components.html#b... > > If this won't work, I'm open to other suggestions to get a spinner that > supports onItemClickListener. Thanks. > --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] The application XXXX(process com.example.XXXX) has stopped unexpectedly
Hi all, I have a problem when my application runs on the emulator . while trying to run the application it throws a message "The application (process com.example.) has stopped unexpectedly " .I do not get the output on screen . Could you give me pointers as to why this occurs . --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Problem with Buttons in Listview
I have a ListActivity and in each listview row has a textview and a button, when i select an item from the listview the button become visible ( by default it is GONE ) so far so good :). When the button become visible i can't select the same row again, the onListItemClick method is not invoked only the button received click events. How can i know when the item is selected again. Thanks in advance --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Linking with a custom View class
Shachar Shemesh wrote: > As a long time Linux programmer, your definition of "user land" is > vastly different than mine. Yeah, sorry about that. > I do agree that what I want done (have done, > in fact) requires changing files on /system file system, and therefor > count as "platform" development. Surprisingly, it requires no > cryptographic signature (of any kind). It should, at least for consumer devices. I haven't played with modifying firmware, so I don't know what the rules are vis a vis emulator images and such. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android 1.5 Programming Books: http://commonsware.com/books.html --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Linking with a custom View class
Mark Murphy wrote: > > I am talking about what is possible at the SDK level, which is > presumably what you want, since you are on the beginners' list. > > Yes. It was only after I found the answer that I found out that the "beginners" list was the wrong one :-) > >> Your >> solution would link the library into the APK, which means that if I use >> it in two programs, it will be loaded into memory twice. >> > > Yes, it will. Each APK needs to be signed and sealed. > > There is no way in userland that I am aware of to achieve dynamic > linking with shared RAM. As a long time Linux programmer, your definition of "user land" is vastly different than mine. I do agree that what I want done (have done, in fact) requires changing files on /system file system, and therefor count as "platform" development. Surprisingly, it requires no cryptographic signature (of any kind). > There may be a way to achieve this via putting > your JAR in a modified firmware, as Dalvik does copy-on-write for > firmware code, though I am unclear whether that is just for the runtime > or if it includes other JARs as well. > Any JAR. The readme in the PlatformLibrary sample has the details. It is not the standard Java JAR, as it contains a classes.dex, rather than .class. > But, really, your goal should be to keep your library small, and allow > apps to statically link with it. > > Not always an option, but thanks. Shachar -- Shachar Shemesh Lingnu Open Source Consulting Ltd. http://www.lingnu.com --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: How to get started with Android programming from scratch? Is it worthwhile to buy a HTC Magic?
Hi, I haven't even picked up an android handset yet and have just been using the emulator. However I've seen several threads already from people that have asked the question about how to install their apk file (the compiled installer code) onto the actual phone. Also my friend, even downloaded the file directly from a website and installed it on his handset, the app even told him that he needed to enable the setting for unsigned apps or something. As for coding for the android, I'm still pretty new to it myself and am finding several documentation gaps but one place to start is the Hello World or the Hello Views on the dev site: http://developer.android.com/guide/tutorials/views/index.html Good luck, oh you might also want to consider joining the android- developers site, I've noticed they cover some topics in more depth in there but be careful about posting easy questions - although how we are meant to know which are easy or not is totally beyond me!! On Aug 16, 7:19 am, bianconeri wrote: > Hi all, > > I've just downloaded Android SDK 1.5 and finished Eclipse > configuration with ADT. So you can say I am very new to this exciting > platform. > > Could anybody please direct me to the correct path to get started to > code with Android? > > I am going to buy a HTC Magic with Three (Melboourne, Australia). I > wonder if I can deploy my application on the real device for testing > straightaway? Is there anything I need to do before I can do that > apart from purchasing it, is the device open for development? > > I am keen to do some development on Android but I can't actually > afford a HTC Magic if it just works as a common mobile phone and > cannot be used for development. > > Appreciate any suggestion!!! > > Alex --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: 3 icons for one app
Hi! Just remove the intent filter for the others activities less main activity. use it only for main activity Thank you! --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: 3 icons for one app
Sure. Here is my manifest file: http://schemas.android.com/apk/res/android"; package="net.tinyang.birdtracker" android:versionCode="1" android:versionName="1.0"> -Original Message- From: android-beginners@googlegroups.com [mailto:android-beginn...@googlegroups.com] On Behalf Of Sean Hodges Sent: Tuesday, August 18, 2009 3:17 AM To: android-beginners@googlegroups.com Subject: [android-beginners] Re: 3 icons for one app Can you post up your manifest file? On Tue, Aug 18, 2009 at 2:41 AM, tinyang wrote: > I am developing an app and so far it has 3 complete acticities. For > some reason, everytime I install it and run it in my emulator, it > creates an icon for each activity instead of creating only one > activity for the app. Is this because I have intents in my manifest > for each activity? Can anyone advise me as to why this is happening and how to fix it? Thanks. > > -- > J > P Please don't print this e-mail unless you really need to. > > > > No virus found in this incoming message. Checked by AVG - http://www.avg.com Version: 8.0.169 / Virus Database: 270.13.49/2293 - Release Date: 8/17/2009 6:04 PM --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] getting color array of image
I want to create bitmap from ImageView. Will you guide me. Now i am creating bitmap for Images from res/drawable by using Bitmap mBitmap = BitmapFactory.decodeResource(getResources(), R.drawable.pic1); then I am getting color array for this bitmap by using Hi , mBitmap.getPixels(pix, 0, picw, 0, 0, picw, pich); Presently I am creating bitmap of images only from res/drawable, I want to creat bitmap for any image e.g I have Image in ImageView object (picked from media provider or captured from camera) So how should get bitmap for this image, will you guide me, I am not getting any function from BitmapFactory. My aim is get color array for any image, I am referring this http://www.developer.com/java/j2me/article.php/10934_3748281_3 (download this project from this page Under reference heading) Its tutorial on Image. My main Goal is to just color array of any image (mBitmap.getPixels(pix, 0, picw, 0, 0, picw, pich); here pix is color array) Thank you --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] getting color array of image
I want to create bitmap from ImageView. Will you guide me. Now i am creating bitmap for Images from res/drawable by using Bitmap mBitmap = BitmapFactory.decodeResource(getResources(), R.drawable.pic1); then I am getting color array for this bitmap by using mBitmap.getPixels(pix, 0, picw, 0, 0, picw, pich); Presently I am creating bitmap of images only from res/drawable, I want to creat bitmap for any image e.g I have Image in ImageView object (picked from media provider or captured from camera) So how should get bitmap for this image, will you guide me, I am not getting any function from BitmapFactory. My aim is get color array for any image, I am referring this http://www.developer.com/java/j2me/article.php/10934_3748281_3 (download this project from this page Under reference heading) Its tutorial on Image. My main Goal is to just color array of any image (mBitmap.getPixels(pix, 0, picw, 0, 0, picw, pich); here pix is color array) --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners]
I not able to fine example of find restaurent in mapview does any body hve this example --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] buttons in listview
I have a ListActivity and in each listview item i have textview and a button, when i select an item from the text view the button become visible ( by default it is GONE ) so far so good :). But when the button become visible i can't the select the same item again, the onListItemClick method is not invoked only the button received click events. Who can i know when the item is selected again. Thanks in advance -- When I raise my flashing sword, and my hand takes hold on judgment, I will take vengeance upon mine enemies, and I will repay those who haze me. Oh, Lord, raise me to Thy right hand and count me among Thy saints. --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Linking with a custom View class
Shachar Shemesh wrote: > I think I understand why the confusion. I believe you are talking about > statically linking, while I'm talking about dynamically linking. I am talking about what is possible at the SDK level, which is presumably what you want, since you are on the beginners' list. > My library might grow quite big and will be used by several programs > (distinct programs), and I do not want it to load multiple times. That is a noble goal. Unfortunately, it flies in the face of Android's security architecture, the implementation of Java, and the implementation of Dalvik. > Your > solution would link the library into the APK, which means that if I use > it in two programs, it will be loaded into memory twice. Yes, it will. Each APK needs to be signed and sealed. There is no way in userland that I am aware of to achieve dynamic linking with shared RAM. There may be a way to achieve this via putting your JAR in a modified firmware, as Dalvik does copy-on-write for firmware code, though I am unclear whether that is just for the runtime or if it includes other JARs as well. But, really, your goal should be to keep your library small, and allow apps to statically link with it. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, $35/Year --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Help with Activites
2009/8/18 Neilz > > Where do all the activities go? > > What I mean is... My app contains a list. When I click on an item, I > fire up a new activity. Potentially I could do the same again, and > again. Are all these activities still running? If so, how can I switch > between them, or view a list of which activities are running? I believe that Android (SO) manage the activity itself on the ActivityStack, so the ones that are inactive or stop are killed or asked to close in order to keep a memory manage optimize thats why is strongly advice to save you instance properties remember the Activity LifeCycle you find the answer here http://developer.android.com/reference/android/app/Activity.html > > > If I go back to the main menu and start my app, it behaves as if it's > just started, so there's no evidence of any of the other activities > still running. well this is because you haven't saved your instance values (Bundles) > > > I'm working on the emulator here, naturally. > > > -- Atte [[Jose Luis Ayerdis Espinoza]] http://blognecronet.blogspot.com --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] GPS Question Coord
Hello, i was wondering if you could help me with this question: Is there a way to load default GPS value on my ADV or i have to resend it every time with Emulator Control?? -- Atte [[Jose Luis Ayerdis Espinoza]] http://blognecronet.blogspot.com --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Extremely LONG Emulator load time on Eclipse Galileo and Vista
Hi, I've had the same problem with Vista. If you tap to run conficurations and to Android and after it to run, the Eclipse-console will display what it does. If you are running the emulator the first time it could spend up to 10 minutes. On Aug 17, 7:44 am, bianconeri wrote: > Hi all, > > I am pretty new to Android programming, but I am really keen to get > into it. > > With Eclipse Galileo, the latest SDK 1.5_r3, ADT plugin and Vista OS, > I started with the Hello World sample from Android User Guide website. > What really disappointed me was it took forever to start up the > Emulator. Well, I never had it start up properly actually. > > Eclipse Android Console displays: > [2009-08-17 16:33:22 - HelloAndroid] Android Launch! > [2009-08-17 16:33:22 - HelloAndroid] adb is running normally. > [2009-08-17 16:33:22 - HelloAndroid] Performing > edu.unimelb.helloandroid.HelloAndroid activity launch > [2009-08-17 16:33:22 - HelloAndroid] Automatic Target Mode: launching > new emulator with compatible AVD 'my_avd' > [2009-08-17 16:33:22 - HelloAndroid] Launching a new emulator with > Virtual Device 'my_avd' > [2009-08-17 16:33:23 - HelloAndroid] New emulator found: emulator-5554 > [2009-08-17 16:33:23 - HelloAndroid] Waiting for HOME > ('android.process.acore') to be launched... > > On the Emulator page, it keeps showing "ANDROID_" and nothing > further... > > I am just wondering if there is any step I was missing to make it > startup properly? I did just following the User Guide... > > Could anybody give me a hint? Appreciate it!! > > Alex --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] multiple image attachments
Hi all I'm try to send an email with multiple image attachments.I'm trying to develop an application which has a button and when i click the button mail has to be sent with image attachments. email address is hard coded. If any body knows a solution plz reply 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@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Help with Activites
Where do all the activities go? What I mean is... My app contains a list. When I click on an item, I fire up a new activity. Potentially I could do the same again, and again. Are all these activities still running? If so, how can I switch between them, or view a list of which activities are running? If I go back to the main menu and start my app, it behaves as if it's just started, so there's no evidence of any of the other activities still running. I'm working on the emulator here, naturally. --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: help needed creating a AVD
You need to include the java bin directory in your system path, contrpl panel, system, advanced system settings, some tab, environment variables. Regards Jens On 8 18, 2009 4:16 AM, "Roman ( T-Mobile USA)" < roman.baumgaert...@t-mobile.com> wrote: Try to do a java -version to see whether you have access to your java environment. If not your environment variables are not correctly setup. -- 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 Aug 17, 12:55 pm, automerc wrote: > I just got a new laptop with x64 v... --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: 3 icons for one app
Can you post up your manifest file? On Tue, Aug 18, 2009 at 2:41 AM, tinyang wrote: > I am developing an app and so far it has 3 complete acticities. For some > reason, everytime I install it and run it in my emulator, it creates an icon > for each activity instead of creating only one activity for the app. Is > this because I have intents in my manifest for each activity? Can anyone > advise me as to why this is happening and how to fix it? Thanks. > > -- > J > P Please don't print this e-mail unless you really need to. > > > > --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Could not find anim resource
Hi, I met a strange problem. When I add a layout animation for a gridview by Android Layout Editor in Eclipse, the editor show the following Error Message: *NotFoundException: Could not find anim resource matching value 0x7F04 (resolved name: main_wave_scale) in current configuration.* But when I run the application, it works FINE, including the animation effect. Could anyone help me to get rid of the boring Error Message? As I can't see the visual layout in Editor with the Error Message. -- Extra: Console shows android.content.res.Resources$NotFoundException: Could not find anim resource matching value 0x7F04 (resolved name: main_wave_scale) in current configuration. at com.android.layoutlib.bridge.BridgeResources.throwException(BridgeResources.java:496) at com.android.layoutlib.bridge.BridgeResources.getValue(BridgeResources.java:392) at android.content.res.Resources.loadXmlResourceParser(Resources.java:1796) at android.content.res.Resources.getAnimation(Resources.java:709) at android.view.animation.AnimationUtils.loadLayoutAnimation(AnimationUtils.java:134) at android.view.ViewGroup.initFromAttributes(ViewGroup.java:330) at android.view.ViewGroup.(ViewGroup.java:279) at android.widget.AdapterView.(AdapterView.java:227) at android.widget.AbsListView.(AbsListView.java:501) at android.widget.GridView.(GridView.java:69) at android.widget.GridView.(GridView.java:65) at sun.reflect.GeneratedConstructorAccessor22.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at android.view.LayoutInflater.createView(LayoutInflater.java:499) at android.view.BridgeInflater.onCreateView(BridgeInflater.java:77) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:562) at android.view.BridgeInflater.createViewFromTag(BridgeInflater.java:122) at android.view.LayoutInflater.rInflate(LayoutInflater.java:617) at android.view.LayoutInflater.rInflate(LayoutInflater.java:620) at android.view.LayoutInflater.inflate(LayoutInflater.java:407) at android.view.LayoutInflater.inflate(LayoutInflater.java:296) at com.android.layoutlib.bridge.Bridge.computeLayout(Bridge.java:371) at com.android.ide.eclipse.editors.layout.GraphicalLayoutEditor.computeLayout(Unknown Source) at com.android.ide.eclipse.editors.layout.GraphicalLayoutEditor.recomputeLayout(Unknown Source) at com.android.ide.eclipse.editors.layout.GraphicalLayoutEditor.onXmlModelChanged(Unknown Source) at com.android.ide.eclipse.editors.layout.LayoutEditor.xmlModelChanged(Unknown Source) at com.android.ide.eclipse.editors.AndroidEditor$XmlModelStateListener.modelChanged(Unknown Source) at org.eclipse.wst.sse.core.internal.model.AbstractStructuredModel.fireModelChanged(AbstractStructuredModel.java:553) at org.eclipse.wst.sse.core.internal.model.AbstractStructuredModel.internalModelChanged(AbstractStructuredModel.java:887) at org.eclipse.wst.sse.core.internal.model.AbstractStructuredModel.changedModel(AbstractStructuredModel.java:382) at org.eclipse.wst.xml.core.internal.document.DOMModelImpl.changedModel(DOMModelImpl.java:167) at com.android.ide.eclipse.editors.AndroidEditor.editXmlModel(Unknown Source) at com.android.ide.eclipse.editors.uimodel.UiElementNode.setPropertyValue(Unknown Source) at org.eclipse.ui.views.properties.PropertySheetEntry.valueChanged(PropertySheetEntry.java:782) at org.eclipse.ui.views.properties.PropertySheetEntry.setValue(PropertySheetEntry.java:723) at org.eclipse.ui.views.properties.PropertySheetEntry.applyEditorValue(PropertySheetEntry.java:146) at org.eclipse.ui.views.properties.PropertySheetEntry$1.applyEditorValue(PropertySheetEntry.java:103) at org.eclipse.jface.viewers.CellEditor$1.run(CellEditor.java:333) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.runtime.Platform.run(Platform.java:888) at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48) at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175) at org.eclipse.jface.viewers.CellEditor.fireApplyEditorValue(CellEditor.java:331) at org.eclipse.jface.viewers.DialogCellEditor$2.widgetSelected(DialogCellEditor.java:259) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3880) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3473) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221) at org.ecl
[android-beginners] Re: How to get started with Android programming from scratch? Is it worthwhile to buy a HTC Magic?
It can be used for development, I use mine for that purpuse. You just have to enable USB debuging under settings, and enable installation from other sources than market. Regards Jens On 8 17, 2009 7:24 PM, "bianconeri" wrote: Hi all, I've just downloaded Android SDK 1.5 and finished Eclipse configuration with ADT. So you can say I am very new to this exciting platform. Could anybody please direct me to the correct path to get started to code with Android? I am going to buy a HTC Magic with Three (Melboourne, Australia). I wonder if I can deploy my application on the real device for testing straightaway? Is there anything I need to do before I can do that apart from purchasing it, is the device open for development? I am keen to do some development on Android but I can't actually afford a HTC Magic if it just works as a common mobile phone and cannot be used for development. Appreciate any suggestion!!! Alex --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] android handset in India
hello all I am from india.does anybody have idea from where can get android device? I think huge diff in price.does any body useing it or have we any option of importing unlocked devices? --~--~-~--~~~---~--~~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---