Tuesday, February 28, 2023

How to create a keystore for signed apk in android and flutter

You must add a digital signature to your software in order to share it on the Play Market. Follow these steps to submit your application.

Deployment and upload are the two types of authentication credentials available on Android. The.apk file authenticated with the "deployment key" is downloaded by the end consumers. The.aab/.apk files that developers submit to the Play Store are authenticated using a "upload key" and are then re-signed using the distribution key after being accepted. 

Using the command line, execute the following:

Use the following command on Mac or Linux:.

  keytool -genkey -v -keystore ~/upload-keystore.jks -keyalg RSA -keysize 2048 -validity 10000 -alias upload




Use the following instruction on Windows:

  keytool -genkey -v -keystore %userprofile%\upload-keystore.jks -storetype JKS -keyalg RSA -keysize 2048 -validity 10000 -alias upload


The upload-keystore.jks file is kept in your personal directory by this programme. Change the argument you give to the -keystore option if you want to store it somewhere else. But don't put the keystore file into public source control; keep it secret!

Saturday, February 25, 2023

How to change package name in flutter

In some cases, for the android application it may be required to change the package name of the application. It's very easy to do it in Android studio. But when we are using flutter to develop the hybrid application, it is required to use some packages to do this job for us.

To achieve this we have to download a package : change_package_name. It does all the below changes:

  • Update AndroidManifest.xml files for release, debug & profile
  • Update build.gradle file
  • Update MainActivity file. Both java & kotlin supported.
  • Move MainActivity file to new package directory structure.
  • Delete old package name directory structure.
We can use this package as below:

First we need to add this package name to pubspec.yaml file as the dev_dependency

dev_dependencies: 
  change_app_package_name: ^1.1.0

Not migrated to null safety yet? use old version like this

dev_dependencies: 
  change_app_package_name: ^0.1.3
You can see this how i have added  it to my pubspec.yaml file


Save this file and Run the below command :

flutter pub get


And it gets all the dependencies. and now using this package we need to change the application's package name. Now run the below command to change the package name

flutter pub run change_app_package_name:main com.new.package.name
com.new.package.name is the new package name to be changed. 

This will automatically updates all the required package name and it's references moves all the required files to the new package And deletes the new package name directory structure.

That's all. Happy coding.. 

Tuesday, January 24, 2023

How to Create Menu Tabs in Blogger

 We can create the pages and menu items in the blogger. We can link the pages to the menu items also.  Without the pages also we can create the menu items and show the blogs of the defined labels. In this article we can see how we can do it.




Blogger blogs does not come with the menu tabs as a standard template feature, but you may use the Blogger Pages gadget or the Link List gadget as a workaround to add menu tabs to your blog's home page

Use the Pages gadget to add menu tabs pointing to your blog's static pages, such as the Terms and Conditions, About, and Privacy Policy pages. Add menu tabs that link to other websites, blogs, or your own blog articles by using the Link List gadget.

1. Login to blogger account, and Select the Layout menu item:




2. Click on Add Gadget option



3. Select Pages gadget from the list


4.  You will see the below dialog


5. You can enter the page name and select the page to be displayed.


6. Also if you want to display the items of a particular label, you can do that  by adding search label option. Below image shows all the labels labelled as Android in the page Android:



 That's it, you can save the above dialog And you should save the layout also:


Now you can check your blog, it should display the menu bar as below:




Happy blogging :)

Monday, January 23, 2023

Adding Apps And Websites To Microsoft Teams

We can use this Microsoft Office and its tools for its various applications, including communications, collaboration and file storages.  However, many users in the organizations fail to take advantage of one of the platform's most important features - the ability to customize their environment with the apps and websites of the organization. 

When you have a app or web application you want to share or use by your team. Then you can add this to your Microsoft office 365. Login to office by going to  https://www.office.com
You will see the below screen:




Click on the teams from the left menu icon:



You can create your office staff Team:  by clicking on the create teams icon on the right hand side of the panel:



Click on create Team in the below panel:






I click on staff:





Microsoft enables you to add a wide variety of apps or website to your teams environment. To add the app or website, you need to select the team and the channel where you want to access this app. Now you can add apps or website by clicking on "+" icon of the window. Upon doing so, the service displays the Add Tab dialog as below:












You can select the existing app or click on the website, if you have awebsite to be shaed ith the collaborators:








Once you click on the Save button, you can see the website is opened up. And this tab can be accessed by all the collaborators of the Team:



On its own, Teams is a marvelous tool for increasing communication, collaboration, and productivity. However, as is often the case, some of the best benefits of this tool are realized when we integrate it with other applications or websites. Fortunately, as you see, this is a feature that is exceptionally easy to configure and use. Therefore, if you use Teams, consider how you can take advantage of the opportunity to add apps and websites to increase your productivity. Thank you!













Tuesday, January 17, 2023

Barcode Label Generation in Shopify

 You can use the Retail Barcode Labels app to design and print barcode labels from within Shopify. You also need to have a supported label printer that's connected to your computer. 

You can login to shopify admin panel and go to Settings:



Inside settings-> Select Apps and sales channels




You will see the below screen:


 You can select the barcode generation app from Shopify app store




You can select the required barcode generation app.



It will install this app to your shopify. And then you can go and check your product list:
You can see barcodes created successfully:




You can set the size of the barcodes and theme:





You can select any type of Label and the respective barcodes are generated. you can print those labels.