Profile

Cover photo
Omar Bizreh
589,702 views
AboutPostsPhotosYouTube+1's

Stream

Omar Bizreh

Development  - 
 
Hi, I'm working on an application which includes three layers:
1. Network Layer: Handles all network calls then report back to logic layer via callback
2. Logic Layer: Process data, save what needs to be saved and sends the rest to UI layer via callback
3. UI Layer: Reflect received data.

I am currently using callbacks to communicate between three layers with a parameter to state who was the sender (which layer and which function)
Is there a better way for communication between different layers?

Thanks in advance :)
1
Add a comment...

Omar Bizreh

Help Center  - 
 
Hi, I want to implement In-App Payment in my app. But I'm facing a trouble on how to do it. lets assume we have this code:
if(itemX.IsPurchased()){
// Execute code of feature X
}else{
// Prompt user to purchase itemX
}

Is this the right way to handle features in an app? What is the best approach for handling paid features in an app?

Thanks in advance
5
Omar Bizreh's profile photoDaniel Bateman's profile photoMattia Roccaforte's profile photo
10 comments
 
+Daniel Bateman Yes of course, I just meant to name another option for an additional level of security against malicious attempts to unlock features. If they get to the plain code, every protection may be bypassed.
Add a comment...

Omar Bizreh

Development  - 
 
Hi, I'm facing an issue where textview and AlertDialog do not read the following: \n \r & \t
I have attached an image on how the result is.

The text displayed in the image is brought from SQL Server over REST service, ironically the same text is displayed the right way on iOS devices.
1
Add a comment...

Omar Bizreh

Discussion  - 
 
Hi everyone, I hope someone can help me, I'm facing issues making tiles respond to user tap in an IOS App.
Any help would be great :)
I'm using PowerBI REST to make an iOS App. Image below shows the result. When I click on any of the tiles I get no response, while if I click ON the red border (added in photoshop) Page respond to ...
1
Add a comment...

Omar Bizreh

Discussion  - 
 
Hi every one, I want to implement this in Swift
It is written in Objective-C, it is not the first Obj-C lib that I implement but this one demo project is also confusing me and I need help please :) 
MSCollectionViewCalendarLayout - UICollectionViewLayout for displaying cells chronologically. Similar to the iOS Calendar app.
1
Add a comment...

Omar Bizreh

General Discussion  - 
 
Hi, What is the best practice for consuming a REST service urls? 
I have an Android app which is calling a WCF REST Service, instead of hardcoding the service urls (i.e. www.myserver.com/service/users) I made a file called "StaticContent.java" and split the URL above into the following:
1. String URL_BASE = "www.myserver.com/service"
2. String URL_USERES = "users"

and obtain the url by joining both strings. Is this approach good or do I use full url directly in a function like this:
public string getUser(){
StringRequest request = new StringRequest(Request.Method.GET, "www.myserver.com/service/users",
            new Response.Listener);
}

and if there are other ways I appreciate if someone mentions them.

Thanks in advance :)
1
Add a comment...

Omar Bizreh

Shared publicly  - 
 
Loool :3
 
https://twitter.com/LorumIpsum/status/603535625472614400

Also, let this be a lesson to all of Europe. You come after US companies, US comes after your sportses. An eye for an eye or something.
10 comments on original post
1
Kyle Perez's profile photoSimon “Beatsleigher” Cahill's profile photo
3 comments
 
Watch some football (I mean football, not "soccer" or "American football"), then you'll get it.
Add a comment...

Omar Bizreh

Development  - 
 
Hi, I want to implement In-App Payment in my app. But I'm facing a trouble on how to do it. lets assume we have this code:
if(itemX.IsPurchased()){
// Execute code of feature X
}else{
// Prompt user to purchase itemX
}

Is this the right way to handle features in an app? What is the best approach for handling paid features in an app?

Thanks in advance
1
Add a comment...

Omar Bizreh

Discussion  - 
 
Hi Everyone.
I'm working on a new project for IOS and I was looking for databinding in Swift. I found Reactive Framework. But I don't know is it recommended using 3rd party for databinding or just stick with Key-Value Observing?
ReactiveKit - A Swift Reactive Programming Kit
1
1
Add a comment...

Omar Bizreh

Development  - 
 
I'm working on Android Data Binding and RecylcerView can anyone please point out if I have badpractice or best practice in my code so I can improve my skills.
Thanks in advance
AndroidDataBinding - Sample App for Android Databinding + RecyclerView + SQLite
2
Add a comment...

Omar Bizreh

Shared publicly  - 
 
 
Just posted to Styling Android: Data Binding - Part 1

In the first article in a new series we look at building a simple Twitter client using the new Data Binding library.

#android #androiddev #gde #tutorial
At Google I/O 2015 a number of new Android libraries and tools were announced. One of them was the all new Data Binding library and in this series we'll take a look at the library and explore some ...
2 comments on original post
1
Add a comment...

Omar Bizreh

Shared publicly  - 
 

😀😀
1
Add a comment...
Omar Bizreh's +1's are the things they like, agree with, or want to recommend.
EduFlag - Android Apps on Google Play
market.android.com

Ever wondered about your child performance at school? EduFlag is here to help. Receive up to date information regarding your child grades, b

Droid Manager - Home
droidmanager.co

Buy Droid Sync Manager Pro and get a copy of Droid Manager Pro for FREE! Contact Support for more information. Droid Manager Pro, Buy Now. W

Google Helps App Developers Prepare for Android Lollipop
www.xda-developers.com

Today is most likely the release day for Android Lollipop. Google's added an article to help developers make their apps Material Design-comp

Bookmarks
chrome.google.com

Opens Bookmarks tab in single click from new tab and context menu. Options available to remove it from context menu

Droid Sync Manager Pro
market.android.com

Droid Sync Manager provides an easy way for transferring files between your computer and smartphone. Simply connect both your computer and s

Material Design
developer.android.com

The Android L Developer Preview includes support for material design apps. Material design is a comprehensive guide for visual, motion, and

NFC TagInfo
market.android.com

Read detailed information from NFC tags and contactless smartcards!Have you ever wondered if you unknowingly carry RFID or NFC-enabled cards

Frebbbies
plus.google.com

Best Free Resources for Designers

Download Droid Sync Manager Free
droid-sync-manager.findmysoft.com

Download the latest version of Droid Sync Manager free. Sync your files on the fly!

Download Droid Manager Free
droid-manager.findmysoft.com

Download the latest version of Droid Manager free. Impressive set of features making almost any imaginable job approachable and achievable

SuperSU
market.android.com

SuperSU is the Superuser access management tool of the future ;)!!! SuperSU requires a rooted device !!!SuperSU allows for advanced manageme

Droid Manager Service
market.android.com

** ATTENTION *** This app will only work with Droid Manager Pro Windows Client, app can be purchased from: http://sites.fastspring.com/andro

Droid Sync Manager
market.android.com

Droid Sync Manager provides an easy way for transferring files between your computer and smartphone. Simply connect both your computer and s

JDroidLib out of Beta, Brings New Package Manager and Greater Command Fl...
www.xda-developers.com

We first featured XDA Senior Member Beatsleigher‘s JDroidLib back in December of last year, as a Java-based alternative to the C# library An

Transfer Files between Your PC and Android Device with Droid Sync Master
www.xda-developers.com

Managing files between your Android device and PC isn't an easy task, and often requires additional software to do so efficiently in the abs