Thursday, December 14, 2023

11 Privacy for Quang Binh-BC app

 Privacy Policy

UBND Quang Binh built the Quang Binh-BC app as a Free app. This SERVICE is provided by UBND Quang Binh at no cost and is intended for use as is.

This page is used to inform visitors regarding our policies with the collection, use, and disclosure of Personal Information if anyone decided to use our Service.

If you choose to use our Service, then you agree to the collection and use of information in relation to this policy. The Personal Information that we collect is used for providing and improving the Service. We will not use or share your information with anyone except as described in this Privacy Policy.

The terms used in this Privacy Policy have the same meanings as in our Terms and Conditions, which are accessible at Quang Binh-BC unless otherwise defined in this Privacy Policy.

Information Collection and Use

For a better experience, while using our Service, we may require you to provide us with certain personally identifiable information. The information that we request will be retained by us and used as described in this privacy policy.

The app does use third-party services that may collect information used to identify you.

Link to the privacy policy of third-party service providers used by the app

Log Data

We want to inform you that whenever you use our Service, in a case of an error in the app we collect data and information (through third-party products) on your phone called Log Data. This Log Data may include information such as your device Internet Protocol (“IP”) address, device name, operating system version, the configuration of the app when utilizing our Service, the time and date of your use of the Service, and other statistics.

Cookies

Cookies are files with a small amount of data that are commonly used as anonymous unique identifiers. These are sent to your browser from the websites that you visit and are stored on your device's internal memory.

This Service does not use these “cookies” explicitly. However, the app may use third-party code and libraries that use “cookies” to collect information and improve their services. You have the option to either accept or refuse these cookies and know when a cookie is being sent to your device. If you choose to refuse our cookies, you may not be able to use some portions of this Service.

Service Providers

We may employ third-party companies and individuals due to the following reasons:

  • To facilitate our Service;
  • To provide the Service on our behalf;
  • To perform Service-related services; or
  • To assist us in analyzing how our Service is used.

We want to inform users of this Service that these third parties have access to their Personal Information. The reason is to perform the tasks assigned to them on our behalf. However, they are obligated not to disclose or use the information for any other purpose.

Security

We value your trust in providing us your Personal Information, thus we are striving to use commercially acceptable means of protecting it. But remember that no method of transmission over the internet, or method of electronic storage is 100% secure and reliable, and we cannot guarantee its absolute security.

Links to Other Sites

This Service may contain links to other sites. If you click on a third-party link, you will be directed to that site. Note that these external sites are not operated by us. Therefore, we strongly advise you to review the Privacy Policy of these websites. We have no control over and assume no responsibility for the content, privacy policies, or practices of any third-party sites or services.

Children’s Privacy

These Services do not address anyone under the age of 13. We do not knowingly collect personally identifiable information from children under 13 years of age. In the case we discover that a child under 13 has provided us with personal information, we immediately delete this from our servers. If you are a parent or guardian and you are aware that your child has provided us with personal information, please contact us so that we will be able to do the necessary actions.

Changes to This Privacy Policy

We may update our Privacy Policy from time to time. Thus, you are advised to review this page periodically for any changes. We will notify you of any changes by posting the new Privacy Policy on this page.

This policy is effective as of 2023-12-15

Contact Us

If you have any questions or suggestions about our Privacy Policy, do not hesitate to contact us at minhduct4@gmail.com.

This privacy policy page was created at privacypolicytemplate.net and modified/generated by App Privacy Policy Generator

Sunday, October 22, 2017

26 My new iOS Medical 3D app

Currently, many universities are training students for work in the pharmaceutical industry. Anatomy is one of the most fundamental and important subjects.

This subject requires real human corpses for anatomy training, however human corpses are relatively scarce especially in East Asian countries. Students learn anatomy primarily through plastic models, drawings, 2D images and templates, or the use of anatomy software.

Anatomy Now is an application that runs on iOS devices that use 3D technology to simulate the human body for teaching, learning, rehearsal and research purposes in medical anatomy training. Currently the application only shows the Skeletal and Muscular system.

