Welcome

how would you rate The Holy Qura'an - Arabic ver?

Tuesday, May 25, 2010

Official version of Hisn Al Muslim on Android



Coming soon - Update 1.0.6:

This is useful on Android 2.2. Since the size of the file is big, I think it's better if you move it to your SD Card. Again, this functionality will be available in Android 2.2. So once you upgrade to 2.2 you'd be able to move the program to your SD Card.

Also, I am working on optimizing the program and try to make it smaller than it is.


================================================================




Finally I made it. It took a lot of effort to get this app together since it's my first app ever on android. I was looking for this app on android a while ago just before but unfortunately there wasn't.
I dedicate this app for my, God bless her soul and may Allah forgive all her sins and may heaven and Al Furdaws Ala'ala be where she is now.

I finished this app but haven't reviewed it yet. Please if you found any error or mistakes notify me so I could make the right changes.

I hope you all enjoy it and find it very useful.

Monday, May 24, 2010

some thoughts

At first I thought coding for android would be easy. Just shove your code in one file and you're done. aaaaaaaaaaaah NOPE, that's not the case. Everything is separate, some people will say what the hell, some others love it. It is more sufficient and organized, you've got (if you are using Eclipse):

1. src folder, contains source code (java)

2. gen folder, contains a R class file which gets generated automatically by the compiler

3. res folder, contains your recourses folders; drawable(images will be here), layouts(xml files will be here), and values(strings.xml)

4. AndroidManifest.xml this file "in my understanding" is used to include all the java classes as activities and looooots more, google it :D

By the way, to be able to publish your project your AndroidManifest.xml files should start like this:
[manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="package.name"
android:versionCode = "2"
android:versionName = "1.0.1"]
[uses-sdk android:minSdkVersion="7" /]
[application android:icon="@drawable/icon"]
****** use <> instead of [] *******

Another thing, some people will wonder what to do with the project after they're done programming. How could I compress my project in a .apk file?
All you need to do is:
right click on your project
> Android Tools
> Export Signed Application Package
> Export Unsigned Application Package

then follow the steps.

Saturday, May 22, 2010

Issues publishing on Android Market

when I tried to publish my .pkg file I received these errors:

Market requires versionCode to be set to a positive 32-bit integer in AndroidManifest.xml.
Market requires versionName to be set in AndroidManifest.xml.
Market requires the minSdkVersion to be set to a positive 32-bit integer in AndroidManifest.xml.

to solve that I had to alter my AndroidManifest.xml file as:

[manifest android="http://schemas.android.com/apk/res/android" package="android.test"
android:versionCode = "1"
android:versionName = "1.0"]
[uses-sdk android:minSdkVersion="7" /]

and I found out that the package attribute should be something unique, obviously "android.test" is not.

also, minSdkVersion is your API Level in which you made your program for.

The following table specifies the API Level supported by each version of the Android platform.

Platform VersionAPI Level
Android 2.28
Android 2.17
Android 2.0.16
Android 2.05
Android 1.64
Android 1.53
Android 1.12
Android 1.01
for more info read

Issues with first program

will update it later

My first attempt in programming for Android

Hisn Al Muslim, dedicated for my beloved mother, Allah Bless her soul.

I will post it on the market in Arabic and soon will do another version in English.