I have two thread, one thread:HandlerThread, two thread:normal thread.
question:
two thread endless send message to handlerThread,but handlerThread is
quit.So I don't know what will happen.e.g:OutOfMemory
--
Cary
--
You received this message because you are subscribed to the Google
Groups
DisplayMetrics dm = new DisplayMetrics();
dm=getResources().getDisplayMetrics();
int width=dm.widthPixels
int height=dm.heightPixels
W shoud be 480 and H shoud be 854 But for me W is 320 and H is 536.What am I
doing wrong???
--
Cary
--
You received this message because you are subscribed to
android:largeScreens=true
android:anyDensity=true /
-- Kostya
22.03.2011 13:01, CaryWang пишет:
DisplayMetrics dm = new DisplayMetrics();
dm=getResources().getDisplayMetrics();
int width=dm.widthPixels
int height=dm.heightPixels
W shoud be 480 and H shoud be 854 But for me W is 320 and H is 536.What am
No,Database is error,but can query select data.My program is implements
onUpgrade method
2011/3/11 Uniser unise...@gmail.com
May be you have not the file:///data/data/package-name/databases/abc
or your db's version is not 1and your class have not implementation
onUpgrade
--
You received
My code open DataBase is Error .Error info Sqlite
register_localized_collators. Why?
My code:
public class DataBase extends SQLiteOpenHelper{
public DataBase(Context context) {
super(context, abc, null, 1);
}
public vod test(){
SQLiteDatabase db= getReadableDatabase();
this database is my app create.but every time open database is error
2011/3/11 lbendlin l...@bendlin.us
Are you actually copying the database from the package into the data
area before you try this?
On Mar 11, 4:21 am, CaryWang wangjf...@gmail.com wrote:
My code open DataBase is Error
I try webview show map,but is error.
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
startButton=(Button)findViewById(R.id.start);
startButton.setOnClickListener(new View.OnClickListener() {
:
What is your error?
Greetings from lucerne,
Stephan
On 5 Jan., 00:20, CaryWang wangjf...@gmail.com wrote:
I try webview show map,but is error.
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main
I want use webView load html.however, shows only the screen size of the
html, and other areas not show, a user can't drag it to other areas
--
Cary
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
I use webView load html page。I want show screen size of the html page,other
area html page not show.and user can't drag screent show other area.
2010/12/28 TreKing treking...@gmail.com
On Mon, Dec 27, 2010 at 2:33 AM, CaryWang wangjf...@gmail.com wrote:
I want use webView load html.however
My application update some jar files,I want runtime load jar files or any
idea?
--
Cary
--
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 a jar file in my app local data /data/data/application
packageName/test.jar. I want to load the class com.test.abc which
resides in my jar. I am using java.net.URLClassLoader to load the class. On
an non android environment the code works, on android it gives me this
exception can't load
I use DexClassLoader load my update class files is finish.I run update class
method print old method value don't update class method value.why?
--
Cary
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
I have a application I write android:sharedUserId=android.uid.system in
AndroidManifest.xml. I want to get system permission.I install to HTC mobile
phone.but install fail.error info :Package ... has no signatures that match
those in shared user android.uid.system. I application need
Do you have anyelse method?I want to know user opreation?e.g.when user run
application i know,exit application i know.
2010/8/24 Mark Murphy mmur...@commonsware.com
On Tue, Aug 24, 2010 at 3:17 AM, CaryWang wangjf...@gmail.com wrote:
I have a application I write android:sharedUserId
I want suit different screen,I don't now how to do?
2010/8/22 Paul Turchenko paul.turche...@gmail.com
Set fillEnabled and fillAtfer properies of your aimation
On Aug 21, 2:28 pm, CaryWang wangjf...@gmail.com wrote:
I use translate move image from top to bottom,but translate finish image
I use Animation Translate in my application,my mobile phone resolution rate
is 320*280,but In the 480*800 resolution rate don't support.I want ask I
should how to do ?
--
Cary
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to
% values in animation definitions (e.g. animate
-100% to 0% or some such).
-- Kostya
22.08.2010 19:23, CaryWang пишет:
I use Animation Translate in my application,my mobile phone resolution
rate is 320*280,but In the 480*800 resolution rate don't support.I want ask
I should how to do
I use translate move image from top to bottom,but translate finish image
jump to image initial position.I don't know why,I want move image from A to
B,finsih this image stay B.
--
Cary
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To
I want to know current Activity some information.for example activity name
or activity package info.I use getRecentTasks method get current Activity
info,but somebody tell me this method don't better,should use
ActivityManagerSrevice do it,but this method don't open.I want to know how
to do?Who
I want to know user operation info for example user run some app or close
app info.I want know android automatic notification my service.I don't know
how to do it?help me .
--
Cary
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post
in a
different way.
Register your activity to listen to a particular kind of broadcast
which the service would send with the message, and so whatever you
need to do.
-Kumar Bibek
http://techdroid.kbeanie.com
On Aug 11, 10:19 am, CaryWang wangjf...@gmail.com wrote:
I have Service,Sometimes
I run service in the background I want to use Toast.makeText display message
to run Activity.but I don't know Activity context I know Activity
packageName and className.What should I do?
--
Cary
--
You received this message because you are subscribed to the Google
Groups Android Developers
NO,getApplicationContext() is Service Context don't Activity Context.
2010/8/11 { Devdroid } webnet.andr...@gmail.com
On 11 August 2010 11:50, CaryWang wangjf...@gmail.com wrote:
I run service in the background I want to use Toast.makeText display
message
to run Activity.but I don't know
at this page:
http://developer.android.com/guide/topics/ui/notifiers/toasts.html
Regards
Sarwar Erfan
On Aug 11, 3:50 pm, CaryWang wangjf...@gmail.com wrote:
I run service in the background I want to use Toast.makeText display
message
to run Activity.but I don't know Activity context I know
.
By the way -- toast does not display IN an activity. It shows up IN
FRONT OF an activity. That is, the activity is not affected, the toast
is just in front of it briefly. In this case, the activity is not
really involved at all.
On Aug 11, 3:06 am, CaryWang wangjf...@gmail.com wrote:
I
I have Service,Sometimes current run Activity work in background I don't
want to know. I want to know current work interface Activity name?
--
Cary
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
I want to know which app is run in my service,I know the app name,I need
know app is run or not do something.
--
Cary
--
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
classes in the Java Build Path section
of the project settings.
On Aug 4, 9:24 pm, CaryWang wangjf...@gmail.com wrote:
I want use JUnit test my project,but sometime test
error(java.lang.IllegalAccessError: cross-loader access from pre-verified
class).Because my project import another java
I want use JUnit test my project,but sometime test
error(java.lang.IllegalAccessError: cross-loader access from pre-verified
class).Because my project import another java project.I don't know how to
do?
--
Cary
--
You received this message because you are subscribed to the Google
Groups
30 matches
Mail list logo