On Fri, Mar 4, 2011 at 9:15 PM, lbendlin l...@bendlin.us wrote:
Not a stupid question. The setting (mirror or regular) should be selectable
at runtime, and may also be controlled by the accelerometer (eg mirror when
lying flat facing up, and regular in all other orientations.
Interesting.
On Fri, Mar 4, 2011 at 3:23 PM, lbendlin l...@bendlin.us wrote:
@Override
protected void dispatchDraw(Canvas canvas) {
canvas.save(Canvas.MATRIX_SAVE_FLAG);
super.dispatchDraw(canvas);
Log.v(This,+getWidth());
canvas.scale(-1f,1f, getWidth() * 0.5f,
Media Video. The ranking drop was worse than I indicated before.
Fortunately, sales has not suffered too much, but I'd hate to be losing
money over a market bug.
Maybe your ranking was too high before and you've made more money than
you should have :-)
The point is that it doesn't make
On Friday, March 4, 2011 4:18:14 PM UTC+6, Marcin Orlowski wrote:
And if
you planned to do some savings by hitting 10 receipients while paying
for 1 message - it's not gonna happen :)
No, I am only thinking of saving program execution time.
Anyways, thanks for your feedback.
Regards
Sarwar
I try to display (and change) the current default ringtone in an app.
Both Settings.System.getUriFor(Settings.System.RINGTONE) and
RingtoneManager.getDefaultUri(RingtoneManager.TYPE_RINGTONE) will
return content://settings/system/ringtone (at least on my device).
I tried to get the title with
How about:
static Uri getActualDefaultRingtoneUri(Context context, int type)
or
static Ringtone getRingtone(Context context, Uri ringtoneUri)
Ringtone in turn has:
String getTitle(Context context)
-- Kostya
05.03.2011 14:17, mort пишет:
I try to display (and change) the current default
Hello comrades
I have a small problem. Look. If I change background (on my own) for
any button instance the text becomes out on left-top corner. How to
back text drawing on the centre on button with custom background? here
is my example. if I use the following code:
Button btnTicket = new
05.03.2011 15:29, Hermes пишет:
How to
back text drawing on the centre on button with custom background?
Try calling button.setGravity(Gravity.CENTER).
--
Kostya Vasilyev -- http://kmansoft.wordpress.com
--
You received this message because you are subscribed to the Google
Groups Android
how to check my sign is correct or not,becouse i have no android phone
where i can test.i sign my apps using eclipse so how i will
chek ..plz help
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Can you give me another sample app, please?
2011/3/4 Dianne Hackborn hack...@android.com
If it helps, ApiDemos has all of the same fragment samples as the ones
originally released for HC, but using this library. You can run them from
App/Fragment Support in the UI, and the code is the
i found this resource http://www.embarcadero.com/rad-in-action/php-android
but could not found the solution Yet.
Atif
On Sat, Mar 5, 2011 at 2:17 PM, Atif Musaddaq atif.musad...@gmail.comwrote:
Hi, All
I would like to generate a List view in android (spinner) from the list i
will get from
I've, also, attended this tutorial http://goo.gl/i45OX with same error.
03-05 14:26:57.266: ERROR/AndroidRuntime(401): Uncaught handler: thread main
exiting due to uncaught exception
03-05 14:26:57.395: ERROR/AndroidRuntime(401): java.lang.RuntimeException:
Unable to start activity
I exactly the same problem with Droid-X users.
I set an Alarm using RTC_WAKEUP and the first thing the Alarm Receiver does
is log a message and then grab the WakeLock.
The Alarm Broadcast does not go off and the LOG message is not shown. This
seems to affect only a few users, but only if
It does not help...
On 5 мар, 15:45, Kostya Vasilyev kmans...@gmail.com wrote:
05.03.2011 15:29, Hermes пишет:
How to
back text drawing on the centre on button with custom background?
Try calling button.setGravity(Gravity.CENTER).
--
Kostya Vasilyev --http://kmansoft.wordpress.com
I have a merge layout that has a few includes in it . I need to be
able to position relatively. The top and bottom ones are easy because
you can use android:layout_gravity=bottom OR
android:layout_gravity=top. Now, is there a way to positing a third
include relative to the one at the top (right
Still no anwsers/comments..
Not any specialist of Android Services?...
On Mar 1, 8:06 pm, pedro242 pedro.contreir...@gmail.com wrote:
Hi there,
I would need your help to clarify what is the priority
of a process hosting a Service when the service is
either started (startService() ) or bound
Mike,
The contents of merge file is simply, um, merged at the point where
it's include'd.
If you use the include inside a relative layout, then the views inside
the merge can use realtive layout-specific attributes, and same for
other layout types.
To position one view between two others,
On Tue, Mar 1, 2011 at 2:06 PM, pedro242 pedro.contreir...@gmail.com wrote:
When the Service is started, the Android doc is quite clear saying:
If the service has been started, then its hosting process is
considered to be less important than any processes that are currently
visible to the user
Where is the best place to store the CREATE TABLE... statement strings
for an app that uses a SQLite database? Most of the examples I have come
across include them directly in the source code. Is there a reason why
this is preferable to storing them as resources, say as a string array?
Thanks,
Unless you plan on having different schemas for different situations
(e.g., small screens vs. normal screens, English vs. Spanish), there
is no particular gain from having them in string resources. And,
resources are publicly visible to other applications.
This does not mean that string resources
On Sat, Mar 5, 2011 at 1:10 PM, Nikolay Elenkov
nikolay.elen...@gmail.com wrote:
Hi,
I have a TextView displaying a single character, centered inside the view.
It works fine on all sort of devices, but on Galaxy Tab, the character is
aligned with the top of the view and slightly clipped. I've
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 03/03/2011 07:06 PM, sebastian nielsen wrote:
Also found some on the internet, about Nexus S having a PN65N which
according to sources of the internet, is a SmartMX security chip
combined with a NFC chip.
It seems that it is in fact an NXP
(Great! An answer from the
prestigious M.Murphy!! Great books!!)
Thanks Mark for your answer..
But the Services in bound mode are still not clear for me..
Android Doc says:
If there are clients bound to the service, then the service's hosting
process is never less important than the most
On Sat, Mar 5, 2011 at 11:30 AM, pedro242 pedro.contreir...@gmail.com wrote:
So if my most important client gets stopped and goes in the background
(or even worse, is destroyed), the Service process is then ranked in
the same way??
If your activity is no longer in the foreground (e.g., user
I have created list elements in spinner from strings.xml.
I store element in database using spinner1.getSelectedItem().toString();
How to retrieve that element from database?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this
Thank you for your help.
On Mar 4, 9:45 am, TreKing treking...@gmail.com wrote:
On Fri, Mar 4, 2011 at 9:00 AM, gcstang gcst...@gmail.com wrote:
If I remove the country from the pricing by unchecking is that suppose to
do the same thing?
Yes. It's a terrible UI. That grouping is to select
Try setting the text value after setting the typeface? It may
incorrectly
cache the measurement using the view's Paint's font, and not revise
that
measurement when the typeface is changed.
On Mar 5, 10:38 am, Nikolay Elenkov nikolay.elen...@gmail.com wrote:
On Sat, Mar 5, 2011 at 1:10 PM,
plz suggest me
On Mar 5, 5:47 pm, rishabh agrawal android.rish...@gmail.com wrote:
how to check my sign is correct or not,becouse i have no android phone
where i can test.i sign my apps using eclipse so how i will
chek ..plz help
--
You received this message because you are
Make sure you are including 'android-support-v4.jar' in your project
and are extending the FragmentActivity class, not Activity.
-Dan
On Mar 5, 7:29 am, Alessio Grumiro a.grum...@gmail.com wrote:
I've, also, attended this tutorialhttp://goo.gl/i45OXwith same error.
03-05 14:26:57.266:
I want to create a bitmap from a drawable, which is in res/drawables.
I know I should use BitmapFactory to do that, something like:
Bitmap bitmap = BitmapFactory.decodeResource(getResources(),
R.drawable.filename)
as written here:
On Sat, Mar 5, 2011 at 5:08 AM, Alessio Grumiro a.grum...@gmail.com wrote:
Can you give me another sample app, please?
Um, no. I've already written a lot of samples. I'd suggest as a first step
copying the code from one of the 10 or so samples in ApiDemos and making
sure it works in your
The service will be at the level of the most important thing it is doing.
If it has a service that is started, and an application that is in the
foreground bound to it, then it will be in the foreground as long as any
such bound application is foreground. When the application goes to the
For those that this is happening to, did you release an update to your
app recently? What do you guys have in common?
Remember the dreaded Active Install Drop of December 2009, where it
didn't affect everyone except those who released an update on or near
a certain date?
==
Hi,
I think i got the answer from one of the posts of Boston, But not
verified yet. But its a good hint, I guess
http://groups.google.com/group/android-developers/browse_thread/thread/d946f8ca1c8aba63
On Mar 5, 8:37 am, NR namit...@gmail.com wrote:
Hi Boston,
Thanks for your time.
You could try searching Flickr's App Garden also:
http://www.flickr.com/services/apps/search/?q=android
I've discovered Flickroid there.
~Chris
On Mar 4, 6:08 pm, Tom thomas.bruye...@gmail.com wrote:
Hi all,
Is anyone has ever heard of a Flickr application for Android, which could
provide a
What's the best way to test WebGL on Android? I have some demos which work
on Chrome/FireFox, but would like to keep them up to date for Android as
well.
http://www.pcprogramming.com
JD
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To
There's a difference between the XOOM's screen size (xlarge) and the
screen density. The XOOM has a screen density of 160 dpi, which is
considered mdpi. Higher density screens would be xhdpi. This page has
a good explanation:
http://developer.android.com/guide/practices/screens_support.html
-
On Mar 5, 7:47 am, rishabh agrawal android.rish...@gmail.com wrote:
how to check my sign is correct or not,becouse i have no android phone
where i can test.i sign my apps using eclipse so how i will
chek ..plz help
Why would you start publishing without even having one device?
The
On Thu, Mar 3, 2011 at 1:32 AM, yanamala siddaiah siddaiahforj...@gmail.com
wrote:
I want to get friends who are installed our app , send requests like
(me/friends.), ..etc
friends.getAppUser syntax give me . how to use this one how to
retrieve the friends using this method i want.
Another idea I have, is to use a RFID card/tag compatible with Nexus S
which contains such a secure element and has some sort of Challenge-
response scheme. Is the tag reader always active, or is it only active
when a app requests it active?
Then I could just put the secure tag behind the battery
I want to flip the canvas _after_ all subviews are rendered, so that
the entire view is mirrored. That's why I put the transform after the
super. I do admit that is not based on actual knowledge how this stuff
really works. (by the way, the same function on iOS requires only a
single line of
What have you tried? And are you running Windows, Linux or OSX?
On Mar 4, 10:16 am, Kailash Adhikari adhi.fr...@gmail.com wrote:
hi everyone...,
as i am a newly introduced to android and i'm finding it difficult to
install android adt tools,eclipse,sdk...
so if anyone help me
Yes
On Mar 4, 3:58 am, Santhosh Kumar santhoshgu...@gmail.com wrote:
thanks regards,
G.Santhosh Kumar+91 9966973790
--
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
The CTS needs to be updated to test that shared_prefs (and all app
data) is actually deleted during an uninstall. Especially if the
vendor randomly picked /dbdata/databases rather than /data/data. Or
maybe just ban Samsung.
I finally got my hands on an affected phone. This one is a Galaxy S
If you have not done so already, post this information to http://b.android.com.
On Sat, Mar 5, 2011 at 5:09 PM, Kevin TeslaCoil Software
ke...@teslacoilsw.com wrote:
The CTS needs to be updated to test that shared_prefs (and all app
data) is actually deleted during an uninstall. Especially if
This one is working, enjoy.. I will post l8r on code how
to generate a spinner from server json response.
package it.danieleteti.whitepaper01;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import org.apache.http.HeaderElement;
import
on the client side, is there a solution that'll keep a
connection open and poll every few seconds to
find out how far along the process is.
Since you perform an HTTP POST, your client just
waits for the server response, in meantime from your java code
point of view you can no do nothing
One of my products has an activity with three LinearLayouts that start
out invisible. The user has buttons that toggle these layouts on and
off, so they don't have the additional interface getting in the way if
they don't want it. This toggle behavior has broken on the 2.3.3
version of Android,
Everything is explained here:
http://developer.android.com/guide/webapps/webview.html
On Mar 4, 9:58 am, Santhosh Kumar santhoshgu...@gmail.com wrote:
thanks regards,
G.Santhosh Kumar
+91 9966973790
--
You received this message because you are subscribed to the Google
Groups Android
Thanks Dianne for your answer..
I just compared the basic thread and a thread launched in a service
process
upon an AIDL request in the sense that if the client actvity was
destroyed, then
in both cases, the basic long time running thread and the service
thread would
also be destroyed...
With
Service.startForeground does increase the chances that the service will keep
running (as this puts the service into foreground process class).
You can use this independently of binding, it's orthogonal that way.
Can be useful if the user requests some kind of update from the network (for
On Sat, Mar 5, 2011 at 3:58 PM, lbendlin l...@bendlin.us wrote:
I want to flip the canvas _after_ all subviews are rendered, so that the
entire view is mirrored. That's why I put the transform after the super.
Try doing the tranform first, then call super. This sets up the Canvas for
drawing
I released an update on Feb 28th. My sales have been halved since the
drop in active %/rank, so I am not happy about it, obviously.
On Mar 6, 2:39 am, Seni Sangrujee s...@fieldteams.com wrote:
For those that this is happening to, did you release an update to your
app recently? What do you
Hello,
I have a ListView that has items added to it at runtime. It is nested
within a LinearLayout, which is inside a ScrollView. Right now, it
only shows the first item on the list. I am trying to figure out how
to adjust the ListView height to change dynamically to always display
all the
On Sat, Mar 5, 2011 at 6:41 PM, Andrey tur...@gmail.com wrote:
I have a ListView that has items added to it at runtime. It is nested
within a LinearLayout, which is inside a ScrollView.
That will not work. You cannot place a ListView in a ScrollView.
--
Mark Murphy (a Commons Guy)
Is there anything I can do to achieve a similar effect? I want to
have several sections (each with a ListView, EditText, and a submit
button) that people can add items to on one page. For example, a user
should be able to add their favorite colors and favorite numbers to
two separate lists.
On Fri, Mar 4, 2011 at 8:17 AM, Justin Anderson magouyaw...@gmail.comwrote:
Cool. Have fun.
LOL
Good grief.
-
TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
transit tracking
On Fri, Mar 4, 2011 at 9:28 AM, Raghav Sood raghavs...@gmail.com wrote:
I am very new to android and am trying to make a game
Please, if you're very new in Android, don't try to make a game. Games are
complicated. Start a little smaller and work your way up.
Can anyone please tell me the
The following code is supposed to test whether the SelfCursor is empty or
not and to do different things depending on that result:
private void register() {
registered = false;
db = new ChessDataBaseAdapter(this);
db.open();
Cursor c = db.getSelfCursor();
On Sat, Mar 5, 2011 at 6:55 PM, Andrey tur...@gmail.com wrote:
Is there anything I can do to achieve a similar effect? I want to
have several sections (each with a ListView, EditText, and a submit
button) that people can add items to on one page. For example, a user
should be able to add
I am skeptical that your error is being caused by this code. Check out:
http://stackoverflow.com/questions/4195089/what-does-invalid-statement-in-fillwindow-in-android-cursor-mean
On Sat, Mar 5, 2011 at 7:21 PM, Marshall Farrier
marsh...@marshallfarrier.com wrote:
The following code is supposed
I accepted updates today including the HoneyComb SDKs and version 10
of the ADT plugin and DDMS.
Now all my builds in Eclipse are broken. They have hundreds of errors
saying that R cannot be resolved
I've already tried Project Clean, which is the only trick I know for
weird build errors.
The
On Sat, Mar 5, 2011 at 7:50 PM, Nathan critter...@crittermap.com wrote:
I accepted updates today including the HoneyComb SDKs and version 10
of the ADT plugin and DDMS.
Now all my builds in Eclipse are broken. They have hundreds of errors
saying that R cannot be resolved
I've already tried
On Sat, Mar 5, 2011 at 6:50 PM, Nathan critter...@crittermap.com wrote:
Now all my builds in Eclipse are broken. They have hundreds of
errors saying that R cannot be resolved
I've already tried Project Clean, which is the only trick I know for weird
build errors.
The projects include a
Here's the scenario:
- On an Activity I have a Handler that is posting a message every 5 seconds.
- If I click on an item in my ListView, for the above Activity, it starts a
new Activity by way of Intent.
- Clicking back on the phone will take me back to the previous Activity but
my Handler isn't
On Sat, Mar 5, 2011 at 7:26 PM, Chris Stewart cstewart...@gmail.com wrote:
I tried onResume but that was even called when I visited the initial
Activity the first time, so I'm guessing there's something else I should be
doing.
I usually go with onStart() / onStop() for things that need to
that solved it, tx! i just waited to close the database until after
closing the cursor, and no more error. (i had thought that the cursor
had a life independent from the database, so very interesting fact!)
On Mar 5, 6:44 pm, Mark Murphy mmur...@commonsware.com wrote:
I am skeptical that your
This happens to me very often. Every time I do a release build
outside of Eclipse, when I go back into Eclipse, the build will fail
every time. It will eventually work with no pattern that I could
establish -- I need to clean/rebuild about 10 times and then it will
build without errors and from
On Mar 5, 4:52 pm, Mark Murphy mmur...@commonsware.com wrote:
Fix the problems that are showing up in your Eclipse console.
The console says it can't find R.java. Isn't the build supposed to
generate that? Am I supposed to start writing one from scratch now.
Nathan
--
You received this
On Tue, Mar 1, 2011 at 4:51 AM, intbt in...@tacberry.com wrote:
Code:
final Typeface font2 = Typeface.createFromAsset(getAssets(), fonts/
CHOPS___.TTF);
App works fine in 1.6 but when I run 2.3 I get this error:
02-28 11:48:33.751: ERROR/AndroidRuntime(539): FATAL EXCEPTION: main
02-28
There isn't anything in the Console if I start Eclipse from scratch
and try some builds.
ApiDemos doesn't build either, so it's not a just a problem with my
projects.
Nathan
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this
Have you studied the excellent Facebook documentation?
http://developers.facebook.com/docs/guides/mobile/
On Mar 3, 1:32 am, yanamala siddaiah siddaiahforj...@gmail.com
wrote:
I want to get friends who are installed our app , send requests like
(me/friends.), ..etc
friends.getAppUser
On Sun, Mar 6, 2011 at 2:23 AM, Hari Edo hari@gmail.com wrote:
Try setting the text value after setting the typeface? It may
incorrectly
cache the measurement using the view's Paint's font, and not revise
that
measurement when the typeface is changed.
Thanks. I had the same idea, but
OK, what's the deal?
I'm getting this too and I just installed the updates today.
I can't even seem to revert my Eclipse, either.
Nathan
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
This might all be due to proguard.cfg. Newly created projects will
have this file. Other projects won't.
Older projects don't, and the precompiler fails silently, with a note
in the log saying:
java.lang.NullPointerException encountered while running Android Pre
Compiler
Nathan
On Mar 5, 6:41
This might be a proguard.cfg that has suddenly become mandatory.
On Mar 5, 9:09 pm, Nathan critter...@crittermap.com wrote:
OK, what's the deal?
I'm getting this too and I just installed the updates today.
I can't even seem to revert my Eclipse, either.
Nathan
--
You received this
Please, if you're very new in Android, don't try to make a game. Games are
complicated. Start a little smaller and work your way up.
Hi,
I may be new to android but I have been programming for 4 years in 12
langages including java. I don't have a problem creating the code but I am
not
77 matches
Mail list logo