All models follow the Oriental human body with high accuracy of anatomical imaging, details are accurately reproduced in a 1: 1 ratio in terms of size, shape, and surface color.

The application is both in written and spoken English and Vietnamese with high reliability based on anatomy data, referenced from international anatomy programs, evaluted by multiple highly qualified doctors and professors in the field.

Standard anatomy groups are available and the user can take those groups to create new group based on their own the case-study.

Methods of interaction with 3D models:
- Show anatomical points on a body part, anatomical group on the body
- Disassemble and assemble body parts from the body.
- Delete body parts and blur the outer details to see layers, and details inside
- Observe the relationships among agencies.
- Quickly search a body composition and search for anatomical relationships
- Accurately pronounce the name of a body composition in English and Vietnamese

Link to download this app here

Thursday, January 1, 2015

36 How to use Web View to work with static HTML content

From developer.apple.com: "A web view object displays web-based content. It is an instance of the UIWebView class that enables you to integrate what is essentially a miniature web browser into your app’s user interface. The UIWebView class makes full use of the same web technologies used to implement Safari in iOS, including full support for HTML, CSS, and JavaScript content..." 

A web view is not only useful for loading websites on the internet within your application but also can load local html files as well.


In this tutorial, we want to introduce you how to use a web view to display a static html string and some tasks with this string like change font type, font size, font color...


Here is a result of this tutorial:



May be we use this to display content of a page of book like the way of Kindle :)

1. Create a new project



2. Design Main.storyboard like this


In that, we have a web view to display html content, one toolbar contain a button to show the UIView when touch on it and a UIView(we call it fontView) contain some controls are buttons, tableview to work with html string on web view

3. Display html string on web view
- Create a html string sample:


1
NSString * htmlString = @"<br><b>this is text in bold</b><br><i>this is text in italic</i> this is normal text<br>This is the third line of string";

- Then create a css string and append those string into NSMutableString, finally call loadHTMLString to load this string into web view


1
2
3
4
5
6
7
8
9
NSString *css = [NSString stringWithFormat:
                 @"<html><head><style>body { background-color: transparent; text-align: %@; font-size: %fpx; color: %@; font-family: %@; -webkit-text-size-adjust: none;} a { color: #172983; } </style></head><meta name=\"viewport\" content=\"width=device-width; initial-scale=1.0; maximum-scale=1.0;\"><body>",
                 @"justify",
                 fontsize, @"black",[fontArray objectAtIndex:1]];
NSMutableString *desc = [NSMutableString stringWithFormat:@"%@%@<br><br>%@ ",
                         css,
                         htmlString,
                         @"</body></html>"];
[self.webviewContent loadHTMLString:desc baseURL:nil];


4. From fontView add some codes to process the html string on web view. We can change font type, font size and font color of that string

- For font size:


1
2
3
4
5
6
7
8
9
10
11
12
13
14
- (IBAction)upFontSizeTap:(id)sender{
    if (fontsize < MAX_FONTSIZE) {
        fontsize += 1;
        NSString *str = [NSString stringWithFormat:@"document.body.style.fontSize = '%f'",fontsize];
        [self.webviewContent stringByEvaluatingJavaScriptFromString: str];
    }
}
- (IBAction)downFontSizeTap:(id)sender{
    if (fontsize > MIN_FONTSIZE) {
        fontsize -= 1;
        NSString *str = [NSString stringWithFormat:@"document.body.style.fontSize = '%f'",fontsize];
        [self.webviewContent stringByEvaluatingJavaScriptFromString: str];
    }
}

- For font type: we choose font type show on table view


1
2
3
4
5
#pragma mark - Table view delegate
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
    NSString *str = [NSString stringWithFormat:@"document.body.style.fontFamily = '%@'",[fontArray objectAtIndex:indexPath.row]];
    [self.webviewContent stringByEvaluatingJavaScriptFromString: str]; 
}

