Friday, November 19, 2010

Where To Use Truffle Cheese

notes on drug law in relation to the activities of public and private social units such as road and proximity operators

Intervention Att. Elia De Caro



Introduction I would first of all a discussion of what are the penal provisions of the Consolidated Law on Narcotic Drugs, to observe this behavior at your own risk and then passed to the conduct with which one compares educators during their work. So we will see a number of provisions which are those that may fall within the concept of "gray zone" of work or conduct of the facility and incitement are provided both in text only drug in both the general shape of incitement to crime. Let us go then to observe the specific aggravating circumstances that are provided in the text only and may relate to the activities species. Finally we will see some possible solutions and tools that only the text provides. Tools that, in truth, they are for now still not getting so worked up by the central government from local ones. Tools that allow already today with existing legislation a first core of protection for those whose professions in education.

The key legislative provision that

The first milestone in the text only drug from the penal point of view art is .731 where you list a series of pipes in a very accurate and specific and a very high threshold of pain, from six to twenty years. Then there is the case instead of the minor. In this case, is expected to penalty of one to six years.
penis are all very high possibility of authorizing the adoption of precautionary measures.
Let's see how this article provides for punishment much higher than those for the robbery or rape, then we see that the soil in which we move are provisions to reach a very severe.
Besides facilitating the conduct and inciting the risk profile for an educator can be given in the event competition.
Returning to the example where you are in the car with someone who has drugs. Well here we are really facing a possible bankruptcy of a fee dispute. If that person has and you are aware you may have strengthened its principle to conduct themselves with substances also above the limits tabellari.2.

addition to the main provision provided for in the penal point of view point out the art. 753 even if we are interested just in the relative regulations related to personal use for which there is an administrative procedure, and then the problems are minor. Aggravating



We see some aggravating. Penalties art. 73 increased by a third to half when the narcotic and psychotropic substances are intended for people aged child. This also involves the case where you have to do with a user often minor. Additional aggravating to those induced to committing crime or together in the commission itself a addict stupefacenti4 substance use. And yet the aggravating circumstance is if the offer or sale is made in the vicinity of schools, community youth, hospitals, prisons, barracks, care facilities and rehabilitation of drug addicts. So let's see how it has to do with not just a penal provision already significant (from six to twenty years) but with a possibility of a very strong exacerbated by a third to half of the sentence.



Facilitation and instigation

Let's see what are the provisions that are provided in the Consolidated Narcotics about the conduct or facilitation of incitement and which go beyond the general shape provided under "incitement to murder" of the Criminal Code. In addition to the "historic" Article 775 on the abandonment of syringes, an article that was very recently done by the judiciary and on which much has been done propaganda6 is art. 797 which I think very interesting people to practice their profession as an educator, proximity operations, operator of outdoor units. Quoting the article "anyone used or allows it to be used as a public or a private club for a meeting place for people who work the use of drugs shall be punished, only for this fact from 3 to 10 years" and, continuing to slide: "Anyone having the availability of a property, an environment or a vehicle that is used or suitable allows other used it as a meeting place for people who give themselves to the use, shall be punished with the same penalties. "
Going to the case where a youth center or similar times are reported episodes of drug use in theory may provide the context of this criminal offense.
offense to immerse ourselves in the experience of the territory, now in Bologna has been applied to some public places and spaces that managed that were closed with its estimate of the seizure under the provisions of art. 79 because in these areas was supposed to use drugs.
We're going to see other cases on these pipelines.
Art 82 "Incitement, proselytizing, induction of a minor offense" 8 "Whoever publicly incites unlawful use of substances, including privately held or proselytizing, or induces a person to such use, shall be punished with imprisonment one to six years. The penalty is increased if the act is committed by several persons in respect of persons aged child, or within and adjacent to schools, community youth and barracks. There are also increases penalties if the child has less than 13 years, there is a ban on the advertising campaign, "and so on. etc..


Freedom of care and secrecy
So far, the offenses under in general category.
Then there are specific cases that call into question the principle of free care and secrecy that is planned, in this single text, for health workers and staff that is headed to public services for drug addiction. These figures may be a first core theory can be extended also to those who perform the profession of teacher proximity.
Let's see, about two extremely important articles relating to probation and other modes of execution of detention where the law Fini Giovanardi has introduced a mutation in the our system compared to the previous scheme in that, whereas before there was in of Therapeutic almost a duty of confidentiality to those who were in charge, now art. 899 and art. 9410 on probation and the suspension of the prison provide certain reporting requirements. Going specifically to the art. 5a we see that paragraph 89 provides that the manager of the institution which takes place therapeutic recovery program is required to notify the court violations committed by the person subject to the program, when such violations involve a crime, the court I will then inform the competent authority for the withdrawal of the proceedings.
Why is this one also notifiable?
To be in custody on evidence that the suspension of the imprisonment of this law has greatly expanded access to these measures: it has expanded the minimum sentence to six years earlier than the margin, providing, for example, for soft drugs, penalties ranging from 6 months to 4 years or one to six years. In addition, this law provided that any person in any type of crime, outside of specific crimes clearly identified by law, if the latter declares alcohol dependence or drug addict and intends to follow a recovery program, up to six years of the sentence, may do so at a therapeutic community. This will be confusing to the ground with care to care. In some cases it may be instrumental in the state to serve alcohol dependence or drug addict, under six years, a non-custodial sentence in structure, but in this way, the legislature has incorporated this reporting requirement, which comes at the expense of the routes most sincere care and recovery.

Outside of these cases there is always the possibility for those who are placed in institutions such as the Ser.T. or in facilities provided by art. 11,611 (which we examine in particular) to take advantage of professional secrecy in the course of business. This is an important extension of this possibility because of professional confidentiality (pursuant to art. 200 of the Code of Criminal Procedure) we can have genuine sincerity of the cure and protection for the operator. This provision is provided for by Article text only .120 "voluntary therapy anonymity:" Anyone who does may require the use of substances Ser.T., or a private facility authorized specifically for the task of diagnosis, the anonymity " .
We see in particular the seventh paragraph of the article: "operators Ser.T. and private structures authorized under Article .116 prejudice to the authority with the duty to report violations committed by the person undergoing treatment program alternative to administrative penalty or execution of sentence of imprisonment can not be compelled to testify on what they have known by reason of her profession, or in front of court or in front of other activities. " The same Article shall apply. 200 of the Code of criminal procedure, this is the Article governing professional secrecy operators to professions such as doctor and lawyer and that says that those who have such jobs is not required to disclose "can not be forced to testify about what they knew because of his ministry, office, profession, except in cases where they have the obligation to report to the court, the ministers of religious denominations, lawyers, doctors, surgeons, pharmacists and any other party operating a health profession. ". It 'important from this point of view, the phrase "any other party operating a health profession" at the level of classification of the category of proximity operators, educators. This is because lawyers or doctors have a protective force membership of a professional body is not provided, together with the code of practice for those who acts as an educator. Let me give an example, if my lawyer to ask for some information with respect to a proceeding in which I load, unless I make use of professional secrecy commit an offense that can lead to radiation, in which case There is also an internal tool that further strengthens the protection of segreto.12
Therefore a first key that you can explore for the extension of guarantees to those who perform the profession of proximity operations would be the extension of the seventh paragraph of art. 120 to those who have the status of proximity operations through an extension of the figure of the socio-health or by the addition of a specific tradition in art. 120. However, without the need for innovation legislation only provides the text of an article which until now has been little used. Going to see the title 10 of the single text, it provides the opportunity for prevention activities within schools, activities now rarely used in our countries and which provide information and educational activities, activities that for example, has as its object the promotion of cultural events also take place outside school as well as coordination with efforts made by the public in particular primary prevention among key players in the work of street educators. To accomplish these educational tools only provide the text art. 105 which speaks of education and prevention initiatives are supported by training courses for teachers and the possibility, as shown in paragraph 5 to "organize health education training courses, on the damage caused to young people the use of drugs and the criminal phenomenon as a whole. " The powers of regional




