Doing a little recycling, but I have found that I can produce the broken
pipe exception on a 1.6 Developer Phone (G1). Am connecting fine both http
& https. The problem occurs on the first connection after the phone was
brought back from "sleep". Redoing gets it working again. Does not
repr
One can debate the importance of TLSv1 being exploited, but HTTP Servers
like Jetty now let you turn off protocols. This leads me to question in
the subject. Asked another way, can all / any of the Android devices out
there do TLSv1.1 or TLSv1.2? My impression of an Android device is that it
aded impl to match. Everything works,
but I feel I should be adding this check before going to production.
Am I now looking closer to the right place?
On Oct 28, 4:30 pm, jcpalmer wrote:
> Noticed in the java.security.CodeSource java doc online that the class
> overview says:
> "Le
Noticed in the java.security.CodeSource java doc online that the class
overview says:
"Legacy security code; do not use. "
Has something changed? Is not in my aging disk version of the doc
(should upgrade but that is not the point)
--
You received this message because you are subscribed to the
It's been a while since I have been working on the Android part of my
product (in the final stretch!) Have a re-built system as of 02-11,
with a 64 bit JDK & also a 32 bit JRE to run Jetty in a service
wrapper.
C:\Program Files\Java>dir
Volume in drive C has no label.
Volume Serial Number is 48
I have made a custom widget, very similar to JTable in Swing. It is
not editable, and all data is replaced at once, allowing easy checking
for the widest item in each column & custom col sizing at replace
time. It is a subclass of LinearLayout, filled with re-usable
TableRow Objects, sub-classed
You might try setFillViewport(true), although I never got it to do
anything.
As an alternative, I would suggest always having the buttons at the
bottom, and only scrolling the rest of the view. It is not exactly
what you want, but at least you only need one of them. Something
like:
public clas
Looking at SQLiteDatabase's locking, better to bypass execSQL():
public int executeUpdate(String sql) throws SQLException {
lock();
try {
native_execSQL(sql);
return (int) lastChangeCount();
} catch (SQLiteDatabaseCorruptException e) {
onCorruption();
t
Alternatively, I would be satisfied if the java.sql.Statement method,
int executeUpdate(String sql) was implemented, keeping the above
methods package access.
public int executeUpdate(String sql) throws SQLException {
execSQL(sql);
return (int) lastChangeCount();
}
--~--~-~--~
I was wondering why the native lastChangeCount() & lastInsertRow()
methods of SQLiteDatabase are Package access? I have my own interface
as to what a database should do, that does not presume it is SQL
Based, e.g. MIDP's RecordStore.
For Android, I am reusing the class written for the javax.sql
If your program wants to directly know without the side-effect of
actually creating the table use something like:
public boolean doesTblExist(String tblName){
Cursor rs = null;
try{
rs = conn.rawQuery("SELECT * FROM " + tblName + " WHERE
1=0", null );
r
A cookie can be represented as a String. Wouldn't be easier to store
this String as a member of your Activity, and stored
onSaveInstanceState() ? Then get it back onCreate().
Simple is a relative term. Yes, it can absolutely be done with a
database, but not easier than above.
--~--~-~-
Chris,
Sub-Classing View is not going to work. You need to subclass
ViewGroup. There are many predefined already to choose from.
Here is a LinearLayout Example.
private class sampleViewGroup extends LinearLayout{
private final Button button1;
private final Button button2;
private fi
Filed issue regarding clearAllTabs()
http://code.google.com/p/android/issues/detail?id=2772
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-deve
Mark, thanks that worked!! For thread recycling, I will put the final
classes at the end.
Notes:
- You need to shift mTabContent down by setting margins. Used a
hard-coded 65. Could not find a Static for this value.
- Found a bug when I implemented my removeTab() method. You
cannot ju
I have a remove assistant app, which allows customers to perform a
subset of functions of a desktop application, untethered. Results are
communicated back & forth via messages left at a license server. In
order to have a single source for the logic of the assistant, yet run
on multiple platforms
16 matches
Mail list logo