and it shows up as 0
byte!
The 4k I think is for some data stored by the calculator like the last
result to be re-shown on application start.
--
http://www.deepdroid.com
On Apr 15, 4:12 pm, droozen droozenr...@gmail.com wrote:
So I wrote my own calculator app because I wanted to have
So I wrote my own calculator app because I wanted to have some
different functionality than the calculator that comes with the phone.
Now, I notice the calculator that came with the phone, when looking
through the Manage Applications, only shows as being 4kb in size. My
calculator ends up being
For those of you who have had a chance to look at the new SDK on the
emulator, I was wondering:
Does the onscreen keyboard pop-up automatically when the user enters a
text field? Or is that something we'll have to add in our code to
enable?
Does an onscreen numpad pop-up when entering a
Thanks!
On Apr 14, 3:06 pm, Dianne Hackborn hack...@android.com wrote:
On Tue, Apr 14, 2009 at 12:58 PM, droozen droozenr...@gmail.com wrote:
Does the onscreen keyboard pop-up automatically when the user enters a
text field? Or is that something we'll have to add in our code to
enable
So, I made a mistake and I still had the debug version of my app (from
Eclipse) on my phone when I tried to install a signed version. The
install failed, but I could no longer access the debug version in
Manage Applications to uninstall it. I was at work and couldn't
reinstall the debug version
on a reboot.
I'm not doing anything different that I can tell, but maybe there's
some known problem that can caused shared preferences to crash and
disappear like this?
On Apr 10, 8:35 am, droozen droozenr...@gmail.com wrote:
So, I made a mistake and I still had the debug version of my app (from
Eclipse
and whatnot, but I'm just trying to test to see if
it can work so i can make the intent available from my app)
On Apr 8, 9:07 pm, Birjodh Tiwana tiwana.birj...@gmail.com wrote:
So did the second way work for you?
On Wed, Apr 8, 2009 at 12:24 PM, droozen droozenr...@gmail.com wrote:
Sorry. The second
.
On Apr 9, 11:59 am, droozen droozenr...@gmail.com wrote:
No, when I try to call the intent with startActivity I get a Force
Close error, whether I try:
Intent intent = new Intent();
intent.setAction(intent.action.VOLUME_CONTROL);
startActivity(intent);
or
Intent intent = new Intent
I want to expose a portion of my app with an intent that will only
display a simple dialog box for system setting. The only way I
currently know how to do this is to have an activity that accepts an
intent. In the activity I don't use setContentView. I only create and
show the dialog. The
Works perfectly. Thanks!
On Apr 9, 2:53 pm, Dianne Hackborn hack...@android.com wrote:
Use Theme.Dialog for your activity's theme, and just put your dialog
contents inside of it instead of in a separate Dialog window.
On Thu, Apr 9, 2009 at 12:41 PM, droozen droozenr...@gmail.com wrote:
I
Sorry. The second way I tried to start the intent was:
Intent intent = new Intent(intent.action.VOLUME_CONTROL);
startActivity(intent);
(without the com.roozen in front)
On Apr 8, 11:12 am, droozen droozenr...@gmail.com wrote:
Maybe this belongs in the beginners group, but I'm trying to make
For this kind of operation, using a SharedPreferences object might be
a little easier, less dirty, and take less space for you.
On Apr 8, 9:52 am, Manfred manfred.fettin...@gmail.com wrote:
I write now in a file if the user wants autostart, at booting the file
is read and i finish activity if
So, I have a ScrollView with a single TextView inside it. Upon initial
startup I set the text of the text view to an internally stored string
and try:
ScrollView myScroll = (ScrollView) findViewById(R.id.my_scroll_id);
myScroll.fullScroll(ScrollView.FOCUS_DOWN);
No scrolling happens. (The
/databases/database name if i
remember rightly.
On Apr 2, 9:23 pm, droozen droozenr...@gmail.com wrote:
So I've come to a need to backup data in my application, so a user can
safely restore the important data. I had an idea about how to go about
this, but relatively it's a lot of work just
You're missing a at the end of the LinearLayout declaration.
However, I've noticed the same error, where eclipse wouldn't recognize
a layout file as such (so that I could get a preview of it), but when
I ran it in the emulator, it ran fine and the layout displayed fine
(so I assume no error in
Preference.onPreferenceClickListener()?
On Apr 3, 3:20 pm, chris christ.pe...@gmail.com wrote:
Hi
I'm using a PreferenceActivity with a PreferenceScreen defined in a
xml file.
i want to make sure that the data set on a preference editor are valid
(integer , integer in a range)
So , i
So I've come to a need to backup data in my application, so a user can
safely restore the important data. I had an idea about how to go about
this, but relatively it's a lot of work just to test if it would work,
so it'd be nice to get a thumbs up or thumbs down to my plan from
someone who has
Would you post your xml for your layout? If the children of a view are
using the android:layout_height or android:layout_width property, for
example, in a way that is tied to the parent (such as,
android:layout_height=fill_parent) then I imagine changing the size
of the parent should, as defined
I take it, then, that you are not an iPhone developer.
Not sure which way I would go on this one. If your friend already has
some iPhone experience, I assume he already has an iPhone developer
account which you'll want to use. In which case it might be better to
set up a contract where he uses
I'm guessing you are working off some old data.
See this page: http://developer.android.com/guide/publishing/publishing.html
The intent should be a Uri something like market://search?q=pname:package
or market://search?q=pub:Developer Name to see all your apps.
On Mar 29, 3:45 pm, Michael
I just wanted to run a ProgressBar test, as it's my first time using
them on the Android. Here's my XML (in a Linear Layout):
ProgressBar android:id=@+id/progress
android:layout_width=fill_parent
android:layout_height=25dip
android:indeterminate=false
We might have to know why you want to build this way. There could be
other possibilities, including using a much simpler xml that you could
parse yourself and add UI elements programmatically. Or have a variety
of layouts available that you could set, depending on a value you've
downloaded,
Short Answer: I don't think you can
Longer Answer: ListActivity, as described in the javadocs:
ListActivity hosts a ListView object that can be bound to different
data sources. -- Note the singular a, as in one
Screen Layout
ListActivity has a default layout that consists of a single, full-
They're probably saving your name on their webserver somewhere, and
perhaps using your phone number to identify the phone and display that
name.
On Mar 22, 9:06 pm, wanzi ! wanzihe...@gmail.com wrote:
Is anybody download the PaPi games from market and played it?
I found when I played one of
That worked, thanks.
On Mar 23, 12:27 pm, Marco Nelissen marc...@android.com wrote:
Try adding this to your xml:
style=?android:attr/progressBarStyleHorizontal
On Mon, Mar 23, 2009 at 9:50 AM, droozen droozenr...@gmail.com wrote:
I just wanted to run a ProgressBar test, as it's my first
Ah, I see. I guess I assumed he was using a ListActivity, the way he
was describing it. How else would you access the OnListItemClicked or
a similar such capture to be able to manipulate both lists outside of
a ListActivity?
And it's a bit off topic, but yes, a ListView handles scrolling, which
Have you tried following the Notepad tutorial and this line in your
onCreate method?
registerForContextMenu(getListView());
On Mar 23, 1:31 pm, Matthias m.kaepp...@googlemail.com wrote:
Hi,
I have been struggling for over two hours now getting a custom
ListActivity to respond to
I'd like to allow the user to choose a Ringtone from my application,
that I will play later for an alarm. Looking at the javadocs, I see
EXTRA_RINGTONE_DEFAULT_URI in RingtoneManager, and extra that, it
says, is Given to the ringtone picker as a Uri. There is also an
EXTRA_RINGTONE_PICKED_URI
So I've set up my app to have a repeating alarm, daily, as the user
decides, using AlarmManager. I want the user to select a ringtone for
it. This works fine, too. I store the string of the Uri they selected
in a preference to pull it back when my alarm gets run. To pull it
back, I do this:
You want to have two applications in your application? Why not make
the other application a separate application?
I'm not sure if the xml would let you and all that, but I why would
you want to?
On Mar 12, 11:49 am, sandy8531 mathur...@gmail.com wrote:
Is it possible to have two application
Not sure if this is your problem, but I do notice you commented out
the super.onActivityResult function in your onActivityResult function.
I don't know all of what the parent method for that function does, but
it's pretty good practice to always call the super method first when
you override a
So, I was trying to create my own ContentProvider. I want a recurring
notification (say, once a day) so I discovered that I should be able
to do this by setting a repeating alarm that my BroadcastReceiver
class can pick up. Because it's going to perform some calcs, it
immediately starts a
provider can't be instantiated.
On Fri, Mar 6, 2009 at 5:51 AM, droozen droozenr...@gmail.com wrote:
So, I was trying to create my own ContentProvider. I want a recurring
notification (say, once a day) so I discovered that I should be able
to do this by setting a repeating alarm that my
, 2009 at 10:25 AM, droozen droozenr...@gmail.com wrote:
Hence the InstantiationException. I get that. But WHY can't it be
instantiated or, the real kicker, how can I get it to work? From what
I can tell, and from what I keep reading in everything I can find on
ContentProviders, everything
and combining them
in to one string.
On Wed, Mar 4, 2009 at 3:07 PM, droozen droozenr...@gmail.com wrote:
Okay, I see, but I guess I didn't explain my entire issue. I don't
know a whole lot about working with the SQLite databases, so right now
I'm able to do what was done in the Notepad tutorial
. :S
On Mar 3, 12:30 pm, Marco Nelissen marc...@android.com wrote:
On Tue, Mar 3, 2009 at 6:26 AM, droozen droozenr...@gmail.com wrote:
So, we're supposed to be using our strings.xml to construct most or
all of our strings, right? I had a situation where I wanted to display
to the user
So, we're supposed to be using our strings.xml to construct most or
all of our strings, right? I had a situation where I wanted to display
to the user Some string blah blah + some value. So I put two views
in a horizontal LinearLayout, with my Some string blah blah (with
that space on the end,
37 matches
Mail list logo