Search Results

Search found 9 results on 1 pages for 'moshik'.

Page 1/1 | 1 

  • services \ remote service

    - by Moshik
    Hi, sorry for a newbie question.. but "Service" by it's defenision meaning the same as "Remote service" in Android? and if not, what is the diffrence between them? thanks, moshik.

    Read the article

  • Remote servicve

    - by Moshik
    Hi, I have preperd a remote service, i would like to know if it's possible somehow via this service to call another activities? coz usually what ive seen so far, is how external apps calling the remote service and using it's methods, but i want vice versa.. that the remote service will call an external app's activity, thanks, moshik.

    Read the article

  • when would you use PendingIntent?

    - by Moshik
    Hi, I tried to understand from the api the porpese of PendingIntent, coz sometimes some method i use requires this, i still didnt get the idea right, anyone could exaplin? why cant i juse use context? thanks, moshik

    Read the article

  • Share data between local service and the hosting activity

    - by Moshik
    Hi, i need to share data between a local service and his hosting activity, i`am using sendBroadcast in order to send data to the hosting activity from the service, but if i want to send data back to the service from the hosting activity? so i though to create static method on the service, and call from the activity, and through it send the parameter, but then i cant do operations like toast inside that static method(which is inside the service).. coz you cant use "myclass.this" inside a static method, i guess there r more limits.. mybe another solution? mybe there is a proper way for this task? thanks, moshik.

    Read the article

  • Running activity from remote service

    - by Moshik
    Hi, iam trying to run an activity from diffrent package from my remote service: this is how i implement the service.java ublic class CurrencyService extends Service { public class CurrencyServiceImpl extends ICurrencyService.Stub { int CALL_PUSH_SERVICE_ACTIVITY=10; @Override public void callSomeActivity(int activityId) throws RemoteException { Intent pushActivity=new Intent("com.pushservice.PushActivity"); pushActivity.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); startActivity(pushActivity); .. ive also added a line in the manifest of the service: the service works fine, but i cant run the activity - PushActivity which is in diffrent package of diffrent application, thanks.

    Read the article

  • Get Network type

    - by Moshik
    hello, ive been trying to retrive the current network type, but no success when i say network type: i refer to know this info: if the type is: NETWORK_TYPE_IDEN or NETWORK_TYPE_UMTS.. and so on.. i tried to use: NetworkInfo activeNetInfo = connectivityManager.getActiveNetworkInfo(); or NetworkInfo mobNetInfo = connectivityManager.getNetworkInfo (ConnectivityManager.TYPE_MOBILE); but no success.. i am doing this coz i wanna know if the current network is IDEN, or if the current network is connected through wifi.. any other suggestions will be welcome, thanks!

    Read the article

1