If you're running in the Debugger in Eclipse it appears in the Log
viewer. However if anyone knows of an approach to log/write it to
somewhere on the device itself, that would be useful too for testing
on the device itself?
Kevin Hooke
On Sep 25, 5:22 pm, sdphil phil.pellouch...@gmail.com
Dear all,
I'm writing a little dictionary application for Android 1.5, and I'd
like to catch the user's keystrokes in an EditText instance. The
following code recognizes all keys, which are typed in in the Android
emulator:
new EditText(this) {
@Override
public boolean onKeyUp(final int
when i'm debugging, I notice a lot of Binder Thread threads.
is there a way to get at those threads - say for example to set an
unhandled exception handler for them or to rename them, or other
things?
tia.
--~--~-~--~~~---~--~~
You received this message because
There was a lot to write so I put it in an article here -
http://www.rbgrn.net/content/338-adc2-begins-potential-problems-with-game-judging
Here's the part I wrote specifically about games:
In my opinion:
No games are truly original.
Almost all games use the capabilities of the platform about
1) This belongs to android-discuss, it has nothing to do with
developing apps using the public SDK :)
2) TV adds? Are you kidding us or you really want to have TV ads in
all countries where Android phones are sold? :)
Tauno
On Sat, Sep 26, 2009 at 7:34 PM, Maps.Huge.Info (Maps API Guru)
I have three apps in ADC2 and so far have seen a total of 63 users run
them.
There seems to be a very low number of judges participating in ADC2.
I've seen no publicity at all, no mention in the tech press, no TV
coverage, nothing to indicate this contest is running.
I'm guessing that the
I agree that the generic categories don't work very well for games.
However, I think the problem is made worse by the lack of good
information from Google to the user/judges.
For example, you said in your blog post that you'd give an
Indispensability rating of 1 to any game, and strictly
There should also be a rating for functionality.
I've reviewed about 50 or so apps and at least 10 have had major
malfunctions or didn't function at all. Things like force close, maps
that were blank (probably no key) and buttons that had no function.
There was even one that simply had Hello,
Hello !
I'm using Android SDK 1.5r3, and I could not find a way to get rid of
either SSLException nor NoSuchAlgorithmException when trying to access
an https ressource.
Of course, I've been searching the internet and the Android
documentation, so far I'm using this code :
public static void
Hi all,
I have pushed around 10 files of each image(*.png ), audio(*.mp3) and
video(*.mp4 *.3gp) after that I have restarted the emulator and when I open
the gallery application I see only a few files being present in sdcard. (in my
case 1 video, 2 images and 2 audio clips) .
is this a bug
It's very useful
thank u very much
On 9月25日, 下午6时35分, Mark Murphy mmur...@commonsware.com wrote:
android:enabledcan be set at AndroidManifest.xml
activity
android:name=MyActivity
android:enabled=true
How can I set the attr true or false in my programm?
There is a method on
Hi Mark,
Thank you so much for your introduction for StateListDrawable.
I didn't reach the document, but it looks the way I wanted.
I will try it later.
Thank you again.
On 9月24日, 午前11:15, Mark Murphy mmur...@commonsware.com wrote:
I have a question about atabicon.
According to
Try using setData() to store your message instead of extras: that
forces the Intent to be seen as a new one. Or you can keep using
extras and
create some other unique token every time for setData().
Lee
p.s. also see the flags you can use at the end of the getService call
(read
the
Hi!
I've created ProgressDialog with a second thread according to the
DevGuide:
http://developer.android.com/guide/topics/ui/dialogs.html#ProgressDialog
It works great till user:
1) changes screen orientation or
2) hits the back button twice (first to hide the dialog, second to
hide the app)
Try using setData() to store your message instead of extras: that
forces the
Intent to be seen as a new one. Or you can keep using extras and
create some
other unique token every time for setData().
Lee
p.s. you can also try FLAG_CANCEL_CURRENT at the end of your
getService call (read
the
For others who might choose to do debugging on CLI , here's how.
http://asantoso.wordpress.com/2009/09/26/using-jdb-with-adb-to-debugging-of-android-app-on-a-real-device/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Does anyone know if it possible to see the Google app store without
having cell phone service on the Android (like from my ADP with no SIM
card)?
I can see bits of it at http://market.android.com, but can you see all
of it without the Android on a cell phone account?
Thank you!
Well if they will install a non-released version of the OS then that's
to be expected.
On Sep 25, 10:04 pm, CaptainSpam captains...@gmail.com wrote:
Recently, two independent users with 1.6 (Donut) on their phones have
informed me that my app crashes after it enters a MapView, just as
soon as
How to programmatically stop a long-running query?
The long-running step is, for example, the first call to
Cursor.moveToFirst(). This can sometimes take up to 30 seconds so I
would like the user to be able to cancel.
However, how should this be done? I've tried closing the Cursor (in
another
Wasn't google supposed to do a first pass at filtering these things?
So these are the apps that have - in theory - already passed a
reviewer.
Wow.
(So far I haven't hit anything that bad, and one app I rated pretty
nicely and will probably buyer, would buy, if google would let me.
But, you
Check out http://www.cyrket.com
--~--~-~--~~~---~--~~
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
is there a way to tell if an activity is in the foregound or not
(other than setting a variable in onResume()).
tia.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group,
Sorry about TV ads - don't know where I got the idea :) readingComprehension--;
On Sat, Sep 26, 2009 at 7:55 PM, Maps.Huge.Info (Maps API Guru)
cor...@gmail.com wrote:
1) This belongs to android-discuss, it has nothing to do with
developing apps using the public SDK
Maybe. There are enough
fyi - just ran into this...
http://groups.google.com/group/android-developers/browse_thread/thread/ddf6863e9a31052f
On Sep 26, 8:54 am, kevin.hooke kevin.ho...@gmail.com wrote:
If you're running in the Debugger in Eclipse it appears in the Log
viewer. However if anyone knows of an approach to
Hi guys,
I am trying to make an application which will upload pictures to a
website. I need to let the user browse through the pictures they want
to upload and select them. However, when I try to use the MediaStore I
always get an empty cursor.
I created an SD CARD image and used that with the
You need to implement the method
public void onConfigurationChanged(Configuration arg0)
{
super.onConfigurationChanged(arg0);
}
in your activity. and in manifest file, you have to the statement
android:configChanges=keyboardHidden|orientation for that activity.
so when your
I just downloaded the ADC2 judging application and there is a list of
terms and conditions you need to agree to. I have entered an
application to the challenge and I am afraid disqualification in case
there is a hidden term somewhere...
Does anyone know about this?
Cheers!
Thank you for your answer Roman.
If i understand you well :
- the Add certificates option is not working
- specifying a security protocol in the Add Wi-Fi network dialog box
is useless
- and we are obliged to root the phone to connect to secured Wi-Fi
networks ?
That's a very sad news.
Alex
1) This belongs to android-discuss, it has nothing to do with
developing apps using the public SDK
Maybe. There are enough conversations regarding ADC2 on this forum to
make it relevant. If Google would open an ADC2 forum, that would be a
better place.
2) TV adds? Are you kidding us or you
I am new to Android...
Here i m Displaying Listview with Checkbox in ListActivityIf i Click
the particular Checkbox it should says checked otherwise unChecked..
I dont know how to use this*onSetOncheckChangeListener*
Thanks in Advance,
Raghav.S
*Here is My Code:*
final
A little more clarification .
if I open gallery application, it displays only a few images/audios/videos and
sometimes, MediaScanner doesnot detect any files. but through the adb shell ,
I can see the presence of all the files that are being pushed onto sdcard.
Can somebody help me out, on
On Sat, Sep 26, 2009 at 6:20 AM, Wouter wouterg...@gmail.com wrote:
When i look at the sample from the seperatedlistadapter i see this:
# @Override
# public void onCreate(Bundle icicle) {
# super.onCreate(icicle);
#
# ListMapString,? security = new
Today, when I try to run my app from Eclipse, I get Error generating
final archive: Debug certificate expired on 9/21/2009 6:11pm.
I ran Software Update on my Mac a few days ago (probably around
9/21/2009 at 6:11pm). I mention this because its the only thing that
has changed with my machine
Really no idea where you got that thought from maybe all the
iPhone ads in almost all european country I travel to.
On Sep 26, 6:00 pm, tauntz tau...@gmail.com wrote:
Sorry about TV ads - don't know where I got the idea :)
readingComprehension--;
On Sat, Sep 26, 2009 at 7:55 PM,
Nevermind. I thought I had deleted debug.keystore. I had not.
I did delete the debug.keystore and it worked. On the mac, this can
be found at ~/.android/debug.keystore.
Also ... for the record ... I have no idea why this worked or if this
had anything to do with Software Update. I was
I got the MediaStore to give me a cursor of the right size (it's 4
now, since I have 3 downloaded images) but I still cant get the images
to show up. Here is my code :
===
public View getView(int pos, View convertView, ViewGroup parent) {
try {
As my applications audio is streamed from the net, some numbers from
me based on my webhost:
36 visits (80 hits) for page 1's audio.
1 visit (1 hit) for someone who made it all the way to page 17.
The application has 40 pages of content - but the uninstall to
continue to the next application
When i look at the sample from the seperatedlistadapter i see this:
# @Override
# public void onCreate(Bundle icicle) {
# super.onCreate(icicle);
#
# ListMapString,? security = new LinkedListMapString,?
();
# security.add(createItem(Remember passwords, Save
usernames
IMEs perform their edits through the InputConnection interface. Apps should
generally watch for edits on the text view rather than catching key events.
On Sat, Sep 26, 2009 at 9:40 AM, CG christian.gr...@gmail.com wrote:
Dear all,
I'm writing a little dictionary application for Android 1.5,
hi,
I see a strange problem when I try to set a TextView, instead of a
layout file via setContentView.
Case 1:
i.e. if I do the following, it works fine...
TextView tv = new TextView(this);
tv.setText(Hello World);
setContentView(tv);
Everything is OK.
Case 2:
But
You can't, the thread is down in the SQLite engine doing its work.
I would really look at why your queries are taking so long -- 30 seconds is
just insane. For example, have you created indexes on the appropriate
columns for the query?
On Sat, Sep 26, 2009 at 9:16 AM, mjc147
I personally have skipped about 75% of the apps that have come up in
my queue. Why? Because most of them are irrelevant to me. I can't be
bothered to try an app which gets public transit information in Paris,
tells me which direction to face when I pray, tells me when I am
supposed to pray, and
Thanks!
On Sep 26, 2009 12:57 PM, Maps.Huge.Info (Maps API Guru) cor...@gmail.com
wrote:
Check out http://www.cyrket.com
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this
The add-on MapsDemo sample app has an Options Menu, but the menu is
not defined in the sample code. Also there is no menu resource
directory. If you create your own subclass of MapActivity there is no
menu. Where does the menu in the MapsDemo sample app come from (where
is it defined)?
Thank you for your response! It works great - now I can change the
orientation and the ProgressDialog works. And do have any ideas how to
solve the problem with user hitting back or home button? I found
that you may set your Dialog with Dialog#setCancelable(false). Then,
the user can only hit
On Fri, Sep 25, 2009 at 11:19 AM, Mark Murphy mmur...@commonsware.com wrote:
Also, batch insert generally means you insert multiple items at
once, so you should only need to do one call to bulkInsert(), and
hence one call to getWriteableDatabase.
bulkInsert() is only for content providers;
Is it possible to create an app which always runs in the background
and can listen to user input?
To be more specific, is it possible to open your app by performing a
gesture or long pressing selected text on any screen in any other
running app?
do i need to rewrite my existing android code for COCOA touch support?
Well give it a try and see. I haven't used it yet and that's why I
was asking. Let me know...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups
Thanks Lee. I'll give that a shot and post the results.
On Sep 26, 5:14 am, Lee lee.wil...@googlemail.com wrote:
Try using setData() to store your message instead of extras: that
forces the Intent to be seen as a new one. Or you can keep using
extras and
create some other unique token every
No it is not, sorry.
On Sat, Sep 26, 2009 at 3:02 PM, mscwd01 mscw...@gmail.com wrote:
Is it possible to create an app which always runs in the background
and can listen to user input?
To be more specific, is it possible to open your app by performing a
gesture or long pressing selected
Hi Marco,
I am not implementing a content provider.
Btw, I found out that by not calling getWriteableDatabase every single
insert noticeably improves db insertion speed.
Agus.
On Sat, Sep 26, 2009 at 1:37 PM, Marco Nelissen marc...@android.com wrote:
On Fri, Sep 25, 2009 at 11:19 AM, Mark
In an effort to brute force a solution I removed the only instance of
the NumericShaper class I could find in my project, deleting from
android.jar. After removing the NumericShaper class from the
android.jar file that comes with the SDK, the next class in the java/
awt package structure throws
Hmm pity, I can see it being abused by unscrupulous developers - but
it'd be a powerful feature nonetheless.
On Sep 27, 12:28 am, Dianne Hackborn hack...@android.com wrote:
No it is not, sorry.
On Sat, Sep 26, 2009 at 3:02 PM, mscwd01 mscw...@gmail.com wrote:
Is it possible to create an
Doing all your inserts inside of a transaction will probably be even faster.
On Sat, Sep 26, 2009 at 4:31 PM, Agus agus.sant...@gmail.com wrote:
Hi Marco,
I am not implementing a content provider.
Btw, I found out that by not calling getWriteableDatabase every single
insert noticeably
Most queries take a fraction of a second. However, I want to allow the
user to do deep searches. Think of a dictionary lookup that is
searching the description of an entry. I want to allow the user to
search for something like think and match against something like
thinking. This means using LIKE
The specific search you mention should still benefit from an index,
since it's matching on prefix. If you also wanted it to match
unthinkable, that's a different story. In that case you might want
to consider a storage mechanism other than a relational database.
On Sat, Sep 26, 2009 at 5:58 PM,
Is there a way to set a meta state for a view(TextView) to
MetaKeyKeyListner.META_SELECTING?
Thanks.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Another trick you could try is to use a separate indexed column (the
rowid column for example) to limit your search to some smaller number
of rows, and then perform multiple searches over consecutive parts of
your table. That way each query takes a short amount of time, so you
can stop pretty
Dears:
I'm writing an android software testcase, but I don't kone how to
check whether the application is launched or not after I have clicked
the icon.
Anybody can give me some advices?
BRs!
--~--~-~--~~~---~--~~
You received this message because you are
Hi Group -
I'm trying to modify the default layout for the MediaController. I'd
like to remove the fastForward/fastRewind buttons and maybe do some
resizing, etc. I know it's possible to remove the buttons if I call
the MediaController(Context, useFastForward) constructor, but is there
any
You could implement your own and make it look however you like.
On Sat, Sep 26, 2009 at 7:19 PM, brooke brooke.ma...@gmail.com wrote:
Hi Group -
I'm trying to modify the default layout for the MediaController. I'd
like to remove the fastForward/fastRewind buttons and maybe do some
But is there a way to simply modify the existing one?
On Sep 26, 7:27 pm, Marco Nelissen marc...@android.com wrote:
You could implement your own and make it look however you like.
On Sat, Sep 26, 2009 at 7:19 PM, brooke brooke.ma...@gmail.com wrote:
Hi Group -
I'm trying to modify the
As the subject.
--~--~-~--~~~---~--~~
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
As the subject.
--~--~-~--~~~---~--~~
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
Hi,
Has anyone gotten the WikiNote from
http://code.google.com/p/apps-for-android/ ???
What I did was:
1) checkedout the project via apps-for-android instructions [svn
checkout http://apps-for-android.googlecode.com/svn/trunk/
apps-for-android-read-only]
2) opened a new Android project using
That's a nice trick with the indexed column. I thought of something
like that with a column I use for ordering. That column only has a few
distinct values so I could split the query up on each of those values.
The 30 secs is an absolute worst-case scenario. Typical deep searches
take less than
Other than enabling/disabling some of the standard buttons, no.
On Sat, Sep 26, 2009 at 7:35 PM, brooke brooke.ma...@gmail.com wrote:
But is there a way to simply modify the existing one?
On Sep 26, 7:27 pm, Marco Nelissen marc...@android.com wrote:
You could implement your own and make it
I have figured out the solution. It is slightly twisted
Below is the solution...
?xml version=1.0 encoding=utf-8?
LinearLayout xmlns:android=http://schemas.android.com/apk/res/
android
android:id=@+id/simple_activity_root
android:orientation=vertical
68 matches
Mail list logo