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 "
droid:normalScreens="true"
> android:largeScreens="true"
> android:anyDensity="true" />
>
> -- Kostya
>
> 22.03.2011 13:01, CaryWang пишет:
>
>> DisplayMetrics dm = new DisplayMetrics();
>> dm=getResources().getDisplayMetrics();
>> int width=dm.
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 th
No,Database is error,but can query select data.My program is implements
onUpgrade method
2011/3/11 Uniser
> May be you have not the file:///data/data//databases/abc
> or your db's version is not 1and your class have not implementation
> onUpgrade
>
> --
> You received this message because you
this database is my app create.but every time open database is error
2011/3/11 lbendlin
> Are you actually copying the database from the package into the data
> area before you try this?
>
> On Mar 11, 4:21 am, CaryWang wrote:
> > My code open DataBase is Error
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(); /
t; testexpe...@googlemail.com> wrote:
>
>>
>> What is your error?
>>
>> Greetings from lucerne,
>> Stephan
>>
>> On 5 Jan., 00:20, CaryWang wrote:
>> > I try webview show map,but is error.
>> >
>> > public void onCreate(Bundle s
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() {
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
> On Mon, Dec 27, 2010 at 2:33 AM, CaryWang wrote:
>
>> I want use webView load html.however, shows only the s
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 and
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 a
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 lo
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 gr
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
> On Tue, Aug 24, 2010 at 3:17 AM, CaryWang wrote:
> > I have a application I write android:sharedUserId="android.uid.
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
android.uid
" 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 ?
>>
&g
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 t
I want suit different screen,I don't now how to do?
2010/8/22 Paul Turchenko
> Set fillEnabled and fillAtfer properies of your aimation
>
> On Aug 21, 2:28 pm, CaryWang wrote:
> > I use translate move image from top to bottom,but translate finish image
> > jump t
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 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 pos
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 us
with Thread.sleep(60*1000), it won't show up
> until a minute later, after the sleep returns.
>
> 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 thi
n your Toast.
>
> Have a look at this page:
> http://developer.android.com/guide/topics/ui/notifiers/toasts.html
>
>
> Regards
> Sarwar Erfan
>
>
> On Aug 11, 3:50 pm, CaryWang wrote:
> > I run service in the background I want to use Toast.makeText display
&
NO,getApplicationContext() is Service Context don't Activity Context.
2010/8/11 { Devdroid }
> On 11 August 2010 11:50, CaryWang wrote:
> > I run service in the background I want to use Toast.makeText display
> message
> > to run Activity.but I don't know Acti
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" gr
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 wrote:
> > I have
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 andr
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
rday. You need to export classes in the Java Build Path section
> of the project settings.
>
> On Aug 4, 9:24 pm, CaryWang wrote:
> > I want use JUnit test my project,but sometime test
> > error(java.lang.IllegalAccessError: cross-loader access from pre-verified
> > class).Be
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 "Androi
30 matches
Mail list logo