Im trying to build a splashcreen for my ionic2 app.
This is how I put the preference of the splash screen in the config . xml of my app
Here is the sample generated splash icon resources by the ionic CLI
<platform name="android">
<icon src="resources\android\icon\drawable-ldpi-icon.png" density="ldpi"/>
</platform>
*I cant paste the whole icon src here. Above is just one of the icon src that I have
My problem is that when i run the app on my test device, it loads the Splash screen's background but not the splash icon.
What appears in the middle of the splashscreen is the loading icon of my android device. Can you guys advic or help me??
here is the copy of my apk build
https://drive.google.com/file/d/0B6gTTV-Ss6qFT1RDSHBBa0hTQjg/view?usp=sharing
Looking forward for your help guys! Thanks
Currently when you start a blank app(ionic2), It already comes with a splash screen and icon.
ionic start simpleApp blank --v2
then
ionic platform add android
or
ionic platform add ios
if you check your directory simpleApp/resources all the splash images and icons for both android and IOS are there.
Related
I can see in my Android phone that HERE WeGo app open links starting with share.here.com and her.is [sic].
Problem is when I open a link that starts with share.here.com on the phone it gets redirected to mobile.here.com and opens the map in the browser (her.is does not open a map at all).
Is it somehow possible to open the map in the app from a html link?
It should be possible to trigger the HERE We Go app using Intents as described in this thread : Launching a navigation app with destination pre-populated
I am using push notification plugin in ionic 3 => https://ionicframework.com/docs/v3/native/push/
, but a gray icon appears as a notification app icon. please suggest how to fix this.
Here is screensort
I implement deep linking to android part of my Xamarin forms project. But when I click the URL, initially it loads a black page with app name on the top, after a short period only it opens my app. I need to avoid this black screen. Also, the app opens in the same window, no new window is started for my app, if I click the URL from WhatsApp, the app opens in the WhatsApp window.
I need a solution for these 2 problems.
Thanks in advance.
In android manifest set android:name like below:
android:name=".MainActivity"
And in Mainactivity add Name like below:
[Activity(Name = "packagename.MainActivity")]
I am developing an application with navigation drawer activity, using the default options in android studio, and then i created fragments and linked it to the navigation activity.
Now, I want to use a button in that fragment and clicking that button will have to open an activity, but I can't achieve this.
The onclicklistener, switch case ,i tried everything but none of them working when i click the button the application just stopped working
And the another problem is that, the whole application just crashes if i generate this as an apk and use it in a real device ,while this was working fine with an emulator.
Help me with this
Thanks for your time:
I just solved the issue, as being a beginner I forgot to mention my activity in the manifest file, after adding that to the manifest file its working fine now.
After developing an application, Firefox OS automatically creates a splash screen for the app using the app icon. But for my application I want to develop a custom splash screen.
It is possible using JavaScript methods like But firefox setTimeOut or setInterval, but Firefox OS doesn’t support these types of methods.
You can create 2 pages and after your desired time, just switch to another page using javascript. You should put the first page in manifest.