Creating Python Android App That Will Actually Make Your Life Better.


python android app

Creating Python Android App using Python, Kivy, Visual Studio in a Linux environment.  Before moving onto app creation, we want to know about the software's used for the development.

Python

Python is a beginners programming language because of its English keywords and easy syntax. First, learn the basics of python, I would prefer this site to learn python completely.

# Refreshing the repositories
sudo apt update
# Update software
sudo apt upgrade

# Install Python and necessary packages.

# Install pip for 2.7 and then python 2.7 itself
sudo apt install python-pip
sudo apt install python2.7

Kivy

Kivy is an open source python library for rapid development of applications that make use of innovative user interface such as multitouch apps, official Kivy website.

 sudo add-apt-repository ppa:kivy-team/kivy
 sudo apt-get update
 sudo apt-get install python-kivy
pip install cython==0.25.0


Visual Studio 

Using a visual studio code editor will make us feel comfortable because of its opensource facility and tons of extensions otherwise, you would prefer for other editors like pycharm, NetBeans etc. But in this tutorial, I had used vs code for the development.

To install visual studio code for linux refer here.

Linux

Linux is a family of open-source software operating systems built around the Linux kernel. In windows, it is very difficult to develop the app. so, I had used the Linux environment


Initiate

Creating Python Android App that will read the text in the images and convert into a text file.
Create a folder for your python-app, inside the folder open a file called main.py (py is an extension for python) 

Next, open a file with the name of pdf.kv (kV is the extension for a kivy file)


And create a images folder and place this image in your images folder with a name of  file-choose.png.

open your Terminal and move to python-app folder and run these commands python main.py

username@system:~/python-app $ python main.py_


You can get my complete repository from here.

After running this command a window will open and route to one of the pictures in your system, then the app will convert it into a text file with the name  of imagetotxt.txt

home window

choose picture 

Conclude

Finally, we want to convert the python script into an app using the buildozerBuildozer is a tool for creating application packages easily.

  1. Install buildozer:
    # via pip (latest stable, recommended)
    sudo pip install buildozer
    
    # latest dev version
    sudo pip install https://github.com/kivy/buildozer/archive/master.zip
    
    # git clone, for working on buildozer
    git clone https://github.com/kivy/buildozer
    cd buildozer
    python setup.py build
    sudo pip install -e .
    
  2. Go into your application directory and run:
    buildozer init
    
Above command will generate a buildozer.spec  file in your folder open that file and edit the following



change the title  and  packagename  to your app name and  change log_level=2 and change the requirements to python2 




# Changes python3 to python2
requirements = python2,kivy



Finally, build, deploy and run the app on your phone:


buildozer android debug deploy run
before running the above comments, connect your phone in your system with a USB cable and turn on the USB debugging mode.

Email Marketing for Blogs

Email marketing for Blogs
Can anyone know what is Email Marketing? Email Marketing is a way of transferring messages, posts, media, etc. The first mail was sent by  Ray Tomlinson in 1971, who was the inventor of an email system. Then now in 21 st century email had become the marketing tool for business.


How to do Marketing in Email

Email Marketing had been done in many ways but now I had been clearly explaining Email Marketing for Blogs. The base of email marketing is to promote your business. Email Marketing for Blogs done in two ways
  • Need a blog.
  • Need an email account.
Above given steps are one of the life tackling steps. I'm just kidding. But I have been using Blogger and MailChimp for Email Marketing for Blogs.


Blogger

what is Blogger? Google's product used for blog publish with free domain and hosting. First, you need to open a google account and then sign up in blogger. Create a blog and post amazing articles to increase visitors. Then set up a Mailing lists box to get the email id. Then organize the mailing lists and post regularly to promote your business.


MailChimp

As per the name, the website is used for mail organizing. If we had a tone of  Mailing lists. We want to organize manually and maintain. To avoid this situation MailChimp is developed. MailChimp is free for 2000 subscribers and posts 12,000 emails per month. Connect your MailChimp with blogger to get mailing lists.



screenshot of MailChimp lists
click the column under the lists, you can see the various options given by the website and click the signup forms to manipulate your mailing lists.
click the signup forms
After clicked the signup forms your page is reloaded too many forms like Form builder, Embedded form, subscriber pop-up and  Form integration.you want to choose the Embedded Form
select the embedded forms

And then copy the code given by the embedded forms
copy the code


Integrating MailChimp in Blogger

To use the Mailchimp in blogger, 
Step 1: Click the layout options on the blogger homepage.






Step 2: You can see the +Add Gadget option in the sidebar, click that to open a dialogue. In that dialogue box click the HTML javascript column.




Step 3: Paste the code that you had copied on Mailchimp embedded forms and then click save.





Finally, refresh your blog to see the changes, look at my blog
MailChimp on my blog



MailChimp newsletter box is added to my blog when new visitors can subscribe to my newsletter, that email can appear on the MailChimp lists and you could organize your mailing lists. 


The End


