₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,330,564 members, 8,446,057 topics. Date: Thursday, 16 July 2026 at 01:51 AM

Toggle theme

FrankLampard's Posts

Nairaland ForumFrankLampard's ProfileFrankLampard's Posts

1 2 3 4 5 6 7 8 ... 17 18 19 20 21 22 23 24 25 (of 27 pages)

Certification And Training AdvertsRe: Android App Development And Data Programming by FrankLampard: 10:52am On May 31, 2016
dhtml18:
What is data programming? anybody please?
MTN and Etisalat MB
Jobs/VacanciesRe: How I Met Osinbajo - Lilian Douglas-Ezeugo (pic) by FrankLampard: 3:00pm On May 30, 2016
lofty900:
because she's a girl, it's easy for her to meet the vp, if it's a guy carrying that placard, the story would have been different
And many ladies will be shouting gender equality.

If it was a guy he will be tamed lazy.
Jobs/VacanciesRe: Looking For A Job In Nigeria With 2.1 Or Staying In U.S.A Illegally by FrankLampard: 12:14pm On May 30, 2016
Run for your life.
ProgrammingRe: Android User Registration And Login Source Code With Complete Back-end Dashboard by FrankLampard: 1:16pm On May 29, 2016
nollyj I remember one of your post where you said you will start making 1mil/month from Android development, is this part if the process sir?
ProgrammingRe: Android Developers : Building Your Android Library And Add It To Maven Central by FrankLampard: 6:36pm On May 28, 2016
dhtml18:
I was just revamping an android app now and found out that volley was no more getting maintained, so i am porting back to android-async-http
Have you looked at Retrofit?

http://square.github.io/retrofit/
ProgrammingRe: Android Developers : Building Your Android Library And Add It To Maven Central by FrankLampard: 8:34pm On May 26, 2016
efreaky:
Good to see you took my initial advise. Lol
No I didn't, the screenshot I pasted was working fine, just didn't know that.
ProgrammingRe: Android Developers : Building Your Android Library And Add It To Maven Central by FrankLampard: 8:30pm On May 25, 2016
dhtml18:
^^this was exactly the scenario i was trying to paint earlier. . . .
It seems almost impossible for me to achieve it with Eloquent, I had to use Query Builder.
ProgrammingRe: Android Developers : Building Your Android Library And Add It To Maven Central by FrankLampard: 7:52pm On May 25, 2016
dhtml18:
^^^Very good, i believe you should share it so that it can help others someday.
I had to use Normal PHP script within Laravel to solve the task.
ProgrammingRe: Android Developers : Building Your Android Library And Add It To Maven Central by FrankLampard: 7:49pm On May 25, 2016
efreaky:
Nice to know you finally found a way around it, care to share how you did it?
Where I go start now.

Well creating an API is not different from the normal way of creating Web Applications.

In Laravel instead of Returning Views within your route.php, you just return json(). It will solve your problem with breeze.
ProgrammingRe: Android Developers : Building Your Android Library And Add It To Maven Central by FrankLampard: 7:26pm On May 25, 2016
efreaky:
https://www.codetutorial.io/laravel-5-rest-api-basic-authentication/

There you go, dont forget to pay tithe when your client pays you.
I didn't reply you because I was banned by the Anti-spam bot.

I have actually seen this tutorial before. It does not solve my problem.

I had to come up with my own Hack within Laravel.

Thank you.
Jobs/VacanciesRe: VLA Test For Bank Recruitment by FrankLampard: 6:31pm On May 24, 2016
I wrote their test sometimes in February.

And I just got this now.

Congratulations, you are hereby invited for a second level test at VLA Office, Plot 1690B, Buraimoh Kenku street V.I Lagos on Friday 27/05/2016 8:00am prompt. Come with all your credentials photocopy & original with passport photograph. Thank you.
Please someone should help with the format for the second Level test.

Thank you.
ProgrammingRe: Android Developers : Building Your Android Library And Add It To Maven Central by FrankLampard: 12:09pm On May 24, 2016
dhtml18:
I know all that, but can't you secure your API? Even with the most secure of frameworks, if you do not follow some certain guidelines your app will still be vulnerable.
If you do not secure your android app properly, a smart hacker can decompile it and still hack your api even with the most secure of frameworks.

Lesson: securing this type of API/android app is not beans or moi moi at all.
ProGuard can help you with that, even without ProGuard, if someone decompiled your app and get your API and try to do basic SQL injection to your App. The hacker will be extremely disappointed. When you used Laravel.
ProgrammingRe: Android Developers : Building Your Android Library And Add It To Maven Central by FrankLampard: 10:29am On May 24, 2016
dhtml18:
I believe i completely agree with the dude that says that there is no need to use laravel for a simple json api. The lighter the api, the better for your app.
This means that, you can build your website with wordpress, codigniter or whatever, but you can still build a simple json api on top of that with regular php.
afterwall, what does the api really need? to push and pull data between the app and the server (database).
API with a framework really helps in so many ways.

Security, Scalable and Performance.
ProgrammingRe: Android Developers : Building Your Android Library And Add It To Maven Central by FrankLampard: 10:28am On May 24, 2016
efreaky:
Are you using Laravel 4 or 5?
5. here is my own code.

