[android-developers] Re: HD Displays and JavaBinder: !!! FAILED BINDER TRANSACTION !!!
@BelvCompScs I'm sorry but I don't understand your reply. What did you want to say? Is it related to my question? How do you think I have to implement it? On Nov 22, 5:53 am, BelvCompSvs fa829...@gmail.com wrote: if you really want to have some fun go listen to Brad Fitzpatrick at the video tab of developer.android ~ then if you agree in principle with general concept of where he tries to go with the discussion consider writing correct code for your apps and do not engage lookbacks . I am not going against what you say On Nov 21, 4:54 am, Tomá¹ Hubálek tom.huba...@gmail.com wrote: Hello, my app Make Your Clock Widget (https://market.android.com/details? id=net.hubalek.android.makeyourclock.pro) is generating widget content as custom drawn bitmap. As you probably know there is (not specified in documentation but existing) limit on size of bitmap sent via RemoteViews. It was possible to live with it (I just didn't allow bigger widgets) but with HD displays this stops working as even 4x2 widget contains too big bitmap as 294 wide * 146 high * 1.6^2 (density of SGS display) was bellow limit but 294 * 146 * 1.97^2 (density of Galaxy Nexus) is above limit. There exist following workarounds but I'm not happy with them: 1) Create bitmap with Config.ARGB_?This causes banding for gradients and also antialiasing does not look superior. And also Config.ARGB_ is deprecated. 2) Generate bitmap in lower resolution and let layout upscale bitmap to appropriate size? This counteracts to idea of HD displays that should provide superior graphics quality 3) Created content provider that provides bitmap for RemoveViews bitmap and use method setImageViewUri()? BTW: Splitting bitmap into multiple chunks does now work as undocumented limit is for whole RemoteView update. So my questions/conclusions: 1) What Google recommends to do? - Don't allow smaller widgets than 4x2 for HD displays? - Render them in poor quality? - Use content provider? 2) I'm really unhappy with widgets API and behavior Why widget behavior didn't change since Android 1.5 when there was single core/MDPI only devices. It reminds me Bill Gate's 640 kB or RAM is enough :-/ Why I don't get any Exception when something fails? Why there is only LogCat message that can't be handled correctly? Why there is not meaningful documentation about setImageBitmap() method limitations in JavaDoc? Thanks Tom -- 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 triger Google Places details activity?
Hello, Is there a way to start the build-in activity for displaying Google Places Details with Intent? My use case is the following: I want to display my list of points of interest on a MapView and when clicking on the OverlayItem to start the Place Details activity. The behavior should be similar to the Maps application. An alternative implementation would be using the Maps application for displaying my POIs but I have no control on the search result of the Maps query. Is there a way use the Maps application to display list of points, but not giving a search query? Best Regards, Kamen Goranchev -- 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] calviling webservice
hi, check this link http://www.codeproject.com/KB/android/webservice-from-android.aspx 2011/11/16 Nicolás Mariano Obregón nmobre...@gmail.com Hi jaggu, first of all, to consume a WebService you need the *Ksoap2 *library. After you get it just check for a simple tutorial on how to use it and that's it. It's quite easy. A personal recommendation, use serialization tools like *xstream *to send and receive java objects serialized as xml instead of using KVMSerializable interface because it sucks! I hope this works for you. Saludos.- __ Nicolás Mariano Obregón nmobre...@gmail.com http://ar.linkedin.com/in/nmobregon http://www.facebook.com/nmobregon http://www.facebook.com/nmobregon 2011/11/15 jaggu mjagadeeshb...@gmail.com Hi how to call webservece in android inside the activity when on click listener -- 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 -- 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 -- Thanks Regards, Sawan Darekar. Software Developer AlphaBricks Technologies Pvt. Ltd. Pune, India www.alphabricks.com *Please don't print this Email unless you really need to - this will preserve trees on planet earth* This communication may contain privileged and/or confidential information. It is intended solely for the use of the addressee. If you are not the intended recipient, you are strictly prohibited from disclosing, copying, distributing or using any of this information. If you received this communication in error, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. -- 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] HTC desire HD + List + password masking - crash issue
I'm facing issue on edittext with password. It was working fine in my HTC desire 2.2, once it upgraded to 2.3.3 error is coming. I've 1 application with List, once you click on list it will display edit text to enter value. Once you type value, and clicked on OK button, value will append with List. This is general way of working Problem one of my list item is password, when u click on that list item, edit text will appear, but as password text box, But after upgrade i'm facing issue, now when i'm clicking list, (outside the text), it is reloading the entire page, and crashing, log saying null pointer, But if i'm clicking on text of list, it is working fine for me. it is also working properly in 2.3 nexus, sony 2.3 and other 2.3 device. please help me. 8 13:51:29.117 D/SettingActivity( 3910): Showing the entire list - Server Setting 11-18 13:51:29.117 D/SettingActivity( 3910): Start Masking the Activation Code field 11-18 13:51:29.117 D/SettingActivity( 3910): Showing the entire list - Server Setting 11-18 13:51:29.117 D/SettingActivity( 3910): Start Masking the Activation Code field 11-18 13:51:29.127 D/SettingActivity( 3910): Showing the entire list - Server Setting 11-18 13:51:29.127 D/SettingActivity( 3910): Start Masking the Activation Code field 11-18 13:51:29.127 D/SettingActivity( 3910): Showing the entire list - Server Setting 11-18 13:51:29.137 D/SettingActivity( 3910): Start Masking the Activation Code field 11-18 13:51:29.137 D/SettingActivity( 3910): Showing the entire list - Server Setting 11-18 13:51:29.137 D/SettingActivity( 3910): Start Masking the Activation Code field 11-18 13:51:29.137 I/MocaLog ( 3910): 18T135129, T3, MocaClient connection status changed: CONNECTED delay = 0 11-18 13:51:29.147 I/MocaLog ( 3910): 18T135129, T3, MocaClient onConnectStatus: CONNECTED 11-18 13:51:29.147 I/MocaLog ( 3910): 18T135129, T3, Applog Status - 13:51:29 Connected to Server 11-18 13:51:29.157 I/MocaLog ( 3910): 18T135129, T3, Connected. 11-18 13:51:29.157 D/SettingActivity( 3910): State Change 11-18 13:51:29.157 D/SettingActivity( 3910): Showing the entire list - Server Setting 11-18 13:51:29.167 D/SettingActivity( 3910): Start Masking the Activation Code field 11-18 13:51:29.167 I/MocaLog ( 3910): 18T135129, T4, process client queue - sending request to server. RequestID=65 11-18 13:51:29.417 E/SurfaceFlinger( 1324): layer=0xcd2740 is not in the purgatory list 11-18 13:51:29.417 E/SurfaceFlinger( 1324): layer=0x8fb768 is not in the purgatory list 11-18 13:51:29.427 I/ActivityManager( 1324): Displayed com.sybase.mo/.SettingsActivity: +398ms 11-18 13:51:29.437 D/iAnywhereSuperActivity( 3910): Inside onStop 11-18 13:51:29.877 I/dalvikvm( 3910): Total arena pages for JIT: 11 11-18 13:51:29.907 D/dalvikvm( 3910): GC_CONCURRENT freed 321K, 45% free 3434K/6215K, external 0K/0K, paused 6ms+3ms 11-18 13:51:30.017 D/AndroidRuntime( 3910): Shutting down VM 11-18 13:51:30.017 W/dalvikvm( 3910): threadid=1: thread exiting with uncaught exception (group=0x4001d5a0) 11-18 13:51:30.017 D/ForceCloseHandler - SettingActivity( 3910): Inside unCaugthException Handler 11-18 13:51:30.017 D/ForceCloseHandler - SettingActivity( 3910): *** FATAL EXCEPTION IN SYSTEM PROCESS: main 11-18 13:51:30.017 D/ForceCloseHandler - SettingActivity( 3910): java.lang.NullPointerException 11-18 13:51:30.017 D/ForceCloseHandler - SettingActivity( 3910): at android.widget.TextView.onTouchEvent(TextView.java:7429) 11-18 13:51:30.017 D/ForceCloseHandler - SettingActivity( 3910): at android.view.View.dispatchTouchEvent(View.java:3932) 11-18 13:51:30.017 D/ForceCloseHandler - SettingActivity( 3910): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:906) 11-18 13:51:30.017 D/ForceCloseHandler - SettingActivity( 3910): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:906) 11-18 13:51:30.017 D/ForceCloseHandler - SettingActivity( 3910): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:906) 11-18 13:51:30.017 D/ForceCloseHandler - SettingActivity( 3910): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:906) 11-18 13:51:30.017 D/ForceCloseHandler - SettingActivity( 3910): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:906) 11-18 13:51:30.017 D/ForceCloseHandler - SettingActivity( 3910): at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:1752) 11-18 13:51:30.017 D/ForceCloseHandler - SettingActivity( 3910): at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1142) 11-18 13:51:30.017 D/ForceCloseHandler - SettingActivity( 3910): at android.app.Activity.dispatchTouchEvent(Activity.java:2141) 11-18 13:51:30.017 D/ForceCloseHandler - SettingActivity( 3910): at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:1727) 11-18 13:51:30.017 D/ForceCloseHandler - SettingActivity( 3910): at
[android-developers] generating 1d barcode
Hi Friends, How can i generate barcodes in android? I tried java version of barcode4j but it uses awt components. -- 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] Can we implement “DigitalClock” widget by using separate images for each number?
Actually I want to implement the DigitalClock widget by using separate images for each number. e.g.:- For time - *01:23*, I have to use separate image for '0', '1', '2, '3'. Is it possible? If possible, then please provide some reference to implement it. Any help in this regard will be well appreciated. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe 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 decompose .apk file
yes I want to extract java files from .apk but when i use Win Rar or 7zip its extract only folowing files: - META-INF - res - AndroidManifest.xml - classes.dex - resources.arsc i think java files are in classes.dex file but how to extract it and get main coding file? -- 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: NoClassDefFoundError
paste the code... -- 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 decompose .apk file
procedure to decoding .apk files---step wise method-- step 1: = make a new folder and put .apk file (which you want to decode) now rename this .apk file with extension .zip (eg:rename from filename.apk to filename.apk.zip) and save it..now you get classes.dex files etc...at this stage you are able to see drawable but not xml and java file... so cont... step 2: === now extract this zip apk file in the same folder(in this eg or case NEW FOLDER). now dowmload dex2jar from this link http://code.google.com/p/dex2jar/ and extract it to the same folder (in this case NEW FOLDER).now open command prompt and reach to that folder (in this case NEW FOLDER)after reaching write dex2jar classes.dex and press enter.now you get classes.dex.dex2jar file in the same folder..now download java decompiler from http://java.decompiler.free.fr/?q=jdgui and now double click on jd-gui and click on open file then open classes.dex.dex2jar file from that folder...now you get class file...save all these class file (click on file then click save all sources in jd-gui)..by src nameat this stage you get source...but xml files are still unreadable...so cont... step 3: = now open another new folder and put these files put .apk file which you want to decode download apktool using google and put in the same folder download framework-res.apk file using google and put in the same folder Open a command window Navigate to the root directory of APKtool and type the following command: apktoolif framework-res.apk apktool d fname.apk (fname denotes filename which you want to decode) now you get a file folder in that folder and now you can easily read xml files also. step 4: = it's not any step just copy contents of both folder(in this case both new folder)to the single one and now enjoy wid source code... -- 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: Can we implement “DigitalClock” widget by using separate images for each number?
Actually, I have to include Digital minutes inside the dial of the AnalogClock widget. Currently I have implemented Digital minutes with the help of textview updating the textview with updateAppWidget(). But I want to display Digital minutes with separate image for each digit. -- 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 decompose .apk file
nice site http://apkdecompile.com/ Thank u all friends...:) -- 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] Android market Payment System
Hi GoogleGroups, We are planning to develop an App. The application is downloadable for free and after the app is installed, the user has to pay to take each test which differs in pricing. please suggest if this is feasible to be done.if it is possible let me know how this could be accomplished. Thanks and Regards, A. Subhashini -- 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 decompose .apk file
cmd prompt command dex2jar classes.dex or dex2jar classes.dex show error: *java is not recognized as an internal or external command, operable program or batch file.* -- 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 pass a web link to a button.
When the button is clicked (e.g., android:onClick attribute), call startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(url))); where url is the URL you want to link to. -- 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] Programatically adding a contact issue
Hi all, I am developing a Backup restore app for contacts.There is this device HTC Desire which has Birthday and Anniversary Fields which are not present on my devices.For each field i apply ContentProviderOperation.newInsert() and finally ContentProviderResult[] res = contentResolver.applyBatch( ContactsContract.AUTHORITY, valueArray); I need to know which fields were inserted correctly like if a Device does not have a Birthday field in Contact , i shd understand that.How do i come to know whether a certain field was inserted correctly or not. Another way is to find out at runtime which all fields of Contacts are present on a device.Is there any way to find that out ? Please let me know your thoughts. Regards, Alok -- 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: android builtin listview widget and fixed headers
I understand that i have to implement my own custom listivew to enable both horizontal and vertical scrolling . But here i need to freeze some of the columns say i am trying to develop a cross table widget . I am looking for ideas here how to fix the header and scroll the items in the table. Fix /freeze the left most column and able to scroll the columns horizontally . I will be implementing my own recycling logic for efficiency /reuse of views. Thanks, dav. On Nov 21, 6:01 pm, Mark Murphy mmur...@commonsware.com wrote: On Mon, Nov 21, 2011 at 1:19 AM, Dav sweetcha...@gmail.com wrote: I was trying to go through the code of androidlistview. core/java/ android/widget/HeaderViewListAdapter.java core/java/android/widget/ ListView.java Its bit difficult to figure out how exactly the items go below the headerwhen you are scrolling,how exactly the headerview remains fixed. Can anyone give a brief explanation of it ? Theheaderview does not remainfixed. Theheaderview is simply a row of the list that is not supplied by your adapter, appearing above all other rows. I am trying to buildfixedheaders both vertically and horizontally for a customlistview. ListViewdoes not scroll horizontally. -- Mark Murphy (a Commons Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, One Low Price! -- 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: to start an activity
Check the signatures for onCreate/onStart/onRestart/onResume/onPause/ onStop/onDestroy; they are all protected! Which means you cannot call them manually yourself. All you can do is to start an activity (e.g. startActivity(new Intent(context, YourActivity.class))) or to finish the activity (activity.finish()). When you start another activity, the workflow for your current activity for pausing/stopping/destroying it executes automatically. You shouldn't need to call any of the activity workflow methods manually. If you think you need, probably your understanding of the framework is not right. - Ali Chousein Weather-Buddy http://weatherbuddy.blogspot.com | http://twitter.com/weather_buddy Geo-Filtered Assistant http://geo-filtered-assistant.blogspot.com https://marketplace.cisco.com/apphq/store/products/994 -- 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: XML file parsing ............
For parsing your XML you can use SAX parser. Google for Java SAX parser example. The rest of your questions, I'm sorry I don't understand. - Ali Chousein Weather-Buddy http://weatherbuddy.blogspot.com | http://twitter.com/weather_buddy Geo-Filtered Assistant http://geo-filtered-assistant.blogspot.com https://marketplace.cisco.com/apphq/store/products/994 On Nov 20, 9:54 am, parth hargan parthhar...@gmail.com wrote: friends i am having am URL, from which i would get XML code and need to parse it to extract details from it . can any one help me for the same that how to fire url and where to store the returend xml code and how to parse it thank you -- 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] VPN on android
Hi all, I have to setup VPN client and server on android,what are the steps to create this in my source code. please tell me the procedure so that i can develop my own client and server to communicate through VPN. thanks Chandra -- 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: Want to develop Android app for Garmin Connect
Just checked what Garmin connect is. Try to talk to their online interface with HTTP GET and HTTP POST requests. Check the documentation for the Garmin connect API about how to interact with their interface. Your question is not specific to Android, it's about programming against RESTful interfaces or web services. - Ali Chousein Weather-Buddy http://weatherbuddy.blogspot.com | http://twitter.com/weather_buddy Geo-Filtered Assistant http://geo-filtered-assistant.blogspot.com https://marketplace.cisco.com/apphq/store/products/994 On Nov 18, 8:24 am, ALi omaisat...@gmail.com wrote: Hi, i want to develop Android app for Garmin connect but i have not find api from Garmin for Android, and i want to capture data from Garmin connect to Android, please help me by giving Suggestion that how should i approach for this task. THanks in Advance. -- 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: How come there is no PROFILE specific URI for raw contact data in the contact api?
Once I wrote a blog about CONTACT_ID and RAW_CONTACT_ID. Maybe you'll find it useful: http://android-contact-id-vs-raw-contact-id.blogspot.com/ - Ali Chousein Weather-Buddy http://weatherbuddy.blogspot.com | http://twitter.com/weather_buddy Geo-Filtered Assistant http://geo-filtered-assistant.blogspot.com https://marketplace.cisco.com/apphq/store/products/994 -- 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: Action Bar
Mark, Perhaps I could ask for an opinion here. I was intending to publish two version of an App, one pre-honeycomb and one honeycomb and beyond. With respect to the honeycomb devices I will be using Theme android:Theme.Holo. Bearing in mind ICS upcoming devices, do you consider it safe to assume that if a particular device does not show a menu icon in the ActionBar then it will definitely put a menu icon somewhere else? I do not see this in the emulators I have tested but then again the emulators do not show what hardware buttons may be available. I am wary of delivering an App and finding that some users are locked out of the Apps options (also worth noting that on these devices there is no back icon either). I could always put up a menu button of my own but I would like to follow the flow of the platform if possible. Regards Roy On Nov 21, 2:20 pm, Mark Murphy mmur...@commonsware.com wrote: On Mon, Nov 21, 2011 at 9:12 AM, Royston roystonpcar...@gmail.com wrote: Mark, I have set the api version to 14 and also set targetSdk to 14 in the manifest, using Holo theme. On a normal size ICS device I get an Actionbarwithout menu, I do get a navigationbarbut there is no access to menu there. Looks like it must still be expecting a hardware menu on such a device? I've been somewhat confused over the emulator behavior in this area as well. I was just leaving the issue alone until I got access to hardware and could see what really happens. -- Mark Murphy (a Commons Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, One Low Price! -- 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] sending message
Hi all, Can any one plz suggest me how to send sms and email using android app. any help will be appreciated. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe 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] sending message
Open the SMS and/or email app, type out your message and send it. Thanks On Tue, Nov 22, 2011 at 4:52 PM, Narendra Singh Rathore nsr.curi...@gmail.com wrote: Hi all, Can any one plz suggest me how to send sms and email using android app. any help will be appreciated. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe 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 -- Raghav Sood http://www.androidactivist.org/ - Author http://www.appaholics.in/ - Founder -- 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: Activity animation
I've tried various combinations yes, but the departing activity always just goes 'phhh' :) On Nov 21, 10:28 pm, TreKing treking...@gmail.com wrote: On Mon, Nov 21, 2011 at 12:04 PM, Neilz neilhorn...@gmail.com wrote: The function *is* being called on the new activity. It's when the user clicks 'back' and the activity disappears, that I want to add an exit animation. Let me rephrase - did you try calling that method on *both* activities or just one? - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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: Activity animation
You are supposed to set the animations once, after having called finish() on the exiting activity. Make sure to set the parameters correctly - one is the exit animation for activity we're exiting, the other is the entry animation for the activity we're entering. Oh, and it definitely does work. I use it to set both animations to null to get the illusion of updating data inside the activity, whereas the code actually finishes the current activity and starts a new one with new data. -- Kostya 2011/11/22 Neilz neilhorn...@gmail.com: I've tried various combinations yes, but the departing activity always just goes 'phhh' :) On Nov 21, 10:28 pm, TreKing treking...@gmail.com wrote: On Mon, Nov 21, 2011 at 12:04 PM, Neilz neilhorn...@gmail.com wrote: The function *is* being called on the new activity. It's when the user clicks 'back' and the activity disappears, that I want to add an exit animation. Let me rephrase - did you try calling that method on *both* activities or just one? - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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 -- 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: Action Bar
On Tue, Nov 22, 2011 at 6:19 AM, Royston roystonpcar...@gmail.com wrote: Bearing in mind ICS upcoming devices, do you consider it safe to assume that if a particular device does not show a menu icon in the ActionBar then it will definitely put a menu icon somewhere else? I guarantee you that every device has a standard way of getting at options menus. I do not guarantee you that any given app will necessarily work, at least until I see a Galaxy Nexus (and, ideally, see ICS on a phone with a dedicated MENU button as well). It *should* work without modifications, or else Google would be jumping up and down, waving its hands, telling us changes that we would need to make to our apps. However, I can't tell you precisely what the behavior is on hardware until I see hardware. It's soon getting to the point where I need to hop a flight to London just to pick up one of the damn things... I do not see this in the emulators I have tested but then again the emulators do not show what hardware buttons may be available. I am wary of delivering an App and finding that some users are locked out of the Apps options (also worth noting that on these devices there is no back icon either). I could always put up a menu button of my own but I would like to follow the flow of the platform if possible. If you need to release within the next few weeks, consider temporarily adding maxSdkVersion=13 to your manifest, so you do not show up on the Market for ICS devices. Then, once the dust has settled from all of this, you can remove that restriction. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to *Advanced* Android Development_ Version 2.1 Available! -- 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: android builtin listview widget and fixed headers
There was another developer on this list in the past few months attempting to pull off the same thing, with several posts along the way. You might search the archives to find those. On Tue, Nov 22, 2011 at 5:23 AM, Dav sweetcha...@gmail.com wrote: I understand that i have to implement my own custom listivew to enable both horizontal and vertical scrolling . But here i need to freeze some of the columns say i am trying to develop a cross table widget . I am looking for ideas here how to fix the header and scroll the items in the table. Fix /freeze the left most column and able to scroll the columns horizontally . I will be implementing my own recycling logic for efficiency /reuse of views. Thanks, dav. On Nov 21, 6:01 pm, Mark Murphy mmur...@commonsware.com wrote: On Mon, Nov 21, 2011 at 1:19 AM, Dav sweetcha...@gmail.com wrote: I was trying to go through the code of androidlistview. core/java/ android/widget/HeaderViewListAdapter.java core/java/android/widget/ ListView.java Its bit difficult to figure out how exactly the items go below the headerwhen you are scrolling,how exactly the headerview remains fixed. Can anyone give a brief explanation of it ? Theheaderview does not remainfixed. Theheaderview is simply a row of the list that is not supplied by your adapter, appearing above all other rows. I am trying to buildfixedheaders both vertically and horizontally for a customlistview. ListViewdoes not scroll horizontally. -- Mark Murphy (a Commons Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, One Low Price! -- 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 -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to *Advanced* Android Development_ Version 2.1 Available! -- 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] Location Manager
On Tue, Nov 22, 2011 at 1:30 AM, Siva Prakash siva.yuvan2...@gmail.com wrote: - Will it work though I close my application ? Briefly, until Android gets rid of your process, AFAIK. This is bad form -- do not leak a LocationListener. - Anyway for me to locationManager.removeUpdates () when user close the application? Basically I want to handle application close event. There is no application close event. Please remove the updates in onPause() or onStop() of your activity where you requested the updates. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to *Advanced* Android Development_ Version 2.1 Available! -- 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] generating 1d barcode
On Tue, Nov 22, 2011 at 4:03 AM, Kubilay D. Yılmaz kubilayd.yil...@gmail.com wrote: How can i generate barcodes in android? I tried java version of barcode4j but it uses awt components. One popular possibility is to use an online service like Google Charts, if your app will have Internet access, and if you can find a service that supports the barcode format you seek. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to *Advanced* Android Development_ Version 2.1 Available! -- 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] sending message
hey Raghav I actually want to develop an application for sending sms I hope u got it now -- 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] VPN on android
AFAIK, there are no APIs for you to configure a VPN programmatically. While there is VpnService added to API Level 14 (Ice Cream Sandwich), it appears to be more to allow you to define new types of VPN connections, not to actually create the connection yourself (User action is required to create a VPN connection). On Tue, Nov 22, 2011 at 5:42 AM, chander mohan.c...@gmail.com wrote: Hi all, I have to setup VPN client and server on android,what are the steps to create this in my source code. please tell me the procedure so that i can develop my own client and server to communicate through VPN. thanks Chandra -- 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 -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to *Advanced* Android Development_ Version 2.1 Available! -- 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] fetching image from sqlite
Hi all I am stucked in a problem Here I want to retrieve image from sqlite database and show it in gridview I am actually giving path of that image in database, which I put in android_assets Plz help me to do that. -- 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] getting parse error
Hi, I have developed an application in eclipse. And created its apk file by using key. For creating an application I have used the API level 7 and also tried with API level 3. When I try to download the apk on my phone (Micromax A60) with android version Eclair 2.1 it gives me 'Parse Error' with note 'there is problem parsing the package' plz help to understand the issue, 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
Re: [android-developers] sending message
On Tue, Nov 22, 2011 at 6:22 AM, Narendra Singh Rathore nsr.curi...@gmail.com wrote: Can any one plz suggest me how to send sms and email using android app. any help will be appreciated. Use ACTION_SEND and allow the user to choose how to send the message and to edit its contents. Or, use ACTION_SENDTO with smsto: or mailto: Uri values, if you have the phone number or email address of the recipient, to force the user to use those protocols. Or, use SmsManager to send an SMS message. There is no equivalent of this for email built into Android, though you could look at JavaMail -- I understand that there is a version of this for Android floating around somewhere. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to *Advanced* Android Development_ Version 2.1 Available! -- 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: Activity animation
Kostya, would you have a brief example of what you mean here? I call overridePendingTransition() in my onCreate() method, but I don't explicitly call finish() or do anything beyond that. On Nov 22, 12:02 pm, Kostya Vasilyev kmans...@gmail.com wrote: You are supposed to set the animations once, after having called finish() on the exiting activity. 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] HD Displays and JavaBinder: !!! FAILED BINDER TRANSACTION !!!
2011/11/21 Tomáš Hubálek tom.huba...@gmail.com: BTW: Splitting bitmap into multiple chunks does now work as undocumented limit is for whole RemoteView update. Then use multiple RemoteView updates, one per chunk. Or use a ContentProvider. 1) What Google recommends to do? - Use content provider? Most likely. Why I don't get any Exception when something fails? Why there is only LogCat message that can't be handled correctly? If I had to guess, the failure is in another process, either the OS process or the home screen's process. You will only get exceptions for failures in your own process. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to *Advanced* Android Development_ Version 2.1 Available! -- 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: Activity animation
Ah. That's it. http://developer.android.com/reference/android/app/Activity.html#overridePendingTransition%28int,%20int%29 *Call immediately after one of the flavors of startActivity(Intent) or finish() to specify an explicit transition animation to perform next.* As a test, override onBackPressed(), call finish() yourself, and *then* overridePendingTransition. Do not call super.onBackPressed. If this works (and it should), take it from there. -- Kostya 2011/11/22 Neilz neilhorn...@gmail.com: Kostya, would you have a brief example of what you mean here? I call overridePendingTransition() in my onCreate() method, but I don't explicitly call finish() or do anything beyond that. On Nov 22, 12:02 pm, Kostya Vasilyev kmans...@gmail.com wrote: You are supposed to set the animations once, after having called finish() on the exiting activity. 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 -- 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] HD Displays and JavaBinder: !!! FAILED BINDER TRANSACTION !!!
Using multiple remote views per update is a sure way to get a messed up widget after a configuration change, and sometimes sooner. 2011/11/22 Mark Murphy mmur...@commonsware.com 2011/11/21 Tomáš Hubálek tom.huba...@gmail.com: BTW: Splitting bitmap into multiple chunks does now work as undocumented limit is for whole RemoteView update. Then use multiple RemoteView updates, one per chunk. Or use a ContentProvider. 1) What Google recommends to do? - Use content provider? Most likely. Why I don't get any Exception when something fails? Why there is only LogCat message that can't be handled correctly? If I had to guess, the failure is in another process, either the OS process or the home screen's process. You will only get exceptions for failures in your own process. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to *Advanced* Android Development_ Version 2.1 Available! -- 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 -- 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] C2DM app server component limitations?
I've developed an app which allows users to control their PC-based PVR (using wifi or mobile internet). The PVR software isn't written by me so I have written an associated Windows Service which runs on each of the users' own PCs to act as a proxy between my app and the PVR software. I'd like to add C2DM capabilities to the PC-based proxy service so if multiple family members (for example) are using my app, then a change to the system (Dad sets Home and Away to record tonight) will be pushed out to the other family members' devices. I understand that each app has to have C2DM registration with a unique white-listed email address which I could embed in the PC proxy server software but the question is this... Do I have to have a 'cloud-based' server that I personally host and all users' instances of my app use that to use C2DM or will Google allow multiple app servers (each in the users' own homes) to send C2DM messages using my white-listed email address? I'm seriously confused about how this should work. Cheers, Brian -- 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: NoClassDefFoundError
Hey problem is solved i was returning null from a function thnk u for attention btw. :) On Nov 22, 2:30 pm, Ratheesh Valamchuzhy android...@gmail.com wrote: paste the code... -- 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: NoClassDefFoundError
ok. -- 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 combine 'StateListDrawable + NinePatchDrawable'?
Hello. Any idea to combine StateListDrawable and NinePatchDrawable classes? to use programmatic image changer?? Any experiences or idea? since this is important to me.. -- 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] HD Displays and JavaBinder: !!! FAILED BINDER TRANSACTION !!!
OK, so, use a content provider. Admittedly, it'd be nice if there were a way to serve up files from RAM via a content provider -- the only way I know to serve files via openFile() is for them to actually exist as files somewhere, meaning disk I/O for no particularly good reason. On Tue, Nov 22, 2011 at 7:27 AM, Kostya Vasilyev kmans...@gmail.com wrote: Using multiple remote views per update is a sure way to get a messed up widget after a configuration change, and sometimes sooner. 2011/11/22 Mark Murphy mmur...@commonsware.com 2011/11/21 Tomáš Hubálek tom.huba...@gmail.com: BTW: Splitting bitmap into multiple chunks does now work as undocumented limit is for whole RemoteView update. Then use multiple RemoteView updates, one per chunk. Or use a ContentProvider. 1) What Google recommends to do? - Use content provider? Most likely. Why I don't get any Exception when something fails? Why there is only LogCat message that can't be handled correctly? If I had to guess, the failure is in another process, either the OS process or the home screen's process. You will only get exceptions for failures in your own process. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to *Advanced* Android Development_ Version 2.1 Available! -- 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 -- 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 -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to *Advanced* Android Development_ Version 2.1 Available! -- 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 combine 'StateListDrawable + NinePatchDrawable'?
On Tue, Nov 22, 2011 at 7:43 AM, Build account newandroi...@gmail.com wrote: Any idea to combine StateListDrawable and NinePatchDrawable classes? That doesn't make sense. Your StateListDrawable can refer to multiple nine-patch PNG files. That's how button backgrounds work, for example. Why would you need to combine the Java classes? -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to *Advanced* Android Development_ Version 2.1 Available! -- 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: Activity animation
Bingo! Thanks Kostya :) On Nov 22, 12:23 pm, Kostya Vasilyev kmans...@gmail.com wrote: Ah. That's it. http://developer.android.com/reference/android/app/Activity.html#over... *Call immediately after one of the flavors of startActivity(Intent) or finish() to specify an explicit transition animation to perform next.* As a test, override onBackPressed(), call finish() yourself, and *then* overridePendingTransition. Do not call super.onBackPressed. If this works (and it should), take it from there. -- 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] generating 1d barcode
Dear Mark, Thank you for your response, I have also own services that produces barcode using barcode4j api, however I have to generate inside android device. On 22 November 2011 14:12, Mark Murphy mmur...@commonsware.com wrote: On Tue, Nov 22, 2011 at 4:03 AM, Kubilay D. Yılmaz kubilayd.yil...@gmail.com wrote: How can i generate barcodes in android? I tried java version of barcode4j but it uses awt components. One popular possibility is to use an online service like Google Charts, if your app will have Internet access, and if you can find a service that supports the barcode format you seek. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to *Advanced* Android Development_ Version 2.1 Available! -- 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 -- 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] generating 1d barcode
On Tue, Nov 22, 2011 at 8:13 AM, Kubilay D. Yılmaz kubilayd.yil...@gmail.com wrote: Thank you for your response, I have also own services that produces barcode using barcode4j api, however I have to generate inside android device. If I had to guess, you will probably have to port something to use Android's 2D graphics API instead of AWT. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to *Advanced* Android Development_ Version 2.1 Available! -- 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 triger Google Places details activity?
On Tue, Nov 22, 2011 at 2:38 AM, Kamen Goranchev kamen.goranc...@gmail.comwrote: Is there a way use the Maps application to display list of points, but not giving a search query? Not in any official capacity, AFAIK. You're probably better off using the Places API. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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] Android market Payment System
On Tue, Nov 22, 2011 at 3:42 AM, subha subhashini.andr...@gmail.com wrote: The application is downloadable for free and after the app is installed, the user has to pay to take each test which differs in pricing. please suggest if this is feasible to be done.if it is possible let me know how this could be accomplished. Read the documentation section on in-app billing. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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] ScrollView crashing on Pinch and Zoom
Hi, We have defined a layout programmatically as below: framelayout1 = new FrameLayout(this); FrameLayout.LayoutParams r1 = new FrameLayout.LayoutParams(LayoutParams.FILL_PARENT,LayoutParams.FILL_PARENT); framelayout1.setLayoutParams(r1); scrollview = new ScrollView(this); scrollview.setFillViewport(true); FrameLayout.LayoutParams r3 = new FrameLayout.LayoutParams(LayoutParams.FILL_PARENT,LayoutParams.FILL_PARENT); //FrameLayout.LayoutParams r3 = new FrameLayout.LayoutParams(LayoutParams.WRAP_CONTENT,LayoutParams.WRAP_CONTENT); scrollview.setLayoutParams(r3); framelayout1.addView(scrollview); hscrollview = new HorizontalScrollView(this); hscrollview.setFillViewport(true); //RelativeLayout.LayoutParams r4 = new RelativeLayout.LayoutParams(LayoutParams.FILL_PARENT,LayoutParams.WRAP_CONTENT); FrameLayout.LayoutParams r4 = new FrameLayout.LayoutParams(LayoutParams.FILL_PARENT,LayoutParams.WRAP_CONTENT); hscrollview.setLayoutParams(r4); hscrollview.setPadding(0, 0, 0, 10); scrollview.addView(hscrollview); framelayout2 = new FrameLayout(this); FrameLayout.LayoutParams r5 = new FrameLayout.LayoutParams(LayoutParams.WRAP_CONTENT,LayoutParams.WRAP_CONTENT,Gravity.NO_GRAVITY); framelayout2.setLayoutParams(r5); hscrollview.addView(framelayout2); view = new ImageView (this); view.setScaleType(ScaleType.FIT_XY); bitmap = BitmapFactory.decodeResource(getResources(),R.drawable.texture); width = screenwidth; height = width; widthinitial=width; heightinitial=height; FrameLayout.LayoutParams r6 = new FrameLayout.LayoutParams(width,height,Gravity.NO_GRAVITY); view.setLayoutParams(r6); view.setImageBitmap(bitmap); view.requestLayout(); framelayout2.addView(view); setContentView(framelayout1); We are pinch zooming the imageview on Touch events as below: @Override public boolean onTouch(View v, MotionEvent event) { // TODO Auto-generated method stub try { switch (event.getAction() MotionEvent.ACTION_MASK) { case MotionEvent.ACTION_DOWN: //first finger down only start.set(event.getX(), event.getY()); end.set(event.getX(), event.getY()); break; case MotionEvent.ACTION_POINTER_DOWN: //second finger down oldDist = spacing(event); mode = ZOOM; v.getParent().requestDisallowInterceptTouchEvent(true); break; case MotionEvent.ACTION_MOVE: if (mode == ZOOM) { newDist = spacing(event); if (zoom==true) { scale = newDist / oldDist; //thinking i need to play around with this value to limit it if ((scale1.01)||(scale0.99)) { scalefinal= scale*scalecurrent; if (scalefinal1) { scalefinal=1; } else if (scalefinal6) { scalefinal =6; } scalecurrent=scalefinal; width = (int) (widthinitial*scalefinal); height = (int) (heightinitial*scalefinal); marginleft = (int)(screenwidth-width)/2; margintop = (int) (screenheight-height)/2; if (margintop0) margintop=0; FrameLayout.LayoutParams r6 = new FrameLayout.LayoutParams(width,height,Gravity.NO_GRAVITY); view.setLayoutParams(r6); view.requestLayout(); scrollview.setPadding(0, margintop, 0, 0); scrollview.post(new
[android-developers] Client/Server SSL Authentication
I need a few clients to connect to a few PHP web services via HTTPS. I'd like for them to NOT have to enter any authentication details but rather use certificate authentication. I already have an CA certificate and a secure domain. Are there any good examples/ tutorials that provide a client/server certificate authentication? 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
Re: [android-developers] sending message
Lol, u re noob bro! Dnia 22 lis 2011 o godz. 12:22 Narendra Singh Rathore nsr.curi...@gmail.com napisał(a): Hi all, Can any one plz suggest me how to send sms and email using android app. any help will be appreciated. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe 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 -- 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: Activity animation
You have to add a sysconfig , or something like that. The app will be not killed or will, thats ur choice. Dnia 21 lis 2011 o godz. 23:28 TreKing treking...@gmail.com napisał(a): On Mon, Nov 21, 2011 at 12:04 PM, Neilz neilhorn...@gmail.com wrote: The function *is* being called on the new activity. It's when the user clicks 'back' and the activity disappears, that I want to add an exit animation. Let me rephrase - did you try calling that method on *both* activities or just one? - TreKing - Chicago transit tracking app for Android-powered devices -- 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 -- 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: Activity animation
If u re working on the build.prop , go from 32 to 64 , for better performance Dnia 22 lis 2011 o godz. 12:36 Neilz neilhorn...@gmail.com napisał(a): I've tried various combinations yes, but the departing activity always just goes 'phhh' :) On Nov 21, 10:28 pm, TreKing treking...@gmail.com wrote: On Mon, Nov 21, 2011 at 12:04 PM, Neilz neilhorn...@gmail.com wrote: The function *is* being called on the new activity. It's when the user clicks 'back' and the activity disappears, that I want to add an exit animation. Let me rephrase - did you try calling that method on *both* activities or just one? - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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 -- 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: second call to setListAdapter() ignored
Just for kicks, here is a fast scoll helper I just started using in my current project. It's a mash-up of two classes: one taken from Rings Extended, the other from ICS sources. https://kmansoft.wordpress.com/2011/11/22/another-fast-scroller-helper-for-listview/ -- Kostya 21 ноября 2011 г. 19:04 пользователь eehouse ho...@gmail.com написал: On Nov 20, 11:43 pm, Kostya Vasilyev kmans...@gmail.com wrote: It seems that the only way to rebuild the fast scroll section data is to toggle fast scrolling off and on again. I tried this (in my modified version of Mark's example code.) The old data is wiped out, but now the indices/section headers are drawn in the upper-left corner rather than in the center of the list. That's on 2.2. On 3.2, the headers are drawn in the usual place -- and it is new data -- but without the frame. --Eric -- 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 -- 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] Client/Server SSL Authentication
On Tue, Nov 22, 2011 at 11:39 PM, mgolds02 mgold...@gmail.com wrote: I need a few clients to connect to a few PHP web services via HTTPS. I'd like for them to NOT have to enter any authentication details but rather use certificate authentication. I already have an CA certificate and a secure domain. Are there any good examples/ tutorials that provide a client/server certificate authentication? Probably. You just need to provide more details, so we know what you are trying to do. What is your 'client'? httpclient? HttpsURLConnection? WebView? Something else? Etc. -- 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: Activity animation
On Tue, Nov 22, 2011 at 8:19 AM, Klimek oskarklimkow...@gmail.com wrote: You have to add a sysconfig , or something like that. The app will be not killed or will, thats ur choice. On Tue, Nov 22, 2011 at 8:16 AM, Klimek oskarklimkow...@gmail.com wrote: If u re working on the build.prop , go from 32 to 64 , for better performance I think you missed whatever thread you were aiming for. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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] GridView
I drop the gridview control on main.xml . Now in java file I want to create the 10 column and 10 rows dynamically and fill the gridview cell by some text value . also I want to change the color of the any cell . how can i achieve my task -- 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] OpenGL doesnt work- not even sample
When my emulator (API 14.0) is running, I can go through API Demos and select BasicGLSurfaceView (OpenGLES2), the app runs and a triangle spins. When I load the project into Eclipse and build, the same program stops working in the emulator as soon as I unlock the phone and let it load, or load it from list of apps. For this reason, I'm 90% sure the problem is Eclipse building it. I've already spent 2 days trying to resolve this and it's frustrating. I've reinstalled already and have everything properly installed. This seems to be the only problem of its kind- Ive googled for hours, so probably a stupid error Heres what I get from running the untouched sample into Eclipse Logcat at crash- 11-19 21:35:52.887: E/AndroidRuntime(556): FATAL EXCEPTION: GLThread 75 11-19 21:35:52.887: E/AndroidRuntime(556): java.lang.IllegalArgumentException: No configs match configSpec 11-19 21:35:52.887: E/AndroidRuntime(556): at android.opengl.GLSurfaceView$BaseConfigChooser.cho oseConfig(GLSurfaceView.java:825) 11-19 21:35:52.887: E/AndroidRuntime(556): at android.opengl.GLSurfaceView$EglHelper.start(GLSur faceView.java:981) 11-19 21:35:52.887: E/AndroidRuntime(556): at android.opengl.GLSurfaceView$GLThread.guardedRun(G LSurfaceView.java: 1335) 11-19 21:35:52.887: E/AndroidRuntime(556): at android.opengl.GLSurfaceView$GLThread.run(GLSurfac eView.java:1189) Console-- [2011-11-19 21:34:40 - BasicGLSurfaceView] New emulator found: emulator-5554 [2011-11-19 21:34:40 - BasicGLSurfaceView] Waiting for HOME('android.process.acore') to be launched... [2011-11-19 21:35:16 - BasicGLSurfaceView] WARNING: Application does not specify an API level requirement! [2011-11-19 21:35:16 - BasicGLSurfaceView] Device API version is 14 (Android 4.0.1) [2011-11-19 21:35:16 - BasicGLSurfaceView] HOME is up on device 'emulator-5554' [2011-11-19 21:35:16 - BasicGLSurfaceView] Uploading BasicGLSurfaceView.apk onto device 'emulator-5554' [2011-11-19 21:35:16 - BasicGLSurfaceView] Installing BasicGLSurfaceView.apk... [2011-11-19 21:35:49 - BasicGLSurfaceView] Success! [2011-11-19 21:35:50 - BasicGLSurfaceView] Starting activity com.example.android.basicglsurfaceview.BasicGLSurf aceViewActivity on device emulator-5554 [2011-11-19 21:35:52 - BasicGLSurfaceView] ActivityManager: Starting: Intent { act=... -- 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] OpenGL doesnt work- not even sample
Does the emulator work with OpenGL ES 2 now? When did that happen? On 11/23/2011 12:45 AM, Stephen Lee wrote: When my emulator (API 14.0) is running, I can go through API Demos and select BasicGLSurfaceView (OpenGLES2), the app runs and a triangle spins. When I load the project into Eclipse and build, the same program stops working in the emulator as soon as I unlock the phone and let it load, or load it from list of apps. For this reason, I'm 90% sure the problem is Eclipse building it. I've already spent 2 days trying to resolve this and it's frustrating. I've reinstalled already and have everything properly installed. This seems to be the only problem of its kind- Ive googled for hours, so probably a stupid error Heres what I get from running the untouched sample into Eclipse Logcat at crash- 11-19 21:35:52.887: E/AndroidRuntime(556): FATAL EXCEPTION: GLThread 75 11-19 21:35:52.887: E/AndroidRuntime(556): java.lang.IllegalArgumentException: No configs match configSpec 11-19 21:35:52.887: E/AndroidRuntime(556): at android.opengl.GLSurfaceView$BaseConfigChooser.cho oseConfig(GLSurfaceView.java:825) 11-19 21:35:52.887: E/AndroidRuntime(556): at android.opengl.GLSurfaceView$EglHelper.start(GLSur faceView.java:981) 11-19 21:35:52.887: E/AndroidRuntime(556): at android.opengl.GLSurfaceView$GLThread.guardedRun(G LSurfaceView.java: 1335) 11-19 21:35:52.887: E/AndroidRuntime(556): at android.opengl.GLSurfaceView$GLThread.run(GLSurfac eView.java:1189) Console-- [2011-11-19 21:34:40 - BasicGLSurfaceView] New emulator found: emulator-5554 [2011-11-19 21:34:40 - BasicGLSurfaceView] Waiting for HOME('android.process.acore') to be launched... [2011-11-19 21:35:16 - BasicGLSurfaceView] WARNING: Application does not specify an API level requirement! [2011-11-19 21:35:16 - BasicGLSurfaceView] Device API version is 14 (Android 4.0.1) [2011-11-19 21:35:16 - BasicGLSurfaceView] HOME is up on device 'emulator-5554' [2011-11-19 21:35:16 - BasicGLSurfaceView] Uploading BasicGLSurfaceView.apk onto device 'emulator-5554' [2011-11-19 21:35:16 - BasicGLSurfaceView] Installing BasicGLSurfaceView.apk... [2011-11-19 21:35:49 - BasicGLSurfaceView] Success! [2011-11-19 21:35:50 - BasicGLSurfaceView] Starting activity com.example.android.basicglsurfaceview.BasicGLSurf aceViewActivity on device emulator-5554 [2011-11-19 21:35:52 - BasicGLSurfaceView] ActivityManager: Starting: Intent { act=... -- 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] OpenGL doesnt work- not even sample
Sorry, I'll solve your problem as well. The reason you're getting that error is that you've requested an EGL configuration that your device doesn't support for whatever reason, so the EGL configuration chooser factory is ending with no 'valid' configuration. That throws an exception that the GLSurfaceView is not particularly friendly about dealing with because it gets thrown into the render thread, which can't easily be caught by your activity (that I know of). What you need to do is loosen your constraints a bit so that you can get a valid configuration, or do some investigation about what EGL settings the device does support. Cheers, Chris... On 11/23/2011 12:45 AM, Stephen Lee wrote: When my emulator (API 14.0) is running, I can go through API Demos and select BasicGLSurfaceView (OpenGLES2), the app runs and a triangle spins. When I load the project into Eclipse and build, the same program stops working in the emulator as soon as I unlock the phone and let it load, or load it from list of apps. For this reason, I'm 90% sure the problem is Eclipse building it. I've already spent 2 days trying to resolve this and it's frustrating. I've reinstalled already and have everything properly installed. This seems to be the only problem of its kind- Ive googled for hours, so probably a stupid error Heres what I get from running the untouched sample into Eclipse Logcat at crash- 11-19 21:35:52.887: E/AndroidRuntime(556): FATAL EXCEPTION: GLThread 75 11-19 21:35:52.887: E/AndroidRuntime(556): java.lang.IllegalArgumentException: No configs match configSpec 11-19 21:35:52.887: E/AndroidRuntime(556): at android.opengl.GLSurfaceView$BaseConfigChooser.cho oseConfig(GLSurfaceView.java:825) 11-19 21:35:52.887: E/AndroidRuntime(556): at android.opengl.GLSurfaceView$EglHelper.start(GLSur faceView.java:981) 11-19 21:35:52.887: E/AndroidRuntime(556): at android.opengl.GLSurfaceView$GLThread.guardedRun(G LSurfaceView.java: 1335) 11-19 21:35:52.887: E/AndroidRuntime(556): at android.opengl.GLSurfaceView$GLThread.run(GLSurfac eView.java:1189) Console-- [2011-11-19 21:34:40 - BasicGLSurfaceView] New emulator found: emulator-5554 [2011-11-19 21:34:40 - BasicGLSurfaceView] Waiting for HOME('android.process.acore') to be launched... [2011-11-19 21:35:16 - BasicGLSurfaceView] WARNING: Application does not specify an API level requirement! [2011-11-19 21:35:16 - BasicGLSurfaceView] Device API version is 14 (Android 4.0.1) [2011-11-19 21:35:16 - BasicGLSurfaceView] HOME is up on device 'emulator-5554' [2011-11-19 21:35:16 - BasicGLSurfaceView] Uploading BasicGLSurfaceView.apk onto device 'emulator-5554' [2011-11-19 21:35:16 - BasicGLSurfaceView] Installing BasicGLSurfaceView.apk... [2011-11-19 21:35:49 - BasicGLSurfaceView] Success! [2011-11-19 21:35:50 - BasicGLSurfaceView] Starting activity com.example.android.basicglsurfaceview.BasicGLSurf aceViewActivity on device emulator-5554 [2011-11-19 21:35:52 - BasicGLSurfaceView] ActivityManager: Starting: Intent { act=... -- 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] GridView
Create an Adapter that serves up your desired data, with whatever coloring logic you want. On Tue, Nov 22, 2011 at 11:43 AM, nanna rajeshgupta1...@gmail.com wrote: I drop the gridview control on main.xml . Now in java file I want to create the 10 column and 10 rows dynamically and fill the gridview cell by some text value . also I want to change the color of the any cell . how can i achieve my task -- 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 -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to *Advanced* Android Development_ Version 2.1 Available! -- 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 rid of Cupcake Button Scrollbar
Yes, yes, this is a very old problem. Nevertheless I would like to find a fix for it. Some of my buttons have text that technically is too large for the size of the button. This works just fine for anything 1.6+. But on Cupcake the poor button is feeling obliged to render a vertical scrollbar inside its content. I have tried to tell it not to do that but so far haven't succeeded. Any guidance is appreciated. Here's the layout I am using. Button android:id=@+id/speed android:layout_width=110dp android:layout_height=80dp android:layout_alignParentTop=true android:layout_alignParentLeft=true android:textSize=48dp android:textStyle=bold android:hapticFeedbackEnabled=true android:scrollbars=none android:scrollbarSize=0dp / -- 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: how to decompose .apk file
What I meant is that this website, while supposedly offering a service, could in fact just slurp up all the apks that are uploaded, and do things with them. -- 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:my app
hi myt takeing 58mb memory space how to reduce the memory my application -- 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:my app
Use lighter stuff in your app? On Tue, Nov 22, 2011 at 11:19 PM, jaggu mjagadeeshb...@gmail.com wrote: hi myt takeing 58mb memory space how to reduce the memory my application -- 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 -- Raghav Sood http://www.androidactivist.org/ - Author http://www.appaholics.in/ - Founder -- 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: OpenGL doesnt work- not even sample
Thank you for your posts. I guess the emulator just isnt capable of opengl es 2, but the demos are very misleading. You can go to api demosgraphicsopengl es 2 and it will run. If you see the code in the sdk samples folder, it is opengl es 2. I will try to run the sample on my phone asap On Nov 22, 11:53 am, Christopher Van Kirk christopher.vank...@gmail.com wrote: Sorry, I'll solve your problem as well. The reason you're getting that error is that you've requested an EGL configuration that your device doesn't support for whatever reason, so the EGL configuration chooser factory is ending with no 'valid' configuration. That throws an exception that the GLSurfaceView is not particularly friendly about dealing with because it gets thrown into the render thread, which can't easily be caught by your activity (that I know of). What you need to do is loosen your constraints a bit so that you can get a valid configuration, or do some investigation about what EGL settings the device does support. Cheers, Chris... On 11/23/2011 12:45 AM, Stephen Lee wrote: When my emulator (API 14.0) is running, I can go through API Demos and select BasicGLSurfaceView (OpenGLES2), the app runs and a triangle spins. When I load the project into Eclipse and build, the same program stops working in the emulator as soon as I unlock the phone and let it load, or load it from list of apps. For this reason, I'm 90% sure the problem is Eclipse building it. I've already spent 2 days trying to resolve this and it's frustrating. I've reinstalled already and have everything properly installed. This seems to be the only problem of its kind- Ive googled for hours, so probably a stupid error Heres what I get from running the untouched sample into Eclipse Logcat at crash- 11-19 21:35:52.887: E/AndroidRuntime(556): FATAL EXCEPTION: GLThread 75 11-19 21:35:52.887: E/AndroidRuntime(556): java.lang.IllegalArgumentException: No configs match configSpec 11-19 21:35:52.887: E/AndroidRuntime(556): at android.opengl.GLSurfaceView$BaseConfigChooser.cho oseConfig(GLSurfaceView.java:825) 11-19 21:35:52.887: E/AndroidRuntime(556): at android.opengl.GLSurfaceView$EglHelper.start(GLSur faceView.java:981) 11-19 21:35:52.887: E/AndroidRuntime(556): at android.opengl.GLSurfaceView$GLThread.guardedRun(G LSurfaceView.java: 1335) 11-19 21:35:52.887: E/AndroidRuntime(556): at android.opengl.GLSurfaceView$GLThread.run(GLSurfac eView.java:1189) Console-- [2011-11-19 21:34:40 - BasicGLSurfaceView] New emulator found: emulator-5554 [2011-11-19 21:34:40 - BasicGLSurfaceView] Waiting for HOME('android.process.acore') to be launched... [2011-11-19 21:35:16 - BasicGLSurfaceView] WARNING: Application does not specify an API level requirement! [2011-11-19 21:35:16 - BasicGLSurfaceView] Device API version is 14 (Android 4.0.1) [2011-11-19 21:35:16 - BasicGLSurfaceView] HOME is up on device 'emulator-5554' [2011-11-19 21:35:16 - BasicGLSurfaceView] Uploading BasicGLSurfaceView.apk onto device 'emulator-5554' [2011-11-19 21:35:16 - BasicGLSurfaceView] Installing BasicGLSurfaceView.apk... [2011-11-19 21:35:49 - BasicGLSurfaceView] Success! [2011-11-19 21:35:50 - BasicGLSurfaceView] Starting activity com.example.android.basicglsurfaceview.BasicGLSurf aceViewActivity on device emulator-5554 [2011-11-19 21:35:52 - BasicGLSurfaceView] ActivityManager: Starting: Intent { act=... -- 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: OpenGL doesnt work- not even sample
The emulator does not support OpenGL ES 2.0 at the moment. You'll need a device to run them. On Tue, Nov 22, 2011 at 10:16 AM, Stephen Lee stephenl7...@yahoo.comwrote: Thank you for your posts. I guess the emulator just isnt capable of opengl es 2, but the demos are very misleading. You can go to api demosgraphicsopengl es 2 and it will run. If you see the code in the sdk samples folder, it is opengl es 2. I will try to run the sample on my phone asap On Nov 22, 11:53 am, Christopher Van Kirk christopher.vank...@gmail.com wrote: Sorry, I'll solve your problem as well. The reason you're getting that error is that you've requested an EGL configuration that your device doesn't support for whatever reason, so the EGL configuration chooser factory is ending with no 'valid' configuration. That throws an exception that the GLSurfaceView is not particularly friendly about dealing with because it gets thrown into the render thread, which can't easily be caught by your activity (that I know of). What you need to do is loosen your constraints a bit so that you can get a valid configuration, or do some investigation about what EGL settings the device does support. Cheers, Chris... On 11/23/2011 12:45 AM, Stephen Lee wrote: When my emulator (API 14.0) is running, I can go through API Demos and select BasicGLSurfaceView (OpenGLES2), the app runs and a triangle spins. When I load the project into Eclipse and build, the same program stops working in the emulator as soon as I unlock the phone and let it load, or load it from list of apps. For this reason, I'm 90% sure the problem is Eclipse building it. I've already spent 2 days trying to resolve this and it's frustrating. I've reinstalled already and have everything properly installed. This seems to be the only problem of its kind- Ive googled for hours, so probably a stupid error Heres what I get from running the untouched sample into Eclipse Logcat at crash- 11-19 21:35:52.887: E/AndroidRuntime(556): FATAL EXCEPTION: GLThread 75 11-19 21:35:52.887: E/AndroidRuntime(556): java.lang.IllegalArgumentException: No configs match configSpec 11-19 21:35:52.887: E/AndroidRuntime(556): at android.opengl.GLSurfaceView$BaseConfigChooser.cho oseConfig(GLSurfaceView.java:825) 11-19 21:35:52.887: E/AndroidRuntime(556): at android.opengl.GLSurfaceView$EglHelper.start(GLSur faceView.java:981) 11-19 21:35:52.887: E/AndroidRuntime(556): at android.opengl.GLSurfaceView$GLThread.guardedRun(G LSurfaceView.java: 1335) 11-19 21:35:52.887: E/AndroidRuntime(556): at android.opengl.GLSurfaceView$GLThread.run(GLSurfac eView.java:1189) Console-- [2011-11-19 21:34:40 - BasicGLSurfaceView] New emulator found: emulator-5554 [2011-11-19 21:34:40 - BasicGLSurfaceView] Waiting for HOME('android.process.acore') to be launched... [2011-11-19 21:35:16 - BasicGLSurfaceView] WARNING: Application does not specify an API level requirement! [2011-11-19 21:35:16 - BasicGLSurfaceView] Device API version is 14 (Android 4.0.1) [2011-11-19 21:35:16 - BasicGLSurfaceView] HOME is up on device 'emulator-5554' [2011-11-19 21:35:16 - BasicGLSurfaceView] Uploading BasicGLSurfaceView.apk onto device 'emulator-5554' [2011-11-19 21:35:16 - BasicGLSurfaceView] Installing BasicGLSurfaceView.apk... [2011-11-19 21:35:49 - BasicGLSurfaceView] Success! [2011-11-19 21:35:50 - BasicGLSurfaceView] Starting activity com.example.android.basicglsurfaceview.BasicGLSurf aceViewActivity on device emulator-5554 [2011-11-19 21:35:52 - BasicGLSurfaceView] ActivityManager: Starting: Intent { act=... -- 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 -- Romain Guy Android framework engineer romain...@android.com -- 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: How come there is no PROFILE specific URI for raw contact data in the contact api?
The immediate problem seem to be my over caution that made me put cv.put(Data.IS_USER_PROFILE, 1); My reasoning was that this will be used to distinguish whether to add the data element to the profile raw contact or the plain raw contact. That paranoia seem to be unfounded. when I remove this the code worked fine even with the same Data.CONTENT_URI with out the need for Data.PROFILE_CONTENT_URI. The code underneath seem to know this difference by merely looking at the raw contact id passed in. There must be some logic the code is using to see where this raw contact id is from. Anyways temporarily I understand a little m ore. (Ali, thanks for the link as well) On Mon, Nov 21, 2011 at 3:48 PM, Satya Komatineni satya.komatin...@gmail.com wrote: I see that there is a URI for inserting/contributing a raw contact to the new (4.0) personal profile ContactsContract.Profile.CONTENT_RAW_CONTACTS_URI I am able to use this URI to insert a raw contact (with a specific account type and name) into the personal profile. However I don't see a corresponding URI for the Data contract such as ContactsContract.Data.PROFILE_CONTENT_URI How do one go about addint a data element to a raw contact that contributes to a profile? For example I ran the following code private void insertPhoneNumber(long rawContactId) { ContentValues cv = new ContentValues(); cv.put(Data.RAW_CONTACT_ID, rawContactId); cv.put(Data.IS_USER_PROFILE, 1); cv.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); cv.put(Phone.NUMBER,P123 123 + rawContactId); cv.put(Phone.TYPE,Phone.TYPE_HOME); this.mContext.getContentResolver().insert(Data.CONTENT_URI, cv); if (puri == null) { log(Not able to insert phone number); } else { log(Not able to insert phone number); } } This returns a NULL phone uri indicating that the operation failed. I am not able to get a clear picture from the documentation. I see that there are two databases: one for the regular contacts (contacts.db) and one for the profile contacts (profile.db). I also see that the raw contacts for profile and the regular contacts are kept separately. However I am not able to insert a data value for a personal profile raw contact. Appreciate if someone can clarify Thanks Satya -- Satya Komatineni http://www.satyakomatineni.com http://www.androidbook.com -- 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] ChartDroid 3rd party library for dynamic graphing
Hi, I had posted the same question on StackOverflow y'day and it does not seem to have strung a chord with users there. So, i am hoping someone in this group might have some insights to share - My question: Have anyone of you used chartDroid for displaying dynamic graphs esp. bargraphs? The static case works great right out of the box. I noticed on AndroidPlot Feature Comparison that dynamic support is not available. Just wanted to verify if that's still true. If yes, would you recommend AchartEnngine for dynamic graph display? I am looking at open source options currently. Thanks in advance for sharing your experiences. -- 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] Weird memory issue on Samsung Galaxy Note
My application crashes on the Samsung Galaxy Note, apparently due to memory issues. The weird part is that my app does not appear to be using a particularly large amount of memory at the time of the crash. However, according to the logs, the OS seems to think that memory is running low and starts killing all active processes (including my app). I don't see this behavior on any other device I've tried (test devices include: Acer Iconiatab, Samsung Galaxy Tab, Droid3 phone, Nook color, LG Optimus V). My suspicion is that this is related to the android build included on the device, maybe it does something funky and wrong in handling low memory situations. Any ideas about what could cause this sort of behavior, or suggestions about how I can rectify it? The garbage collections log immediately prior to dying, shows moderate memory usage (I know that these are from my app based on the PID): 11-22 13:58:45.200: DEBUG/dalvikvm(31965): GC_CONCURRENT freed 1649K, 56% free 5042K/11335K, external 4791K/5982K, paused 1ms+5ms 11-22 13:58:45.770: DEBUG/dalvikvm(31965): GC_CONCURRENT freed 2081K, 56% free 5009K/11335K, external 4791K/5982K, paused 2ms+4ms 11-22 13:58:46.705: DEBUG/dalvikvm(31965): GC_CONCURRENT freed 1951K, 56% free 5044K/11335K, external 4791K/5982K, paused 2ms+4ms 11-22 13:58:47.690: DEBUG/dalvikvm(31965): GC_CONCURRENT freed 2250K, 58% free 4842K/11335K, external 4791K/5982K, paused 2ms+4ms And this is log the message from the os starts killing everything: 11-22 13:58:45.175: INFO/ActivityManager(2764): Process com.sec.android.app.fm (pid 31915) has died. 11-22 13:58:45.225: INFO/ActivityManager(2764): Process com.sec.android.app.samsungapps.una2 (pid 32069) has died. 11-22 13:58:45.340: INFO/ActivityManager(2764): Process com.android.MtpApplication (pid 32078) has died. 11-22 13:58:45.340: INFO/ActivityManager(2764): Low Memory: No more background processes. 11-22 13:58:45.745: INFO/InputReader(2764): dispatchTouch::touch event's action is 1, pending(waiting finished signal)=1 11-22 13:58:45.890: INFO/InputDispatcher(2764): Delivering touch to current input target: action: 1, channel '40916e70 MYAPP (server)' 11-22 13:58:45.890: INFO/InputDispatcher(2764): Delivering touch to current input target: action: 1, channel 'PenGestureView (server)' 11-22 13:58:46.365: INFO/ActivityManager(2764): Process com.sec.android.app.twlauncher (pid 31611) has died. 11-22 13:58:46.365: ERROR/InputDispatcher(2764): channel '409d9788 com.sec.android.app.twlauncher/com.sec.android.app.twlauncher.Launcher (server)' ~ Consumer closed input channel or an error occurred. events=0x8 11-22 13:58:46.365: ERROR/InputDispatcher(2764): channel '409d9788 com.sec.android.app.twlauncher/com.sec.android.app.twlauncher.Launcher (server)' ~ Channel is unrecoverably broken and will be disposed! 11-22 13:58:46.365: INFO/ActivityManager(2764): Low Memory: No more background processes. 11-22 13:58:46.370: INFO/WindowManager(2764): WIN DEATH: Window{409d9788 com.sec.android.app.twlauncher/ com.sec.android.app.twlauncher.Launcher paused=false} 11-22 13:58:46.375: DEBUG/InputTransport(2764): Input channel destroyed: name='409d9788 com.sec.android.app.twlauncher/ com.sec.android.app.twlauncher.Launcher (server)', ashmemFd=17, receivePipeFd=158, sendPipeFd=157 11-22 13:58:46.375: INFO/WindowManager(2764): WIN DEATH: Window{40a398d0 SurfaceView paused=false} 11-22 13:58:47.010: INFO/ActivityManager(2764): Process com.android.providers.calendar (pid 31765) has died. 11-22 13:58:47.010: INFO/ActivityManager(2764): Low Memory: No more background processes. 11-22 13:58:47.115: INFO/ActivityManager(2764): Process com.google.android.apps.maps:NetworkLocationService (pid 31578) has died. 11-22 13:58:47.120: WARN/ActivityManager(2764): Scheduling restart of crashed service com.google.android.apps.maps/ com.google.android.location.internal.server.NetworkLocationService in 5000ms 11-22 13:58:47.120: INFO/ActivityManager(2764): Low Memory: No more background processes. 11-22 13:58:47.180: INFO/ActivityManager(2764): Process com.sec.android.app.FileTransferServer (pid 31606) has died. 11-22 13:58:47.180: WARN/ActivityManager(2764): Scheduling restart of crashed service com.sec.android.app.FileTransferServer/.FTSService in 14940ms 11-22 13:58:47.180: INFO/ActivityManager(2764): Low Memory: No more background processes. 11-22 13:58:47.180: ERROR/WifiService(2764): Multicaster binderDied 11-22 13:58:47.250: WARN/PowerManagerService(2764): Timer 0x7-0x3| 0x0 11-22 13:58:47.250: ERROR/lights(2764): write_int: path /sys/ devices/virtual/misc/melfas_touchkey/brightness, value 2 11-22 13:58:47.250: INFO/PowerManagerService(2764): Ulight 7-3|0 11-22 13:58:47.250: DEBUG/PowerManagerService(2764): setLightBrightness : mButtonLight : 0 11-22 13:58:47.280: INFO/ActivityManager(2764): Process com.sec.android.widgetapp.digitalclock
Re: [android-developers] Re:my app
On Tue, Nov 22, 2011 at 11:19:08PM +0530, jaggu wrote: hi myt takeing 58mb memory space how to reduce the memory my application You've already got it down to 58 thousandths of a bit (0.058 b) How small do you really expect to get it? Later, --jim -- THE SCORE: ME: 2 CANCER: 0 73 DE N5IAL (/4)MiSTie #49997 Running FreeBSD 7.0 spooky1...@gmail.comICBM/Hurr.: 30.44406N 86.59909W Now what *you* need is a proper pint of porter poured in a proper pewter porter pot.. --Peter Dalgaard in alt.sysadmin.recovery Android Apps Listing at http://www.jstrack.org/barcodes.html -- 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:my app
I see what you did there. On Tue, Nov 22, 2011 at 2:20 PM, Jim Graham spooky1...@gmail.com wrote: On Tue, Nov 22, 2011 at 11:19:08PM +0530, jaggu wrote: hi myt takeing 58mb memory space how to reduce the memory my application You've already got it down to 58 thousandths of a bit (0.058 b) How small do you really expect to get it? Later, --jim -- THE SCORE: ME: 2 CANCER: 0 73 DE N5IAL (/4)MiSTie #49997 Running FreeBSD 7.0 spooky1...@gmail.comICBM/Hurr.: 30.44406N 86.59909W Now what *you* need is a proper pint of porter poured in a proper pewter porter pot.. --Peter Dalgaard in alt.sysadmin.recovery Android Apps Listing at http://www.jstrack.org/barcodes.html -- 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 -- 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] Weird memory issue on Samsung Galaxy Note
The first bunch of logcat messages mean that this process has a fairly high memory churn rate, about 2-3 megabytes per second. Still, this should only affect your process making it slower - it does _seem_ like a firmware issue to me, perhaps a lame optimization attempt? I'd recommend trying to reduce how quickly your app turns over memory allocations. -- Kostya 22 ноября 2011 г. 23:11 пользователь Ab abe.oppenh...@gmail.com написал: My application crashes on the Samsung Galaxy Note, apparently due to memory issues. The weird part is that my app does not appear to be using a particularly large amount of memory at the time of the crash. However, according to the logs, the OS seems to think that memory is running low and starts killing all active processes (including my app). I don't see this behavior on any other device I've tried (test devices include: Acer Iconiatab, Samsung Galaxy Tab, Droid3 phone, Nook color, LG Optimus V). My suspicion is that this is related to the android build included on the device, maybe it does something funky and wrong in handling low memory situations. Any ideas about what could cause this sort of behavior, or suggestions about how I can rectify it? The garbage collections log immediately prior to dying, shows moderate memory usage (I know that these are from my app based on the PID): 11-22 13:58:45.200: DEBUG/dalvikvm(31965): GC_CONCURRENT freed 1649K, 56% free 5042K/11335K, external 4791K/5982K, paused 1ms+5ms 11-22 13:58:45.770: DEBUG/dalvikvm(31965): GC_CONCURRENT freed 2081K, 56% free 5009K/11335K, external 4791K/5982K, paused 2ms+4ms 11-22 13:58:46.705: DEBUG/dalvikvm(31965): GC_CONCURRENT freed 1951K, 56% free 5044K/11335K, external 4791K/5982K, paused 2ms+4ms 11-22 13:58:47.690: DEBUG/dalvikvm(31965): GC_CONCURRENT freed 2250K, 58% free 4842K/11335K, external 4791K/5982K, paused 2ms+4ms -- 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: Android 3.1 and USB to Serial
We have successively implemented an app that talks directly to an FTDI chip over USB on an Android 3.1 Tablet (Acer A500) using this code: http://android.serverbox.ch/?p=370 Note that the Samsung Galaxy Tab 10.1 (as of the 3.1 update - trying 3.2 now) lacked some component of the USB structure that allowed random devices to be enumerated. The OS sees a mouse, keyboard, hub, and mass storage device, but everything else it is supposed to expose to apps using the new APIs. A simple test app that shows all USB devices works great on the Acer but fails to show anything on the Galaxy Tab 10.1 with the 3.1 update. Good luck. I only saw this message by accident as I never check this anymore, so if you ask a question and I don't respond, shoot me a reminder direct and I'll check the mailing list message and respond there (so everyone can still see). -Taylor On Tue, Nov 15, 2011 at 4:44 AM, MartyMoose ma...@bruner-consulting.comwrote: Do you think this would help? http://slickdevlabs.com/slick-usb-2-serial-library/ On Nov 14, 9:50 pm, RLScott fixthatpi...@yahoo.com wrote: By the way, our workaround solution was to abandon the USB-serial converter and instead use a Bluetooth-serial module, like the RN-24 from Roving Networks. The Bluetooth route is quite doable. -- 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 -- 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] ViewPager and OnItemClickListener in ListView
I'm working on creating a swipe-to-dismiss list view adapter. My basic methodology is to wrap the list item's view as the second view in a ViewPager and provide the necessary callbacks in the item change listener of the ViewPager. Through much pain I've got the View recycler working as intended, as well as ViewHolder and ViewBinder patterns implemented. I even managed to keep the ListView from taking over the touch events while the ViewPager is being scrolled without having to make a custom subclass of ListView (I can do it all from the Adapter). Where I'm running into trouble is getting the selector and the OnItemClickListener to work. After looking at ListView's source it seemed that by overriding the ViewPager's hasFocusable() method to always return false (later on I'll pull this value from the child view) the ListView would be tricked into thinking the ViewPager wasn't clickable and would enable them. Unfortunately this is not the case. I've tried the setDecendantFocusability()workaround and I'm still stuck. I'd like to avoid having to extend ListView if possible to provide the greatest amount of modularity. For similar reasons I don't want to add the selector to the ViewPager's background (if the dev changes the ListView's selector this wouldn't be reflected). Essentially I'm looking to make the ViewPager code transparent between the ListView and child View. Any ideas? -- 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] Verifying app signatures
So we want to verify that all apps on a phone come from the Android Market, because the setting to install apps only from the market can be turned on and off, in addition to apps being installed with adb, etc. One way I thought to do this is to make sure that it is signed by the developer of the app, or by the same certificate as it is in the Market. Even if different versions are installed, the certificate should match. Is there a way to programmatically get either the APK or the signature of the APK from the Android Market? -- 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] Verifying app signatures
On Tue, Nov 22, 2011 at 3:17 PM, Fernando T ftr...@gmail.com wrote: Is there a way to programmatically get either the APK or the signature of the APK from the Android Market? Not without copyright violations. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to *Advanced* Android Development_ Version 2.1 Available! -- 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] Extreme battery life
I'm looking to put a phone in a remote location off the grid to report back some sensor data once a day. I can buy after-market extended-life batteries for many popular phones and I'm wondering what kind of life I might get from this arrangement. The big batteries hold about 4000mAh. I'd like the whole rig to run for 4 months - about 2400 hours. That implies getting the average phone draw well below 2mA. If my app keeps the phone in airplane mode except once a day to fire up and send data, and if the rest of the wireless networking is turned off, and if the screen is never on, does this sound feasible? -- 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] Extreme battery life
On Tue, Nov 22, 2011 at 4:26 PM, Bret Foreman bret.fore...@gmail.com wrote: I'm looking to put a phone in a remote location off the grid to report back some sensor data once a day. I can buy after-market extended-life batteries for many popular phones and I'm wondering what kind of life I might get from this arrangement. The big batteries hold about 4000mAh. You can get bigger power sources than that, in the form of external USB power blocks, solar panels, UPSes, marine batteries, etc. This assumes your charging port is free. OTOH, I've never tried using one of those with an off-the-shelf device for weeks at a time. I'd like the whole rig to run for 4 months - about 2400 hours. That implies getting the average phone draw well below 2mA. If my app keeps the phone in airplane mode except once a day to fire up and send data, and if the rest of the wireless networking is turned off, and if the screen is never on, does this sound feasible? If your CPU is in sleep mode except during a small window to gather and upload your data (e.g., using AlarmManager) maybe you could get this sort of life, but I'm dubious it can make it 4 months. After all, the battery loses power even if the device is completely *off*. If the CPU is supposed to be on all the time collecting sensor data, fuggedaboutit. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to *Advanced* Android Development_ Version 2.1 Available! -- 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: Verifying app signatures
Some developers publish the same apk (signed by the same certificate) on both the Android market and other channels. In that case checking the public key of the signing certificate would not work. The only way to really ensure that an app is installed from Android market would be to use the same APIs(internal and unpublished) that the Android market uses to implement LVL. --MB PS: Would it be possible to share what is the end goal of this exercise? On Nov 22, 12:17 pm, Fernando T ftr...@gmail.com wrote: So we want to verify that all apps on a phone come from the Android Market, because the setting to install apps only from the market can be turned on and off, in addition to apps being installed with adb, etc. One way I thought to do this is to make sure that it is signed by the developer of the app, or by the same certificate as it is in the Market. Even if different versions are installed, the certificate should match. Is there a way to programmatically get either the APK or the signature of the APK from the Android Market? -- 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: Extreme battery life
On Nov 22, 1:44 pm, Mark Murphy mmur...@commonsware.com wrote: If your CPU is in sleep mode except during a small window to gather and upload your data (e.g., using AlarmManager) maybe you could get this sort of life, but I'm dubious it can make it 4 months. After all, the battery loses power even if the device is completely *off*. If the CPU is supposed to be on all the time collecting sensor data, fuggedaboutit. No, I don't have to take sensor data except right before I launch the daily reading. But even when the CPU is just ticking over doing nothing it still has to keep a bunch of volatile state in registers and RAM and such. All that stuff might add up to over 1 mA. Really deep sleep modes usually store everything volatile into flash and then current drops to under 10 uA - just enough to run a little wake-up counter. But I don't think Android can do anything like that, even if the underlying hardware (like the ATMega) supports it. Solar is not an option but outboard batteries might work. Charging through the USB port is not very efficient, though, so I'd lose a lot of the benefit of a big external battery. -- 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] Galaxy Nexus can't go in USB Host mode, no mouse no usb stick.
As title. Is there some android engineer here who can explain me why galaxy nexus isn't able to go into usb host mode please? I connected mouse, keyboards, usb stick, nothing works. WHy? 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
Re: [android-developers] Re: Action Bar
Being fortunate enough to live in the land of the Galaxy Nexus Launch, I can speak to some of this. The GN has three places it will put a soft menu button, none of which are represented in the 4.0 emulator, unfortunately. Presumably, because it doesn't have some build flag set to say there's no hardware Menu button. If your app has targetSdkVersion of 10 or lower, it will have no native ActionBar, and the menu overflow button will appear alongside the other device buttons at the bottom of the screen (or the left edge, in landscape). The emulator doesn't show this device button area at all, but you've probably seen it in GN screenshots. If your app has targetSdkVersion of 11 or higher, it probably has an ActionBar, and the GN will put any overflow menu button at the right edge of the ActionBar, same as in Honeycomb. It's a different icon, but the same behavior. This doesn't happen in the ICS emulator, at least not at handset sizes. If your app has targetSdkVersion of 11 or higher, and you use the new split ActionBar ( http://developer.android.com/guide/topics/ui/actionbar.html#SplitBar), the GN will put your overflow menu in the lower ActionBar. Again, just be aware that the emulator does not show this. I've also had some trouble with the formatting of this lower ActionBar on the GN, but I can't seem to repro it at the moment. A consequence of these formatting differences is that you can't tell from the emulator exactly how the ActionBar will handle MenuItems that include showAsAction=ifRoom. Because the emulator's ActionBar doesn't show the soft menu button, it naturally has more room for one more ActionItem than the GN does. Take this into account when trying to plan how many ActionItems your user will be able to see. You may have also noticed on the emulator that ICS doesn't do a very good job of deciding ifRoom on the ActionBar. In particular, it'll happily ellipsize the activity's title in order to show one more ActionItem. This behavior also occurs on the GN; it's annoying, and IMHO makes a mockery of ifRoom. Finally, one problematic edge case occurred for me in an app I had where I hid the title bar in devices smaller than size Large. In this situation, the GN gave no way to access the functionality I had under the Menu key on other handsets: no action bar, but no soft menu button in the device area either. Not nice. But probably not a case which affects many apps. Hope this helps some folks, String -- 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: SDK 4, if I select WXGA resolution, emulator doesn't start.
bump On Nov 20, 7:22 pm, sblantipodi perini.dav...@dpsoftware.org wrote: After the latest update it is not possible to start Emulator using WXGA resolution, this is an old problem. Is there someone who succed to use API Level 14 with WXGA res? -- 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: Extreme battery life
A little research found that my Samsung Droid Charge uses the ARM Cortex A8. Here's the datasheet for the Freescale version of that chip: http://cache.freescale.com/files/32bit/doc/data_sheet/IMX50CEC.pdf Note that the top of page 24 describes a Stop Mode with a maximum power draw (at 25 degrees C) of 2.5mW. If we assume a regulator efficiency of 85% then that implies a current drain of just under 1 mA. Of course, this all assumes that there is a way to get Android to drop into this deep sleep mode (and wake from it). Hmm. -- 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: Extreme battery life
On Tue, Nov 22, 2011 at 5:14 PM, Bret Foreman bret.fore...@gmail.com wrote: No, I don't have to take sensor data except right before I launch the daily reading. But even when the CPU is just ticking over doing nothing it still has to keep a bunch of volatile state in registers and RAM and such. All that stuff might add up to over 1 mA. Really deep sleep modes usually store everything volatile into flash and then current drops to under 10 uA - just enough to run a little wake-up counter. But I don't think Android can do anything like that, even if the underlying hardware (like the ATMega) supports it. I was under the impression that the CPU was stopped in Android's sleep mode, but I certainly could be mistaken. The closer you get to hardware, the worse my comprehension. Solar is not an option but outboard batteries might work. Charging through the USB port is not very efficient, though, so I'd lose a lot of the benefit of a big external battery. You could always go with a diesel generator... :-) If you want, give me an idea of what sort of device you'd want to be running, and I can try to find something roughly equivalent here in my Secret Mountain Lair. I'll charge it up, put it on airplane mode, and let it sit for a couple of weeks, and we'll see what the battery level dropped to, with the stock battery. You could run that test too, of course, if you have a spare device lying around. While it wouldn't include the drain from your app, it'd at least give you an idea as to whether or not there's a prayer of it working for four months. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to *Advanced* Android Development_ Version 2.1 Available! -- 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: Extreme battery life
On Nov 22, 2:52 pm, Mark Murphy mmur...@commonsware.com wrote: If you want, give me an idea of what sort of device you'd want to be running, and I can try to find something roughly equivalent here in my Secret Mountain Lair. I'll charge it up, put it on airplane mode, and let it sit for a couple of weeks, and we'll see what the battery level dropped to, with the stock battery. You could run that test too, of course, if you have a spare device lying around. While it wouldn't include the drain from your app, it'd at least give you an idea as to whether or not there's a prayer of it working for four months. Mark, that would be very nice of you. If it turns out that Android truly stops the CPU then I'm in business...I can shop around for the lowest sleep-mode power model with the fattest extended life battery. If it turns out the CPU is still running in some fashion then I don't think any phone will work. -- 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: Extreme battery life
Have you considered a solar phone charger? http://www.rei.com/gear/feature/search/Google/solar%20charger?s_kwcid=TC|130 29|solar%20phone%20charger||S|e|8644334045cm_mmc=ps_google_CH-_-Category%20 -%20Nav%2fCom-_-Nav%2fCom_Solar_Charger_General-_-solar%20phone%20chargergc lid=CMzSxdazy6wCFQLj7QodmB--qA -Original Message- From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of Bret Foreman Sent: Tuesday, November 22, 2011 6:22 PM To: Android Developers Subject: [android-developers] Re: Extreme battery life On Nov 22, 2:52 pm, Mark Murphy mmur...@commonsware.com wrote: If you want, give me an idea of what sort of device you'd want to be running, and I can try to find something roughly equivalent here in my Secret Mountain Lair. I'll charge it up, put it on airplane mode, and let it sit for a couple of weeks, and we'll see what the battery level dropped to, with the stock battery. You could run that test too, of course, if you have a spare device lying around. While it wouldn't include the drain from your app, it'd at least give you an idea as to whether or not there's a prayer of it working for four months. Mark, that would be very nice of you. If it turns out that Android truly stops the CPU then I'm in business...I can shop around for the lowest sleep-mode power model with the fattest extended life battery. If it turns out the CPU is still running in some fashion then I don't think any phone will work. -- 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 -- 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] SDK Manager update fails every time
When I launch SDK Manager and update, I get this error message every time, any ideas? SDK Manager: failed to install -= Warning ! =- A folder failed to be moved. On Windows this typically means that a program is using that folder (for example Windows Explorer or your anti-virus software.) Please momentarily deactivate your anti-virus software or close any running programs that may be accessing the directoyr 'C:\apps\google\android\android-sdk\tools'. When ready press YES to try again. I am not running any anti-virus. There is no other applications running other than the SDK manager. I have shut off other services and background programs that would not be accessing this folder. There are no open folders anywhere and all services are at a very minimum. I am running on Windows 7. What to do? --- -- 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: Galaxy Nexus can't go in USB Host mode, no mouse no usb stick.
What does the logcat say? On Nov 22, 2:24 pm, sblantipodi perini.dav...@dpsoftware.org wrote: As title. Is there some android engineer here who can explain me why galaxy nexus isn't able to go into usb host mode please? I connected mouse, keyboards, usb stick, nothing works. WHy? 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] Samsung Galaxy Tab 10.1
I have a Samsung Galaxy Tab 10.1. Is there a way to dump out the ROM, run it under emulation, modify the ROM (store my settings or backup on my PC) and restore back to the device? I have asked around other groups, but no clear answer. What are the best free (or commercial) tools for dumping out, managing restoring ROM's? thanks J.V. -- 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: Extreme battery life
On Tue, Nov 22, 2011 at 6:21 PM, Bret Foreman bret.fore...@gmail.com wrote: Mark, that would be very nice of you. Contact me off-list and we can figure out what device(s) I'll test for you. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to *Advanced* Android Development_ Version 2.1 Available! -- 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: Extreme battery life
On Nov 22, 3:33 pm, Tommy Hartz droi...@gmail.com wrote: Have you considered a solar phone charger? The environment is too dirty for a solar charger. It doesn't take much dust to cut the panel efficiency down to almost nothing. -- 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: Extreme battery life
Ah ok well best of luck with your endeavor! -Original Message- From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of Bret Foreman Sent: Tuesday, November 22, 2011 6:47 PM To: Android Developers Subject: [android-developers] Re: Extreme battery life On Nov 22, 3:33 pm, Tommy Hartz droi...@gmail.com wrote: Have you considered a solar phone charger? The environment is too dirty for a solar charger. It doesn't take much dust to cut the panel efficiency down to almost nothing. -- 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 -- 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] Open Library to connect Lync Server 2010
Hi, I want to build a communication application on Android that can connect Lync Server. So, anyone know any open lib to solve this? Thanks a lot! -- Regards, Khanh. -- 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 dismiss all contextMenus/submenus from an AlertDialog result
Hi, I have an alert dialog i show after the user selects a certain menu item. If the answer is 'yes' to the alert dialog it works fine as the next menu that is shown is the submenu (looks like a context menu) for that option. however, what i want to try to do is if the answer is 'no' to the alerg dialog, i want to be able to not have the submenu show up. right now there's nothing i can do to stop this submenu from showing up. it is specified in the xml menu layout. is that the problem? does it need to be dynamic? seems like the alertdialog context/scope doesn't have enough privilege to do any of these: -- // dialog.cancel(); // activity.setContentView(R.layout.viewdocument); // activity.closeOptionsMenu(); // activity.closeContextMenu(); // closeContextMenu(); -- item android:id=@+id/done android:icon=@drawable/ic_logout android:title=@string/done !-- done with document submenu -- menu item android:id=@+id/invite_signer android:title=@string/ invite_signer / item android:id=@+id/just_me_signing android:title=@string/ just_me_signing / item android:id=@+id/cancel_done android:title=@string/cancel / /menu /item -- thanks! --Edmund -- 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: fetching image from sqlite
So you're not actually storing the image in the database, just the path to the image. (Very good). Now all you need is to dynamically address an item in the assets folder. Have a look at AssetFileDescriptor afd = getAssets().openFd(file name); -- 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: to start an activity
pls suggest me best books for android developement. I am new to android and want to be andorid devloper. thanks in advance..! On Tue, Nov 22, 2011 at 11:37 AM, BelvCompSvs fa829...@gmail.com wrote: yes - put that in the search bar at developer.android.com On Nov 21, 10:54 pm, mohana priya gpriyara...@gmail.com wrote: Hello android developers.I want to know whether we can start the activity life cycle manually in android.Please reply me.Thanks in Advance. -- 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 -- 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