The regional and provincial powers provide a range of skills including the ability to use public and private facilities authorized useful analysis of the clinical, psychological and social health of the addict, to monitor relationships with family and the development, implementation and monitoring of the treatment program, but also the design and implementation of prevention interventions.

Prevention

What is interesting in the activity of the educator proximity is the possibility of intervene earlier.
As the law thus provides the possibility of the existence of something that is not already an after, when the person is already addicted to drugs, is already charged to a program of therapy and rehabilitation, or is suffering from a pain? Article. 11413 .11514 art and give them tools, but to date have not been very upset by local authorities. Art. 114 we see how the pursuit of prevention and recovery may be entrusted to the municipalities or the relevant health service or private organizations under Article .116, but there are also subsidiary bodies and in these we can also foresee the cooperatives and private social , authority by which many of the people who play the role of educators street. Indeed .115 Article provides that "municipalities, mountain communities, their consortia, Ser.T., the centers provided by art. 114 (just seen) may benefit from the assistance of volunteer groups or entities included in art. 116, individuals performing these activities aimed at the prevention of psychosocial distress, care, treatment, rehabilitation and reintegration of drug addicts, or association or their adoption agencies for purposes of educating young people, socio-cultural development of the personality, training and employment assistance. The managers of these services may authorize appropriate persons to attend courses that are useful for the work of prevention, recovery and reintegration. "Where this tool was used by local authorities and were taken out of the conventions through these articles could be extended to street educators the guarantees provided for medical staff and nurses. It 'clear that upstream will require the identification of a project, the signing of an agreement to that effect, and then we have the possibility, even for those working in this job, make use of professional secrecy and to have greater protection in 'scope of the intervention. It 'clear that all these provisions have a limit: if, for example within a community, as part of an inspection, you find a sling and 100 gr. of hashish what is not covered by legal professional privilege, there is always a limit to be assessed when the facts of crime are so manifest. Capiamoci, the operator has no direct obligation to report, but certainly can not make assumptions of character to predict bankruptcy. Different thing the episode described above, or rarely see the episode of consumption and passage of a joint, well, taking it again to repeat that it would be covered by the protections provided through the adoption of the tools outlined above.

Speaking of street educators and street units, we stress that although the text only from this point of view discounts the fact that it was enacted in 1990 and that further action in this area have not innovated deeply in this area at a time when harm reduction interventions have become more frequent in medical protocols, but we see that Article. 120 provides for the right to anonymity for those undergoing health programs, but provides in particular that the social health of the profession to assist people involved in the use of drugs may avail itself of the Ser.T. And so they too can be covered by the protections which apply to staff Ser.T. So too can take advantage of the non-complaint arising from professional secrecy.
return to the central provisions of Article .120 seventh paragraph, which, if extended to those who do prevention activity, can certainly allow absorption of heavy task assigned. Also art. 12215 expressly provides that the definition of the program "the same can be done in collaboration with centers in art. 114 or seek the cooperation of social solidarity in Article. 115 and from this point of view of initiatives to take out a full social integration through vocational guidance and training, activities' public utility 'or solidarity' office. As part of treatment programs that provide for, adopt methods of cessation, as well as' psychosocial and pharmacological treatments appropriate. The service Addiction to monitor the implementation of the program by the addict. "Through the provisions of art. 122 first paragraph and the adoption of the instruments referred to in Articles 114 and 115 of the Consolidated could certainly provide a sort of best proximity operator framework in order to allow an extension of the protections that are scheduled for today health personnel in carrying out their difficult task.
Let's see an example: I
, operator, contacted a guy in the car port. This guy is carrying the drugs, will surely be difficult to provide a body of police charged one of my competition because I, as private citizen, I have an obligation to search and complaint, and then I might not having well-informed of the fact that this person brings the drug. It 'true, however, that the problem may arise where you go into places where groups of young people there is certainly the consumer and where the intervention can be read by some as an event that helps young people to make the intention of certain behaviors. I think in particular the sale or free passage of a few grams of the drug. In these cases, the adoption of a protocol of intervention, be included in a different regulatory framework would allow for the possibility of carrying out the educational profession in a much more correct, safe and secure. Where the type of work varies depending on the place and mode of action of the public force will include the active prevention by extending the regulatory framework would allow social workers to approach these places so much safer from the point of view legislative, not tolerate certain behaviors that are of proven supply of large quantities of drugs. What is amazing is that these tools are provided by the unique, but they were almost never acted except by some local areas, and this is certainly cause for concern because it is seen that through the actions of prevention educators are unable to close not only to monitor the world of consumption, but also to make more effective prevention activity. Through collaboration with schools, this could lead to a ground of discipline that will surely allow more effective action. If the good will the intervention is already well beyond the existing guarantees, that to which, I repeat, we must aim is greater protection of workers like the medical and paramedical staff.
protection which I think should start as early as the drafting of the project or when you should include that the project, according to the articles you cited, the intervention should be included in this framework.
cooperatives they work for the operators if they are placed as auxiliary bodies and agreements are concluded by the local authority with the Ser.T.; then becomes easier for the operator the possibility to extend social health protection provided to doctors and health care professionals such as art. 200 of the Code of Criminal Procedure. Although the social workers is not just a figure of health, if the project is characterized as social and health interventions for prevention may be possible to extend this protection.

Compared to the protection of professional secrecy is important to have legal protections, but it is also true that clarity must be established both within the Ser.T. always, on the streets. For us who work in Ser.T. is unclear why the frame is more sharp and clear. The point is that the border situation where you play to the report, but not only because they are challenged in their relationship with the youth of your identity operator. This is especially true in the profession of the educator of the road must be aware that standing in that line mobile unstructured intervention means not losing sight of all the objectives of the course. It 'clear that the support of the training is vital, I'd like to think of training events in common Ser.T., street workers and police public because it is only in the acceptance of others' work and understanding of the limitation of our study avoid the risk of becoming a hybrid of the operator and the operator over the legal problems you can play your health. Beyond the legal protections the problem is the dialogue between the police forces that they apply the law and who will help children in ways and times that do not always coincide with the law.



In this regard we see the case in England, where, although there has always adopted a medical model rather than a criminal model of regulatory interventions on drugs, there are certainly moments of joint training. The police, they have an obligation to intervene and complaint, then we are in Italy under a requirement of the penale16. You will then have a coordinator and a 'joint action because otherwise the clarity of the role is not to be realized.
last thing on the rules: the art. 12717 with the National Fund provides for action to combat drugs in the regions, including the possibility of creating integrated projects in the territory of primary, secondary and tertiary education, including those for reducing the damage and the spread on the territory of social and health services first responders such as the outdoor units. Only it comes to these tools and are the first means by which perhaps it might be possible to reach a joint determination of areas for action.

It 'clear that a determination requiring action not only in one phase of the onset of the illness or a phase of the onset addiction, but also in the prevention phase allows greater clarity of policy areas.




Educators are often exposed because their work is not known, so even the same institutions that promote their intervention does not know the specific implications and it is hard, then, to require such safeguards. Also sometimes we are faced with lightness by educators who often do not raise the issue of the risks when they go to work in some contexts.

Wednesday, September 15, 2010

My Dog Is Pooping Blood Alot

Inner silence

