Hi,
I have a text-view next to a seekbar. The seekbar is accessible and
announces its current value. The text-view also shows this value.
For accessibility, I'd like to make the text-view not
accessibility-focusable, since the seekbar already is (no use in stating
the same thing twice).
Hi,
I have been googling for a while able the best or right way to
disable/enable mobile network.
I tried the following code which is all over Stackoverflow and is working
fine for gingerbread and higher:
private void setMobileDataEnabled(Context context, boolean enabled)
throws Exception {
There's no accessibilityFocusable attribute in the documentation, at
least based on a simple search. I don't see anything quite like it in
the list of XML attributes for View. Where did you find this?
On Tue, Jul 31, 2012 at 10:59 AM, Streets Of Boston
flyingdutc...@gmail.com wrote:
Hi,
I have
Apps won't be able to alter the APN database after Honeycomb or perhaps
ICS. The User can disable data from settings. Why does an application
need to disable data?
On Tue, Jul 31, 2012 at 8:03 AM, CJ joven.ch...@gmail.com wrote:
Hi,
I have been googling for a while able the best or right
Maybe a wake lock will help you?
uses-permission android:name=android.permission.WAKE_LOCK /
PowerManager pm = (PowerManager) getSystemService(Context.POWER_SERVICE);
PowerManager.WakeLock wl = pm.newWakeLock(PowerManager.FULL_WAKE_LOCK,
My Tag);
wl.acquire();
Or maybe this?
final Window
The problem is likely that your app is still dormant. It has not exited.
What has happened is that it is paused, and when you go back to it,
onResume is called… not onCreate.
You can make your app truly exit when the back button is pressed by adding
this to your Activity class.
@Override
Hi, I am working on a app to automate some setting eg. to perform certain
action such as disable mobile data when battery is low or night mode etc.
There are app in the market that able to disable/enable mobile data
connection like SmartAction and a few more. I also dislike the alter APN
method
Hello developers !
I have a huge problem, and I don`t get over it, so please if you are able
give me some help.:
we have a microcontroller library in c# which has been converted out into a
DLL file. It is okay, and nice. I have to write an Android remote
controller applicaiton for the
On Tue, Jul 31, 2012 at 05:57:47AM -0700, Numair Qadir wrote:
I want to merge two bitmaps, here is my code
I was just going to point you to the right page in the dev guide, but I
don't remember if there even is one (I learned this from a book, Pro
Android Media). Be advised that with larger
So, in all my layout files I have this:
xmlns:android=http://schemas.android.com/apk/res/android;
Admittedly, I only semi-understand that.
Here's one thing that confuses me:
When I go to http://schemas.android.com/apk/res/android, there is nothing
there.
Is this just some magic fake URL
Hi,
I have an activity which contains 2 fragments. I want to save certain state
of the activity and also of the fragments, in order to restore if the
activity, or the fragments, are destroyed.
So I'm using onSaveInstanceState both in the fragments and in the activity,
and take the data of the
On Tue, Jul 31, 2012 at 08:39:18AM -0700, K??roly Holczhauser wrote:
Is anyone have any idea, or do you know any solution ?
First, I'm 99.% certain that you can't convert a DLL to a
shared library (.so). You'll have to recompile the library in the NDK.
Second, for NDK questions,
Hmm From the platform's point of view, this sounds like a denial of
service attack against other applications on the device. One application
shouldn't be able to interfere with another application's network
connectivity without the user being involved.
-- Nick
On Tue, Jul 31, 2012 at 8:26
If the app is granted permission by the user it would be ok. And apps that
do intelligent things in this area may be useful and welcome. Without
permission limits though, yeah this could be a problem.
On Tue, Jul 31, 2012 at 9:04 AM, Nick Kralevich n...@google.com wrote:
Hmm From the
Well, yes and no. I do understand it is a little weird because an app can
turn on mobile data out of user will. But we are Android :) user can decide
to uninstall ill intention app. Think of it in another way, if my phone
battery is critically low I would want to turn off my data so I can still
Yes, the next qns is how to do it...
On Wed, Aug 1, 2012 at 12:14 AM, Robert Greenwalt rgreenw...@google.comwrote:
If the app is granted permission by the user it would be ok. And apps
that do intelligent things in this area may be useful and welcome. Without
permission limits though, yeah
Hi,
On Tuesday, July 31, 2012 10:43:26 PM UTC+8, Nikolay Elenkov wrote:
On Tue, Jul 31, 2012 at 11:38 PM, howa wrote:
t doesn't matter. They can load you app with malware, put it on some
'sharing'
site and it will look like it came from you. It will even update
cleanly on top of
your
On Tue, Jul 31, 2012 at 2:51 AM, Dianne Hackborn hack...@android.com wrote:
Btw, I love how more and more I see people dragging out this quote every
time they encounter some limit that they have to deal with, as if there
should just not be limits on the resources they can use.
There should not
How to do the permission? That's not your issue - the platform needs to do
it.
How to turn data on/off? It looks like you'll need a mix of methods.
You're using undocumented methods from the past and present and they may
change in the future. You can do different things dependent on the
hi Mark,
I found it in the layout editor (using Eclipse). It shows up as a property
and you can select 'auto', 'yes' or 'no'.
If this is not the way to do it, how would one prevent accessibility focus
to a particular control?
--- Anton.
On Tuesday, July 31, 2012 11:11:15 AM UTC-4, Mark
The permission needed is uses-permission
android:name=android.permission.CHANGE_NETWORK_STATE/
Android 2.3 and above can do that with the code I supply. I am asking a
question how to do it for version below 2.3.
Many apps are doing it, the most popular one I mentioned was JuiceDefender:
This is a know TextView bug that we fixed internally. The fix will be part
of an Android update.
On Jul 30, 2012 11:20 PM, Shogun sshog...@gmail.com wrote:
Hello.
I have worked with Android 4.0 and my application has worked very well.
But after updating to 4.1 I found that an activity in my
On Tue, Jul 31, 2012 at 12:31 PM, Streets Of Boston
flyingdutc...@gmail.com wrote:
If this is not the way to do it, how would one prevent accessibility focus
to a particular control?
Beats me. Sorry!
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
On Tuesday, July 31, 2012 5:28:19 PM UTC+1, Latimerius wrote:
On Tue, Jul 31, 2012 at 2:51 AM, Dianne Hackborn hack...@android.com
wrote:
Btw, I love how more and more I see people dragging out this quote every
time they encounter some limit that they have to deal with, as if there
Thank you Mark.
I've been trying to update our app to the latest and greatest in JellyBean
accessibility. This is one issue I encountered.
I've also been trying to implement some AccesibilityDelegate
and AccessibilityNodeProvider implementations of our own custom views to
establish a virtual
I'm trying to learn about SpannableStrings, and it is boiling down to this
setSpan method:
http://developer.android.com/reference/android/text/SpannableString.html#setSpan(java.lang.Object,
int, int, int)
However, of course, the method is completely undocumented, and it is not
clear what
On Tue, Jul 31, 2012 at 1:54 PM, Streets Of Boston
flyingdutc...@gmail.com wrote:
I've also been trying to implement some AccesibilityDelegate and
AccessibilityNodeProvider implementations of our own custom views to
establish a virtual view hierarchy, but without any success. Even the
samples
As far as I understand the first argument: it is whatever object you want
to use for tagging that span of text. It's up to your app to come up with
the right interpretation. If you want to use the span for formatting you
can use one of the
Hello ,
There is a problem when using RotateAnimation in android 4.0.
On all pre android 4.0 versions it works ok.
The RotateAnimation is good on a android device with a HVGA screen.
The RotateAnimation is not good, the center point is shifted, on devices
with a other screen size.
This is my
On Tue, Jul 31, 2012 at 10:45 AM, bob b...@coolfone.comze.com wrote:
Is this just some magic fake URL that's built into Android?
http://lmgtfy.com/?q=xmlns%3Aandroid
-
TreKing
This goes in the category of apps modifying the system.
Your app shouldn't be able to modify the system. While this sounds
funny, it's true. Sure, you can write such apps and hack around
things below 2.3.3, but do you really expect your app will really be
used for that long, then?
kris
On
Sounds more like a change in dpi issue.
The 4.0 phone is probably xhdpi, and your stuff is in the hdpi folder, so
it gets scaled.
On Tuesday, July 31, 2012 1:25:44 PM UTC-5, Fausteric wrote:
Hello ,
There is a problem when using RotateAnimation in android 4.0.
On all pre android 4.0
Maybe put your license agreement in a WebView instead?
On Monday, July 30, 2012 11:29:07 PM UTC-5, Shogun wrote:
Hello.
I have worked with Android 4.0 and my application has worked very well.
But after updating to 4.1 I found that an activity in my application not
working.
LogCat
What do you mean hover events seem to work somewhat better? What's a
hover event on a touchscreen?
On Tuesday, July 31, 2012 12:54:25 PM UTC-5, Streets Of Boston wrote:
Thank you Mark.
I've been trying to update our app to the latest and greatest in JellyBean
accessibility. This is one
If it's in C#, it probably requires .NET, and you can't do .NET on Android.
On Tuesday, July 31, 2012 10:39:18 AM UTC-5, Károly Holczhauser wrote:
Hello developers !
I have a huge problem, and I don`t get over it, so please if you are able
give me some help.:
we have a microcontroller
@Spooky: Thx, I didn`t know about the ndk group !:)
@bob: maybe from the another side ? Write some android app in c# ?
Monodroid ? What do you think about it ?
On Tuesday, 31 July 2012 21:26:07 UTC+2, bob wrote:
If it's in C#, it probably requires .NET, and you can't do .NET on Android.
On
On Tue, Jul 31, 2012 at 3:31 PM, Károly Holczhauser
holczhau...@gmail.com wrote:
@Spooky: Thx, I didn`t know about the ndk group !:)
@bob: maybe from the another side ? Write some android app in c# ? Monodroid
? What do you think about it ?
@your second comment: I kind of doubt that if you
Hi, i'm a new developer and i cant create a notification with a sound in my
app.
I tried this:
notification.vibrate = new long[]{100, 250, 100, 500};
notification .defaults = Notification.DEFAULT_SOUND;
notification .audioStreamType = Notification.STREAM_DEFAULT;
The app vibrate working well,
Thank you so much, you saved my life with this simple tip.
--
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
Since you requested the default sound, does your device have a
non-silent default sound defined in Settings for notifications?
On Tue, Jul 31, 2012 at 3:39 PM, Pedro Cortez pedrao.fel...@gmail.com wrote:
Hi, i'm a new developer and i cant create a notification with a sound in my
app.
I tried
Do you get any information out of LogCat?
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Tue, Jul 31, 2012 at 3:48 AM, Francisco M. Marzoa Alonso
franci...@marzoa.com wrote:
Hi there,
I am facing some random hangs without neither stack dump or
Use a smaller image...
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Tue, Jul 31, 2012 at 2:08 AM, Ethan Gao ethangao.stu...@gmail.comwrote:
hi all:
I am attempting to create an android Widget application which display
more than 10 images in
This question has nothing whatsoever to do with this list...
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Mon, Jul 30, 2012 at 3:46 PM, Stefan stefan.brantwei...@gmail.comwrote:
Is there a possibility to see if boot loader unlock was successful?
i have no idea... Do you have any clue to how i find this?
On Tue, Jul 31, 2012 at 4:45 PM, Mark Murphy mmur...@commonsware.comwrote:
Since you requested the default sound, does your device have a
non-silent default sound defined in Settings for notifications?
On Tue, Jul 31, 2012 at 3:39
There is a google group for NDK related questions... Please ask there.
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Mon, Jul 30, 2012 at 3:56 AM, Monty Python pythonexperim...@gmail.comwrote:
Greetings everyone!
I'm trying to crosscompile a
On Tue, Jul 31, 2012 at 4:10 PM, Pedro Cortez
pedro.fellipe.cor...@gmail.com wrote:
i have no idea... Do you have any clue to how i find this?
In the Settings app, check the Sound screen.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
I found
On Tue, Jul 31, 2012 at 5:10 PM, Pedro Cortez
pedro.fellipe.cor...@gmail.com wrote:
i have no idea... Do you have any clue to how i find this?
On Tue, Jul 31, 2012 at 4:45 PM, Mark Murphy mmur...@commonsware.comwrote:
Since you requested the default sound, does your device have a
Hi,
We have an issue publishing a new app on the Play Store. The error message
is that no devices compatible with the app have been found...
This is what the manifest looks like: https://gist.github.com/3220116
(between the application/application I have defined a couple
activities/services.
Questions about compiling the source belong on one of the groups listed
here:
http://source.android.com/community/index.html
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Mon, Jul 30, 2012 at 2:01 PM, fan zhang fzhang...@gmail.com wrote:
All:
I
Set the background color of the LinearLayout...
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Mon, Jul 30, 2012 at 12:42 PM, Ken H hunt1...@gmail.com wrote:
This may be a stupid question (I just started getting into
SlidingDrawers), but I have some
Paste your manifest here please
On Tuesday, July 31, 2012 9:19:08 PM UTC+1, Amokrane wrote:
Hi,
We have an issue publishing a new app on the Play Store. The error message
is that no devices compatible with the app have been found...
This is what the manifest looks like:
Same problem exactly encountered today when I update to ADT 20.
Mac OSX 1.5.8, Eclipse June, ADT 20
reinstalled everything!
No go.
Anyone?
On Monday, July 30, 2012 8:13:40 AM UTC-4, Miky Papa wrote:
Hi!
I'm very upset as I am a new Android developer and i've installed Eclipse,
ADT SDK
Why not write your own ListAdapter?
I've done it before, and it's not so bad.
On Tuesday, July 31, 2012 3:08:03 AM UTC-5, Ethan Gao wrote:
hi all:
I am attempting to create an android Widget application which display
more than 10 images in ListView. The image size depends on
Are you running Eclipse on JDK 1.6 or later?
-- Tor
On Tue, Jul 31, 2012 at 2:12 PM, ole! olub...@gmail.com wrote:
Same problem exactly encountered today when I update to ADT 20.
Mac OSX 1.5.8, Eclipse June, ADT 20
reinstalled everything!
No go.
Anyone?
On Monday, July 30, 2012
Maybe try MOTODEV Studio? It's a bundle with Eclipse and Android. I use
it.
On Tuesday, July 31, 2012 4:12:57 PM UTC-5, ole! wrote:
Same problem exactly encountered today when I update to ADT 20.
Mac OSX 1.5.8, Eclipse June, ADT 20
reinstalled everything!
No go.
Anyone?
On
Thank you guys for your answers!
Now it is more clear!
Thanks
Sergio
Il giorno martedì 31 luglio 2012 15:55:25 UTC+2, Sergio Panico ha scritto:
Hi all,
I need your help to have a clarification for the preferences framework of
Android.
Accordingly to Google API Reference (
new android app suck
Couldn't help but notice this in your title... We can't make your app not
suck... :-)
(Sorry... couldn't resist)
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Mon, Jul 30, 2012 at 8:00 AM, bob b...@coolfone.comze.com wrote:
You're welcome!
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Mon, Jul 30, 2012 at 12:46 AM, Vijay Krishnan
vijay.vijay...@gmail.comwrote:
Thank U Justin for your kind help
On Fri, Jul 27, 2012 at 11:31 PM, Justin Anderson
Use a service...
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Mon, Jul 30, 2012 at 12:44 AM, Vijay Krishnan
vijay.vijay...@gmail.comwrote:
Hi all,
In my case,i want to update the user latitude and longitude in
background when he is out
Thanks for sharing
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Sat, Jul 28, 2012 at 4:29 PM, ahmed al.7ob3y...@gmail.com wrote:
after i upgrade my arc S to 4.0.3 i can not disable secreen lock
--
You received this message because you are
What does your full onCreate() method look like?
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Sun, Jul 29, 2012 at 11:30 AM, Omer Firat ceng...@gmail.com wrote:
22 Mart 2011 Salı 19:09:10 UTC+2 tarihinde bosscoder yazdı:
Hi dear,
Do you
And... you are going about it the wrong way... You don't want to change
the listview's children directly. Make the state part of your data model,
write a custom adapter and implement the getView() method to change the
color of the text based on the state of the item in the adapter. If you
need
Exactly.
Like this:
import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
public class Example_Service extends Service {
/**
* @see android.app.Service#onBind(Intent)
*/
@Override
public IBinder onBind(Intent intent) {
// TODO Put your code here
return null;
}
I would say putting all your code in onBind wouldn't be the greatest idea..
kris
On Tue, Jul 31, 2012 at 6:22 PM, bob b...@coolfone.comze.com wrote:
Exactly.
Like this:
import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
public class Example_Service
Is it possible to make a really slick button using OpenGL effects by doing
something like this:
public class MyButton extends GLSurfaceView
?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
You have better chances of find help on such issue on Eclipse ADT forum.
Best regards,
El 31/07/2012 08:18, Miky Papa papam...@gmail.com escribió:
Hi!
I'm very upset as I am a new Android developer and i've installed Eclipse,
ADT SDK several times.
I've been using Eclipse Indigo for a while
With the help of pro Android.Media, i tried, but it gave me force close
error, here is my code and logcat
// Camera arg conversion to Bitmap
Bitmap cameraBitmap = BitmapFactory.decodeByteArray(arg0, 0,
arg0.length);
Bitmap back = Bitmap.createBitmap(cameraBitmap.getWidth(),
I think your sdk manager location cant be set up in eclipsejust go to
Window -Preferences- Android- sdk location...now set up the
location.restart eclipseI think your problem might be solved.
Regards,
Talha Qamar.
On Wed, Aug 1, 2012 at 3:27 AM, Francisco Marzoa fmmar...@gmail.com
Hi i am actually newbie to android development.I want to make a simple
application based on the users touch gesture.If user(touch) point towards
right then a new activity is started and on next/new activity when user
point towards left then he will get back to his main activity.I know the
intent
In JB, they changed the mount point for external storage to
/storage/sdcard0. At least this is the case for the Galaxy Nexus and Nexus
7. So if you're not seeing the directory, double check it. Still,
/mnt/sdcard should be a symlink to /storage/sdcard0.
I'm noticing that you're taking the
Hi, I understand. There are many popular app that automate system task with
big user base.
APNDroid, JuiceDefender, Motorola SmartAction etc so many. So likely there
is no answer other than using what APNDroid is using and it is likely going
to be future version proof.
On Wednesday, 1 August
If you are running on a non-user build, as of JB you need to require the
new read external storage permission. On a user build, you may have
enabled this restriction in developer settings.
On Wed, Jul 25, 2012 at 9:43 AM, Alessandro Pellizzari a...@amiran.itwrote:
Hi all,
I am having
That's right, but the hey, but this app can! game doesn't really
work in this case...
kris
On Tue, Jul 31, 2012 at 8:56 PM, CJ joven.ch...@gmail.com wrote:
Hi, I understand. There are many popular app that automate system task with
big user base.
APNDroid, JuiceDefender, Motorola SmartAction
On Wed, Apr 28, 2010 at 11:42 AM, Amir Alagic amirs...@gmail.com wrote:
Add this android:configChanges=keyboardHidden|orientation|keyboard
to activity element in AndroidManifest.xml file. I hope that this is
what
you want.
No, don't. That doesn't fix the problem, just hides it in some of
On Wed, Aug 1, 2012 at 1:20 AM, howa howac...@gmail.com wrote:
Hi,
On Tuesday, July 31, 2012 10:43:26 PM UTC+8, Nikolay Elenkov wrote:
On Tue, Jul 31, 2012 at 11:38 PM, howa wrote:
t doesn't matter. They can load you app with malware, put it on some
'sharing'
site and it will look like it
For a button? You don't want to do that, that is a huge amount of overhead
just for a button.
On Tue, Jul 31, 2012 at 3:27 PM, bob b...@coolfone.comze.com wrote:
Is it possible to make a really slick button using OpenGL effects by doing
something like this:
public class MyButton extends
Hi,
I am curious about how you are performing measuring timings between
subsequent shots as there may also be some variability according to your
method(s). For example, I found that using a Timer object there was some
variability in when the task was actually run, sometime by a few hundred
Hi,
I'm building a custom keyboard, and I need to be able to move it around -
so it won't necessarily stick to the bottom and sides of the screen. Can
anyone please direct me how to achieve this?
Thanks,
yakobom
--
You received this message because you are subscribed to the Google
Groups
After struggling with it for a day, this is what i found.
I am using ListFragment and Loaders with support library.
If I used same/standard Loaders code in a normal Activity it ListView
maintains its scroll position very precisely.
If I am using same/standar Loaders code in ListFragment then
Hi,
Is there is any way I can integrate Android build system with Android
testing framework?
i.e When I build my android project, It would automatically run my unit
test cases and if any unit test case fails the build would give the error.
The straight forward way can be to write a script
101 - 180 of 180 matches
Mail list logo