Integrat Ecwid shopping cart with my android application - android

My client want to integrate his Ecwid acoount with android application...
i get products information from Ecwid using diffrent available apis,also able to place order but cant able on further procedure for payment...
some one please help me

Ecwid provides Custom Payments API that should be the proper solution in your case. The documentation is here: http://kb.ecwid.com/w/page/49187841/AuthorizeNet%20Emulation#Custompaymentgateways
Hope that helps.

Related

how to use Firebase in custom android SDK included in n number of android apps

I want to log events in my SDK and I was looking into Firebase for that but then I realized I need to pass the application package which I don't have as my SDK can be integrated into N number of apps. is it possible to use firebase inside SDK without application id? if yes please let me know how and if no please share alternatives.
To fetch the application package you can simply get it at runtime:
getApplicationContext().getPackageName();
But I think you are asking for a different use case, you may want to check this documentation: https://firebase.google.com/docs/projects/multiprojects#use_multiple_projects_in_your_application
That way you can basically make an instance of firebase completely apart from any other firebase instance that may exist, and you can pass in any parameter you may want.
Sorry if I misunderstood you.

i need to change topics in my app every day or every week automaticlly without the user updates the app

I have Christian Android App and there are 5 buttons in my app , I need to update the topics , news and Verses daily or weekly without let the user update the app , is there any way to do that ? I will be grateful if any one help me with tutorials , Please Guide Me THANKS
You can either prepare all possible buttons and choose which to display according to the current timestamp, or you need to build a web API that can provide you with the necessary data and is updatable independent from the app itself.
You must use webservice and SQL DB for this. If you want to add more information for user you just need to update your data base. And in each button tap you should call web api for getting the data.
For web service creation you can use retrofit.
Refer these links
http://www.vogella.com/tutorials/Retrofit/article.html
http://www.journaldev.com/13639/retrofit-android-example-tutorial
https://developer.android.com/training/basics/data-storage/databases.html
Perfect answer by Jacob you can also use cache along with the API call which expires after a specific period. So you don't have to force the user to go online every time he uses your app.
I would do this with notifications, you can have scripts that run weekly to change a topic... and on message receive you can update your topics based on the data coming from the "data-load" this is good because on top of that you can notify them "You have a new topic" or something like that.
There is a lot of resources to set up notifications, and if you are using android studio it is already built in.
https://firebase.google.com/docs/cloud-messaging/
Thanks all for helping me , i already solve my problem through Firebase Realtime Database Because of your posts , thanks again for your help
here is the tutorial https://www.youtube.com/watch?v=QETnC6SEwa0

Is It possible to add my application in account?

I am trying to add my application in account same as Gmail and whatsapp do.I did lots of search but no luck.
I want something like this:
Stackoverflow isn't a place where you just ask how is something done and expect to get an answer. You have to show what you've tried and what isn't working.
As for your question, applications only appear in the account list if the application is performing some sort of data synchronisation between the app and a server. Therefore you would need to create a sync adapter.
Below are two links that show how to do this
Android Dev Guide - Creating a Sync Adapter
Tutorial for creating your own sync adapter
Hope this helps

notify user when website has changed using c2dm in android

i want to make app that make a notification when breaking news has arrived to news website
during my search i found two ways to do that
1- using c2dm server & php & database
2- using timer that scan the website automaticly every time period i decide it
can any one help me by give me an example code for each method or a Tutorial for each method
I'm working on GCM as well. The first comment already told you the right way to solve your problem, but I wanna add something more is that This excellent tutorial
Read it, try to understand it. I think it is quite clear. Hope this help :)
C2DM is deprecated. You could use GCM instead. Go through this tutorial how to get started with it.
You can refer this too.

finding nearby hotels in android

Hello I am new in making GPS based application so please help me
I am making an application which find the nearby hotels(say 1km )according to user location and show the list of them with phone no.
How to go next after detecting the user location?
and how will i get these hotels? is there any api or web service which provides this facility.
I found lots of similar questions there but they're still not clear to me.
if any one could explain this, it would be a great help.
Thank you in advance
For getting nearby famous places, you have to use Google's Places API. You will get complete information from the above link.
Also you can go through the discussion related to the same thing in Using Google Places API
Search by category, with over 100 different categories offered, and an Autocomplete service: http://code.google.com/apis/maps/documentation/places/autocomplete.html
You can see complete list of supported categories here : http://code.google.com/apis/maps/documentation/places/supported_types.html
I also faced the same problem when i started my first location based app..:)try to reading this :
http://code.google.com/apis/maps/documentation/places/
and this :
http://code.google.com/apis/maps/documentation/geocoding/
Hope it will help you...!!

Categories

Resources