Monday, October 22, 2012

Android SQLite Database Sample Programming || URL



Step1:


package com.est;

import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.io.Reader;

import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;

public class DatabseActivity extends Activity {
 
StringBuffer sb;
String line;

    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);

        sb= new StringBuffer();

        try {
       
        BufferedWriter writer =new BufferedWriter
        (new OutputStreamWriter(openFileOutput("myfile",MODE_WORLD_WRITEABLE)));
        writer.write("android1" +"\n");
        writer.write("android2" +"\n");
        writer.write("android3" +"\n");
        writer.write("android4" +"\n");
       
        writer.close();
       
        BufferedReader br=new BufferedReader(new InputStreamReader(openFileInput("myfile")));
        while ((line=br.readLine())!=null )          {
        sb.append(line+"\n");
       
        }
        TextView tv=(TextView)findViewById(R.id.text);
       
        tv.setText(sb.toString());
       
        } catch (Exception e) {

}
    }
}


Step 2

main.xml


<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:orientation="vertical" >

    <TextView
        android:id="@+id/text"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
       />

</LinearLayout


Step 3

output:








...............................................................................................................................................................................................................................................

Coding Elements
https://www.youtube.com/channel/UCtF3w7bgdwl8DxNpMnmMAmg

Developer Funnel
https://www.youtube.com/watch?v=sCibfJlML84&t=11s&fbclid=IwAR0fA7X2XFHpU88x17iglAFM3kf0xsSBc-VoUYYjsHDvGKjge4BeV1rn_r8


App store procedure
https://www.mncinterviewquestions.com/post/steps-to-submit-app-in-app-store




AWS +AUTH

https://dev.to/playra/aws-amplify-react-native-authentication-full-setup-1b17?fbclid=IwAR02ApnWpYGWKtJfWTJ8rzIYNWhQ_8u_bADC-YichwOr7vFn3Nlo0-TNN1k


Book
https://morioh.com/p/8f447daaaca6



Map
https://medium.com/better-programming/google-maps-and-places-in-a-real-world-react-native-app-100eff7474c6

react-native-map directions
https://github.com/bramus/react-native-maps-directions?fbclid=IwAR0MbBa63Z_9X0lbitPcCy7EQpiSuGwy9tvv8HeQgWgMhGt3i-RKXwmYf-w


https://medium.com/better-programming/google-map-and-places-in-a-real-world-react-native-app-83540430ee36

crud +hooks
https://medium.com/mesan-digital/tutorial-2a-how-to-add-crud-operations-to-your-react-native-app-using-react-hooks-and-redux-5896ebab89ea


2x fster
project.ext.react = [
    entryFile: "index.js",
    enableHermes: false,  // clean and rebuild if changing
]

https://github.com/OneSignal/react-native-onesignal/blob/master/examples/RNOneSignal/android/app/build.gradle#L1-L9

push notification
https://medium.com/codalyze/how-to-integrate-push-notification-in-react-native-using-onesignal-android-updated-fa66cdaafa18


https://www.codementor.io/@uokesita/react-native-push-notifications-with-firebase-2019-10on0z19t6

https://apiko.com/blog/react-native-push-notifications/





firebase
firebase + image upload
https://medium.com/better-programming/file-upload-using-react-native-and-firebase-part-1-b77b2e330f1e

author name
https://medium.com/@henni1989younes

login
https://www.youtube.com/watch?v=jRPVQpvFj00&feature=youtu.be&fbclid=IwAR04pmVmjdRfOihcRkSI_UyinXjxAZpAZxOhAQzBzvw2WDi1XjsNreQiPV0

redux
https://egghead.io/courses/getting-started-with-redux?fbclid=IwAR1bykQiD2RmEBwqAYTxObA0wpEoAxnt-k6zm2d3cPQumWZ2-jxlRgOWTjI

https://egghead.io/courses/getting-started-with-redux?fbclid=IwAR1bykQiD2RmEBwqAYTxObA0wpEoAxnt-k6zm2d3cPQumWZ2-jxlRgOWTjI


http://sudiptachaudhari.com/react-redux-tutorial/?fbclid=IwAR1PzDX25O367skb1Ow3gxiRB1I52yOnaAk9zn5-NvEA9AH6QCzh8MJOQB4&subscribe=success#478

v5
https://www.youtube.com/watch?v=9hajkDX6oXg&feature=youtu.be&fbclid=IwAR0TVFuu2OXLrT3vG9KyIHOAFqZTgwd88ttflW6MnXE34AEA7JCpO3Skqec

https://antovalls.com/como-hacer-un-degradado-en-react-native/?fbclid=IwAR12IcdSE0LbnG_F_wfQpzfzW6hejdAHtwODCudO39Ad6TEQVXTjNrMNae4


offline storage
https://medium.com/@jayasagar/react-native-offline-image-storage-d2f2a4a01e02

brainApp


https://www.youtube.com/watch?v=M6cBC7yOwDc&feature=youtu.be&fbclid=IwAR1WNZEoFCoerAp1qGw-_zl4QHH39Yfm-NK58z6sh0ryLI4MVaaHEfpphk4