You can also get all system fonts by this code:


1
2
3
4
5
6
for(NSString* family in [UIFont familyNames]) {
        NSLog(@"%@", family);
        for(NSString* name in [UIFont fontNamesForFamilyName: family]) {
            NSLog(@"  %@", name);
        }
}

- For font color:


1
2
3
4
5
6
7
8
9
10
- (IBAction)chooseBG1Tap:(id)sender{
    self.photoImageView.image = [UIImage imageNamed:@"whitebg.png"];
    NSString *str = @"document.body.style.color = 'black'";
    [self.webviewContent stringByEvaluatingJavaScriptFromString: str];
}
- (IBAction)chooseBG2Tap:(id)sender{
    self.photoImageView.image = [UIImage imageNamed:@"blackbg.png"];
    NSString *str = @"document.body.style.color = 'white'";
    [self.webviewContent stringByEvaluatingJavaScriptFromString: str];
}

5. Run Demo Application



Touch on button on toolbar to show font view and touch on buttons of font view to change style of string on web view




You can download all source codes of this tutorial from here





Thursday, May 9, 2013

17 Some ebooks to develope android application with some difference ways.


There are many types of Android application and of course we are have many ways to develope them. This topic is created to share some ebooks to develope Android apps with some difference ways.

Tuesday, April 2, 2013

10 How to use preferences in android

From Developer.android.com: “android.preference package provides classes that manage application preferences and implement the preferences UI. Using these ensures that all the preferences within each application are maintained in the same manner and the user experience is consistent with that of the system and other applications.
The preferences portion of an application should be ran as a separate Activity that extends the PreferenceActivity class. In the PreferenceActivity, a PreferenceScreen object should be the root element of the layout. The PreferenceScreen contains Preference elements such as a CheckBoxPreference, EditTextPreference, ListPreference, PreferenceCategory, or RingtonePreference..."


In this tutorial we want to introduce you how to use some preference elements with their tasks in a setting activity externs the PreferenceActivity class. Those are some simple tasks setting for backup data like the photo shows in below:


1. Create layout file for preference settings
To make the setting interface we create a preference.xml file in folder res/layout/xml. All xml code to make that show below:

Thursday, March 28, 2013

288 How to create custom Date Time Picker in Android

By the original SDK, you can choose the time and date for your app by using DatePicker, TimePicker and Date - TimePickerDialog but there is nothing built into Android to choose Date and Time in the same time like such a DateTimePicker. In this tutorial, i try to create a custom DateTimePicker that user can choose both date and time at the same time.
Here is a result of this tutorial:



This project is developed in Eclipse 4.2.0.
1. Make application interface:
The main layout of this app demo is very simple layout. It have one edit test, one button. When user touch on the button the DateTimePicket will show for choose the date and time, the result will be show on edit text. Here is some xml code to make main layout:

Thursday, February 28, 2013

3 The best tutorial for using layout in Android


For everybody unlucky when searching and access to my blog with a "modest title". :D I don't do any thing to make it. But i'd like to introduce to you a fantastic tutorial about how to using layout in Android - the basic  thing that every beginner have to learn. No need to speak alot. Here is the link:

http://mobile.tutsplus.com/tutorials/android/android-layout/

That's a famous page, but i hope this help to anyone haven't known about it.

Monday, January 28, 2013

377 Create a simple File Explorer in Android


Many android apps need a File browser to help users work with files in their device. In this tutorial we going to create a simple File Explorer.

Here is a result of this tutorial:
Simple File Explorer Android

This project is developed in Eclipse 4.2.0.

1. Make application interface: The main layout of this app demo is very simple layout. It have one text view, one edit text and one button.

Tuesday, January 15, 2013

44 How to create custom ExpandableListView in Android


From Developer.android.com: “A view that shows items in a vertically scrolling two-level list. This differs from the ListView by allowing two levels: groups which can individually be expanded to show its children. The items come from the ExpandableListAdapter associated with this view”