ProgrammingRe: Android Developers : Building Your Android Library And Add It To Maven Central by FrankLampard: 9:27am On May 24, 2016
lekropasky:
I dont think theres any need to use a Framework for this kinda task, though, i am not a PHP guy, but simple PHP script that can talk to database and echo a JSON String is all you need to write.

Example...for registration:

<?php
$host = 'localhost';
$user = 'root';
$pass = ' ';
$connection = mysql_connect($host, $user, $pass);
mysql_select_db(
'db name');
//user data
$username = $_POST['user'];
$mail = $_POST['email'];
$password = $_POST['password'];
$json = array();
$query = Insert into users( username, email, password) Values( '$username','$mail','$password')
$result = mysql_query($query);
if($result){
array_push($json, array('success'=>true, 'fail'= >false))
}else{
array_push($json, array('success'=>false, 'fail'= >true))
}
mysql_close($connection);
echo json_encode($json);?>
Thank you.

With simple PHP script, I can create an API anyway I want. Outputting my response anyway I want, but for this particular project I need Laravel to perform the task for me.

Again Thank you.
ProgrammingRe: Android Developers : Building Your Android Library And Add It To Maven Central by FrankLampard:
efreaky:
Simple!

1. Create a normal Login/Registration with Laravel
2. Use JSON to parse your data
3. Use an Android Library like volley to consume the JSON data

Or Better still

1. Google how to create an API with Laravel
2. Google how to use Volley in Android.
Thank you, Good morning.

How can I create the Login and Register API?
Can you show me a code spinet?

Like I said, I have Google it, but couldn't find it.
ProgrammingRe: Android Developers : Building Your Android Library And Add It To Maven Central by FrankLampard: 1:03am On May 24, 2016
nollyj:
You can use Php Slim micro-framework. I wrote a tutorial on this topic. You can see it here - Slim API with Android
I have already started implementing with Laravel. Thank you Sir.
ProgrammingRe: Android Developers : Building Your Android Library And Add It To Maven Central by FrankLampard: 9:34pm On May 23, 2016
dhtml18:
I am sorry, am not a laravel dude. But if you can use laravel, I can guide on steps to build a json api for consumption. . . .by the way, have you managed to catch any monitor lizard of recent?
I have searched and searched online, no tutorial has explained this simple concept. Anywa sha, if I reach house today. I go try implement wetin I knw, how I understand am?
ProgrammingRe: Android Developers : Building Your Android Library And Add It To Maven Central by FrankLampard: 6:26pm On May 23, 2016
Abeg make una no vex.

How person fit take create Login and Registration API with laravel, so that Mobile App can consume it?

in JSON.
Jobs/VacanciesRe: naija Graduates.... by FrankLampard: 9:56am On May 21, 2016
Yet one HR for one yeye company go come say Naija get half baked graduates.
Music/RadioRe: Igbos Evergreen Musicians, Why Don't We Appreciate Them? by FrankLampard: 8:35am On May 21, 2016
People just come to say rubbish assertion from their bed.

Here in Lagos all local bar we have here can never play music from our local artists like Wiz Kid and co, else nobody (Igbo Traders) will patronize the bar.

Go to the east you hardly even hear songs from our local artist(I schooled in the east). Only Igbo Christian songs or songs from the artist you just listed OP.

Personally, I don't like music coming from the likes of Wiz Kid and co. I have songs from all the artist you listed in my phone and I play them regularly.
Jobs/VacanciesRe: GTB Aptitude Test 2016 by FrankLampard: 1:58pm On May 20, 2016
nebokings:
check your mail now.
goodluck bro.
pls help joelezeu@gmail.com thank you.
PoliticsRe: ICT For Change - Huawei Partners FG For Training And Employment Opportunity by FrankLampard: 6:24pm On May 18, 2016
daves2ng:
Seems you have heard about it long before now. Can you please enlighten us? Please guy
Have you applied? if yes? How did you apply?
ProgrammingRe: Android Mobile App Tutor by FrankLampard: 11:03am On May 14, 2016
Location.
Jobs/VacanciesRe: Could This Be True ( UBA) by FrankLampard: 5:07pm On May 09, 2016
Any invite yet?
Jobs/VacanciesRe: Do NAIRALAND Members Hate First Class And 2.1 Graduates? by FrankLampard: 11:02am On May 09, 2016
This is the truth. First class and 2.1 grads are hard working individuals right from the onset.

Funny enough most HR executive here on NL are 2.2 or 3rd class grads, due to much envy they refuse to give employment to this category of grades 1.1 or 2.1
TV/MoviesRe: Top Ten (10) Porn Watching Countries Of The World by FrankLampard: 5:34pm On May 07, 2016
Mostly moslem countries. Hmmm!!!
PropertiesRe: Bathroom Of Lady Who Moved Out Of A Guy's Property by FrankLampard: 3:37pm On May 07, 2016
babyfaceafrica:
SE gals are cheaper to lay
SW girls have tribal marks all over. The most urgly being in Africa.

1 2 3 4 5 6 7 8 ... 17 18 19 20 21 22 23 24 25 (of 27 pages)