Ahh, that explains the missing night mode, although if there is no dock mode
(which is obviously a bug since I have it in a doc) when there can't be a
car mode.
- Brill Pappin
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to
Hi,
This may be very basic question but I really cannot find any proper solution
for this.
I was developing app (which have service) on Android 2.2. Then I realize
that I should also make it compatible to Android 1.5.
But for android 1.5, onStartCommand() method was not there and instead
Yes. That's the difference between min-sdk-version and the level specified in
Properties, and is how it's always been if you're supporting a range of
versions.
String
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this
Hi Guys,
I developed a application and put it on Android Market. This application
support Android API from level 7 to level 10. It works prefectly on Android
2.1 and 2.2. Recently, it seems many user start to use Android 2.3.3. I
start to get a strange crash as following:
Hi,
Is it possible to get current time / GMT offset for any location?
For that location I have longitude / latitude but that is not my current
location.
Thanks,
-A
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group,
Check this out
http://developer.android.com/reference/android/app/Service.html#onStartCommand%28android.content.Intent,%20int,%20int%29
Kumar Bibek
http://techdroid.kbeanie.com
http://www.kbeanie.com
On Sat, Apr 16, 2011 at 12:38 PM, Mahavir Jain vir.j...@gmail.com wrote:
Hi,
This may be
As it says, you are trying to post a notification that is invalid. This
particular error happens when the notification you give to
Service.startForeground() is invalid.
(Btw, I really really hope you aren't using com.xxx.xxx as your app
package name.)
On Sat, Apr 16, 2011 at 12:37 AM, A.TNG
The no dock mode is not a bug. There is no hardware to detect that it is in
a dock. All it can see is that it is plugged in to USB power. There are
many Android devices that have various ways to plug in to power that hold
the device, but don't have hardware to detect if they are actually
Linux allows separate entities to open files and read and write them at the
same time. You don't have to do anything special for this.
On Fri, Apr 15, 2011 at 10:09 PM, Hitendrasinh Gohil
hitendra.virtuei...@gmail.com wrote:
hi,
I just want to play one file from sdcard which is in encrypted
You could try running a loop that pings each internal ip. Unless there is an
Nmap like function for android this method would only return which of the
ips have devices connected to them.
On Sat, Apr 16, 2011 at 4:05 AM, Robert rloude...@gmail.com wrote:
Well the particular devices that I will
Look at JmDNS library. It works for me.
Kumar Bibek
http://techdroid.kbeanie.com
http://www.kbeanie.com
On Sat, Apr 16, 2011 at 2:22 PM, Raghav Sood raghavs...@gmail.com wrote:
You could try running a loop that pings each internal ip. Unless there is
an Nmap like function for android this
How can i develop a Android Application that allow someone to login in
his Google Docs account?
And which library i much use?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
oauth core .jar
On Sat, Apr 16, 2011 at 3:31 PM, Reptil christophepeix...@gmail.com wrote:
How can i develop a Android Application that allow someone to login in
his Google Docs account?
And which library i much use?
--
You received this message because you are subscribed to the Google
Thanks Kumar..
On Sat, Apr 16, 2011 at 1:54 PM, Kumar Bibek coomar@gmail.com wrote:
Check this out
http://developer.android.com/reference/android/app/Service.html#onStartCommand%28android.content.Intent,%20int,%20int%29
Kumar Bibek
http://techdroid.kbeanie.com
http://www.kbeanie.com
On Sat, Apr 16, 2011 at 3:08 AM, String sterling.ud...@googlemail.com wrote:
Yes. That's the difference between min-sdk-version and the level specified in
Properties, and is how it's always been if you're supporting a range of
versions.
Agreed.
Your build target (default.properties for Ant,
On Sat, Apr 16, 2011 at 4:17 AM, Amita Dev amita.develo...@gmail.com wrote:
Is it possible to get current time / GMT offset for any location?
For that location I have longitude / latitude but that is not my current
location.
You might be able to find some Web service, or possibly a JAR,
How about ToneGenerator?
http://developer.android.com/reference/android/media/ToneGenerator.html
- Takeyuki
On 2011/04/15, at 23:28, Mark Murphy mmur...@commonsware.com wrote:
On Fri, Apr 15, 2011 at 10:16 AM, Keith Fry keith...@gmail.com wrote:
Yes, I want it to play tones over the call not
This is extremely complicated as you would need to store all the paths for
time zone borders, including the inclusions, double inclusions etc. Most
country borders are not straight so it would be a massive amount of data.
And then there is Indiana...
Dear Reptil ;
In some past I use smack jar for this ..
On Sat, Apr 16, 2011 at 2:01 PM, Reptil christophepeix...@gmail.com wrote:
How can i develop a Android Application that allow someone to login in
his Google Docs account?
And which library i much use?
--
You
You need to separate the data from its presentation. By its very nature HTML
is unable to describe multiple pages. So you need to extract the data,
separate it into the required chunks, and then re-render them.
--
You received this message because you are subscribed to the Google
Groups
Hello all,
I'm developing an app where I use the camera (android 2.2) and in some
point I needed to add a google map to the app. As far as I know,
Google Maps can only be added through a Google API and a different
emulator that also runs on Google API...
My question is: how to integrate the google
On Sat, Apr 16, 2011 at 9:06 AM, Neverland noha.mahmoud2...@gmail.com wrote:
My question is: how to integrate the google maps to the module that
uses Android SDK?
http://code.google.com/android/add-ons/google-apis/index.html
http://code.google.com/android/add-ons/google-apis/installing.html
Also be aware that there is a second option, especially if you only need
maps for certain locations. The Google Maps Static API provides just that,
without any of the overhead of the regular MapView API.
--
You received this message because you are subscribed to the Google
Groups Android
[rant]The reason I mentioned static maps is that for whatever weird reason
Google only allow you to have ONE MapView in your ENTIRE application. So
forget about having active maps in different activities, or even different
tabs. [/rant]
--
You received this message because you are subscribed
My app has a Restore Defaults function in its Preference Activity. I
want the user to confirm the selection with a box which says Are you
sure, with a OK button and a Cancel button. I built this using a
ListPreference with two items and while it works it doesn't look
right.
Is there some easy way
For Facebook, You will have to login through the FB dialog box but you can
post the content through Graph API..
Checkout http://developers.facebook.com/docs/reference/api/
For FB SDK visit http://developers.facebook.com/docs/sdks/
Regards,
Mahavir
On Sat, Apr 16, 2011 at 11:29 AM, Laxmi Verma
On Sat, Apr 16, 2011 at 9:37 AM, Peter Webb r.peter.w...@gmail.com wrote:
My app has a Restore Defaults function in its Preference Activity. I
want the user to confirm the selection with a box which says Are you
sure, with a OK button and a Cancel button. I built this using a
ListPreference
No, there's nothing in the SDK to do it, and yes, it's complicated - though
not insurmountable. Trust me, I
know: https://market.android.com/details?id=com.polyclock
Since Indiana' started using DST, it's really no harder than many other
states which split time zones. Arizona's the only really
Just use a default Preference item rather than a derived
ListPreference.
All you need is to manually handle the click on the preference. I have
exactly the same functionality..
final Preference reset = (Preference)findPreference(reset);
reset.setOnPreferenceClickListener(new
Mark's method is also worth considering. I didn't do it that way
because in my experience Menu options are not typically used in a
Preference activity, so I wanted my users to be able to easily find
it. For what its worth, I put it under a Utilities category at the
bottom.
On Apr 16, 9:55 pm,
On Sat, Apr 16, 2011 at 10:02 AM, James W jpbwebs...@gmail.com wrote:
I didn't do it that way
because in my experience Menu options are not typically used in a
Preference activity, so I wanted my users to be able to easily find
it.
Yeah, I hear you.
Yet another possibility is to use your own
Hello all,
I have tried everything and can't get past this issue. Here is a my
error and the simple code example
Using Android 2.2..
java.lang.RuntimeException: Unable to start activity
ComponentInfo{com.arcdroid.Vars/com.arcdroid.Vars.HelloApplication}:
java.lang.ClassCastException:
You have not modified your manifest to say you are using your custom
Application class.
http://developer.android.com/guide/topics/manifest/application-element.html#nm
You also have an erroneous activity element, claiming that MyApp is
an activity, when it is not.
On Sat, Apr 16, 2011 at 10:16
On Sat, Apr 16, 2011 at 11:16 PM, ArcDroid jacobrjohn...@gmail.com wrote:
Hello all,
I have tried everything and can't get past this issue. Here is a my
error and the simple code example
MyApp appState = ((MyApp)getApplicationContext());
// String state =
I just played with tailoring the preference stuff to add a both a
Reset All preference, as well as adding a little Reset button next
to the checkbox/whatever for the other preference types, so that you
can easily just reset a specific preference, with the Reset being
visible only if you're not
Here's an honest questions to people who have in-app billing in production:
Does it work and is it worth the trouble?
I've been reading the list and it does seem that there are a number of
problems:
* it just doesn't work on 1.6/2.1 (some devices only?)
* it takes a while for purchases to get
I've reported this bug: http://code.google.com/p/android/issues/detail?id=16051
also, I've found an easy way to work around this issue.
You have to subclass DigestScheme to let getParameter return MD5 if
the algorithm was md5:
public class FixedDigestScheme extends DigestScheme
{
Thanks for the quick reply and thanks for pointing out my error in my
manifest. Here is the new one, but still having the same issue. Also
tried getApplication() vs. getApplicationContext().
?xml version=1.0 encoding=utf-8?
manifest xmlns:android=http://schemas.android.com/apk/res/android;
On Sat, Apr 16, 2011 at 10:46 AM, ArcDroid jacobrjohn...@gmail.com wrote:
Thanks for pointing that out, but still having troubles...I hope you
dont mind the direct email.
Yes, actually, I do, which is why I am sending this back to the list.
?xml version=1.0 encoding=utf-8?
manifest
Thanks Mark for helpI finally got it working. Have a nice
weekend.
?xml version=1.0 encoding=utf-8?
manifest xmlns:android=http://schemas.android.com/apk/res/android;
package=com.arcdroid.Vars
android:versionCode=1
android:versionName=1.0
application
On Sat, Apr 16, 2011 at 7:01 PM, Reptil christophepeix...@gmail.com wrote:
How can i develop a Android Application that allow someone to login in
his Google Docs account?
And which library i much use?
http://code.google.com/p/google-api-java-client/
--
You received this message because you
My experience is as follows (I went live with in-app billing on Monday
the 11th).
Lost purchase notifications affect about 5% of my orders, and when they
do, requesting transactions from Google again fixes it.
The good side of this bad thing is that it happens after the user places
the
Hi,
I have written a new keyboard by extending the SoftKeyboard provided
as example.
I wanted to have a transparent background so I included a transparent
png as background. This worked for some apps but for many others it
did not.
How can I make it work for all ? Am I missing something ?
I have an app that as the user opens 'things' from the ListView, I
want to update their view count as they are opened. Currently doing
this via raw SQL (...SET views = views + 1...), but would like to run
this operation through my content provider's 'update' method, if
possible.
Does anyone now
ContentProviders are somewhat more abstract than SQL...
You could have a special URI that means increment this item's view count,
e.g.:
authority/item/# - for operations on the entire item
authority/item/#/viewcount - updating would increment the view count by one
It might also be possible
Yeah, I had thought of creating a unique URi, as I am already handling
a few different ones in my overridden update method. Thanks for the
input!
On Apr 16, 1:06 pm, Kostya Vasilyev kmans...@gmail.com wrote:
ContentProviders are somewhat more abstract than SQL...
You could have a special URI
Alternatively you can modify the default select handler.
@Override
public void onSharedPreferenceChanged(SharedPreferences
sharedPreferences, String key) {
Preference pref = findPreference(key);
if (pref.getTitle().equals(Reset)) {
...
}
}
same idea, but maybe a bit
And you probably don't want to write to a file anyhow, rather decrypt to
memory, and play from memory.
--
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
On Fri, Apr 15, 2011 at 7:45 PM, Euphy Zhang euph.zh...@gmail.com wrote:
But it is in an android tutorial!
So what!? Any joker can add their own class to a tutorial!
What can i do with it?
Not much! Email the author!? Find a new tutorial!?
Thank you in advance!
Welcome!
I believe you, although I think there are at least two points that could
detect dock mode. one being the power connections which are independent and
the other being the USB connection to the sound output (from the aux jack on
the basic dock).
I assume this would be Motorola's problem though,
That explains a lot for me. I've been trying to make a few of our apps
compatible with Honeycomb and was having a very hard time because i was
trying to build at the min version.
Someone pointed out the API Analysis plugin
from http://code.google.com/p/adt-addons/ which has turned out to be a
When I connect my USB logitech gamepad, it gets detected by android. I
found that It is listed in the /proc/bus/input/devices file. Also I
can see an entry in /dev/input/event6.
I also tried cat and evtest on /dev/input/event6 and both show key
press data on the screen.
However I am not getting
Thanks for the suggestion. I wasn't clear enough, I'm reading two
analog values and store them over time; I store two values every ten
seconds, so I need a database.
I implemented a content provider and everything seems to work great so
far. Actually, it worked pretty well before, except I used
Would a content provider work?
On 14 Apr 2011 04:56, bogde bogde...@gmail.com wrote:
I'm new here and new to Android development too, so I want to
apologize for my ignorance.
I'm working on an application that is supposed to gather some data
from an external device continuously, display the
For rotating the phone or sliding out the keyboard and such,
onSaveInstanceState is not called and the onCreate will have a null value
for the 'savedInstanceState' parameter. To handle this, use
onRetainNonConfigurationInstance and
I'm new to Android too, but recently wrote a content provider.
Make sure the class SubscribeContentProvider.java is in the package
com.providers
Good luck!
Bogdan
On Apr 14, 11:39 pm, Android K interconnectt...@gmail.com wrote:
Hi,
With my one week old knowledge of Android I am trying use
On Sat, Apr 16, 2011 at 3:13 PM, Streets Of Boston
flyingdutc...@gmail.comwrote:
For rotating the phone or sliding out the keyboard and such,
onSaveInstanceState is not called and the onCreate will have a null value
for the 'savedInstanceState' parameter.
Was that a typo? Rotating the phone
Good to know that using Fragment#setRetainInstance to reuse (Web)Views
is not supported. Since it is actually working for my simple scenario,
I was looking at continuing to use it, and it potentially might have
run into issues at some point in the future.
Will look at using
On Fri, Apr 15, 2011 at 7:43 PM, dashman erjdri...@gmail.com wrote:
what i'd like to do is to call the activity immediately from the background
service
Don't do that. The user doesn't need some activity popping up at some random
time. Keep your notification scheme to let the user start the
Does Android support any kind of facebook integration such as posting
to someone's wall?
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
No. You can try to look for a facebook library, but there's no built in
Android support for it.
Type in facebook android in google:
https://developers.facebook.com/blog/post/385/
Kris
On Sat, Apr 16, 2011 at 6:05 PM, bob b...@coolgroups.com wrote:
Does Android support any kind of facebook
P.s.,
http://www.easyfacebookandroidsdk.com/
http://www.easyfacebookandroidsdk.com/Kris...
On Sat, Apr 16, 2011 at 6:16 PM, Kristopher Micinski krismicin...@gmail.com
wrote:
No. You can try to look for a facebook library, but there's no built in
Android support for it.
Type in facebook
I wrote a blog explaining a brief study I did on CONTACT_ID vs
RAW_CONTACT_ID. It can be found at the following location:
@Blogger
http://android-contact-id-vs-raw-contact-id.blogspot.com/
@Hyves
I think what Dianne was trying to say is that if you, let's say, make a
Tetris-like game and want to store a top 10 list, just make ten shared
preferences, the data won't be large, they will be fast to access and there
is no need for a database table for that. If you make a tower defense game
and
Oh really?
Thanks, I didn't catch it before, but I do now, all due to your
enlightenment :-)
Kris
On Sat, Apr 16, 2011 at 6:24 PM, Filip Havlicek havlicek.fi...@gmail.comwrote:
I think what Dianne was trying to say is that if you, let's say, make a
Tetris-like game and want to store a top 10
Hi guys,
I've actually worked out how to solve the problem. Well...the result
of the problem. i am not going to speculate why the screenshots are
not correct.
Anyway, what I've done is to just take 2 screenshots and compare them
until they are the same. This has worked well for me. Here's how
How likely is it that ten people will use the same Android device? If you
really need a highscore list it should live on your game server, not on the
device.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send
I'd imagine that this is the same as how high scores work on a desktop: most
of the time only I use my desktop, but Microsoft Solitaire still keeps track
of high scores.
Kris
On Sat, Apr 16, 2011 at 6:34 PM, lbendlin l...@bendlin.us wrote:
How likely is it that ten people will use the same
On Fri, Apr 15, 2011 at 1:19 AM, Prasanna prasanna.kada...@gmail.comwrote:
Hi want to make app for single user.how should i make it.
http://www.catb.org/~esr/faqs/smart-questions.html
-
TreKing
On Fri, Apr 15, 2011 at 12:29 AM, Raghavaraju K
raghavara...@yakshnatechnologies.in wrote:
PLEASE HELP ME WITH THE SAMPLE CODE
PLEASE STOP YELLING
PLEASE READ THE DOCUMENTATION ON ANIMATION
PLEASE EXPLAIN WHAT YOU'VE TRIED THAT'S NOT WORKING
On Thu, Apr 14, 2011 at 7:16 AM, Rob rb.cu...@gmail.com wrote:
I have looked at some samples but just ended up confused. :/
With what?
Can you guys help me?
Not if we don't know what you're confused about.
When I clicked on that link, the page didn't exist :-(... Or is that link
just an example that isn't meant to be for real.
I would expect that if the site doesn't exist, you will get some kind of an
exception, error or something like that.
Is it possible the when you try to download you simply
tia
--
- evt
(Eric van Tassell)
twitter: evt_texelsoft
linked-in: linkedin.com/in/evttxl
--
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
Am I seeing what I think I am seeing. It's so unbelievable and f-ed
up that I think I might be dreaming.
The prices shown on the Market App on the phone are the ones that I
set in my users local currency, but the Market website is showing the
US$ price converted to the local currency.
So in the
very early on you will have to decide if you want to do a synchronous or
asynchronous web request. That has a big impact on how you will proceed.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
You're welcome, Kris, I'm glad you can bath in the light of my knowledge :)
Ibendlin, ten people is unlikely, but I can imagine 4-5 people playing games
on one device (not everyone has a thousand dollars to buy a new smartphone
for every child, but believe me, everyone wants to play with the new
I'm not sure how it can possibly work. AFAICT, the currency is determined by
the country of the sim card (for Android smartphones). But what happens if
(like I do) you have two Android smartphones with different country sims?
What currency should the website show then?
--
You received this
GLSurfaceView can most certainly deal with orientation changes. All this
is, if your activity is not being restarted, is a resize of the window.
On Sat, Apr 16, 2011 at 1:54 PM, Shri shri.bo...@gmail.com wrote:
Good to know that using Fragment#setRetainInstance to reuse (Web)Views
is not
Yes any config change like that involving restarting an activity will save
and restore its state like normal. Otherwise the new activity would not
match the old one.
On Sat, Apr 16, 2011 at 1:37 PM, TreKing treking...@gmail.com wrote:
On Sat, Apr 16, 2011 at 3:13 PM, Streets Of Boston
If you really care about performance, and all you are doing is reading two
values and writing them over time, just appending this as binary data to a
file would be far, far more efficient than using a SQLite database.
On Sat, Apr 16, 2011 at 1:10 PM, bogde bogde...@gmail.com wrote:
Thanks for
Game pads are not currently supported.
On Sat, Apr 16, 2011 at 12:56 PM, Belani hardikbel...@gmail.com wrote:
When I connect my USB logitech gamepad, it gets detected by android. I
found that It is listed in the /proc/bus/input/devices file. Also I
can see an entry in /dev/input/event6.
I
The website should determine my location based on my IP. It does it
for me in Singapore, but it sitill showing the US$ price CONVERTED to S
$ instead of the S$ as I set on the Market Console. It knows what
country I am in, but it's showing the wrong price.
On Apr 17, 8:50 am, Mark Carter
Define did not work. In what way did it not work?
On Sat, Apr 16, 2011 at 9:21 AM, Pradeep bhatt.prad...@gmail.com wrote:
Hi,
I have written a new keyboard by extending the SoftKeyboard provided
as example.
I wanted to have a transparent background so I included a transparent
png as
MediaPlayer can't do that for you, sorry. You will have to fully
implement your own solution.
Doug
On Apr 14, 6:27 pm, Fernando Valente ferna...@fvalente.org wrote:
Hey,
I'm using MediaPlayer for audio streaming. I'd like to be able to
progressive download the audio and save it to the
84 matches
Mail list logo