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
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
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
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
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
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,
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
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,
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
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
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
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)
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
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
, 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
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
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
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
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
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,
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
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
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
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
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
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
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
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,
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
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
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
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
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:
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
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
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
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
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
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
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
40 matches
Mail list logo