I would like to talk about one of the best ways to increase personal energy: the inner silence.
Toltec shamans have taught us that all of us are born with a heightened awareness and bright, and of infinite potential, but growing up, our brilliance is affected by external entities, the Voladores. Castaneda describes them as shadows of mud, surviving by eating of our energy. How do they do? Simply "eat" our thoughts and to do so, lead us to think incessantly. Their favorite food is negative thinking, probably because instead of going to strengthen our cocoon of energy, it breaks so easily penetrable. The Voladores
gave us their mind, a mind that is twisted and always ready to autogiudicarsi, this is what the shamans call the foreign installation. In this spirit, we are victims of a parassitaggio continuously since childhood.
Thinking outside in most cases, it becomes obsessive, and brings the victim to talk to herself constantly judging themselves with phrases, or questions like I'ma failure, I'm not worth anything, I will not ever be a good, now what should I do of my life? nobody understands me, I suck .. etc etc..
None of this is real. Understand it is not a simple thing, yet none of us is merely the result of his personal opinions.
This attitude, opaque covering our energy and our true essence. As
us allow this, we are certainly able to do an end, unless you decide to continue to be the worst enemies of ourselves.
When the inner dialogue stops we realize also that it is pointless.
Personally I learned how to isolate this kind of thinking as soon as he appears and replace it with something else that I decide personally. The ideal would be to silence the mind, at all, but requires a lot of discipline.
practicing every day the process becomes easier until we can get rid of everything from slavery.
The results of the practice of inner silence are magnificent, and range from physical to mental health. This is a vital step to regain our energy, and that is what the common man transforms into a warrior. Of course, also applies to women.
Spiritual energy is the basis of any esoteric practice, so anyone who is really interested in this route must have, above all, the ability to silence your internal dialogue.

Friday, August 6, 2010

What Are The Difference Between Jordan Retros

Dual Field of Bone + Arcinazzo

Here again of training, offered by our tireless and Manuela Marianovella!

For August 8, Manu (for CR Lazio) prepare two workouts with meeting the usual range of parking Bone 10:30. It tells us
" Those who stay in Rome and want to work out something here organized by CR FISO Lazio Sunday, August 8 in the field of bone.
Who will help me to put points (good exercise for the orientation of the end!) meeting at 9.30 in Field of Bone to the parking lot (the finish). For the other one does not see before 10:30 am.
not Forget!! Print out individual paper
On that point are placed strips of paper crespa.Descrizione technical exercises: Leaving town
different exercises:
Azimut: an exercise in using the compass exercise called "windows" as the paper it " appears "only in the points. in the transfer of trafficking is "blind" and completely entrusted to the use of the compass and the appreciation of the distance. Length just over 1 km - 1:10000 map.
Contours: the second exercise is to read the contour lines on paper to be carried out only partial curves. It 's a year dedicated to those who already has a good technique so I send you also the color paper with the same path. if you do not feel safe ... use it ... km3, 380 card 1.10000
Middle Color: am attaching also an exercise in complete medium difficulty with paper easier than those identified above. 2.300 km length of about 1:1000 paper.
fun
Manuela Manganelli "

Here are the cards that can be printed individually!

Marianovella , however, has already prepared paths to do when you want (there is no specific date) and gives us these instructions:
"It ntrambi training were drawn from Luke.
For training of field of bone :
start = 1 start (just the triangle) of the middle of the final CI
there are stakes or tapes or b / r, except in the south of the triangle plot No. 1, that there is nothing
goal is to speed in azimuth to the point of attack, before returning to recover the triangle
training plateaus:
advised to do so in early morning or late evening, because of the heat
the idea is to make the points short fast

pink crepe paper is fun :-)
"

And these are the cards:
At this point I wish to train those who will be a lot of fun, and who will not, happy holidays!
Stefano

Friday, July 23, 2010

Many Connections Can Wireless Router Handle

Hello World on Windows Mobile 7

First application created using the development environment for Windows 7 Phone

--------------- -------- MainPage. xaml -----------------------

\u0026lt;phone: PhoneApplicationPage
x: Class = "SilverlightHelloPhone.MainPage"
xmlns = "\u0026lt;a href =" http://schemas.microsoft.com/winfx/ 2006/xaml/presentation ""> http://schemas.microsoft.com/winfx/2006/xaml/presentation "\u0026lt;/ a>
xmlns: x = "\u0026lt;a href="http://schemas.microsoft.com/winfx/2006/xaml""> http:// schemas.microsoft.com/winfx/2006/xaml "\u0026lt;/ a>
xmlns: phone =" clr-namespace: Microsoft.Phone.Controls; assembly = Microsoft. Phone "
xmlns: shell =" clr-namespace: Microsoft.Phone.Shell; Microsoft.Phone assembly = "
xmlns: d = "\u0026lt;a href = "http://schemas.microsoft.com/expression/blend/2008" "> http://schemas.microsoft.com/expression/blend/2008" \u0026lt;/ a>
xmlns: mc = "\u0026lt;a href="http://schemas.openxmlformats.org/markup-compatibility/2006""> http://schemas.openxmlformats.org / markup-compatibility/2006 "\u0026lt;/ a>
FontFamily =" {static resource phone FontFamily normal} "
font size = "{static resource phone font size normal}"
Foreground = "{static resource PhoneForegroundBrush}"
SupportedOrientations = " portrait "orientation =" portrait "
mc: Ignorable =" d "d: design width =" 480 "d: design height =" 768 "
shell: SystemTray.IsVisible = "True">

    <!--LayoutRoot contains the root grid where all other page content is placed-->
    <Grid x:Name="LayoutRoot" Background="Transparent">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <!--TitlePanel contains the name of the application and page title-->
        <StackPanel x:Name="TitlePanel" Grid.Row="0" Margin="24,24,0,12">
            <TextBlock x:Name="ApplicationTitle" Text="Silverlight Prima Applicazione" Style="{StaticResource PhoneTextNormalStyle}"/>
\u0026lt;TextBlock x: name = "page title" text = "Prova" Margin = "-3, -8,0,0" Foreground = "Green" style = "{static resource PhoneTextTitle1Style}" />
\u0026lt;/ StackPanel>

; \u0026lt;- Content panel - place additional content here ->
\u0026lt;Grid x: Name = "content grid" Grid.Row = "1">
& # 160; \u0026lt;TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" Text="Hello World"/>
& # 160; </Grid>
    </Grid>
   
    <!-- Sample code showing usage of ApplicationBar
    <phone:PhoneApplicationPage.ApplicationBar>
        <shell:ApplicationBar IsVisible="True" IsMenuEnabled="True">
            \u0026lt;shell:ApplicationBarIconButton x:Name="appbar_button1" IconUri="/Images/appbar_button1.png" Text="Button 1"> \u0026lt;/ shell: ApplicationBarIconButton>
& # 160; \u0026lt;shell: ApplicationBarIconButton x: Name = "appbar_button2" IconUri = "/ Images/appbar_button2.png" Text = "Button 2"> \u0026lt;/ shell: ApplicationBarIconButton>
\u0026lt;shell: ApplicationBar . MenuItems>
& # 160; \u0026lt;shell:ApplicationBarMenuItem x:Name="menuItem1" Text="MenuItem 1"> \u0026lt;/ shell: ApplicationBarMenuItem>
& # 160; \u0026lt;shell:ApplicationBarMenuItem x:Name="menuItem2" Text="MenuItem 2"> \u0026lt;/ shell: ApplicationBarMenuItem>
\u0026lt;/ shell: ApplicationBar.MenuItems>
\u0026lt;/ shell: ApplicationBar>
\u0026lt;/ phone: PhoneApplicationPage.ApplicationBar>
->


\u0026lt;/ phone: phone application page>

--------------------- - WMAppManifest xml -----------------------

\u0026lt;xml version = "1.0" encoding = "utf-8".? >

