Why would you ever call onStart() manually (assuming that it's the
onStart of your activity)?
You might want to look into using showDialog() provided by Activity if
you want to manage dialogs that may appear repeatedly. And don't call
any of the activity lifecycle methods directly.
Doug
--
I think I went down this road like 2 years ago and ended up doing
something crazy/dumb like using a web view. Instead of startActivity
you could do pop ups and just feed the web view the text. A little
css might be needed : / If you are stuck this may work for u. Use
the Linkify to add tel:
While cancelling the dialog for the first time, you must be using the
cancel() method. It just cancel's the dialog and does not do any
initialization of the progress bar again when you show the same dialog
again, thats why next time also it showing with 100% progress. There are 2
solutions for
If a data row of my list contains a TextView and a Button, is it
possible to format those components individually when the List row is
selected? Like change drawable of a Button, font color of the TextView
apart from the usual highlighting the background of the List row?
How can this be achieved?
intent-filter
data android:scheme=lol.haha.scheme /
action android:name=android.intent.action.VIEW /
/intent-filter
a href=lol.haha.scheme://pass/here
On Sep 24, 9:50 am, AnasSamara anas86sam...@gmail.com wrote:
Hello All
Any one knows how to launch certain application in my android
Did anyone get this email sent to their dev account email address?
Legitimacy check?
Doug
--
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
I have found the solution. Perhaps this may help others in creating
an OPTIONS MENU in their application.
Here's the code:
package com.calculator;
import android.app.Activity;
import android.content.Intent;
import android.graphics.Color;
import android.os.Bundle;
import android.view.Menu;
What are your logs showing?
I was trying to load images into an imageview using file Uris, which
worked great in 2.2, but not on 2.1 and below. I could never figure
out why.
I posted the question on SO here:
Hello All
Can it possible to made the application for android device
using .net
--
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
The HTC Wildfire is a QVGA phone, so you need to declare in your manifest
that your app supports such screens.
You'll need to add the supports-screens tag, see here for more details:
http://developer.android.com/guide/practices/screens_support.html
YuviDroid
The first time a user ever runs my app, I show the options menu by
doing something like this in Activity.onCreate():
new Handler().postDelayed(new Runnable() {
@Override
public void run() {
openOptionsMenu();
}
}, 500);
However, using analytics, I can see
The cooliris Gallery3D code?
http://android.git.kernel.org/?p=platform/packages/apps/Gallery3D.git
How is the image cursor created? I assume it's obtained from a
MediaStore query. But if you change to a file uri, the MediaStore will
no longer handle the query...
I think you can obtain the
Read the other posts in the same blog. He explains how to rebuild an
Android version of Javadoc as a prior step.
On Sep 24, 6:45 am, Lidia lidyp...@yahoo.com wrote:
Hello to all,
Does someone know how to generate a javadoc for an android project?
I found searching the net this
That is excellent information. Thank you for posting it.
But there is one thing that surprises me as it is written, so I must
ask for clarification: when you say, there is no way we can figure it
out programmatically[sic], do you mean that such is the case even when
Proguard is integrated with
Leigh,
You could just use local variables to hold the temporaries, declared as
a primitive type (float).
-- Kostya
25.09.2010 3:22, Romain Guy пишет:
On 9/24/2010 6:32 PM, Romain Guy wrote:
rotateM() just does the following:
float[] r = new float[16];
Note: There is a dedicated android-porting mailing list. You'll most likely
find some experts there.
--
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
You don't instantiate SignalStrength from application code.
Use a PhoneStateListener (subclass), and implement onSignalStrengthsChanged:
http://developer.android.com/reference/android/telephony/PhoneStateListener.html#onSignalStrengthsChanged(android.telephony.SignalStrength)
A SignalStrength
Hello all,
I am trying to implement Sliding Drawer in my application using the
below xml layout:
LinearLayout android:id=@+id/LinearLayout01
android:layout_width=fill_parent
android:layout_height=fill_parent
xmlns:android=http://schemas.android.com/apk/res/android;
Excellent, so am I authorized to send email to that email address to
communicate something like free updates
or news about the software?
Thanks.
On Sep 25, 12:13 am, TreKing treking...@gmail.com wrote:
On Fri, Sep 24, 2010 at 5:03 PM, sblantipodi
perini.dav...@dpsoftware.orgwrote:
is this a
For me only on an emulator api8, but on the device(Nexus one Android
2.2) works!
On 25 Вер, 00:57, Bret Foreman bret.fore...@gmail.com wrote:
Oh, and both the phone and emulator are Android 2.2.
--
You received this message because you are subscribed to the Google
Groups Android Developers
Google on Monodroid.
Ted Neward
Java, .NET, XML Services
Consulting, Teaching, Speaking, Writing
http://www.tedneward.com
-Original Message-
From: android-developers@googlegroups.com [mailto:android-
develop...@googlegroups.com] On Behalf Of mishra
Sent: Saturday, September 25,
I'm trying to go from 0.9.7 to 0.9.9 as well. I didn't see an
announcement for 0.9.8 - if doing the upgrade incrementally works, is
there somewhere that 0.9.8 can still be downloaded (for those of us
whiwho don't already have it)?
Thanks,
String
On Sep 24, 10:08 am, Xavier Ducrohet
Neat idea. An annotation wouldn't work for things in JAR libraries,
however. Back when I tested ProGuard to see if it helped my frame
rates, I had to turn obfuscation off for some classes in JARs I use.
Not sure why, maybe the library used reflection or something. It
wasn't even a weird library,
APK size is about 10-14MB but a lot of that is resources and useless
resources pulled in from other libraries that still need to be
purged. The dex file is 8MB uncompressed.
Would people find this a reasonable feature to add to dx? In order to
help with scope issues as their projects get larger
hi,
i have to add some more tabs in my app..so rather than making the size
of the already existing ones small by adding new tabs..i thought of
using sliding tabs just like in app brain market android app
can someone pls point me in the right direction as to how i go about
it ??
thanks in advance
Sure. You can do it in the getView method of the Adapter class.
-Kumar Bibek
http://techdroid.kbeanie.com
On Sep 25, 11:15 am, Samuh samuh.va...@gmail.com wrote:
If a data row of my list contains a TextView and a Button, is it
possible to format those components individually when the List row
hi,
i have to add some more tabs in my app..so rather than making the size
of the already existing ones small by adding new tabs..i thought of
using sliding tabs just like in app brain market android app
can someone pls point me in the right direction as to how i go about
it ??
thanks
--
You
HI All,
I have a question- In j2me we have a way in which we can add the
notifying URL which is called with a status code (like 900 Success,
902 User Canceled etc.). Do we have any mechanism in android to figure
out the .apk download confirmation like we have in J2ME.
Thanks in advance
Amit
--
I had this problem on my NexusOne after 2.2 was installed and reported
it on the Android issue forum as issue 9593 (http://code.google.com/p/
android/issues/detail?id=9593).
It appears to be related to a file named smdl2tmp1.asec being left in
the SD card install directory (/mnt/secure/asec or
HI All,
Finally the problem got solved. Just needed to call an API on the
HttpConnection object - setDoOutput(true).
Thanks
Amit
On Sep 9, 11:41 am, Jason jason.poli...@gmail.com wrote:
Usually this means the protocol portion of the URL is not valid.
So for example in http://www.google.com;,
http://softsami.blogspot.com/2010/09/how-to-create-nameless-files-folders.html
--
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
People should read the blog post Dan posted and read the files that
comes with it.
one of those files is the Ant additional rules, the other one is a
proguard config file.
In this file, there are rules to not obfuscate the activity, service,
broadcastreceiver, etc... classes.
For the native
On Sat, Sep 25, 2010 at 5:45 AM, Lance Nanek lna...@gmail.com wrote:
The most powerful solution would be to just have a file field in the
project properties for a ProGuard config file to use. I guess since
people are complaining they can't use Ant, maybe they would complain
they can't edit
It is legit. Once you accept the NDA they will send you more info.
On Sep 24, 11:28 pm, Doug beafd...@gmail.com wrote:
Did anyone get this email sent to their dev account email address?
Legitimacy check?
Doug
--
You received this message because you are subscribed to the Google
Groups
Thats perhaps a gallery. You can make it look like tabs though.
-Kumar Bibek
http://techdroid.kbeanie.com
On Sep 25, 6:40 pm, nivedita arora vivaciousnived...@gmail.com
wrote:
hi,
i have to add some more tabs in my app..so rather than making the size
of the already existing ones small by
Yep.
Make sure that the items (the things returned by your adapter's
getItem(int position) method) contain a boolean that determines
whether one list-item is selected or not. E.g. 'isSelected=true'.
In your list-view' onItemSelected listener, do a
adapter.getItem(position) to get hold of the
Yes, you could. But don't spam the users be careful :-)
On Sep 25, 6:30 am, sblantipodi perini.dav...@dpsoftware.org wrote:
Excellent, so am I authorized to send email to that email address to
communicate something like free updates
or news about the software?
Thanks.
On Sep 25, 12:13
And in to avoid button-mashing in general, you could disable the
button when clicked.
On Sep 25, 2:05 am, Doug beafd...@gmail.com wrote:
Why would you ever call onStart() manually (assuming that it's the
onStart of your activity)?
You might want to look into using showDialog() provided by
How did you set the sizes of your text (font)?
Don't use 'dp'/'dip' and certainly don't use 'px'. Instead use the
'sp' measure for fonts (scale independent pixels).
On Sep 24, 11:33 pm, pawpaw17 georgefraz...@yahoo.com wrote:
Guys,
I was cooking along with the basic Google Maps 1.5 SDK and
If the order has Email Marketing: set to NO, you should not use it for
those purposes
On Sep 25, 4:42 pm, Streets Of Boston flyingdutc...@gmail.com wrote:
Yes, you could. But don't spam the users be careful :-)
On Sep 25, 6:30 am, sblantipodi perini.dav...@dpsoftware.org wrote:
I'm curious as to why Android has to unmount the SD card at all? Was
this a simple design choice or is it a hardware limitation with USB?
Or something else entirely?
On Sep 24, 7:50 pm, Dianne Hackborn hack...@android.com wrote:
It's not a marketing thing, it's a basic characteristic of the SD
It's great for emergencies or something but Spamming a user would
quickly get you bad feedback in most cases.
On Sep 25, 9:42 am, Streets Of Boston flyingdutc...@gmail.com wrote:
Yes, you could. But don't spam the users be careful :-)
On Sep 25, 6:30 am, sblantipodi
Hi all,
When will C2DM be available to the public (no beta/whitlist) ?
Thanks,
Ori
--
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
Customers are constantly having issues, trying to purchase it succeeds
but something else goes wrong and they have to cancel then repurchase
the application.
On Sep 25, 9:04 am, Craig D cdore...@gmail.com wrote:
I had this problem on my NexusOne after 2.2 was installed and reported
it on the
Integration in Eclipse - a step in the right direction if serious
about promoting Proguard.
It's wait and see for me now. I am too busy with other things to
wanting to figure this one out.
Xavier and crew, two aspects that I'll ask you to keep in mind:
1. There's plenty of developers who need to
I upgraded from 0.9.7 to 0.9.9 (took about 15 mins in d/l). However,
I am using Eclispe 3.6 (hides under desk in fear of being shouted at).
Although, after the upgrade, I did have to remove and re-add the
AndroidVendingLicensing library, as it got confused and seem to appear
twice in my
Hello,
In my application the user selects an image. When the
ACTION_GET_CONTENT intent is launched it displays the dialog to select
one of the available image viewers installed on the device. However I
need the built in Gallery app to be chosen because upon selecting an
image it launches the
Regrettably, Android multiplier is considerably greater than iOS's.
Java Eclipse Vs Objective C Xcode. You decide.
Sorry, I just couldn't let that comment slide by.
On Sep 25, 11:45 am, JP joachim.pfeif...@gmail.com wrote:
Integration in Eclipse - a step in the right direction if serious
On Sep 25, 10:08 am, Craigo craig...@gmail.com wrote:
Java Eclipse Vs Objective C Xcode. You decide.
Well yeah for the stuff that's done on the side. Another decision
would to head to the beach because it's such a nice day.
I am referring to professional work though where one would rather
Can't say because I signed the NDA :). Looked legit to me but read the
fine print; more restrictive than Android market.
Martin
mobitobi
Gentle Alarm, Sleep Now
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send
On Sat, Sep 25, 2010 at 8:33 AM, Rich ricow...@gmail.com wrote:
I'm curious as to why Android has to unmount the SD card at all? Was
this a simple design choice or is it a hardware limitation with USB?
Or something else entirely?
That's how USB mass storage works. The SD card is a FAT
I received this from Google yesterday:
Hello,
We're writing to inform you about some changes to Android Market that
require your attention.
Over the next few weeks, we’ll be adding paid apps support for
additional countries. If you have selected to publish your paid apps
to all locations and
Good Evening Android Developers,
My app (amongst other things) enables users to set the wallpaper (with
some assets included in the app). This works perfectly on my Samsung
Galaxy S, my Droid (the original) and my 500 year old G1. However I
have people complaining in the marketplace about issues
What's the instance of the analyzeThread?
You should definitely stop/kill/cancel the previous one. Look at the
API doc for the type which the analyzeThread type and you'll find it
how to kill it
On Sep 24, 9:48 pm, Hudar hudars...@gmail.com wrote:
Hi,
I did quite a simple app using android
You might have a nullpointerexception with this code. You need to kill
and reinstantiate it prior to start over
On Sep 24, 9:48 pm, Hudar hudars...@gmail.com wrote:
Hi,
I did quite a simple app using android thread to implement progress
dialog. The app work this way :
When we click on
Yeah.. I got it alsobut I really hope they are doing something to
reduce the impact of Spam Apps at the same time.
My very simple idea to reduce the impact Spam Apps have on the market
would be to only allow an app to show up in the Just In category 3
times a year, and never less than 2
hi..All,
I access asp.net web service..! My web service name
is https://192.168.1.2/Sample/service.asmx;
But it will show the following Exception
javax.net.ssl.SSLException: Not trusted server
certificate
This is my code
Not sure if anyone has seen it, but this tutorial that I picked up
awhile back has some pretty helpful hits on using Proguard with
Android:
http://www.androidengineer.com/2010/07/optimizing-obfuscating-and-shrinking.html
On Sep 25, 9:45 am, JP joachim.pfeif...@gmail.com wrote:
Integration in
It turns out the solution to this problem is that developers need to
register for an API key for Google's backup transport, which can be
done here http://developer.android.com/guide/topics/data/
backup.html#BackupKey.
The JavaDocs for implementing a BackupManager http://
All I want to do is get the scroll view which contains a table to display
below the text box. Right now, it displays over top of it. If I move the
ScrollView below the RelativeLayout, then it doesn't show up at all! What
do I need to do? I am really starting to think this whole layout idea is a
I've found Ant to be hideously painful in the past...
I ultimately figured out a solution: call ant -v release to cause Ant
to print out exactly what it is doing during a normal project build.
The secret to building a project that relies on library projects
involves calling aapt multiple times
I didn't get an email like that - what did it say?
On Sep 25, 10:19 am, mot12 martin.hu...@gmail.com wrote:
Can't say because I signed the NDA :). Looked legit to me but read the
fine print; more restrictive than Android market.
Martin
mobitobi
Gentle Alarm, Sleep Now
--
You received this
On 22 Sep., 01:51, Peter Carpenter
peter.carpen...@skytechnologies.com wrote:
ApcEditText editText;
...
public DataViewController(Context context, TableComponent tc)
Just a question: What is ApcEditText and TableComponent?
I do not have these classes in my Android Standard
Upgrading from 0.9.7 to 0.9.8+ requires the following migration when
using libraries:
http://developer.android.com/guide/developing/eclipse-adt.html#libraryMigrating
Xav
On Sat, Sep 25, 2010 at 9:47 AM, Craigo craig...@gmail.com wrote:
I upgraded from 0.9.7 to 0.9.9 (took about 15 mins in d/l).
What you are doing is fundamentally not going to work. The gallery app is
implemented to sit on top of a content provider (that is the content: URIs);
it is not implemented to sit on top of a file system (that is a file: URI).
If you stick a file: URI down into it, it will try to do things with
i've got an app (.apk) file that i want to host on
my site.
whenever i click on page link to the .apk file,
i get the binary code listed as ascii.
- the app does not download.
i added
AddType application/apk .apk
to the .htaccess file - tomcat server
help.
--
You received this message
On Sat, Sep 25, 2010 at 3:11 AM, Mark Carter mjc1...@googlemail.com wrote:
Is there any way to avoid this?
Don't post it delayed? It's probably happening if a user clicks your app to
open it, then decides it was a mistake and tries to exit immediately after,
so the Activity is exiting by the
Yeah, I was trying to remember why I posted it delayed - and I think its
because I was having the problem without the delay.
I suppose, even if the post is not delayed, the user might still back out
before the openOptionsMenu gets to the front of the queue.
Thanks - yeah, maybe use isFinishing()
On Sat, Sep 25, 2010 at 5:30 AM, sblantipodi
perini.dav...@dpsoftware.orgwrote:
Excellent, so am I authorized to send email to that email address to
communicate something like free updates or news about the software?
Authorized? I have no idea, but it's in your checkout account so you can
do
isFinishing() is not what you want, that tells you if you have called
finish(). The activity can be destroyed for other reasons, such as a
configuration change. Just implement onStop() to set a flag to say not to
open the menu.
On Sat, Sep 25, 2010 at 3:11 PM, Mark Carter mjc1...@googlemail.com
I don't know much about Tomcat, but did you reload your server after
changing the file, and are you sure it's using the .htaccess file?
Sincerely,
Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.com
Try
AddType application/vnd.android.package-archive .apk
--
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,
Having a problem with an image adapter. What I am trying to do is
get a list
of all the installed apps on my phone, display their icons and name,
all in a grid
with 4 columns.
On first look all seems well but I see duplicates in apparently
random locations
and when I scroll back to
Anyone live within about 50 miles of Orlando? Is it every developer
for himself, or does anyone ever have a get together?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
We have been getting reports of audio recording not working on Samsung
Moment phones on 2.1-update1.
int bufferSize = AudioRecord.getMinBufferSize(sampleRate,
AudioFormat.CHANNEL_IN_MONO,
AudioFormat.ENCODING_PCM_16BIT);
this.audioRecord = new
What kind of impact do you guys think this will have on the smaller,
alternative Android Markets? Is it a killer? Amazon has a global payment
system, so it will reach most countries.
Personally, I'd use Amazon over AndroidMarket, if the rating and comment
system was any where near the quality
That does help. So you are seeing dropped characters, but at least it
is consistent
Between phones.
Did you work around the dropped characters or pretty much have to live
with it?
Nathan
On Sep 24, 6:52 pm, Howard M. Harte hhar...@gmail.com wrote:
Hello Nathan,
I just released
You need to make some changes to getView. Move the code to set values within
the views after the if convertView statement.
What's happening is, the views get recycled and reused for a different item,
but you don't set any values in that code path.
--
Kostya Vasilyev --
Thank you so much. After looking at this again it was painfully
obvious
where my mistake was. Thanks again, it works.
Kent
On Sep 25, 9:17 pm, Kostya Vasilyev kmans...@gmail.com wrote:
You need to make some changes to getView. Move the code to set values within
the views after the if
Ya, been trying to disable that button, but not having much luck
Currently got this far, but I can still button mash and get multiple alert
dialogs showing up.
So frustrating.
gps_init_alt_bld = *new* AlertDialog.Builder(*this*);
gps_init_alt_bld.setMessage(GPS Not Initialized Yet.)
For reference I am working on a SIM and I can actually see the dam button
grey out, just keep getting multiple alertdialogs if I button mash. If I go
at a normal pace everything works perfect.
On Sun, Sep 26, 2010 at 12:38 AM, Lucas Boucher lbouche...@gmail.comwrote:
Ya, been trying to disable
I did this without having to do anything special with Tomcat. Just
stuck the apk in my web content dir. My Android phone downloaded the
file as normal, then I clicked on it, and it let me install it.
On Sep 25, 4:16 pm, dashman erjdri...@gmail.com wrote:
i've got an app (.apk) file that i
Also note, There is a difference when this bug happens.
So when doing this normally you see the alert dialog fully fade away.
When the bug happens it looks like it starts to fade for a brief instant
then comes back fully.
Not sure what I am actually seeing here.
Ugg, about to say the heck with
Try having a boolean in your onClick callback class (the anonymous inner
one), and check/set its value before taking action.
--
Kostya Vasilyev -- http://kmansoft.wordpress.com
26.09.2010 9:31 пользователь Lucas Boucher lbouche...@gmail.com написал:
Also note, There is a difference when this
84 matches
Mail list logo