Does anyone know if there is any money to be made in Android
Advertising inside an app?
1. Is anyone making any money?
2. If so how much and what is your average downloads per day from the
Market?
3. Is AppMobile the best choice?
Thanks
--
You received this message because you are subscribed
I actually resolved this issue.
I was nothing to do with the TimerTask!
On Jan 11, 11:43 pm, jax wrote:
> I am having TimerTask Thread problems. Basically I am running a
> TimerTask to update a clock timer I have created. When the user gets
> an answer correct a small animation
I am having TimerTask Thread problems. Basically I am running a
TimerTask to update a clock timer I have created. When the user gets
an answer correct a small animation will play and the screen will be
idle for about 5 seconds, then it will resume with the next question.
The problem is that when
Solved it: use
PackageInfo pinfo = getPackageManager().getPackageInfo
(this.getPackageName(), 0);
String versionName = pinfo.versionName;
On Jan 10, 5:14 pm, jax wrote:
> How to I get the version name from the Manifest, I tried the following
> but I get a Null Pointer Exc
How to I get the version name from the Manifest, I tried the following
but I get a Null Pointer Exception.
//Set the version
PackageInfo info = new PackageInfo();
TextView versionTextView = (TextView)
findViewById(R.id.version);
ver
What I mean is that I just want to start reading from the start of the
Stream again, not request the whole http page again.
so basically - read a little of the stream and do some tests I have
created
then send the stream to another function where I need the entire
stream from the beginning
On
I am getting the input of a webpage using
InputStream in = httpConnection.getInputStream();
I then use the XmlPullParser to check if an error has occurred.
If no error has occurred, I then want to reset the InputStream back to
the beginning so that I can parse it through another function I have
I have disabled a text field but the soft keyboard still allows me to
enter text.
how do I stop this?
--
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 f
I need to use Base64.decodeBase64 in my application, I had to download
and include it myself into my project from apache commons.
Why is this not included in the default Android base system? Are
there some weird licensing issues with this function or is it hidden
somewhere else under a different
I need to restart my application in response to a particular event.
How do I do this? I need to do a full restart, ie. kill the process
and start it again.
thanks
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, sen
Yes that worked
I used:
timeLimitPreference = getPreferenceScreen().findPreference
("time_limit");
to get hold of the preference and then:
timeLimitPreference.setOnPreferenceChangeListener
to to validate the preference returning false if it was no successful
and thus canceling the change.
che
I have an XML file called user_preferences that contains my
preferences for my application.
How do I get hold of the different preference Views so that I can
validate them?
Currently I have the code below which is not working because
getSharedPreferences does not return a View.
@Overri
wave:
> fred.gr...@googlewave.com |
> gmail:fred.gr...@gmail.com
>
> On Nov 23, 9:23 am, David Given wrote:
>
> > -----BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA1
>
> > jax wrote:
>
> > [...]
>
> > > How would I go about generating the hash co
download a .jar or something and ship it with my app?
On Dec 6, 10:42 am, jax wrote:
> I may have has some progress.
>
> From the online documentation I cannot see the class
> java.beans.ExceptionListener
>
> In the code ExceptionListener is called:
>
> listener
ot;Error: throwing
UndeclaredThrowableException");
throw new UndeclaredThrowableException(e);
}
};
Is there some sort of Android equivalent I could use?
On Dec 6, 9:35 am, jax wrote:
> I am using a program I downloaded called TrueLicense. So far I have
> got
I found out how:
bouncycastle.org
On Dec 5, 8:18 pm, jax wrote:
> I have discovered that JKS is not supported by android.
>
> How do I create a BKS keystore?
>
> On Dec 5, 5:55 pm, jax wrote:
>
> > I am trying to create certificates for users for my program
>
>
I am using a program I downloaded called TrueLicense. So far I have
got everything working. I am now trying to install a license file but
am getting the following errors. Does anyone know what this means?
12-06 09:17:49.588: INFO/dalvikvm(2637): Failed resolving Lde/
schlichtherle/xml/Persiste
OK thanks
On Dec 6, 1:56 am, "Mark Murphy" wrote:
> > I have a library that takes a File object as a parameter to one of the
> > functions.
>
> > I am getting the file like this:
>
> > this.openFileOutput("myFile", MODE_PRIVATE)
>
> > I need to load this file from the system, however, I don't k
I have a library that takes a File object as a parameter to one of the
functions.
I am getting the file like this:
this.openFileOutput("myFile", MODE_PRIVATE)
I need to load this file from the system, however, I don't know how to
convert FileOutputStream to File. Or is there another way of doin
I have discovered that JKS is not supported by android.
How do I create a BKS keystore?
On Dec 5, 5:55 pm, jax wrote:
> I am trying to create certificates for users for my program
>
> I am have created a keystore and included the publickeystore.store
> with my application i
I am trying to create certificates for users for my program
I am have created a keystore and included the publickeystore.store
with my application in the assets folder. I created all the
certificates using the keytool program from JAVA.
When I try to authenticate the certificate I get the follow
Hi Mark
Got it working.
I actually copied the parts I wanted into my own personal project
called myAndroidLibraries. It works a treat. However, this will
obviously eliminate any updates made by the author, is this a good
idea? I could have just deleted the Wizard package from the CSV
project an
Hi Mark
I just commented out the Swing import into the suspect class and the
only package that is broken is de.schlichtherle.wizard. This is the
exact package that I don't need. Should I just delete this package?
On Dec 5, 5:06 pm, "Mark Murphy" wrote:
> > Well the part of the project I need
Oh...actually I just saw a Swing reference.
So this means that I will need to delete all swing references right.
On Dec 5, 5:01 pm, jax wrote:
> Hi
>
> Well the part of the project I need actually has no references to
> Swing.
>
> The project looks like this
>
>
Hi
Well the part of the project I need actually has no references to
Swing.
The project looks like this
de.schlichtherle.license
de.schlichtherle.ftp
de.schlichtherle.wizard
All the swing parts are in the wizard section. I don't want anything
from this package at all so can simple remove it.
Hi
I am having a little trouble using some external source files. I am
new to eclipse and the methods used to import external source files.
Basically this is what I have done.
Downloaded the source files for a java project called "TrueLicense"
via CVS.
Imported this library by going to "Project
> > }
>
> > String srvcName = Context.TELEPHONY_SERVICE;
> > TelephonyManager telephonyManager =
> > (TelephonyManager)getSystemService(srvcName);
>
> > /* requires READ_PHONE_STATE permission */
> > String deviceId = telephonyMan
it back to the phone. You can then mark
> the "Request for serial number code" as used so that they can not use
> it for another device. This is the method I use for my
> applications.
>
> On Nov 14, 8:39 am,jax wrote:
>
> > Yes, that is why I have posted the ques
What would I use to: Encrypt a string in PHP and Decrypt that string
from Android? What methods are supported by both and which is the
most secure?
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to androi
1. Will/do all android phones use the gmail account sign-up system?
Is this a permanent thing or will it change in the future?
2. How do you return the users gmail account that they use to sign up
to android with.
--
You received this message because you are subscribed to the Google
Groups "And
Hi thanks that.
The issue is that the "Bundle" object only gets passed to onCreate()
and onSaveInstanceState()
Do I have to get this manually somehow?
On Nov 20, 2:15 am, "vendor.net" wrote:
> How do you store that variable?
>
> On 19 Ноем, 17:18, jax wrote:
>
I need to store a variable that contains my application state
"restoredClockTime"
I do this in onSaveInstanceState and onRestoreInstanceState and it
works when I flip the screen on the G1.
The problem is when I press the Home button and then re-enter the
activity it does not work.
why is this?
OK, I did it by extending SimpleAdapter.
cheers
On Nov 19, 6:59 pm, jax wrote:
> What is the best way to do this?
>
> Extend the ListView...or the adapter?
>
> Or is there are more efficient way?
>
> On Nov 19, 3:07 am, jeffro wrote:
>
> > You need to implement
What is the best way to do this?
Extend the ListView...or the adapter?
Or is there are more efficient way?
On Nov 19, 3:07 am, jeffro wrote:
> You need to implement the Adapter method to pass the id value you
> want:
>
> public long getItemId(int index) {}
>
> On Nov 18, 7
How do you set the Id attribute for a SimpleAdapter so that when you
run
onItemClick(AdapterView parent, View view,int position, long id)
I will be able to get the id?
The data is coming from an XML file.
--
You received this message because you are subscribed to the Google
Groups "Android Dev
I have downloaded and parsed an XML file. The file contained and "id"
and "name". I want the "name" to be visible in a ListView but the id
to be hidden. I am having trouble getting this working and have been
experimenting with ArrayAdapters and SimpleAdapters. Below is what I
have so far.
Yes, that is why I have posted the question because I don't know how
to do it.
Has anyone done this before or know of a method for achieving this?
On Nov 14, 10:23 pm, Andrei wrote:
> What u want to do is to tie your app to one device
> How u do it up to u
>
> On Nov 14, 7:
I am wondering how I might go about securing a paid app on Android.
I am thinking of selling the application from my own website via
PayPal, however, how will I stop people from sharing it with their
friends etc. Does Android have any type of native support for this?
--
You received this messag
53 pm, jax wrote:
> Thanks, I will check it out
>
> On Nov 4, 9:19 pm, Mark Murphy wrote:
>
> > jax wrote:
> > > Thanks it worked, I changed it to
>
> > > if(!item.contains("100%")) {
> > > tv.setTextColor
Thanks, I will check it out
On Nov 4, 9:19 pm, Mark Murphy wrote:
> jax wrote:
> > Thanks it worked, I changed it to
>
> > if(!item.contains("100%")) {
> > tv.setTextColor(Color.RED);
> >
Do you know any sites that explain about recycling views?
On Nov 4, 8:45 pm, Mark Murphy wrote:
> jax wrote:
> > I have subclassed ArrayAdapter to set the color of text to RED if the
> > string does not contain 100%, this has been added to a ListView. The
> > problem is th
I have subclassed ArrayAdapter to set the color of text to RED if the
string does not contain 100%, this has been added to a ListView. The
problem is that some of the rows show as red when they contain 100%.
Why would this happen?
/*
* Subclass of ArrayAdapter to change the colo
Thanks, it worked
On Nov 1, 7:58 pm, "Dexter's Brain" wrote:
> I think.
>
> In your getView() method, don't cast it to ListView, remove that and I
> guess, I will work.
>
> Dexter.
>
> http://tech-droid.blogspot.com
--
You received this message because you are subscribed to the Google
Groups
yes thanks
On Nov 1, 4:26 pm, li jiecong wrote:
> Hi, please give me an invitation, thx!
>
> 2009/11/1 Auguste Lunang
>
> > Hi,
> > i have some google wave. invits to share. tell me if u want ..
> > thx
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "A
}
On Nov 1, 5:05 pm, jax wrote:
> Here is the output from logcat as I scroll down
>
> 11-01 17:04:08.979: ERROR/StatsDisplay(1355):
> android.widget.textv...@4381ade8 is not a valid ListView!
> 11-01 17:04:08.999: DEBUG/AndroidRuntime(1355): Shutting down VM
> 11-01 17:04:0
pet or the stack trace would help us figure out the
> problem
>
> Dexter
>
> http://tech-droid.blogspot.com
>
> On Nov 1, 12:46 pm, jax wrote:
>
> > I have an ArrayList connected to a ListView with an onclick event that
> > loads some extra info about each list it
I have an ArrayList connected to a ListView with an onclick event that
loads some extra info about each list item.
When the list fits inside the screen (no scrolling) it works fine,
however, when the list becomes long enought that I need to scroll I
get the "Force Close" message.
why is this?
--
I have set my emulator to use US English.
When I run Locale.getDefault()
There is no country code!
The language code is set to "en_us"
When I set a varaible "audioLocale" using
audioLocale= Locale.US
The country code is "US"
The language code is "en"
When I run
mTts.isLanguageAvailable(audio
my mistake
forgot to run super on the methods in the second game when overriding.
On Oct 31, 2:15 pm, jax wrote:
> I have a superclass called Game. I have two subclasses of this class
> Game1 and Game2 .
>
> Inside the superclass "Game" there is a Skip button. This but
I have a superclass called Game. I have two subclasses of this class
Game1 and Game2 .
Inside the superclass "Game" there is a Skip button. This button is
in both Game1 and Game2 as they both use this button. Inside Game I
have initialized it using
mSkipButton = (Button)findViewById(R.id.skip_
ur idea.
>
> Use access mutex, message to user, or threads.
>
> On 29 Paź, 15:52, jax wrote:
>
> > I have a ListView with a setOnItemClickListener. I am trying to
> > prevent the user from pressing an item repeatedly but can't seem to
I have a ListView with a setOnItemClickListener. I am trying to
prevent the user from pressing an item repeatedly but can't seem to
get it to work. I have tried the following.
mAvailableOptionsListView.setClickable(false);
mAvailab
ok, I used invalidateViews() and it seemed to work. This will
invalidate all views. Is it better to use a Rect in this case or does
it not really matter?
On Oct 28, 11:25 pm, jax wrote:
> ok fixed that, I used this:
>
> mAvailableOptionsListView.getChildAt(correctPosition).set
somehow?
On Oct 28, 10:54 pm, jax wrote:
> Hi
>
> I am trying to update a ListView with the following:
>
> TextView listItem= (TextView)mAvailableOptionsListView.getAdapter
> ().getView(1, null, null);
>
> listItem.setText("test");
>
> The p
Hi
I am trying to update a ListView with the following:
TextView listItem= (TextView)mAvailableOptionsListView.getAdapter
().getView(1, null, null);
listItem.setText("test");
The problem is that it does not update in the
mAvailableOptionsListView ListView. Why is that?
--~--~-~--~---
I finally fixed this problem
I needed to run a requery() on the cursor
cursor.requery();
myAdapter.notifyDataSetChanged();
On Oct 15, 10:05 am, jax wrote:
> I have a CursorAdapter attached to a ListView, the ListView contains
> checkboxes for every row.
>
> When I check/unchec
no that did not work
On Oct 15, 5:46 pm, "odd.isometry" wrote:
> Maybe, it will be useful to override methods onPause() & onResume()
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To pos
I have a CursorAdapter attached to a ListView, the ListView contains
checkboxes for every row.
When I check/uncheck a checkbox in a row it will update it to a 0 or 1
in the database (This is working fine)
I also have another checkbox in the same Activity that when pressed
will disable all the ch
58 matches
Mail list logo