In this tutorial, we show you how to create a custom ExpandableListView with some images, texts... We want to make some groups of car and customize them with image, text and a checkbox. In each group, we will contain a few different cars, in particular each children row has to contain: an image and the name of the car.

Here is a result of this tutorial:

expandable list view example


This project is developed in Eclipse 4.2.0.

1. Make application interface: The main layout of this app demo have a text view, a button and an expandable list view.

Wednesday, January 9, 2013

18 How to create custom Listview in Android

ListView is a view group that displays a list of scrollable items. The list items are automatically inserted to the list using an Adapter that pulls content from a source such as an array or database query and converts each item result into a view that's placed into the list.

In this tutorial, we show you how to create a custom list view with some images, texts... We want to make a list view to store information about a list of foobal legend, in particular each row has to contain: an image of the legend, the name, the date of birth and the image of his nationality.

Here is a result of this tutorial:

Android Custom ListView example

This project is developed in Eclipse 4.2.0.

1. Make application interface: The main layout of this app demo have one text view and one list view.

Sunday, January 6, 2013

32 How to create custom progress bar and progress dialog in Android.


Progress Bar and Progress Dialog are useful to tell user that the task is takes longer time to finish. A Progress Dialog showing a progress indicator and an optional text message or view. Only a text message or a view can be used at the same time.
In this tutorial, we show you how to display a custom progress bar and use progress dialog in Asynctask to tell user that the file download task is running.

Here is a result of this tutorial:

Android Custom ProgressBar And ProgressDialog Example


This project is developed in Eclipse 4.2.0.

1. Make main layout with some components: one button to show custom progress bars, one textview to show some infos, one button to start download image file from internet Url.

Thursday, January 3, 2013

15 How to create custom RatingBar in Android


A RatingBar is an extension of SeekBar and ProgressBar that shows a rating in stars. The user can touch/drag or use arrow keys to set the rating when using the default size RatingBar.

In this tutorial, we show you how to create custom RatingBar and use it in Android.  

Here is a result of this tutorial:

Android Custom RatingBar


This project is developed in Eclipse 4.2.0.

1. Make main layout with some components.

Wednesday, January 2, 2013

43 How to create custom Switch in Android


From Developer.android.com: “A Switch is a two-state toggle switch widget that can select between two options. The user may drag the "thumb" back and forth to choose the selected option, or simply tap to toggle as if it were a checkbox. The text property controls the text displayed in the label for the switch, whereas the off and on text controls the text on the thumb…”

In this tutorial, we show you how to customize a Switch, add a click listener and get the setOnCheckedChangeListener for this Switch. Use Switch to control with media volume and wifi on device.

Here is a result of this tutorial:

Android Custom Switch Control

This project is developed in Eclipse 4.2.0.
1. First, modify the main layout of app. Open “res/layout/main.xml” file, add two switches, few textviews and a button.

Tuesday, January 1, 2013

27 How to create custom Text Fields in Android


From Developer.android.com: “A text field allows the user to type text into your app. It can be either single line or multi-line. Touching a text field places the cursor and automatically displays the keyboard. In addition to typing, text fields allow for a variety of other activities, such as text selection (cut, copy, paste) and data look-up via auto-completion.”

In this tutorial, we show you how to customize some Text Fields. We want to introduce some Text Fields with specifying the Keyboard Type and specifying Keyboard Actions.

Here is a result of this tutorial:

Android Custom TextField - Figure 4


This project is developed in Eclipse 4.2.0.
1. Make some Text Fields by XML Layout: The main layout includes some TextViews, some EditTexts, one Custom AutoCompleteTextView and one button.

Monday, December 31, 2012

11 Links for download Android ebook for beginner and pro

All ebooks will be downloaded from Mediafire


All download From Mediafire

For Beginning


BEGINNING
ANDROID™ APPLICATION DEVELOPMENT
Beginning Android Appication Development - Wei-Meng Lee
http://www.mediafire.com/?43g9rgzd2py396c

