I'm developing a software working on bluetooth barcode sanner. When my
barcode sanner connected with my android phone via bluetooth HID protocol,
the android keyboard will be hidden. I want to pop up android keyboard by
sending some commands through bluetooth HID protocol. What the command
I use Gboard on my android phone. I'm developing a software working on
bluetooth barcode sanner. When my barcode sanner connected with my phone
via bluetooth HID protocol, the Gboard virtual keyboard will be hidden. I
want to call out Gboard virtual keyboard by sending some commands through
I have a very simple application which draws a triangle at zero on the
z axis. I want an orthographics view but for the life of me this
function won't work. It just shows a black screen with no triangle.
How exactly do you use this function? I did the obvious thing which
is:
it if you use
mostly small allocations because there is a performance hit with the
large heap.
Cheers,
Bruce
On Apr 26, 4:01 am, Daniel Drozdzewski daniel.drozdzew...@gmail.com
wrote:
The thing is that Android OS will allocate the memory according to the
needs of a process (up to maximum memory
Hey,
I'm having some weird crash reports from market.
I have the full class name in my AndroidManifest.xml and we couldn't
reproduce it on any of our phones. My application. We have around 100k
users and I'm seeing this report approximately 9/week only.
Any idea what's happening?
Hey,
I'm getting some really weird crash reports from market. The crash
happens right at luanching app but we have around 100k users, and this
report occurs ~9/week only! As you can see following the stack trace I
pasted my AndroidManifest file, i have the class name defined.
Any idea?
FWIW, I had a similar problem today.. a large application which has been
working fine with Proguard for a long time started throwing the Dalvik
error after I implemented CursorLoaders.. I was able to fix it by
setting -optimizationpasses 2 in proguard.cfg, I don't know why this works,
I tried
getting the fix uploaded there.
Note: you will also need to load in kvm (on Linux):
sudo modprobe kvm
sudo modprobe kvm_intel
-Bruce
On Jan 12, 2:20 pm, Anirudh Sivaraman sk.anir...@gmail.com wrote:
Hi
I read an earlier thread where it said the Android emulator was now capable
of running x86
not at all
sure when the ICS emulator image will be available via the SDK add-on
mechanism.
On Jan 13, 8:51 am, Anirudh Sivaraman sk.anir...@gmail.com wrote:
On Jan 13, 9:52 am, Bruce Beare bbea...@gmail.com wrote:
It's actually far faster than an ARM emulation (provided that you are
running
Android 2.3.3.
Kristopher Micinski wrote:
On Tue, Sep 20, 2011 at 12:34 PM, Steven Bruce stevebruc...@gmail.com wrote:
Hi Kris
Yes there is a bunch of stuff in the logcat outpu window. I will try
and post a copy of it on here later on. I have a feeling it maybe
something to do
be an exception thrown, but I spose
weirder things have happened.
Kris
On Mon, Sep 19, 2011 at 6:04 AM, Steven Bruce stevebruc...@gmail.com wrote:
Hi
I have been following the Bluetooth guide on the Android developer
site and have got everything working so far but now I am really stuck.
Despite my
http://developer.android.com/reference/android/app/ActivityManager.html#isUserAMonkey()
What is this supposed to do? Looks like Google having a laugh or
something?? :p
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group,
public static boolean isUserAMonkey()
Since: API Level 8
Returns true if the user interface is currently being messed with by
a monkey.
Steven Bruce wrote:
http://developer.android.com/reference/android/app/ActivityManager.html#isUserAMonkey()
What is this supposed to do? Looks like Google
Oh ok then. I'll let them off. lol. Thanks! :)
Daniel Drozdzewski wrote:
On 20 September 2011 17:42, Steven Bruce stevebruc...@gmail.com wrote:
http://developer.android.com/reference/android/app/ActivityManager.html#isUserAMonkey()
What is this supposed to do? Looks like Google having
Hi
I have been following the Bluetooth guide on the Android developer
site and have got everything working so far but now I am really stuck.
Despite my code looking virtually identical to the one in the
Bluetooth page it just doesn't work. Is that code wrong or something?
I have my two thread,
I have thee threads in my bluetooth program. Both my AcceptThread and
ConnectThread create a newConnectThread from within their Thread class
but my program seems to crash at this point. Are you not allowed to
start a new thread from within a thread class?
--
You received this message because you
I mean they both start a new thread called 'ConectedThread'. Is this
ok or should I not be doing this?
On Sep 2, 1:28 pm, Steven Bruce stevebruc...@gmail.com wrote:
I have thee threads in my bluetooth program. Both my AcceptThread and
ConnectThread create a newConnectThread from within
in a single
run wouldn't you be starting the same thread twice? This may raise an
exception.
Thanks
On Fri, Sep 2, 2011 at 6:07 PM, Steven Bruce stevebruc...@gmail.com wrote:
I mean they both start a new thread called 'ConectedThread'. Is this
ok or should I not be doing
, Sep 2, 2011 at 6:07 PM, Steven Bruce stevebruc...@gmail.com wrote:
I mean they both start a new thread called 'ConectedThread'. Is this
ok or should I not be doing this?
On Sep 2, 1:28 pm, Steven Bruce stevebruc...@gmail.com wrote:
I have thee threads in my bluetooth program. Both my
I have a fresh install of opensuse 11.4 and I'm getting thhe following
error we I attempt an update:
Failed to fetch URL
https://dl-ssl.google.com/android/repository/repository.xml, reason:
java.lang.RuntimeException: Unexpected error:
java.security.InvalidAlgorithmParameterException: the
I have changed my Bluetooth class from extends Activity to extends
ListActivity. Now everytime I run the program BOOM!! It bombs out!
What the hell is going on??
Steve
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this
Hi
I want to be able to display the seconds left before 'Discoverable
Mode' ends. Is there a way to get the counter used by disoverable mode
or do you have to perform the count manually?
Steve
--
You received this message because you are subscribed to the Google
Groups Android Developers
Hi
Im my Bluetooth calss I am trying to see when the device has finished
being 'Discoverable' When I listen for the ACTION_FOUND intent I get
the extra details by doing this:
BluetoothDevice device =
intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE);
This gives me information about the
Ok I am totally stuck. I am trying to scan for bluetooth devices but
it needs a broadcast receiver and I've never used them before. I set
up my receiver correctly in the manifest:
receiver android:name=.BluetoothReceiver android:enabled=true
intent-filter
Hi
I posted on yours group about a problem I am having with a broadcast
receiver. That was about four hours ago and I still haven't seen it appear
on the group yet? Is this normal or was it rejected for some reason?
Steve
--
You received this message because you are subscribed to the Google
Hi
I am trying to add a broadcast receiver to my program. In my manifest
file I have set up the receiver correctly (I think) in my manifest
file like this:
receiver android:name=.BluetoothReceiver android:enabled=true
intent-filter
action
/BluetoothAda...
On Fri, Jul 8, 2011 at 6:28 AM, Steven Bruce stevebruc...@gmail.com wrote:
Hi
I am trying to add a broadcast receiver to my program. In my manifest
file I have set up the receiver correctly (I think) in my manifest
file like this:
receiver android:name=.BluetoothReceiver
Hi
when I use logcat in target phone,it's fine.
But when I use it in emulator,there are always errors like following.
E/QemuSensors( 63) :data_poll: len =-1,errno=9 : Bad file number
I search in the internet,by failed to got the result.
Can anybody help me ?
--
You received this message
Hi,
I have a view which basically cover the full screen to capture key
input. It works well if I add it to activity, but if I display it from
background service using WindowManager.addView, it doesn't work.
Another quesiton is why onKeyDown/onKeyUp doesn't work? As you see I
have to use
, Bruce Xia xia...@gmail.com wrote:
I have a view which basically cover the full screen to capture key
input. It works well if I add it to activity, but if I display it from
background service using WindowManager.addView, it doesn't work.
Thank heavens! That would be a massive security flaw
hi,
I want to use PreferenceManager.inflateFromResource() in my
application. It's only available in the full build:
framework_intermediates-classes-full-debug.jar
How can I can use it?
Thanks,
Bruce
--
You received this message because you are subscribed to the Google
Groups Android Developers
]=R.xml.preferences;
arglist[2]=null;
Object retobj = m.invoke(pm, arglist);
return (PreferenceScreen)retobj;
} catch(Throwable e){
Log.e(TAG,e.toString());
return null;
}
}
Bruce Xia
Founder of Mobisoft
Grab a screen lock as a work around. Nexus One has some issues with
the low-power mode. Unfortunately, from my wireshark traces it
basically fails to wakeup for multicast events due to aggressive power
saving. Other devices will perform differently. It would be better
if they released a patch
have settings and other items that need to use
a database, etc. but it is available.
See http://developer.android.com/reference/android/app/Application.html.
Cheers,
Bruce
--
http://mtterra.com/quicklogger
On Feb 1, 5:31 pm, Scott Deutsch surger...@gmail.com wrote:
Thats what I fearedok I
, but don't like it.
Any ideas appreciated.
Thanks, Bruce
--
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
I've used bitmap overlays. Basically, after calling super.onDraw()
I'll do a canvas.drawBitmap().
If you want to use a shape, ShapeDrawable is probably your bet.
Here's a link to the info.
http://developer.android.com/guide/topics/graphics/2d-graphics.html.
Cheers,
Bruce
On Jan 20, 11:44 am
) {
Uri uri = (Uri) p;
/// do something with it.
}
}
Just add android.intent.action.SEND_MULTIPLE to your manifest.
Bruce
On Dec 22, 11:31 am, Hans-Erik erikswed...@gmail.com wrote:
On 22 Dec, 20:17, Mark Murphy mmur...@commonsware.com wrote:
ACTION_SEND only supports sending
can be included in your activity views
with include / tag.
Cheers,
Bruce
On Nov 23, 7:48 am, TreKing treking...@gmail.com wrote:
On Tue, Nov 23, 2010 at 4:38 AM, Ganapathy.C cganapa...@gmail.com wrote:
But i need a ticker like Marquee in HTML
Look into translation animations
Seems like there are other things going on if it takes 2 seconds. On
orientation change, you can save data in onSaveInstanceState() to be
later retrieved in onCreate() which could possibly save some time.
Not that I would advocate it but you could cache the layout so it
doesn't need inflating
?
Thanks,
Bruce
--
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
You can use ACTION_SEND_MULTIPLE and include a list of images an an
ArrayListParcelable and use putParcelableArrayListExtra() to store
it. Gallery does this and would be a good reference. This assumes I
didn't misunderstand your question.
On Sep 5, 9:44 pm, Kumar Bibek coomar@gmail.com
It's per-application and the limit can change so its not always 16.
See
http://developer.android.com/reference/android/app/ActivityManager.html.
Cheers,
Bruce
On Aug 5, 1:39 am, timyau18 timya...@gmail.com wrote:
Hi all,
Is android's memory 16MB limit per Process or Application
So much to say about Java except that's just talking religion.
So back to the original topic. Sometimes just because you are adding
in debug code doesn't mean you want a performance degradation. Java
has mechanisms for some of this but just for example, tracing.
Doesn't matter what you are
If you are just doing a few items, it's not going to be a big deal.
Same with grabbing data from a database. It's an issue when you have
to scroll through lots of data and repopulate views, deal with flings,
etc., while maintaining good speed. Sounds like you won't have to
deal with this.
Hi I think the unsubscribe email isn't working. I've sent three emails to
unsubscribe but still receiving email.
Can you help please?
On Tue, Dec 15, 2009 at 2:41 PM, Bruce Xia bruce.xi...@gmail.com wrote:
hi please unsubscribe me from this group.
--
You received this message because you
the lines of a SOAP or JMS client or such though (which
also can be done, not that they *should* be done, but can be). You
need to clarify this quite a bit before anybody can really try to help
you.
On Dec 2, 2:55 am, Bruce Xia bruce.xi...@gmail.com wrote:
is there a way to port or implement
is there a way to port or implement a J2EE client on android? Does
anybody have example code please?
--
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
Hi Guys
My application use socket to connect a remote sever to get data.
In my handset, both Wi-Fi and Mobile network data connection are
enabled, by default device will
choose using Wi-Fi connection. In this case, all network access can
process normally
However, when I turn off Wi-Fi in system
I'll add my vote, I'm in New Zealand and the HTC magic is available
thru Vodafone but we can neither buy or sell apps, all enquiries on
the market forum seem to go unanswered.. Apple seem to have no
problems with itunes so it's hard to imagine what's holding Google up?
On Aug 29, 1:19 am, João
of populating
a ByteBuffer since the native helper methods can access the Bitmap pixel
data directly.
Tom
2009/7/2 Bruce Rees baree...@gmail.com
Hi All,
I have a texture-mapped cube based in part on the Kube API demo and
the Textured Cube example from anddev.org, It is working fine using
Hi All,
I have a texture-mapped cube based in part on the Kube API demo and
the Textured Cube example from anddev.org, It is working fine using
bitmaps loaded from R.drawable.. what I need to do now is to make the
texture for each face dynamic (using Bitmaps created in code). I'm
having
I have an SMSReceiver that I built to intercept a particular type of
SMS that would run a service. That is all working great, however, I
would like for this SMS to not show up in the user's inbox. So
ideally i would like to delete the SMS on the time of Interception. I
have gone through a ton
52 matches
Mail list logo