Sunday 24 July 2011

GPS Geopoint location - Comparaison between Bing Maps/Samsung Omnia 7 WP7 vs Google Maps/Lg with Froyo 2.2

This article describes which of those two devices gives a best precision when using their own geolocation embedded tools.


On the left :  location displayed on Samsung Omnia WP7
On the middle : location displayed on Lg Android 2.2. which provides a best approximation ( < 1,50 meters)

On the right : shows that the location provided by the Samsung exceeds too much the exact coords.

Saturday 9 July 2011

getting apk from phone to computer android

I'll show you here a way to get the package apk that you have downloaded from android market to your pc
Suppose that you have downloaded a favorite basketball shooting game and you want to get its apk files.
In this post, i use an LG android device with Froyo ( android 2.2 )
Once downloaded,  goto :
settings>Applications>Manage Applications :
Choose your application and in the application info window :click the button Move to SD card if accessible. It will copy the corresponding package to the folder /mnt/asec/
You can read more about this folder asec at : http://groups.google.com/group/android-developers/browse_thread/thread/f7d11237744fe5fa?pli=1
At this time, plug your phone to pc and DON'T TURN ON USB STORAGE proposed option
If you turn it on, the content of /mnt/asec/ will be encrypted outside the device itself and you can get the apk directy.
Now you are ready to get the files by typing via console command:
adb pull /mnt/asec installed_apps/
where installed_apps is a folder that you have to create
This command will copy all the content of the /mnt/asec 

Hope that it will help.
If this article was helpful for you, please click on one advertisement link on the blog page ;) 

copy .apk from mobile device to pc android

You can retrieve installed apk by doing the following steps :
1- Plug your phone to pc
2- Activate the Usb debbuging on the phone (menu> settings > applications > development > USB Debugging)
3- To copy the apk files from the phone to a directory named myapk :
adb pull /system/app myapk/
After this command, you can see all of *.apk file on the directory myapk

If this article was helpful for you, please click on one advertisement link on the blog page ;) 
 

Thursday 7 July 2011

Windows Azure Tools: Failed to initialize Windows Azure storage emulator. Unable to start Development Storage. Failed to start Development Storage: the SQL Server instance ‘localhost\SQLExpress’ could not be found. Please configure the SQL Server instance for Development Storage using the ‘DSInit’ utility in the Windows Azure SDK.

I've just got a new Virtual machine with a fresh installation of windows 2008 R2, Visual Studio 2010, SQL Server 2005.
I've created a Cloud projet on VS2010 and when trying to launch the project by pressing F5 (instead of right click and view in browser), I've got the following message :

Windows Azure Tools: Failed to initialize Windows Azure storage emulator. Unable to start Development Storage. Failed to start Development Storage: the SQL Server instance ‘localhost\SQLExpress’ could not be found.   Please configure the SQL Server instance for Development Storage using the ‘DSInit’ utility in the Windows Azure SDK.

After diagnostic, i realized that the emulator is looking for a default instance named SQLExpress which doesn't exist on my new VM.

To fixed this issue :

Run> All Programs > Windows Azure SDK v1.4 > Windows Azure SDK Command Prompt

In the prompt type : dsinit /sqlinstance:sql2005d /forceCreate

where sql2005d is the sqlserver instance existing on your machine where you want the SQL Azure Database to be created. The forceCreate option tells dsinit to create the schema on this instance which suits my need because it has not been created yet.

After that command, a new database named DevelopmentStorageDb20090919 has been created in the instance.

Finally, launching the project by pressing F5 works well.

Hope that it will help.

If this article was helpful for you, please click on one advertisement link on the blog page ;)