<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Android &#8211; bunyam.in</title>
	<atom:link href="https://bunyam.in/category/android/feed/" rel="self" type="application/rss+xml" />
	<link>https://bunyam.in</link>
	<description>Easy Solutions</description>
	<lastBuildDate>Wed, 16 Apr 2025 11:06:45 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8</generator>
	<item>
		<title>How To make a hello world Mobile app With Apache cordova</title>
		<link>https://bunyam.in/how-to-make-a-hello-world-mobile-app-with-apache-cordova/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Mon, 17 Jun 2019 08:56:58 +0000</pubDate>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Software]]></category>
		<guid isPermaLink="false">https://bunyam.in/?p=58</guid>

					<description><![CDATA[Hey there; Apache cordova is an excellent tool for generate multiple platforms applications. Lets Make a fast start for it; 1- Install cordova with NPM&#8217;s , thats easy with terminal 2- And lets create a hello app 3- Due to create automatically creating splashscreen images run commands below 4- At... <a href="https://bunyam.in/how-to-make-a-hello-world-mobile-app-with-apache-cordova/">Read more &#187;</a>]]></description>
										<content:encoded><![CDATA[
<p>Hey there;</p>



<p>Apache cordova is an excellent tool for generate multiple platforms applications. Lets Make a fast start for it;</p>



<span id="more-58"></span>



<p>1- Install cordova with NPM&#8217;s , thats easy with terminal</p>



<pre class="wp-block-code"><code>$ sudo npm install -g cordova</code></pre>



<p>2- And lets create a hello app</p>



<pre class="wp-block-code"><code>$ cordova create hello com.example.hello HelloWorld</code></pre>



<p>3- Due to create automatically creating splashscreen images run commands below</p>



<pre class="wp-block-code"><code>$ sudo npm install cordova-icon -g
$ sudo npm install cordova-splash -g</code></pre>



<p>4- At this phase we need to have 2 different images ,  First one should 1240x1240px dimension square for icon.png, second one is  2208×2208px dimension has centered image with logo, </p>



<p>5- After creating two images we need to run commands below.</p>



<pre class="wp-block-code"><code>$ cordova-icon --config=config.xml --icon=icon.png
$ cordova-splash --config=config.xml --splash=splash.png</code></pre>



<p>6- I want to test on Ios Simulator but ,  is there simulators available in my repo? Better to check with command below;</p>



<pre class="wp-block-code"><code>$ cordova emulate ios --list</code></pre>



<p>If there is an output like below that looks fine;</p>



<pre class="wp-block-code"><code>Available iOS Simulators:
        iPhone-5s, 12.1
        iPhone-6, 12.1
        iPhone-6-Plus, 12.1
        iPhone-6s, 12.1
        iPhone-6s-Plus, 12.1
        iPhone-7, 12.1
        iPhone-7-Plus, 12.1
......</code></pre>



<p>7- Any of those simulators is available , i want to use 8-Plus , you can use whatever you want </p>



<pre class="wp-block-code"><code>cordova emulate ios --target="iPhone-8-Plus, 12.1" --buildFlag="-UseModernBuildSystem=0"</code></pre>



<p>8- Similar to Ios device lets check android devices:</p>



<pre class="wp-block-code"><code>$ cordova emulate android --list</code></pre>



<p>After checking this find out last application step</p>



<pre class="wp-block-code"><code>cordova platform rm android
cordova platform add android</code></pre>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
