[android-developers] Re: Bluetooth Low Energy support on lollipop and previous
You shouldn't set a max sdk. You can set minSdk to 18, and targetSdk to 21. If you set a max, that means if there's a new android version, people won't be able to download your app, you'll have to make an update. As for the error you get, it's mainly a lint error. If the code is in an if statement like you showed, there's no reason someone with API 18 enters into this if statement. You'll just have to add @SuppressLint(NewApi) before your method. Have a look at this stackoverflow page, it'll help. http://stackoverflow.com/questions/11592820/writing-backwards-compatible-android-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 --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] Re: Bluetooth Low Energy support on lollipop and previous
According to the official documentation : You can use Android 5.0 APIs while also supporting older versions by adding conditions to your code that check for the system API level before executing APIs not supported by your minSdkVersion https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#min. To learn more about maintaining backward compatibility, read Supporting Different Platform Versions https://developer.android.com/training/basics/supporting-devices/platforms.html . Example with honeycomb : // Make sure we're running on Honeycomb or higher to use ActionBar APIs if (Build.VERSION.SDK_INT = Build.VERSION_CODES.HONEYCOMB) { ActionBar actionBar = getActionBar(); actionBar.setDisplayHomeAsUpEnabled(true); } In your case : if (android.os.Build.VERSION.SDK_INT = Build.VERSION_CODES.LOLLIPOP) -- 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] Re: How to display action bar in navigation with list activity
Personally, I have a layout containing my toolbar. I use merge. Something like this : toolbar.xml merge xmlns:android=http://schemas.android.com/apk/res/android; android:layout_width=match_parent android:layout_height=match_parent android.support.v7.widget.Toolbar android:id=@+id/toolbar android:layout_width=fill_parent android:layout_height=wrap_content android:minHeight=?attr/actionBarSize android:layout_gravity=center_vertical /android.support.v7.widget.Toolbar /merge I'm using fragments, so I also declared a default activity layout, containing the toolbar and a container for my fragment. So I can reuse it easily. activity_default.xml LinearLayout xmlns:android=http://schemas.android.com/apk/res/android; android:layout_width=match_parent android:layout_height=match_parent android:orientation=vertical include android:id=@+id/toolbar_container android:layout_width=fill_parent android:layout_height=wrap_content layout=@layout/toolbar / FrameLayout android:id=@+id/fragment_container android:layout_width=match_parent android:layout_height=match_parent / /LinearLayout Hope this helps. -- 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] Re: Translate animation in oncreatview of the fragment
onActivityCreated() -- 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] Re: finish() does not dismiss AlertDialogs
Did you try to : dialog.dismiss(); Before calling finish() Le mardi 30 septembre 2014 06:21:46 UTC-4, pedr0 a écrit : Hi all, I am developing an activity which generate an AlertDialog and attach to it an onClickListener which calls the finish() method, I am experiencing a strange issue which result is a kind of stalemate: pressing the *Ok* button finish() gets called and I can see the onDestroy() being called by the system using Log.cat(). The activity is the only one in the stack therefore the system quits from the app but when I start it again I can still see the AlertDialog (!) then if I click in the *Ok* button again I will exit. Any ideas ? AlertDialog.Builder builder = new AlertDialog.Builder(context); AlertDialog dialog = builder.create(); DialogInterface.OnClickListener ok = new DialogInterface.OnClickListener() { @Override public void onClick(DialogInterface dialog, int which) { finish(); } }; dialog.setButton(Dialog.BUTTON_POSITIVE, Ok, positiveBtnListener); -- 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] Gradle Android Studio Github repo dependacy
Hello, Does anyone have an idea if it's possible to use a github repo as a dependancy, without maven. We are currently starting a new project and would like to import a private custom library to our project. We would like to just add the dependancy to the github repo of that custom library, not have to publish to maven central (at least for the moment). 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 --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] Re: create photo gallary
dear sir, google Le dimanche 10 août 2014 02:48:41 UTC-4, Bhavin a écrit : dear sir, for my application, I wanted to create photo gallary. in which i can add photo (from content provider) well as delete photo. how to do this? -- 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] Re: Context menu on long press on any icon
http://developer.android.com/reference/android/view/View.OnLongClickListener.html http://developer.android.com/guide/topics/ui/menus.html#FloatingContextMenu Next time it would be great if you have a look at google before. Le mardi 15 juillet 2014 05:38:45 UTC-4, sourabh a écrit : Dear All, I am looking for functionality in which if I long press on any file/app/etc.My Context menu should apper with few options. How can I achieve this any kind code or sample program.. Regards, Sourabh -- 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] Re: Android XML
Did you do some kind of overriding on back button? If you normally use startActivity() in activity A to start B, then when you press back from B to A, it should act normally. Le vendredi 11 juillet 2014 01:50:31 UTC-4, janvi a écrit : Hello All, I have an issue in my App. I have three activities called A , B ,C In the activity A I have a button and onclick of that I open another Activity called ShowChart.Onback press of ShowChart Activity I navigate to Activity A Onback press of Activity A I close the App. Following is the Problem -- When I open ShowChart Activity and do backpress I go to Activity A which is fine but when I again do back press from Activity A my App gets Closed but XML of the ShowChart Activity is shown instead of normal close of the App. Any Help would be appreciated.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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] Re: App memory vs extornal memory
Please don't mess up with the user storage by creating a folder like the other guy said. Use the folder allocated to your app. Have a look at http://developer.android.com/reference/android/content/Context.html#getExternalFilesDir(java.lang.String) Then when the user uninstall your app, it won't leave random unwanted files on his memory. Le mardi 8 juillet 2014 06:38:47 UTC-4, rahul kaushik a écrit : In my app i need to install files(Html) from the server,i want to save it unzip it and show in my webview what could be the best possible place to download save and unzip the file App Internal memory or External Memory of phone Please Suggest Thanks Rahul Kaushik -- 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [android-developers] Android App Failing When downloaded From Google Play
Did you search just even a little bit on google? http://stackoverflow.com/questions/15409754/getlastknownlocation-returns-null-even-with-best-provider http://stackoverflow.com/questions/19621882/getlastknownlocation-returning-null You should check that _location isn't null and if it is, do something, catch something so that it doesn't simply crash. It's possible that there isn't any location returned if the provider wasn't use recently. So in that case getLastKnownLocation will return null and you'll have to wait for a real fix (ie onLocationChanged()). -- 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] Re: Share Loader's data between multiple fragment
Like Doug said. That's sort of how i'm doing it and had no problem. So #2 kind of. Here's my onLoadFinished : @Override public void onLoadFinished(LoaderArrayListTour loader, ArrayListTour data) { CatalogTabFeatured featuredFragment = (CatalogTabFeatured) getSupportFragmentManager().findFragmentByTag(makeFragmentName(mViewPager.getId(), 0)); featuredFragment.setData(data); CatalogTabRecents recentsFragment = (CatalogTabRecents) getSupportFragmentManager().findFragmentByTag(makeFragmentName(mViewPager.getId(), 1)); recentsFragment.setData(data); CatalogTabRated ratedFragment = (CatalogTabRated) getSupportFragmentManager().findFragmentByTag(makeFragmentName(mViewPager.getId(), 2)); ratedFragment.setData(data); } -- 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] Re: In-app payment system
If I understand your situation correctly, you shouldn't be using in-app billing if it's to buy flowers. Refer to this section : http://developer.android.com/google/play/billing/billing_overview.html#products You can use In-app Billing to sell only digital content. You cannot use In-app Billing to sell physical goods, personal services, or anything that requires physical delivery. So you should be looking at something like paypal? stripe? etc. Le mardi 22 avril 2014 00:19:18 UTC-4, Michael Leung a écrit : I know if I process the in-app payment to activate some extra features in my app. I have to use google checkout. But If I process some payment in the real world, for example, I build an app for flower shop, they want to pay their order. Can I add other payment options? -- Regards, Michael Leung http://www.itblogs.info - My IT Blog http://diary.skynovel.info - My Blog http://www.michaelleung.info - My Homepage -- 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] Re: Data getting null when the app in background
Use onSavedInstanceState to save your data and retrieve it in onCreate ( if(savedInstance != null) ...) On Wednesday, January 15, 2014 12:47:23 PM UTC-5, abhay_401 wrote: Hi, In my activity there are two spinners,listview and a button GO. When the user select the options from the spinners and he clicks on GO button there is a server request. whatever the response comes from server i am displaying that data in listview... Once the data displayed, if the user keep the app in background by pressing home..after sometime if the user again comes back to the screen i am getting null pointer exception as the data or object passed to the listview adapter is getting null. Seems System is garbage collected the data... How can I overcome this situation. Can anyone help me on this... -- 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: android how to use one view in multiple layouts files.
Well, i'm not gonna come and do it for you. There's no reason it's not working. If you are not willing to learn the basic first...i'm outta here Learn to read the error, the console, logcat, etc. On Friday, November 15, 2013 11:58:14 AM UTC-5, 12169 wrote: It is not working... On Friday, November 15, 2013 8:53:19 AM UTC-8, 12169 wrote: Hi , android:text=”Your new text string” eclipse is not showing this option in ctrl+space On Wednesday, November 13, 2013 7:51:47 AM UTC-8, MathieuB wrote: Let's say you named this layout, with your textview tv_layout. Use that in your other layout to include it. Note that you can override other value like layout_width, id, etc. : include android:text=”Your new text string” layout=”@layout/tv_layout”/ -- 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: android how to use one view in multiple layouts files.
Let's say you named this layout, with your textview tv_layout. Use that in your other layout to include it. Note that you can override other value like layout_width, id, etc. : include android:text=”Your new text string” layout=”@layout/tv_layout”/ -- 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: how to track the location continously...
http://developer.android.com/training/location/receive-location-updates.html You're welcome! -- 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Nested JSON Parsing with Volley
Well, you have 4 lines of code in your try/catch block...just debug it and find what cause the error. We gave you hint with the getString(temp) being one of the problem. We won't code at your place. If you are not able to do that, then go back to the basic. -- 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Nested JSON Parsing with Volley
Is it me or getString(temp) can't work. Temp is 297.009 in your json, not a 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 --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Open remote image in Gallery
Hello, I have an app with thumbnails and when the user touch the thumb, I would like to open the full image in fullscreen. I try opening the image in the default Gallery app, but it doesn't work on all devices. Here's the snippet : Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(url_of_the_remote_image_here)); intent.setType(image/jpg); startActivity(intent); On Nexus S running 4.1, I get : android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.VIEW typ=image/jpg } Any idea ? 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 --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Need help with background loading
Hi! In my app, I have a loader that calls a webservice and gets a result from it. Based on that result being positive, it would show an alertdialog to tell the user there is an update available for some files (that are parts of my app). Problem is : I'd like to start that loader on app launch, and deliver the alertdialog anywhere in the app, whatever activity the user is in. I searched for a solution. Thought about putting the loader work in the Application class, but really not sure it's a viable solution. TL;DR : Do you have any idea how to do background process on app launch, that would delivers an alertdialog independently of the activity user's in? -- -- 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Need help with background loading
Thanks for the reply! That works, indeed, but what I really wanted to achieve was to show the alertDialog even if the user is not in the launcher activity anymore. For example : In home activity (Activity A), I start the loader. The onLoadFinished is not yet called and the user goes in another activity (Activity B). When the loader from Activity A finishes, the alertDialog would show in Activity B because that's where the user is now. Is that possible? -- -- 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Need help with background loading
We misunderstood! I understood your solution and used it. I launch an activity as a dialog on onLoadFinished. But the loader is initialized in my main activity. So if I goes to another Activity (eg Activity B), and the onLoadFinished is not called yet, then the dialog will not appear because the loader was not finished. Well, that's what my tests show. -- -- 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Share Loader data for three fragments
Hi there, I'm using ActionBarSherlock and a FragmentPagerAdapter to display three tabs which are each associated to a fragment. Each fragment consists in a listview. The data are all the same for each listview, only difference is that they are filtered differently depending of the tab. So for the moment, I got a Loader in each fragment that gets the data from a webservice. Because the data is the same for each fragment, I'd like to find a way to only get the data once and share it across all three fragments. Can you guys give me some cues? 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 --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: WebViews: return an array to javascript-interface
My guess is that you cannot send a Java array to javascript directly. Maybe if you convert the Java array to JSONArray before sending it to javascript, then you could parse the JSONArray when received. -- -- 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: WebViews: return an array to javascript-interface
Not enough information to clearly understand. There may be different reasons why it's not working. You need to give more details/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 --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] New In-app billing (v3)
Hello everyone! Today, the Developers blog announced a new version of the in-app billing system : http://android-developers.blogspot.ca/2012/12/in-app-billing-version-3.html Just wanted to discuss about it. How is it compared to implementing in-app billing with v2? I did try the v2, and it was really non-intuitive and a really bad experience overall. I'm eager to try this new version. Tutorial is here : http://developer.android.com/training/in-app-billing/index.html Mathieu B. -- 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: In-App billing draft apk not appearing in Developer Console
Are you using the new or old developer console? I've noted some functionality missing in the new interface. On Thursday, December 6, 2012 5:55:01 PM UTC-5, jb wrote: Hi, I'm trying to test In-App billing on my app. I registered a test account in my Google Play account. I uploaded a new, signed apk as an unpublish draft (I uploaded and saved, but did not publish) The VersionCode is greater than the published apk (49 vs 48) The VersionName is different than the published apk (1.1.20 vs 1.1.19) The new apk contains: com.android.vending.BILLING When I go back to the Developer Console screen, the draft apk does not appear, only the published apks are present. Am I missing a step? jb -- 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: navigating UP
why don't you simply use finish() ? -- 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: navigating UP
did not meant to be rude :) Pleasure -- 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] Fragments slow to load when coming back
Hello! Here's the situation : I have a parent activity that have 3 fragments associated with it. Basically, there is the actionBar and three tabs. Each tab holds a fragment in which there is a listview. The data are the same for all the 3 listviews, just filtered in different way so, in the parent activity, I call a webservice to fetch the data and then I push the data to all three fragments and populate their listviews. When I select an item from one of the listviews, I land on another activity. The PROBLEM is, when I come back (to the activity with 3 fragments), there seems to be a lag from the moment I push the actionbar up button and the activity loads. Tough to explain, but when I hit the up button, it stays selected for about 2 seconds and then switch to the activity. I'm using setRetainInstance on fragments...other than that, I don't know what could be the cause. Do you have any idea? Anything common about using fragments and coming back to this activity after leaving 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] Re: Localized Images in Google Play
Sadly not, from my experience. Had the same problem with my banner on Google Play. No way to have a different one for each languages. Google Play have many adjustments to do in my opinion. They are becoming the leader and have exceeded Apple over the # of apps on the store. Now they need to improve the developers experience. Especially in-app billing is a nightmare to manage. -- 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: Google Checkout Account
Its really badly documented. Google should do something about it as it is not normal. On Wednesday, October 24, 2012 6:13:27 AM UTC-4, katarina wrote: Thanks Ralph! On 24 окт, 12:03, Ralph Bergmann | the4thFloor.eu ra...@the4thfloor.eu wrote: Am 24.10.12 09:27, schrieb katarina: But when we try to open up a Google Checkout account from Canada it will not let us do, because only options for addresses are US and UK. As well as the tax information. read this: https://groups.google.com/d/msg/android-developers/CDUCZVQ_PEA/Q-3ohh... Ralph -- 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: In-app billing for canadian
Hi, Ok guys, i'm glad to hear that. I'll try to investigate more and find what is causing the issue. Weird thing is i'm not the only one reporting that problem. I found on other forums that people in Canada receive the message Canada is not supported when trying to register a merchant account. -- 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: In-app billing for canadian
Finally, it seems I was wrong and i'm really happy to notice it! I was registered as a developer on our dev console but wasn't the admin. When I was trying to register the google checkout account, I was going directly to checkout.google.com and it said Canada wasn't supported. Today I try with the admin account and there were the option in the dev console to open the account and everything works! :) Thank you for your help guys. -- 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] In-app billing for canadian
Thought the same thing when I read it, they said it clear. But when it's time to open a google checkout account so I can receive money, it says only available to US and UK... -- 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] In-app billing for canadian
You mean you have a google checkout merchant account? And you register for in-app billing? -- 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] In-app billing for canadian
Hello, I'm a canadian developer working on an android app. It is currently free on the google play store. The strategy for this app, from the beginning, was to someday implement in-app billing. So the user download the free app, goes through a list of items, some free and some not, usual pattern. Today I was beginning to look at implementing in-app billing, when I faced the fact that canadian CANNOT open google merchant account... I was a bit shocked. So i'm looking at alternative now. I know Paypal X have an api, but it seems this is going against google play policies not to use their system. I'm a bit stuck with it. If google cannot allow canadian to use in-app billing, would they allow us to use paypal system for in-app purchase? Developers/publishers not from US or UK, what have you done with your app to sell items in-app? Thank you 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: Webview shows white blank page in Ice Cream Sandwitch
Strangely, the exact same problem happened to me today. Was testing my map embedded in a webview on android 4.0.4...and around 3 times out of 4, it was showing a blank page...don't really understand why. I'll try to call the destroy() method on the onDestroy() and see if it helps... What is strange (and bad) is that everything works well in 2.3.x and 4.1 -- 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: WebView in Andoird 3.x and 4.x does not load JavaScript files
Do you absolutely need to load the files from a server? You could put them in the asset folder. -- 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