Create Certificate Valid till 2033 – AIR Android apk upload

When uploading your android .apk file you may be asked for Certificate valid for certain years.

“Market requires that the certificate used to sign the apk be valid until at least October –, 2033/2034. Create a new certificate.”

Adobe Air Certificate generator does not Create a time Stamp valid for certain years. Work around for this is use keytool command line key generator.

keytool -genkey -v -storetype pkcs12 -keystore AndroidCertificate.p12 -keyalg RSA -validity 20000

above syntax creates certificate valid for 20000 days.

Hope this is helpful.

Advertisements

Warning: Application has not specified its permission requirements in application.xml

Problem can be solved by uncommenting following code in application descriptor

<android>
<manifestAdditions>
<![CDATA[
<manifest android:installLocation=”auto”>
<uses-permission android:name=”android.permission.INTERNET”/>
<uses-permission android:name=”android.permission.WRITE_EXTERNAL_STORAGE”/>
<uses-permission android:name=”android.permission.ACCESS_FINE_LOCATION”/>
<uses-configuration android:reqFiveWayNav=”true”/>
<supports-screens android:normalScreens=”true”/>
<uses-feature android:required=”true” android:name=”android.hardware.touchscreen.multitouch”/>
<application android:enabled=”true”>
<activity android:excludeFromRecents=”false”>
<intent-filter>
<action android:name=”android.intent.action.MAIN”/>
<category android:name=”android.intent.category.LAUNCHER”/>
</intent-filter>
</activity>
</application>
</manifest>
]]>
</manifestAdditions>
</android>

Regards,

Ranjit

Failure [INSTALL_FAILED_INVALID_APK]

There has been change in build 20100909 of Air for Android.

 

For physical device:

adt.bat -package -target apk -storetype pkcs12…

 

For emulator:

adt.bat -package -target apk-emulator -storetype pkcs12…

 

Regards,

Ranjit

SmartFox and SQL Server 2005 Connection

For Java 1.6

Downloaded Microsoft SQL Server JDBC Driver 3.0

copy sqljdbc4.jar to SmartFoxServerPRO_1.6.6\jre\lib\ext

Remove sqljdbc.jar or else error while starting server to put sqljdbc4.jar

Change config.xml for zone you need to create extension for.

<DatabaseManager active=”true”>

<Driver>com.microsoft.sqlserver.jdbc.SQLServerDriver</Driver>
<ConnectionString>jdbc:sqlserver://;serverName=yourip;databaseName=dbname</ConnectionString>

<UserName>username</UserName>
<Password>password</Password>

<TestSQL><![CDATA[SELECT COUNT(*) FROM Game]]></TestSQL>

<MaxActive>10</MaxActive>
<MaxIdle>10</MaxIdle>

<OnExhaustedPool>fail</OnExhaustedPool>
<BlockTime>5000</BlockTime>

</DatabaseManager>

Set your connection type to active=true in order to excute DB ..

check sample application from smartfoxServerDoc

Is google trying to increase Web stats by Google Instant?

Hi all,

Do you think Google instant is trying to make web search stats to turn around?

Google instant will show web stats as google search in 99% of total web search.. because all web search are independent. making one search will trigger three different searches.. will adwords click will reduce 10% to total ads click by google search.

I am not comfortable in using google instant , are you? is there way to disable it. What google is trying to do with it, make marketing of some kind on broder level?
Are companies greedy for more money?

So many question? do you have answer for them?

We will not need to travel to office by 2050

I was thinking about the future , people are worried about the oil crises. polution in the world. will things be same?
This is way of looking at the future in positive way.
well we won’t need to travel to office any more ..
We might come up with open source technology built in your personal Computer, Ipad …. which enables us to work from home…
well I know some might be thinking about the manufacturing sector. people will might not have to work in manufacturing sector with amount progress in embeded system and assembly line programs..
what about farmers how would they travel to Farm.. well they might not want to travel to farm as they will stay at farm If they get Home delivery for all the things.
will people skip the work? by working from home. I guess they do it in office also.. will scrum development will make difference…?

Well things to consider for new generation is bit different than what future has in store foe them….
All future entrepreneurs might think about this… there is no office investment… If you thinking off starting one in near future might as well start today….

what you think…?

Flex 3 & QTP 10.x

Hi All,

I was trying to test my flex 3 application for functional testing , the best Autometion tool I knew of was HP – QTP(FT) priviously known as Mercury QTP.

Had few errors in setuping the application record & play.
Had this error. I know almost all of us will get this (If we dont read the document)…

Cannot find the “MacromediaFlashPlayerActiveX” object’s parent “Browser” (class Browser). Verify that parent…. flex

If you get this error then you have missed some thing from a document and that is following lines to put in you flex 3 project compiler settings… it is refrence to your automation library for flex.

-include-libraries “C:\Program Files\Adobe\Flex Builder 3 Plug-in\sdks\3.2.0\frameworks\libs\automation.swc” “C:\Program Files\Adobe\Flex Builder 3 Plug-in\sdks\3.2.0\frameworks\libs\automation_agent.swc” “C:\Program Files\Adobe\Flex Builder 3 Plug-in\sdks\3.2.0\frameworks\libs\qtp.swc” “C:\Program Files\Adobe\Flex Builder 3 Plug-in\sdks\3.2.0\frameworks\libs\automation_dmv.swc”