\u0026lt;deployment xmlns = "\u0026lt;a href="http://schemas.microsoft.com/windowsphone/2009/deployment""> http://schemas.microsoft.com/windowsphone/ 2009/deployment "\u0026lt;/ a> AppPlatformVersion =" 7.0 ">
\u0026lt;app xmlns = "" ProductID = "{21f4b1b7-ea7e-4446-be0a-415d4eec8e3f}" title = "Hello Silverlight Phone" runtime type = "Silver Light" version = "1.0 .0.0 "Genre =" apps.normal "Author =" hello phone silverlight author "Description =" Sample description "Publisher =" silverlight hello phone ">
; \u0026lt;IconPath IsRelative="true" IsResource="false"> ApplicationIcon.png \u0026lt;/ IconPath>
\u0026lt;Capabilities>
\u0026lt;Capability Name="ID_CAP_NETWORKING" />
\u0026lt;Capability Name="ID_CAP_LOCATION" />
\u0026lt;Capability Name="ID_CAP_SENSORS" />
\u0026lt;Capability Name="ID_CAP_MICROPHONE" />
\u0026lt;Capability Name="ID_CAP_MEDIALIB" />
\u0026lt;Capability Name="ID_CAP_GAMERSERVICES" />
\u0026lt; ; Capability name = "ID_CAP_PHONEDIALER" />
\u0026lt;Capability Name="ID_CAP_PUSH_NOTIFICATION" />
\u0026lt;Capability Name="ID_CAP_WEBBROWSERCOMPONENT" />
\u0026lt;/ capabilities>
\u0026lt;Tasks>
; \u0026lt;DefaultTask Name ="_default" NavigationPage="MainPage.xaml"/>
\u0026lt;/ tasks>
\u0026lt;Tokens>
& # 160; \u0026lt;PrimaryToken TokenID="SilverlightHelloPhoneToken" TaskName="_default">
& # 160; \u0026lt;TemplateType5>
\u0026lt;BackgroundImageURI IsRelative="true" IsResource="false"> Background.png \u0026lt;/ BackgroundImageURI>
& # 160; \u0026lt;Count> 0 \u0026lt;/ Count>
& # 160; \u0026lt;Title> silverlight hello phone \u0026lt;/ Title>
\u0026lt;/ TemplateType5>
\u0026lt;/ PrimaryToken>
\u0026lt;/ Tokens>
\u0026lt;/ App>
\u0026lt;/ Deployment>

-------------------------------- -------------------------------------

Cattura

Tuesday, July 20, 2010

Sample Letters For Disconnect Internet Connection

Livata

Manuela Manganelli has organized a workout that makes it available to anyone who wants to participate! Here What this tells us:

"meeting in the start area - arrival.
orifine: length 3000 meters-scale rough around 1 :6000-7000
year end guidance . points finish the lantern can be one of the objects within the zone point. Please indicate which of the objects. (strips of colored tape codes 1-2-3-4-5-6-7-8)

curves: 1780 meter-reading exercise for the exclusive contour. You will find ribbons with codes. 1:7000-8000 approximate scale "

All for Sunday, August 1st!
Great for all of us, in anticipation of the Trophy of the regions in late August.

WARNING!

Just will take place on August 1 "The Speata ", then the road to Livata will be closed to traffic until 11:00 . The appointment will be for us to 12:00.
For those wishing to lend a hand in laying periods (a couple of lanterns each) will be very welcome at 11:30.

See you at Field of Bone.

Stefano


Saturday, July 10, 2010

Are You Wet Befor Your Peroid

It starts in August!

Hi everyone!

is the first post-workout nos against group!
To break through the inertia M has been arianovella with a training camp to the bone.
Here's what he wrote:
"A llena in forest Livata that I'm doing tomorrow morning or afternoon, I still have to decide.
For you, that you should be specifically, it is a little too short, is 5 kilometers altitude calculated. I do it because it is very specific about the direction and the only major land forms.
What counts for me in this workout, is not the point, how much attention to keep it on during some important elements.
cmq You can think of when you want it, and maybe associate another round in the woods. Know that you can train to Livata where you want, except Jenne funds to be used for the race in October.
are points in the Middle Final. in correspondence of the posts are 30 cm high, used to control points, we have not taken off, just to be safe and to make future Gainer institutions. it may happen that in some places there are more, but in general Livata so everything is always c Hiara.
So all good! "

At this point, good training at all ... even to those outside the group!;)
Stefano

Monday, May 31, 2010

Best Way To Apply Aquasmooth

Exercises for Home

Tell in

implementation methods of the class exercises

{public class exercises
public void Greetings (String name ){....}
public boolean isComplenno (Date date ){...}
public int age ( int a ){...}
public int [] names (){...} public
Gifts Gift ( ){...}
}


Exercises and Exercises = new ();
e.Auguri ("Alexander the Vagnetti");
e.isCompleanno boolean c = (new Date ("29-10 - 09 "));
int d = 17;
e.eta int year = (d);
int[] invitati=new int[7];
invitati=e.nomi();
Regali r=e.regali();

Saturday, May 29, 2010

Airsoft Nightprowler Pieces

Calculator version almost DefInt

---------------- Calcolatrice.java ----------------

/*
* To change this template, choose Tools
import android.content.Intent;

/**

*

* @author 4ALE

*/
public class Calcolatrice extends Activity {

    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle icicle) {
        super.onCreate(icicle);
        setContentView (R.layout.main)

/ / TODO add your GUI initialization code here


} ; public double leggiV1 () {EditText
number1 = (EditText) findViewById (R.id.num1) ;
double num1=0;
        try{

                    num1=Double.parseDouble(numero1.getText().toString());

                    } Catch (Exception e) {
& # 160; numero1.setError ("Your entry is invalid");
& # 160;
} return num1;}

& # 160; public double leggiV2 () {
numero2 edit text = (text edit ) findViewById (R.id.num2)
double num2 = 0;
& # 160; try{
                    num2=Double.parseDouble(numero2.getText().toString());
                    }catch(Exception e) {
& # 160; numero2.setError ( "Your entry is invalid");
& # 160;
} return num2;}

& # 160; public void add (View view) {
; leggiV1 double a = ();
& # 160; leggiV2 double b = ();
; double c = a + b;
setRisp ( a b +"+"+ +"="+ c);}


public void cos (View view) {double num1 =
leggiV1 ();
double Math.toRadians = (num1);
double cos = Math.cos (a);
setRisp ("cos" + cos +"="+ num1);
;} public void
sen (View view) {
& # 160; leggiV1 double num1 = ();
double Math.toRadians = (num1);
& # 160; double sin = Math.sin (a);
& # 160; setRisp ("sin" sin +"="+ + num1);}

& # 160; public void setRisp (String risp) {
TextView ris1=(TextView)findViewById(R.id.ris);
        ris1.setText(risp);
    }

    public void diff(View view){
        double a=leggiV1();
        double b=leggiV2();
        double c = ab;
setRisp (a +"-"+ b + "=" , + c);}

public void by (View view) {
& # 160; leggiV1 double a = ();
; leggiV2 double b = ();
double c = a * b;
setRisp (a + "x" + b + "= "+ c);}

public void two (View view) {
double a = leggiV1 ();
& # 160; leggiV2 double b = ();
double c = a / b;
setRisp (a +"/"+ b + " = "+ c);}

public void tan (View view) {
; leggiV1 double a = ();
& # 160; double tan = Math.tan (Math.toRadians (a));
setRisp ("tan" + a tan +"="+);
;}
public void log (View view) {
& # 160; leggiV1 double a = ();
double l = Math . log (a);
setRisp ("log" + a +"="+ l);}

}

-------------- -
main.xml
----------------

\u0026lt;? xml version = "1.0" encoding = "UTF-8">
\u0026lt; table layout xmlns: android = "
http://schemas.android.com/apk/res/android"

android: layout_width = "fill_parent"
android: layout_height = "fill_parent"
android: stretch columns = " 5 "

>

\u0026lt;TableRow> \u0026lt; ; TextView android: text = "numero" & # 160; android: layout_width = "100px"

& # 160; />

\u0026lt;
EditText android: layout_width = "200px" android : layout_height = "wrap_content" & # 160; android: id = "@ + id/num1"
/>
\u0026lt;/ TableRow>
\u0026lt;TableRow> ;
\u0026lt;TextView android: text = "numero"
& # 160; android: layout_width = "100px"
& # 160; />
\u0026lt;EditText
; android: layout_width = "200px"
android: layout_height = "wrap_content"
android: id = "@ + id/num2"
/>
\u0026lt;/ TableRow>
\u0026lt;TableRow>
\u0026lt;TextView android: text = "risultato:"
& # 160; android: layout_width = "100px"
, /> &
# 160; \u0026lt;TextView
android: layout_width = "200px"
android: layout_height = "30px"
& # 160; android: id = "@ + id / ris
/>
\u0026lt;/ TableRow>

