I'm not 100% sure but if my understanding of how Android Market works
is correct, what you may want to do is keep the same package (aka.
signature) for your paid app as the package that you had before, with
the comments and ratings, and make a *new* package for the free app.,
and the new free app
SimpleDateFormat is known to not be thread-safe, and it's instances
must be either unique to each thread or otherwise be synchronized.
happened to me a while back.
serge
On Mar 16, 7:15 pm, Torgny wrote:
> Yeah, the code is in its own thread. It's in a class that is
> instantiated in the threa
and to read it and log it:
int ib = Settings.System.getInt(getContentResolver(),
Settings.System.SCREEN_BRIGHTNESS,-1);
Log.d("SCREEN_BRIGHTNESS (0-255) {"+ib+"}");
On Mar 20, 6:53 pm, mark.ka...@gmail.com wrote:
> int bright = 50;
> Settings.System.putInt(ftaContext.getContentR
make that
Log.d("x...@#$% tag :-)","SCREEN_BRIGHTNESS (0-255) {"+ib+"}");
serge
On Mar 21, 10:40 am, sm1 wrote:
> and to read it and log it:
>
> int ib = Settings.System.getInt(getContentResolver(),
> Settings.System.SCREEN_BRIGHTNESS,
ot;new message with new info");
4.2. and you do this somewhere in your code:
showDialog(yourUniqueDialogId);
4.3. yourUniqueDialogId must be defined by you, usually as a static
field; must be an int.
5. Using an Activity that looks like a Dialog:
And you mana
excellent advice, thanks:
> So back to the whole issue of menu icons... if there are standard menu
> icons you want to use, I recommend just copying them out of the platform
> source and into your app, so you can make sure that the other icons you
> design remain consistent with them.
the old UI
On my phone, a dev phone, the bluetooth headset service is always
running even though bluetooth connectivity is disable in the Settings
app. Is this normal?
The ear speaker is not emitting any sound for maybe two weeks now,
even if the on-call sound level is at max (5), so I'm checking a few
thin
On my phone, a dev phone, the bluetooth headset service is always
running even though bluetooth connectivity is disable in the Settings
app. Is this normal?
The ear speaker is not emitting any sound for maybe two weeks now,
even if the on-call sound level is at max (5), so I'm checking a few
thin
androidlib does not list all apps when searching for a specific
developer.
serge
On Nov 2, 8:21 pm, Streets Of Boston wrote:
> www.androlib.comis still up.
>
> On Nov 2, 5:50 pm, dadical wrote:
>
>
>
> > I love, love, love that application, and have been missing it terribly
> > since it went of
It's still June 15. Here's what is in the documentation:
at
http://developer.android.com/reference/android/hardware/SensorManager.html#getOrientation(float[],
float[])
you'll find:
public static float[] getOrientation (float[] R, float[] values)
Computes the device's orientation based on the
The documentation for SystemClock will give you a nice summary of your
choices of current times with Android at
http://developer.android.com/reference/android/os/SystemClock.html
serge
On Jun 17, 7:15 pm, Delta Foxtrot wrote:
> 2009/6/18 Mark Murphy
>
> > Hrm. I assume the NTP API isn't somew
look at the documentation for SystemClock class:
http://developer.android.com/reference/android/os/SystemClock.html
it should tell you all you want to know.
serge
On Jun 19, 10:32 am, Michelle Silva wrote:
> Hi,
>
> i'd like to know how can i measure time to access an aplication in
> t
I wrote a special app for this. It's free. It's called *)s) Repeat
Vibrations*. In the Reference section. By simplecode.inc.
Make sure you test it thoroughly before using it in class or during
the evaluation. I wrote it today and i only tested it for an hour or
so.
Let us know how you did after
I moved it to the Productivity section.
serge
On Jun 23, 8:47 pm, sm1 wrote:
> I wrote a special app for this. It's free. It's called *)s) Repeat
> Vibrations*. In the Reference section. By simplecode.inc.
>
> Make sure you test it thoroughly before using it in class or d
maybe the easiest way to get the app: with your phone, open the Market
app and do a search on simplecode. you'll see the app in a short list
and select it and install it. The app name is *)s) Repeat Vibrations*,
without the stars/asterisks.
serge
--~--~-~--~~~---~--~---
In TelephonyManager in Network Operator Name:
TelephonyManager tm = (TelephonyManager) getSystemService
(Context.TELEPHONY_SERVICE)
tm.getNetworkOperatorName()
You may need to also define some permission in you manifest, maybe
READ_PHONE_STATE.
serge
On Jul 27, 5:27 pm, junker37 wrote:
> Is
There are a few such serial numbers in a G1. For example, using the
TelephonyManager you can obtain the SIM Serial Number and also the
Device ID.
Application {Device Internals for r1} will show you these, as well as
other data.
--~--~-~--~~~---~--~~
You received th
One of the things that google is now doing is that, since Feb 18 or
19, they are are not showing apps that are copy protected to Dev
Phones. From a dev phone you cannot see the copy protected apps on the
market.
serge
--~--~-~--~~~---~--~~
You received this message
In free app *Device Internals for r1*, I get the running services this
way:
StringBuffer getRunningServices(ActivityManager am){
StringBuffer buf = new StringBuffer();
buf.append("\n\nRunning Services:");
List list = null;
try{
list = am.getRunningServices(100);
}catch
You could use *Device Internals for r1* which is free in Tools, and
scroll to section *android.os.Build*, it will list you the fields and
values that you can obtain from this class and you can pick the one
that suits your requirements. You can also see other classes that give
you other similar val
ot;}");
buf.append("\nHOST {"+Build.HOST+"}");
buf.append("\nID {"+Build.ID+"}");
Log.d("build",buf);
serge
On Feb 27, 7:16 pm, mark.ka...@gmail.com wrote:
> I need to do it programmatically, but thanks.
>
>
BobG, these numbers seem a bit high to me.
Were they taken on an emulator or an ADP?
How many voltage samples per array are you using?
I usually use background threads for the calf's but usually the
drawing needs to be in the GUI/main thread.
)s) Serge
On Apr 21, 11:15 pm, BobG wrote:
> I hav
Thanks for the tip Richard.
I added SQLite version display in the two apps:
)s) Internals for Android 1.5+
)s) Internals for Android 1.6+
They show SQLite 3.6.22 on my 2.2 N1.
The info is about 1/4 down the text view.
Btw, I also tried to select sqlite_source_id() but this returned an
exce
got it. Thanks Mark.
On Jul 11, 12:38 pm, Mark Carter wrote:
> That function is only in SQLite 3.6.18+ (see link in my last comment), so
> will only work on 2.2+.
>
> On 11 July 2010 18:31, sm1 wrote:
>
>
>
> > Thanks for the tip Richard.
>
> > I added SQ
)s) Internals for Android 1.6+ version 2010.7.11b will now also
display the source_id when running on android v. 2.2+.
On my N1, it showed 2010-03-22 followed by a time and a long generated
unique id.
serge
On Jul 11, 1:44 pm, sm1 wrote:
> got it. Thanks Mark.
>
> On Jul 11, 12:38
I also moved the SQLite info upward a little in the text view for the
1.6+ app. It is now between sections Settings.Secure and
Configuration. This is at about 1/6 of the view.
On Jul 11, 2:28 pm, sm1 wrote:
> )s) Internals for Android 1.6+ version 2010.7.11b will now also
> displ
I have a similar problem: the library classes are not visible from the
main project.
The library R class is added to the main project gen directory.
But the directory for the library classes is not created in the main
project.
Using eclipse-java-galileo-SR2-win32 under Windows XP. Eclipse is set
27 matches
Mail list logo