- Forum posts: 1
Nov 21, 2014, 10:57:25 AM via Website
Nov 21, 2014 10:57:25 AM via Website
Hello,
im new with in this Forum and with android coding and want first to say hello to everyone here
(sry for my poor english)
I use eclipse with the sdk, because android studio haves now to many bugs and hangover to do something. To start android i am trying to build an app with can control a admin gui (Website) from my hoster. I build this using get and post to the httpserver and an http Parser, Login and some parts are already done.
Now im seeing that my acitivitys are growing for each Change or Infosite of the Website. Is it normal that some applications haves 15+ Activitys or maybe is there a better solution (show/hide Containers of gui elements?), generate it by the programm code?
The Secound Question is i use asynctask and i try to build a new class for asynctask for the get and post methodes i use in nearly every activity. So ican save sourcecode in each Activity. I havent find a good solution how i can update the ui when asynctasc is complete and i want to start a function from the ui thread.
I have trial to use globalvariable and a broadcast reciver but this just work in non-threated classes. I am searching now over 2 days goolge to find a good solution, without to intigread asynctask in every activity and use onPostExecute Methode.
hope my english is understandable
thanks
best regards,
Seek
Recommended editorial content
With your consent, external content is loaded here.
By clicking on the button above, you agree that external content may be displayed to you. Personal data may be transmitted to third-party providers in the process. You can find more information about this in our Privacy Policy.