\u0026lt;table layout xmlns: android = "
http://schemas.android.com/apk/res/android"

android: layout_width = "fill_parent"
android: layout_height = "fill_parent"
android: stretch columns = "4"
>
\u0026lt;TableRow>
\u0026lt;Button android: id = "@ + id / somma"
& # 160; android: layout_width = "50px"
& # 160; android: layout_height = "50px"

; android: text = "+"

android: onClick = "somma" & # 160; /> \u0026lt;Button android: id = "@ + id / diff"
& # 160; android: layout_width = "50px"
& # 160; android: layout_height = "50px"
; android: text = "-"
android: onClick = "diff"
& # 160; />
\u0026lt;Button android: id = "@ + id / prodotto "
& # 160; android: layout_width = "50px"
& # 160; android: layout_height = "50px"
& # 160; android: text = "x"
, & # 160; android: onClick = "per"
/> &
# 160; \u0026lt;Button android: id = "@ + id / rapporto"
; android: layout_width = " ; 50px "
& # 160; android: layout_height = "50px"
& # 160; android: text = "" &
# 160; android: onClick = "divi"
& # 160; />
\u0026lt;/ TableRow>
\u0026lt;TableRow>
& # 160; \u0026lt;Button android: id = "@ + id / cos"
; android: layout_width = "70px"
& # 160; android: layout_height = "50px"
& # 160; android: text = "cos (x)"
& # 160; android: onClick = "cos"
/> &
# 160; \u0026lt;Button android: id = "@ + id / sin"
, & # 160; android: layout_width = "70px"
& # 160; android: layout_height = "50px"
& # 160; android: text = "sin (x)"
, & # 160; android: onClick = "sen"
/> &
# 160; \u0026lt;Button android: id = "@ + id / tan"
, & # 160; android: layout_width = "70px"
& # 160; android: layout_height = "50px"
& # 160; android: text = "tan (x)"
, & # 160; android: onClick = "tan"
/> &
# 160; \u0026lt;Button android: id = "@ + id / log"
; android: layout_width = " ; 70px "
& # 160; android: layout_height = "50px"
& # 160; android: text = "log (x)" # &
160; android: onClick = "log"
/>
\u0026lt;/ TableRow>
\u0026lt;/ table layout>
\u0026lt;/ table layout>











Senza titolo

Monday, May 24, 2010

What Shoes Did They Wear In Rome

converter from decimal to binary converter temperature

Senza titolo2 --- ------------------ --------------------- main.xml Senza titolo3 \u0026lt;? xml version = "1.0" encoding = "UTF-8"> \u0026lt;LinearLayout xmlns: android = "Senza titolo4 http://schemas.android.com/apk/res/android"

; android: orientation = "vertical" android \u0026lt;

EditText android : layout_width = "fill_parent" android: layout_height = "wrap_content" android: id = "@ + id/num1"

/>

& # 160; \u0026lt;TextView android
: layout_width = "fill_parent" android: layout_height = "wrap_content" android: id = "@ + id / risultato"
& # 160; />
\u0026lt;Button android: id = "@ + id / Conv "
& # 160; android: layout_width = "fill_parent"
& # 160; android: layout_height = "wrap_content"
; android: text = "Converti in Binario"
; android: onClick = "conv"
/>
\u0026lt; Button android: id = "@ + id/Conv1"
& # 160; android: layout_width = "fill_parent"
& # 160; android: layout_height = "wrap_content"
; android: text = "Converti in decimal
; android: onClick = "toDec"
/>
\u0026lt;/ linear layout>

---------------------
Converti .
java ---------------------

org.me.binariotodecimale package;

