It's forced into the built-in space that will get picked up by the
Android media scanner when it indexes EXTERNAL_CONTENT_URI.
btw I don't think the media scanner picks it up. The media scanner
would need to be explicitly told to look at '/mnt/emmc'
On Jan 4, 12:45 pm, Tabman
Hi guys
I made an application on android 2.2 api but i also want to run it on
android 2.1 api
I am not using any 2.2 specific library and it should work absolutely
fine .
May be i messed up something in the process of converting it to 2.1
I have navigated to android tools - Fix Project Properties
John,
You can do this with LinearLayout and layout_weight attribute that it
supports:
LinearLayout layout_height=fill_parent orientation=vertical
View
layout_height=0dp
layout_weight=20/
TextView
layout_height=0dp
layout_weight=80/
/LinearLayout
The top view acts as a spacer, taking up 20%
It's actually myUid(), and it doesn't require any permissions.
-- Kostya
29.01.2011 3:26, paladin пишет:
Do I need to set up any permission to make that call?
android.os.Process.myUID(), correct?
On Jan 28, 3:57 pm, Kostya Vasilyevkmans...@gmail.com wrote:
Process.myUID():
Nope singleTop is great. singleTask should be avoided unless you really,
really want the radically different behavior it creates.
On Fri, Jan 28, 2011 at 9:39 PM, Moto medicalsou...@gmail.com wrote:
Thanks Dianne for your reply. I'm currently using
android:launchMode=singleTop and have
Ah, so singleTask for an existing activity pulls it out of whatever task
it was in, and starts a new task?
29.01.2011 12:00, Dianne Hackborn ?:
Nope singleTop is great. singleTask should be avoided unless you
really, really want the radically different behavior it creates.
On Fri, Jan
Not to mention that testing OpenGL games is impossible. The only way
to test on devices is users, otherwise it's just a guessing and hoping
for the best.
In any case, I don't care WHY the emulator is so slow. Hopefully
they'll make it fast in the near future, the iPhone emulator is much
better.
(and yes, you can
run 8-bit pacman full speed on far slower devices - i.e. Spectrum
emulator on Palm phone (which is 300MHz).
I meant if Pacman's 8080 were running at 1GHz. No way it could be
emulated at full speed on a 2GHz i86, if each instruction is emulated
individually -- not even close.
May be i messed up something in the process of converting it to 2.1
I have navigated to android tools - Fix Project Properties and set
the api level
Changed it manually in androidManifest but still it is giving me the
Null Pointer Exception
What could possibly be left out
If your code is
Is there any way to keep adb not running unless really needed ? It now
starts as soon as I launch Eclipse and that causes some conflicts on
my system for some reasons. I'd prefer it not to be launched unless I
run/debug app or launch it by hand. Not spent much time investigating
I just keep
2011/1/28 hansolo h4ns...@gmail.com:
what's you mean using a standard MIME type ?
I mean using a standard MIME type, where by standard I mean one
that a random email client might actually use when constructing an
email message with an attachment. You can invent your own MIME types,
and that can
Yes i have done everything
now if i run the build on 2.1 it says Android Library project could not be
launched
On Sat, Jan 29, 2011 at 3:16 PM, Marcin Orlowski
webnet.andr...@gmail.comwrote:
May be i messed up something in the process of converting it to 2.1
I have navigated to android tools
and in console it says Could not find MyApplication.apk!
On Sat, Jan 29, 2011 at 5:06 PM, Robin Talwar
r.o.b.i.n.abhis...@gmail.comwrote:
Yes i have done everything
now if i run the build on 2.1 it says Android Library project could not be
launched
On Sat, Jan 29, 2011 at 3:16 PM, Marcin
On Sat, Jan 29, 2011 at 12:36 PM, Robin Talwar
r.o.b.i.n.abhis...@gmail.com wrote:
Yes i have done everything
now if i run the build on 2.1 it says Android Library project could not be
launched
Check the project properties. It looks like you have checked the Is
library checkbox.
On Sat, Jan
Hi all,
I'm trying to create an dialog wich is show on android desktop.
My application contains a service who create notification. On
notification click I would like show a dialog on desktop.
My problem: each time I click on notification my dialog is showing
with black screen behind (activity of
Anthony,
Rather than using a dialog, make an Activity that looks like one with this:
activity name, label...
android:theme=@android:style/Theme.Dialog/
-- Kostya
29.01.2011 15:51, Antony BODY пишет:
Hi all,
I'm trying to create an dialog wich is show on android desktop.
My application
Hi,
I tried my app on image of Honeycomb preview in emulator and I noticed that
sub menu in Options Menu doesn't work on Honeycomb.
I'm adding submenu to Options menu:
public boolean onCreateOptionsMenu(Menu menu) {
menu.add(getString(R.string.addImage));
Hi,
Anyone managed to get the emulator to run on Linux?
For me it gets stuck on '/dev/dsp no such device' or
'/dev/dsp: Device or resource busy' if I install OSS emulation.
The '-noaudo' and '-audo none' options seem to be ignored, and
'-audio alsa' doesn't make a difference either.
I'm using
Oh !
Thank you Kostya
It works well and it's realy easier !!!
--
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
have ContactListActivity class as below
public class ContactListActivity extends ListActivity{
@Override
public void onCreate(Bundle icicle) {
super.onCreate(icicle);
getListView().setFocusable(true);
Have you considered the obvious?
On Jan 28, 11:01 pm, Pankaj Deshpande pcdeshpande...@gmail.com
wrote:
Hi everybody,
I am parsing following xml with SimpleParser, but I am facing error as
follows: Can anyone tell me why is this happening?
XML: ?xml version=1.0 encoding=utf-8?resultstatus552/
This is doing my head in.
I have a database where there is currently one entry. What I want to
do is to check if this entry exists. If it does I want to update it,
if not create a new one.
recentC = db.fetchExisting(file);
if (recentC != null){
long rwId =
if ( ! recentC.getCount() == 0) {
On Jan 29, 8:41 am, André pha...@hotmail.com wrote:
This is doing my head in.
I have a database where there is currently one entry. What I want to
do is to check if this entry exists. If it does I want to update it,
if not create a new one.
recentC =
Hi,
I thought that I can use Build.VERSION.SDK_INT for detect android
version.
But I got errors from my users because they has Froyo,
Build.VERSION.RELEASE returns 2.2 (I can see it in error mails),
and Build.VERSION.SDK_INT has value 9. It says that it is gingerbread
and my app tries to use
Andre,
Yes, recentC != null is wrong, because a cursor is returned if the
query itself succeeds, even if there is no data (for various reasons:
the cursor returns the schema of your query, also you can requery the
cursor later, and get new data if any is added).
Two ways to check existence
I just went through this myself, but my logic is inverted to yours, so
ignore my previous
probably better to use
if (recentC.getCount() != 0) {
On Jan 29, 8:41 am, André pha...@hotmail.com wrote:
This is doing my head in.
I have a database where there is currently one entry. What I want
Thanks for quick answers guys!
It works very well with getCount(). Do you have any suggestions about
the query thou? Because it still returns 0 on get count when I try to
look for the already existing entry.
mCursor = mDb.query(true, RECENT_TABLE, new String[] {RECENT_ROWID,
RECENT_NAME,
Hi all, there is a cts case which I can not ran success,and I can not find
the root cause, Anybody came across the same question? Offer me
some clues,Many thanks!!!
Your query looks ok to me.
Check how you insert data, and make sure that the value that's stored in
the database is what you expect.
Oh, and before you call recentC.getLong(recentC.getColumnIndexOrThrow,
make sure you've moved the cursor to the first row.
-- Kostya
29.01.2011 18:02, André
And I also find that the Find all instances of a word on the page and
highlight them appears in the top and bottom of the screen at the same
time,But the normal just appear one in the screen and the other one will
appear when excute the scrol func. Why?
2011/1/29 xhy xhyg...@gmail.com
Hi all,
There is an other problem in an other device.
It says that SDK_INT=9, VERSION.RELEASE=2.3, but I throws
java.lang.NoClassDefFoundError: android.view.InputDevice
I can't understan these bugs
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
Sounds like somebody installed a bad alternative ROM.
On Sat, Jan 29, 2011 at 10:19 AM, b_t bartata...@gmail.com wrote:
There is an other problem in an other device.
It says that SDK_INT=9, VERSION.RELEASE=2.3, but I throws
java.lang.NoClassDefFoundError: android.view.InputDevice
I can't
Any feedback on Bitzer's approach ?
Amer
On Jan 27, 11:22 am, amerhhh amer...@gmail.com wrote:
Bitzer is trying to push Android into the Enterprise. Bitzer has
created a virtual container available on Android that can seamlessly
connect to enterprise applications via a mobile virtualization
That works great. Thanks!
On Jan 29, 12:46 am, Kostya Vasilyev kmans...@gmail.com wrote:
John,
You can do this with LinearLayout and layout_weight attribute that it
supports:
LinearLayout layout_height=fill_parent orientation=vertical
View
layout_height=0dp
layout_weight=20/
TextView
On Sat, Jan 29, 2011 at 10:24 PM, Nikolay Elenkov
nikolay.elen...@gmail.com wrote:
Hi,
Anyone managed to get the emulator to run on Linux?
For me it gets stuck on '/dev/dsp no such device' or
'/dev/dsp: Device or resource busy' if I install OSS emulation.
The '-noaudo' and '-audo none'
On 29 Jan, 02:54, davemac davemac...@gmail.com wrote:
I'm trying to download Honeycomb preview but I get this from
sdk_manager:
Downloading SDK Platform Android Honeycomb Preview, revision 1
File not
found:http://dl-ssl.google.com/android/repository/android-3.0_pre_r01-linux...
I've tried
Same for me
--
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
FWIW, I have no problem launching existing AVDs in Ubuntu 10.10 with
SDK Tools 9.
On Sat, Jan 29, 2011 at 10:46 AM, Nikolay Elenkov
nikolay.elen...@gmail.com wrote:
On Sat, Jan 29, 2011 at 10:24 PM, Nikolay Elenkov
nikolay.elen...@gmail.com wrote:
Hi,
Anyone managed to get the emulator to
Ubuntu 64bit 10.10, no OSS. No issues with running emulator(except
that it's slow).
On 29 янв, 17:46, Nikolay Elenkov nikolay.elen...@gmail.com wrote:
On Sat, Jan 29, 2011 at 10:24 PM, Nikolay Elenkov
nikolay.elen...@gmail.com wrote:
Hi,
Anyone managed to get the emulator to run on Linux?
Which exact version of the JDK are you all running your emulator on?
And are you using Sun's or the OpenJDK?
- dave
On Jan 29, 11:36 am, Mark Murphy mmur...@commonsware.com wrote:
FWIW, I have no problem launching existing AVDs in Ubuntu 10.10 with
SDK Tools 9.
On Sat, Jan 29, 2011 at 10:46
Hi! I have ONE annoying problem with SimpleCursorAdapter. My programm
has list view and ListActivity. Each row has it's own layout:
TableLayout xmlns:android=http://schemas.android.com/apk/res/
android
android:layout_height=wrap_content
android:layout_width=fill_parent
Its better to use
ArrayAdapterString adapter=new
ArrayAdapterString(playlist_new.this,android.R.layout.simple_list_item_multiple_choice,song_name);
lv.setAdapter(adapter);
lv.setChoiceMode(ListView.CHOICE_MODE_MULTIPLE);
On Sat, Jan 29, 2011 at 10:51 PM, Nick ympe...@gmail.com
On Sat, Jan 29, 2011 at 1:26 AM, Miguel Morales therevolti...@gmail.comwrote:
Not to mention that testing OpenGL games is impossible. The only way
to test on devices is users, otherwise it's just a guessing and hoping
for the best.
In any case, I don't care WHY the emulator is so slow.
Da device searches for htc sync on pc bt iz unale to find it
I have installed the latest htc sync
It does not even pick it as usb drive
Its jst that whenever i connect it says USB DEVICE NOT RECOGNISED and
nothing then
Though it charges the phone
I have even factory resetted it
On 29 Jan 2011
means: hangs..Not doing any thingjust
running and running and running
On Jan 26, 9:55 pm, TreKing treking...@gmail.com wrote:
On Wed, Jan 26, 2011 at 6:12 AM, Atif Musaddaq atif.musad...@gmail.comwrote:
my Eclipse stuck while running the emulator or
It's easy to say that until you have actually written an OpenGL game for
Android. Running at seconds per frame instead of frames per second
means you can ONLY test on real hardware. On real hardware my game
(Tank Recon 3D) takes over 5 minutes to load in the debugger (30 seconds
on
thanks to all!
--
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
Thanks, did as you said and found a mistake I made. It works perfectly
now!
On Jan 29, 4:14 pm, Kostya Vasilyev kmans...@gmail.com wrote:
Your query looks ok to me.
Check how you insert data, and make sure that the value that's stored in
the database is what you expect.
Oh, and before you
thanks to all!
--
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
Is there a simple way to get all my values from a column in my
database to a String[] without having to use simpleCursorAdapter?
When I try:
String[] from = new String[]{dbManager.NAME};
I only get the name of the column.
I'd appreciate any suggestions!
//André
--
You received this message
On Sat, Jan 29, 2011 at 2:22 PM, André pha...@hotmail.com wrote:
Is there a simple way to get all my values from a column in my
database to a String[] without having to use simpleCursorAdapter?
You would not use a SimpleCursorAdapter for that. SimpleCursorAdapter
is for taking a Cursor and
same
--
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,
When I try to install the Honeycomb preview using the SDK AVD
Manager, I get this error:
File not found:
https://dl-ssl.google.com/android/repository/android-3.0_pre_r01-linux.zip
Anyone have a work around?
Thanks,
--
Darren
--
You received this message because you are subscribed to the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 01/29/2011 10:55 AM, Leigh McRae wrote:
It's easy to say that until you have actually written an OpenGL game for
Android. Running at seconds per frame instead of frames per second
means you can ONLY test on real hardware. On real hardware my
I'm using SimpleCursorAdapter just because I store data in the
database.
And you suggested to use standard layout what isn't suitable for me.
On 29 янв, 20:46, Robin Talwar r.o.b.i.n.abhis...@gmail.com wrote:
Its better to use
ArrayAdapterString adapter=new
I'm using SimpleCursorAdapter just because I store data in the
database.
And you suggested to use standard layout what isn't suitable for me.
On 29 янв, 20:46, Robin Talwar r.o.b.i.n.abhis...@gmail.com wrote:
Its better to use
ArrayAdapterString adapter=new
Nick,
- Since list item views get recycled, you've got to have something that
maintains item state (checked / unchecked) - besides the checkboxes in
your list, since those are part of recycled item layouts.
- To change data in the database, use the usual database update methods.
Other than
A pause isn't enough. All drawing is double-buffered. You will never see
what you have drawn until the entire drawing is complete. If the code is in
the view hierarchy, this means nothing is drawn until everything returns
from its onDraw() call. To do sequential frames, after the first one you
Thanks fro advice. I tried but had no luck.
By the way, my getViw method was called even without
notifyDatasetChanged().
It was while scrolling. Now it's called after click. But still have
this in trace log:
uptate to 1
getView 0 = 0 (here must be 1)
getView 2 = 0
getView 3 = 0
And... is it bad
Hi Darren,
I had the same issue when I tried to download it with SDK/AVD Manager.
Did you solve it ?
dave
On Jan 29, 2:54 pm, Darren Hinderer hindenb...@gmail.com wrote:
When I try to install the Honeycomb preview using the SDK AVD
Manager, I get this error:
File not
Hello,
I was wondering if anyone is noticing pauses lasting about 5+ seconds on
content assist with android development plugin.
I'm developing on Fedora 12, once every now and then I get this slow down, I
see the eclipse process at 50% (I have a dual core machine). Can't find
anything
If the cursor still pulls out old values after the update, try adding a call
to requery().
--
Kostya Vasilyev -- http://kmansoft.wordpress.com
30.01.2011 1:17 пользователь Nick ympe...@gmail.com написал:
Thanks fro advice. I tried but had no luck.
By the way, my getViw method was called even
Found this post:
http://stackoverflow.com/questions/3980022/eclipse-auto-suggest-list-very-slow
but
no answer.
--
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
If you are using Eclipse Helios (3.6), that's a known bug in parsing JavaDoc
files for content assist. A fix is scheduled for 3.6sr2 (end of February).
--
Kostya Vasilyev -- http://kmansoft.wordpress.com
30.01.2011 1:27 пользователь android_interest kar...@gmail.com написал:
Hello,
I was
By the way, how many items do you expect to have in these lists?
--
Kostya Vasilyev -- http://kmansoft.wordpress.com
30.01.2011 1:27 пользователь Kostya Vasilyev kmans...@gmail.com написал:
If the cursor still pulls out old values after the update, try adding a
call
to requery().
--
Kostya
BTW, I documented several possible workarounds for Eclipse Helios in my
blog, see below.
--
Kostya Vasilyev -- http://kmansoft.wordpress.com
30.01.2011 1:35 пользователь android_interest kar...@gmail.com написал:
Found this post:
Also gone for me somebody removed it by accident?
On Jan 29, 9:03 pm, circle kenne...@gmail.com wrote:
Same. It seems that Google removed the file.
I found some links on the web, but don't feel very comfortable installing
from unofficial source...
What's up, Google?
--
You received
Nope. I haven't tried anything else, I'm hoping it's a just a
temporary error.
On Jan 29, 2:26 pm, dave dayong...@gmail.com wrote:
Hi Darren,
I had the same issue when I tried to download it with SDK/AVD Manager.
Did you solve it ?
dave
On Jan 29, 2:54 pm, Darren Hinderer
iOS simulator is fast because XCode builds an X86 binary and because
iPhone and OSX both run basically the same OS, there is no actual
emulation happening, mostly just API mapping... It's running as a
mostly OS-Native binary.
Unless you want to develop your apps in Android itself on your desktop
On Jan 29, 9:03 pm, circle kenne...@gmail.com wrote:
Same. It seems that Google removed the file.
I found some links on the web, but don't feel very comfortable installing
from unofficial source...
By some links I guess you mean
I was able to get a copy of the file from a friend of mine so I'm now
good. The repository.xml file on Google has this for the sha1
checksum:
sdk:archive os=any arch=any
sdk:size99663071/sdk:size
sdk:checksum type=sha1b11da2f078b7383b0c3357847ab6ede367973ce3/
sdk:checksum
On Sat, Jan 29, 2011 at 12:22 PM, Samsung Galaxy atif.musad...@gmail.comwrote:
means: hangs..Not doing any thingjust
running and running and running
If that's Eclipse that's hanging, there's a Progress view you can look at
to see what it's doing.
Hi,
I would like to create a bitmap image from some freehand drawing on a
surface view...if someone shows me the way, that will be of immense
help... i tried setDrawingCacheEnabled(true) and getDrawingCache(true)
of the view class...but its not working...
are these two functions behave
Thank you Dianne,
When I get back to work, I'll give you an API with that problem.
On Jan 28, 11:39 pm, Dianne Hackborn hack...@android.com wrote:
Actually just the .apk binary with a description of what to look for should
be sufficient initially.
On Fri, Jan 28, 2011 at 7:13 PM, Dianne
Hi Xi Shen,
QuickContact does not associate app icons with the entire contact. So there
is no simple way to simply add an application to QuickContact so that it
would show for all contacts.
Instead, QuickContact associates app icons with contact's data such as email
address, phone number etc.
Hello,
I want to implement SNMP on Android Emulator. But not getting how to
proceed.I m using SNMP4J libraries.but not getting anything
Please help me !!!
Thank you in advance!!
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To
Running it on Ubuntu 10.04 decently. Really slow (but I think that's normal)
and landscape mode isn't working properly. Otherwise it's all systems go
over here..
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send
On Sun, Jan 30, 2011 at 2:02 AM, JAlexoid (Aleksandr Panzin)
jalex...@gmail.com wrote:
Ubuntu 64bit 10.10, no OSS. No issues with running emulator(except
that it's slow).
Thanks to everyone who confirmed it works. After much strace-ing I've
found the issue.
There are actually 3 separate
On Sun, Jan 30, 2011 at 2:02 AM, davemac davemac...@gmail.com wrote:
Which exact version of the JDK are you all running your emulator on?
And are you using Sun's or the OpenJDK?
The emulator is a native application, so it shouldn't matter, but I am using
Sun JDK 1.6_22 x86_64.
--
You
I also see that any activities of mine that have a webview (even it is just
local content) crash...
--
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
For those who are looking for testing their apps on multiple devices:
I had the chance to meet a guy from Device Anywhere last week. They wire
mobile phones and put them into server racks. This allows remote control of
them. No simulation, the real thing. Pretty cool…
They offer a device pool
Similar problems happened to me。
Is there a plan for google android developers to fix this issue in
future release?
On 1月17日, 下午8时48分, code vthme codevt...@gmail.com wrote:
Any update on this issue. I am also facing same issue. Any insight
would be highly appreciated.
From: YSRB
82 matches
Mail list logo