Android CookBook - Ian Darwin
http://www.mediafire.com/?7q5m1yd4wa90h43

Begging Android 4 - Grant Allen
http://www.mediafire.com/?d0sldbmcx9stdy3

Beginning Android 4 Games Development - Robert Green, Mario Zechner
http://www.mediafire.com/?nn8wcxjgsbozowt

Head First Android Development - Jonathan Simon
http://www.mediafire.com/?iq8n7grt2nu6m4v

Practical Android 4 Games Development - J. F. DiMarzio
http://www.mediafire.com/?2zkv7obn9wj2smf


Programming Android - Zigurd Mednieks
http://www.mediafire.com/?13u9b7shseu2bd1


For Pro


Professional Android Sensor Programming - Greg Milette, Adam Stroud
http://www.mediafire.com/?ei2w3u5t774q34c

Pro Android 4 - Satya Komatineni, Dave MacLean
http://www.mediafire.com/?dsebkb2b4b7ab1h

Advanced Android 4 Games - Vladimir Silva
http://www.mediafire.com/?nh5vq0jk5iqccdl

Pro Android media - Shawn Van Every
http://www.mediafire.com/?c83wjmum3r9e463

Pro Android Apps Performance Optimization - Hervé Guihot
http://www.mediafire.com/?aba5al9fa932za7


gfdgdfgdfgdffdfdBEGINNING
ANDROID™ APPLICATION DEVELOPMENT

7 How to use ImageButton in Android

From Developer.android.com: “Displays a button with an image (instead of text) that can be pressed or clicked by the user. By default, an ImageButton looks like a regular Button, with the standard button background that changes color during different button states. The image on the surface of the button is defined either by the android:src attribute in the XML element or by the setImageResource(int) method…”

In this tutorial, we show you how to use an ImageButton. Send a SMS automatically when click on the ImageButton.

Here is a result of this tutorial:

Android Custom ImageButton - Figure 2



This project is developed in Eclipse 4.2.0.
1. Make some ImageButton by XML Layout

Friday, December 28, 2012

2 How to use QuickContactBadge in Android


Widget used to show an image with the standard QuickContact badge and on-click behavior. Use the QuickContactBadge anywhere that displays friends or lists of contacts, enabling the user to interact with these individuals in other ways. You could also add your email and phone number to the Contacts and provide a QuickContactBadge within your application to give users a quick way to email, call, or message you
In this tutorial, we show you how to use a quick contact badge.  

Here is a result of this tutorial:

Android Custom QuickContactBadge - Figure 2

This project is developed in Eclipse 4.2.0.
1. Make some QuickContactBadges by XML Layout. One assign contact from email, one assign contact from phone number, and the last one assign contact by Uri.

Thursday, December 27, 2012

7 How to create custom Seekbar in Android


From Developer.android.com: “A SeekBar is an extension of ProgressBar that adds a draggable thumb. The user can touch the thumb and drag left or right to set the current progress level or use the arrow keys”

In this tutorial, we show you how to customize a seekbar control, use this seekbar to control with media volume of device.

Here is a result of this tutorial:

Android Custom SeekBar - Figure 2


This project is developed in Eclipse 4.2.0.
1. Make a custom Seekbar control by XML Layout

Wednesday, December 26, 2012

46 How to create custom Spinner Control in Android

From Developer.android.com: “Spinners provide a quick way to select one value from a set. In the default state, a spinner shows its currently selected value. Touching the spinner displays a dropdown menu with all other available values, from which the user can select a new one.”
Android Custom Spinner Control - Figure 1

In this tutorial, we show you how to customize a spinner with image, text

This project is developed in Eclipse 4.2.0.

1. First make xml main layout for app

1 How to create custom Textview with font type in Android


Textview: “Displays text to the user and optionally allows them to edit it.”

In this tutorial, we show you how to create custom text view with some attributes.
This project is developed in Eclipse 4.2.0.

Here is a result of this tutorial:

Android Custom TextView - Figure 3


1. Make some textviews by xml layout: