1.till now web server were passive elements, whose concept was to deliver html pages to clients
which requested for it
2.But why restrict the functionality to this
3.fundamental features of a pc ,connectivity,storage,processing load ..what if all these were
delegated to the web(security apart) and a user(pc) becomes a dumb IO device
ie it will give inputs and show outputs .... after all that is what we want
except for cases where we use conversion devices ie DIGITAL to other(paper or digital clone(usb drive))
so basically it provides an account, with storage and newly a thread loop(connectivity implied)
what more can happen
dumb io cannot make meaning out of inputs and outputs .... so the thread loop will become intelligent and starts modifying the input(will ask specific type of input) and will display
specific outputs(after taking care of context and objective)
Thursday, September 2, 2010
Wednesday, September 1, 2010
app engine
1.a client/server application
that can sync data from my desktop to data hosting,or personal server
that on hot key sniffs bash uploads the commands to server on hotkey in xml,downloads on hot key to
reproduce the same
that can sync data from my desktop to data hosting,or personal server
that on hot key sniffs bash uploads the commands to server on hotkey in xml,downloads on hot key to
reproduce the same
google app engine
1.find a way to create basic google app engine
2.download y-playsms
http://code.google.com/p/ya-playsms/wiki/SmsHotlineHowTo
3.develop a small reminder application
2.download y-playsms
http://code.google.com/p/ya-playsms/wiki/SmsHotlineHowTo
3.develop a small reminder application
svn concepts
1.branches and tags
http://www.pushok.com/help/svnscc/index.php?redirect=adv_tagsbranches.htm
2.git apache
http://www.kernel.org/pub/software/scm/git/docs/howto/setup-git-server-over-http.txt
http://www.pushok.com/help/svnscc/index.php?redirect=adv_tagsbranches.htm
2.git apache
http://www.kernel.org/pub/software/scm/git/docs/howto/setup-git-server-over-http.txt
emulator and custom kernel
1.. build/envsetup.sh
2.lunch 1
3.emulator ..
4.if 1 & 2 are missing 3 will not execute proper
2.lunch 1
3.emulator ..
4.if 1 & 2 are missing 3 will not execute proper
RTSP more
1.m4e sample
http://www.live555.com/liveMedia/faq.html#m4e-file
2.sipdroid asterisk
http://depannone.com/wordpress/?tag=sipdroid
3.Google app engine can allow to edit and execute code in a remote machine
http://code.google.com/appengine/docs/java/overview.html
http://www.live555.com/liveMedia/faq.html#m4e-file
2.sipdroid asterisk
http://depannone.com/wordpress/?tag=sipdroid
3.Google app engine can allow to edit and execute code in a remote machine
http://code.google.com/appengine/docs/java/overview.html
procedure matrix
Activity
1.components
2.behaviour set
3.Others
component matrix * component matrix = 1 state set
this multiplication is iterative and non commutative
interesting feature is balance point
a balance point is a state within a sequence of iteration which can exist in the
same state for most time
matrix mul provide symbol chain,also in the background behavious sets are getting
composed and this composition can give an output that will be added to a future iteration
4.components can have behaviours and traits
so component = behaviour
at each composition there is a behaviour weight associated in composition plane
the weight can determine the next composition parameters
4.A tool is required to input the component matrix and behaviour matrix
behaviour matrix is subtle, ie it does nt make sense to define a behaviour without first defining the component composition, but still it can be booleans
Each composition takes place to achieve an objective
so in the compositon plane there is a behaviour set, behaviour weight,objective set
the system becomes simple if every composition has the same objective
mostly the behaviour weights also becomes same
At the composition plane there are these things happening
-c1 executes a feedback loop on wighted behaviour of c2
-c2 does the same
-c1 generates next weight using the feedback and its objective
-c2 does the same
the aim of composition must be to find the most balancing state
also it anlayse abberations,or induced unbalance
1.components
2.behaviour set
3.Others
component matrix * component matrix = 1 state set
this multiplication is iterative and non commutative
interesting feature is balance point
a balance point is a state within a sequence of iteration which can exist in the
same state for most time
matrix mul provide symbol chain,also in the background behavious sets are getting
composed and this composition can give an output that will be added to a future iteration
4.components can have behaviours and traits
so component = behaviour
at each composition there is a behaviour weight associated in composition plane
the weight can determine the next composition parameters
4.A tool is required to input the component matrix and behaviour matrix
behaviour matrix is subtle, ie it does nt make sense to define a behaviour without first defining the component composition, but still it can be booleans
Each composition takes place to achieve an objective
so in the compositon plane there is a behaviour set, behaviour weight,objective set
the system becomes simple if every composition has the same objective
mostly the behaviour weights also becomes same
At the composition plane there are these things happening
-c1 executes a feedback loop on wighted behaviour of c2
-c2 does the same
-c1 generates next weight using the feedback and its objective
-c2 does the same
the aim of composition must be to find the most balancing state
also it anlayse abberations,or induced unbalance
Tuesday, August 31, 2010
android kernel
1.To see the latest kernel versions
http://android.git.kernel.org/?p=kernel/common.git;a=summary
2.to get source from git
1.git clone ..common.git
2.check versions git branch -a
3.git checkout
3.emulator keys
http://developer.android.com/guide/developing/tools/emulator.html#controlling
4.more RTSP
http://www.weask.us/entry/rtsp-client-android
http://android.git.kernel.org/?p=kernel/common.git;a=summary
2.to get source from git
1.git clone ..common.git
2.check versions git branch -a
3.git checkout
3.emulator keys
http://developer.android.com/guide/developing/tools/emulator.html#controlling
4.more RTSP
http://www.weask.us/entry/rtsp-client-android
RTSP trouble shooting
1.need emulator,live555MediaServer(bin),ngrep,sed
2.configure ngrep to capture packet on lo
3.start live..
4.in emulator fetch web page from server with rtsp links
5.click on the links
6.analyze the ngrep capture
to check java version
1.java -version
2.which java
3.echo $JAVA_HOME
4.PATH=$JAVA_HOME\bin:$PATH
5.CLASSPATH=$JAVA_HOME\jre\lib\dt.jar;$JAVA_HOME\lib\dt.jar;%CLASSPATH%
6.
The following command will print the version of java you are currently using.
> java -version
The following command will print the home directory for the java executables for the version of java you are running. I assume that this is what you will want to correspond to JAVA_HOME. I'm not a developer so I am not 100% sure on this. This is typically /usr/bin/java.
> which java
I think it might be best practice to create a sym link between your current version and the more generic path. For example:
>ln -s /usr/java/jre1.x.x.x /usr/java/jre
This saved me a bit of aggravation when I upgraded java. The only item I had to change was the first sym link. My PATH variable etc. is preserved.
The following sym link should also be in place to direct you to the correct executables:
>ln -s /usr/java/jre/bin/java /usr/bin/java
In the event that "/usr/bin" is *not* in the PATH variable (unlikely), the following command may be used to add it.
>PATH=/usr/bin:$PATH then export PATH
only $JAVA_HOME, jre symbolic link is necessary to get java UP
My understanding is that this will only stay put for the duration of the session. Editing the PATH variable as it exists in /etc/profile is a more permanent method.
I'm not sure how to set the class path, but I hope the above helps
8.edit ~.bashrc,/.bashrc,/etc/profile,/etc/bash.bashrc
9.android master repo compilation error
# cd external/clearsilver
# git reset --hard 9a199257cfdaeec82aa1cc662436d3a47fb6f2ea
# cd -
10.opencore has host compilation option and platform compilation option
refere to .txt in the home directory
11.emulator ppp and emulator
http://i-miss-erin.blogspot.com/2010/04/use-3g-modem-data-card-in-android.html
12.Android kernel source for emulator
http://stackoverflow.com/questions/1809774/android-kernel-compile-and-test-with-android-emulator
2.configure ngrep to capture packet on lo
3.start live..
4.in emulator fetch web page from server with rtsp links
5.click on the links
6.analyze the ngrep capture
to check java version
1.java -version
2.which java
3.echo $JAVA_HOME
4.PATH=$JAVA_HOME\bin:$PATH
5.CLASSPATH=$JAVA_HOME\jre\lib\dt.jar;$JAVA_HOME\lib\dt.jar;%CLASSPATH%
6.
The following command will print the version of java you are currently using.
> java -version
The following command will print the home directory for the java executables for the version of java you are running. I assume that this is what you will want to correspond to JAVA_HOME. I'm not a developer so I am not 100% sure on this. This is typically /usr/bin/java.
> which java
I think it might be best practice to create a sym link between your current version and the more generic path. For example:
>ln -s /usr/java/jre1.x.x.x /usr/java/jre
This saved me a bit of aggravation when I upgraded java. The only item I had to change was the first sym link. My PATH variable etc. is preserved.
The following sym link should also be in place to direct you to the correct executables:
>ln -s /usr/java/jre/bin/java /usr/bin/java
In the event that "/usr/bin" is *not* in the PATH variable (unlikely), the following command may be used to add it.
>PATH=/usr/bin:$PATH then export PATH
only $JAVA_HOME, jre symbolic link is necessary to get java UP
My understanding is that this will only stay put for the duration of the session. Editing the PATH variable as it exists in /etc/profile is a more permanent method.
I'm not sure how to set the class path, but I hope the above helps
8.edit ~.bashrc,
9.android master repo compilation error
# git reset --hard 9a199257cfdaeec82aa1cc662436d3a47fb6f2ea
# cd -
refere to .txt in the home directory
11.emulator ppp and emulator
http://i-miss-erin.blogspot.com/2010/04/use-3g-modem-data-card-in-android.html
12.Android kernel source for emulator
http://stackoverflow.com/questions/1809774/android-kernel-compile-and-test-with-android-emulator
Monday, August 30, 2010
android adb
1.internal network and redir
http://www.mail-archive.com/android-developers@googlegroups.com/msg66432.html
2.rtsp ports basics
http://soundscreen.com/streaming/firewall.html
3.vlc streaming 3gp to local host
server
vlc -vvv /home/ranjith/Desktop/tshirt.3gp --sout="#duplicate{dst=std{access=udp,mux=ts,dst=localhost:1234}}"
client
vlc -vvv udp://@localhost:1234
4.examples
http://wiki.videolan.org/Documentation:Streaming_HowTo/Command_Line_Examples
4.real rtsp streaming with rtp and rtsp
client
vlc rtsp://localhost:8080/test.sdp
server
vlc -vvv /home/ranjith/Desktop/tshirt.3gp --sout '#rtp{dst=localhost,port=1234,sdp=rtsp://localhost:8080/test.sdp}'
5.Browsing to local html file
http://www.mail-archive.com/android-developers@googlegroups.com/msg66432.html
2.rtsp ports basics
http://soundscreen.com/streaming/firewall.html
3.vlc streaming 3gp to local host
server
vlc -vvv /home/ranjith/Desktop/tshirt.3gp --sout="#duplicate{dst=std{access=udp,mux=ts,dst=localhost:1234}}"
client
vlc -vvv udp://@localhost:1234
4.examples
http://wiki.videolan.org/Documentation:Streaming_HowTo/Command_Line_Examples
4.real rtsp streaming with rtp and rtsp
client
vlc rtsp://localhost:8080/test.sdp
server
vlc -vvv /home/ranjith/Desktop/tshirt.3gp --sout '#rtp{dst=localhost,port=1234,sdp=rtsp://localhost:8080/test.sdp}'
5.Browsing to local html file
content://com.android.htmlfileprovider/sdcard/example/file.html
6.RTSP/RTP has 3 fallback mode using tcp ... other uses udp
android 1.5 http streaming
1.install apt avidemux, apt gpac (MP4Box)
2.copy to server
3.In windows .. SUPER (c) and MP4Box
2.copy to server
3.In windows .. SUPER (c) and MP4Box
http://forum.videolan.org/viewtopic.php?f=4&t=58616
rtsp
1.rtsp://85.214.87.175/thriller-tv
2.http://forum.videolan.org/viewtopic.php?f=4&t=58781
3.working streaming
http://stackoverflow.com/questions/3219902/android-rtsp-streaming-failing
4.moov , data http
http://markmail.org/message/ztsihepnsbadmxcv#query:+page:1+mid:ahgvrygauhrsu6rz+state:results
5.very useful rtsp
http://wowzamedia.com/forums/showthread.php?p=49664
6.on client use rtsp://
7.vlc server -- streaming-->file-->stream
vlc client -- open n/w->play
8.RTSP issue
http://code.google.com/p/android/issues/detail?id=1513
9.working with vlc
rtsp://video2.americafree.tv/AFTVHorrorH26496.sdp
http://code.google.com/p/android/issues/detail?id=83
10.manual convertion to playable form in android phone
http://cxwangyi.blogspot.com/2010/02/convert-video-into-android-format.html
2.http://forum.videolan.org/viewtopic.php?f=4&t=58781
3.working streaming
http://stackoverflow.com/questions/3219902/android-rtsp-streaming-failing
4.moov , data http
http://markmail.org/message/ztsihepnsbadmxcv#query:+page:1+mid:ahgvrygauhrsu6rz+state:results
5.very useful rtsp
http://wowzamedia.com/forums/showthread.php?p=49664
6.on client use rtsp://
7.vlc server -- streaming-->file-->stream
vlc client -- open n/w->play
8.RTSP issue
http://code.google.com/p/android/issues/detail?id=1513
9.working with vlc
rtsp://video2.americafree.tv/AFTVHorrorH26496.sdp
http://code.google.com/p/android/issues/detail?id=83
10.manual convertion to playable form in android phone
http://cxwangyi.blogspot.com/2010/02/convert-video-into-android-format.html
dyndns
1.use ddclient to update ip automatically
2.http://www.dyndns.com/support/kb/using_ddclient_with_dyndns_services.htmlHow
3.search How_to_get_ddclient_started
4.dyndns within lan
http://ubuntuforums.org/archive/index.php/t-390461.html
5.vlc gui help
http://www.videolan.org/doc/streaming-howto/en/ch02.html
6.Android Video Encoding
https//help.ubuntu.com/community/AndroidVideoEncoding
2.http://www.dyndns.com/support/kb/using_ddclient_with_dyndns_services.htmlHow
3.search How_to_get_ddclient_started
4.dyndns within lan
http://ubuntuforums.org/archive/index.php/t-390461.html
5.vlc gui help
http://www.videolan.org/doc/streaming-howto/en/ch02.html
6.Android Video Encoding
https//help.ubuntu.com/community/AndroidVideoEncoding
Sunday, August 29, 2010
valuable links
1.http://markmail.org/message/oibg2z4c4dnhvahs#query:+page:1+mid:7jre5ra2hn4pys2q+state:results
2.http://stackoverflow.com/questions/2423327/android-view-ondraw-always-has-a-clean-canvas
3.http://www.inter-fuser.com/2009/09/live-camera-preview-in-android-emulator.html
4.http://www.tomgibara.com/android/camera-source
5.ffmpeg
http://ubuntuforums.org/showthread.php?t=786095
6.opencore compilation
http://www.mail-archive.com/android-framework@googlegroups.com/msg00062.html
6.Opencore
http://docs.google.com/viewer?a=v&q=cache:KHeULhWM5pEJ:www.opencore.net/files/AES34-000040.pdf+setup+opencore+on+android&hl=en&gl=in&pid=bl&srcid=ADGEESgK21cjsnKwpIpEoemoqeDC2C6FjClhclDEUt5vG8XvXdeTYzu9r75tQm8vGec33XvpboHGaz2ehBlp9_LVQbqb05F3MvmPqqJpbDOJQZA_tnvpsmSd_fhztW3ZPh1P0-3Mc3m-&sig=AHIEtbTaWZaC4w1FQ7PTTYHRpuxsDjTb0Q
7.linux global library path
That's because you did not set LD_LIBRARY_PATH to ~/android-donut/ external/opencore/build_config/opencore_dynamic/build/installed_lib/ linux.
8. opencore components
http://freepine.blogspot.com/2009/10/static-diagram-of-opencore-player.html
9.downloading source for android projects
repo -u init .... manifest.git proj1 proj2 (name refer to manifest.xml in repo)
10.android video important clue
http://osdir.com/ml/Android-Developers/2009-11/msg01069.html
2.http://stackoverflow.com/questions/2423327/android-view-ondraw-always-has-a-clean-canvas
3.http://www.inter-fuser.com/2009/09/live-camera-preview-in-android-emulator.html
4.http://www.tomgibara.com/android/camera-source
5.ffmpeg
http://ubuntuforums.org/showthread.php?t=786095
6.opencore compilation
http://www.mail-archive.com/android-framework@googlegroups.com/msg00062.html
6.Opencore
http://docs.google.com/viewer?a=v&q=cache:KHeULhWM5pEJ:www.opencore.net/files/AES34-000040.pdf+setup+opencore+on+android&hl=en&gl=in&pid=bl&srcid=ADGEESgK21cjsnKwpIpEoemoqeDC2C6FjClhclDEUt5vG8XvXdeTYzu9r75tQm8vGec33XvpboHGaz2ehBlp9_LVQbqb05F3MvmPqqJpbDOJQZA_tnvpsmSd_fhztW3ZPh1P0-3Mc3m-&sig=AHIEtbTaWZaC4w1FQ7PTTYHRpuxsDjTb0Q
7.linux global library path
That's because you did not set LD_LIBRARY_PATH to ~/android-donut/ external/opencore/build_config/opencore_dynamic/build/installed_lib/ linux.
8. opencore components
http://freepine.blogspot.com/2009/10/static-diagram-of-opencore-player.html
9.downloading source for android projects
repo -u init .... manifest.git proj1 proj2 (name refer to manifest.xml in repo)
10.android video important clue
http://osdir.com/ml/Android-Developers/2009-11/msg01069.html
transparency
mGLSurfaceView.setEGLConfigChooser(8, 8, 8, 8, 16, 0);
mGLSurfaceView.getHolder().setFormat(PixelFormat.TRANSLUCENT);
mGLSurfaceView.setZOrderOnTop(true);
useful to show required background
mGLSurfaceView.getHolder().setFormat(PixelFormat.TRANSLUCENT);
mGLSurfaceView.setZOrderOnTop(true);
useful to show required background
A potential action
create an android
that has single activity ( only web service )
gl based views ( not canvas based views )
gl over hw (not gl over pixel flinger )
android-linux kernel
call it webdroid
Find the webkit dependencies
1.skia
2..
that has single activity ( only web service )
gl based views ( not canvas based views )
gl over hw (not gl over pixel flinger )
android-linux kernel
call it webdroid
Find the webkit dependencies
1.skia
2..
cont..
1.commons of 2d-3d all uses surface
2.difference 2d uses canvas over surface,3d uses glcontext over surface
3.z ordering of layers which is near to screen .... not surfaces
4.stack based implementation get the appropriate layer using push restore ...not surface
5.EGL has some query interface, activity tells the requirement, EGL selects the appropriate channel ......based on parameters .... but canvas drawing and gldrawing are entirely different
6.the view hierarchy helps to localize the area where either canvas or gldrawing is applied
7.Layout inflator is used only for xml
8.ViewRoot
9.
2.difference 2d uses canvas over surface,3d uses glcontext over surface
3.z ordering of layers which is near to screen .... not surfaces
4.stack based implementation get the appropriate layer using push restore ...not surface
5.EGL has some query interface, activity tells the requirement, EGL selects the appropriate channel ......based on parameters .... but canvas drawing and gldrawing are entirely different
6.the view hierarchy helps to localize the area where either canvas or gldrawing is applied
7.Layout inflator is used only for xml
8.ViewRoot
9.
Android graphics cont
1.It all starts at activity
2.A view hierarchy is created here
3.in order to get sequence start tracing from setcontentview/addcontentview
4.addcontentview works on R.Layout.main
5.see how the view hierarchy is established starting the trace from setcontentview
6.the activity creates a windowssession with window_service and creates a viewroot to link the viewhierarchy,activity,window_service
7.A call to window_service creates the window and "surface"
8.A canvas is associated with the surface to draw into
9.Basic menu operations are done on a single canvas
10.surfaceview and glsurfaceview creates new surfaces
11.EGL is kind of Graphics control layer
12.Every activity gets a EGL context
13.EGL context, has reference to opengl api lib, hw channel and display
14.The activity has the freedom to choose (api lib,hw,display) for a EGL context
15.currently its (opengles lib,pixelflinger,display 0),(opengleslib,graphics hw,display 0) ... options in different androids
16.also for 2d its (skia lib,framebuff,display0)
2.A view hierarchy is created here
3.in order to get sequence start tracing from setcontentview/addcontentview
4.addcontentview works on R.Layout.main
5.see how the view hierarchy is established starting the trace from setcontentview
6.the activity creates a windowssession with window_service and creates a viewroot to link the viewhierarchy,activity,window_service
7.A call to window_service creates the window and "surface"
8.A canvas is associated with the surface to draw into
9.Basic menu operations are done on a single canvas
10.surfaceview and glsurfaceview creates new surfaces
11.EGL is kind of Graphics control layer
12.Every activity gets a EGL context
13.EGL context, has reference to opengl api lib, hw channel and display
14.The activity has the freedom to choose (api lib,hw,display) for a EGL context
15.currently its (opengles lib,pixelflinger,display 0),(opengleslib,graphics hw,display 0) ... options in different androids
16.also for 2d its (skia lib,framebuff,display0)
Subscribe to:
Posts (Atom)