[android-developers] Why Dialer app showing '+1' and '+7' on typing '+01' and '+07'?
Hi, When I type '+01' or '+07' in the Dialer app, it automatically formats the number into '+1' and '+7' respectively. But there are no issues with the other numbers, say '+02'. Any idea why this happens? Is this something related to the country code formatting? AJ -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] How to get manifest values?
Hi I need to get MIME type values from the manifest file in an Activity class. Is there any way to access values from the manifest? Ashok Jeevan +91 9895401278 -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Connection between core Java and Android application
Hi, Is there any method for a program residing in the core layers of Java to access a program which resides at the program level in Android? For example, I am at this location /external/apache-http/src/org/apache/http/impl/client/DefaultHttpClient.java and I need to access Settings(settings.db file to be exact) application in the packages folder. Thanks, Ashok Jeevan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Not finding proxy and port values in the settings.db (Gingerbread)
Hi All, I was trying to add the proxy and the port from the APN settings. After pulling the settings.db, I found that the proxy:port values had not been inserted in the 'secure' or 'system' table. I looked in the above two tables since a lot of web queries showed the query to insert the values into the mentioned tables. On probing the source of Gingerbread, I found out that the values are being stored in the com.android.providers.telephony/telephony.db Is this a change in the Gingerbread or am I getting my research wrong? Ashok Jeevan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Proxy development (in source)
Hi, I am trying to build a proxy for Android in the source and I need to set the proxy option under 'Settings'. After researching in the internet, I found out that there is a 'settings.db' file in /data/data/com.google.android.providers.settings/databases/ path, into which values are inserted into the table named 'system'. This works for the emulator (either by starting the emulator at runtime with parameters or by adb shell). Question is, will the same approach as mentioned above, incorporated into a class file and built into source, be suitable for setting the proxy? If at all, this method is feasible, will the browsers and the other apps which use internet, be able to detect the proxy? Thanks in advance, for any help and suggestions. P.S. I will be flashing the code to a dev phone. Thanks, AJ -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Scrolling issue when using listview with other views
Hi, I have a screen which lists some views on the top part of the activity. I also have a listview which is at the bottom of those views. The issue which I am facing is that I am not getting the screen to scroll as a whole. Instead, the listview at the bottom, which displays contents dynamically, gets scrolled. I initially used ScrollView as the parent view, but later removed it since I found out that there were some issues when using listview inside scrollview. Can anybody help me out with the full screen scroll issue? I don't want the list view to be scrolled. I need the full screen to be scrolled. I am attaching the layout xml file below. ?xml version=1.0 encoding=utf-8? LinearLayout android:id=@+id/LinearLayout01 android:layout_width=wrap_content android:layout_height=wrap_content xmlns:android=http://schemas.android.com/apk/res/android; android:orientation=vertical RelativeLayout android:id=@+id/RelativeLayout01 android:layout_width=fill_parent android:layout_height=fill_parent android:orientation=horizontal ImageView android:id=@+id/ImageView01 android:layout_width=85dip android:src=@drawable/q android:layout_height=wrap_content android:paddingLeft=5px /ImageView !-- categoryLabel textview -- TextView android:layout_height=wrap_content android:layout_width=wrap_content android:layout_below=@+id/ImageView01 android:id=@+id/categorytextview android:paddingLeft=5px/TextView !-- tagLabel textview -- !-- CategoryPopulate textview -- TextView android:layout_toRightOf=@+id/categorytextview android:layout_height=wrap_content android:layout_width=wrap_content android:layout_below=@+id/ImageView01 android:id=@+id/TextView04 android:paddingLeft=5px/TextView TextView android:id=@+id/dateField android:layout_width=wrap_content android:layout_height=wrap_content android:layout_below=@+id/channelBtn android:layout_toRightOf=@+id/ImageView01 android:paddingLeft=5px/TextView RatingBar android:layout_toRightOf=@+id/ImageView01 android:id=@+id/Rating01 android:layout_width=wrap_content android:paddingLeft=5px style=?android:attr/ratingBarStyleSmall android:visibility=visible android:clickable=false android:drawingCacheQuality=low android:paddingTop=5px android:layout_height=15dip android:numStars=5 android:stepSize=1 /RatingBar TextView android:layout_width=wrap_content android:layout_below=@+id/Rating01 android:layout_height=wrap_content android:id=@+id/infoViewCount android:paddingLeft=5px android:layout_toRightOf=@+id/ImageView01/TextView Button android:layout_toRightOf=@+id/ImageView01 android:layout_width=wrap_content android:id=@+id/channelBtn android:layout_below=@+id/infoViewCount android:layout_height=20px android:paddingTop=5px android:paddingLeft=5px android:text=Channel android:height=5px android:gravity=top|fill_horizontal|center|clip_vertical android:lines=1/Button TextView android:layout_toRightOf=@+id/Rating01 android:layout_width=wrap_content android:layout_height=wrap_content android:id=@+id/RatingCount android:layout_marginLeft=25px /TextView /RelativeLayout View android:id=@+id/View01 android:layout_width=fill_parent android:layout_height=1px android:background=# android:paddingTop=15px android:layout_marginTop=5px android:layout_above=@+id/LinearLayout03 / !-- favorite image -- Button android:id=@+id/btnfavoriteimage android:layout_width=wrap_content android:layout_height=wrap_content android:adjustViewBounds=true android:paddingLeft=5px android:paddingTop=5px android:clickable=true android:background=@drawable/untitled2 /Button !-- share image -- Button android:id=@+id/btnshareimage android:layout_width=wrap_content android:layout_height=wrap_content android:adjustViewBounds=true android:paddingLeft=5px android:paddingTop=5px android:clickable=true android:background=@drawable/untitled3 /Button !-- flag image -- Button android:id=@+id/btnflagimage android:layout_width=wrap_content android:layout_height=wrap_content android:adjustViewBounds=true android:paddingTop=5px android:paddingRight=5px android:clickable=true android:background=@drawable/untitled4 /Button /LinearLayout !-- checking out the button with background -- !-- LinearLayout android:id=@+id/LinearLayout03 android:layout_width=fill_parent android:layout_height=fill_parent android:orientation=horizontal android:paddingTop=5px Button android:id=@+id/ButtonWithImage01 android:layout_width=wrap_content android:layout_height=wrap_content android:src=@drawable/untitled android:adjustViewBounds=true android:paddingLeft=5px android:paddingTop=5px android:clickable=true android:background=@drawable/untitled /Button /LinearLayout -- !-- -- View android:id=@+id/View02 android:layout_width=fill_parent android:layout_height=1px android:background=# android:paddingTop=15px android:layout_marginTop=5px / LinearLayout android:id=@+id/LinearLayout03 android:layout_height=fill_parent android:background=@drawable/untitled5 android:layout_width=fill_parent android:gravity=center_vertical android:paddingTop=5px
[android-developers] RatingBar onClick not being recognized in AlertDialog
Hi, I am implementing a RatingBar in an AlertDialog, but I am not able to implement rating using it. I have tried RatingBar.setOnRatingBarChangeListener(), but that isn't creating any listener events. I am posting a code snippet below which shows how I have implemented RatingBar in an AlertDialog. RatingBar is created in an xml file called ratingalertdialog.xml. AlertDialog.Builder builder; AlertDialog alertDialog; Context mContext = getApplicationContext(); LayoutInflater inflater = (LayoutInflater) mContext.getSystemService(LAYOUT_INFLATER_SERVICE); View layout = inflater.inflate(R.layout.ratingalertdialog, (ViewGroup) findViewById(R.id.layout_root)); builder = new AlertDialog.Builder(this); builder.setView(layout); RatingBar rB = (RatingBar)findViewById(R.id.Rating01); rB.setOnRatingBarChangeListener(new OnRatingBarChangeListener() { @Override public void onRatingChanged(RatingBar ratingBar, float rating, boolean fromUser) { // TODO Auto-generated method stub Log.i(rating bar,change listener); } }); alertDialog = builder.create(); alertDialog.show(); ratingalertdialog.xml ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/android; android:id=@+id/layout_root android:orientation=vertical android:layout_width=fill_parent android:layout_height=fill_parent android:layout_marginBottom=25px TextView android:id=@+id/text android:layout_width=wrap_content android:layout_height=wrap_content android:textColor=#FFF android:text=Rate this video android:layout_gravity=center_horizontal / RatingBar android:id=@+id/Rating01 android:layout_width=wrap_content android:visibility=visible android:clickable=true android:drawingCacheQuality=low android:paddingTop=5px android:numStars=5 android:layout_gravity=center_horizontal android:focusable=true android:focusableInTouchMode=true android:layout_height=fill_parent style=?android:attr/ratingBarStyle android:scrollbarSize=10px android:stepSize=0.5 /RatingBar /LinearLayout The above snippet runs fine, but there is no listener activity. How to implement the RatingBar onClickEvent in the AlertDialog? Do I need to implement some other listeners to make it work? Thanks Ashok -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Implement seek bar for playing videos
Hi, I want something similar to the Youtube player where the user is able to scroll the thumb of the seek bar, so that the video starts playing from the position of the thumb. Right now, in my app, I am able to move the thumb of the seekbar forward and backward, but the video is not playing accordingly. Has implemented the OnSeekBarChangeListener and handled onProgressChanged() Thanks On Fri, Oct 1, 2010 at 12:00 PM, Nightwolf mikh...@gmail.com wrote: Implement OnSeekBarChangeListener for your seekBar and handle onProgressChanged(). On Oct 1, 8:51 am, Ashok Jeevan ashokjee...@gmail.com wrote: Hi, I am using seekBar to show the progress of the video which I implemented using Media Player / Video View. But as the thumb of the seekBar is moved back and forth, the video is not starting correspondingly from the position of the thumb. Is there any way to locate the position of the thumb so that the video can load from the seekBar's thumb's position? Thanks -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Implement seek bar for playing videos
Hi Doug, Thanks for the info. Let me check whether there is any call back listener associated with seekBar. If I do face any issues, I will surely post again. Thanks On Fri, Oct 1, 2010 at 3:03 PM, Doug beafd...@gmail.com wrote: On Sep 30, 9:51 pm, Ashok Jeevan ashokjee...@gmail.com wrote: Is there any way to locate the position of the thumb so that the video can load from the seekBar's thumb's position? Doesn't SeekBar expose a callback listener to determine when its position has been changed? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Implement seek bar for playing videos
Hi, I am using seekBar to show the progress of the video which I implemented using Media Player / Video View. But as the thumb of the seekBar is moved back and forth, the video is not starting correspondingly from the position of the thumb. Is there any way to locate the position of the thumb so that the video can load from the seekBar's thumb's position? Thanks -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] How to parse the xml from a httpresponse?
Hi , I have two queries based on XML parsing which comes as httpresponse. I am sending an httprequest to a site with a GET header. The response I expect is to be in XML. First, I need to know whether I am getting XML as the httpresponse. Is there any method which checks whether the received response is in XML or not? Second, I need help in parsing the XML which I get from the httpresponse. I am pasting a code snippet here which I have written : URL url = new URL(uri); //url URLConnection conn = url.openConnection(); HttpURLConnection httpcon = (HttpURLConnection)conn; httpcon.setRequestMethod(GET); httpcon.setDoInput(true); httpcon.setDoOutput(true); httpcon.setRequestProperty(, ); //request header SAXParserFactory spf = SAXParserFactory.newInstance(); SAXParser sp = spf.newSAXParser(); XMLReader xr = sp.getXMLReader(); MySAXHandler xmlhandler = new MySAXHandler();//xml parsing file xr.setContentHandler(xmlhandler); //from here, i need to parse the xml from httpresponse, but dunno whether this code is right InputStream is = conn.getInputStream(); xr.parse(new InputSource(is)); ArrayListStoreClass arr = xmlhandler.getParsedData(); //for storing the elements in XML Can you guys look at the above code and tell me how to get the xml data from the httpresponse? Thanks, Ashok Jeevan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] 2.2 Google Api emulator not booting up
Hi, I just wrote a test app and deployed it via Google Api 2.2 emulator version 8. The emulator is running and the Android logo comes. But after that, no progress. When I checked the log, it shows a MountService with message 'waiting too long for mReady!' What should be done inorder to boot the emulator? Ashok Jeevan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Installing mysql, apache servers in Android
Hi, Is it possible to install MySQL and Apache servers on an Android device? One of the requirement was that the Android app has to communicate with a local server via Wifi (via browser for accessing PHP pages). Instead of that, the whole server side (including MySQL, Apache), has to be transferred and hosted on the Android device, so that the device doesn't have to use the Wifi. Is this possible? Thanks, Ashok -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Unable to add jars into dex
Hi, D:\softwares\android\android-sdk-windows-1.5_r3\platforms\android-1.5\toolsdx - -dex --output=classes.dex osgi-android\bundle\org.apache.felix.shell-1.0.2.jar warning: Ignoring InnerClasses attribute for an anonymous inner class that doesn 't come with an associated EnclosingMethod attribute. (This class was probably p roduced by a broken compiler.) D:\softwares\android\android-sdk-windows-1.5_r3\platforms\android-1.5\toolsaapt add osgi-android\bundle\org.apache.felix.shell-1.0.2.jar classes.dex 'classes.dex'... Unable to add 'classes.dex' to 'osgi-android\bundle\org.apache.felix.shell-1.0.2 .jar': already exists in archive Does anybody know this issue? Ashok Jeevan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Boot screen customization on Android 1.5
Hi, I need to change the Android boot screen logo in an Android 1.5 device. But, I think the device is locked, as I can't uninstall any applications from 'Manage Application', since there is no 'Uninstall' button. Only 'Force Stop' button is there. Is it possible to change the boot screen when the device is locked? Ashok Jeevan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] How to hide the status bar when using WebView?
Hi, Thanks Mark, for your clarification. The status bar needs to be hidden when I am browsing a web page(the page which I am viewing has to be full screen). Since I am using WebView, this is not possible. Are there any other solutions? Ashok Jeevan +91 9895401278 On Sun, May 16, 2010 at 11:12 PM, Mark Murphy mmur...@commonsware.comwrote: Ashok Jeevan wrote: Hi, I am creating a WebView which is being launched from an activity named StartUpActivity.java. My intention is to hide the status bar at the top when the WebView comes to the front, so that the WebView remains full screen (no status bar). I can hide the status bar when I launch an activity using this code : getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,WindowManager.LayoutParams.FLAG_FULLSCREEN ); Is there any way to hide the status bar when using WebView? WebView is not an activity. WebView is a widget. Hence, your existing code will work for an activity that hosts a WebView. A better approach, though, is to use: android:theme=@android:style/Theme.NoTitleBar.Fullscreen in your activity element in your manifest. If, by I am creating a WebView which is being launched..., you really mean that you are launching the built-in Browser application, then you cannot affect the status bar, since that is not your application. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Consulting: http://commonsware.com/consulting -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] How to hide the status bar when using WebView?
Hi, I am creating a WebView which is being launched from an activity named StartUpActivity.java. My intention is to hide the status bar at the top when the WebView comes to the front, so that the WebView remains full screen (no status bar). I can hide the status bar when I launch an activity using this code : getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,WindowManager.LayoutParams.FLAG_FULLSCREEN ); Is there any way to hide the status bar when using WebView? Thanks, Ashok Jeevan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: How to disable home and other buttons so as to persist an app?
Hi, Thanks Mr Romain Guy, for the information. @Mike dg : The requirement is that one app has to be loaded at startup which displays a browser with a specified URL. And one of the requirement is that whatever buttons the user presses or clicks, the browser shouldn't exit. The browser with the specified URL should be the only app that the user has access to. Since the 'Home' button on being pressed, exists the application, the above requirement can't be implemented. Ashok Jeevan +91 9895401278 On Thu, May 6, 2010 at 8:00 PM, Mike dg vinb...@gmail.com wrote: What are you trying to do? You could see that tons of things could go wrong with an app that runs on boot and doesn't allow you to get away. -Mike dg On May 6, 3:07 am, Ashok Jeevan ashokjee...@gmail.com wrote: Hi guys, I am building an app which uses a WebView. This app runs at startup. Is there a way to maintain the app running(persists) even if the user presses the 'Home' or 'Back' button? In other words,pressing the 'Home', 'Back' or the other buttons shouldn't close the activity. Ashok Jeevan +91 9895401278 -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group athttp:// groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] How to disable home and other buttons so as to persist an app?
Hi guys, I am building an app which uses a WebView. This app runs at startup. Is there a way to maintain the app running(persists) even if the user presses the 'Home' or 'Back' button? In other words,pressing the 'Home', 'Back' or the other buttons shouldn't close the activity. Ashok Jeevan +91 9895401278 -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Got InflateException in my MapView xml file
Did you add the permission(s) like 'INTERNET' in the manifest file? If no, you have to give the permission to access the internet. On Fri, Jul 10, 2009 at 1:37 PM, Victor Lin borns...@gmail.com wrote: Hi, I am building a application that use MapView. This is the map.xml file I create in layout folder: ?xml version=1.0 encoding=utf-8? RelativeLayout xmlns:android=http://schemas.android.com/apk/res/ android android:id=@+id/MapLayout android:orientation=vertical android:layout_width=fill_parent android:layout_height=fill_parent com.google.android.maps.MapView android:id=@+id/MapView android:layout_width=fill_parent android:layout_height=fill_parent android:clickable=true android:apiKey=** / /RelativeLayout And I set it as content view in onCreate: setContentView(R.layout.map); Then once I start up the program, I got a exception: android.view.InflateException: Binary XML file line #8: Error inflating class java.lang.reflect.Constructor I do add uses library in manifest. It seems there is nothing wrong in xml file. What am I doing wrong? How to fix it? Thanks. Victor Lin. -- Ashok Jeevan +91 9895401278 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: API google map key
Just go to command prompt in Vista and then type the 'keytool' command. If it works, punch in the full command. If it doesn't you have to set the path as mentioned in the Android documentation. P.S. Better type the keytool command in one single line... On Thu, Jul 9, 2009 at 5:43 PM, sweet junkbr...@gmail.com wrote: Hi Everyone I'm begining in android developement and at that time I work in the API google map tutorial. In this tutorial they said : Once you have located the keystore, use this Keytool command to get the MD5 fingerprint of the debug certificate: $ keytool -list -alias androiddebugkey \ -keystore path_to_debug_keystore.keystore \ -storepass android -keypass android But I don't understand where I can run this command ??? PS: I know it's depressing but i work in Vista ... If anyone could help me please. Thanks -- Ashok Jeevan +91 9895401278 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Gallery tutorial issue
Hi, On trying out the 'Gallery' code given in the documentation along with the Android 1.5, an error shows up on the 'android.R.stylable.' line, saying that it cannot be resolved. Is there a way to get around this problem? Thanks, Ashok --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: simple demo multiple alarms
Hi,Try using am.set(AlarmManager.RTC_WAKEUP, System.currentTimeMillis()+(delay * 1000) , sender); This will set the alarms according to the delay that you specify. On Sun, Apr 26, 2009 at 3:42 PM, guruk ilovesi...@gmail.com wrote: Hi, i like to create multiple alarms, but i does not work. how to set and how to request in my receiver what alarm intent came activated in my alarm.java i call this function like: setalarm(5); setalarm(10) (it works but only remember the last) public void setalarm(int delay) { Intent intent = new Intent(alarm.this, alarmreceiver.class); PendingIntent sender = PendingIntent.getBroadcast(alarm.this, 0, intent, 0); intent.setData((Uri.parse(custom://+delay))); i heared about this would make individual alarms.. but does not work Calendar calendar = Calendar.getInstance(); calendar.setTimeInMillis(System.currentTimeMillis()); calendar.add(Calendar.SECOND, delay); intent.putExtra(avr, +delay); //i tried to set my data here to read later, but also does not work AlarmManager am = (AlarmManager)getSystemService (ALARM_SERVICE); am.set(AlarmManager.RTC_WAKEUP, calendar.getTimeInMillis(), sender); //Toast.makeText(this, Alarm set, Toast.LENGTH_LONG).show (); } my alarmreceiver.java public class alarmreceiver extends BroadcastReceiver { NotificationManager mNM; @Override public void onReceive(Context context, Intent intent) { Uri ursistr = intent.getData(); String intentstr = intent.getStringExtra(avr); //does not get the saved intentextra?! Toast.makeText(context, GOT IT :+intentstr+ +ursistr, Toast.LENGTH_SHORT).show(); } greets chris --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---