applibgroup / HarmonyOS-Knowledgebase

This repository contains code samples of HarmonyOS Training
Apache License 2.0
15 stars 6 forks source link

Intent and Serialization in DevEco #79

Closed rohangupta8756 closed 3 years ago

rohangupta8756 commented 3 years ago

While creating a user info card, what's the ability we need to begin with, If we do begin with empty ability, an intent has already been created , how to create a new one. Windows/ Emulator/ DevEco /API version 5 Stack Overflow Link here : https://stackoverflow.com/questions/69202735/intent-and-serialization-in-deveco

kanaksony commented 3 years ago

Hey Rohan, Can you please provide more information on the above? Show us some code what you have tried and error (attach logs from stack trace if possible).

rohangupta8756 commented 3 years ago

I just wanted to know what is the ability with which we have to begin to make a user info card (Filling all the details and Getting a card on the next page). Empty ability would work or anything else ?

If I select empty ability, what to do for the existing intent ?

sharathks84 commented 3 years ago

I just wanted to know what is the ability with which we have to begin to make a user info card (Filling all the details and Getting a card on the next page). Empty ability would work or anything else ?

If I select empty ability, what to do for the existing intent ?

All applications start with main Ability and the UI is handled in Ability Slice. Also refer these developer links for more information, if you have more concerns, lets have a call and discuss

https://developer.harmonyos.com/en/docs/documentation/doc-guides/ability-ability-overview-0000000000029852 https://developer.harmonyos.com/en/docs/documentation/doc-guides/ui-java-overview-0000000000500404