How to use Social Media to earn money

Social Media Marketing (SMM)
Social Media is a two-way form of connecting people. Each Social Media allows you to create a public profile which is used for another user's can connect with us. In former days Social Media is used for news sharing, connect with others, make new friends, etc. But nowadays Social Media is the biggest platform for the marketing industry. Because Social Media had millions and millions of users. So, If we work smart we could also use Social Media to earn money. There are many platforms but we are going to see a few of the Social Media to earn money.



Blogger 

Blogger is a blog publishing platform. A Blog is like a website which is hosted on the internet. If you are interested in something( hobby or passion ) share with others and also make money. If you had created a blogger account you need to pick a name for your blog. For example www.yourblogname.blogspot.com. Using this URL you can visit your blog. Use images in your blog are more important because a picture is worth than a thousand words.

Example:  If you have an interest in beauty. Write a post about beauty tips. Share your post on Facebook Page, Twitter, Google +, Instagram to increase the visitor's of your blog



Facebook Page

Facebook was developed by Mark Zuckerberg in 2004. It has 1.6 million users worldwide. In Facebook, you want to create a personal account and you want to create a Facebook Page. Facebook page means nothing which is used for promoting your business on facebook which is available in free and paid subscriptions. The following image is the Facebook Page this blog

facebook page of eBlog, inc

Don't forget to invite your friends to like this page and post regularly to touch with your followers. There is another option available on Facebook is to boost your post which will make your post to reach a thousand people's and more. Connect your website or blog with Facebook Page.



Twitter

Open your business account on Twitter. It has the limitation of 145 characters to tweet a post. Copy your blog URL(www.yourblogname.blogspot.com) and post on twitter. Do follow others and post regularly. Paid promotions also available in twitter which is used for increasing the post views

Note:  Consider you have to open a brand new T-shirt showroom. Former days, notice papers and banners are used to identify and promote  the business but nowadays Social Media is the biggest platform to promote your business



Instagram

First, open an account on Instagram after creating an account switch to business account for promoting your blog or website. In order to use this business account, you can analyze your account and posts. You can able to promote your account to reach people.







Google Adsense

Eventually, if you did all the process and now you want to make your blog to earn money. Create an account on Google Adsense. After getting approved from Google Adsense you can make your blog to earn money. In order to get approving the account refer to this blog.




Morse Code

telegraph
Morse Code is a method of transmitting text information as a series of on-off tones, lights (or) clicks that can be directly understood by a skilled listener. It was discovered by Samuel Morse .F.B, who was an inventor of the telegraph. The international Morse code encodes the ISO  basic Latin alphabet, some extra latin letters, the Arabic numerals and a small set of punctuations and procedural signals as standardized signals "dots" and "dashes" (or)  "dits" and "dahs" as in Amateur radio practice.



Because many non-English natural languages use more than the 26 Roman letters, an extension to the Morse alphabet exist for those languages.



The above image illustrates the morse code for  English alphabets and decimal number systems.
A handful of Nokia engineers used morse code as them standard alert tone when Short Message Service (SMS) messages were received. This was implemented by them circa 1985.



While morse is nowadays commercially unused and no longer examined for radio licenses, it does have widespread use Amateur Radio, and oddly the @ symbol is formally allocated as a new international Morse code character in February 2004. The new sign is known as a "Commat", consists of the signals for "A" (dot-dash) and "C" (dash-dot-dash-dot) with no space between them.



New features of What's App in 2018

whats app is the most using app in the mobile industry because it had a simple User Interface (UI) and it is very easily used by even children. Although Mark Zuckerberg, who is the founder and  CEO  of Facebook, his team have been giving an update of WhatsApp for a month and the niche thing is WhatsApp earn nothing for his team. okay, the following are the updates

credits: google news


Media visibility

 It's an important update,  suppose if you're in the wrong group, an image and videos saved in your mobile easily visible in your gallery and your parents etc would see that things they can think bad opinion about you. so, this update will give you which media would visible and another not.


Forward Messages

It is nothing but if your friends can forward a message it should be forwarded with Forward tag. so, you can easily find that messages are written by your friend or not.



Group Admin

Group Admins can make the group participants send to change the group icon, group name and participants can send messages or only reading the messages. If you want to make changes in your group  must watch this video



Swipe to message 

Swipe right to a message is already introduced in IOS  versions but in android version is yet to be announced in next year.

Angular2 website


If you have no idea about what is  Angular2   it is one of the popular website framework developed by tech giant Google at the same time it is very useful for beginners for developing an opensource and costless website .okay, let's move onto the job.


Initialization 

First of all, we want to install the Angular2 on your working system, the following are the installing process of Linux because I'm using Linux and it is opensource and it is the best platform for creating and deploying websites or else you can visit this link to install.

Open your command line interface Terminal and enter this commands


sudo apt-get update

sudo apt-get install npm

npm install -g @angular/cli

ng new my-app

cd my-app
ng serve --open