splash screen
https://medium.com/@ferrannp/react-native-splash-screen-on-android-5e46e96006f1


FLATLIST
https://github.com/bolan9999/react-native-largelist




SCrollView
https://vix.digital/blog/technology/react-native-scroll-to/?fbclid=IwAR3UUXJGlfZF6nYkjUWu8ar9ownahD8jntvo-eiT8-wLQRP7JDbBvXVLrrg

payment

https://www.youtube.com/watch?v=NmNNbQKlF0I




ES6

http://es6-features.org/#Constants



Animations

https://www.youtube.com/watch?v=OKenn1-dqgU&feature=youtu.be&fbclid=IwAR19NH3rTljED2FZUOaPNXR9h3lyGNJGU1lflmy166aE7P57UeOM9ev3-wU


BottomTab Animations

https://dev.to/hrastnik/lets-create-a-custom-animated-tab-bar-with-react-native-3496?fbclid=IwAR2Lirk8hJ6uxaz_AiXA_EIe9mJONJHIbNsbfWzFftI7IO1EUwHSUCVLngY


https://snack.expo.io/@sapanindia/customtabbar

image pickere
https://www.metizsoft.com/blog/react-native-android-image-cropper?fbclid=IwAR3DQgCnN_tHZ14gLupBrkCenPcxeU2_cKxhGjlDvaRGCuTT8ubj-oQ2hxc

clearTextTraffic

https://medium.com/@son.rommer/fix-cleartext-traffic-error-in-android-9-pie-2f4e9e2235e6

https://medium.com/@son.rommer/fix-cleartext-traffic-error-in-android-9-pie-2f4e9e2235e6




Animation UI
https://www.youtube.com/watch?v=fPvKRMYO4I8




https://github.com/Srdjan/react-multistep?fbclid=IwAR3HgPJ_9Ogf0OJLYR2yF_zvJF7x3LSFL4qjAJxgDRhPI7Hqpyrgxz0EBO4




https://github.com/ptomasroos/react-native-multi-slider?fbclid=IwAR1UXOZSDmgJpsTn8pyMN3VYnP2L44hwYbdShg7bJua2A9ZJL-nYVfNtiJ4




https://reactnativeforyou.com/how-to-make-the-screen-refresh-when-navigating-back-in-react-native/

https://www.techiediaries.com/react-usestate-hook/

https://www.npmjs.com/package/react-native-timeline-flatlist



https://github.com/archriss/react-native-snap-carousel?fbclid=IwAR19Zujmeuc5ml2HT1l3bMzI2pUKZgaH-AA9jH1OkAbXMPClYP9jVG2Vp7Y

https://www.npmjs.com/package/react-native-timeline-flatlist


FLEX

http://flexbox.buildwithreact.com/?fbclid=IwAR3HO2ES4jkgI-VHYOxymxabmXOlgsE3V-TbYkHDFttkFgYpitWMUfNuels


Redux
https://www.youtube.com/watch?v=6tlu6VwOtLI


SV

https://blog.usejournal.com/how-to-use-svg-in-react-native-e581eca59534







UI

Tự học lập trình

Coding With SaqiXPRO


https://github.com/hngocl/curved-bottom-navigation-bar?fbclid=IwAR3uLle9Jvak-KULH2BL8Y837xjdcTd760zbZy1eYlWnPvHFMdo7N5zA1n0#readme



Deploy

https://www.youtube.com/watch?v=e1LaekAnVIM


LOGIN V5

https://dev-yakuza.github.io/en/react-native/react-navigation-v5/?fbclid=IwAR2vHuNNOAfPe3G5llwVsSenuXwB92SPf_ElBuFK-3KP43TFDZfsdSi04qE

KEYBOARD

http://rajantwanabashu.com.np/?fbclid=IwAR3MS99tZge8Awx5mZiyr4QURinhMlw_epS8XRUfT3OppUmBk5MnHqFKs6s

http://rn.rajantwanabashu.com.np/

SHADOW
https://ethercreative.github.io/react-native-shadow-generator/

Integrate InAppPurchase React Native Part -2


SQLIte
https://medium.com/infinitbility/react-native-sqlite-storage-422503634dd2


Cool Symbol


https://coolsymbol.com/


Drawer
https://github.com/melihberberolu/react-native-scaling-drawer?fbclid=IwAR3dUrOc0iGagN6C9LVtK36h2c2qXhgdCQFDVgNPkFEcnK50D6rtdlcyrk4

  • Experience in merging multiple APKs into one APK (bundled APK)

.........................................................................................................................................................................................................................
Flutter Resources


https://github.com/theiskaa/papernews?fbclid=IwAR18OGSk9DKID7OAjqWlsdVbMaWH0nwI-OTCIPHKJOB411l5w7zvk-kaF7U

https://github.com/theiskaa/restnote?fbclid=IwAR0897stnCF3RShNP-tFWHH9NEXFJ2aZFvS-CEi_3esI1hb9qmVnmKiyGp8

https://github.com/theiskaa