Regarding LBS - MASF client

by Kumar » Sat, 14 Mar 2009 02:11:15 GMT


Sponsored Links
 Hi , I tried searching on net but could not find any information on
MASF client or LocationMasfclient.java, Network Location provider
makes use of Masf service in networkLocationProvider.java, Would Some
one who had worked on networklocationprovider.java  know about Masf
client? and what is its role in Android platform ?,  and i am also
wondering what would MASF actually mean. There is no documention
available in android website nor in the code.

Regards
Sunil.

--~--~---------~--~----~------------~-------~--~----~



Regarding LBS - MASF client

by Alex B » Mon, 16 Mar 2009 05:21:03 GMT


 Hi, Kumar.

See:
 http://android.git.kernel.org/?p=platform/frameworks/base.git ;a=blob;f=location/java/com/android/internal/location/LocationMasfClient.java

The comment there says: "Service to communicate to the Google Location
Server (GLS) via MASF server"

and according to a quick web search, MASF stands for "Mobile
Application Sensing Framework".





--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. Preorder samsung Galaxy S

Bagi pembeli Samsung Galaxy S yang menggunakan pre-order form ini,
akan mendapatkan kesempatan Free 6 unit Samsung Galaxy S pada tanggal
29 Juni 2010 jam 20.00 di Event Consumer Launch di Pacific Place
Lantai Dasar. :)

-- 
"Indonesian Android Community [id-android]" 

2. help on singleinstance launchmode

Hello,

What is launch mode of an activity, which is launched from an activity
with launch mode as "singleinstance". I tried the following code.

My application has two activities i.e. A & B. Activity A has
"singleinstance" launchmode set and activity B has "standard" launch
mode set. Android manifest file is as follows:

<application android:icon="@drawable/icon" android:label="@string/
app_name" >
        <activity android:name=".activity_lifecycle"
                  android:label="@string/app_name"
                  android:launchMode="singleInstance">
            <intent-filter> <action
android:name="android.intent.action.MAIN" />
                <category
android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        <activity android:name=".another"
android:launchMode="standard" ></activity>
    </application>

Activity A has a button, clicking button starts Activity B using below
code:
public void onClick(View v) {
        // TODO Auto-generated method stub
        Intent intent = new
Intent(activity_lifecycle.this,another.class);
        startActivityForResult(intent, 0);
}

Activity B has a button, clicking button starts Activity A using below
code:
public void onClick(View v) {
        // TODO Auto-generated method stub
        Intent intent = new
Intent(another.this,activity_lifecycle.class);
        startActivityForResult(intent, 0);
}

Click button in Activity A starts B. (oncreate of B is called)
Click button in Activity B re-starts A. (because A has SINGLEINSTANCE
launchmode)
Click button in Activity A re-starts B. (oncreate of B is NOT CALLED)

After 3rd step, since activity B is standard, a new instance should be
created and not previous instance to be used.

Kindly suggest why when second time activity B is started, a new
instance of activity B is not created, when it is declared with
launchmode "standard".

Regards,
Vibhor

-- 

3. Is there a way to know if application has been installed from market

4. Notification Error - contentIntent

5. Froyo's source code is out!

6. PopUpWindow not displaying when tapping on marker

7. Smooth Image Rotation with Gesture Control?