After  completing this  section, a page is opened on your browser called localhost:4200 



In case of, you using Windows environment refer this link for initialization. That's all initialization process completed, let's  move on to creating a  simple portfolio website  



Portfolio

After creating a website , we want to customize the source code if you not well in angular 2  refer this website for more info. Enter into  my-app/src/app/app.component.html   and copy the html source code   from  this code pen   html template and replace in your app.component.html file
and then the same process for css files for  my-app/src/app/app.component.css

Eventually,  open the  my-app/src/index.html  file and  paste the following link inside the head tag




<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">



<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous"></script>

save the file and reload the complier , visit the localhost:4200  you can see this  website




A New feature of angular 2 is used by various developers called  Angular Material  use this features to develope your skills and your website ...If you any queries please comment here


                                            Thank you

MORE EFFICIENCY, LESS KNOWLEDGE GLUT

Shall we play a game? It’s the classic line from the 80’s movie War Games. What a young hacker thought was a fun diversion ended up nearly triggering geothermal nuclear war. Spoiler alert, they avert war when the hacker asks the computer if it could win “the game” and the computer realizes victory is impossible.

Can you count the number of systems you go to in any given day to do your job? More specifically, when you need some information, have a question, or require some sort of reference, what does that process look like? If you draw it out, it probably looks akin to a doodle.
This is state of knowledge today in most organizations. A tangle of repositories, documents, and systems that are weaved together in a jumble called knowledge management. The idea was sound, but the game is impossible to win. Instead we have mutually self-assured confusion.

The corporate need for speed

Every conversation I have these days with senior IT leaders is around achieving startup speed, otherwise more commonly called agility or transformation. It’s the number one imperative driven by board and the CEO.

The ability to create and launch a new product into the market has never been faster. That is due to the ease, availability, and cost of technologies that enable quickening cycles of innovation. Consider in the span of ten years autonomous driving, smartphones, cloud, and AI are now commonplace.

Technology has also leveled the playing field. Startups are becoming global giants in their own right with less people, assets, and legacy technologies to slow them down. And it has corporate executives scared out of their wits knowing that any one of those startups could overtake them at any moment.

Unfortunately, all the advantages of people, assets, and sheer size are now a competitive drag. Even if big corporates wanted to launch products faster and deliver superior service to customers, they are hindered by a morass of processes and legacy technologies that slow progress and stall innovation.

Role of knowledge and efficiency

Much of the mad rush towards “Agile” and “DevOps” and “Digital Transformation” however is merely putting lipstick on the pig. The scrums and kanbans and customer stories are an afterthought to give the appearance of spurring on innovation and collaboration, but it does not address the core challenge.

Developers need to be closer to the business and aligned on goals. Developers also need to be able to collaborate and leverage resources that help them to achieve those goals. What ties this together is the free flow of and access to knowledge that enables alignment and collaboration.

Ask any developer and they will say the biggest hurdle to productivity is getting “stuck”, which can happen for any number of reasons such as:
  • Thinking and creative aspects of turning logic into code,
  • Optimization through re-engineering or refactoring code,
  • Debugging and figuring out things that do not work,
  • Recall of common procedures and code used across projects.

While the problem is generally acknowledged, the approach taken by enterprises is hardly one that begins to seriously address the productivity gap. The answer to date has been more knowledge and systems for knowledge.

Tackling the knowledge “glut”

This has led to a knowledge glut in organizations. There are thousands of documents, a maze of wikis, servers full of unstructured emails and chats, and a multitude of systems and tools that hold bits of disconnected knowledge fragments. That is the world that knowledge management was meant to solve, but instead we are drowning in knowledge.

Per this McKinsey article, spending resources corralling knowledge does not help users:
The truth is that the real value comes less from managing knowledge and more — a lot more — from creating and exchanging it.

The problem with knowledge management is that people in knowledge management are more enamored with the idea of knowledge management than with the problem it solves. It is the classic build it and they will come story. That might work for a movie about baseball and corn fields, but not when it comes to solving business challenges around developer efficiency.

If you consider Stack Overflow, you may think it is simply a database of all the world’s programming content. However, knowledge management is simply a means to that end. The end goal is to help developers level up their skills and careers, and in turn help developers become better at their craft. We want to help developers be more efficient.

From knowledge to intuition


By focusing on the problem of developer efficiency and taking a developer-centric approach, we can move from the knowledge glut to a knowledge market. The central exchange becomes a mechanism for overcoming barriers, releasing tribal knowledge into the open, and enhancing problem solving.

But what about other systems? What about the volumes of documentation, code repositories, FAQ’s, etc. that are floating around. They are still relevant, but connected to the exchange which can wrap contextual knowledge and assign value that is most useful for developers in the time of need. The fragments then connect into ideas that lead to intuition and foster cross-organizational innovation.

What is needed is an Information Architecture that works specifically for developers. One that is built on market principles and can become the arbiter of knowledge across the developers workstream and align the business and technology teams.