import android.app.Activity;
import android.os.Bundle;
import android.widget.*;
import android.view.View;
/**

*

* @author 4ALE */ public class Converti extends Activity {

    /** Called when the activity is first created. */

    @Override

    public void onCreate(Bundle icicle) {
        super.onCreate(icicle);
setContentView (R.layout.main)
;} public void
conv (View view) {
& # 160; numero1 = edit text (alt text) findViewById (R.id.num1)
int num1 = Integer . parseInt (numero1.getText (). toString ());
String bin = Integer.toBinaryString (num1);
TextView ris = (TextView) findViewById (R.id . risultato);

ris.setText ("Binary =" + bin);

& # 160;} public void

toDec (View view) {
EditText number1 = (EditText) findViewById (R.id.num1)
        String num1=(numero1.getText().toString());
        int dec=Integer.parseInt(num1, 2);
        TextView ris=(TextView)findViewById(R.id.risultato);
        ris.setText("Decimale= "+dec);
}}









Tuesday, May 18, 2010

K Nex Big Air Ball Tower Ebay



Creating an application that can convert temperature from ° C to ° F and vice versa

Senza titolo ConvertiTemperatura.java Senza titolo2 ---------------- ----------------- -

package org.me.convertitemperatura; android.os.Bundle;

android.app.AlertDialog.Builder import, import

android.widget .*;

import android.view . View;

import android.content.Intent;

import android.app.AlertDialog; import android.content.Context; /**

*

* @author lollino360

*/

public class ConvertiTemperatura extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle icicle) {
        super.onCreate(icicle);
        setContentView (R.layout.main)
/ / TODO add your GUI initialization code here
& # 160;} public void
conv1 (View view) {
& # 160; EditText number1 = (EditText) findViewById (R.id.t1)
; numero2 = edit text (alt text) findViewById (R.id.t2)
& # 160; try {
& # 160; double num1 = Double.parseDouble (numero1.getText (). toString ());
& # 160; double res = num1 * 1.8 +32;
String result = "" + res;
; numero2.setText (result);
& # 160; ; } Catch (NumberFormatException e) {
& # 160; e.printStackTrace ();
& # 160; ; numero2.setText ("You must enter a number ");
& # 160;}}
public void
conv2 (View view) {
EditText number1 = (EditText) findViewById (R.id.t1)
numero2 edit text = (text edit) findViewById (R.id.t2)
try {
, & # 160; double num2=Double.parseDouble(numero2.getText().toString());
            double ris=(num2-32)/1.8;
            String risultato=""+ris;
            numero1.setText (result);
& # 160;} catch (NumberFormatException e) {
e.printStackTrace ();
; numero1.setText ("You must enter a number!");
& # 160;
}}}



main.xml
----------------- ----------- ------

\u0026lt;? xml version = "1.0" encoding = "UTF-8"?>
\u0026lt;TableLayout xmlns: android = "
http://schemas.android.com / apk / res / android "android

: layout_width =" fill_parent "
android: layout_height = "fill_parent"
android: stretch columns = "1"

>

\u0026lt;TableRow> ; \u0026lt; EditText android: layout_width = "200px"

android: layout_height = "wrap_content"

android: id = "@ + id/t1"
& # 160; /> ; \u0026lt;TextView android: text = "° C" android: layout_width = "100px"
& # 160; />
\u0026lt;/ TableRow>
& # 160; \u0026lt;TableRow>
\u0026lt;EditText
& # 160; android: layout_width = "200px" android
: layout_height = "wrap_content"
android: id = "@ + id/t2"
/ >
\u0026lt;TextView android: text = " ° F "& #
160; android: layout_width = "100px"
, / >
\u0026lt;/ TableRow>
\u0026lt;Button android: id = "@ + id / Converti"
& # 160; android: layout_width = "fill_parent"
; android: layout_height = "wrap_content"
& # 160; android: text = "Converti in ° F"
; android: onClick = "CONV1"
/>
\u0026lt;Button android: id = "@ + id/converti2"
& # 160; android: layout_width = "fill_parent"
& # 160; android: layout_height = "wrap_content"
& # 160; android: text = "Converti in ° C"
; android: onClick = "CONV2"
/>
\u0026lt;/ TableLayout>











Friday, May 14, 2010

Is Iced Tea Good For An Upset Stomach



Create an application that converts the speed from km / h in m / sec and m / sec to km / h

---------------- ---------------- Senza titolo main.xml Senza titolo2 \u0026lt;? xml version = " 1.0 "encoding =" utf-8 "?>

\u0026lt;TableLayout xmlns: android =" http://schemas.android.com/apk/res/android "

android: layout_height = "fill_parent"

android: stretch columns = "1" >

\u0026lt;TableRow>

\u0026lt;

EditText android: id = "@ + id/v1"

android : layout_width = "200px" android

: layout_height = "wrap_content"

/>

\u0026lt;TextView android:text="km/h" />

\u0026lt;/ TableRow>

\u0026lt; ; TableRow>

\u0026lt;EditText

android:id="@+id/v2"

android:layout_width="200px"

android:layout_height="wrap_content"

/>

\u0026lt;TextView android : text = "m / sec" />

\u0026lt;/ TableRow>

\u0026lt;Button

android: id = "@ + id/conv1"

android: layout_width = "200px"

android: layout_height = "wrap_content"

android: onClick = "conv1"

android: text = "converted from km / ham / sec"

/>

\u0026lt;

Button android: id = "+ @ id/conv2"

android: layout_width = "200px" android

: layout_height = "wrap_content"

android: onClick = "conv2"

android: text = "converted from m / sec km / h"

/>

\u0026lt;/ TableLayout>

----------------

convertiVelocita.java

----------------

package org.me.convertiVelocita;

import android.app.Activity;

import android.os.Bundle;

import android.content.Context;

import android.widget.*; import android.view.View;

import android.content.Intent;

public class convertiVelocita extends Activity

{

/** Called when the activity is first created. */

final double a=0.2777;

final double b=3.6;

@Override

public void onCreate(Bundle savedInstanceState)

{

super.onCreate(savedInstanceState);

setContentView(R.layout.main);

}

public void conv1 (View view){

//da km/h a m/sec

EditText vel1=(EditText)findViewById(R.id.v1);

double kmh=Double.parseDouble(vel1.getText().toString());

double velocita=kmh*a;

String risp=Double.toString(velocita);

EditText vel2=(EditText)findViewById(R.id.v2);

vel2.setText(risp);

vel1.setText("");

}

public void conv2 (View view){

/ / m / sec to km / h

VEL2 EditText = (EditText) findViewById (R.id.v2)

double kmh = Double.parseDouble (vel2.getText (). ToString ());

double speed kmh = * b;

Double.ToString String resp = (speed);

vel1 EditText = (EditText) findViewById (R.id.v1)

vel1.setText (resp);

VEL2. setText ("");

}}

----------------------------- -----------------------------------

Create an application with 3 buttons showing which button was pressed

----------------

qualeBottone.java

----------------

package org.me.qualeBottone; clip_image002 import android.app.Activity;

import android.os.Bundle;

import android.content.Context;

import android.widget.*; import android.view.View;

import android.content.Intent;

public class qualeBottone extends Activity

{

/** Called when the activity is first created. */

@Override

public void onCreate(Bundle savedInstanceState)

{

super.onCreate(savedInstanceState);

setContentView (R.layout.main)

} public void button (View view) {int x =

view.getId ();

TextView view = (TextView) findViewById (R.id.mostra);

if (x == R.id.a1) {

visualizza.setText ("Press the button 1");

} else if (x == R.id.a2) {

visualizza.setText ("Press the button 2");

} else if (x == R.id.a3) {

visualizza.setText ("Press the button 3");}

}}

----------------

main.xml

---------------- \u0026lt;xml version = "1.0" encoding = "utf-8"?>

\u0026lt;LinearLayout xmlns: android = "http://schemas.android.com/apk/res/android"

android: orientation = "vertical"

android: layout_width = "fill_parent"

android: layout_height = " fill_parent " >

\u0026lt;Button

android: id =" @ + id/a1 "

android: layout_width =" 200px "

android: layout_height = "wrap_content"

android: onClick = "Botton"

android: text = "1"

/>

\u0026lt;Button

android: id = "@ + id/a2 "

android: layout_width =" 200px "android

: layout_height =" wrap_content "

android: onClick =" Botton "

android: text =" 2 "

/>

\u0026lt;Button

android: id = "@ + id/a3"

android: layout_width = "200px" android

: layout_height = "wrap_content"

android: onClick = "Botton"

android: text = " ; 3 "

/>

\u0026lt;TextView android

: layout_width =" fill_parent "

android: layout_height =" wrap_content "

android: id =" @ + id / mostra "

/ >

\u0026lt;/ linear layout>

Tuesday, May 11, 2010

Will A Varicose Vein In Labia Go Away

13/05/10 Check Calculator

Calculator saves money occurred in a database

------------------- CalcolatriceDB. Java --- ----------------

package org.me.calcolatricedb;

android.app.Activity import, import clip_image002[4] android.os.Bundle; android.database.sqlite import. SQLiteDatabase; android.widget import .*;

android.view.View import, import

android.content.Intent;

/ **

* * @ author

lollino360

* /
public class CalcolatriceDB extends Activity {
        private final String DB_NAME="Calcolatrice.db";
        private SQLiteDatabase database = null;
    @Override
    public void onCreate(Bundle icicle) {
        super.onCreate(icicle);
setContentView (R.layout.main)

; Button sum = (Button) findViewById (R.id.somma)

& # 160; somma.setOnClickListener (somma1)
creaDB () ;
creaTabella ();
Button show = (Button) findViewById (R.id.mostra);
& # 160; mostra.setOnClickListener (onMostra);
/ / ToDo add your GUI initialization code here}

private View.OnClickListener somma1 View.OnClickListener = new () {
public void onClick (View v) {
numero1 = edit text (alt text) findViewById (R.id.num1)
& # 160; numero2 edit text = (text edit) findViewById ( R.id.num2)
& # 160; ris1 = edit text (alt text) findViewById (R.id.ris)
& # 160; int num1 = Integer.parseInt (numero1.getText (). toString ());
& # 160; int num2 = Integer.parseInt (numero2.getText (). toString ());
int res = num1 + num2;
& # 160; String result = num1 num2 +"+"+ +"="+ res;
& # 160; ris1.setText (result);
/ / & # 160; numero1.setText ("");
/ / & # 160; numero2.setText ("");
String insert = "INSERT INTO accounts (operation) values \u200b\u200b('" + result +"');";

& # 160; try {
; database.execSQL (post);
& # 160;} catch (SQLiteException e) {
; e.printStackTrace();
             }

        }
    };
    public void creaDB(){
        try{
            database=openOrCreateDatabase(DB_NAME,SQLiteDatabase.CREATE_IF_NECESSARY,null);

        }catch(SQLiteException e){

            e.printStackTrace();
        }
    }
    public void creaTabella(){
        try{

            if (database.isOpen()){

                         database.execSQL("CREATE TABLE IF NOT EXISTS conti (_id integer primary key autoincrement, operazione varchar(50));");
            }
        }catch(SQLiteException e){
            e.printStackTrace();
        }
    }
     private View.OnClickListener onMostra=new View.OnClickListener(){
         public void onClick(View v) {
            Intent i = new Intent(v.getContext(), Lista.class);
            startActivity(i);
         }
      };

}

-------------------Lista.java-------------------

package org.me.calcolatricedb;

import android.app.Activity;
import android.os.Bundle;
import android.database.sqlite.SQLiteDatabase;
android.database.sqlite.SQLiteException import, import
android.content.Context;

android.widget import .*;

import android.view.View;

android.widget.ListView import, import

android.widget.AdapterView;

import android.database.Cursor;

