Sara Brown

Ranch Hand
+ Follow
since Feb 22, 2012
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
4
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Sara Brown

i need to have video call in my application and i am thinking of calling the skype application by using intent.

below is my code.


this is the code for androidManifest


this is the code for the layout


for this layout, i only put a single button and when it click, it will launch skype application thus i can make video call.

i tried this code as given above and it wont even launch the skype. is there any mistakes i make? thank you for the help
11 years ago
i need to make the application can retrieve and sent video using video streaming. but i just do not have any clue to make it.

what i understand, video streaming is something like when the user want to watch video from the server like youtube, etc. i also want to add on that the application can sent the video to the server using android application.

i am using android 2.2. is anyone willing to give me any keyword i should search for this tutorial or any tips i should know. this would be a great help.

thank you.
11 years ago
i am new to android 3.0 and i am having trouble with android 3.0 to make button listener.

this is my code


i even tried this
11 years ago
please, does anybody know how to do?
11 years ago
when composing new email, we notice there is a bar which we can edit the text format to make it bold, italic, size and other.

can i know how to do it? do we implement it in html? im using jsp.
11 years ago
JSP
however, when doing grid or image button the picture seems have border between each other? is there any other way?
11 years ago
im curios.

my project need user to mark any part of the picture that related to user's spec.
then it will send to server and the server can see the picture that been mark by the user.

im thinking of, can i use button instead of grid? this button will be put together and it will appears as the real picture.

is this option efficient?
11 years ago
main.xml



addListenerOnButton()





hantar()





the commandline in the hantar() is my tryout. suppose it should read the value user select which are high, medium or low. how do i retrieve the right value for the radio button. please. thanks.

p/s: also not sure whether my code are correct but it did print out the output thou.
11 years ago
is there another way? i found one of the solution it said that just configure the setting from error to warning. but that is only make the error invisible, not to access.

is there another way to use the mxbean, anyone?
11 years ago
assume performance with multithread


core 1
thread 1 = 5 sec

core 2
thread 1 = 3 sec
thread 2 = 2 sec


how to calculate the speedup of performance in percent?


i am really confused. what to take to calculate and how? please, thank you.

11 years ago
i use jre6 and it can access the sun.management.ManagementFactory and com.sun.management.OperatingSystemMXBean

but when im using se jre-7, it would not allowed. access restriction.

im trying download back the jre6 or do anything to make sure it can access but still it wont happen. is there anyway? please.. im really hoping i could use this MXBean
11 years ago
my cpu time and elapsed time(JVM) decrease when the number of thread increase.

however my physical memory will get higher when the number of thread increase.

why is that happen?
every data inserted in the excel for example will increase the cpu memory? although it is not a big number but it does increase the memory, isn't it? im just checking.

thank you.
11 years ago
Hi Jeff,

this is what i actually want to do
im going to make sorting to be parallel.
the array will be the number to be sort.
meanwhile the a value will be the position of the number. here i take the first element of the array will be the pivot.

in the doAction method it will sort the number. see the code below:



then when the (hi == lo) then it will pass to new thread and the lo will increase by one and it will start the sort right over again.

are you getting what im trying to say?thank you for help.
11 years ago
here's my code

mainClass.java


otherClass.java




why did when printing out output in mainClass it gives:
a: 0
array: 2,3,4


what i want it is to print out like this:
a: 7
array: 7,8,9...

is there anything i missed?
11 years ago