import java.util.ArrayList;

android.util.Log import, import

android.content.Intent;
public class List extends Activity {
& # 160; private final String DB_NAME = "Calcolatrice.db;
private SQLiteDatabase database = null;
private ListView votes
\u0026lt;String> ArrayList rows = new ArrayList \u0026lt;String> ( )
/ ** Called When the activity is first created. * / @ Override

public void onCreate (Bundle savedInstanceState)
{
super.onCreate (savedInstanceState)
setContentView (R.layout.lista)
creaDatabase ();
& # 160; leggiTabellaVoto ();
& # 160; votes = (ListView) findViewById (R.id.listav)
/ / By using setAdpater method in listview we add string into an array list.
/ / log. ("votes =" + rating);
voti.setAdapter (new ArrayAdapter \u0026lt;String> (this, android.R.layout. simple_list_item_1, rows));
Button enter = (Button) findViewById (R.id.btnGetMoreResults)
post. setOnClickListener (onInserisci);}

creaDatabase public void () {
; try {
& # 160; database = openOrCreateDatabase (DB_NAME, SQLiteDatabase.CREATE_IF_NECESSARY, null);
} catch (SQLiteException e) {
& # 160; System.out.println ("did not create the database student") ;
e.printStackTrace ();}

& # 160;} public void
leggiTabellaVoto () {

& # 160; ; Cursor c = database.query ("contingent", null, null, null, null, null, null, null);
& # 160; int numRows = c.getCount ();
& # 160; ; c.moveToFirst ();
& # 160; for (int i = 0; i < numRows; ++i) {
                              Riga r = new Riga();
                              r._id = c.getLong(0);
                              r.operazione = c.getString(1);
                              System.out.println(r.operazione);
                              righe.add(r.operazione);
                              c.moveToNext();
                    }

     }

     class Riga {
          public long _id;
          public String operazione;
     }
     private View.OnClickListener onInserisci=new View.OnClickListener(){
         public void onClick(View v) {
            Intent i = new Intent(v.getContext(), CalcolatriceDB.class);
            startActivity(i);
         }

      };

     @Override

     public void onDestroy() {

          super.onDestroy();
          Database.close ();}

}

------------------- main xml. -------------------

\u0026lt;xml version = "1.0" encoding = "UTF-8"?>
\u0026lt;table layout xmlns: android = "
http://schemas.android.com/apk/res/android"

android: layout_width = "fill_parent"
android: layout_height = "fill_parent"
android: stretch columns = "1"
> ;
\u0026lt;TableRow>

\u0026lt;TextView android: text = "numero"

, & # 160; android: layout_width = "100px"

& # 160; />

\u0026lt;
EditText android: layout_width = "200px" android : layout_height = "wrap_content" & # 160; android: id = "@ + id/num1"
/>
\u0026lt;/ TableRow>
\u0026lt;TableRow> ;
\u0026lt;TextView android: text = "numero"
& # 160; android: layout_width = "100px"
& # 160; />
\u0026lt;EditText
; android: layout_width = "200px"
android: layout_height = "wrap_content"
android: id = "@ + id/num2"
/>
\u0026lt;/ TableRow>
\u0026lt;TableRow>
\u0026lt;TextView android: text = "risultato:"
& # 160; android: layout_width = "100px"
, /> &
# 160; \u0026lt;EditText
android: layout_width = "200px"
android: layout_height = "wrap_content"
& # 160; android: id = "@ + id / ris
/>
\u0026lt;/ TableRow>
\u0026lt;Button android: id = "@ + id / somma"
& # 160; ; android: layout_width = "fill_parent"
android: layout_height = "wrap_content"
& # 160; android: text = "+" &
# 160; />
\u0026lt;Button android: id = "@ + id / mostra"
& # 160; android: layout_width = "fill_parent"
& # 160; android: layout_height = "wrap_content"
; android: text = "Show operations performed"
/>
\u0026lt;/ TableLayout>

------------------- list.
xml -------------------
\u0026lt;? xml version = "1.0" encoding = "UTF-8"?>
\u0026lt;RelativeLayout xmlns: android = "
http://schemas.android.com/apk/res/android"

android: orientation = "horizontal"
android: layout_width = "fill_parent"
android: layout_height = "fill_parent"
;>

\u0026lt;ScrollView

& # 160; android: layout_height = "fill_parent"

& # 160; android: layout_width = "fill_parent>


\u0026lt;LinearLayout & # 160; android: orientation = "vertical" android : layout_width = "fill_parent" ;
android: layout_height = "fill_parent"
>
& # 160; \u0026lt;ListView android: id = "@ + id / listav"
android: layout_width = "fill_parent"

& # 160; android: layout_height = "300sp"

android: drawSelectorOnTop = " ; false
android: cacheColorHint = "# ff6a00"
android: divider = "ff8f40"

android: dividerHeight = "2px"

& # 160; />
; \u0026lt;relative layout
android: layout_width = " ; fill_parent "
android: layout_height = "fill_parent"
& # 160; android: background = "676 767"
& # 160; android: orientation = "vertical">

; \u0026lt;Button android
: layout_width = "fill_parent"
; android: layout_height = "fill_parent"
android: id = "@ + id / btnGetMoreResults"
android: padding = " ; 10px "android
: text = "Enter new data" />
\u0026lt;/ RelativeLayout>
\u0026lt;Relative layout
android: layout_width = "fill_parent"
& # 160; android: layout_height = "fill_parent"
& # 160; android: background = "676 767"

& # 160; android: orientation = "vertical">


\u0026lt;Button
& # 160; android: layout_width = "fill_parent"
; android: layout_height = "fill_parent"
android: id = "@ + id / btnGetMoreResults1 "
& # 160; android: visibility = "gone"
, android: padding = "10px"
android: text = " ; Shows detagli "/>
\u0026lt;/ RelativeLayout>

\u0026lt;/ LinearLayout>
\u0026lt;/ ScrollView>

\u0026lt;/ RelativeLayout>

----------------------------- ----------------------------





Sunday, May 9, 2010

Reprogram Ml320 Remote

Exercise Database 3 for home

Android Create a program that reads and writes in the "information" contained in the database "Studente.db" data: name, address and email.

------------------- ------------------- 2 AndroidManifest.xml 3 \u0026lt;? xml version = "1.0" encoding = "UTF-8"?> \u0026lt;manifest xmlns: android = "

http://schemas.android.com/apk/res/android" \u0026lt;application>

\u0026lt;activity android:name=".Agenda" android:label="Agenda">

; \u0026lt;intent-filter>

& # 160; \u0026lt;action android:name="android.intent.action.MAIN"/> & # 160; \u0026lt;category android:name="android.intent.category.LAUNCHER"/> ; \u0026lt;/ intent -filter>

\u0026lt;/ Activity>

\u0026lt;activity android:name=".Lista"> \u0026lt; / activity>
\u0026lt;/ application> \u0026lt;/ manifest>


--------------- ---- -------------------
lista.xml


\u0026lt;? xml version = "1.0" encoding = "UTF-8"? >
\u0026lt;relative layout xmlns: android = "
http://schemas.android.com/apk/res/android "

android: orientation =" horizontal "

& # 160; android: layout_width = "fill_parent"

android: layout_height = "fill_parent"

>

\u0026lt;ScrollView android: layout_height = "fill_parent"

android: layout_width = " ; fill_parent>


\u0026lt;LinearLayout ; android: orientation = "vertical" android : layout_width = "fill_parent"
android: layout_height = "fill_parent"
>
; \u0026lt;ListView android: id = "@ + id / listav"
& # 160; android: layout_width = "fill_parent"

android: layout_height = " ; 300sp "

android: drawSelectorOnTop = false &
# 160; android: cacheColorHint = "# ff6a00"
android: divider = "ff8f40"

; android: dividerHeight = "2px"

/>
& # 160; \u0026lt;relative layout
android: layout_width = "fill_parent"
android: layout_height = "fill_parent"
& # 160; android: background = "676 767"
& # 160; android: orientation = "vertical">

\u0026lt;Button
& # 160; android: layout_width = "fill_parent"
; android: layout_height = "fill_parent"
android: id = "@ + id / btnGetMoreResults "
Android: padding = "10px"
; android: text = "Enter new data" />
\u0026lt;/ relative layout>
\u0026lt;relative layout
android: layout_width = "fill_parent"
& # 160; android: layout_height = "fill_parent"
android: background = "676 767"

android: orientation = "vertical">


& # 160; \u0026lt;Button
android: layout_width = "fill_parent"
& # 160; android: layout_height = "fill_parent"
& # 160; android: id = "@ + id/btnGetMoreResults1"
; android: padding = "10px"
& # 160; android: text = "Show detagli" />
\u0026lt;/ RelativeLayout>

; \u0026lt;/ LinearLayout>
\u0026lt;/ ScrollView>

\u0026lt;/ RelativeLayout>


-------------------
main.xml


------------------- \u0026lt;? xml version = "1.0" encoding = "UTF-8"?>
\u0026lt; table layout xmlns: android = "

http://schemas.android.com/apk/res/android"


android: layout_width = "fill_parent"

android: layout_height = "fill_parent"

android: stretch columns = " 1 "

>

\u0026lt;TableRow> ; \u0026lt;TextView Android:text="Nome:"/> \u0026lt;EditText android: id = "@ + id / name"

; android: hint = "Enter your name &

# 160; />
\u0026lt;/ TableRow> \u0026lt;TableRow> \u0026lt;TextView android:text="Indirizzo:"/>
\u0026lt;EditText android: id = "@ + id / via"
& # 160; android:hint="Scrivi il tuo indirizzo"
        />
    </TableRow>
        <TableRow>
        <TextView android:text="E-mail:"/>
        \u0026lt;EditText android: id = "@ + id / email"
& # 160; android: hint = "Enter your e-mail"
& # 160; />
\u0026lt;/ TableRow>
& # 160; \u0026lt;Button android: id = "@ + id / salva"
& # 160; android: layout_width = "fill_parent"
; android: layout_height = " ; wrap_content "
& # 160; android: text = "Salva"
; />
\u0026lt;Button android: id = "@ + id / impegni "
; android: layout_width = "fill_parent"
& # 160; android: layout_height = "wrap_content"
& # 160; android: text = "visualizza i dati"
& # 160; />
</TableLayout>

-------------------
Agenda.java
-------------------

/*
* To change this template, choose Tools *
* @author Lorenzo Millucci
*/
public class Agenda extends Activity {
    private final String DB_NAME="Studente.db";
    private SQLiteDatabase database = null;

    /** Called when the activity is first created. */

    @Override     public void onCreate(Bundle savedInstanceState)     {

         super.onCreate (savedInstanceState)

setContentView (R.layout.main)
creaDB ();
& # 160; creaTabella ();
Button save = (Button) findViewById (R. id.salva)

Button lista=(Button)findViewById(R.id.impegni);

        salva.setOnClickListener(salva1);

        lista.setOnClickListener(onLista);

    }

    private View.OnClickListener onLista=new View.OnClickListener(){
         public void onClick(View v){
             Intent i=new Intent(v.getContext(),Lista.class);
             startActivity(i);
             }
         };

    public void creaDB(){
        try{
            database=openOrCreateDatabase(DB_NAME,SQLiteDatabase.CREATE_IF_NECESSARY,null);
        }catch(SQLiteException e){
            e.printStackTrace();
        }
    }

    public void creaTabella(){
        try{
            if (database.isOpen()){
                         database.execSQL("CREATE TABLE IF NOT EXISTS dati (_id integer primary key autoincrement, nome varchar(20), via varchar(50), email varchar(50));");
            }
        }catch(SQLiteException e){
            e.printStackTrace();
        }
    }

    private View.OnClickListener salva1=new View.OnClickListener(){
         public void onClick (View v) {&

# 160; appunto1 = alt text (alt text) findViewById (R.id.nome)

; dove1 = edit text (alt text) findViewById (R.id.via)
& # 160; quando1 = edit text (alt text) findViewById (R.id.email)
& # 160; appunto1.getText String nome = (). toString ();
& # 160; String = dove1.getText by (). toString ();
& # 160; Quando1.getText String email = (). ToString ();
/ / dove1.setText ("");

& # 160; String insert = "INSERT INTO data (name, street name, email) values \u200b\u200b('" + name + "', '"+ +"','"+ via email +"');";

/ / ; String insert = "INSERT INTO data (name, street name, email) values \u200b\u200b('" + name +"',"+ via email +",'"+ +"');";
/ / , & # 160; String insert = "INSERT INTO vote (datavoto, mark, pattern, material, depth, name) values \u200b\u200b('" +
/ / datavoto +"',"+ vote +",'"+ +"','"+ plea on behalf +"','"+ Professor +"','"+ +"');";

try {
; database.execSQL (post);
& # 160;} catch (SQLiteException e) {

; e.printStackTrace();

             }
         }
     };

     @Override
     public void onDestroy() {
          super.onDestroy();
          database.close();
     }

}


-------------------
Lista.java
-------------------

package org.me.dbstudente;
import android.app.Activity;
import android.os.Bundle;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteException;
import android.content.Context;
import android.widget.*;
import android.view.View;

android.widget.ListView import, import

android.widget.AdapterView;
import android.database.Cursor;
import java.util.ArrayList;
import android.util.Log;
import android.content.Intent;
public class List
extends Activity {private final String DB_NAME = "Studente.db"

SQLiteDatabase private database = null;

private ListView votes
& # 160; ArrayList rows = new ArrayList \u0026lt;String> \u0026lt;String> ();
private String LVOT []={" 5 computer 10/02/2010 "" , 7 Italian 31/01/2010 "," 9 physical education 25/03/2010 "," 7 English 28/02/2010 "};
, / ** Called When the activity is first created. * / @ Override

public void onCreate (Bundle savedInstanceState)

    {

         super.onCreate(savedInstanceState);          setContentView(R.layout.lista);          creaDatabase();

         leggiTabellaVoto ();

votes = (ListView) findViewById (R.id.listav) ;
/ / By using setAdpater method in listview we add an string array list.
/ / log. ("votes =" + rating);
voti.setAdapter (new ArrayAdapter \u0026lt;String> (this, android.R.layout.simple_list_item_1, rows));
& # 160; Button enter = (Button) findViewById (R.id.btnGetMoreResults)
; inserisci.setOnClickListener (onInserisci);}

creaDatabase public void () {
try{          
                    database=openOrCreateDatabase(DB_NAME,SQLiteDatabase.CREATE_IF_NECESSARY, null);
          } Catch (SQLiteException e) {
& # 160; System.out.println ("did not create the database student") ;
e.printStackTrace ();}

& # 160;} public void
leggiTabellaVoto () {
& # 160; Cursor c = database.query ("dati", null, null, null, null, null, null, null);
& # 160; int numRows = c.getCount ();
& # 160; ; c.moveToFirst ();
& # 160; for (int i = 0; i < numRows; ++i) {
                              Riga r = new Riga();
                              r._id = c.getLong(0);
                              r.nome = c.getString(1);
                              r.via = c.getString(2);
                              r.email = c.getString(3);
                              String r.nome rr = + "" + r.via + "" + r.email;
& # 160; System.out.println (rr) ;
& # 160; righe.add (str);
& # 160; c.moveToNext ();
; & # 160;

}} class Line {
& # 160; public long _id;
; public String name;
public String street;
public String email;
     }
     private View.OnClickListener onInserisci=new View.OnClickListener(){
         public void onClick(View v) {
            Intent i = new Intent(v.getContext(), Agenda.class);
            startActivity(i);
         }
      };  
     @Override
     public void onDestroy() {
          super.onDestroy();
          database.close ();}

}